@fox-js/foxui 4.0.1-26 → 4.0.1-28
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 +4 -4
- package/dist/index.esm.js +9640 -8431
- package/dist/index.umd.js +5 -5
- package/dist/locale/index.esm.js +19 -1
- package/dist/locale/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/dist/types/index.d.ts +202 -185
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(C,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):(C=typeof globalThis<"u"?globalThis:C||self,t(C.FoxUI={},C.Vue,C.FoxValidator,C.FoxIconsVue,C.FoxI18n))})(this,function(C,t,Ze,
|
|
2
|
-
* @fox-js/foxui-base v4.0.0
|
|
3
|
-
*/const Xt=window,
|
|
1
|
+
(function(C,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):(C=typeof globalThis<"u"?globalThis:C||self,t(C.FoxUI={},C.Vue,C.FoxValidator,C.FoxIconsVue,C.FoxI18n))})(this,function(C,t,Ze,te,se){"use strict";/*!
|
|
2
|
+
* @fox-js/foxui-base v4.0.0 Thu Feb 29 2024 00:07:21 GMT+0800 (中国标准时间)
|
|
3
|
+
*/const Xt=window,ks=typeof window<"u";function bs(){return typeof Xt<"u"?Xt.requestAnimationFrame||Xt.webkitRequestAnimationFrame||function(e){Xt.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function Sa(e){ks?cancelAnimationFrame(e):clearTimeout(e)}const We=bs();/*!
|
|
4
4
|
* @fox-js/big-decimal v4.0.1-6 Thu Aug 17 2023 21:31:19 GMT+0800 (中国标准时间)
|
|
5
|
-
*/function Qt(e,o="0"){let l=0,n=-1;e[0]=="-"&&(l++,n=1,e=e.substring(1),e.length),o[0]=="-"&&(l++,n=2,o=o.substring(1),o.length),e=we(e),o=we(o),[e,o]=xo(we(e),we(o)),l==1&&(n==1?e=Fo(e):o=Fo(o));let a=ha(e,o);return l?l==2?"-"+we(a):e.length<a.length?we(a.substring(1)):"-"+we(Fo(a)):we(a)}function Fo(e){let o="",l=e.length,n=e.split(".")[1],a=n?n.length:0;for(let s=0;s<l;s++)e[s]>="0"&&e[s]<="9"?o+=9-parseInt(e[s]):o+=e[s];let r=a>0?"0."+new Array(a).join("0")+"1":"1";return ha(o,r)}function we(e){let o=e.split(".");for(o[0]||(o[0]="0");o[0][0]=="0"&&o[0].length>1;)o[0]=o[0].substring(1);return o[0]+(o[1]?"."+o[1]:"")}function xo(e,o){let l=e.split("."),n=o.split("."),a=l[0].length,r=n[0].length;return a>r?n[0]=new Array(Math.abs(a-r)+1).join("0")+(n[0]?n[0]:""):l[0]=new Array(Math.abs(a-r)+1).join("0")+(l[0]?l[0]:""),a=l[1]?l[1].length:0,r=n[1]?n[1].length:0,(a||r)&&(a>r?n[1]=(n[1]?n[1]:"")+new Array(Math.abs(a-r)+1).join("0"):l[1]=(l[1]?l[1]:"")+new Array(Math.abs(a-r)+1).join("0")),e=l[0]+(l[1]?"."+l[1]:""),o=n[0]+(n[1]?"."+n[1]:""),[e,o]}function ha(e,o){[e,o]=xo(e,o);let l="",n=0;for(let a=e.length-1;a>=0;a--){if(e[a]==="."){l="."+l;continue}let r=parseInt(e[a])+parseInt(o[a])+n;l=r%10+l,n=Math.floor(r/10)}return n?n.toString()+l:l}var he=(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))(he||{});function wt(e,o=0,l=he.HALF_EVEN){if(l===he.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let n=!1;e[0]==="-"&&(n=!0,e=e.substring(1));let a=e.split("."),r=a[0],s=a[1];if(o<0){if(o=-o,r.length<=o)return"0";{let c=r.substr(0,r.length-o);return e=c+"."+r.substr(r.length-o)+s,c=wt(e,0,l),(n?"-":"")+c+new Array(o+1).join("0")}}if(o==0)return r.length,ga(a[1],r,n,l)?(n?"-":"")+Ko(r):(n?"-":"")+r;if(a[1]){if(a[1].length<o)return(n?"-":"")+r+"."+a[1]+new Array(o-a[1].length+1).join("0")}else return(n?"-":"")+r+"."+new Array(o+1).join("0");s=a[1].substring(0,o);let i=a[1].substring(o);return i&&ga(i,s,n,l)&&(s=Ko(s),s.length>o)?(n?"-":"")+Ko(r,parseInt(s[0]))+"."+s.substring(1):(n?"-":"")+r+"."+s}function ga(e,o,l,n){if(!e||e===new Array(e.length+1).join("0")||n===he.DOWN||!l&&n===he.FLOOR||l&&n===he.CEILING)return!1;if(n===he.UP||l&&n===he.FLOOR||!l&&n===he.CEILING)return!0;let a="5"+new Array(e.length).join("0");if(e>a)return!0;if(e<a)return!1;switch(n){case he.HALF_DOWN:return!1;case he.HALF_UP:return!0;case he.HALF_EVEN:default:return parseInt(o[o.length-1])%2==1}}function Ko(e,o=0){o||(o=1),typeof e=="number"&&e.toString();let l=e.length-1,n="";for(let a=l;a>=0;a--){let r=parseInt(e[a])+o;r==10?(o=1,r=0):o=0,n+=r}return o&&(n+=o),n.split("").reverse().join("")}function Uo(e,o){e=e.toString(),o=o.toString();let l=0;e[0]=="-"&&(l++,e=e.substr(1)),o[0]=="-"&&(l++,o=o.substr(1)),e=Nt(e),o=Nt(o);let n=0,a=0;e.indexOf(".")!=-1&&(n=e.length-e.indexOf(".")-1),o.indexOf(".")!=-1&&(a=o.length-o.indexOf(".")-1);let r=n+a;if(e=Nt(e.replace(".","")),o=Nt(o.replace(".","")),e.length<o.length){let m=e;e=o,o=m}if(o=="0")return"0";let s=o.length,i=0,c=[],u=s-1,f="";for(let m=0;m<s;m++)c[m]=e.length-1;for(let m=0;m<2*e.length;m++){let h=0;for(let b=o.length-1;b>=u&&b>=0;b--)c[b]>-1&&c[b]<e.length&&(h+=parseInt(e[c[b]--])*parseInt(o[b]));h+=i,i=Math.floor(h/10),f=h%10+f,u--}return f=Nt(us(f,r)),l==1&&(f="-"+f),f}function us(e,o){return o==0?e:(e=o>=e.length?new Array(o-e.length+1).join("0")+e:e,e.substr(0,e.length-o)+"."+e.substr(e.length-o,o))}function Nt(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 Ho(e,o,l=8){if(o==0)throw new Error("Cannot divide by 0");if(e=e.toString(),o=o.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),o=o.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let n=0;o[0]=="-"&&(o=o.substring(1),n++),e[0]=="-"&&(e=e.substring(1),n++);var a=o.indexOf(".")>0?o.length-o.indexOf(".")-1:-1;if(o=we(o.replace(".","")),a>=0){let u=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(u==-1)e=we(e+new Array(a+1).join("0"));else if(a>u)e=e.replace(".",""),e=we(e+new Array(a-u+1).join("0"));else if(a<u){e=e.replace(".","");let f=e.length-u+a;e=we(e.substring(0,f)+"."+e.substring(f))}else a==u&&(e=we(e.replace(".","")))}let r=0,s=o.length,i="",c=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(0,s+1):e.substring(0,s);if(e=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(s+1):e.substring(s),c.indexOf(".")>-1){let u=c.length-c.indexOf(".")-1;c=c.replace(".",""),s>c.length&&(u+=s-c.length,c=c+new Array(s-c.length+1).join("0")),r=u,i="0."+new Array(u).join("0")}for(l=l+2;r<=l;){let u=0;for(;parseInt(c)>=parseInt(o);)c=Qt(c,"-"+o),u++;i+=u,e?(e[0]=="."&&(i+=".",r++,e=e.substring(1)),c=c+e.substring(0,1),e=e.substring(1)):(r||(i+="."),r++,c=c+"0")}return(n==1?"-":"")+we(wt(i,l-2))}function vo(e,o){return e=e.toString(),o=o.toString(),o=jo(o),Qt(e,o)}function jo(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function ya(e,o){if(o==0)throw new Error("Cannot divide by 0");e=e.toString(),o=o.toString(),ka(e),ka(o);let l="";e[0]=="-"&&(l="-",e=e.substr(1)),o[0]=="-"&&(o=o.substr(1));let n=vo(e,Uo(o,wt(Ho(e,o),0,he.FLOOR)));return l+n}function ka(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function ba(e,o){let l=!1;if(e[0]=="-"&&o[0]!="-")return-1;if(e[0]!="-"&&o[0]=="-")return 1;if(e[0]=="-"&&o[0]=="-"&&(e=e.substr(1),o=o.substr(1),l=!0),[e,o]=xo(e,o),e.localeCompare(o)==0)return 0;for(let n=0;n<e.length;n++)if(e[n]!=o[n])return e[n]>o[n]?l?-1:1:l?1:-1;return 0}class re{value;static RoundingModes=he;static validate(o){if(o){if(o=o.toString(),isNaN(o))throw Error("Parameter is not a number: "+o);o[0]=="+"&&(o=o.substring(1))}else o="0";if(o.startsWith(".")?o="0"+o:o.startsWith("-.")&&(o="-0"+o.substr(1)),/e/i.test(o)){let[l,n]=o.split(/[eE]/);l=we(l);let a="";l[0]=="-"&&(a="-",l=l.substring(1)),l.indexOf(".")>=0?(n=parseInt(n)+l.indexOf("."),l=l.replace(".","")):n=parseInt(n)+l.length,l.length<n?o=a+l+new Array(n-l.length+1).join("0"):l.length>=n&&n>0?o=a+we(l.substring(0,n))+(l.length>n?"."+l.substring(n):""):o=a+"0."+new Array(-n+1).join("0")+l}return o}constructor(o="0"){this.value=re.validate(o)}getValue(){return this.value}static getPrettyValue(o,l,n){if(!(l||n))l=3,n=",";else if(!(l&&n))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");o=re.validate(o);let a=o.charAt(0)=="-";a&&(o=o.substring(1));var r=o.indexOf(".");r=r>0?r:o.length;for(var s="",i=r;i>0;)i<l?(l=i,i=0):i-=l,s=o.substring(i,i+l)+(i<r-l&&i>=0?n:"")+s;return(a?"-":"")+s+o.substring(r)}getPrettyValue(o,l){return re.getPrettyValue(this.value,o,l)}static round(o,l=0,n=he.HALF_EVEN){if(o=re.validate(o),isNaN(l))throw Error("Precision is not a number: "+l);return wt(o,l,n)}round(o=0,l=he.HALF_EVEN){if(isNaN(o))throw Error("Precision is not a number: "+o);return new re(wt(this.value,o,l))}static floor(o){return o=re.validate(o),o.indexOf(".")===-1?o:re.round(o,0,he.FLOOR)}floor(){return this.value.indexOf(".")===-1?new re(this.value):new re(this.value).round(0,he.FLOOR)}static ceil(o){return o=re.validate(o),o.indexOf(".")===-1?o:re.round(o,0,he.CEILING)}ceil(){return this.value.indexOf(".")===-1?new re(this.value):new re(this.value).round(0,he.CEILING)}static add(o,l){return o=re.validate(o),l=re.validate(l),Qt(o,l)}add(o){return new re(Qt(this.value,o.getValue()))}static subtract(o,l){return o=re.validate(o),l=re.validate(l),vo(o,l)}subtract(o){return new re(vo(this.value,o.getValue()))}static multiply(o,l){return o=re.validate(o),l=re.validate(l),Uo(o,l)}multiply(o){return new re(Uo(this.value,o.getValue()))}static divide(o,l,n){return o=re.validate(o),l=re.validate(l),Ho(o,l,n)}divide(o,l){return new re(Ho(this.value,o.getValue(),l))}static modulus(o,l){return o=re.validate(o),l=re.validate(l),ya(o,l)}modulus(o){return new re(ya(this.value,o.getValue()))}static compareTo(o,l){return o=re.validate(o),l=re.validate(l),ba(o,l)}compareTo(o){return ba(this.value,o.getValue())}static negate(o){return o=re.validate(o),jo(o)}negate(){return new re(jo(this.value))}}function Sa(e,o){return re.multiply(`${e}`,`${o}`)}function Wo(e,o,l=8){return re.divide(`${e}`,`${o}`,l)}function Yo(e,o){return e=`${e}`,o=`${o}`,re.compareTo(e,o)}function Ca(e){return re.negate(e)}function Xo(e,o=-1,l=!1,n=3,a=","){let r=`${e}`;if(r.length==0||r==="-")return"";let s=r.charAt(0);s=="-"?r=r.substring(1):s="";let i=r,c="",u=r.indexOf(".");u!=-1&&(i=r.substring(0,u),c=r.substring(u+1)),o!=-1&&(o<c.length?c=c.substring(0,o):l&&o>c.length&&(c=c.padEnd(o,"0")));let f;if(n>0){let m="",h=i.split("").reverse();for(let b=0;b<h.length;b++)m+=h[b]+((b+1)%n==0&&b+1!=h.length?a:"");c.length==0?f=`${s}${m.split("").reverse().join("")}`:f=`${s}${m.split("").reverse().join("")}.${c}`}else c.length==0?f=`${s}${i}`:f=`${s}${i}.${c}`;return f}function wa(e){let o=`${e}`,l=o.charAt(0);l=="-"?o=o.substring(1):l="";let n=o.replace(/[^\d\.-]/g,"");return`${l}${n}`}const Ye=typeof window<"u",Xe=We;function Na(e){return e==null}const Gt=Array.isArray,fs=e=>Jt(e)==="[object Map]",ms=e=>Jt(e)==="[object Set]",Le=e=>e instanceof Date,Zt=e=>typeof e=="function",Ba=e=>typeof e=="string",ps=e=>typeof e=="symbol",Ie=e=>e!==null&&typeof e=="object",Qo=e=>Ie(e)&&Zt(e.then)&&Zt(e.catch),Va=Object.prototype.toString,Jt=e=>Va.call(e),Go=e=>Jt(e)==="[object Object]",Aa=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function hs(e){return e.__esModule||Aa&&e[Symbol.toStringTag]==="Module"}const gs=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function Je(...e){let o=e[0]!==void 0&&e[0]!==null?e[0]:{},l=1,n=e.length,a=!1;for(typeof o=="boolean"&&(a=o,o=e[l]??{},l++),typeof o!="object"&&(o={});l<n;l++)if(e[l]!==null&&e[l]!==void 0){let r=e[l];for(let s in r){let i=o[s],c=r[s];if(i!==c)if(a===!0&&c&&typeof c=="object"){let u;Array.isArray(c)?u=i&&Array.isArray(i)?i:[]:u=i&&typeof i=="object"?i:{},o[s]=Je(a,u,c)}else c!==void 0&&(o[s]=c)}}return o}function Zo(e,o,l=!1){if(!l)Je(!0,e,o);else{if(typeof o!="object")return{};typeof e!="object"&&(e={});for(let a in o){let r=e[a],s=o[a];if(r!==s)if(typeof s=="object"){if(!Array.isArray(s)&&!Go(s))continue;r=Zo(r,s,l),e[a]=r}else{if(typeof s=="function")continue;e[a]=s}}const n=Object.getOwnPropertySymbols(o);for(let a of n){let r=e[a],s=o[a];if(r!==s)if(typeof s=="object"){if(!Array.isArray(s)&&!Go(s))continue;r=Zo(r,s,l),e[a]=r}else{if(typeof s=="function")continue;e[a]=s}}}return e}const Jo=gs?Promise.resolve():null;function ys(e,...o){Jo!==null?o&&o.length>0?Jo.then(()=>{e(o)}):Jo.then(e):o&&o.length>0?setTimeout(()=>{e(o)}):setTimeout(e)}function ye(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function me(e){return typeof e=="number"?e:Number(e)}const ks={"[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 _e(e){let l=Object.prototype.toString.call(e);return e==null?String(e):ks[l]||"object"}function _t(e){if(!e)return!0;const{display:o}=window.getComputedStyle(e);return o==="none"}function Ea(e){return e&&typeof e=="object"&&"setInterval"in e}function Ta(e){let o=!!e&&"length"in e&&e.length,l=_e(e);return l==="function"||Ea(e)?!1:l==="array"||o===0||typeof o=="number"&&o>0&&o-1 in e}function $a(e,o){let l=+o.length,n=0,a=e.length;for(;n<l;n++)e[a++]=o[n];return e.length=a,e}function bs(e,o=[]){let l=o;return e!=null&&(Ta(Object(e))?$a(l,typeof e=="string"?[e]:e):l.push(e)),l}function Oe(e,o){if(e==o)return!0;if(e===void 0||o===void 0)return!1;let l=_e(e),n=_e(o);if(l!==n)return!1;if(l==="object"){let a=Object.keys(e),r=Object.keys(o);if(a.length!==r.length)return!1;for(let s=0;s<a.length;s++){let i=a[s],c=e[i],u=o[i];if(!Oe(c,u))return!1}return!0}else if(l==="array"){if(e.length!==o.length)return!1;for(let a=0;a<e.length;a++){let r=e[a],s=o[a];if(!Oe(r,s))return!1}return!0}return!1}function Da(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ke=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Ia(e){return ke(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ke(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function za(e){if(e==null)return 0;let o=`${e}`;if(o.length==0)return 0;o.charAt(0)=="-"&&(o=o.substring(1)),o=o.replace(/[^\d\.-]/g,"");const l=o.indexOf(".");return l==-1?o.length:l}function qa(e){if(e==null)return 0;const o=`${e}`;if(o.length==0)return 0;const l=o.indexOf(".");return l==-1?0:o.length-(l+1)}function Ma(e,o,l){const n=e.indexOf(o);return n===-1?e:o==="-"&&n!==0?e.slice(0,n):e.slice(0,n+1)+e.slice(n).replace(l,"")}function _o(e,o=!0,l=!0){o?e=Ma(e,".",/\./g):e=e.replace(/\./g,""),l?e=Ma(e,"-",/-/g):e=e.replace(/-/,"");const n=o?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(n,"")}function Ss(e,o){return typeof e=="object"||Array.isArray(e)?o.findIndex(l=>{if(Oe(e,l))return!0}):o.indexOf(e)}function Cs(e,o){if(typeof e=="object"||Array.isArray(e)){let l=o.reverse().findIndex(n=>{if(Oe(e,n))return!0});return l!==-1&&(l=o.length-1-l),l}return o.lastIndexOf(e)}function ge(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function be(e,...o){const l={};return o.forEach(n=>{for(const a in n)l[a]=e[a]}),l}function en(e,...o){const l=[];o.forEach(a=>{Reflect.apply([].push,l,Reflect.ownKeys(a))});const n={};for(const a in e)l.includes(a)||(n[a]=e[a]);return n}const Pa=(e,o,l)=>{const n=Object.assign({},e),a=Object.assign({},l);return Object.keys(o).length>0?(Object.keys(n).forEach(r=>{a.hasOwnProperty(r)?typeof a[r]=="string"&&(n[r]=o[a[r]]):o[r]&&(n[r]=o[r])}),n):e};function tn(e,o){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),o&&e.stopPropagation()}const et=(e,o=2)=>{for(e+="";e.length<o;)e="0"+e;return e.toString()},Fe=(e,o,l)=>Math.min(Math.max(e,o),l),on=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,Se=Symbol.for("BroadcastKey");class nn{parent;children=[];callbacks=new Map;proxy=null;name;constructor(o,l,n){this.parent=o,this.proxy=l,this.name=n,o!==null&&o.addChild(this)}addChild(o){this.children.push(o)}removeChild(o){const l=this.children.findIndex(n=>o===n);l!==-1&&this.children.splice(l,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(o,l,...n){if(o.maxLevel!==void 0&&o.maxLevel!==null&&o.maxLevel>0){if(o.level=o.level??0,o.level>o.maxLevel)return[];o.level++}let a=!1;!o.name||o.name==="*"?a=!0:!o.name||o.name==="+"?(a=!1,o.name="*"):Da(o.name)&&this.name&&o.name.test(this.name)?a=!0:typeof o.name=="function"?a=Reflect.apply(o.name,null,[this.name]):o.name===this.name&&(a=!0);const r=[];if(a){const s=this.callbacks.get(l);if(typeof s=="function"){const c=Reflect.apply(s,this.proxy,[...n]);c!=null&&r.push(c)}const i=this.proxy??{};if(typeof i[l]=="function"){const c=Reflect.apply(i[l],i,[...n]);c!=null&&r.push(c)}}return this.children.forEach(s=>{const i=Reflect.apply(s.emit,s,[{...o},l,...n]);i!=null&&Array.isArray(i)&&Reflect.apply([].push,r,[...i])}),r}emitToChildren(o,l,...n){const a=[];return this.children.forEach(r=>{const s=Reflect.apply(r.emit,r,[{...o},l,...n]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,a,[...s])}),a}on(o,l){this.callbacks.set(o,l)}}function eo(e,o,l,n){const a=new nn(o,e,l);if(n&&typeof n=="object")for(const r in n)a.on(r,n[r]);return a}function ws(e,o,l){const n=l;if(n[Se])return n[Se];const a=t.inject(Se,null),r=new nn(a,l,e);if(o&&typeof o=="object")for(const s in o)r.on(s,o[s]);return n[Se]=r,t.provide(Se,r),t.onUnmounted(()=>{r.destroy(),n[Se]=void 0}),r}function Bt(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Se]??t.inject(Se,null):t.inject(Se,null)}const tt=e=>e.default??e;class Ns{error(o,l){const n=l,a=Bt(l);a?a.emit({name:"*",maxLevel:1},"setErrorTip",o):typeof n.setErrorTip=="function"&&n.setErrorTip(o)}reset(o){const l=o,n=Bt(o);n?n.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof l.setErrorTip=="function"&&l.setErrorTip("")}success(o){const l=o,n=Bt(o);n?n.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof l.setErrorTip=="function"&&l.setErrorTip("")}decorate(o,l,n){Array.isArray(o)||(o=[o]);const a=n,r=Bt(n),s=l.find(c=>c.required===!0||c.type==="required"&&c.required!==!1),i=o.find(c=>c.required===!0||c.type==="required"&&c.required!==!1);!s&&i?r?r.emit({name:"*"},"setRequired",!0):typeof a.setRequired=="function"&&a.setRequired(!0):s&&!i&&(r?r.emit({name:"*"},"setRequired",!1):typeof a.setRequired=="function"&&a.setRequired(!1),this.reset(n))}getValue(o){return o.modelValue}}let Ra=new Ns;function Bs(e){Ra=e}function Vs(e,o){tt(Ze).setValidator(e,o)}function As(e){tt(Ze).deleteValidator(e)}let La=["blur","clear"];function Es(e){La=e}function Oa(){return La}let Fa=["focus","change"];function Ts(e){Fa=e}function xa(){return Fa}function $s(e){tt(Ze).messages(e)}function Vt(...e){const o=[];return e.forEach(l=>{l.forEach(n=>{const a=o.findIndex(r=>r.type===n.type);a!==-1&&o.splice(a,1),o.push(n)})}),o}function to(e){return e.forEach(o=>{o.type==="required"&&(o.required===null||o.required===void 0)&&(o.required=!0),!o.type&&(o.required===!0||o.required===!1)&&(o.type="required")}),e}const xe=Symbol("ValidateSchemaKey");class Ka{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(o,l,n){this.parent=o,this.descriptor=l,this.proxy=n,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let o=this.proxy.$attrs;o&&(this.scope=t.effectScope(),this.scope.run(()=>{t.watchEffect(()=>{const l=to(Vt(this.attrRules,this.rules)),n=[];for(let r in o){let s=o[r];if(this.hasValidator(r,!0)){if(s===!1)continue;let c={type:r};s!==null&&typeof s=="object"&&Object.assign(c,s),n.push(c);continue}let i=this.getValidator(r);if(i!==null){let c={type:r,validator:i};n.push(c)}}this.attrRules=to(n);const a=Vt(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(a,l)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(o,...l){const n=this.descriptor.validateHandler;if(n&&typeof n[o]=="function")return Reflect.apply(n[o],n,[...l]);const a=Ra;return a&&typeof a[o]=="function"?Reflect.apply(a[o],a,[...l]):null}decorate(o,l){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",o,l,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(o){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",o,this.proxy)}getValue(){return this.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(o,l,n=!1){n?tt(Ze).setValidator(o,l):this.validators[o]=l}getValidator(o){let l=this.validators[o]??null;return l||(l=this.parent?.getValidator(o)??null),l}deleteValidator(o,l=!1){l?tt(Ze).deleteValidator(o):Reflect.deleteProperty(this.validators,o)}hasValidator(o,l=!1){if(l)return tt(Ze).hasValidator(o);{let n=Reflect.has(this.validators,o);return!n&&this.parent!==null&&(n=this.parent.hasValidator(o,!1)),n}}setRule(o){const l=Vt(this.attrRules,this.rules);o===null?this.rules=[]:Array.isArray(o)?this.rules=to(o):this.rules=to([o]);const n=Vt(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(n,l)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let l=Vt(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(l.length>0){const a={[`${n}`]:l},r=this.getValue(),s={[`${n}`]:r},i=tt(Ze),c=new i(a),u=this.proxy??s;return c.validate(s,{context:u}).then(m=>{if(m.pass)this.success();else{let h="error";Array.isArray(m.errors)&&m.errors.length>0&&(h=m.errors[0].message??h,m.errors=[m.errors[0]],m.errors[0].ref=u),this.error(h)}return m}).catch(m=>{const h=m.message??`${m}`;return this.error(h),m})}}return Promise.resolve({pass:!0})}}function oo(e,o,l){if(l.valueName=l.valueName??"modelValue",l.valueType=l.valueType??"string",!l.validateHandler&&l.valueName!=="modelValue"){const a=l.valueName;l.validateHandler={getValue(r){return r[a]}}}return new Ka(o,l,e)}const Ua=Symbol("EventEmitterKey");class Ds{register=new Map;proxy;constructor(o){this.proxy=o}destroy(){this.proxy=null,this.register.clear()}off(o,l){let n=this.register.get(o);if(n&&Array.isArray(n)){let a=n.findIndex(r=>r===l);a!==-1&&n.splice(a,1)}}on(o,l){let n=this.register.get(o);n||(n=new Array,this.register.set(o,n)),n.push(l)}emit(o,...l){const n=this.register.get(o);n&&n.forEach(a=>{try{Reflect.apply(a,null,[o,...l])}catch(r){console.error(r.message,r)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[o,...l])}}function st(e,o){let l=null;return function(...n){l&&clearTimeout(l),l=setTimeout(()=>{l=null,Reflect.apply(e,null,[...n])},o)}}function no(e,o){let l=0;return function(...n){const a=new Date().getTime();a-l<o||(l=a,Reflect.apply(e,null,[...n]))}}function Is(e,o){const l=st((n,a)=>{e=n,a()},o);return t.customRef((n,a)=>({get(){return n(),e},set(r){l(r,a)}}))}function zs(e){let o=!1;return function(...l){o||(o=!0,Reflect.apply(e,null,[...l]))}}function ln(e,o,l,n=0,a=!0){let r=o,s=0;if(a){const c=e();if(s++,c||s>l)return}const i=()=>{const c=e();s++,!(c||s>l)&&(r+=n,setTimeout(i,r))};setTimeout(i,r)}const Ee=Symbol("DomainKey"),it=Symbol("DataItemsKey");class lo{_parent=null;get parent(){return this._parent}set parent(o){this._parent=o}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(o){this._broadcast=o}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(o){this._validateSchema=o}_props=t.reactive({});constructor(o=null){this._name=o}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(o,l=[]){for(const n in o){const a=o[n];l.length>0&&l.indexOf(a)!==-1||(this._props[n]=a)}}has(o){if(Reflect.has(this._props,o)){const l=this._props[o];if(l!=null)return!0}return this.parent==null?!1:this.parent.has(o)}delete(o){Reflect.deleteProperty(this._props,o)}set(o,l){this._props[o]=l}get(o,l){if(Reflect.has(this._props,o)){const n=this._props[o];if(n!=null)return n}return this.parent==null?l:this.parent.get(o,l)}getForParent(o,l){return this.parent==null?l:this.parent.get(o,l)}getForSelf(o){return this._props[o]}getAll(o){const l=[];let n=this;for(;n!=null;){if(Reflect.has(n._props,o)){const a=n._props[o];l.push(a)}n=n._parent}return l}}const qs=new lo;function ct(){return qs}function Ke(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Ee]??t.inject(Ee,null):t.inject(Ee,null)}const an=Symbol("OriginalDateKey");function rn(e,o,l=[],n){const a=t.getCurrentInstance(),r=a?.proxy;let s=t.inject(Ee,null);s===null&&(s=ct());const i=e||o.prop||o.name,c=new lo(i);c.parent=s;const u=k=>{r[an]||h(k),c.set("modelValue",k)},f=()=>c.getForSelf("modelValue")??null,m=()=>r[an]??null,h=k=>{const y={};Je(!0,y,t.toRaw(k)),r[an]=y};t.isReactive(o)||typeof o=="function"?t.watch(o,k=>{c.merge(k,l)},{immediate:!0}):c.merge(o,l),o.modelValue&&h(o.modelValue),r[Ee]=c,t.provide(Ee,c);let b=null,g=null;if(a!==null){const k=t.inject(Se,null);b=eo(r,k,i,n),c.broadcast=b,r[Se]=b,t.provide(Se,b),r.broadcast=(d,p,...S)=>Reflect.apply(b.emit,b,[d,p,...S]);const y=t.inject(xe,null);g=oo(r,y,{componentName:""}),c.validateSchema=g,r[xe]=g,t.provide(xe,g),r[it]=new Map,r.validate=(d=!0)=>{const p=[];let S=null;const w={deep:!1};if(d===!0)S={name:"*"};else if(Array.isArray(d)&&d.length>0){const E=d;S={name:$=>$?E.indexOf($)!==-1:!1}}else if(d!=null&&typeof d=="object"){const E=d;if(w.ignoreHidden=E.ignoreHidden,Array.isArray(E.include)&&E.include.length>0){const $=E.include;S={name:q=>q?$.indexOf(q)!==-1:!1}}else if(Array.isArray(E.exclude)&&E.exclude.length>0){const $=E.exclude;S={name:q=>q?$.indexOf(q)===-1:!1}}else S={name:"*"}}if(S){const E=b?.emitToChildren(S,"validate",w);E&&Reflect.apply([].push,p,E)}return p.length==1?p[0]:p.length>1?Promise.all(p).then(E=>{let $=[];return E.forEach(q=>{q.pass===!1&&Array.isArray(q.errors)&&($=[...$,...q.errors])}),$.length>0?{pass:!1,errors:$}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(d,p=!0,S=!1)=>{if(S===!0){Reflect.ownKeys(d).forEach(E=>{let $=String(E);const D=ja(c,$,{componentName:"",fieldName:$,pureDataValidate:!0},b,g);r[it].set($,D);const z=d[$];z&&D.validateSchema.setRule(z)});return}if(p){const w=Reflect.ownKeys(d),E={name:$=>w.includes($)};b?.emitToChildren(E,"setNameValidateRules",d,!1)}},r.clearValidate=(d=!0)=>{let p=null;if(d===!0)p={name:"*"};else if(Array.isArray(d)&&d.length>0){const S=d;p={name:w=>w?S.indexOf(w)!==-1:!1}}else if(d!=null&&typeof d=="object"){const S=d;if(Array.isArray(S.include)&&S.include.length>0){const w=S.include;p={name:E=>E?w.indexOf(E)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const w=S.exclude;p={name:E=>E?w.indexOf(E)===-1:!1}}else p={name:"*"}}p&&b?.emitToChildren(p,"clearValidate",!1)},r.resetFields=d=>{const p=f();if(!p)return;const S={};if(Je(!0,S,m()??{}),Array.isArray(d))d.forEach(w=>{p[w]=S[w]});else if(d&&Array.isArray(d.include))(d.include??[]).forEach(E=>{p[E]=S[E]});else if(d&&Array.isArray(d.exclude)){let w=d.exclude??[];Reflect.ownKeys(S).forEach(E=>{w.includes(E)||(p[E]=S[E])})}else Object.assign(p,S);r.clearValidate(d)},r.setModelValue=(d,p)=>{!p||p===i?u(d):b?.emitToChildren({name:p},"setModelValue",d)},r.getModelValue=()=>f()}return t.onUnmounted(()=>{c.destroy(),r[Ee]=void 0,r[it]&&(r[it].clear(),r[it]=void 0),b!==null&&(b.destroy(),r[Se]=void 0),g!==null&&(g.destroy(),r[xe]=void 0)}),c}function Ha(e,o,l=[]){const a=t.getCurrentInstance()?.proxy;let r=t.inject(Ee,null);r===null&&(r=ct());const s=e||o.prop||o.name,i=new lo(s);return i.parent=r,t.isReactive(o)||typeof o=="function"?t.watch(o,c=>{i.merge(c,l)},{immediate:!0}):i.merge(o,l),a[Ee]=i,t.provide(Ee,i),t.onUnmounted(()=>{i.destroy(),a[Ee]=void 0}),i}function va(e,o,l){const a=Ke(e)?.get("rules");if(!a)return;let r=a[l];r&&(Array.isArray(r)||(r=[r]),r.forEach(s=>{o.setRule(s)}))}function Be(e,o,l){const a=t.getCurrentInstance()?.proxy,r=o??"",s=t.inject(Se,null),i=eo(a,s,r,l);a[Se]=i,t.provide(Se,i),a.broadcast=(g,k,...y)=>Reflect.apply(i.emit,i,[g,k,...y]);const c=t.inject(xe,null);e.fieldName=e.fieldName??r;const u=oo(a,c,e);a[xe]=u,t.provide(xe,u),va(a,u,r),a.validate=(g=null)=>{const k=[];let y=!1,d=!1;if(Array.isArray(g)&&g.indexOf(r)!==-1)d=!0,y=!0;else if(g&&typeof g=="object"){const p=g;p.ignoreHidden===!0&&_t(a.$el)?d=!1:(Array.isArray(p.include)&&p.include.indexOf(r)!==-1||Array.isArray(p.exclude)&&p.exclude.indexOf(r),d=!0),y=p.deep??!1}else typeof g=="boolean"&&(y=g),d=!0;if(d){const p=u?.validate();k.push(p)}if(y){let p=null;const S={deep:!1};if(g===!0)p={name:"*"};else if(Array.isArray(g)&&g.length>0){const w=g;p={name:E=>E?w.indexOf(E)!==-1:!1}}else if(g!=null&&typeof g=="object"){const w=g;if(S.ignoreHidden=w.ignoreHidden,Array.isArray(w.include)&&w.include.length>0){const E=w.include;p={name:$=>$?E.indexOf($)!==-1:!1}}else if(Array.isArray(w.exclude)&&w.exclude.length>0){const E=w.exclude;p={name:$=>$?E.indexOf($)===-1:!1}}else p={name:"*"}}if(p){const w=i.emitToChildren(p,"validate",S);Reflect.apply([].push,k,w)}}return k.length==1?k[0]:k.length>1?Promise.all(k).then(p=>{let S=[];return p.forEach(w=>{w.pass===!1&&Array.isArray(w.errors)&&(S=[...S,...w.errors])}),S.length>0?{pass:!1,errors:S}:{pass:!0}}):Promise.resolve({pass:!0})},a.setValidateRule=g=>u?.setRule(g),a.setNameValidateRules=(g,k=!1)=>{const y=g[r];if(y&&u?.setRule(y),k){const d={name:p=>Reflect.ownKeys(g).includes(p)};i.emitToChildren(d,"setNameValidateRules",g,!1)}},a.clearValidate=(g=null)=>{(!Array.isArray(g)||g.indexOf(o??"")!==-1)&&u?.clear();let k=null;if(g===!0)k={name:"*"};else if(Array.isArray(g)&&g.length>0){const y=g;k={name:d=>d?y.indexOf(d)!==-1:!1}}else if(g!=null&&typeof g=="object"){const y=g;if(Array.isArray(y.include)&&y.include.length>0){const d=y.include;k={name:p=>p?d.indexOf(p)!==-1:!1}}else if(Array.isArray(y.exclude)&&y.exclude.length>0){const d=y.exclude;k={name:p=>p?d.indexOf(p)===-1:!1}}else k={name:"*"}}k&&i.emitToChildren(k,"clearValidate",!1)};const f=new Ds(a);a[Ua]=f;const m=st((g="validate")=>{g==="reset"?u.clear():u.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Oa()).forEach(g=>{f.on(g,k=>{m("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:xa()).forEach(g=>{f.on(g,k=>{m("reset")})}),t.onUnmounted(()=>{i.destroy(),a[Se]=void 0,u.destroy(),a[xe]=void 0,f.destroy(),a[Ua]=void 0}),{broadcast:i,validateSchema:u,emitEvent:(g,...k)=>{Reflect.apply(f.emit,f,[g,...k])},onEvent:(g,k)=>{Reflect.apply(f.on,f,[k])},offEvent:(g,k)=>{Reflect.apply(f.off,f,[k])}}}function ja(e,o,l,n,a){const r={},s=o??"",i={getValue(){const f=e.getForSelf("modelValue");return f?f[s]:null},isExist(){const f=e.getForSelf("modelValue");return f?Reflect.has(f,s):!1}};l.fieldName=s,l.validateHandler={getValue(f){return i.getValue()}};const c=oo({},a,l);r.validate=(f=null)=>{if(!i.isExist())return console.warn(`validate error: field [${s}] not exist`),Promise.resolve({pass:!0});const m=[];let h=!1,b=!1;if(Array.isArray(f)&&f.indexOf(s)!==-1)b=!0,h=!0;else if(f&&typeof f=="object"){const g=f;Array.isArray(g.include)&&g.include.indexOf(s)!==-1||Array.isArray(g.exclude)&&g.exclude.indexOf(s),b=!0,h=g.deep??!1}else typeof f=="boolean"&&(h=f),b=!0;if(b){const g=c?.validate();m.push(g)}if(h){let g=null;const k={deep:!1};if(f===!0)g={name:"*"};else if(Array.isArray(f)&&f.length>0){const y=f;g={name:d=>d?y.indexOf(d)!==-1:!1}}else if(f!=null&&typeof f=="object"){const y=f;if(Array.isArray(y.include)&&y.include.length>0){const d=y.include;g={name:p=>p?d.indexOf(p)!==-1:!1}}else if(Array.isArray(y.exclude)&&y.exclude.length>0){const d=y.exclude;g={name:p=>p?d.indexOf(p)===-1:!1}}else g={name:"*"}}if(g){const y=u.emitToChildren(g,"validate",k);Reflect.apply([].push,m,y)}}return m.length==1?m[0]:m.length>1?Promise.all(m).then(g=>{let k=[];return g.forEach(y=>{y.pass===!1&&Array.isArray(y.errors)&&(k=[...k,...y.errors])}),k.length>0?{pass:!1,errors:k}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=f=>c?.setRule(f),r.setNameValidateRules=f=>{const m=f[s];m&&c?.setRule(m)};const u=eo(null,n,s,r);return{broadcast:u,validateSchema:c}}const de=e=>e?`${ie(e)}px`:"";function ie(e,o=-1){if(typeof e=="number")return e>0&&e<1&&o>0?e*o:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let l=e.indexOf("px");if(l!==-1)return Number(e.substring(0,l));if(l=e.indexOf("rem"),l!==-1){let a=Number(e.substring(0,l)),r=1;if(Ye){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),i=s.indexOf("px");i>0&&(r=Number(s.substring(0,i)))}return a*=r,a}if(l=e.indexOf("%"),l!==-1)return Number(e.substring(0,l))*o;const n=Number(e);return isNaN(n)?0:n}const Qe="PageStateKey";function Me(e){const o={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(o.top=ie(e.top)),e.left!==null&&e.left!==void 0&&(o.left=ie(e.left)),e.bottom!==null&&e.bottom!==void 0&&(o.bottom=ie(e.bottom)),e.right!==null&&e.right!==void 0&&(o.right=ie(e.right))),o}function sn(e,o,l={},n=!0,a=-1,r=-1,s=0,i=0){if(e.headerHeight=ie(l.headerHeight??o.headerHeight??-1),e.headerPadding=Me(l.headerPadding??o.headerPadding),e.footerHeight=ie(l.footerHeight??o.footerHeight??-1),e.footerPadding=Me(l.footerPadding??o.footerPadding),e.contentPadding=Me(l.contentPadding??o.contentPadding),n){const c=l.height??o.height;c?e.height=ie(c,r):e.height=ie(r)-ie(s,r)-ie(i,r),e.width=ie(l.width??o.width??0,a)}}function Wa(e,o={}){const l={top:null,left:null,bottom:null,right:null},n={width:0,height:0,headerHeight:0,headerPadding:{...l},footerHeight:0,footerPadding:{...l},contentPadding:{...l},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},a=Object.assign(e.get("safeAreaInset")??{},o.safeAreaInset??{});a&&(n.safeAreaTop=ie(a.top),n.safeAreaBottom=ie(a.bottom),n.safeAreaLeft=ie(a.left),n.safeAreaRight=ie(a.right));const r=e.get("pageLayout");if(!r)return null;const s=e.get("rootWidth")??-1,i=e.get("rootHeight")??-1,c=e.get("headerBarHeight")??0,u=e.get("footerBarHeight")??0;sn(n,r,o,!0,s,i,c,u);const f=t.reactive(n),m=e.getForParent(Qe);m&&(n.height=io(e,m),n.width=co(e,m),t.watch([()=>io(e,m),()=>co(e,m)],([b,g])=>{f.height=b,f.width=g}));const h=!m;return t.watch([()=>o.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([b,g,k=-1,y=-1,d=0,p=0])=>{sn(f,g,o,h,k,y,d,p)}),e.set(Qe,f),f}function ao(e){return e.get(Qe)}function ro(e,o){if(o=o??e.get(Qe),o&&o.headerMounted){const l=o.safeAreaTop==-1?0:o.safeAreaTop;return o.headerAllHeight??o.headerHeight+l}return 0}function so(e,o){if(o=o??e.get(Qe),o&&o.footerMounted){const l=o.safeAreaBottom==-1?0:o.safeAreaBottom;return o.footerAllHeight??o.footerHeight+l}return 0}function io(e,o){if(o=o??e.get(Qe),o){if(o.contentInnerHeight)return o.contentInnerHeight;const l=ro(e,o),n=so(e,o);return o.height-l-n-(o.contentPadding.top??0)-(o.contentPadding.bottom??0)}return 0}function co(e,o){return o=o??e.get(Qe),o?o.contentInnerWidth??o.width-(o.contentPadding.left??0)-(o.contentPadding.right??0):0}function Ms(e,o){const l=e.get("isInnerPage");return typeof l=="function"?Reflect.apply(l,{},[o,e]):!1}function Ps(e){return!!e.getForParent(Qe)}var uo=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(uo||{});function cn(e,o){return e==null?!1:typeof o=="function"?o(e):!0}function Te(e,o,l=1,n){const a=Ke();return a==null?e:l===0?t.computed(()=>{const r=a.getAll(o);for(let i=r.length-1;i>=0;i--){const c=r[i];if(cn(c,n))return c}const s=e.value;return cn(s,n)?s:null}):t.computed(()=>{const r=e.value;return cn(r,n)?r:a?.get(o)})}function $e(e){return Te(e,"readonly",0,function(l){return ye(l)})}function Ve(e){return Te(e,"disabled",0,function(l){return ye(l)})}function ze(e,o="modelValue",l){const n=t.toRef(e,o);let a=n.value;typeof l=="function"&&(a=l(n.value));const r=t.ref(a);return t.watch(n,s=>{if(typeof l=="function"){const i=l(s);i!==r.value&&(r.value=i)}else s!==r.value&&(r.value=s)}),r}const Ya=new Map,fo=new Map;let dn=null;function Rs(e){dn=e}function Xa(e,o,l){if(l){let n=fo.get(l);n||(n=new Map,fo.set(l,n)),n.set(e,o)}else Ya.set(e,o)}function At(e,o,l){!l&&dn&&(l=dn(e)??void 0);let n=null;if(l){let a=fo.get(l);a&&(n=a.get(o))}return n||(n=Ya.get(o)),n}function Ls(e,o){for(let l in e){const n=e[l];Xa(l,n,o)}}function Os(e){fo.delete(e)}function Fs(){return{top:0,left:0,bottom:0,right:0}}function xs(e=0,o=0){if(Ye){const l=document.documentElement.clientWidth||document.body.clientWidth,n=document.documentElement.clientHeight||document.body.clientHeight,a={width:l,height:n-ie(e,n)-ie(o,n)};return{rootWidth:l,rootHeight:n,pageLayout:a}}else return{rootWidth:-1,rootHeight:-1,pageLayout:{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}}class Ks{packages;_version;get version(){return this._version}constructor(o,l){this.packages=o,this._version=l}install(o,l){l?.install!==!1&&this.packages.forEach(r=>{r.install?o.use(r):r.name&&o.component(r.name,r)});const n=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],a=ct();if(this.initPageLayout(l,a),l.autoAdjustPageLayout!==!1&&window.ResizeObserver){const r=no(()=>{const i={...l},c=document.documentElement.clientWidth||document.body.clientWidth,u=document.documentElement.clientHeight||document.body.clientHeight;i.width=c,i.height=u,this.initPageLayout(i,a)},150);new window.ResizeObserver(r).observe(window.document.body)}for(const r in l)n.indexOf(r)===-1&&a.set(r,l[r])}initPageLayout(o,l){const n=o.headerBarHeight??0,a=o.footerBarHeight??0,r=Je({},Fs(),o.safeAreaInset),s=xs(n,a),i=Je({},s.pageLayout,o.pageLayout);l=l??ct(),l.set("safeAreaInset",r),l.set("headerBarHeight",n),l.set("footerBarHeight",a),l.set("pageLayout",i),l.set("rootWidth",s.rootWidth),l.set("rootHeight",s.rootHeight)}setScopeGetter(o){Rs(o)}setAPI(o,l,n){Xa(o,l,n)}getAPI(o,l,n){return At(o,l,n)}batchSetAPI(o,l){Ls(o,l)}clearScopeAPI(o){Os(o)}getRootDomain(){return ct()}}function K(e){const o="fox-"+e;return{componentName:o,scope:e.replace("-",""),create(l){return l.baseName=e,l.name=o,l.install=n=>{n.component(l.name,l)},t.defineComponent(l)},createDemo(l){return l.baseName=e,l.name="demo-"+e,t.defineComponent(l)}}}const Us=(e,o)=>{let l=document.body;const n=e.teleport||"body";n!="body"&&(Ba(n)?l=document.querySelector(n):l=e.teleport);const a=document.createElement("view"),r=o.name?o.name+"-":"",s=e.id||new Date().getTime();a.id=r+s;let i={};Zt(o.wrapper)?i=o.wrapper(l,a):i=o.wrapper;const c=t.createApp(i,e),u=o.components;return u&&u.forEach(f=>{c.use(f)}),l.appendChild(a),{instance:c.mount(a),unmount:()=>{c.unmount(),l.removeChild(a)}}},Qa=(e,o)=>e?t.h(e,o):"",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}},fe={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},infoMarkClass:{type:String,required:!1,default:"is-info"},warnMarkClass:{type:String,required:!1,default:"is-warn"},errorMarkClass:{type:String,required:!1,default:"is-error"},errorTip:{type:String,required:!1},errorIcon:{type:Object,required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:Object,required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:Object,required:!1},infoClass:{type:String,required:!1},contentClass:{type:String,required:!1,default:"content--default"},contentStyle:{type:Object,required:!1,default:{}},hintType:{type:String,required:!1,default:"text"},hintText:{type:[String,Number],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:!0},hintProps:{type:Object,required:!1,default:{}},appearListen:{type:[Boolean,String],required:!1,default:!1}},Ga={column:{type:[String,Number],required:!1},columnWidth:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},minItemWidth:{type:[String,Number],required:!1},maxItemWidth:{type:[String,Number],required:!1}},Za={name:{type:String,required:!1},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}},Ja=[];for(const e in Za)Ja.push(e);function De(e,o=null){if(o||(o=t.getCurrentInstance()),o&&o.proxy){let l=o.proxy;Object.assign(l,e)}}const Hs=Symbol.for("InnerPageScopeKey"),vs=(e,o)=>({inheritAttrs:!0,props:{...ue,...Ga,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}},setup(l,n){const a=rn(l.name,l);if(a){const u=Wa(a,l);De({getPageContentHeight:()=>io(a,u),getPageContentWidth:()=>co(a,u),getPageHeaderHeight:()=>ro(a,u),getPageFooterHeight:()=>so(a,u)});const f=t.inject(Hs,!1);u&&f&&(u.contentHeight="100%")}const r=t.computed(()=>({[e]:!0})),s=t.computed(()=>({})),i=t.getCurrentInstance(),c=(u,f=!1)=>{const m=i?.proxy;m&&typeof m.setNameValidateRules=="function"&&m.setNameValidateRules(u,!0,f)};return t.watch([()=>l.rules,()=>l.pureDataRules],([u,f],[m,h])=>{if(u&&m){const b=t.toRaw(m),g=t.toRaw(u),k=g?Reflect.ownKeys(g):[];(b?Reflect.ownKeys(b):[]).forEach(d=>{k.includes(d)||(g[d]=[])}),c(g)}if(f&&h){const b=t.toRaw(h),g=t.toRaw(f),k=g?Reflect.ownKeys(g):[];(b?Reflect.ownKeys(b):[]).forEach(d=>{k.includes(d)||(g[d]=[])}),c(g,!0)}},{deep:!0}),t.onMounted(()=>{if(l.rules){const u=t.toRaw(l.rules);c(u)}if(l.pureDataRules){const u=t.toRaw(l.pureDataRules);c(u,!0)}}),{classes:r,styles:s}}}),{componentName:js,create:Ws,scope:eB}=K("page"),Ys=Ws(vs(js));function Xs(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const Q=(e,o)=>{const l=e.__vccOpts||e;for(const[n,a]of o)l[n]=a;return l},un=Q(Ys,[["render",Xs]]);function mo(e){const o=t.unref(e);return{width:o.offsetWidth,height:o.offsetHeight}}function fn(e){const o=t.unref(e),l=window.getComputedStyle(o,null),n=parseFloat(l.getPropertyValue("padding-left")),a=parseFloat(l.getPropertyValue("padding-right")),r=parseFloat(l.getPropertyValue("padding-top")),s=parseFloat(l.getPropertyValue("padding-bottom"));return{width:o.clientWidth-n-a,height:o.clientHeight-r-s}}const Qs=(e,o,l,n=!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},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!0},leftIcon:{type:[Object],required:!1,default:l},leftText:{type:String,required:!1,default:""},titleShow:{type:Boolean,required:!1,default:!0},title:{type:String,required:!1,default:""},titleIcon:{type:[Object],required:!1},rightShow:{type:[String,Boolean],required:!1,default:!0},rightIcon:{type:[Object],required:!1},rightText:{type:String,required:!1,default:""}},emits:["back","click-title","click-right","click-right-text"],setup(a,r){const s=Ke(),i=s?ao(s):null;i&&(i.headerMounted=!0);const c=t.computed(()=>{const N=e;return{[N]:!0,[`${N}--border`]:a.border,[`${N}--fixed`]:a.fixed,[`${N}--safe-area-inset-top`]:a.safeAreaInsetTop}}),u=a.height!==null&&a.height!==void 0?ie(a.height):null,f=t.computed(()=>{const N={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(s&&i){const I=Me(a.padding??i.headerPadding);return Object.assign(N,I),u&&(i.headerHeight=u),i.headerHeight>0&&(N.height=i.headerHeight),N.safeAreaTop=i.safeAreaTop===-1?0:i.safeAreaTop,N.safeAreaTop>0&&(N.top=N.safeAreaTop+(I.top??0),N.height=(N.height??0)+N.safeAreaTop),N}if(u&&(N.height=u),a.padding){const I=Me(a.padding);Object.assign(N,I)}return N}),m=t.ref(null),h=()=>{if(i&&m.value&&!_t(m.value)){if(!n){const N=mo(m.value);i.headerAllHeight=N.height}return i.headerMounted=!0,!0}return!1};let b=null;t.onMounted(()=>{i&&(ln(h,50,5,50,!0),window.ResizeObserver&&m.value&&(b=new window.ResizeObserver(()=>{h()}),b.observe(m.value)))}),t.onUnmounted(()=>{i&&(i.headerMounted=!1,b&&(b.disconnect(),b=null))});const g=t.computed(()=>{const N={};return f.value.height!==null&&f.value.height!==void 0&&(N.height=`${f.value.height}px`),f.value.top!==null&&f.value.top!==void 0&&(N.paddingTop=`${f.value.top}px`),f.value.left!==null&&f.value.left!==void 0&&(N.paddingLeft=`${f.value.left}px`),f.value.right!==null&&f.value.right!==void 0&&(N.paddingRight=`${f.value.right}px`),f.value.bottom!==null&&f.value.bottom!==void 0&&(N.paddingBottom=`${f.value.bottom}px`),N}),k=t.computed(()=>{const N={};return f.value.safeAreaTop!==null&&f.value.safeAreaTop!==void 0&&(N.top=`${f.value.safeAreaTop}px`),N}),y=t.computed(()=>{const N={};return f.value.safeAreaTop!==null&&f.value.safeAreaTop!==void 0&&(N.top=`${f.value.safeAreaTop}px`),N}),d=t.computed(()=>!!a.leftShow),p=t.computed(()=>!(f.value.height!==null&&f.value.height!==void 0&&f.value.height<=0)),S=t.computed(()=>a.titleShow?a.title||a.titleIcon||r.slots.titleIcon||r.slots.default:!1),w=t.computed(()=>a.rightShow?a.rightText||a.rightIcon||r.slots.rightIcon||r.slots.right:!1),E=t.computed(()=>a.leftIcon),$=t.computed(()=>E.value||r.slots.leftIcon),q=t.computed(()=>a.titleIcon),D=t.computed(()=>a.titleIcon||r.slots.titleIcon),z=t.computed(()=>a.rightIcon),V=t.computed(()=>a.rightIcon||r.slots.rightIcon);function A(){r.emit("back")}function L(){r.emit("click-title")}function P(){r.emit("click-right")}function T(){r.emit("click-right-text")}return{headerBarRef:m,classes:c,styles:g,mHeaderShow:p,leftStyles:k,rightStyles:y,mLeftShow:d,mTitleShow:S,mRightShow:w,mLeftIcon:E,hasLeftIcon:$,mTitleIcon:q,hasTitleIcon:D,mRightIcon:z,hasRightIcon:V,handleLeft:A,handleCenter:L,handleRight:P,handleRightText:T}}}),{componentName:Gs,create:Zs,scope:Js}=K("header-bar"),_s=Zs(Qs(Gs,Js,ee.Left,!1)),ei={key:1,class:"fox-header-bar__title"},ti={key:0,class:"title-text"};function oi(e,o,l,n,a,r){return e.mHeaderShow?(t.openBlock(),t.createElementBlock("view",{key:0,ref:"headerBarRef",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.hasLeftIcon?(t.openBlock(),t.createElementBlock("view",{key:0,onClick:o[0]||(o[0]=(...s)=>e.handleLeft&&e.handleLeft(...s)),class:"left-icon"},[t.renderSlot(e.$slots,"leftIcon",{},()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.mLeftIcon)))])])):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:o[1]||(o[1]=(...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",ei,[t.renderSlot(e.$slots,"default",{},()=>[e.title?(t.openBlock(),t.createElementBlock("view",ti,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.hasTitleIcon?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:o[2]||(o[2]=(...s)=>e.handleCenter&&e.handleCenter(...s)),class:"title-icon"},[t.renderSlot(e.$slots,"titleIcon",{},()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.mTitleIcon)))])])):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:o[3]||(o[3]=(...s)=>e.handleRightText&&e.handleRightText(...s))},t.toDisplayString(e.rightText),1)):t.createCommentVNode("",!0),e.hasRightIcon?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:o[4]||(o[4]=(...s)=>e.handleRight&&e.handleRight(...s)),class:"right-icon"},[t.renderSlot(e.$slots,"rightIcon",{},()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.mRightIcon)))])])):t.createCommentVNode("",!0)])],4)):t.createCommentVNode("",!0)])],6)):t.createCommentVNode("",!0)}const mn=Q(_s,[["render",oi]]);function ni(e,o,l=!1){return{props:{fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetBottom:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(n,a){const r=Ke(),s=r?ao(r):null,i=t.computed(()=>{const g=e;return{[g]:!0,[`${g}--${n.align}`]:!0,[`${g}--border`]:n.border,[`${g}--fixed`]:n.fixed,[`${g}--safe-area-inset-bottom`]:n.safeAreaInsetBottom}}),c=n.height!==null&&n.height!==void 0?ie(n.height):null,u=t.computed(()=>{const g={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&s){const k=Me(n.padding??s.footerPadding);return Object.assign(g,k),c&&(s.footerHeight=c),s.footerHeight>0&&(g.height=s.footerHeight),g.safeAreaBottom=s.safeAreaBottom===-1?0:s.safeAreaBottom,g.safeAreaBottom>0&&(g.height=(g.height??0)+g.safeAreaBottom,g.bottom=g.safeAreaBottom+(k.bottom??0)),g}if(c&&(g.height=c),n.padding){const k=Me(n.padding);Object.assign(g,k)}return g}),f=t.ref(null),m=()=>{if(s&&f.value&&!_t(f.value)){if(!l){const g=mo(f.value);s.footerAllHeight=g.height}return s.footerMounted=!0,!0}return!1};let h=null;t.onMounted(()=>{s&&(ln(m,50,5,50,!0),window.ResizeObserver&&(h=new window.ResizeObserver(()=>{m()}),h.observe(f.value)))}),t.onUnmounted(()=>{s&&(s.footerMounted=!1,h&&(h.disconnect(),h=null))});const b=t.computed(()=>{const g={};return u.value.height!==null&&u.value.height!==void 0&&(g.height=de(u.value.height)),u.value.top!==null&&u.value.top!==void 0&&(g.paddingTop=de(u.value.top)),u.value.left!==null&&u.value.left!==void 0&&(g.paddingLeft=de(u.value.left)),u.value.right!==null&&u.value.right!==void 0&&(g.paddingRight=de(u.value.right)),u.value.bottom!==null&&u.value.bottom!==void 0&&(g.paddingBottom=de(u.value.bottom)),g});return{footerBarRef:f,classes:i,styles:b}}}}const{componentName:li,create:ai,scope:ri}=K("footer-bar"),si=ai(ni(li,ri,!1));function ii(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{ref:"footerBarRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const pn=Q(si,[["render",ii]]);function ci(e,o){return{props:{padding:{type:[Object],required:!1}},setup(l){const n=Ke(),a=t.computed(()=>({[e]:!0})),r=n?ao(n):null,s=t.computed(()=>{const u={};if(n&&r){if(l.padding){const b=Me(l.padding);Object.assign(r.contentPadding,b)}const f=ro(n,r),m=so(n,r);let h="";if(r.contentHeight?h=`${r.contentHeight}`:h=`${r.height}px`,console.debug("[content]page height:",h),console.debug("[content]header height:",f),console.debug("[content]footer height:",m),console.debug("[content]padding:",r.contentPadding),u.height=h,r.contentPadding.top||f>0){const b=(r&&r.contentPadding&&r.contentPadding.top)??0;u.paddingTop=`${f+b}px`}if(r.contentPadding.bottom||m>0){const b=(r&&r.contentPadding&&r.contentPadding.bottom)??0;u.paddingBottom=`${m+b}px`}return r.contentPadding.left&&(u.paddingLeft=`${r.contentPadding.left}px`),r.contentPadding.right&&(u.paddingRight=`${r.contentPadding.right}px`),u}if(l.padding){const f=Me(l.padding);f.left&&(u.paddingLeft=`${f.left}px`),f.top&&(u.paddingTop=`${f.top}px`),f.right&&(u.paddingRight=`${f.right}px`),f.bottom&&(u.paddingBottom=`${f.bottom}px`)}return u}),i=t.ref(null),c=st(()=>{if(r&&i.value){const u=fn(i.value);r.contentInnerHeight=u.height,r.contentInnerWidth=u.width}},0);return t.onMounted(()=>{c()}),n&&r&&t.watch([()=>s.value,()=>a.value],([])=>{c()}),{contentRef:i,classes:a,styles:s}}}}const{componentName:di,create:ui,scope:tB}=K("content"),fi=ui(ci(di));function mi(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{ref:"contentRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const hn=Q(fi,[["render",mi]]),dt="GroupStateKey",_a=Symbol.for("GroupScopeKey");function po(){return t.inject(_a,!1)}function ho(e=!0){t.provide(_a,e)}function pi(e,o={}){Reflect.ownKeys(o).forEach(n=>{if(typeof n!="string")return;const a=o[n];Na(a)||(e[n]=a)})}function hi(e,o={}){const n={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};pi(n,o);const a=t.shallowRef(n),r=t.markRaw({layout:a,passport:0,order:{index:0}});return e.set(dt,r),r}function gn(e,o,l=-1,n=-1,a=!1,r,s,i){const c=e.get(dt);if(!c)return;const u=e.get("groupLayout")??{};l===-1&&(l=u.column??1),n===-1&&(n=u.gutter??0),r||(r=u.minItemWidth??-1),s||(s=u.maxItemWidth??-1);const f=ie(r),m=ie(s);i||(i=u.type??"grid");const h=()=>{const b=o===""||o===-1,g=ie(o);let k=me(l);const y=ie(n);if(!b){let S=(g-(k-1)*y)/k;for(;m!==-1&&S>m;)k++,S=(g-(k-1)*y)/k;for(;f!==-1&&k>1&&S<f;)k--,S=(g-(k-1)*y)/k}let d=!1;const p=c.layout;p.value.width=o,p.value.column!==k&&(p.value.column=k,d=!0),p.value.gutter!==y&&(p.value.gutter=y,d=!0),p.value.type!==i&&(p.value.type=i,d=!0),d&&t.triggerRef(p)};if(a)h();else{const b=++c.passport;setTimeout(()=>{b===c.passport&&h()},50)}}function go(e,o=!1){let l;return o?l=e.getForParent(dt):l=e.get(dt),l.layout}function yo(e,o=!1){let l;return o?l=e.getForParent(dt):l=e.get(dt),l.order}function er(e,o=1){if(o==="stretch")return-1;const l=me(o);return l===-1?100:100*l/e}function ko(e,o,l=1,n=0,a){const r={};let s=0;a?s=ie(a):s=er(o.column,l),s>0&&(r.width=`${s}%`);const i=er(o.column,n);i>0&&(r["margin-left"]=`${i}%`);const c=o.gutter/2;return c>0&&(r["padding-left"]=`${c}px`,r["padding-right"]=`${c}px`),r}function bo(e,o,l=1,n=0){if(l==="stretch"){const c=e.index%o.column,u=c+(o.column-c);return e.index=e.index+(u-c),{"grid-column":`${c+1} / -1`}}let a=me(l);if(a===-1){const c=e.index%o.column;return o.column,c==0?e.index=e.index+o.column:e.index=e.index+(o.column-c)+o.column,{"grid-column":"1 / -1"}}if(a>o.column){const c=e.index%o.column;return o.column,c==0?e.index=e.index+o.column:e.index=e.index+(o.column-c)+o.column,{"grid-column":"1 / -1"}}const r=me(n)%o.column;let s=(e.index+r)%o.column,i=s+a;return i>o.column?(s=0,i=s+a,e.index=e.index+(o.column-s)+a):e.index=e.index+r+a,r>0?{"grid-column":`${s+1} / span ${a}`}:{"grid-column-start":`span ${a}`}}const tr=Symbol("RollingStateKey");function gi(e){t.provide(tr,e)}function yi(){return t.inject(tr,null)}function yn(e){let o=0;const l=window.getComputedStyle(e,null);if(l.getPropertyValue("box-sizing")==="content-box"){const a=parseFloat(l.getPropertyValue("padding-top")),r=parseFloat(l.getPropertyValue("padding-bottom"));o=e.clientHeight-a-r}else o=e.offsetHeight;return o}function ki(e){let o=yn(e);if(o<=0){const l=e.cloneNode(!0),n=e.offsetWidth;l.style=`width: ${n}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(l),o=yn(l),document.body.removeChild(l)}return o}function bi(e,o,l){if(e<=0)return"1fr";const n=(e-(o-1)*l)/o;return n>0?`${n}px`:"1fr"}const Si={...ue,...Ga,...Za};function Ci(e,o,l){return{props:Si,emits:["update:collapse"],setup(n,a){const r=rn(n.name,n,Ja),s=hi(r,{type:n.type}),i=po();ho(!0);const c=n.rollingDisplay?yi():null,u=t.ref(null),f=t.computed(()=>n.rollingDisplay?c&&!c.disabled:!1),m=t.computed(()=>i&&r?go(r,!0).value:null),h=t.getCurrentInstance(),b=(j,Y=!1)=>{const Z=h?.proxy;Z&&typeof Z.setNameValidateRules=="function"&&Z.setNameValidateRules(j,!0,Y)};t.watch([()=>n.rules,()=>n.pureDataRules],([j,Y],[Z,oe])=>{if(j&&Z){const ne=t.toRaw(Z),ae=t.toRaw(j),pe=ae?Reflect.ownKeys(ae):[];(ne?Reflect.ownKeys(ne):[]).forEach(je=>{pe.includes(je)||(ae[je]=[])}),b(ae)}if(Y&&oe){const ne=t.toRaw(oe),ae=t.toRaw(Y),pe=ae?Reflect.ownKeys(ae):[];(ne?Reflect.ownKeys(ne):[]).forEach(je=>{pe.includes(je)||(ae[je]=[])}),b(ae,!0)}},{deep:!0});const g=e,k=t.computed(()=>{const j={};if(j.height=I.value,n.width)n.width!=="auto"&&(j.width=de(n.width));else{const Y=i?yo(r,!0):null;if(m.value&&Y){if(m.value.type==="grid"){const Z=bo(Y,m.value,n.span,n.offset);Object.assign(j,Z)}else if(m.value.type==="flow"){const Z=ko(Y,m.value,n.span,n.offset,n.width);Object.assign(j,Z)}}}return j}),y=t.computed(()=>{const j=s.layout.value.type;return j==="grid"||j==="flow"?{[`${g}--${j}`]:!0,[`${g}--${j}-justify-${n.justify}`]:!0,[`${g}--${j}-align-${n.align}`]:!0,[`${g}--gutter`]:!0}:{[`${g}--${j}`]:!0,[`${g}--gutter`]:!0}}),d=t.computed(()=>{if(s.layout.value.type==="grid"){let Y="";if(n.columnWidth)Y=`repeat(auto-fill, ${n.columnWidth})`;else{const Z=bi(z.value,s.layout.value.column,s.layout.value.gutter);Y=`repeat(${s.layout.value.column}, ${Z})`}return{"column-gap":`${s.layout.value.gutter}px`,"grid-template-columns":Y}}}),p=t.toRef(n,"title"),S=t.toRef(n,"gutter"),w=t.toRef(n,"column"),E=t.computed(()=>i||f.value?!0:ye(n.isWrap)),$=[],q=j=>{$.push(j)},D=()=>{let j=$.length;$.splice(0,j)},z=t.ref(-1),V=j=>{const Y=fn(j).width;Y>0&&Y!==z.value&&(z.value=Y)};gn(r,z.value,w.value,S.value,!0,n.minItemWidth,n.maxItemWidth,n.type),n.autoLayout&&t.watch([z,w,S],([j,Y,Z])=>{s.order.index=0,gn(r,j,Y,Z,!1,n.minItemWidth,n.maxItemWidth,n.type)});const A=t.computed(()=>B.value?n.expandText??"":n.collapseText??""),L=t.computed(()=>({[`${e}__header-collapse-text`]:!0})),P=t.computed(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!B.value,"is-collapse":B.value})),T=t.ref(),N=t.ref(),I=t.computed(()=>R.value||de(n.height)||""),B=t.ref(!1),R=t.ref(""),M=t.ref(!1);let x=-1;const W=(j,Y=!0)=>{const Z=T.value;if(Z&&B.value!==j){if(x=x===-1?ki(Z):x,M.value=!0,Y)if(Z.style["will-change"]="height",Z.ontransitionend=function(){Z.ontransitionend=null,this.style["will-change"]="auto",j||(R.value="",M.value=!1)},j){let oe=0;n.collapseHeight?oe=n.collapseHeight:N.value&&N.value.classList.contains(`${e}__header`)&&(oe=N.value.offsetHeight),R.value=`${x}px`,t.nextTick(()=>{R.value=`${oe}px`})}else R.value=`${x}px`;else if(j){let oe=0;n.collapseHeight?oe=n.collapseHeight:N.value&&N.value.classList.contains(`${e}__header`)&&(oe=N.value.offsetHeight),R.value=`${oe}px`}else M.value=!1,R.value=`${x}px`;B.value=j,a.emit("update:collapse",j)}};t.watch(()=>n.collapse,j=>{W(j)});const _=()=>{G()},G=j=>{j=j??!B.value,W(j)};De({toggleCollapse:G,doLayout:()=>{$[0]&&(V($[0]),gn(r,z.value,w.value,S.value,!0,n.minItemWidth,n.maxItemWidth,n.type))}});let X=null,H=!0;const O=j=>{if(n.rules){const Y=t.toRaw(n.rules);b(Y)}if(n.pureDataRules){const Y=t.toRaw(n.pureDataRules);b(Y,!0)}if(Ye&&(j&&W(ye(n.collapse),!1),n.autoLayout&&Array.isArray($)&&$.length>0)){const Y=$[0];V(Y),window.ResizeObserver&&(X=new window.ResizeObserver(()=>{V(Y)}),X.observe(Y))}},F=()=>{X?.disconnect(),X=null},U=!f.value||c?.acquire();U&&(u.value=f.value?!0:null),t.onMounted(()=>{if(U&&(O(H),H=!1),f.value&&c){let j=null,Y=c.initialHeight;c.observe(T.value,Z=>{if(Z!==u.value)if(Z)u.value=!0,B.value||(R.value=""),j=setTimeout(()=>{j=null,u.value!==!1&&(O(H),H=!1)},100);else{if(j!==null&&clearTimeout(j),u.value=!1,!B.value)if(H)R.value=c.initialHeight;else{let oe=yn(T.value);oe<=0?R.value=Y:(R.value=`${oe}px`,Y=R.value)}H||F()}})}}),t.onUnmounted(()=>{X?.disconnect(),c&&c.unobserve(T.value)});const J=(j="right")=>{const Y=[];if(A.value){const ne={class:L.value},ae=t.h("span",ne,[A.value]);Y.push(ae)}const Z={class:P.value},oe=l(n.collapseIcon,Z);return oe&&Y.push(oe),Y.length>0?t.h("div",{class:{[`${g}__header-collapse`]:!0,[`is-${j}`]:!0},onClick:_},Y):null},v=(j,Y,Z,oe)=>{const ne={...y.value};return Y===0&&(ne[`${g}__first`]=!0),Z>=oe-1&&(ne[`${g}__last`]=!0),t.h("div",{ref:q,key:`${Y}`,class:ne,style:d.value},j)};return()=>{if(f.value&&u.value!==!0){const ne=n.tag||"div";return t.h(ne,{ref:T,prop:n.name,class:{[`${g}`]:!0,"is-collapse":M.value},style:k.value},[])}s.order.index=0;const j=[];let Y=0;if(a.slots.header){const ne={key:`${Y++}`,ref:N,class:{[`${g}__header`]:!0,[`${g}__first`]:!0}},ae=t.h("div",ne,[a.slots.header()]);j.push(ae)}else{const ne=[],ae=n.collapsePosition==="left";if(ae&&n.showCollapse){const pe=J("left");pe&&ne.push(pe)}if(p.value){if(n.showMark){const Ce={class:{[`${g}__header-mark`]:!0}};n.markColor&&(Ce.style={background:n.markColor});const je=t.h("div",Ce);ne.push(je)}const pe=t.h("div",{class:{[`${g}__header-title`]:!0}},[p.value]);ne.push(pe)}if(a.slots.toolbar&&ne.push(a.slots.toolbar()),!ae&&n.showCollapse){const pe=J("right");pe&&ne.push(pe)}if(ne.length>0){const pe={key:`${Y++}`,ref:N,class:{[`${g}__header`]:!0,[`${g}__first`]:!0}},Ce=t.h("div",pe,ne);j.push(Ce)}}D();const Z=a.slots.default?a.slots.default():[],oe=s.layout.value.type;if(oe==="grid"){const ne=v(Z,Y++,0,Z.length);j.push(ne)}else if(oe==="flow"){const ne=v(Z,Y++,0,Z.length);j.push(ne)}else for(let ne=0;ne<Z.length;ne++){const ae=Z[ne],pe=v([ae],Y++,ne,Z.length);j.push(pe)}if(E.value){const ne=n.tag||"div";return t.h(ne,{ref:T,prop:n.name,class:{[`${g}`]:!0,"is-collapse":M.value},style:k.value},[j])}else return j}}}}const{componentName:wi,create:Ni,scope:Bi}=K("group"),kn=Ni(Ci(wi,Bi,(e=ee.RectUp,o={})=>t.h(e,o)));function Vi(e){return e===window}const Ai=/matrix\((.+)\)/,or=e=>{const o=t.unref(e);if(!o)return{x:0,y:0};if(Vi(o))return{x:0,y:0};let l=0,n=0,a=o;for(;a!==null;)l+=a.offsetLeft,n+=a.offsetTop,a=a.offsetParent;let r=0,s=0,i=0,c=0;for(a=o;a!==document;){s+=a.scrollTop,r+=a.scrollLeft;const{transform:u}=window.getComputedStyle(a);if(u){const f=Ai.exec(u);if(f){let h=f[1].split(/\s*,\s*/);h.length==6&&(i+=Number(h[4]),c+=Number(h[5]))}}a=a.parentNode}return l-=r,n-=s,l+=i,n+=c,{x:l,y:n}};class Ei{watchedListeners=[];add(o){this.watchedListeners.push(o)}remove(o){const l=this.watchedListeners.indexOf(o);l!==-1&&this.watchedListeners.splice(l,1)}size(){return this.watchedListeners.length}listen=()=>{this.watchedListeners.forEach(o=>{try{o()}catch{}})}}class Ti{monitorRegister=new WeakMap;watch(o,l){let n=o.parentNode;const a=document.body.parentNode;for(;n&&n!==a;){let r=this.monitorRegister.get(n);r||(r=new Ei,n.addEventListener("scroll",r.listen),n===document.body&&n.addEventListener("resize",r.listen),this.monitorRegister.set(n,r)),r.add(l),n=n.parentNode}}unwatch(o,l){let n=o.parentNode;const a=document.body.parentNode;for(;n&&n!==a;){let r=this.monitorRegister.get(n);r&&(r.remove(l),r.size()===0&&(this.monitorRegister.delete(n),n.removeEventListener("scroll",r.listen),n===document.body&&n.removeEventListener("resize",r.listen))),n=n.parentNode}}}const nr=new Ti,lr={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:$i,create:Di}=K("price"),Ii=Di({props:{...lr},setup(e){const o=t.computed(()=>({[$i]:!0})),l=t.computed(()=>e.needSymbol?e.symbol:""),n=t.computed(()=>ge(e.price)==0?"":Xo(e.price,e.decimalLength,!0,me(e.digits),e.separator)),a=t.computed(()=>{let s=n.value;if(s.length==0)return"";let i=s.indexOf(".");return s.substring(0,i)}),r=t.computed(()=>{let s=n.value;if(s.length==0)return"";let i=s.indexOf(".");return s.substring(i+1)});return{classes:o,showSymbol:l,intText:a,decimalText:r}}}),zi=["innerHTML"],qi=["innerHTML"];function Mi(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,zi)):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,qi)):t.createCommentVNode("",!0)],2)}const Ge=Q(Ii,[["render",Mi]]),{componentName:bn,create:Pi}=K("hint-text"),Ri=Pi({components:{Price:Ge},props:{...lr,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,o){const l=t.ref({top:null,right:null,bottom:null,left:null}),n=t.ref({x:0,y:0}),a=t.ref(0),r=t.ref(0),s=t.ref(e.placement),i=t.ref(!1),c=t.ref(null),u=(A,L,P,T,N,I)=>{const B=document.documentElement.clientWidth||document.body.clientWidth,R=document.documentElement.clientHeight||document.body.clientHeight,M=A.split("-");let x=[];M[0]==="top"?x=["top","bottom","right","left"]:M[0]==="bottom"?x=["bottom","top","right","left"]:M[0]==="left"?x=["left","top","bottom","right"]:M[0]==="right"&&(x=["right","top","bottom","left"]);const W={top:null,right:null,bottom:null,left:null},_=[];for(let G=0;G<x.length;G++){const te=x[G];if(_[0]=te,M[1]&&(_[1]=M[1]),te==="top"){const X=L.y-I-e.arrowSize-e.offset;if(X>=0){W.top=X;let H=0;M[1]==="start"?H=L.x:M[1]==="end"?H=L.x+P-N:H=L.x+P/2-N/2;const O=B-H-N;O<0?(H+=O,m.value=-O):m.value=0,W.left=H<0?0:H;break}}else if(te==="bottom"){const X=L.y+T+e.arrowSize+e.offset;if(X+I<=R){W.top=X;let H=0;M[1]==="start"?H=L.x:M[1]==="end"?H=L.x+P-N:H=L.x+P/2-N/2;const O=B-H-N;O<0?(H+=O,m.value=-O):m.value=0,W.left=H<0?0:H;break}}else if(te==="left"){const X=L.x-N-e.arrowSize-e.offset;if(X>=0){W.left=X;let H=0;M[1]==="start"?H=L.y:M[1]==="end"?H=L.y+T-I:H=L.y+T/2-I/2,W.top=H<0?0:H;break}}else if(te==="right"){const X=L.x+P+e.arrowSize+e.offset;if(X+N<=B){W.left=X;let H=0;M[1]==="start"?H=L.y:M[1]==="end"?H=L.y+T-I:H=L.y+T/2-I/2,W.top=H<0?0:H;break}}}return{bestPlacement:_.join("-"),bestInsetRect:W}},f=(A,L,P=10)=>{if(!Ye||L===!1||!A)return;n.value=or(e.reference),a.value=e.reference.offsetWidth,r.value=e.reference.offsetHeight;const T=c.value.offsetHeight,N=c.value.offsetWidth,{bestPlacement:I,bestInsetRect:B}=u(e.placement,n.value,a.value,r.value,N,T);s.value=I,l.value=B,i.value=!0},m=t.ref(0),h=st(()=>{f(e.message,e.visible)},10),b=t.ref(e.visible);t.watch(()=>e.visible,A=>{b.value=A});const g=t.computed(()=>b.value&&k.value),k=t.ref(!0),y=st(A=>{const L=A[0];L&&(k.value=L.isIntersecting)},10),d=new IntersectionObserver(y);t.watch([()=>e.message,()=>e.visible],([A,L])=>{setTimeout(()=>{f(e.message,e.visible)},0)}),t.onMounted(()=>{setTimeout(()=>{f(e.message,e.visible)},0),nr.watch(e.reference,h),d.observe(e.reference)}),t.onBeforeMount(()=>{nr.unwatch(e.reference,h),d.unobserve(e.reference),d.disconnect()});const p=t.computed(()=>{const A={[bn]:!0};return s.value.startsWith("top")?A["is-top"]=!0:s.value.startsWith("right")?A["is-right"]=!0:s.value.startsWith("bottom")?A["is-bottom"]=!0:s.value.startsWith("right")&&(A["is-right"]=!0),e.size==="small"?A["is-small"]=!0:e.size==="large"&&(A["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(A[`${e.customClass}`]=!0),A}),S=t.computed(()=>{const A={};l.value.top!==null&&(A.top=`${l.value.top}px`),l.value.right!==null&&(A.right=`${l.value.right}px`),l.value.bottom!==null&&(A.bottom=`${l.value.bottom}px`),l.value.left!==null&&(A.left=`${l.value.left}px`),e.autoFit&&(A["min-width"]=`${a.value}px`);const L=document.documentElement.clientWidth||document.body.clientWidth;return A["max-width"]=`${L}px`,i.value&&(A.opacity="1"),e.transition||(A.transition="none"),e.zIndex&&(A["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(A,e.customStyle),A}),w=t.computed(()=>{const A=[`${bn}__content`];return e.customTextClass&&A.push(e.customTextClass),A}),E=t.computed(()=>{const A={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(A,e.customTextStyle),A}),$=t.computed(()=>({[`${bn}__arrow`]:!0})),q=t.computed(()=>{const A={};return e.showArrow?(A.width=`${e.arrowSize}px`,A.height=`${e.arrowSize}px`,s.value==="top"?(A.left="50%",A.bottom=`-${e.arrowSize}px`,A.transform=" translate(-50%, 0%)"):s.value==="top-start"?(A.left=`${e.arrowOffset+m.value}px`,A.bottom=`-${e.arrowSize}px`):s.value==="top-end"?(A.right=`${e.arrowOffset-m.value}px`,A.bottom=`-${e.arrowSize}px`):s.value==="right"?(A.left=`-${e.arrowSize}px`,A.top="50%",A.transform=" translate(0%, -50%)"):s.value==="right-start"?(A.left=`-${e.arrowSize}px`,A.top=`${e.arrowOffset}px`):s.value==="right-end"?(A.left=`-${e.arrowSize}px`,A.bottom=`-${e.arrowOffset}px`):s.value==="bottom"?(A.left="50%",A.top=`-${e.arrowSize}px`,A.transform=" translate(-50%, 0%)"):s.value==="bottom-start"?(A.left=`${e.arrowOffset+m.value}px`,A.top=`-${e.arrowSize}px`):s.value==="bottom-end"?(A.right=`${e.arrowOffset-m.value}px`,A.top=`-${e.arrowSize}px`):s.value==="left"?(A.right=`-${e.arrowSize}px`,A.top="50%",A.transform=" translate(0%, -50%)"):s.value==="left-start"?(A.right=`-${e.arrowSize}px`,A.top=`${e.arrowOffset}px`):s.value==="left-end"&&(A.right=`-${e.arrowSize}px`,A.bottom=`-${e.arrowOffset}px`),A):{display:"none"}}),D=t.computed(()=>g.value&&e.closeOnClick),z=t.computed(()=>{const A={};return e.zIndex&&(A["z-index"]=`${e.zIndex}`),A});return{show:g,tipRef:c,classes:p,styles:S,textClasses:w,textStyles:E,arrowClasses:$,arrowStyles:q,overlayShow:D,overlayStyle:z,onClickOverlay:()=>{b.value=!1,o.emit("update:visible",!1)}}}});function Li(e,o,l,n,a,r){const s=t.resolveComponent("Price");return t.openBlock(),t.createElementBlock(t.Fragment,null,[e.overlayShow?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-hint-text__overlay",style:t.normalizeStyle(e.overlayStyle),onClick:o[0]||(o[0]=(...i)=>e.onClickOverlay&&e.onClickOverlay(...i))},null,4)):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",{ref:"tipRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.createElementVNode("div",{class:t.normalizeClass(e.textClasses),style:t.normalizeStyle(e.textStyles)},[e.type=="number"?(t.openBlock(),t.createBlock(s,{key:0,price:e.message,position:"before",size:e.size},null,8,["price","size"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.message),1)],64))],6),t.createElementVNode("div",{class:t.normalizeClass(e.arrowClasses),style:t.normalizeStyle(e.arrowStyles)},null,6)],6),[[t.vShow,e.show]])],64)}const ar=Q(Ri,[["render",Li]]);class rr{seed=new Date().getTime();constructor(o){this.seed=o??new Date().getTime()}get(){let o=this.seed++;return this.seed<0&&(this.seed=0),o}}const Sn={},Oi=new rr,ut=new Map,So=e=>{if(e){const o=document.getElementById(e);ut.delete(e),o&&o.parentNode?.removeChild(o)}else{for(const o of ut.keys()){const l=document.getElementById(o);l&&l.parentNode?.removeChild(l)}ut.clear()}},Fi=e=>{e.unmount=So;const o=document.getElementById(e.id);if(o){const l=ut.get(e.id);l?e={...Sn,...l,...e}:e={...Sn,...e},e.transition=!1;const n=t.createVNode(ar,e);return t.render(n,o),e.id}},xi=e=>{e.unmount=So;let o=e.id??`hinttext_${Oi.get()}`;e={...Sn,...e},e.id=o,ut.set(o,e);const l=document.createElement("div");l.id=e.id;const n=t.createVNode(ar,e);return t.render(n,l),document.body.appendChild(l),o},Ki=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},ot={show(e,o,l={},n=!0){Ki(o);const a=l.id;return a&&ut.has(a)?Fi({...l,message:o,reference:e}):(n&&So(),xi({...l,message:o,reference:e}))},hide(e){So(e)},install(e){e.config.globalProperties.$hintText=ot}},{componentName:sr,create:Ui}=K("item"),Hi=Ui({inheritAttrs:!0,props:{...ue,...fe},emits:["appear","disappear"],setup(e,o){const l=e.prop??o.attrs.name;Be({componentName:sr,validate:!1},l);const n=Ke(),a=po();ho(!1);const r=t.computed(()=>a&&n?go(n,!1).value:null),s=sr,i=t.ref(null),c=t.computed(()=>{const v={[s]:!0,[`${s}__gutter`]:r.value&&r.value.type!=="flow",[`${s}__stretch`]:e.span==="stretch",[`${s}__input--border`]:e.hasBorder};if(v[e.errorMarkClass]=!!L.value,v[e.warnMarkClass]=!!V.value,v[e.infoMarkClass]=!!D.value,typeof i.value=="function"){const j=i.value(l);v[j]=!0}else if(typeof i.value=="string"){const j=i.value;v[j]=!0}return v}),u=t.ref(null),f=t.computed(()=>{const v={};if(e.width)e.width!=="auto"&&(v.width=de(e.width));else{const j=a&&n?yo(n,!1):null;if(r.value&&j){if(r.value.type==="grid"){const Y=bo(j,r.value,e.span,e.offset);Object.assign(v,Y)}else if(r.value.type==="flow"){const Y=ko(j,r.value,e.span,e.offset,e.width);Object.assign(v,Y)}}}if(typeof u.value=="function"){const j=u.value(l);j&&Object.assign(v,j)}else if(u.value&&typeof u.value=="object"){const j=u.value;Object.assign(v,j)}return v}),m=t.ref(null),h=t.computed({get:()=>m.value??ye(e.isRequired),set:v=>{m.value=v}}),b=t.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof o.slots.label=="function"),g=Te(t.toRef(e,"labelPosition"),"labelPosition",uo.Near),k=t.computed(()=>g&&g.value==="top"?"top":g&&g.value==="right"?"right":"left"),y=t.computed(()=>({[`${s}__main`]:!0,[`${s}__main--${k.value}`]:!0})),d=t.computed(()=>({label:!0,[`label--${k.value}`]:!0})),p=Te(t.toRef(e,"labelWidth"),"labelWidth",uo.Near),S=t.computed(()=>p&&p.value?{width:de(p.value)}:{}),w=t.computed(()=>({"label--string":!0,"label--required":h.value})),E=t.computed(()=>({content:!0,[e.contentClass]:!0})),$=t.computed(()=>({...e.contentStyle})),q=t.shallowReactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});De({setRequired(v){h.value=v},setErrorTip(v){q.errorTip=v},setErrorIcon(v){q.errorIcon=v},setWarnTip(v){q.warnTip=v},setWarnIcon(v){q.warnIcon=v},setInfoTip(v){q.infoTip=v},setInfoIcon(v){q.infoIcon=v},setCustomClassName(v){i.value=v},setCustomStyle(v){u.value=v}});const D=t.computed(()=>e.infoTip||q.infoTip),z=t.computed(()=>e.infoIcon||q.infoIcon),V=t.computed(()=>e.warnTip||q.warnTip),A=t.computed(()=>e.warnIcon||q.warnIcon),L=t.computed(()=>e.errorTip||q.errorTip),P=t.computed(()=>e.errorIcon||q.errorIcon),T=t.computed(()=>L.value?"error":V.value?"warn":D.value?"info":""),N=t.computed(()=>T.value.length>0),I=t.computed(()=>T.value==="error"?L.value:T.value==="warn"?V.value:T.value==="info"?D.value:""),B=t.computed(()=>T.value==="error"?P.value:T.value==="warn"?A.value:T.value==="info"?z.value:null),R=t.computed(()=>{let v={[`${s}__tip`]:!0,[`${s}__tip--${T.value}`]:!0};return T.value==="error"&&e.errorClass?v[`${e.errorClass}`]=!0:T.value==="warn"&&e.warnClass?v[`${e.warnClass}`]=!0:T.value==="info"&&e.infoClass&&(v[`${e.infoClass}`]=!0),v}),M=t.computed(()=>{let v={};return g&&g.value==="top"||!b.value?v["padding-left"]="0px":p&&p.value&&(v["padding-left"]=de(p.value)),v}),x=()=>{const v=B.value;return v?typeof v=="function"?t.h("div",{class:"fox-item__tip--icon"},[v()]):t.h("div",{class:"fox-item__tip--icon"},[t.h(v)]):null},W=()=>{const v=I.value;return v?typeof v=="function"?t.h("div",{class:"fox-item__tip--text"},[v()]):t.h("div",{class:"fox-item__tip--text"},[v]):null},_=t.computed(()=>o.slots.fixedPreTip),G=t.computed(()=>({[`${s}__fixed-pre-tip`]:!0})),te=t.computed(()=>o.slots.fixedTip),X=t.computed(()=>({[`${s}__fixed-tip`]:!0})),H=t.ref();let O="";t.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([v,j,Y,Z])=>{H.value&&(v&&!ke(j)?O?ot.show(H.value,j,{...Z,id:O,type:Y},!0):O=ot.show(H.value,j,{...Z,type:Y},!0):ot.hide(O))});let F=null;const U=()=>{F||!H.value||(F=new IntersectionObserver(v=>{let j=!1;for(let Y of v)if(Y.intersectionRatio>0){j=!0,j&&o.emit("appear",Y);break}j||o.emit("disappear")}),F.observe(H.value))},J=()=>{!F||!H.value||(F.unobserve(H.value),F=null)};return t.watch(()=>ye(e.appearListen),v=>{v?U():J()}),t.onMounted(()=>{ye(e.appearListen)&&U()}),t.onUnmounted(J),{classes:c,styles:f,mainClasses:y,hasLabel:b,labelClasses:d,labelStyles:S,labelStringClasses:w,contentClasses:E,contentStyles:$,contentRef:H,hasTip:N,mTip:I,mIcon:B,renderIcon:x,renderTip:W,tipClasses:R,tipStyles:M,hasFixedTip:te,fixedTipClasses:X,hasFixedPreTip:_,fixedPreTipClasses:G}}}),vi=["prop"];function ji(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),prop:e.prop},[t.createElementVNode("div",{class:t.normalizeClass(e.mainClasses)},[e.hasLabel?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.labelClasses),style:t.normalizeStyle(e.labelStyles)},[t.createElementVNode("div",{class:t.normalizeClass(e.labelStringClasses)},[t.renderSlot(e.$slots,"label",{},()=>[t.createTextVNode(t.toDisplayString(e.label),1)])],2),t.renderSlot(e.$slots,"fixedPreTip")],6)):t.createCommentVNode("",!0),t.createElementVNode("div",{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"),e.hasFixedTip?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.fixedTipClasses)},[t.renderSlot(e.$slots,"fixedTip")],2)):t.createCommentVNode("",!0)],6)],2),t.createVNode(t.Transition,{name:"fox-item__animate"},{default:t.withCtx(()=>[e.hasTip?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.tipClasses),style:t.normalizeStyle(e.tipStyles)},[e.mIcon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon()),{key:0})):t.createCommentVNode("",!0),e.mTip?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderTip()),{key:1})):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0)]),_:1}),t.renderSlot(e.$slots,"hide")],14,vi)}const Ne=Q(Hi,[["render",ji]]);function Wi(e,o){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(l,n){const a=e,r=t.computed(()=>({[a]:!0,[`${a}__stretch`]:l.span==="stretch",[`${a}__${l.align}`]:!0})),s=Ke(),i=po();ho(!1);const c=t.computed(()=>{const u={};if(l.width)l.width!=="auto"&&(u.width=de(l.width));else if(i&&s){const f=go(s,!1),m=yo(s,!1);if(f.value&&m){if(f.value.type==="grid"){const h=bo(m,f.value,l.span,l.offset);Object.assign(u,h)}else if(f.value.type==="flow"){const h=ko(m,f.value,l.span,l.offset,l.width);Object.assign(u,h)}}}return u});return()=>{const u=[];if(n.slots.default){const m=n.slots.default();if(l.divide)for(let h=0;h<m.length;h++){if(h>0){const b=t.h("div",{class:{[`${a}__divide`]:!0}});u.push(b)}u.push(m[h])}else Reflect.apply([].push,u,m)}const f={class:r.value,style:c.value};return t.h("div",f,u)}}}}const{componentName:Yi,create:Xi,scope:nB}=K("row-item"),Cn=Xi(Wi(Yi));function Qi(e,o){return{props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1}},setup(l,n){const a=Ke(),r=po();ho(!1);const s=t.computed(()=>r&&a?go(a,!1).value:null),i=e,c=t.computed(()=>({[i]:!0,[`${i}__gutter`]:s.value&&s.value.type!=="flow",[`${i}__stretch`]:l.span==="stretch"})),u=t.computed(()=>{const f={};if(l.width)l.width!=="auto"&&(f.width=de(l.width));else{const m=r&&a?yo(a,!1):null;if(s.value&&m){if(s.value.type==="grid"){const h=bo(m,s.value,l.span,l.offset);Object.assign(f,h)}else if(s.value.type==="flow"){const h=ko(m,s.value,l.span,l.offset,l.width);Object.assign(f,h)}}}return f});return()=>{const f={class:c.value,style:u.value};return n.slots&&typeof n.slots.default=="function"?t.h("div",f,n.slots.default()):t.h("div",f)}}}}const{componentName:Gi,create:Zi,scope:lB}=K("slot-item"),wn=Zi(Qi(Gi)),ir={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 Ji(e,o,l,n){return{props:{...ue,...fe,...ir},emits:["change","update:modelValue","blur","focus","clear"],setup(a,r){const s=Ve(t.computed(()=>a.disabled)),i=$e(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),{toLocaleRefs:u}=se.useFoxI18n(o),f=u(a,["placeholder"]),m=t.ref(!1),h=ze(a,"modelValue"),b=e,g=t.computed(()=>({[b]:!0,[`${b}__disabled`]:s.value,[`${b}__readonly`]:i.value})),k=Te(t.computed(()=>a.textAlign),"textAlign"),y=t.computed(()=>{const N={};return k.value&&(N["text-align"]=k.value),N}),d=N=>{let B=N.target.value;a.type==="digit"&&(B=_o(B,!0)),a.type==="number"&&(B=_o(B,!1)),a.maxLength&&B.length>Number(a.maxLength)&&(B=B.slice(0,Number(a.maxLength))),h.value=B,c("update:modelValue",B,N),c("change",B,N)};let p=ze(a,"hintText"),S=t.ref(!1);const w=N=>{let B=N.target.value;m.value=!0,ke(p.value)||(S.value=!0),c("focus",B,N)},E=N=>{setTimeout(()=>{S.value&&(S.value=!1),m.value=!1},0);let B=N.target.value;a.maxLength&&B.length>Number(a.maxLength)&&(B=B.slice(0,Number(a.maxLength))),c("blur",B,N)},$=t.computed(()=>({[`${b}__append`]:!0})),q=t.computed(()=>{const N={};return r.slots.append&&!D.value&&!P.value&&(N.display="none"),N}),D=t.computed(()=>ge(a.unit)>0),z=t.computed(()=>!P.value),V=t.computed(()=>({hidden:!z.value})),A=N=>{h.value="",c("update:modelValue","",N),c("change","",N),c("clear","")},L=t.computed(()=>ye(a.clearable)&&!s.value&&!i.value),P=t.computed(()=>{let N=ge(h.value)>0;return ye(a.clearable)&&N&&m.value}),T=t.computed(()=>({action:!0,hidden:!P.value}));return()=>{const N={class:g.value,style:y.value,type:a.type,maxlength:a.maxLength,placeholder:f.placeholder.value,disabled:s.value,readonly:i.value,value:h.value,"adjust-position":a.adjustPosition,"always-system":a.alwaysSystem,onInput:d,onFocus:w,onBlur:E},I=[],B=t.h("input",N);I.push(B);const R=[];if(L.value){const X={class:["action-icon"]},H=t.h(n,X),O={class:T.value,onClick:A},F=t.h("view",O,{default:()=>[H]});R.push(F)}if(D.value){const X=t.h("view",{class:V.value},[a.unit]);R.push(X)}const M={class:$.value,style:q.value},x=t.h("view",M,{default:()=>R});I.push(x);const W={default:()=>I};W.label=r.slots.default,W.prepend=r.slots.prepend,W.append=r.slots.append,W.fixedPreTip=r.slots.fixedPreTip,W.fixedTip=r.slots.fixedTip;const G={...en(a,ir),hintText:p.value,hintVisible:S.value};return t.h(l,G,W)}}}}const{componentName:_i,create:ec,scope:tc}=K("input-item"),Nn=ec(Ji(_i,tc,Ne,ee.CircleClose));function cr(e,o=0){let l=`${e}`,n=l.indexOf(".");if(n==-1)return l;let a=n;for(let r=l.length-1;r>=n;r--)if(l.charAt(r)!="0"){a=r;break}return a-n<o?a=n+o+1:a!=n&&(a+=1),a>l.length?l=l.padEnd(a,"0"):l=l.substring(0,a),l}function dr(e,o,l=20){if(typeof o=="string"&&(o=me(o)),o==1||o==-1)return`${e}`;if(o==0)return"0";if(o>0){let n=Sa(`${e}`,`${o}`);return cr(n)}else{let n=Wo(`${e}`,Ca(`${o}`),20);return cr(n)}}function oc(e,o=-1,l=!1,n=3,a=","){return Xo(e,o,l,n,a)}function ur(e,o,l,n,a=!0){if(e=="")return"";if(e=wa(e),o=me(o),o==1)return e;if(n)e=dr(e,o),l&&(e=="0"&&a?e=`${e}.`.padEnd(me(l)+2,"0"):e=Wo(e,1,me(l)));else{let r=-1*o;e=dr(e,r)}return e}function fr(e,o){let l={maxValid:!0,minValid:!0,message:""};if(o.min!==void 0){let n=ye(o.minInclude),a=Yo(e,o.min);if(n&&a==-1||!n&&(a==0||a==-1)){let r="请输入不小于 {0} 的数值";l.message=r.replace("{0}",o.min),l.minValid=!1}}if(o.max!=null){let n=ye(o.maxInclude),a=Yo(e,o.max);(n&&a==1||!n&&(a==0||a==1))&&(l.maxValid=!1)}return l}const mr={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}};function nc(e,o,l,n){return{props:{...ue,...fe,...mr},emits:["change","update:modelValue","blur","focus","clear"],setup(a,r){const s=Ve(t.computed(()=>a.disabled)),i=$e(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),u=t.ref(!1),f=ze(a,"modelValue"),m=t.ref("");t.watch([()=>f.value,()=>a.rates,()=>a.precision],([M,x,W])=>{if(ke(M)){m.value="";return}const _=ur(M,x,W,!1);m.value!==_&&(m.value=_)},{immediate:!0});const h=t.computed(()=>{let M="";return u.value&&(M=m.value),M}),{t:b}=se.useFoxI18n(o),g=t.computed(()=>{let M=a.placeholder??"";return!u.value&&!ke(m.value)?M=oc(m.value,a.decimalLength,a.autoPadding,a.digits,a.separator):M=ke(M)?b(["placeholder"]):M,M}),k=e,y=t.computed(()=>({[k]:!0,[`${k}__disabled`]:s.value,[`${k}__placeholder`]:m.value.length>0})),d=Te(t.computed(()=>a.textAlign),"textAlign"),p=t.computed(()=>{const M={};return d.value&&(M["text-align"]=d.value),M}),S=t.ref(""),w=t.computed(()=>{let M=S.value;return ke(M)&&(M=a.errorTip??""),M}),E=t.ref(""),$=t.ref(!1),q=M=>{let W=M.target.value;if(ke(W)){m.value="",f.value="",c("update:modelValue","",M),c("change","",M),ye(a.showTip)&&$.value&&($.value=!1);return}if(W.length>=2){let _=W;if(_.charAt(0)=="-"&&(_=_.substring(1)),_.length>=2&&_.charAt(0)=="0"&&_.charAt(1)!="."){t.triggerRef(m);return}}if(W!="-"){if(!Ia(W)){t.triggerRef(m);return}if(a.integerLength!=-1&&za(W)>Number(a.integerLength)){t.triggerRef(m);return}if(a.decimalLength&&a.decimalLength!=-1&&qa(W)>Number(a.decimalLength)){t.triggerRef(m);return}let _=fr(W,a);if(_.maxValid===!1){S.value=_.message,t.triggerRef(m);return}}else if(a.min!=null&&me(a.min)>=0){t.triggerRef(m);return}E.value=W,ye(a.showTip)&&($.value=W.length>0),m.value=W,f.value=ur(W,a.rates,a.precision,!0),c("update:modelValue",f.value,M),c("change",f.value,M)},D=M=>{if(u.value=!0,ye(a.showTip)){let x=m.value;ke(x)&&(x=a.hintText),ke(x)||(E.value=x,$.value=!0)}S.value="",c("focus",f.value,M)},z=M=>{if(setTimeout(()=>{u.value=!1,ye(a.showTip)&&$.value===!0&&($.value=!1)},0),!ke(m.value)){let x=fr(m.value,a);if(x.minValid===!1||x.maxValid===!1){S.value=x.message;return}}c("update:modelValue",f.value,M),c("blur",f.value,M)},V=t.computed(()=>({[`${k}__append`]:!0})),A=t.computed(()=>{const M={};return r.slots.append&&!L.value&&!B.value&&(M.display="none"),M}),L=t.computed(()=>ge(a.unit)>0),P=t.computed(()=>!B.value),T=t.computed(()=>({hidden:!P.value})),N=M=>{f.value="",c("update:modelValue","",M),c("change","",M),c("clear","")},I=t.computed(()=>ye(a.clearable)&&!s.value&&!i.value),B=t.computed(()=>{let M=ge(f.value)>0;return ye(a.clearable)&&M&&u.value}),R=t.computed(()=>({action:!0,hidden:!B.value}));return()=>{let M={class:y.value,style:p.value,type:"digit",maxlength:a.maxLength,placeholder:g.value,disabled:s.value,readonly:i.value,value:h.value,"adjust-position":a.adjustPosition,"always-system":a.alwaysSystem,onInput:q,onFocus:D,onBlur:z},x=[],W=t.h("input",M);x.push(W);let _=[];if(I.value){const U={class:["action-icon"]},J=t.h(n,U),v={class:R.value,onClick:N},j=t.h("view",v,{default:()=>[J]});_.push(j)}if(L.value){const U=t.h("view",{class:T.value},[a.unit]);_.push(U)}const G={class:V.value,style:A.value},te=t.h("view",G,{default:()=>_});x.push(te);const X={default:()=>x};if(r.slots.default){let U=r.slots.default();X.label=()=>U}if(r.slots.prepend){let U=r.slots.prepend();X.prepend=()=>U}if(r.slots.append){let U=r.slots.append();X.append=()=>U}let O={...en(a,mr),errorTip:w.value,hintText:E.value,hintVisible:$.value,hintType:"number"};return t.h(l,O,X)}}}}const{componentName:lc,create:ac,scope:rc}=K("money-item"),Bn=ac(nc(lc,rc,Ne,ee.CircleClose)),Vn={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:sc,create:ic,scope:cc}=K("textarea"),dc=ic({props:{...Vn},emits:["update:modelValue","change","blur","focus"],setup(e,{emit:o}){let{toLocaleRefs:l}=se.useFoxI18n(cc);const n=l(e,["placeholder"]),a=t.ref(),r=t.computed(()=>{const h=sc;return{[h]:!0,[`${h}--disabled`]:e.disabled}});t.onMounted(()=>{e.modelValue&&c(String(e.modelValue)),e.autosize&&t.nextTick(i)});const s=t.computed(()=>({textAlign:e.textAlign})),i=()=>{let h=a.value;h.style.height="auto";let b=h.scrollHeight;if(typeof e.autosize=="object"){const{maxHeight:g,minHeight:k}=e.autosize;g!==void 0&&(b=Math.min(b,g)),k!==void 0&&(b=Math.max(b,k))}b&&(h.style.height=b+"px")};t.watch(()=>e.modelValue,()=>{e.autosize&&t.nextTick(i)});const c=(h,b)=>{e.maxLength&&h.length>Number(e.maxLength)&&(h=h.substring(0,Number(e.maxLength))),o("update:modelValue",h,b),o("change",h,b)};return{...n,textareaRef:a,classes:r,styles:s,change:h=>{const b=h.target;c(b.value,h)},focus:h=>{e.disabled||e.readonly||o("focus",h)},blur:h=>{if(e.disabled||e.readonly)return;let g=h.target.value;c(g,h),o("blur",{value:g,event:h})}}}}),uc=["rows","disabled","readonly","value","maxlength","placeholder","autofocus"],fc={key:0,class:"fox-textarea__limit"};function mc(e,o,l,n,a,r){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:o[0]||(o[0]=(...s)=>e.change&&e.change(...s)),onBlur:o[1]||(o[1]=(...s)=>e.blur&&e.blur(...s)),onFocus:o[2]||(o[2]=(...s)=>e.focus&&e.focus(...s)),maxlength:e.maxLength,placeholder:e.placeholder,autofocus:e.autofocus},null,44,uc),e.limitShow?(t.openBlock(),t.createElementBlock("view",fc,t.toDisplayString(e.modelValue?e.modelValue.length:0)+"/"+t.toDisplayString(e.maxLength),1)):t.createCommentVNode("",!0)],2)}const Co=Q(dc,[["render",mc]]);function pc(e,o,l,n){return{props:{...ue,...fe,...Vn},emits:["update:modelValue","change","blur","focus"],setup(a,r){const s=Ve(t.computed(()=>a.disabled)),i=$e(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),u=ze(a,"modelValue"),f=k=>{u.value=k,c("update:modelValue",k,{}),c("change",k,{})};let m=ze(a,"hintText"),h=t.ref(!1);const b=k=>{ke(m.value)||(h.value=!0),c("focus",u.value,k)},g=k=>{setTimeout(()=>{h.value&&(h.value=!1)},0),c("blur",u.value,k)};return()=>{const y={...be(a,Vn),disabled:s.value,readonly:i.value,value:u.value,"onUpdate:modelValue":f,onFocus:b,onBlur:g},d=[],p=t.h(n,y);d.push(p);const S={default:()=>d};S.label=r.slots.default,S.prepend=r.slots.prepend,S.append=r.slots.append,S.fixedPreTip=r.slots.fixedPreTip,S.fixedTip=r.slots.fixedTip;const w=be(a,fe,ue);return t.h(l,w,S)}}}}const{componentName:hc,create:gc,scope:yc}=K("textarea-item"),An=gc(pc(hc,yc,Ne,Co));function kc(e){return e===window}const Ae=e=>{const o=t.unref(e);if(kc(o)){const l=o.innerWidth,n=o.innerHeight;return{top:0,left:0,right:l,bottom:n,width:l,height:n}}return o&&o.getBoundingClientRect?o.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},nt={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},duration:{type:[Number,String],default:.3},lockScroll:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},position:{type:String,default:"center"},transition:{type:String,default:""},style:{type:Object,default:{}},popClass:{type:String,default:""},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},destroyOnClose:{type:Boolean,default:!0},teleport:{type:[String,Element],default:"body"},overlay:{type:Boolean,default:!0},round:{type:Boolean,default:!1},teleportDisable:{type:Boolean,default:!1},safeAreaInsetBottom:{type:Boolean,default:!1},overlayClass:{type:String,default:""},overlayStyle:{type:Object,default:{}}},pr=2e3;let hr=pr;const bc=(e,o)=>({components:o,props:{...nt},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(l,{emit:n}){const a=t.reactive({zIndex:l.zIndex,showSlot:!0,closed:l.closeable}),r=t.computed(()=>({[e]:!0,round:l.round,[`fox-popup--${l.position}`]:!0,[`fox-popup--${l.position}--safebottom`]:l.position==="bottom"&&l.safeAreaInsetBottom,[l.popClass]:!0})),s=t.computed(()=>({zIndex:a.zIndex,transitionDuration:`${l.duration}s`,...l.style})),i=t.computed(()=>l.transition?l.transition:`fox-popup-slide-${l.position}`),c=()=>{l.zIndex!==pr&&(hr=Number(l.zIndex)),n("update:visible",!0),a.zIndex=++hr,l.destroyOnClose&&(a.showSlot=!0),n("open")},u=()=>{n("update:visible",!1),n("close"),l.destroyOnClose&&setTimeout(()=>{a.showSlot=!1},+l.duration*1e3)},f=k=>{n("click-pop",k)},m=k=>{k.stopPropagation(),n("click-close-icon",k),n("update:visible",!1)},h=k=>{n("click-overlay",k),l.closeOnClickOverlay&&n("update:visible",!1)},b=k=>{n("opend",k)},g=k=>{n("closed",k)};return t.watch(()=>l.visible,k=>{l.visible?c():u()}),t.watch(()=>l.closeable,k=>{a.closed=k}),{...t.toRefs(a),popStyle:s,transitionName:i,classes:r,onClick:f,onClickCloseIcon:m,onClickOverlay:h,onOpened:b,onClosed:g}}});let Et=0;const gr="fox-overflow-hidden",yr=()=>Ye?document.body:{classList:[]},Sc=e=>[()=>{if(e())try{!Et&&yr().classList.add(gr),Et++}catch{}},()=>{if(e()&&Et)try{Et--,!Et&&yr().classList.remove(gr)}catch{}}],Cc={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:wc,create:Nc}=K("overlay"),Bc=Nc({props:{...Cc},emits:["click","update:visible"],setup(e,{emit:o}){const[l,n]=Sc(()=>e.lockScroll),a=t.computed(()=>({[wc]:!0,[e.overlayClass]:!0})),r=t.computed(()=>({transitionDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return t.watch(()=>e.visible,i=>{i?l():n()}),{classes:a,style:r,onClick:i=>{o("click",i),e.closeOnClickOverlay&&o("update:visible",!1)}}}});function Vc(e,o,l,n,a,r){return t.openBlock(),t.createBlock(t.Transition,{name:"overlay-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=t.withModifiers((...s)=>e.onClick&&e.onClick(...s),["stop"])),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6),[[t.vShow,e.visible]])]),_:3})}const lt=Q(Bc,[["render",Vc]]),{componentName:Ac,create:Ec}=K("popup"),Tc=Ec(bc(Ac,{FoxOverLay:lt,Close:ee.Close}));function $c(e,o,l,n,a,r){const s=t.resolveComponent("fox-overlay"),i=t.resolveComponent("Close");return t.openBlock(),t.createBlock(t.Teleport,{to:e.teleport,disabled:e.teleportDisable},[e.overlay?(t.openBlock(),t.createBlock(s,t.mergeProps({key:0,visible:e.visible,"close-on-click-overlay":e.closeOnClickOverlay,"z-index":e.zIndex,"lock-scroll":e.lockScroll,duration:e.duration,"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,onClick:e.onClickOverlay},e.$attrs),null,16,["visible","close-on-click-overlay","z-index","lock-scroll","duration","overlay-class","overlay-style","onClick"])):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:e.transitionName,onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.popStyle),onClick:o[1]||(o[1]=(...c)=>e.onClick&&e.onClick(...c))},[e.showSlot?t.renderSlot(e.$slots,"default",{key:0}):t.createCommentVNode("",!0),e.closed?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:o[0]||(o[0]=(...c)=>e.onClickCloseIcon&&e.onClickCloseIcon(...c)),class:t.normalizeClass(["fox-popup__close-icon","fox-popup__close-icon--"+e.closeIconPosition])},[t.renderSlot(e.$slots,"close-icon",{},()=>[t.createVNode(i,{height:"12px"})])],2)):t.createCommentVNode("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}const ce=Q(Tc,[["render",$c]]),kr=10;function Dc(e,o){return e>o&&e>kr?"horizontal":o>e&&o>kr?"vertical":""}function Ue(){const e=t.ref(0),o=t.ref(0),l=t.ref(0),n=t.ref(0),a=t.ref(0),r=t.ref(0),s=t.ref(0),i=t.ref(0),c=t.ref(0),u=t.ref(0),f=t.ref(""),m=()=>f.value==="vertical",h=()=>f.value==="horizontal",b=()=>{s.value=0,i.value=0,c.value=0,u.value=0,f.value="",l.value=0};return{move:y=>{const d=y.touches[0];s.value=d.clientX-e.value,i.value=d.clientY-o.value,a.value=d.clientX,r.value=d.clientY,c.value=Math.abs(s.value),u.value=Math.abs(i.value),n.value=Date.now()-l.value,f.value||(f.value=Dc(c.value,u.value))},start:y=>{b(),e.value=y.touches[0].clientX,o.value=y.touches[0].clientY,l.value=Date.now()},reset:b,startX:e,startY:o,startTime:l,duration:n,moveX:a,moveY:r,deltaX:s,deltaY:i,offsetX:c,offsetY:u,direction:f,isVertical:m,isHorizontal:h}}const br={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}},En={...nt,...br,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 Sr=36;function Ic(){return Sr}function zc(e){Sr=e}function Pe(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function Tn(e,o){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?o[e.childrenKey]:o.children??null}function qc(e,o,l){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(o[e.childrenKey]=l),o.children=l}function at(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function Cr(e,o){return typeof e.itemOptions=="function"?e.columnOptions(o):e.columnOptions}let Mc=class{proxy;constructor(o){this.proxy=o}async load(o,l,n){if(Array.isArray(l))return l;if(typeof l=="function")return await l(n);const a=At(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):(Ie(n)&&t.isReactive(n)&&(n=t.toRaw(n)),await a(l,n))}};function Pc(){const e=t.getCurrentInstance();return new Mc(e.proxy)}function wr(e,o,l){const n=Pe(e,o),a=Pe(e,l);if(n!==a)return!1;const r=at(e,o),s=at(e,l);return r===s}function Rc(e,o,l,n){if(l.length==0)return[];Array.isArray(o)||(o=[o]);const a=[],r=e.valueType??"value";if(n==="singleColumn"||n==="multipleColumn")for(let s=0;s<o.length&&s<l.length;s++){const i=o[s];let u=l[s].findIndex(f=>{if(r==="text")return Pe(e,f)===i;if(r==="value"){let m=at(e,f);return m==null&&(m=Pe(e,f)),m===i}else if(r==="item")return wr(e,f,i)});if(u==-1)break;a.push(u)}else{let s=l[0];for(let i=0;i<o.length;i++){const c=o[i];let u=s.findIndex(m=>{if(r==="text")return Pe(e,m)===c;if(r==="value"){let h=at(e,m);return h==null&&(h=Pe(e,m)),h===c}else if(r==="item")return wr(e,m,c)});if(u==-1)break;a.push(u);const f=Tn(e,s[u]);if(!Array.isArray(f))break;s=f}}return a}function Nr(e,o,l,n){if(l.length==0)return null;const a={texts:[],values:[],items:[]},r=e.valueType??"value";if(n==="singleColumn"||n==="multipleColumn")for(let s=0;s<o.length&&s<l.length;s++){const i=l[s];let c=o[s];c<0&&c>=i.length&&(c=0);const u=i[c],f=Pe(e,u);if(a.texts.push(f),a.items.push(u),r==="text")a.values.push(f);else if(r==="value"){let m=at(e,u);m==null&&(m=f),a.values.push(m)}else a.values.push(u)}else{let s=l[0];for(let i=0;i<o.length;i++){let c=o[i];c<0&&c>=s.length&&(c=0);const u=s[c],f=Object.assign({},u);f.children=null;const m=Pe(e,u);if(a.texts.push(m),a.items.push(f),r==="text")a.values.push(m);else if(r==="value"){let h=at(e,u);h==null&&(h=m),a.values.push(h)}else a.values.push(f);if(!Array.isArray(u.children))break;s=u.children}}return a}function Br(e){return{text:e,value:e}}const Lc=15,Oc=300,Fc=200,{create:xc}=K("picker-column");function Kc(e){e.stopPropagation()}function Uc(e,o){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),o&&Kc(e)}const Hc=xc({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},...br},emits:["click","change","update:modelValue"],setup(e,{emit:o}){const l=t.computed(()=>({"fox-picker__list":!0})),n=t.computed(()=>({height:`${me(e.visibleItemCount)*+e.itemHeight}px`})),a=t.computed(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!e.threeDimensional,"fox-picker__content-roller":e.threeDimensional})),r=t.computed(()=>e.itemHeight*Math.floor(+e.visibleItemCount/2)),s=D=>D>=m.currIndex+8||D<=m.currIndex-8,i=t.computed(()=>({transition:`transform ${m.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${m.deg})`,top:`${r.value}px`})),c=D=>`transform: rotate3d(1, 0, 0, ${-m.rotation*D}deg) translate3d(0px, 0px, 104px)`,u=t.computed(()=>({transition:`transform ${m.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${m.scrollDistance+r.value}px, 0)`})),f=t.ref(null),m=t.reactive({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),h=t.toRef(e,"source"),b=D=>Pe(e,D),g=D=>at(e,D),k=Ue(),y=()=>{m.transitionEndTrigger&&(m.transitionEndTrigger(),m.transitionEndTrigger=null)},d=(D,z=!1,V=!1)=>{if(m.currIndex=D,z){const A=()=>{m.moving=!1,o("update:modelValue",D),o("change",D)};V?m.transitionEndTrigger=A:A()}},p=(D,z,V)=>{let A=D+m.startDistance;if(z==="end"){const L=-(h.value.length-1)*e.itemHeight;A<L&&(A=L,(!V||V<=0)&&(V=e.swipeDuration)),A>0&&(A=0,(!V||V<=0)&&(V=e.swipeDuration));let P=Math.abs(Math.round(-A/e.itemHeight));const T=-P*e.itemHeight,N=`${(P+1)*m.rotation}deg`,I=V?V>0:!1;d(P,!0,I),S(T,z,V,N)}else{let L=(-A/e.itemHeight+1)*m.rotation;const P=(h.value.length+1)*m.rotation,T=0;if(L=Math.min(Math.max(L,T),P),e.threeDimensional&&(L<T||L>P))return;S(A,null,void 0,`${L}deg`)}},S=(D=0,z,V=Fc,A)=>{z==="end"?m.scrollTime=V:m.scrollTime=0,m.deg=A,m.scrollDistance=D},w=(D,z)=>(D=Math.abs(D/z)/.003*(D<0?-1:1),D),E=D=>{e.readonly||(m.startDistance=m.scrollDistance,k.start(D),m.transitionEndTrigger=null)},$=D=>{e.readonly||(m.moving=!0,k.move(D),k.isVertical()&&(m.moving=!0,Uc(D,!0)),p(k.deltaY.value,"",0))},q=()=>{if(e.readonly)return;const D=k.deltaY.value,z=k.duration.value;if(z<Oc&&Math.abs(D)>Lc){const A=w(D,z);p(A,"end",e.swipeDuration)}else p(D,"end",0)};return t.watch(()=>e.modelValue,D=>{if(m.currIndex!==D){m.currIndex=D;const z=-D*e.itemHeight;p(z)}}),t.onMounted(()=>{const D=-e.modelValue*e.itemHeight;p(D)}),{classes:l,styles:n,contentClasses:a,source:h,itemText:b,itemValue:g,...t.toRefs(m),roller:f,getItemText:Pe,onTouchStart:E,onTouchMove:$,onTouchEnd:q,isHidden:s,setRollerStyle:c,touchRollerStyle:i,touchTileStyle:u,stopMomentum:y}}}),vc={key:1,class:"fox-picker__item-tile"};function jc(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),onTouchstart:o[0]||(o[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:o[1]||(o[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:o[2]||(o[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:o[3]||(o[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTransitionend:o[4]||(o[4]=(...s)=>e.stopMomentum&&e.stopMomentum(...s))},[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,(s,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${e.columnIndex}_${i}`},[e.threeDimensional?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(i+1)}]),style:t.normalizeStyle(e.setRollerStyle(i+1))},t.toDisplayString(e.itemText(s)),7)):(t.openBlock(),t.createElementBlock("view",vc,t.toDisplayString(e.itemText(s)),1))],64))),128))],6)],38)}const Vr=Q(Hc,[["render",jc]]),{create:Wc,componentName:Yc,scope:Xc}=K("picker"),Qc=Wc({components:{[Vr.name]:Vr,[ce.name]:ce},props:{...En},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:o}){const{toLocaleRefs:l,t:n}=se.useFoxI18n(Xc),a=l(e,["title","cancelText","clearText","confirmText"]),r=t.ref(null),s=t.ref(Ic());t.watch(()=>e.visible,V=>{V&&s.value<=0&&setTimeout(()=>{if(r.value){const A=Ae(r.value);s.value=A.height,zc(s.value)}},50)});const i=t.computed(()=>({[Yc]:!0})),c=Pc(),u=t.ref("singleColumn");let f=t.ref([]);t.watch([()=>e.source,()=>e.params],async([V,A])=>{if(V){let L=await c.load("picker",V,A);if(L.length>0){let P=L[0];if(Array.isArray(P)){if(typeof P[0]=="string"){let T=L,N=[];T.forEach(I=>{let B=I.map(R=>Br(R));N.push(B)}),f.value=N}else f.value=L;u.value="multipleColumn"}else if(typeof P=="string"){let T=L,N=[],I=T.map(B=>Br(B));N.push(I),f.value=N,u.value="singleColumn"}else{const T=Tn(e,P);Array.isArray(T)?(u.value="cascade",f.value=[L]):(u.value="singleColumn",f.value=[L])}}else f.value=[]}},{immediate:!0});const m=t.ref([]),h=t.ref(e.modelValue),b=t.ref([]),g=t.ref([]);t.watch([()=>e.modelValue,()=>f.value],([V,A])=>{let L=Rc(e,V,A,u.value);if(!Oe(L,g.value)){g.value=L;let P=Nr(e,L,A,u.value);P&&(m.value=P.texts,o("update:text",m.value))}});const k=t.ref(e.visible);t.watch(()=>e.visible,V=>{k.value=V});const y=V=>{let A=Cr(e,V);return Ie(A)?A.defaultIndex??0:0},d=V=>{if(e.readonly===!0)return!0;let A=Cr(e,V);return Ie(A)?A.readonly??!1:!1},p=(V,A)=>{let L=g.value;L[V]=A;for(let T=0;T<V;T++)L[T]==null&&(L[T]=y(T));if(u.value==="cascade")for(let T=V+1;T<w.value.length;T++){let N=y(T);T<L.length?L[T]=N:L.push(N)}else for(let T=L.length;T<w.value.length;T++){let N=y(T);L.push(N)}g.value=L;let P=Nr(e,L,f.value,u.value);P&&(m.value=P.texts,h.value=P.values,b.value=P.items)},S=V=>V<g.value.length?g.value[V]:y(V),w=t.computed(()=>{if(f.value.length==0)return[];if(u.value=="singleColumn"||u.value=="multipleColumn")return f.value;let V=[],A=0,L=f.value[0],P=0;for(;;){let T=L.map(B=>{let R=Object.assign({},B);return qc(e,R,null),R});V.push(T),A>=g.value.length?P=0:P=g.value[A],(P<0||P>=L.length)&&(P=0);let N=L[P];const I=Tn(e,N);if(!Array.isArray(I))break;L=I,A++}return V}),E=t.computed(()=>me(+e.visibleItemCount-1)/2*s.value);return{...a,pickerLineRef:r,classes:i,columns:w,dataType:u,show:k,itemHeight:s,top:E,isReadonly:d,getIndex:S,change:(V,A)=>{p(V,A)},close:()=>{o("close"),o("update:visible",!1)},confirm:()=>{if(e.readonly===!0){o("update:visible",!1);return}let V=f.value.length-1;for(;V>=0&&!(g.value[V]===null||g.value[V]===void 0);V--);if(V>=0&&p(V,0),u.value==="singleColumn"){let A=h.value.length>0?h.value[0]:"",L=b.value.length>0?b.value[0]:null;e.readonly||(o("update:modelValue",A),o("update:text",m.value),o("change",A,L)),o("confirm",A)}else e.readonly||(o("update:modelValue",h.value),o("update:text",m.value),o("change",h.value,b.value)),o("confirm",h.value);o("update:visible",!1)},clear:()=>{if(e.readonly===!0){o("update:visible",!1);return}u.value==="singleColumn"?(o("update:modelValue",""),o("change","")):(o("update:modelValue",[]),o("change",[])),o("clear",""),o("update:visible",!1)}}}}),Gc={class:"fox-picker__bar"},Zc={class:"fox-picker__title"},Jc={class:"fox-picker__bar__action"},_c={class:"fox-picker__column"};function ed(e,o,l,n,a,r){const s=t.resolveComponent("fox-picker-column"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createVNode(i,{position:"bottom",visible:e.show,"onUpdate:visible":o[3]||(o[3]=c=>e.show=c),teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,"teleport-disable":e.teleportDisable},{default:t.withCtx(()=>[t.createElementVNode("view",Gc,[t.createElementVNode("view",Zc,t.toDisplayString(e.title),1),t.createElementVNode("view",Jc,[t.createElementVNode("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:o[0]||(o[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:o[1]||(o[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:o[2]||(o[2]=(...c)=>e.clear&&e.clear(...c))},t.toDisplayString(e.clearText),1)):t.createCommentVNode("",!0)])]),t.renderSlot(e.$slots,"top"),t.createElementVNode("view",_c,[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,u)=>(t.openBlock(),t.createElementBlock("view",{key:u,class:"fox-picker__columnitem"},[t.createVNode(s,{source:c,readonly:e.isReadonly(u),"column-index":u,modelValue:e.getIndex(u),"onUpdate:modelValue":f=>e.change(u,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","teleport-disable"])],2)}const ft=Q(Qc,[["render",ed]]);function td(e,o,l,n,a,r,s=!0){return{props:{...ue,...fe,...En,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}},emits:["change","update:modelValue","blur","focus","clear","update:text"],setup(i,c){const u=Ve(t.computed(()=>i.disabled)),f=$e(t.computed(()=>i.readonly)),{emitEvent:m}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!u.value&&!f.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=se.useFoxI18n(o),b=h(i,["placeholder"]),g=t.ref(!1),k=ze(i,"modelValue"),y=t.ref([]),d=t.computed(()=>Array.isArray(y.value)?y.value.join(" "):y.value),p="fox-input-item",S=t.computed(()=>({[p]:!0,[`${p}__disabled`]:u.value})),w=Te(t.computed(()=>i.textAlign),"textAlign"),E=t.computed(()=>{const te={};return w.value&&(te["text-align"]=w.value),te}),$=t.ref(!1),q=()=>{$.value=!0},D=te=>{$.value=te},z=te=>{k.value=te,m("update:modelValue",te)},V=(te,X)=>{m("change",te,X)},A=te=>{let H=te.target.value;g.value=!0,m("focus",H,te)},L=te=>{setTimeout(()=>{g.value=!1},0);let H=te.target.value;i.maxLength&&H.length>Number(i.maxLength)&&(H=H.slice(0,Number(i.maxLength))),m("blur",H,te)},P=te=>{y.value=te,Array.isArray(te)&&te.length===0?m("update:text",te[0]):m("update:text",te)},T=t.computed(()=>({[`${p}__append`]:!0})),N=t.computed(()=>ge(i.unit)>0),I=t.computed(()=>ge(i.unit)>0&&!g.value),B=t.computed(()=>({hidden:!I.value})),R=te=>{k.value="",m("update:modelValue","",te),m("change","",te),m("clear","")},M=t.computed(()=>i.clearable&&!u.value&&!f.value),x=t.computed(()=>ge(k.value)>0&&g.value),W=te=>{x.value?R(te):q()},_=t.computed(()=>x.value&&M.value?n:a),G=t.computed(()=>({action:!0}));return()=>{const te={class:S.value,style:E.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:d.value,onClick:q,onFocus:A,onBlur:L};s&&(te.disabled=!0);const X=[],H=t.h("input",te);X.push(H);const O=[],F={class:["action-icon"]},U=t.h(_.value,F),J={class:G.value,onClick:W},v=t.h("view",J,{default:()=>[U]});if(O.push(v),N.value){const Ce=t.h("view",{class:B.value},[i.unit]);O.push(Ce)}const j={class:T.value},Y=t.h("view",j,{default:()=>O});X.push(Y);const Z={default:()=>X};Z.label=c.slots.default,Z.prepend=c.slots.prepend,Z.append=c.slots.append,Z.fixedPreTip=c.slots.fixedPreTip,Z.fixedTip=c.slots.fixedTip;const oe=be(i,En);oe.disabled=!1,oe.readonly=u.value||f.value,oe.visible=$.value,oe["onUpdate:visible"]=D,oe.modelValue=k.value,oe["onUpdate:modelValue"]=z,oe.text=y.value,oe["onUpdate:text"]=P,oe.onChange=V;const ne=t.h(r,oe);Z.hide=()=>[ne];const ae=be(i,fe,ue);return t.h(l,ae,Z)}}}}const{componentName:od,create:nd,scope:ld}=K("picker-item"),$n=nd(td(od,ld,Ne,ee.CircleClose,ee.ArrowRight,ft,!1)),wo=(e,o,l)=>e.map(n=>{const{value:a="value",text:r="text",children:s="children"}=l??{},{[a]:i,[r]:c,[s]:u,...f}=n,m={loading:!1,...f,level:o?(o&&o.level||0)+1:0,value:i,text:c,children:u,_parent:o};return m.children&&m.children.length&&(m.children=wo(m.children,m,l)),m}),Ar=(e,o)=>{let l=0,n;for(;(n=e[l++])&&o(n)!==!0;)n.children&&n.children.length&&Ar(n.children,o)},ad={topId:null,idKey:"id",pidKey:"pid",sortKey:""},rd=(e,o)=>{const l={...ad,...o||{}},{topId:n,idKey:a,pidKey:r,sortKey:s}=l;let i=[],c={};return e.forEach(u=>{u={...u};const{[a]:f,[r]:m}=u,h=c[m]=c[m]||[];!i.length&&m===n&&(i=h),h.push(u),u.children=c[f]||(c[f]=[])}),s&&Object.keys(c).forEach(u=>{c[u].length>1&&c[u].sort((f,m)=>f[s]-m[s])}),c=null,i},sd=/scroll|auto|overlay/i,Er=window;function id(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Dn(e,o=Er){let l=e;for(;l&&l!==o&&id(l);){const{overflowY:n}=window.getComputedStyle(l);if(sd.test(n))return l;l=l.parentNode}return o}function Tr(e,o=Er){const l=t.ref();return t.onMounted(()=>{e.value&&(l.value=Dn(e.value,o))}),l}const{create:cd}=K("sticky"),dd=cd({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:o}){const l=t.ref(),n=t.ref(),a=t.reactive({fixed:!1,height:0,transform:0}),r=t.computed(()=>e.position==="top"?Number(e.top):Number(e.bottom)),s=t.computed(()=>a.fixed?{height:`${a.height}px`}:{}),i=t.computed(()=>a.fixed?{[e.position]:`${r.value}px`,transform:a.transform?`translate3d(0, ${a.transform}px, 0)`:void 0,position:a.fixed?"fixed":void 0,zIndex:Number(e.zIndex)}:{}),c=()=>{const u=e.container;if(!l.value&&!u)return;const f=Ae(l),m=n.value,h=Ae(m),b=Ae(u);a.height=f.height;const g=()=>{let y=!1;if(e.position==="top")y=u?r.value>f.top&&b.bottom>0:r.value>f.top;else{const d=document.documentElement.clientHeight;y=u?b.bottom>0&&d-r.value-h.height>b.top:d-r.value<f.bottom}return y},k=()=>{if(u)if(e.position==="top"){const y=b.bottom-r.value-h.height;return y<0?y:0}else{const y=document.documentElement.clientHeight,d=b.bottom-(y-r.value);return d<0?d:0}return 0};a.transform=k(),a.fixed=g()};return t.watch(()=>a.fixed,u=>{o("change",u)}),t.onMounted(()=>{c(),Dn(l.value).addEventListener("scroll",c,!0)}),t.onUnmounted(()=>{Dn(l.value).removeEventListener("scroll",c)}),{rootRef:l,rootStyle:s,stickyRef:n,stickyStyle:i}}});function ud(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:"fox-sticky",ref:"rootRef",style:t.normalizeStyle(e.rootStyle)},[t.createElementVNode("div",{class:"fox-sticky__box",ref:"stickyRef",style:t.normalizeStyle(e.stickyStyle)},[t.renderSlot(e.$slots,"default")],4)],4)}const Tt=Q(dd,[["render",ud]]),fd=(e,o,l,n)=>{const a=t.ref(),r=t.ref({width:0,height:0}),s=async()=>{if(l&&l.getEnv()!==l.ENV_TYPE.WEB){let h=await n(a,l);r.value.width=h.width||0,r.value.height=h.height||0}else r.value.width=a.value?.clientWidth||0,r.value.height=a.value?.clientHeight||0};t.onMounted(()=>{setTimeout(()=>{s()},100)});const i=t.reactive({offset:0,moving:!1}),c=Ue();let u="";const f=(h,b)=>{let g=h;switch(e.direction=="horizontal"?(u=h>0?"right":"left",g=Math.abs(g)/r.value.width*100):(u=b>0?"bottom":"top",g=b,g=Math.abs(g)/r.value?.height*100),g>85&&(g=85),u){case"left":case"top":o.isEnd()&&(g=0,i.moving=!1);break;case"right":case"bottom":g=-g,o.isBegin()&&(g=0,i.moving=!1);break}i.offset=g};return{touchMethods:{onTouchStart(h){e.swipeable&&c.start(h)},onTouchMove(h){e.swipeable&&(c.move(h),i.moving=!0,f(c.deltaX.value,c.deltaY.value),e.direction=="horizontal"&&c.isHorizontal()&&(h.preventDefault(),h.stopPropagation()),e.direction=="vertical"&&c.isVertical()&&(h.preventDefault(),h.stopPropagation()))},onTouchEnd(){if(i.moving)switch(i.moving=!1,u){case"left":case"top":i.offset>35&&o.next();break;case"right":case"bottom":i.offset<-35&&o.prev();break}}},touchState:i,tabsContentRef:a}};class md{title="";titleSlot;paneKey="";disabled=!1;constructor(){}}const{create:pd}=K("tabs"),hd=pd({components:{[Tt.name]:Tt,JoySmile:ee.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:o,slots:l}){const n=t.ref(null);let a;t.provide("tabsOpiton",{activeKey:t.computed(()=>e.modelValue||"0"),autoHeight:t.computed(()=>e.autoHeight),animatedTime:t.computed(()=>e.animatedTime)});const r=t.ref([]),s=V=>{V.forEach((A,L)=>{let P=A.type;if(P=P.name||P,P=="fox-tab-pane"){let T=new md;if(A.props?.title||A.props?.["pane-key"]||A.props?.paneKey){let N=_e(A.props?.["pane-key"]),I=N=="number"||N=="string"?String(A.props?.["pane-key"]):null,B=_e(A.props?.paneKey),R=B=="number"||B=="string"?String(A.props?.paneKey):null;T.title=A.props?.title,T.paneKey=I||R||String(L),T.disabled=A.props?.disabled}r.value.push(T)}else{if(A.children==" ")return;Array.isArray(A.children)&&s(A.children)}})},i=t.ref(e.modelValue||0),c=V=>{let A=r.value.findIndex(L=>L.paneKey==V);r.value.length==0||A==-1||(i.value=A)},u=t.computed(()=>e.titleScroll&&e.direction==="vertical"),f=t.ref(),m=t.ref([]),h=V=>{const A=f.value,L=m.value;if(!A||!L||!L[i.value])return;const P=L[i.value];let T=0;e.direction==="vertical"?T=P.offsetTop-A.offsetTop+10-(A.offsetHeight-P.offsetHeight)/2:T=P.offsetLeft-(A.offsetWidth-P.offsetWidth)/2,b(A,T,V?0:.3,e.direction)},b=(V,A,L,P)=>{let T=0;const N=P==="horizontal"?V.scrollLeft:V.scrollTop,I=L===0?1:Math.round(L*1e3/16);function B(){P==="horizontal"?V.scrollLeft+=(A-N)/I:V.scrollTop+=(A-N)/I,++T<I&&Xe(B)}B()},g=(V=l.default?.())=>{r.value=[],V=V?.filter(A=>typeof A.children!="string"),V&&V.length&&s(V),c(e.modelValue),t.nextTick(()=>{h()})},k=V=>{a=V.fixed};t.watch(()=>l.default?.(),V=>{g(V)});const y=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;t.watch(()=>e.modelValue,V=>{if(c(V),h(),a){let A=Ae(n.value).top+y(),L=Math.ceil(A-e.top);window.scrollTo({top:L,behavior:"smooth"})}}),t.onMounted(g),t.onActivated(g);const d={isBegin:()=>i.value==0,isEnd:()=>i.value==r.value.length-1,next:()=>{i.value+=1,d.updateValue(r.value[i.value])},prev:()=>{i.value-=1,d.updateValue(r.value[i.value])},updateValue:V=>{o("update:modelValue",V.paneKey),o("change",V)},tabChange:(V,A)=>{o("click",V),!(V.disabled||i.value==A)&&(i.value=A,d.updateValue(V))},setTabItemRef:(V,A)=>{m.value[A]=V}},{tabsContentRef:p,touchState:S,touchMethods:w}=fd(e,d),E=t.computed(()=>{let V=i.value*100;S.moving&&(V+=S.offset);let A={transform:e.direction=="horizontal"?`translate3d(-${V}%, 0, 0)`:`translate3d( 0,-${V}%, 0)`,transitionDuration:S.moving?void 0:`${e.animatedTime}ms`};return e.animatedTime==0&&(A={}),A}),$=t.computed(()=>({background:e.background})),q=t.computed(()=>({color:e.type=="smile"?e.color:"",background:e.type=="line"?e.color:""})),D=t.computed(()=>{if(!e.titleGutter)return{};const V=de(e.titleGutter);return e.direction==="vertical"?{marginTop:V,marginBottom:V}:{marginLeft:V,marginRight:V}}),z=t.computed(()=>l.fixedTitle);return{navRef:f,tabsContentRef:p,titles:r,contentStyle:E,tabsNavStyle:$,titleStyle:D,tabsActiveStyle:q,container:n,getScrollY:u,onStickyScroll:k,...d,...w,hasFixedTitle:z}}}),gd=["onClick"],yd={key:0,class:"fox-tabs__titles-fixed-item"},kd=["onClick"],bd={key:0,class:"fox-tabs__titles-fixed-item"};function Sd(e,o,l,n,a,r){const s=t.resolveComponent("JoySmile"),i=t.resolveComponent("fox-sticky");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabs",[e.direction]]),ref:"container"},[e.sticky?(t.openBlock(),t.createBlock(i,{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),ref:"navRef"},[e.$slots.titles?t.renderSlot(e.$slots,"titles",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.titles,(c,u)=>(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,u),key:c.paneKey},[t.renderSlot(e.$slots,"title",{title:c.title,paneKey: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(s,{color:e.color},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,gd))),128)),e.hasFixedTitle?(t.openBlock(),t.createElementBlock("view",yd,[t.renderSlot(e.$slots,"fixedTitle")])):t.createCommentVNode("",!0)],64))],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,"scroll-vertical":e.getScrollY,[e.size]:e.size}]),style:t.normalizeStyle(e.tabsNavStyle),ref:"navRef"},[e.$slots.titles?t.renderSlot(e.$slots,"titles",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.titles,(c,u)=>(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,u),key:c.paneKey,ref_for:!0,ref:f=>e.setTabItemRef(f,u)},[t.renderSlot(e.$slots,"title",{title:c.title,paneKey: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(s,{color:e.color},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,kd))),128)),e.hasFixedTitle?(t.openBlock(),t.createElementBlock("view",bd,[t.renderSlot(e.$slots,"fixedTitle")])):t.createCommentVNode("",!0)],64))],6)),t.createElementVNode("view",{class:"fox-tabs__content",ref:"tabsContentRef",style:t.normalizeStyle(e.contentStyle),onTouchstart:o[0]||(o[0]=(...c)=>e.onTouchStart&&e.onTouchStart(...c)),onTouchmove:o[1]||(o[1]=(...c)=>e.onTouchMove&&e.onTouchMove(...c)),onTouchend:o[2]||(o[2]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c)),onTouchcancel:o[3]||(o[3]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[t.renderSlot(e.$slots,"default")],36)],2)}const $t=Q(hd,[["render",Sd]]),{create:Cd}=K("tab-pane"),wd=Cd({props:{title:{type:[String,Number],default:""},paneKey:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:o}){const l=t.inject("tabsOpiton"),n=t.computed(()=>({display:l.animatedTime.value==0&&e.paneKey!=l.activeKey.value?"none":void 0}));return{...l,paneStyle:n}}});function Nd(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tab-pane",{inactive:e.paneKey!=e.activeKey&&e.autoHeight}]),style:t.normalizeStyle(e.paneStyle)},[t.renderSlot(e.$slots,"default")],6)}const Dt=Q(wd,[["render",Nd]]);class $r{nodes;config;constructor(o,l){this.config={value:"value",text:"text",children:"children",...l||{}},this.nodes=wo(o,null,this.config)}updateChildren(o,l){l?l.children=wo(o,l,this.config):this.nodes=wo(o,null,this.config)}getNodeByValue(o){let l;return Ar(this.nodes,n=>{if(n.value===o)return l=n,!0}),l}getPathNodesByValue(o){if(!o.length)return[];const l=[];let n=this.nodes;for(;n&&n.length;){const a=n.find(r=>r.value===o[r.level]);if(!a)break;l.push(a),n=a.children}return l}isLeaf(o,l){const{leaf:n,children:a}=o,r=Array.isArray(a)&&!!a.length;return n||!r&&!l}hasChildren(o,l){if(this.isLeaf(o,l))return!1;const{children:a}=o;return Array.isArray(a)&&!!a.length}}const{create:Bd,scope:Vd}=K("cascader-pane"),Ad=Bd({components:{Loading:ee.Loading,Checklist:ee.Checklist,[$t.name]:$t,[Dt.name]:Dt},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:o}){const l=t.computed(()=>({lazy:e.lazy,lazyLoad:e.lazyLoad,valueKey:e.valueKey,textKey:e.textKey,childrenKey:e.childrenKey,convertConfig:e.convertConfig})),n=t.ref(0),a=t.ref(!1),r=t.ref(e.modelValue),s=t.ref(new $r([],{})),i=t.ref([]),c=t.computed(()=>l.value.lazy&&!!l.value.lazyLoad),u=new Map;let f;const m=async()=>{u.clear(),i.value=[],n.value=0,a.value=!1,f=null;let{options:d}=e;l.value.convertConfig&&(d=rd(d,l.value.convertConfig)),s.value=new $r(d,{value:l.value.valueKey,text:l.value.textKey,children:l.value.childrenKey}),c.value&&!s.value.nodes.length&&await b({root:!0,loading:!0,text:"",value:""}),i.value=[{nodes:s.value.nodes,selectedNode:null}],h()},h=async()=>{const d=r.value;if(d===void 0||!s.value.nodes.length)return;if(d.length===0){n.value=0,i.value=[{nodes:s.value.nodes,selectedNode:null}];return}let p=d;if(c.value&&Array.isArray(d)&&d.length){p=[];let S=s.value.nodes.find(w=>w.value===d[0]);if(S){p=[S.value],a.value=!0;const w=await d.slice(1).reduce(async(E,$)=>{const q=await E;await b(q);const D=q?.children?.find(z=>z.value===$);return D&&p.push($),Promise.resolve(D)},Promise.resolve(S));await b(w),a.value=!1}}p.length&&d===e.modelValue&&s.value.getPathNodesByValue(p).map((w,E)=>{n.value=E,y.handleNode(w,!0)})},b=async d=>{if(!d)return;if(!l.value.lazyLoad){d.leaf=!0;return}if(s.value.isLeaf(d,c.value)||s.value.hasChildren(d,c.value))return;d.loading=!0;const p=d.root?null:d;let S=u.get(d);S||(S=new Promise(E=>{l.value.lazyLoad?.(d,E)}),u.set(d,S));const w=await S;Array.isArray(w)&&w.length>0?s.value.updateChildren(w,p):d.leaf=!0,d.loading=!1,u.delete(d)},g=d=>{const p=d.map(S=>S.value);r.value=p,o("change",p,d),o("update:modelValue",p,d)},{t:k}=se.useFoxI18n(Vd),y={async handleNode(d,p){const{disabled:S,loading:w}=d;if(!(!p&&S||!i.value[n.value])){if(s.value.isLeaf(d,c.value)){if(d.leaf=!0,i.value[n.value].selectedNode=d,i.value=i.value.slice(0,d.level+1),!p){const E=i.value.map($=>$.selectedNode);g(E),o("pathChange",E)}return}if(s.value.hasChildren(d,c.value)){const E=d.level+1;if(i.value[n.value].selectedNode=d,i.value=i.value.slice(0,E),i.value.push({nodes:d.children||[],selectedNode:null}),n.value=E,!p){const $=i.value.map(q=>q.selectedNode);o("pathChange",$)}return}f=d,!w&&(await b(d),f===d&&(i.value[n.value].selectedNode=d,y.handleNode(d,p)))}},handleTabClick(d){f=null,n.value=Number(d.paneKey)},formatTabTitle(d){return d.selectedNode?d.selectedNode.text:k("select")},isSelected(d,p){return d.selectedNode&&d.selectedNode.value===p.value}};return t.watch([l,()=>e.options],()=>{m()},{deep:!0,immediate:!0}),t.watch(()=>e.modelValue,d=>{d!==r.value&&(r.value=d,h())}),t.watch(()=>e.visible,d=>{d&&Array.isArray(r.value)&&r.value.length>0&&h()}),{panes:i,initLoading:a,tabsCursor:n,...y}}}),Ed={role:"menu",class:"fox-cascader__pane"},Td=["aria-checked","aria-disabled","onClick"],$d={class:"fox-cascader__item__title"},Dd=t.createElementVNode("view",{class:"fox-cascader__pane"},null,-1);function Id(e,o,l,n,a,r){const s=t.resolveComponent("Loading"),i=t.resolveComponent("Checklist"),c=t.resolveComponent("fox-tab-pane"),u=t.resolveComponent("fox-tabs");return t.openBlock(),t.createBlock(u,{class:"fox-cascader",modelValue:e.tabsCursor,"onUpdate:modelValue":o[0]||(o[0]=f=>e.tabsCursor=f),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,(f,m)=>(t.openBlock(),t.createBlock(c,{title:e.formatTabTitle(f),key:m},{default:t.withCtx(()=>[t.createElementVNode("view",Ed,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(f.nodes,h=>(t.openBlock(),t.createElementBlock("view",{key:h.value,class:t.normalizeClass(["fox-cascader__item",{active:e.isSelected(f,h),disabled:h.disabled}]),"aria-checked":e.isSelected(f,h),"aria-disabled":h.disabled||void 0,role:"menuitemradio",onClick:b=>e.handleNode(h,!1)},[t.createElementVNode("view",$d,t.toDisplayString(h.text),1),h.loading?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):(t.openBlock(),t.createBlock(i,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,Td))),128))])]),_:2},1032,["title"]))),128)):(t.openBlock(),t.createBlock(c,{key:1,title:"Loading..."},{default:t.withCtx(()=>[Dd]),_:1}))]),_:1},8,["modelValue","onClick"])}const zd=Q(Ad,[["render",Id]]),{create:qd}=K("cascader"),Md=qd({components:{FoxCascaderPane:zd,FoxPopup:ce},props:{...nt,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:o}){const l=t.ref(e.modelValue),n=t.computed({get(){return e.visible},set(s){o("update:visible",s)}}),a=(s,i)=>{l.value=s,n.value=!1,o("change",s,i),o("update:modelValue",s)},r=s=>{o("pathChange",s)};return t.watch(()=>e.modelValue,s=>{s!==l.value&&(l.value=s)}),{onChange:a,onPathChange:r,innerValue:l,innerVisible:n}}}),Pd=["innerHTML"];function Rd(e,o,l,n,a,r){const s=t.resolveComponent("FoxCascaderPane"),i=t.resolveComponent("FoxPopup");return e.poppable?(t.openBlock(),t.createBlock(i,{key:0,visible:e.innerVisible,"onUpdate:visible":o[0]||(o[0]=c=>e.innerVisible=c),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:e.closeable,"destroy-on-close":!1,"close-icon-position":e.closeIconPosition},{default:t.withCtx(()=>[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-cascader__bar",innerHTML:e.title},null,8,Pd)):t.createCommentVNode("",!0),t.createVNode(s,{onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"])]),_:1},8,["visible","closeable","close-icon-position"])):(t.openBlock(),t.createBlock(s,{key:1,onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"]))}const No=Q(Md,[["render",Rd]]);function It(e,o){const l=e.textKey??"text";return o[l]??""}function zt(e,o){const l=e.valueKey??"value";return o[l]}function Dr(e,o){const l=e.childrenKey??"children";return o[l]}function Bo(e,o=[]){const l={texts:[],values:[]};for(let n=0;n<o.length;n++){const a=o[n],r=It(e,a),s=zt(e,a);l.texts.push(r),l.values.push(s??"")}return l}function Ir(e,o,l,n,a=[]){if(!l)return;const r=l[n];for(let s=0;s<o.length;s++)if(It(e,o[s])===r){const c=zt(e,o[s])??"",u={[e.textKey]:r,[e.valueKey]:c};a.push(u);const f=Dr(e,o[s]);Array.isArray(f)&&Ir(e,f,l,n+1,a);return}}function zr(e,o,l,n,a=[]){if(!l)return;const r=l[n];for(let s=0;s<o.length;s++)if(zt(e,o[s])===r){const c=It(e,o[s])??"",u={[e.textKey]:c,[e.valueKey]:r};a.push(u);const f=Dr(e,o[s]);Array.isArray(f)&&zr(e,f,l,n+1,a);return}}function In(e,o,l){if(o===l)return!0;if(o.length!==l.length)return!1;for(let n=0;n<o.length;n++){const a=It(e,o[n]),r=It(e,l[n]);if(a!==r)return!1;const s=zt(e,o[n]),i=zt(e,l[n]);if(s!==i)return!1}return!0}let Ld=class{proxy;constructor(o){this.proxy=o}async load(o,l){const n="cascader";if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);const a=At(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):(Ie(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}};function Od(){const e=t.getCurrentInstance();return new Ld(e.proxy)}function Fd(e,o,l,n,a,r,s=!1){return{props:{...ue,...fe,modelValue:{type:[Array,String]},pathNodes:{type:[Array]},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","update:pathNodes"],setup(i,c){const u=Ve(t.computed(()=>i.disabled)),f=$e(t.computed(()=>i.readonly)),{emitEvent:m}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!u.value&&!f.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=se.useFoxI18n(o),b=h(i,["placeholder"]),g=t.ref(!1),k=Od(),y=t.ref([]);t.watch([()=>i.source,()=>i.params],async([H,O])=>{H&&(y.value=await k.load(H,O))},{immediate:!0});const d=t.ref([]),p=t.computed(()=>Array.isArray(d.value)?d.value.join(" "):d.value),S=t.ref([]),w=t.ref([]);t.watch([()=>i.modelValue],async([H])=>{if(i.lazy===!0){w.value.length==0&&(d.value=Array.isArray(H)?H:[],S.value=Array.isArray(H)?H:[]);return}if(i.valueType==="item"){let O=H;if(!In(i,O,w.value)){w.value=O;let F=Bo(i,O);d.value=F.texts,S.value=F.values}}else if(i.valueType==="text"){let O=H,F=[];if(Ir(i,y.value,O,0,F),!In(i,F,w.value)){w.value=F;let U=Bo(i,F);O.value=U.texts,S.value=U.values}}else{let O=[];if(zr(i,y.value,H,0,O),!In(i,O,w.value)){w.value=O;let F=Bo(i,O);d.value=F.texts,S.value=F.values}}},{immediate:!0});const E="fox-input-item",$=t.computed(()=>({[E]:!0,[`${E}__disabled`]:u.value})),q=Te(t.computed(()=>i.textAlign),"textAlign"),D=t.computed(()=>{const H={};return q.value&&(H["text-align"]=q.value),H}),z=t.ref(!1),V=()=>{u.value===!0||f.value===!0||(z.value=!0)},A=H=>{z.value=H},L=(H,O)=>{let F=O.map(J=>{if(J==null)return J;let v={...J};return Reflect.deleteProperty(v,"text"),v[i.textKey]=J.text??"",Reflect.deleteProperty(v,"value"),v[i.valueKey]=J.value??"",v});w.value=F;let U=Bo(i,F);d.value=U.texts,S.value=U.values,i.valueType==="text"?(m("change",d.value,F),m("update:modelValue",d.value)):i.valueType==="item"?(m("change",F,F),m("update:modelValue",F)):(m("change",S.value,F),m("update:modelValue",S.value)),m("update:pathNodes",F)},P=H=>{let O=H.map(F=>{if(F==null)return F;let U={...F};return Reflect.deleteProperty(U,"text"),U[i.textKey]=F.text??"",Reflect.deleteProperty(U,"value"),U[i.valueKey]=F.value??"",U});m("pathChange",O)},T=H=>{g.value=!0,m("focus",S.value,H)},N=H=>{setTimeout(()=>{g.value=!1},0),m("blur",S.value,H)},I=t.computed(()=>({[`${E}__append`]:!0})),B=t.computed(()=>ge(i.unit)>0),R=t.computed(()=>ge(i.unit)>0&&!g.value),M=t.computed(()=>({hidden:!R.value})),x=H=>{w.value=[],d.value=[],S.value=[],m("update:modelValue",[]),m("change",[],H),m("clear",[]),m("update:pathNodes",[])},W=t.computed(()=>i.clearable&&!u.value&&!f.value),_=t.computed(()=>{let H=S.value&&S.value.length>0;return i.clearable&&H&&g.value}),G=H=>{_.value?x(H):V()},te=t.computed(()=>_.value&&W.value?n:a),X=t.computed(()=>({action:!0}));return()=>{const H={class:$.value,style:D.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:p.value,onClick:V,onFocus:T,onBlur:N};s&&(H.disabled=!0);const O=[],F=t.h("input",H);O.push(F);const U=[],J={class:["action-icon"]},v=t.h(te.value,J),j={class:X.value,onClick:G},Y=t.h("view",j,{default:()=>[v]});if(U.push(Y),B.value){const Yt=t.h("view",{class:M.value},[i.unit]);U.push(Yt)}const Z={class:I.value},oe=t.h("view",Z,{default:()=>U});O.push(oe);const ne={default:()=>O};ne.label=c.slots.default,ne.prepend=c.slots.prepend,ne.append=c.slots.append,ne.fixedPreTip=c.slots.fixedPreTip,ne.fixedTip=c.slots.fixedTip;let ae={};ae.visible=z.value,ae["onUpdate:visible"]=A,ae.modelValue=S.value,ae.onChange=L,ae.onPathChange=P,ae.options=y.value,ae.title=i.title,ae.lazy=i.lazy,ae.lazyLoad=i.lazyLoad,ae.valueKey=i.valueKey,ae.textKey=i.textKey,ae.childrenKey=i.childrenKey,ae.convertConfig=i.convertConfig;const pe=t.h(r,ae);ne.hide=()=>[pe];const Ce=be(i,fe,ue);return t.h(l,Ce,ne)}}}}const{componentName:xd,create:Kd,scope:Ud}=K("cascader-item"),zn=Kd(Fd(xd,Ud,Ne,ee.CircleClose,ee.ArrowRight,No,!1));var He=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){var l=1e3,n=6e4,a=36e5,r="millisecond",s="second",i="minute",c="hour",u="day",f="week",m="month",h="quarter",b="year",g="date",k="Invalid Date",y=/^(\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("_")},S=function(P,T,N){var I=String(P);return!I||I.length>=T?P:""+Array(T+1-I.length).join(N)+P},w={s:S,z:function(P){var T=-P.utcOffset(),N=Math.abs(T),I=Math.floor(N/60),B=N%60;return(T<=0?"+":"-")+S(I,2,"0")+":"+S(B,2,"0")},m:function P(T,N){if(T.date()<N.date())return-P(N,T);var I=12*(N.year()-T.year())+(N.month()-T.month()),B=T.clone().add(I,m),R=N-B<0,M=T.clone().add(I+(R?-1:1),m);return+(-(I+(N-B)/(R?B-M:M-B))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:m,y:b,w:f,d:u,D:g,h:c,m:i,s,ms:r,Q:h}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},E="en",$={};$[E]=p;var q=function(P){return P instanceof A},D=function P(T,N,I){var B;if(!T)return E;if(typeof T=="string"){var R=T.toLowerCase();$[R]&&(B=R),N&&($[R]=N,B=R);var M=T.split("-");if(!B&&M.length>1)return P(M[0])}else{var x=T.name;$[x]=T,B=x}return!I&&B&&(E=B),B||!I&&E},z=function(P,T){if(q(P))return P.clone();var N=typeof T=="object"?T:{};return N.date=P,N.args=arguments,new A(N)},V=w;V.l=D,V.i=q,V.w=function(P,T){return z(P,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var A=function(){function P(N){this.$L=D(N.locale,null,!0),this.parse(N)}var T=P.prototype;return T.parse=function(N){this.$d=function(I){var B=I.date,R=I.utc;if(B===null)return new Date(NaN);if(V.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var M=B.match(y);if(M){var x=M[2]-1||0,W=(M[7]||"0").substring(0,3);return R?new Date(Date.UTC(M[1],x,M[3]||1,M[4]||0,M[5]||0,M[6]||0,W)):new Date(M[1],x,M[3]||1,M[4]||0,M[5]||0,M[6]||0,W)}}return new Date(B)}(N),this.$x=N.x||{},this.init()},T.init=function(){var N=this.$d;this.$y=N.getFullYear(),this.$M=N.getMonth(),this.$D=N.getDate(),this.$W=N.getDay(),this.$H=N.getHours(),this.$m=N.getMinutes(),this.$s=N.getSeconds(),this.$ms=N.getMilliseconds()},T.$utils=function(){return V},T.isValid=function(){return this.$d.toString()!==k},T.isSame=function(N,I){var B=z(N);return this.startOf(I)<=B&&B<=this.endOf(I)},T.isAfter=function(N,I){return z(N)<this.startOf(I)},T.isBefore=function(N,I){return this.endOf(I)<z(N)},T.$g=function(N,I,B){return V.u(N)?this[I]:this.set(B,N)},T.unix=function(){return Math.floor(this.valueOf()/1e3)},T.valueOf=function(){return this.$d.getTime()},T.startOf=function(N,I){var B=this,R=!!V.u(I)||I,M=V.p(N),x=function(F,U){var J=V.w(B.$u?Date.UTC(B.$y,U,F):new Date(B.$y,U,F),B);return R?J:J.endOf(u)},W=function(F,U){return V.w(B.toDate()[F].apply(B.toDate("s"),(R?[0,0,0,0]:[23,59,59,999]).slice(U)),B)},_=this.$W,G=this.$M,te=this.$D,X="set"+(this.$u?"UTC":"");switch(M){case b:return R?x(1,0):x(31,11);case m:return R?x(1,G):x(0,G+1);case f:var H=this.$locale().weekStart||0,O=(_<H?_+7:_)-H;return x(R?te-O:te+(6-O),G);case u:case g:return W(X+"Hours",0);case c:return W(X+"Minutes",1);case i:return W(X+"Seconds",2);case s:return W(X+"Milliseconds",3);default:return this.clone()}},T.endOf=function(N){return this.startOf(N,!1)},T.$set=function(N,I){var B,R=V.p(N),M="set"+(this.$u?"UTC":""),x=(B={},B[u]=M+"Date",B[g]=M+"Date",B[m]=M+"Month",B[b]=M+"FullYear",B[c]=M+"Hours",B[i]=M+"Minutes",B[s]=M+"Seconds",B[r]=M+"Milliseconds",B)[R],W=R===u?this.$D+(I-this.$W):I;if(R===m||R===b){var _=this.clone().set(g,1);_.$d[x](W),_.init(),this.$d=_.set(g,Math.min(this.$D,_.daysInMonth())).$d}else x&&this.$d[x](W);return this.init(),this},T.set=function(N,I){return this.clone().$set(N,I)},T.get=function(N){return this[V.p(N)]()},T.add=function(N,I){var B,R=this;N=Number(N);var M=V.p(I),x=function(G){var te=z(R);return V.w(te.date(te.date()+Math.round(G*N)),R)};if(M===m)return this.set(m,this.$M+N);if(M===b)return this.set(b,this.$y+N);if(M===u)return x(1);if(M===f)return x(7);var W=(B={},B[i]=n,B[c]=a,B[s]=l,B)[M]||1,_=this.$d.getTime()+N*W;return V.w(_,this)},T.subtract=function(N,I){return this.add(-1*N,I)},T.format=function(N){var I=this,B=this.$locale();if(!this.isValid())return B.invalidDate||k;var R=N||"YYYY-MM-DDTHH:mm:ssZ",M=V.z(this),x=this.$H,W=this.$m,_=this.$M,G=B.weekdays,te=B.months,X=function(U,J,v,j){return U&&(U[J]||U(I,R))||v[J].slice(0,j)},H=function(U){return V.s(x%12||12,U,"0")},O=B.meridiem||function(U,J,v){var j=U<12?"AM":"PM";return v?j.toLowerCase():j},F={YY:String(this.$y).slice(-2),YYYY:this.$y,M:_+1,MM:V.s(_+1,2,"0"),MMM:X(B.monthsShort,_,te,3),MMMM:X(te,_),D:this.$D,DD:V.s(this.$D,2,"0"),d:String(this.$W),dd:X(B.weekdaysMin,this.$W,G,2),ddd:X(B.weekdaysShort,this.$W,G,3),dddd:G[this.$W],H:String(x),HH:V.s(x,2,"0"),h:H(1),hh:H(2),a:O(x,W,!0),A:O(x,W,!1),m:String(W),mm:V.s(W,2,"0"),s:String(this.$s),ss:V.s(this.$s,2,"0"),SSS:V.s(this.$ms,3,"0"),Z:M};return R.replace(d,function(U,J){return J||F[U]||M.replace(":","")})},T.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},T.diff=function(N,I,B){var R,M=V.p(I),x=z(N),W=(x.utcOffset()-this.utcOffset())*n,_=this-x,G=V.m(this,x);return G=(R={},R[b]=G/12,R[m]=G,R[h]=G/3,R[f]=(_-W)/6048e5,R[u]=(_-W)/864e5,R[c]=_/a,R[i]=_/n,R[s]=_/l,R)[M]||_,B?G:V.a(G)},T.daysInMonth=function(){return this.endOf(m).$D},T.$locale=function(){return $[this.$L]},T.locale=function(N,I){if(!N)return this.$L;var B=this.clone(),R=D(N,I,!0);return R&&(B.$L=R),B},T.clone=function(){return V.w(this.$d,this)},T.toDate=function(){return new Date(this.valueOf())},T.toJSON=function(){return this.isValid()?this.toISOString():null},T.toISOString=function(){return this.$d.toISOString()},T.toString=function(){return this.$d.toUTCString()},P}(),L=A.prototype;return z.prototype=L,[["$ms",r],["$s",s],["$m",i],["$H",c],["$W",u],["$M",m],["$y",b],["$D",g]].forEach(function(P){L[P[1]]=function(T){return this.$g(T,P[0],P[1])}}),z.extend=function(P,T){return P.$i||(P(T,A,z),P.$i=!0),z},z.locale=D,z.isDayjs=q,z.unix=function(P){return z(1e3*P)},z.en=$[E],z.Ls=$,z.p={},z})})(qr);var Hd=qr.exports;const Re=ve(Hd);var Mr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){var l={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,r=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,i={},c=function(k){return(k=+k)+(k>68?1900:2e3)},u=function(k){return function(y){this[k]=+y}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(k){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var d=y.match(/([+-]|\d\d)/g),p=60*d[1]+(+d[2]||0);return p===0?0:d[0]==="+"?-p:p}(k)}],m=function(k){var y=i[k];return y&&(y.indexOf?y:y.s.concat(y.f))},h=function(k,y){var d,p=i.meridiem;if(p){for(var S=1;S<=24;S+=1)if(k.indexOf(p(S,0,y))>-1){d=S>12;break}}else d=k===(y?"pm":"PM");return d},b={A:[s,function(k){this.afternoon=h(k,!1)}],a:[s,function(k){this.afternoon=h(k,!0)}],S:[/\d/,function(k){this.milliseconds=100*+k}],SS:[a,function(k){this.milliseconds=10*+k}],SSS:[/\d{3}/,function(k){this.milliseconds=+k}],s:[r,u("seconds")],ss:[r,u("seconds")],m:[r,u("minutes")],mm:[r,u("minutes")],H:[r,u("hours")],h:[r,u("hours")],HH:[r,u("hours")],hh:[r,u("hours")],D:[r,u("day")],DD:[a,u("day")],Do:[s,function(k){var y=i.ordinal,d=k.match(/\d+/);if(this.day=d[0],y)for(var p=1;p<=31;p+=1)y(p).replace(/\[|\]/g,"")===k&&(this.day=p)}],M:[r,u("month")],MM:[a,u("month")],MMM:[s,function(k){var y=m("months"),d=(m("monthsShort")||y.map(function(p){return p.slice(0,3)})).indexOf(k)+1;if(d<1)throw new Error;this.month=d%12||d}],MMMM:[s,function(k){var y=m("months").indexOf(k)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,u("year")],YY:[a,function(k){this.year=c(k)}],YYYY:[/\d{4}/,u("year")],Z:f,ZZ:f};function g(k){var y,d;y=k,d=i&&i.formats;for(var p=(k=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(z,V,A){var L=A&&A.toUpperCase();return V||d[A]||l[A]||d[L].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,T,N){return T||N.slice(1)})})).match(n),S=p.length,w=0;w<S;w+=1){var E=p[w],$=b[E],q=$&&$[0],D=$&&$[1];p[w]=D?{regex:q,parser:D}:E.replace(/^\[|\]$/g,"")}return function(z){for(var V={},A=0,L=0;A<S;A+=1){var P=p[A];if(typeof P=="string")L+=P.length;else{var T=P.regex,N=P.parser,I=z.slice(L),B=T.exec(I)[0];N.call(V,B),z=z.replace(B,"")}}return function(R){var M=R.afternoon;if(M!==void 0){var x=R.hours;M?x<12&&(R.hours+=12):x===12&&(R.hours=0),delete R.afternoon}}(V),V}}return function(k,y,d){d.p.customParseFormat=!0,k&&k.parseTwoDigitYear&&(c=k.parseTwoDigitYear);var p=y.prototype,S=p.parse;p.parse=function(w){var E=w.date,$=w.utc,q=w.args;this.$u=$;var D=q[1];if(typeof D=="string"){var z=q[2]===!0,V=q[3]===!0,A=z||V,L=q[2];V&&(L=q[2]),i=this.$locale(),!z&&L&&(i=d.Ls[L]),this.$d=function(I,B,R){try{if(["x","X"].indexOf(B)>-1)return new Date((B==="X"?1e3:1)*I);var M=g(B)(I),x=M.year,W=M.month,_=M.day,G=M.hours,te=M.minutes,X=M.seconds,H=M.milliseconds,O=M.zone,F=new Date,U=_||(x||W?1:F.getDate()),J=x||F.getFullYear(),v=0;x&&!W||(v=W>0?W-1:F.getMonth());var j=G||0,Y=te||0,Z=X||0,oe=H||0;return O?new Date(Date.UTC(J,v,U,j,Y,Z,oe+60*O.offset*1e3)):R?new Date(Date.UTC(J,v,U,j,Y,Z,oe)):new Date(J,v,U,j,Y,Z,oe)}catch{return new Date("")}}(E,D,$),this.init(),L&&L!==!0&&(this.$L=this.locale(L).$L),A&&E!=this.format(D)&&(this.$d=new Date("")),i={}}else if(D instanceof Array)for(var P=D.length,T=1;T<=P;T+=1){q[1]=D[T-1];var N=d.apply(this,q);if(N.isValid()){this.$d=N.$d,this.$L=N.$L,this.init();break}T===P&&(this.$d=new Date(""))}else S.call(this,w)}}})})(Mr);var vd=Mr.exports;const jd=ve(vd);var Pr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){return function(l,n,a){var r=n.prototype,s=r.format;a.en.ordinal=function(i){var c=["th","st","nd","rd"],u=i%100;return"["+i+(c[(u-20)%10]||c[u]||c[0])+"]"},r.format=function(i){var c=this,u=this.$locale();if(!this.isValid())return s.bind(this)(i);var f=this.$utils(),m=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(h){switch(h){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return u.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return u.ordinal(c.week(),"W");case"w":case"ww":return f.s(c.week(),h==="w"?1:2,"0");case"W":case"WW":return f.s(c.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return f.s(String(c.$H===0?24:c.$H),h==="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 h}});return s.bind(this)(m)}}})})(Pr);var Wd=Pr.exports;const Yd=ve(Wd);var Rr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){return function(l,n,a){var r=n.prototype,s=function(m){return m&&(m.indexOf?m:m.s)},i=function(m,h,b,g,k){var y=m.name?m:m.$locale(),d=s(y[h]),p=s(y[b]),S=d||p.map(function(E){return E.slice(0,g)});if(!k)return S;var w=y.weekStart;return S.map(function(E,$){return S[($+(w||0))%7]})},c=function(){return a.Ls[a.locale()]},u=function(m,h){return m.formats[h]||function(b){return b.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(g,k,y){return k||y.slice(1)})}(m.formats[h.toUpperCase()])},f=function(){var m=this;return{months:function(h){return h?h.format("MMMM"):i(m,"months")},monthsShort:function(h){return h?h.format("MMM"):i(m,"monthsShort","months",3)},firstDayOfWeek:function(){return m.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):i(m,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):i(m,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):i(m,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return u(m.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return f.bind(this)()},a.localeData=function(){var m=c();return{firstDayOfWeek:function(){return m.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(h){return u(m,h)},meridiem:m.meridiem,ordinal:m.ordinal}},a.months=function(){return i(c(),"months")},a.monthsShort=function(){return i(c(),"monthsShort","months",3)},a.weekdays=function(m){return i(c(),"weekdays",null,null,m)},a.weekdaysShort=function(m){return i(c(),"weekdaysShort","weekdays",3,m)},a.weekdaysMin=function(m){return i(c(),"weekdaysMin","weekdays",2,m)}}})})(Rr);var Xd=Rr.exports;const Qd=ve(Xd);var Lr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){var l="week",n="year";return function(a,r,s){var i=r.prototype;i.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var f=s(this).startOf(n).add(1,n).date(u),m=s(this).endOf(l);if(f.isBefore(m))return 1}var h=s(this).startOf(n).date(u).startOf(l).subtract(1,"millisecond"),b=this.diff(h,l,!0);return b<0?s(this).startOf("week").week():Math.ceil(b)},i.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(Lr);var Gd=Lr.exports;const Zd=ve(Gd);var Or={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){return function(l,n){n.prototype.weekYear=function(){var a=this.month(),r=this.week(),s=this.year();return r===1&&a===11?s+1:a===0&&r>=52?s-1:s}}})})(Or);var Jd=Or.exports;const _d=ve(Jd);var Fr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){return function(l,n,a){n.prototype.dayOfYear=function(r){var s=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return r==null?s:this.add(r-s,"day")}}})})(Fr);var eu=Fr.exports;const tu=ve(eu);var xr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){return function(l,n){n.prototype.isSameOrAfter=function(a,r){return this.isSame(a,r)||this.isAfter(a,r)}}})})(xr);var ou=xr.exports;const nu=ve(ou);var Kr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){return function(l,n){n.prototype.isSameOrBefore=function(a,r){return this.isSame(a,r)||this.isBefore(a,r)}}})})(Kr);var lu=Kr.exports;const au=ve(lu);Re.extend(Qd),Re.extend(Yd),Re.extend(jd),Re.extend(Zd),Re.extend(_d),Re.extend(tu),Re.extend(nu),Re.extend(au);const le={format(e,o){return Re(e).format(o)},parser(e,o){return Re(e,o).toDate()},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,o,l){const a=new Date(e+"/"+o+"/"+l).getDay();return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][a]},getMonthPreDay(e,o){let n=new Date(e+"/"+o+"/01").getDay();return n==0&&(n=7),n},getMonthDays(e,o){return/^0/.test(o)&&(o=o.split("")[1]),[0,31,this.isLeapYear(Number(e))?29:28,31,30,31,30,31,31,30,31,30,31][o]},getNumTwoBit(e){return e=Number(e),(e>9?"":"0")+e},date2Str:function(e,o){o=o||"-";const l=e.getFullYear(),n=this.getNumTwoBit(e.getMonth()+1),a=this.getNumTwoBit(e.getDate());return[l,n,a].join(o)},getDay(e,o){e=e||0;let l=o??new Date;const n=e*(1e3*60*60*24);return l=new Date(l.getTime()+n),this.date2Str(l)},compareDate(e,o){let l;typeof e=="string"?l=new Date(e.replace("-","/").replace("-","/")):l=e;let n;return typeof o=="string"?n=new Date(o.replace("-","/").replace("-","/")):n=o,!(l>=n)},isEqual(e,o){if(e===o)return!0;if(!e||!o)return!1;let l;typeof e=="string"?l=new Date(e).getTime():l=e;let n;return typeof o=="string"?n=new Date(o).getTime():n=o,l==n},getMonthWeek:function(e,o,l,n=0){const a=new Date(Number(e),parseInt(o)-1,Number(l));let r=a.getDay(),s=a.getDate(),i=6-r;return n!==0&&(r=r==0?7:r,i=7-r),Math.ceil((s+i)/7)},getYearWeek:function(e,o,l,n=0){const a=new Date(Number(e),parseInt(o)-1,Number(l)),r=new Date(Number(e),0,1),s=Math.round((a.valueOf()-r.valueOf())/864e5);let i=a.getDay(),c=6-i;return n!==0&&(i=i==0?7:i,c=7-i),Math.ceil((s+c)/7)},getWeekDate:function(e,o,l,n=0){const a=new Date(Number(e),parseInt(o)-1,Number(l)),r=a.getTime();let s=a.getDay();if(n===0){const c=r-s*864e5,u=r+(6-s)*864e5,f=this.date2Str(new Date(c)),m=this.date2Str(new Date(u));return[f,m]}else{s=s==0?7:s;const i=24*60*60*1e3,c=r-(s-1)*i,u=r+(7-s)*i,f=this.date2Str(new Date(c)),m=this.date2Str(new Date(u));return[f,m]}},formatResultDate:function(e){let o=[...e.split("-")];return o[2]=le.getNumTwoBit(Number(o[2])),o[3]=`${o[0]}-${o[1]}-${o[2]}`,o[4]=le.getWhatDay(+o[0],+o[1],+o[2]),o},inScope4Day(e,o,l){const n=new Date(new Date(o).setDate(o.getDate()+l)),a=e.getTime(),r=n.getTime(),s=o.getTime();return r>s?a>=s&&a<=r:a>=r&&a<=s},inScope4Month(e,o,l){const n=new Date(new Date(o).setMonth(o.getMonth()+l)),a=e.getTime(),r=n.getTime(),s=o.getTime();return r>s?a>=s&&a<=r:a>=r&&a<=s}},Ur=new Date().getFullYear(),qn={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"},Vo=(e,o,l)=>{let n;if(Le(o)?n=o:typeof o=="string"&&ge(o)>0?n=le.parser(o,l):n=new Date,n.toString()==="Invalid Date")return null;let a=Math.max(n.getTime(),e.minDate.getTime());return a=Math.min(a,e.maxDate.getTime()),new Date(a)},Mn=(e,o,l)=>{Le(o)||(o=e.minDate);let n=Math.max(o.getTime(),e.minDate.getTime());return n=Math.min(n,e.maxDate.getTime()),le.format(new Date(n),l)};let Pn={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(Ur-10,0,1),validator:Le},maxDate:{type:Date,default:()=>new Date(Ur+10,11,31),validator:Le},visibleItemCount:{type:[Number,String],default:7},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3},teleportDisable:{type:Boolean}};const{create:ru,scope:su}=K("date-picker"),iu=ru({components:{[ft.name]:ft},props:{...Pn},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(su),n={day:l("day"),year:l("year"),month:l("month"),hour:l("hour"),minute:l("minute"),seconds:l("seconds")},a=t.ref(!1);t.watch(()=>e.visible,d=>{a.value=d});function r(d,p){return new Date(d,p,0).getDate()}const s=(d,p)=>{const S=e[`${d}Date`],w=S.getFullYear();let E=1,$=1,q=0,D=0;d==="max"&&(E=12,$=r(p.getFullYear(),p.getMonth()+1),q=23,D=59);const z=D;return p.getFullYear()===w&&(E=S.getMonth()+1,p.getMonth()+1===E&&($=S.getDate(),p.getDate()===$&&(q=S.getHours(),p.getHours()===q&&(D=S.getMinutes())))),{[`${d}Year`]:w,[`${d}Month`]:E,[`${d}Date`]:$,[`${d}Hour`]:q,[`${d}Minute`]:D,[`${d}Seconds`]:z}},i=t.computed(()=>{if(!h.value)return[];const{maxYear:d,maxDate:p,maxMonth:S,maxHour:w,maxMinute:E,maxSeconds:$}=s("max",h.value),{minYear:q,minDate:D,minMonth:z,minHour:V,minMinute:A,minSeconds:L}=s("min",h.value);let P=[{type:"year",range:[q,d]},{type:"month",range:[z,S]},{type:"day",range:[D,p]},{type:"hour",range:[V,w]},{type:"minute",range:[A,E]},{type:"seconds",range:[L,$]}];switch(e.type){case"date":P=P.slice(0,3);break;case"datetime":P=P.slice(0,5);break;case"time":P=P.slice(3,6);break;case"year-month":P=P.slice(0,2);break;case"month-day":P=P.slice(1,3);break;case"datehour":P=P.slice(0,4);break;case"hour-minute":P=P.slice(3,5);break}return P}),c=(d,p,S)=>{if(!(p>d))return null;const w=[];for(;d<=p;)e.isShowChinese?w.push({text:d+n[S],value:d}):w.push({text:`${d}`,value:d}),S==="minute"?d+=e.minuteStep:d++;return w},u=t.computed(()=>{let d=[];return i.value.forEach(p=>{let S=c(p.range[0],p.range[1],p.type);S&&d.push(S)}),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,m=t.ref(),h=t.ref(null);t.watchEffect(()=>{let d,p=e.modelValue;if(typeof p=="string"?p.length==0?d=new Date:e.valueFormat?d=Vo(e,e.modelValue,e.valueFormat):d=Vo(e,p,qn[e.type]):Le(p)?d=p:d=new Date,!!d&&(!h.value||d.getTime()!==h.value.getTime())){h.value=d;let S=[];i.value.forEach(w=>{let E=f(w.type,d);S.push(E)}),m.value=S}});const b=d=>{if(e.type==="date"){let p=d;h.value=new Date(p[0],p[1]-1,Math.min(p[2],r(p[0],p[1])))}else if(e.type==="datetime"){let p=d;h.value=new Date(p[0],p[1]-1,Math.min(p[2],r(p[0],p[1])),p[3],p[4])}else if(e.type==="time"){let p=d,S=h.value??new Date,w=new Date(S.getFullYear(),S.getMonth(),S.getDate(),p[0],p[1],p[2]);h.value=w}else if(e.type==="year-month"){let p=d,S=new Date(p[0],p[1]-1);h.value=S}else if(e.type==="month-day"){let p=d,S=h.value??new Date,w=new Date(S.getFullYear(),p[0]-1,p[1]);h.value=w}else if(e.type==="datehour"){let p=d;h.value=new Date(p[0],p[1]-1,Math.min(p[2],r(p[0],p[1])),p[3])}else if(e.type==="hour-minute"){let p=d,S=h.value??new Date,w=new Date(S.getFullYear(),S.getMonth(),S.getDate(),p[0],p[1]);h.value=w}m.value=d};return{columns:u,dateIndexs:m,show:a,onClose:()=>{a.value=!1,o("update:visible",!1),o("update:close",!1)},onConfirm:d=>{b(d),a.value=!1;let p=h.value??new Date;if(e.valueFormat){let S=Mn(e,p,e.valueFormat);o("update:modelValue",S)}else o("update:modelValue",p);o("update:visible",!1),o("confirm",d)},onClear:()=>{o("clear")}}}});function cu(e,o,l,n,a,r){const s=t.resolveComponent("fox-picker");return t.openBlock(),t.createBlock(s,{visible:e.show,"model-value":e.dateIndexs,source:e.columns,"value-type":"value","confirm-text":e.confirmText,"cancel-text":e.cancelText,title:e.title,onConfirm:e.onConfirm,onClose:e.onClose,onClear:e.onClear,"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,"teleport-disable":e.teleportDisable},{top:t.withCtx(()=>[t.renderSlot(e.$slots,"top")]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["visible","model-value","source","confirm-text","cancel-text","title","onConfirm","onClose","onClear","visible-item-count","three-dimensional","swipe-duration","teleport-disable"])}const Ao=Q(iu,[["render",cu]]);function du(e){let o=e.format;if(!o){let l=e.type??"date";o=qn[l]}return o}function uu(e,o,l,n,a,r,s=!1){return{props:{...ue,...fe,...Pn,format:{type:String},placeholder:{type:String,default:""},textAlign:{type:String},clearable:{type:Boolean,default:!0}},emits:["change","update:modelValue","blur","focus","clear"],setup(i,c){const u=Ve(t.computed(()=>i.disabled)),f=$e(t.computed(()=>i.readonly)),{emitEvent:m}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!u.value&&!f.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=se.useFoxI18n(o),b=h(i,["placeholder"]),g=t.ref(!1),y=ze(i,"modelValue",G=>G==null?null:typeof G=="string"?G.length==0?null:i.valueFormat?Vo(i,G,i.valueFormat)??G:Vo(i,G,qn[i.type])??G:Le(G)?G:null),d=t.computed(()=>{if(!y.value)return"";const G=du(i);return Mn(i,y.value,G)}),p="fox-input-item",S=t.computed(()=>({[p]:!0,[`${p}__disabled`]:u.value})),w=Te(t.computed(()=>i.textAlign),"textAlign"),E=t.computed(()=>{const G={};return w.value&&(G["text-align"]=w.value),G}),$=t.ref(!1),q=()=>{$.value=!0},D=()=>{$.value=!1};c.expose({showPicker:q,hidePicker:D});const z=G=>{$.value=G},V=G=>{if(y.value=G,i.valueFormat){let te=Mn(i,G,i.valueFormat);m("update:modelValue",te,{}),m("change",te,{})}else m("update:modelValue",G,{}),m("change",G,{})},A=G=>{let X=G.target.value;g.value=!0,m("focus",X,G)},L=G=>{setTimeout(()=>{g.value=!1},0);let X=G.target.value;i.maxLength&&X.length>Number(i.maxLength)&&(X=X.slice(0,Number(i.maxLength))),m("blur",X,G)},P=t.computed(()=>({[`${p}__append`]:!0})),T=t.computed(()=>ge(i.unit)>0),N=t.computed(()=>ge(i.unit)>0&&!g.value),I=t.computed(()=>({hidden:!N.value})),B=G=>{y.value="",m("update:modelValue","",G),m("change","",G),m("clear",""),D()},R=t.computed(()=>i.clearable&&!u.value&&!f.value),M=t.computed(()=>{let G=ge(y.value)>0;return i.clearable&&G&&g.value}),x=G=>{M.value?B(G):q()},W=t.computed(()=>M.value&&R.value?n:a),_=t.computed(()=>({action:!0}));return()=>{const G={class:S.value,style:E.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:d.value,onClick:q,onFocus:A,onBlur:L};s&&(G.disabled=!0);const te=[],X=t.h("input",G);te.push(X);const H=[],O={class:["action-icon"]},F=t.h(W.value,O),U={class:_.value,onClick:x},J=t.h("view",U,{default:()=>[F]});if(H.push(J),T.value){const Ce=t.h("view",{class:I.value},[i.unit]);H.push(Ce)}const v={class:P.value},j=t.h("view",v,{default:()=>H});te.push(j);const Y={default:()=>te};Y.label=c.slots.default,Y.prepend=c.slots.prepend,Y.append=c.slots.append,Y.fixedPreTip=c.slots.fixedPreTip,Y.fixedTip=c.slots.fixedTip;const Z=be(i,Pn);Z.valueFormat=null,Z.disabled=!1,Z.readonly=u.value||f.value,Z.visible=$.value,Z["onUpdate:visible"]=z,Z.modelValue=y.value,Z["onUpdate:modelValue"]=V,Z.onClear=B;const oe={};if(c.slots.top){const Ce=c.slots.top();oe.top=()=>Ce}if(c.slots.bottom){const Ce=c.slots.bottom();oe.default=()=>Ce}const ne=t.h(r,Z,oe);Y.hide=()=>[ne];const ae=be(i,fe,ue);return t.h(l,ae,Y)}}}}const{create:fu,componentName:mu,scope:pu}=K("date-item"),Rn=fu(uu(mu,pu,Ne,ee.CircleClose,ee.Date,Ao,!1)),hu=39,gu=64,{create:yu,scope:ku}=K("calendar-pane"),bu=yu({props:{type:{type:String,default:"one"},valueFormat:{type:String,default:"YYYY-MM-DD"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},showToday:{type:Boolean,default:!0},title:{type:String,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Array],default:""},startDate:{type:String,default:le.getDay(0)},endDate:{type:String,default:le.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:o,slots:l}){const{toLocaleRefs:n,t:a}=se.useFoxI18n(ku),r=n(e,["title","confirmText","startText","endText","today"]),s=JSON.parse(a("weekdays")),i=t.ref([...s.slice(e.firstDayOfWeek,7),...s.slice(0,e.firstDayOfWeek)]),c=t.ref(null),u=t.ref(null),f=t.ref(null),m=t.ref(null),h=t.ref(0),b=t.computed(()=>d.monthsData.slice(d.defaultRange[0],d.defaultRange[1])),g=t.computed(()=>l.btn),k=t.computed(()=>l["top-info"]),y=t.computed(()=>l["bottom-info"]),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:"fox-calendar__day",startData:"",endData:"",isRange:e.type==="range",timer:0,currentIndex:0,containerHeight:0,avgHeight:0,monthsNum:0}),p=O=>O.split("-"),S=O=>le.isEqual(d.currDate[0],O),w=O=>le.isEqual(d.currDate[1],O),E=O=>d.currDate?.length>0?d.currDate?.some(F=>le.isEqual(F,O)):!1,$=(O,F)=>F.curData[0]+"-"+F.curData[1]+"-"+le.getNumTwoBit(+O.day),q=(O,F)=>{const U=$(O,F),{type:J}=e;return O.type=="curr"?le.isEqual(d.currDate,U)||(J=="range"||J=="week")&&(S(U)||w(U))||J=="multiple"&&E(U)?`${d.dayPrefix}--active`:d.propStartDate&&le.compareDate(U,d.propStartDate)||d.propEndDate&&le.compareDate(d.propEndDate,U)?`${d.dayPrefix}--disabled`:(J=="range"||J=="week")&&Array.isArray(d.currDate)&&Object.values(d.currDate).length==2&&le.compareDate(d.currDate[0],U)&&le.compareDate(U,d.currDate[1])?`${d.dayPrefix}--choose`:null:`${d.dayPrefix}--disabled`},D=()=>{const{type:O}=e;if(O=="range"&&d.chooseData.length==2||O!="range"){let F=d.chooseData.slice(0);O=="week"&&(F={weekDate:[V(d.chooseData[0]),V(d.chooseData[1])]}),o("choose",F),e.poppable&&o("update")}},z=(O,F,U=!1)=>{if(q(O,F)!=`${d.dayPrefix}--disabled`){const{type:J}=e;let[v,j]=F.curData,Y=[...F.curData];if(Y[2]=le.getNumTwoBit(Number(O.day)),Y[3]=`${Y[0]}-${Y[1]}-${Y[2]}`,Y[4]=le.getWhatDay(+Y[0],+Y[1],+Y[2]),J=="multiple")if(d.currDate?.length>0){let Z;d.currDate?.forEach((oe,ne)=>{oe==Y[3]&&(Z=ne)}),U?d.chooseData.push([...Y]):Z!==void 0?(d.currDate.splice(Z,1),d.chooseData.splice(Z,1)):(d.currDate.push(Y[3]),d.chooseData.push([...Y]))}else d.currDate=[Y[3]],d.chooseData=[[...Y]];else if(J=="range"){let Z=Object.values(d.currDate).length;Z==2||Z==0?d.currDate=[Y[3]]:le.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]]:le.compareDate(d.chooseData[0][3],Y[3])?d.chooseData=[...d.chooseData,[...Y]]:d.chooseData=[[...Y],...d.chooseData]}else if(J=="week"){let Z=le.getWeekDate(v,j,O.day,e.firstDayOfWeek);d.propStartDate&&le.compareDate(Z[0],d.propStartDate)&&Z.splice(0,1,d.propStartDate),d.propEndDate&&le.compareDate(d.propEndDate,Z[1])&&Z.splice(1,1,d.propEndDate),d.currDate=Z,d.chooseData=[le.formatResultDate(Z[0]),le.formatResultDate(Z[1])]}else d.currDate=Y[3],d.chooseData=[...Y];if(!U){let Z=d.chooseData;J=="week"&&(Z={weekDate:[V(d.chooseData[0]),V(d.chooseData[1])]}),o("select",Z),(e.isAutoBackFill||!e.poppable)&&D()}}},V=O=>{let[F,U,J]=O;return{date:O,monthWeekNum:le.getMonthWeek(F,U,J,e.firstDayOfWeek),yearWeekNum:le.getYearWeek(F,U,J,e.firstDayOfWeek)}},A=O=>{const F=O=="prev"?d.monthsData[0]:d.monthsData[d.monthsData.length-1];let U=parseInt(F.curData[0]),J=parseInt(F.curData[1].toString().replace(/^0/,""));switch(O){case"prev":J==1&&(U-=1),J=J==1?12:--J;break;case"next":J==12&&(U+=1),J=J==12?1:++J;break}return[U+"",le.getNumTwoBit(J),le.getMonthDays(String(U),String(J))+""]},L=(O,F,U)=>{let{year:J,month:v}=U;return F=="prev"&&O>=7&&(O-=7),Array.from(Array(O),(j,Y)=>({day:String(Y+1),type:F,year:J,month:v}))},P=(O,F,U,J)=>{O=O-e.firstDayOfWeek;let{year:v,month:j}=U;return F=="prev"&&O>=7&&(O-=7),Array.from(Array(J),(Z,oe)=>({day:String(oe+1),type:F,year:v,month:j})).slice(J-O)},T=(O,F)=>{const U=le.getMonthPreDay(+O[0],+O[1]);let J=Number(O[1])-1,v=Number(O[0]);J<=0&&(J=12,v+=1);const j=le.getMonthDays(String(O[0]),String(O[1])),Y=le.getMonthDays(v+"",J+""),Z={year:O[0],month:O[1]},oe={curData:O,title:a("monthTitle",{year:Z.year,month:Z.month}),monthData:[...P(U,"prev",{month:String(J),year:String(v)},Y),...L(j,"curr",Z)],cssHeight:0,cssScrollHeight:0},ne=oe.monthData.length>35?6:5;oe.cssHeight=hu+gu*ne;let ae=0;d.monthsData.length>0&&(ae=d.monthsData[d.monthsData.length-1].cssScrollHeight+d.monthsData[d.monthsData.length-1].cssHeight),oe.cssScrollHeight=ae,F=="next"?(!d.endData||!le.compareDate(`${d.endData[0]}-${d.endData[1]}-${le.getMonthDays(d.endData[0],d.endData[1])}`,`${O[0]}-${O[1]}-${O[2]}`))&&d.monthsData.push(oe):!d.startData||!le.compareDate(`${O[0]}-${O[1]}-${O[2]}`,`${d.startData[0]}-${d.startData[1]}-01`)?d.monthsData.unshift(oe):d.unLoadPrev=!0},N=()=>{let O=e.startDate?e.startDate:le.getDay(0),F=e.endDate?e.endDate:le.getDay(365);d.propStartDate=O,d.propEndDate=F,d.startData=p(O),d.endData=p(F),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(d.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const U={year:Number(d.startData[0]),month:Number(d.startData[1])},J={year:Number(d.endData[0]),month:Number(d.endData[1])};let v=J.month-U.month;J.year-U.year>0&&(v=v+12*(J.year-U.year)),v<=0&&(v=1),T(d.startData,"next");let j=1;do T(A("next"),"next");while(j++<v);if(d.monthsNum=v,e.type=="range"&&Array.isArray(d.currDate))d.currDate.length>0&&(O&&le.compareDate(d.currDate[0],O)&&d.currDate.splice(0,1,O),F&&le.compareDate(F,d.currDate[1])&&d.currDate.splice(1,1,F),d.defaultData=[...p(d.currDate[0]),...p(d.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(d.currDate)){if(d.currDate.length>0){let Y=[],Z={};d.currDate.forEach(oe=>{O&&!le.compareDate(oe,O)&&F&&!le.compareDate(F,oe)&&(Object.hasOwnProperty.call(Z,oe)||(Y.push(oe),Z[oe]=oe))}),d.currDate=[...Y],d.defaultData=[...p(Y[0])]}}else if(e.type=="week"&&Array.isArray(d.currDate)){if(d.currDate.length>0){let[Y,Z,oe]=p(d.currDate[0]),ne=le.getWeekDate(Y,Z,oe,e.firstDayOfWeek);d.currDate=ne,O&&le.compareDate(d.currDate[0],O)&&d.currDate.splice(0,1,O),F&&le.compareDate(F,d.currDate[1])&&d.currDate.splice(1,1,F),d.defaultData=[...p(d.currDate[0]),...p(d.currDate[1])]}}else d.currDate&&(O&&le.compareDate(d.currDate,O)?d.currDate=O:F&&!le.compareDate(d.currDate,F)&&(d.currDate=F),d.defaultData=[...p(d.currDate)])};De({scrollToDate:O=>{le.compareDate(O,d.propStartDate)?O=d.propStartDate:le.compareDate(O,d.propEndDate)||(O=d.propEndDate);let F=p(O);d.monthsData.forEach((U,J)=>{if(U.title==a("monthTitle",{year:F[0],month:F[1]})&&c.value){let v=d.monthsData[J].cssScrollHeight-c.value.scrollTop;if(e.toDateAnimation){let j=0,Y=setInterval(()=>{if(j++,c.value){let Z=v/10;c.value.scrollTop=c.value.scrollTop+Z}j>=10&&(clearInterval(Y),c.value&&(c.value.scrollTop=d.monthsData[J].cssScrollHeight))},40)}else c.value.scrollTop=d.monthsData[J].cssScrollHeight}})},initPosition:()=>{c?.value&&(c.value.scrollTop=d.monthsData[d.currentIndex].cssScrollHeight)},doLayout:()=>{let O=0,F=0;d.defaultData.length>0&&d.monthsData.forEach((v,j)=>{v.title==a("monthTitle",{year:d.defaultData[0],month:d.defaultData[1]})&&(O=j),(e.type=="range"||e.type=="week")&&v.title==a("monthTitle",{year:d.defaultData[3],month:d.defaultData[4]})&&(F=j)}),M(d.monthsNum,O),d.currentIndex=O,d.yearMonthTitle=d.monthsData[d.currentIndex].title,d.defaultData.length>0&&(d.isRange?(z({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0),z({day:d.defaultData[5],type:"curr"},d.monthsData[F],!0)):e.type=="week"?z({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0):e.type=="multiple"?[...d.currDate].forEach(v=>{let j=p(v),Y=d.currentIndex;d.monthsData.forEach((Z,oe)=>{Z.title==a("monthTitle",{year:j[0],month:j[1]})&&(Y=oe)}),z({day:j[2],type:"curr"},d.monthsData[Y],!0)}):z({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0));let U=d.monthsData[d.monthsData.length-1],J=U.cssHeight+U.cssScrollHeight;We(()=>{c?.value&&u?.value&&m?.value&&(h.value=c.value.clientHeight,u.value.style.height=`${J}px`,c.value.scrollTop=d.monthsData[d.currentIndex].cssScrollHeight)}),d.avgHeight=Math.floor(J/(d.monthsNum+1))}});const M=(O,F)=>{O>=3?F>0&&F<O?d.defaultRange=[F-1,F+3]:F==0?d.defaultRange=[F,F+4]:F==O&&(d.defaultRange=[F-2,F+2]):d.defaultRange=[0,O+2];let U=d.monthsData[d.defaultRange[0]].cssScrollHeight;d.translateY=U},x=(O,F)=>(e.type=="range"||e.type=="week")&&O.type=="curr"&&q(O,F)=="fox-calendar__day--active",W=(O,F)=>x(O,F)&&S($(O,F)),_=(O,F)=>d.currDate.length>=2&&w($(O,F))?x(O,F):!1,G=()=>{if(d.currDate.length>=2)return le.isEqual(d.currDate[0],d.currDate[1])},te=O=>{const F=`${O.year}-${O.month}-${Number(O.day)<10?"0"+O.day:O.day}`;return le.isEqual(F,le.date2Str(new Date))},X=O=>{if(d.monthsData.length<=1)return;const F=O.target.scrollTop;let U=Math.floor(F/d.avgHeight);if(U==0)F>=d.monthsData[U+1].cssScrollHeight&&(U+=1);else if(U>0&&U<d.monthsNum-1)F>=d.monthsData[U+1].cssScrollHeight&&(U+=1),F<d.monthsData[U].cssScrollHeight&&(U-=1);else{const J=Math.round(F+h.value);J<d.monthsData[U].cssScrollHeight+d.monthsData[U].cssHeight&&F>d.monthsData[U-1].cssScrollHeight&&(U-=1),U+1<=d.monthsNum&&J>=d.monthsData[U+1].cssScrollHeight+d.monthsData[U+1].cssHeight&&(U+=1),U>=1&&F<d.monthsData[U-1].cssScrollHeight&&(U-=1)}d.currentIndex!==U&&(d.currentIndex=U,M(d.monthsNum,U)),d.yearMonthTitle=d.monthsData[U].title},H=()=>{d.chooseData.splice(0),d.monthsData.splice(0),N()};return N(),t.watch(()=>e.defaultValue,O=>{O&&e.poppable&&H()}),{weeks:i,compConthsData:b,showTopBtn:g,topInfo:k,bottomInfo:y,rangeTip:G,mothsViewScroll:X,getClass:q,isStartTip:W,isEndTip:_,chooseDay:z,isCurrDay:te,confirm:D,months:c,...t.toRefs(d),...t.toRefs(e),...r,monthsPanel:u,weeksPanel:f,viewArea:m}}}),Su={class:"fox-calendar__header"},Cu={key:0,class:"fox-calendar__header-title"},wu={key:1,class:"fox-calendar__header-slot"},Nu={key:2,class:"fox-calendar__header-subtitle"},Bu={class:"fox-calendar__weekdays",ref:"weeksPanel"},Vu={class:"fox-calendar__panel",ref:"monthsPanel"},Au={class:"fox-calendar__month-title"},Eu={class:"fox-calendar__days"},Tu=["onClick"],$u={class:"fox-calendar__day-value"},Du={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},Iu={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},zu={key:2,class:"fox-calendar__day-tips--curr"},qu={key:4,class:"fox-calendar__day-tip"},Mu={key:0,class:"fox-calendar__footer"};function Pu(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-calendar",{"fox-calendar--nopop":!e.poppable,"fox-calendar--nofooter":e.isAutoBackFill}])},[t.createElementVNode("view",Su,[e.showTitle?(t.openBlock(),t.createElementBlock("view",Cu,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.showTopBtn?(t.openBlock(),t.createElementBlock("view",wu,[t.renderSlot(e.$slots,"btn")])):t.createCommentVNode("",!0),e.showSubTitle?(t.openBlock(),t.createElementBlock("view",Nu,t.toDisplayString(e.yearMonthTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("view",Bu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.weeks,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-calendar__weekday",key:i},t.toDisplayString(s),1))),128))],512)]),t.createElementVNode("view",{class:"fox-calendar__content",ref:"months",onScroll:o[0]||(o[0]=(...s)=>e.mothsViewScroll&&e.mothsViewScroll(...s))},[t.createElementVNode("view",Vu,[t.createElementVNode("view",{class:"fox-calendar__body",ref:"viewArea",style:t.normalizeStyle({transform:`translateY(${e.translateY}px)`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.compConthsData,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-calendar__month",key:i},[t.createElementVNode("view",Au,t.toDisplayString(s.title),1),t.createElementVNode("view",Eu,[t.createElementVNode("view",{class:t.normalizeClass(["fox-calendar__days-item",e.type==="range"?"fox-calendar__days-item--range":""])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.monthData,(c,u)=>(t.openBlock(),t.createElementBlock("view",{key:u,class:t.normalizeClass(["fox-calendar__day",e.getClass(c,s)]),onClick:f=>e.chooseDay(c,s)},[t.createElementVNode("view",$u,[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",Du,[t.renderSlot(e.$slots,"top-info",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),e.bottomInfo?(t.openBlock(),t.createElementBlock("view",Iu,[t.renderSlot(e.$slots,"bottom-info",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(c)?(t.openBlock(),t.createElementBlock("view",zu,t.toDisplayString(e.today),1)):t.createCommentVNode("",!0),e.isStartTip(c,s)?(t.openBlock(),t.createElementBlock("view",{key:3,class:t.normalizeClass(["fox-calendar__day-tip",{"fox-calendar__day-tips--top":e.rangeTip()}])},t.toDisplayString(e.startText),3)):t.createCommentVNode("",!0),e.isEndTip(c,s)?(t.openBlock(),t.createElementBlock("view",qu,t.toDisplayString(e.endText),1)):t.createCommentVNode("",!0)],10,Tu))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?(t.openBlock(),t.createElementBlock("view",Mu,[t.createElementVNode("view",{class:"fox-calendar__confirm",onClick:o[1]||(o[1]=(...s)=>e.confirm&&e.confirm(...s))},t.toDisplayString(e.confirmText),1)])):t.createCommentVNode("",!0)],2)}const Hr=Q(bu,[["render",Pu]]),Ru=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),Ln={type:{type:String,default:"one"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},visible:{type:Boolean,default:!1},showToday:{type:Boolean,default:!0},title:{type:String,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Array]},startDate:{type:String},endDate:{type:String},firstDayOfWeek:{type:Number,default:0,validator:e=>e>=0&&e<=6}},{create:Lu}=K("calendar"),Ou=Lu({components:{[Hr.name]:Hr,[ce.name]:ce},props:{...Ln},emits:["choose","close","update:visible","select"],setup(e,{emit:o,slots:l}){const n=t.computed(()=>l.btn),a=t.computed(()=>l["top-info"]),r=t.computed(()=>l.day),s=t.computed(()=>l["bottom-info"]),i=t.ref(null),c=k=>{i.value?.scrollToDate(k)},u=()=>{i.value?.initPosition()};t.watch(()=>e.visible,k=>{k&&t.nextTick(()=>{i.value?i.value.doLayout():setTimeout(()=>{i.value&&i.value.doLayout()},250)})}),De({scrollToDate:c,initPosition:u});const f=()=>{o("update:visible",!1)},m=()=>{o("close"),o("update:visible",!1)};return{closePopup:()=>{m()},update:f,close:m,select:k=>{o("select",k)},choose:k=>{m(),o("choose",k)},calendarRef:i,showTopBtn:n,topInfo:a,dayInfo:r,bottomInfo:s}}});function Fu(e,o,l,n,a,r){const s=t.resolveComponent("fox-calendar-pane"),i=t.resolveComponent("fox-popup");return e.poppable?(t.openBlock(),t.createBlock(i,t.mergeProps({key:0,visible:e.visible,position:"bottom",round:"",closeable:""},e.$attrs,{onClickOverlay:e.closePopup,onClickCloseIcon:e.closePopup,style:{height:"85vh"}}),{default:t.withCtx(()=>[t.createVNode(s,{ref:"calendarRef",type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,"default-value":e.defaultValue,"start-date":e.startDate,"end-date":e.endDate,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"show-today":e.showToday,"show-title":e.showTitle,"show-sub-title":e.showSubTitle,"to-date-animation":e.toDateAnimation,"first-day-of-week":e.firstDayOfWeek},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:"top-info",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"top-info",{date:c.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"bottom-info",{date:c.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","confirm-text","start-text","end-text","show-today","show-title","show-sub-title","to-date-animation","first-day-of-week"])]),_:3},16,["visible","onClickOverlay","onClickCloseIcon"])):(t.openBlock(),t.createBlock(s,{key:1,type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,ref:"calendarRef","confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"default-value":e.defaultValue,"start-date":e.startDate,"end-date":e.endDate,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"show-title":e.showTitle,"show-sub-title":e.showSubTitle,"to-date-animation":e.toDateAnimation,"show-today":e.showToday,"first-day-of-week":e.firstDayOfWeek},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:"top-info",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"top-info",{date:c.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"bottom-info",{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","onUpdate","onClose","onChoose","onSelect","show-title","show-sub-title","to-date-animation","show-today","first-day-of-week"]))}const Eo=Q(Ou,[["render",Fu]]),On=(e,o)=>{let l;return Le(e)?l=e:typeof e=="string"&&ge(e)>0?l=le.parser(e,o):l=new Date,l},mt=(e,o,l)=>(Le(o)||(o=new Date),le.format(o,l)),pt=e=>{let o=`${e.getFullYear()}`,l=`${e.getMonth()+1}`,n=`${e.getDate()}`,a=le.date2Str(e),r=le.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[o,l,n,a,r]};function xu(e,o,l,n,{CloseIcon:a,MarkIcon:r},s=!1){return{props:{...ue,...fe,...Ln,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(i,c){const u=Ve(t.computed(()=>i.disabled)),f=$e(t.computed(()=>i.readonly)),{emitEvent:m}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!u.value&&!f.value}},i.prop??c.attrs.name),{toLocaleRefs:h}=se.useFoxI18n(o),b=h(i,["placeholder"]),g=t.ref(!1),k=t.computed(()=>i.type==="range"),y=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),d=()=>{y.startDate!==null&&(y.startDate=null,y.endDate=null,y.startArray=[],y.endArray=[])},p=(X,H="one",O="YYYY-MM-DD")=>{if(Ru(X)){d();return}if(k.value&&Array.isArray(X)&&X.length==2){let F,U;typeof X[0]=="string"?(F=On(X[0],O),U=On(X[1],O)):(F=X[0],U=X[1]);let J=pt(F),v=pt(U);(y.startDate===null||y.startDate.getTime()!==F.getTime()||y.endDate?.getTime()!==U.getTime())&&(y.startDate=F,y.startArray=J,y.endDate=U,y.endArray=v)}else{let F;typeof X=="string"?F=On(X,O):F=X;let U=pt(F);(y.startDate===null||y.startDate.getTime()!==F.getTime())&&(y.startDate=F,y.startArray=U)}};p(i.modelValue,i.type,i.valueFormat),t.watch(()=>i.modelValue,X=>{p(X,i.type,i.valueFormat)});const S=t.computed(()=>{if(y.startDate===null)return"";if(k.value){let X=mt(i,y.startDate,i.format),H=mt(i,y.endDate,i.format);return`${X} ${i.rangeSeparator} ${H}`}else{let X=mt(i,y.startDate,i.format);return i.showWeek&&(X=`${X} ${y.startArray[4]}`),X}}),w=t.computed(()=>{if(y.startDate===null)return null;if(k.value){let X=le.date2Str(y.startDate),H=le.date2Str(y.endDate??new Date);return[X,H]}else return le.date2Str(y.startDate)}),E="fox-input-item",$=t.computed(()=>({[E]:!0,[`${E}__disabled`]:u.value})),q=Te(t.computed(()=>i.textAlign),"textAlign"),D=t.computed(()=>{const X={};return q.value&&(X["text-align"]=q.value),X}),z=t.ref(!1),V=()=>{f.value||u.value||(z.value=!0)},A=X=>{z.value=X},L=X=>{if(X){if(k.value&&Array.isArray(X)){let H=X[0],O=me(H[0]),F=me(H[1]),U=me(H[2]),J=new Date(O,F-1,U),v=X[1];O=me(v[0]),F=me(v[1]),U=me(v[2]);let j=new Date(O,F-1,U);if(y.startDate=J,y.startArray=pt(J),y.endDate=j,y.endArray=pt(j),i.valueFormat){let Y=mt(i,J,i.valueFormat),Z=mt(i,j,i.valueFormat);m("update:modelValue",[Y,Z],{})}else m("update:modelValue",[J,j],{})}else{let H=X,O=me(H[0]),F=me(H[1]),U=me(H[2]),J=new Date(O,F-1,U);if(y.startDate=J,y.startArray=pt(J),i.valueFormat){let v=mt(i,J,i.valueFormat);m("update:modelValue",v,{})}else m("update:modelValue",J,{})}m("change",X,{})}},P=X=>{let O=X.target.value;g.value=!0,m("focus",O,X)},T=X=>{setTimeout(()=>{g.value=!1},0);let O=X.target.value;i.maxLength&&O.length>Number(i.maxLength)&&(O=O.slice(0,Number(i.maxLength))),m("blur",O,X)},N=t.computed(()=>({[`${E}__append`]:!0})),I=t.computed(()=>ge(i.unit)>0),B=t.computed(()=>ge(i.unit)>0&&!g.value),R=t.computed(()=>({hidden:!B.value})),M=X=>{d(),m("update:modelValue",null,X),m("change","",X),m("clear","")},x=t.computed(()=>i.clearable&&!u.value&&!f.value),W=t.computed(()=>{let X=ge(S.value)>0;return i.clearable&&X&&g.value}),_=X=>{W.value?M(X):V()},G=t.computed(()=>W.value&&x.value?a:r),te=t.computed(()=>({action:!0}));return()=>{const X={class:$.value,style:D.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:S.value,onClick:V,onFocus:P,onBlur:T};s&&(X.disabled=!0);const H=[],O=t.h("input",X);H.push(O);const F=[],U={class:["action-icon"]},J=t.h(G.value,U),v={class:te.value,onClick:_},j=t.h("view",v,{default:()=>[J]});if(F.push(j),I.value){const Yt=t.h("view",{class:R.value},[i.unit]);F.push(Yt)}const Y={class:N.value},Z=t.h("view",Y,{default:()=>F});H.push(Z);const oe={default:()=>H};oe.label=c.slots.default,oe.prepend=c.slots.prepend,oe.append=c.slots.append,oe.fixedPreTip=c.slots.fixedPreTip,oe.fixedTip=c.slots.fixedTip;const ne=be(i,Ln);ne.visible=z.value,ne["onUpdate:visible"]=A,ne["default-value"]=w.value,ne.onChoose=L;const ae={};if(c.slots.btn){const Yt=c.slots.btn();ae.btn=()=>Yt}c.slots.day&&(ae.day=c.slots.day),c.slots.topInfo&&(ae.topInfo=c.slots.topInfo),c.slots.bottomInfo&&(ae.bottomInfo=c.slots.bottomInfo);const pe=t.h(l,ne,ae);oe.hide=()=>[pe];const Ce=be(i,fe,ue);return t.h(n,Ce,oe)}}}}const{componentName:Ku,create:Uu,scope:Hu}=K("calendar-item"),Fn=Uu(xu(Ku,Hu,Eo,Ne,{CloseIcon:ee.CircleClose,MarkIcon:ee.Date},!1)),vu={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 ju(e,{CheckNormal:o,Checked:l}){return{props:{...vu},setup(n,{emit:a,slots:r}){let s=t.inject("parent",null);const i=t.computed(()=>s.label.value===n.label),c=t.computed(()=>n.disabled?"fox-radio__icon--disable":i.value?"fox-radio__icon":"fox-radio__icon--unchecked"),u=t.computed(()=>s.position),f=()=>{if(i.value){if(r.checkedIcon)return r.checkedIcon();{const k=ie(n.iconSize),y=n.icon??l;return t.h(y,{width:k,height:k,class:c.value})}}else{if(r.icon)return r.icon();{const k=ie(n.iconSize),y=n.icon??o;return t.h(y,{width:k,height:k,class:c.value})}}},m=()=>t.h("view",{class:`${e}__label ${n.disabled?`${e}__label--disabled`:""}`},r.default?.()),h=()=>t.h("view",{class:`${e}__button ${i.value&&`${e}__button--active`} ${n.disabled?`${e}__button--disabled`:""}`},r.default?.()),b=()=>{i.value||n.disabled||n.readonly||s.updateValue(n.label)},g=u.value==="left";return()=>t.h("view",{class:`${e} ${e}--${n.shape} ${g?`${e}--reverse`:""}`,onClick:b},[n.shape=="button"?h():g?[m(),f()]:[f(),m()]])}}}const{componentName:Wu,create:Yu}=K("radio"),To=Yu(ju(Wu,{CheckNormal:ee.CheckNormal,Checked:ee.CheckChecked})),{componentName:vr,create:Xu}=K("radio-group"),$o=Xu({props:{modelValue:{type:[Object],default:""},direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"}},emits:["change","update:modelValue"],setup(e,{emit:o,slots:l}){const n=a=>o("update:modelValue",a);return t.provide("parent",{label:t.readonly(t.computed(()=>e.modelValue)),position:e.textPosition,updateValue:n}),t.watch(()=>e.modelValue,a=>o("change",a)),()=>t.h("view",{class:`${vr} ${vr}--${e.direction}`},l.default?.())}});function jr(e,o,l,n="value"){for(let a=0;a<o.length;a++){let r=o[a];if(n==="text"){if(Do(e,r)===l)return a}else if(n==="item"){if(Oe(l,r))return a}else if(qt(e,r)===l)return a}return-1}function Do(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function qt(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function Qu(e,o){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?o[e.disabledKey]:o.disabled??null}function Gu(e,o,l){return typeof e.itemOptions=="function"?e.itemOptions(o,l):e.itemOptions}let Zu=class{proxy;constructor(o){this.proxy=o}async load(o,l,n){if(Array.isArray(l))return l;if(typeof l=="function")return await l(n);let a=At(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):(Ie(n)&&t.isReactive(n)&&(n=t.toRaw(n)),await a(l,n))}};function Ju(){const e=t.getCurrentInstance();return new Zu(e.proxy)}function _u(e){return{text:e,value:e}}const Wr={shape:{type:String,default:"round"},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number],default:""}},ef={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"}};function tf(e,o,l,n,a){return{props:{...ue,...fe,...Wr,...ef,source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},modelValue:{type:[Number,String,Boolean,Object],default:""}},emits:["change","update:modelValue"],setup(r,s){const i=$e(t.computed(()=>r.readonly)),c=Ve(t.computed(()=>r.disabled)),{emitEvent:u}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus"],get validate(){return!c.value||!i.value}},r.prop??s.attrs.name),f=Ju(),m=t.ref([]);t.watch([()=>r.source,()=>r.params],async([y,d])=>{if(y){const p=await f.load("radio",y,d);if(p.length>0)if(typeof p[0]=="string"){const E=p.map($=>_u($));m.value=E}else m.value=p}},{immediate:!0});let h=t.ref(-1);t.watch([()=>r.modelValue,()=>m.value],async([y,d])=>{h.value=jr(r,d,y,r.valueType)},{deep:!0});const b=t.computed(()=>{if(!r.source)return r.modelValue;if(h.value===-1)return null;const y=m.value[h.value];return qt(r,y)}),g=y=>{let d=null,p=null;if(m.value.length>0){let S=jr(r,m.value,y,"value");h.value=S,S>=0&&(p=m.value[S],r.valueType==="text"?d=Do(r,p):r.valueType==="item"?d=p:d=qt(r,p))}else d=y;u("update:modelValue",d),u("change",d,p)},k=()=>{let y=null,d=null;if(m.value.length>0&&h.value!==-1){let p=m.value[h.value];r.valueType==="text"?y=Do(r,p):r.valueType==="item"?y=p:y=qt(r,p)}u("update:modelValue",y),u("change",y,d)};if(De({clear(){h.value!==-1&&(h.value=-1,k())}}),r.source){const y=()=>{const d=[],p=be(r,Wr);return m.value.forEach((S,w)=>{const E=qt(r,S),$=Qu(r,S);let q={...p,label:E,disabled:$};const D=Gu(r,S,w);q={...q,...D},c.value&&(q.disabled=!0),i.value&&(q.readonly=!0);const z={};if(s.slots.icon&&(z.icon=s.slots.icon),s.slots.checkedIcon&&(z.checkedIcon=s.slots.checkedIcon),typeof s.slots.text=="function"){const A=s.slots.text(S);z.default=()=>[A]}else{const A=Do(r,S);z.default=()=>A}let V=t.h(a,q,z);d.push(V)}),d};return()=>{const d=y(),p={class:`${e}`,direction:r.direction,textPosition:r.textPosition,modelValue:b,"onUpdate:modelValue":g},S=t.h(n,p,{default:()=>d}),w={default:()=>S};w.label=s.slots.default,w.prepend=s.slots.prepend,w.append=s.slots.append,w.fixedPreTip=s.slots.fixedPreTip,w.fixedTip=s.slots.fixedTip;const E=be(r,fe,ue);return t.h(l,E,w)}}else return()=>{const y=s.slots.options?.()??[];return t.h(n,{class:`${e}`,direction:r.direction,textPosition:r.textPosition,modelValue:b,"update:modelValue":g},{default:()=>y})}}}}const{componentName:of,create:nf,scope:lf}=K("radio-item"),xn=nf(tf(of,lf,Ne,$o,To)),af=(e,{CheckNormal:o,Checked:l,Indeterminate:n})=>({props:{modelValue:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},textPosition:{type:String,default:"right"},icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},label:{type:[String,Number,Boolean],default:""},indeterminate:{type:Boolean,default:!1},shape:{type:String,default:"round"}},emits:["change","update:modelValue"],setup(a,{emit:r,slots:s}){const i=t.inject("parent",null),c=t.reactive({partialSelect:a.indeterminate});t.watch(()=>a.indeterminate,S=>{c.partialSelect=S});const u=t.computed(()=>!!i),f=t.computed(()=>u.value?i.value.value.includes(a.label):!!a.modelValue),m=t.computed(()=>u.value?i.position:a.textPosition),h=t.computed(()=>a.disabled?"fox-checkbox__icon--disable":c.partialSelect?"fox-checkbox__icon--indeterminate":f.value?"fox-checkbox__icon":"fox-checkbox__icon--unchecked");let b="";const g=(S,w)=>{b="click",r("update:modelValue",S),r("change",S,w)};t.watch(()=>a.modelValue,S=>{b=="click"?b="":r("change",S)});const k=()=>{if(c.partialSelect){if(s.indeterminateIcon)return s.indeterminateIcon();{const S=ie(a.iconSize),w=a.indeterminateIcon??n;return t.h(w,{width:S,height:S,class:h.value})}}else if(f.value){if(s.checkedIcon)return s.checkedIcon();{const S=ie(a.iconSize),w=a.checkedIcon??l;return t.h(w,{width:S,height:S,class:h.value})}}else{if(s.icon)return s.icon();{const S=ie(a.iconSize),w=a.icon??o;return t.h(w,{width:S,height:S,class:h.value})}}},y=()=>t.h("view",{class:`${e}__label ${a.disabled?`${e}__label--disabled`:""}`},s.default?.()),d=()=>t.h("view",{class:`${e}__button ${f.value&&`${e}__button--active`} ${a.disabled?`${e}__button--disabled`:""}`},s.default?.()),p=S=>{if(!(a.disabled||a.readonly)){if(f.value&&c.partialSelect){c.partialSelect=!1,g(f.value,s.default?.()[0].children);return}if(g(!f.value,s.default?.()[0].children),u.value){const w=i.value.value,E=i.max.value,{label:$}=a,q=w.indexOf($);q>-1?w.splice(q,1):q<=-1&&(w.length<E||!E)&&w.push($),i.updateValue(w)}}};return t.onMounted(()=>{u.value&&i.link(t.getCurrentInstance())}),t.onBeforeUnmount(()=>{u.value&&i.unlink(t.getCurrentInstance())}),()=>t.h("view",{class:`${e} ${e}--${a.shape} ${m.value==="left"?`${e}--reverse`:""}`,onClick:p},[a.shape=="button"?d():[k(),y()]])}}),{componentName:rf,create:sf}=K("checkbox"),Io=sf(af(rf,{CheckNormal:ee.CheckNormal,Checked:ee.Checked,Indeterminate:ee.CheckDisabled})),{create:cf,componentName:Yr}=K("checkbox-group"),zo=cf({props:{modelValue:{type:Array,default:()=>[]},textPosition:{type:String,default:"right"},direction:{type:String,default:"vertical"},max:{type:Number,default:0}},emits:["change","update:modelValue"],setup(e,{slots:o,emit:l}){const n=t.reactive({children:[]}),a=u=>{u.proxy&&n.children.push(u.proxy)},r=u=>{u.proxy&&(n.children=n.children.filter(f=>f!==u.proxy))},s=u=>{l("update:modelValue",u),l("change",u)},i=u=>{const f=[];u&&n.children.forEach(m=>{m?.disabled||f.push(m?.label)}),l("update:modelValue",f)},c=()=>{const u=n.children.filter(f=>f?.disabled?!1:!e.modelValue.includes(f.label)).map(f=>f.label);l("update:modelValue",u)};return t.provide("parent",{value:t.computed(()=>Array.isArray(e.modelValue)?e.modelValue:[]),position:e.textPosition,max:t.computed(()=>e.max),updateValue:s,link:a,unlink:r}),t.watch(()=>e.modelValue,u=>{l("change",u)}),De({toggleAll:i,toggleReverse:c}),()=>t.h("view",{class:`${Yr} ${Yr}--${e.direction}`},o.default?.())}});function Xr(e,o,l,n="value"){for(let a=0;a<o.length;a++){let r=o[a];if(n==="text"){if(Kn(e,r)===l)return a}else if(n==="item"){if(Oe(l,r))return a}else if(qo(e,r)===l)return a}return-1}function Kn(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function qo(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function df(e,o){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?o[e.disabledKey]:o.disabled??null}function uf(e,o,l){return typeof e.itemOptions=="function"?e.itemOptions(o,l):e.itemOptions}class ff{proxy;constructor(o){this.proxy=o}async load(o,l,n){if(Array.isArray(l))return l;if(typeof l=="function")return await l(n);let a=At(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):(Ie(n)&&t.isReactive(n)&&(n=t.toRaw(n)),await a(l,n))}}function mf(){const e=t.getCurrentInstance();return new ff(e.proxy)}function pf(e){return{text:e,value:e}}const hf={max:{type:Number,default:0},textPosition:{type:String,default:"right"},direction:{type:String,default:"vertical"}},Qr={icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},shape:{type:String,default:"round"}};function gf(e,o,l,n,a){return{props:{...hf,...Qr,...ue,...fe,source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},modelValue:{type:[Array,String],default:[]}},emits:["change","update:modelValue"],setup(r,s){const i=Ve(t.computed(()=>r.disabled)),c=Ve(t.computed(()=>r.readonly)),{emitEvent:u}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus"],get validate(){return!i.value||!c.value}},r.prop??s.attrs.name),f=mf(),m=t.ref([]);t.watch([()=>r.source,()=>r.params],async([y,d])=>{if(y){const p=await f.load("checkbox",y,d);if(p.length>0)if(typeof p[0]=="string"){const E=p.map($=>pf($));m.value=E}else m.value=p}},{immediate:!0});const h=t.ref([]);t.watch([()=>r.modelValue,()=>m.value],async([y,d])=>{const p=[];Array.isArray(y)&&y.forEach(S=>{let w=Xr(r,d,S,r.valueType);w!==-1&&p.push(w)}),!Oe(p,h.value)&&(h.value=p)},{deep:!0});const b=t.computed(()=>{if(!r.source)return r.modelValue;let y=[];return h.value.forEach(d=>{let p=m.value[d];y.push(qo(r,p))}),y}),g=y=>{let d=[],p=[];if(m.value.length>0){const S=[];Array.isArray(y)&&y.forEach(w=>{let E=Xr(r,m.value,w,"value");E!==-1&&S.push(E);const $=m.value[E];p.push($),r.valueType==="text"?d.push(Kn(r,$)):r.valueType==="item"?d.push($):d.push(qo(r,$))}),h.value=S}else d=y;u("update:modelValue",d),u("change",d,p)},k=t.ref();if(De({toggleAll:y=>{k.value.toggleAll(y)},toggleReverse:()=>{k.value.toggleReverse()}}),r.source){const y=()=>{const d=[],p=be(r,Qr);return m.value.forEach((S,w)=>{const E=qo(r,S),$=df(r,S);let q={...p,label:E,disabled:$};const D=uf(r,S,w);q={...q,...D},i.value&&(q.disabled=!0),c.value&&(q.readonly=!0);const z={};if(s.slots.icon&&(z.icon=s.slots.icon),s.slots.checkedIcon&&(z.checkedIcon=s.slots.checkedIcon),s.slots.indeterminateIcon&&(z.indeterminateIcon=s.slots.indeterminateIcon),typeof s.slots.text=="function"){const A=s.slots.text(S);z.default=()=>[A]}else{const A=Kn(r,S);z.default=()=>A}let V=t.h(a,q,z);d.push(V)}),d};return()=>{const d=y(),p={class:`${e}`,ref:k,direction:r.direction,max:r.max,textPosition:r.textPosition,modelValue:b.value,"onUpdate:modelValue":g},S=t.h(n,p,{default:()=>d}),w={default:()=>S};w.label=s.slots.default,w.prepend=s.slots.prepend,w.append=s.slots.append,w.fixedPreTip=s.slots.fixedPreTip,w.fixedTip=s.slots.fixedTip;const E=be(r,fe,ue);return t.h(l,E,w)}}else return()=>{const y=s.slots.options?.()??[];return t.h("view",{class:`${e}`,ref:k,direction:r.direction,max:r.max,textPosition:r.textPosition,modelValue:b,"onUpdate:modelValue":g},{default:()=>y})}}}}const{componentName:yf,create:kf,scope:bf}=K("checkbox-item"),Un=kf(gf(yf,bf,Ne,zo,Io)),Hn={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:Sf,create:Cf}=K("switch"),wf=Cf({components:{Loading1:ee.Loading1},props:{...Hn},emits:["change","update:modelValue","update:loading"],setup(e,{emit:o}){const l=t.computed(()=>e.modelValue===e.activeValue),n=t.computed(()=>{const i=Sf;return{[i]:!0,[l.value?"fox-switch-open":"fox-switch-close"]:!0,[`${i}-disable`]:e.disable,[`${i}-base`]:!0}}),a=t.computed(()=>({backgroundColor:l.value?e.activeColor:e.inactiveColor}));let r="";const s=i=>{if(e.disable||e.loading)return;r="click";const c=l.value?e.inactiveValue:e.activeValue;o("update:modelValue",c),o("change",c,i)};return t.watch(()=>e.modelValue,i=>{r=="click"?r="":o("change",i)}),{classes:n,style:a,isActive:l,onClick:s}}}),Nf={class:"fox-switch-button"};function Bf(e,o,l,n,a,r){const s=t.resolveComponent("Loading1");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=(...i)=>e.onClick&&e.onClick(...i)),style:t.normalizeStyle(e.style)},[t.createElementVNode("view",Nf,[e.loading?t.renderSlot(e.$slots,"icon",{key:0},()=>[t.createVNode(s,{name:"loading",color:e.activeColor},null,8,["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.isActive]]),t.withDirectives(t.createElementVNode("view",{class:"fox-switch-label close"},t.toDisplayString(e.inactiveText),513),[[t.vShow,!e.isActive]])],64)):t.createCommentVNode("",!0)])],6)}const Mo=Q(wf,[["render",Bf]]);function Vf(e,o,l,n){return{props:{...ue,...fe,...Hn},emits:["change","update:modelValue"],setup(a,r){const s=Ve(t.computed(()=>a.disabled)),i=$e(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus"],get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),u=e,f=ze(a,"modelValue"),m=h=>{f.value=h,c("update:modelValue",h,{}),c("change",h,{})};return()=>{const b={...be(a,Hn),disabled:s.value,readonly:i.value,value:f.value,"onUpdate:modelValue":m},g=[],k=t.h(n,b);g.push(k);const y={default:()=>g};y.label=r.slots.default,y.fixedPreTip=r.slots.fixedPreTip,y.fixedTip=r.slots.fixedTip;const d=be(a,fe,ue);return d["content-class"]=u,t.h(l,d,y)}}}}const{componentName:Af,create:Ef,scope:Tf}=K("switch-item"),vn=Ef(Vf(Af,Tf,Ne,Mo));function $f(e,o,l,n){return{props:{...ue,...fe,placeholder:{type:String,default:""},textAlign:{type:String},modelValue:{type:[String],required:!1},desc:{type:[String],required:!1},icon:{type:[Object],required:!1},iconSize:{type:[String],required:!1,default:""}},emits:["click","focus","blur"],setup(a,r){const{emitEvent:s}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},a.prop??r.attrs.name),{toLocaleRefs:i}=se.useFoxI18n(o),c=i(a,["placeholder"]),u=Ve(t.computed(()=>a.disabled)),f=$e(t.computed(()=>a.readonly)),m=ze(a,"modelValue"),h=t.computed(()=>({[`${e}`]:!0})),b=t.computed(()=>({[`${e}__main`]:!0,[`${e}__disabled`]:u.value,[`${e}__placeholder`]:!u.value&&ke(m.value)})),g=Te(t.computed(()=>a.textAlign),"textAlign"),k=t.computed(()=>{const L={};return g.value&&(L["text-align"]=g.value),L}),y=t.computed(()=>ke(a.modelValue)?!!ke(a.desc):!0),d=t.computed(()=>ke(m.value)?c.placeholder.value:m.value),p=t.computed(()=>!ke(a.desc)),S=t.computed(()=>({[`${e}__sub`]:!0})),w=t.computed(()=>{const L={};return g.value&&(L["text-align"]=g.value),L}),E=()=>{s("focus",m.value)},$=()=>{s("blur",m.value)},q=t.computed(()=>({[`${e}__append`]:!0})),D=t.computed(()=>ge(a.unit)>0),z=L=>{u.value==!0||f.value==!0||s("click")},V=t.computed(()=>a.icon??l),A=t.computed(()=>({action:!0}));return()=>{const L=[];if(typeof r.slots.content=="function"){const G=r.slots.content();L.push(G)}else{const G=[];if(y.value){const H={tabIndex:0,class:b.value,style:k.value,onFocus:E,onBlur:$,onClick:z},O=t.h("view",H,[d.value]);G.push(O)}if(p.value){const H={tabIndex:0,class:S.value,style:w.value,onFocus:E,onBlur:$,onClick:z},O=t.h("view",H,[a.desc]);G.push(O)}const te={class:h.value},X=t.h("view",te,G);L.push(X)}const P=[],T=ie(a.iconSize);let N=r.slots.icon;if(!N){const G={width:T,height:T,class:["action-icon"]};N=t.h(V.value,G)}const I={class:A.value,onClick:z},B=t.h("view",I,{default:()=>[N]});if(P.push(B),D.value){const G=t.h("view",{},[a.unit]);P.push(G)}const R={class:q.value},M=t.h("view",R,{default:()=>P});L.push(M);const x={default:()=>L};x.label=r.slots.default,x.prepend=r.slots.prepend,x.append=r.slots.append,x.fixedPreTip=r.slots.fixedPreTip,x.fixedTip=r.slots.fixedTip;const W=be(a,fe,ue);return t.h(n,W,x)}}}}const{componentName:Df,create:If,scope:zf}=K("link-item"),jn=If($f(Df,zf,ee.ArrowRight,Ne)),Wn={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:qf,componentName:Mf}=K("rate"),Pf=qf({props:{...Wn},emits:["update:modelValue","change"],setup(e,{emit:o,slots:l}){const n=t.ref([]),a=t.computed(()=>({[Mf]:!0})),r=b=>{o("update:modelValue",b),o("change",b)},s=(b,g)=>{if(e.disabled||e.readonly)return;let k=0;g===1&&e.modelValue===g||(k=g,e.allowHalf&&b==2&&(k-=.5)),r(k)},i=(b,g,k)=>{let y=0;for(let d=g.value.length-1;d>=0;d--){const p=g.value[d];if(b>p.offsetLeft){k?y=d+(b>p.offsetLeft+p.clientWidth/2?1:.5):y=d+1;break}}return y},c=Ue(),u={onTouchStart(b){!e.touchable||e.readonly||c.start(b)},onTouchMove(b){e.touchable&&(c.move(b),c.isHorizontal()&&n.value&&(b.preventDefault(),r(i(c.moveX.value,n,e.allowHalf))))}},f=Math.random().toString(36).slice(-8),m=t.computed(()=>e.customIcon??ee.StarFillN);return{classes:a,...u,onClick:s,toPxDesc:de,renderIcon:(b,g)=>t.h(b,g),rateRefs:n,refRandomId:f,slots:l,customIcon:m}}}),Rf=["id"],Lf={class:"fox-rate-item__icon--full"},Of={key:0,class:"fox-rate-item__icon--half"},Ff={key:1,class:"fox-rate-item__icon--half"};function xf(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onTouchstart:o[0]||(o[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:o[1]||(o[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(s<Number(e.count)?{marginRight:e.toPxDesc(e.spacing)}:{})},[t.createElementVNode("view",Lf,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:s<=e.modelValue?e.activeColor:e.voidColor})),{class:t.normalizeClass(["fox-rate-item__icon",{"fox-rate-item__icon--disabled":e.disabled||s>e.modelValue}]),onClick:i=>e.onClick(1,s)},null,8,["class","onClick"]))]),e.allowHalf&&Number(e.modelValue)+1>s?(t.openBlock(),t.createElementBlock("view",Of,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:s<=Number(e.modelValue)+1?e.activeColor:e.voidColor})),{class:"fox-rate-item__icon",onClick:i=>e.onClick(2,s)},null,8,["onClick"]))])):e.allowHalf&&Number(e.modelValue)+1<s?(t.openBlock(),t.createElementBlock("view",Ff,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:e.voidColor})),{class:"fox-rate-item__icon fox-rate-item__icon--disabled",onClick:i=>e.onClick(2,s)},null,8,["onClick"]))])):t.createCommentVNode("",!0)],12,Rf))),128))],34)}const ht=Q(Pf,[["render",xf]]);function Kf(e,o,l,n){return{props:{...ue,...fe,...Wn},emits:["change","update:modelValue"],setup(a,r){const s=Ve(t.computed(()=>a.disabled)),i=$e(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus"],get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),u=e,f=ze(a,"modelValue"),m=h=>{f.value=h,c("update:modelValue",h,{}),c("change",h,{})};return()=>{const b={...be(a,Wn),disabled:s.value,readonly:i.value,value:f.value,"onUpdate:modelValue":m},g=[],k=t.h(n,b);g.push(k);const y={default:()=>g};if(r.slots.default){const S=r.slots.default();y.label=()=>S}const d=be(a,fe,ue);return d["content-class"]=u,t.h(l,d,y)}}}}const{componentName:Uf,create:Hf,scope:vf}=K("rate-item"),Yn=Hf(Kf(Uf,vf,Ne,ht));function jf(e,o){return{inheritAttrs:!1,props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:{}}},setup(l,{slots:n}){return Ha(l.name,()=>l.config),()=>typeof n.default=="function"?n.default():null}}}const{componentName:aB,create:Wf,scope:rB}=K("domain-provider"),Xn=Wf(jf()),Yf={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 Xf(e,o){return{inheritAttrs:!1,props:Yf,setup(l,{slots:n}){if(Ye&&window.IntersectionObserver){const a=new WeakMap;let r=new Map;const s=(h,b)=>{if(f===null){r.set(h,{visible:null,callback:b});return}a.has(h)&&f.unobserve(h),a.set(h,{visible:null,callback:b}),f.observe(h)},i=h=>{if(f===null){r.delete(h);return}a.has(h)&&(a.delete(h),f.unobserve(h))};let c=l.initialVisibleObserverSize;gi({acquire:()=>{const h=c>0;return c--,h},get disabled(){return l.disabled},get initialHeight(){return l.initialInvisibleObserverHeight},observe:s,unobserve:i});let f=null;const m=(h,b,g)=>{f=new IntersectionObserver(k=>{for(let y of k){let d=!1;y.intersectionRatio>0&&(d=!0);const p=a.get(y.target);if(p)try{if(l.loadPolicy==="lazy"&&!d&&p.visible!==null)return;p.visible=d,p.callback(d)}catch(S){console.error(S)}}},{root:h,rootMargin:b,threshold:g}),r.forEach((k,y)=>{a.set(y,k),f?.observe(y)}),r.clear()};t.watch([()=>l.root,()=>l.disabled],([h,b])=>{if(b||!h||f)return;let g=null;typeof h=="string"?g=document.querySelector(h):g=h,g&&m(g,l.rootMargin,l.threshold)},{immediate:!0}),t.onUnmounted(()=>{f&&(f.disconnect(),f=null)})}return()=>typeof n.default=="function"?n.default():null}}}const{componentName:sB,create:Qf,scope:iB}=K("rolling-provider"),Qn=Qf(Xf()),{create:Gf,componentName:Po,scope:cB}=K("tabs-bar"),Zf=Gf({components:{MoreH:ee.MoreH},props:{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"},direction:{type:String,default:"horizontal"},size:{type:String,default:"normal"},shape:{type:String},align:{type:String},markShape:{type:String,default:"line"},scroll:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},animatedTime:{type:[Number,String],default:300},gutter:{type:[Number,String],default:0},itemOptions:{type:Object},showQuickNavigation:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{slots:o,emit:l}){const n=t.computed(()=>{const I={};return I[`${Po}`]=!0,I}),a=t.computed(()=>{const I={};return I[`${Po}__titles`]=!0,I[`${e.direction}`]=!0,e.align==="left"&&(I.left=!0),e.scroll===!0&&(I.scrollable=!0),e.shape&&(I[`${e.shape}`]=!0),I}),r=t.computed(()=>({})),s=t.computed(()=>{if(!e.gutter)return 0;const I=ie(e.gutter);return I<=0?0:I}),i=t.ref(e.modelValue);t.watch(()=>e.modelValue,I=>{i.value!==I&&(i.value=I,N(!1))});const c=t.ref({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),u=t.ref(),f=t.ref(!1),m=()=>{const I=!f.value;h(I)},h=I=>{const B=I;B?(f.value=B,setTimeout(()=>{c.value["fox-tabs-bar__popup--show"]=!0,c.value["fox-tabs-bar__popup--hide"]=!1},0)):(c.value["fox-tabs-bar__popup--show"]=!1,c.value["fox-tabs-bar__popup--hide"]=!0,u.value?u.value.addEventListener("transitionend",()=>{f.value=!1},{once:!0}):setTimeout(()=>{f.value=!1},0))},b=t.ref(),g=t.ref([]),k=(I,B)=>{g.value[B]=I},y=I=>B=>{k(B,I)},d=(I,B)=>{const R=b.value,M=g.value;if(!R||!M||!M[I])return;const x=M[I];let W=0;e.direction==="vertical"?W=x.offsetTop-(R.offsetHeight-x.offsetHeight)/2:W=x.offsetLeft-(R.offsetWidth-x.offsetWidth)/2,p(R,W,B?0:.3,e.direction)},p=(I,B,R,M)=>{let x=0;const W=M==="horizontal"?I.scrollLeft:I.scrollTop,_=R===0?1:Math.round(R*1e3/16);function G(){M==="horizontal"?I.scrollLeft+=(B-W)/_:I.scrollTop+=(B-W)/_,++x<_&&Xe(G)}G()},S=I=>I[e.textKey],w=I=>I[e.valueKey],E=I=>I[e.visibleKey],$=I=>I[e.disabledKey],q=(I,B)=>{const R=e.itemOptions;return typeof R=="function"?R(I,B):R||null},D=(I,B)=>{const R=w(I),M={};M[`${Po}__titles-item`]=!0,M.disabled=$(I),M.active=R===i.value,e.shape&&(M[`${e.shape}`]=!0),e.ellipsis&&(M.ellipsis=!0);const x=q(I,B);return x&&(x.class&&(M[`${x.class}`]=!0),x.disabled===!0&&(M.disabled=x.disabled)),M},z=(I,B)=>{const R={};if(s.value>0){const x=Math.abs(s.value/2);e.direction==="vertical"?(R["margin-top"]=`${x}px`,R["margin-bottom"]=`${x}px`):(R["margin-left"]=`${x}px`,R["margin-right"]=`${x}px`)}const M=q(I,B);return M&&M.style&&Object.assign(R,M.style),R},V=(I,B)=>`${w(I)??B}`,A=(I,B)=>{const R=w(I),M={};M[`${Po}__popup-item`]=!0,M.disabled=$(I),M.active=R===i.value,e.shape&&(M[`${e.shape}`]=!0);const x=q(I,B);return x&&x.disabled===!0&&(M.disabled=x.disabled),M},L=t.computed(()=>(e.data??[]).filter(B=>E(B)!==!1)),P=(I,B)=>{const R=w(I);i.value=R,d(B,!1),l("update:modelValue",R),l("change",I,B)},T=(I,B)=>{P(I,B),h(!1)},N=I=>{if(!Array.isArray(e.data)||!e.scroll)return;const B=e.data.findIndex(R=>w(R)===i.value);B!==-1&&d(B,I)};return t.watch(()=>e.data,()=>{setTimeout(N,0)}),t.onMounted(()=>{N(!0)}),{classes:n,titlesClasses:a,titlesStyles:r,itemClasses:D,itemStyles:z,itemKey:V,popupItemClasses:A,filterTabItems:L,getItemText:S,getItemValue:w,onTabChange:P,titlesRef:b,createItemRefs:y,togglePopupVisible:m,onQuickNavigate:T,popupClasses:c,popupVisible:f,popupRef:u}}}),Jf={class:"fox-tabs-bar"},_f=["onClick"],em={class:"fox-tabs-bar__titles-item-text"},tm=t.createElementVNode("view",{class:"fox-tabs-bar__titles-item-line"},null,-1),om=["onClick"];function nm(e,o,l,n,a,r){const s=t.resolveComponent("MoreH");return t.openBlock(),t.createElementBlock("view",Jf,[t.createElementVNode("view",{ref:"titlesRef",class:t.normalizeClass(e.titlesClasses),style:t.normalizeStyle(e.titlesStyles)},[t.renderSlot(e.$slots,"default",{},()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.filterTabItems,(i,c)=>(t.openBlock(),t.createElementBlock("view",{ref_for:!0,ref:e.createItemRefs(c),class:t.normalizeClass(e.itemClasses(i,c)),style:t.normalizeStyle(e.itemStyles(i,c)),key:e.itemKey(i),onClick:u=>e.onTabChange(i,c)},[t.renderSlot(e.$slots,"item",{item:i,index:c},()=>[t.createElementVNode("view",em,t.toDisplayString(e.getItemText(i)),1),tm])],14,_f))),128))])],6),e.showQuickNavigation?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-tabs-bar__navigation",onClick:o[0]||(o[0]=(...i)=>e.togglePopupVisible&&e.togglePopupVisible(...i))},[t.renderSlot(e.$slots,"navigation",{},()=>[t.createVNode(s)])])):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("view",{ref:"popupRef",class:t.normalizeClass(e.popupClasses)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.filterTabItems,(i,c)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.popupItemClasses(i,c)),key:e.itemKey(i),onClick:u=>e.onQuickNavigate(i,c)},[t.renderSlot(e.$slots,"popup-item",{item:i,index:c},()=>[t.createTextVNode(t.toDisplayString(e.getItemText(i)),1)])],10,om))),128))],2),[[t.vShow,e.popupVisible]])])}const Gn=Q(Zf,[["render",nm]]),Gr=Symbol("TabsStatesKey"),{create:lm}=K("tabs-container"),am=lm({props:{modelValue:{type:[String,Number]},direction:{type:[String],default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:o}){const l=t.shallowRef([]),n={current:t.ref(e.modelValue??""),direction:t.ref(e.direction),tabWidth:t.ref(-1),tabHeight:t.ref(-1),add:f=>{const m={name:f};n.current.value===f&&(m.loaded=!0),l.value.push(m),t.triggerRef(l)},remove:f=>{const m=l.value.findIndex(h=>h.name===f);m!==-1&&l.value.splice(m,1)},isLoaded:f=>{const m=l.value.findIndex(h=>h.name===f);return m!==-1?n.current.value?l.value[m].loaded??!1:m===0:!1}};t.provide(Gr,n);const a=f=>{const m=l.value.findIndex(h=>h.name===f);m!==-1&&(l.value[m].loaded=!0,t.triggerRef(l))};t.watch([()=>e.modelValue,()=>e.direction],([f,m])=>{n.current.value!==f&&(n.current.value=f??"",a(f??"")),n.direction.value!==m&&(n.direction.value=m)});const r=t.ref(null),s=t.ref(null),i=t.computed(()=>({"fox-tabs-container":!0,[`${e.direction}`]:!0})),c=t.computed(()=>{const f={},m=l.value.length;if(m<=0)return f;const h=l.value.findIndex(b=>b.name===n.current.value);return n.direction.value==="vertical"?n.tabHeight.value>0&&(f.height=`${m*n.tabHeight.value}px`,h!==-1&&(f.transform=`translate(0, -${h*n.tabHeight.value}px)`)):n.tabWidth.value>0&&(f.width=`${m*n.tabWidth.value}px`,h!==-1&&(f.transform=`translate(-${h*n.tabWidth.value}px, 0)`)),f});let u=null;return t.onMounted(()=>{if(!r.value)return;const f=()=>{const m=mo(r.value);n.tabWidth.value=m.width,n.tabHeight.value=m.height};window.ResizeObserver&&(u=new window.ResizeObserver(f),u.observe(r.value)),f()}),t.onBeforeUnmount(()=>{u&&(u.disconnect(),u=null)}),{tabsRef:r,panesRef:s,classes:i,panesStyles:c}}});function rm(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"tabsRef"},[t.createElementVNode("view",{class:"fox-tabs-container__panes",style:t.normalizeStyle(e.panesStyles),ref:"panesRef"},[t.renderSlot(e.$slots,"default")],4)],2)}const Zn=Q(am,[["render",rm]]),{create:sm}=K("tabs-pane"),im=sm({components:{Loading:ee.Loading},props:{paneKey:{type:[String,Number],required:!0},loaded:{type:[Boolean,String],default:null}},setup(e,{emit:o}){const l=t.inject(Gr);t.onMounted(()=>{l.add(e.paneKey)}),t.onBeforeUnmount(()=>{l.remove(e.paneKey)});const n=t.computed(()=>{const r={};return l.direction.value==="vertical"&&l.tabHeight.value>0?r.height=`${l.tabHeight.value}px`:l.tabWidth.value>0&&(r.width=`${l.tabWidth.value}px`),r}),a=t.computed(()=>{debugger;return e.loaded!=null?ye(e.loaded):l.isLoaded(e.paneKey)});return{styles:n,isLoaded:a}}}),cm={class:"fox-tabs-pane__empty"},dm=t.createElementVNode("view",{class:"fox-tabs-pane__empty-text"},"loading",-1);function um(e,o,l,n,a,r){const s=t.resolveComponent("Loading");return t.openBlock(),t.createElementBlock("view",{class:"fox-tabs-pane",style:t.normalizeStyle(e.styles)},[e.isLoaded?t.renderSlot(e.$slots,"default",{key:0}):t.renderSlot(e.$slots,"empty",{key:1},()=>[t.createElementVNode("view",cm,[t.createVNode(s,{class:"fox-tabs-pane__empty-icon"}),dm])])],4)}const Jn=Q(im,[["render",um]]),{componentName:fm,create:mm}=K("button"),pm=mm({components:{Loading:ee.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:o,slots:l}){const{type:n,size:a,shape:r,disabled:s,loading:i,color:c,plain:u,block:f}=t.toRefs(e),m=g=>{!i.value&&!s.value&&o("click",g)},h=t.computed(()=>{const g=fm;return{[g]:!0,[`${g}--${n.value}`]:n.value,[`${g}--${a.value}`]:a.value,[`${g}--${r.value}`]:r.value,[`${g}--plain`]:u.value,[`${g}--block`]:f.value,[`${g}--disabled`]:s.value,[`${g}--loading`]:i.value}}),b=t.computed(()=>{const g={};return c?.value&&(u.value?(g.color=c.value,g.background="#fff",c.value?.includes("gradient")||(g.borderColor=c.value)):(g.color="#fff",g.background=c.value)),g});return{handleClick:m,classes:h,getStyle:b}}}),hm={class:"fox-button__wrap"};function gm(e,o,l,n,a,r){const s=t.resolveComponent("Loading");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.getStyle),onClick:o[0]||(o[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.createElementVNode("view",hm,[e.loading?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-icon-loading"})):t.createCommentVNode("",!0),e.$slots.icon&&!e.loading?t.renderSlot(e.$slots,"icon",{key:1}):t.createCommentVNode("",!0),e.$slots.default?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass({"fox-button__text":e.$slots.icon||e.loading})},[t.renderSlot(e.$slots,"default")],2)):t.createCommentVNode("",!0)])],6)}const qe=Q(pm,[["render",gm]]),{componentName:ym,create:km}=K("cell"),bm=km({components:{Right:ee.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:o}){const l=t.computed(()=>{const r=ym;return{[r]:!0,[`${r}--clickable`]:e.isLink,[`${r}--center`]:e.center,[`${r}--large`]:e.size=="large"}}),n=t.computed(()=>({borderRadius:de(e.roundRadius)}));return{handleClick:r=>{o("click",r)},classes:l,baseStyle:n}}}),Sm={key:0,class:"fox-cell__icon"},Cm={key:1,class:"fox-cell__title"},wm={class:"title"},Nm={class:"fox-cell__title-desc"};function Bm(e,o,l,n,a,r){const s=t.resolveComponent("Right");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.baseStyle),onClick:o[0]||(o[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.renderSlot(e.$slots,"default",{},()=>[e.$slots.icon?(t.openBlock(),t.createElementBlock("view",Sm,[t.renderSlot(e.$slots,"icon")])):t.createCommentVNode("",!0),e.title||e.subTitle||e.$slots.title?(t.openBlock(),t.createElementBlock("view",Cm,[e.subTitle?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.renderSlot(e.$slots,"title",{},()=>[t.createElementVNode("view",wm,t.toDisplayString(e.title),1)]),t.createElementVNode("view",Nm,t.toDisplayString(e.subTitle),1)],64)):t.renderSlot(e.$slots,"title",{key:1},()=>[t.createTextVNode(t.toDisplayString(e.title),1)])])):t.createCommentVNode("",!0),e.desc?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass(["fox-cell__value",{"fox-cell__value--alone":!e.title&&!e.subTitle&&!e.$slots.title}]),style:t.normalizeStyle({"text-align":e.descTextAlign})},t.toDisplayString(e.desc),7)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"link",{},()=>[e.isLink?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-cell__link"})):t.createCommentVNode("",!0)])])],6)}const _n=Q(bm,[["render",Bm]]),{componentName:Vm,create:Am}=K("cell-group"),Em=Am({props:{title:{type:String,default:""},desc:{type:String,default:""}},setup(){return{classes:t.computed(()=>({[Vm]:!0}))}}}),Tm={key:1,class:"fox-cell-group__title"},$m={key:3,class:"fox-cell-group__desc"},Dm={class:"fox-cell-group__wrap"};function Im(e,o,l,n,a,r){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",Tm,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",$m,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.createElementVNode("view",Dm,[t.renderSlot(e.$slots,"default")])],2)}const el=Q(Em,[["render",Im]]),{componentName:zm,create:qm}=K("image"),Mm=qm({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:ee.Image,ImageError:ee.ImageError},emits:["click","load","error"],setup(e,{emit:o}){const l=t.reactive({loading:!0,isError:!1,slotLoding:t.useSlots().loading,slotError:t.useSlots().error}),n=t.computed(()=>{const b=zm;return{[b]:!0,[`${b}-round`]:e.round}}),a=t.ref(null),r=t.ref(!1),s=t.ref(null),i=()=>{const b={threshold:[0],rootMargin:"0px"};a.value=new IntersectionObserver(g=>{g.forEach(k=>{k.isIntersecting&&(r.value=!0,a.value.disconnect())})},b),s.value&&a.value.observe(s.value)};t.onMounted(()=>{e.lazyLoad&&i()}),t.onBeforeUnmount(()=>{a.value&&a.value.disconnect()});const c=t.computed(()=>{let b={};return e.width&&(b.width=de(e.width)),e.height&&(b.height=de(e.height)),e.radius!==void 0&&e.radius!==null&&(b.overflow="hidden",b.borderRadius=de(e.radius)),b}),u=t.computed(()=>({objectFit:e.fit,objectPosition:e.position}));t.watch(()=>e.src,b=>{l.isError=!1,l.loading=!0});const f=()=>{l.loading=!1,o("load")},m=()=>{l.isError=!0,l.loading=!1,o("error")},h=b=>{o("click",b)};return{...t.toRefs(l),imageClick:h,classes:n,styles:u,stylebox:c,error:m,load:f,show:r,imgRef:s}}}),Pm=["src","date-src","alt"],Rm={key:0,class:"fox-img-loading"},Lm={key:1,class:"fox-img-error"};function Om(e,o,l,n,a,r){const s=t.resolveComponent("Image"),i=t.resolveComponent("ImageError");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.stylebox),onClick:o[2]||(o[2]=(...c)=>e.imageClick&&e.imageClick(...c))},[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:o[0]||(o[0]=(...c)=>e.load&&e.load(...c)),onError:o[1]||(o[1]=(...c)=>e.error&&e.error(...c)),style:t.normalizeStyle(e.styles)},null,44,Pm),e.loading?(t.openBlock(),t.createElementBlock("div",Rm,[e.slotLoding?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,width:"16px",height:"20px",name:"image"})),t.renderSlot(e.$slots,"loading")])):t.createCommentVNode("",!0),e.isError&&!e.loading?(t.openBlock(),t.createElementBlock("div",Lm,[e.slotError?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(i,{key:0,width:"16px",height:"20px",name:"imageError"})),t.renderSlot(e.$slots,"error")])):t.createCommentVNode("",!0)],6)}const tl=Q(Mm,[["render",Om]]),{create:Fm}=K("layout"),ol=Fm({}),{componentName:xm,create:Km}=K("col"),Um=Km({props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},setup(e){const o=xm,l=t.inject("gutter"),n=t.computed(()=>({[o]:!0,[`${o}-gutter`]:l,[`fox-col-${e.span}`]:!0,[`fox-col-offset-${e.offset}`]:!0})),a=t.computed(()=>({paddingLeft:l/2+"px",paddingRight:l/2+"px"}));return{classes:n,style:a}}});function Hm(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)}const nl=Q(Um,[["render",Hm]]),{componentName:vm,create:jm}=K("row"),Wm=jm({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 o=vm;t.provide("gutter",e.gutter);const l=(a,r)=>a?r?`fox-row-${a}-${r}`:"":`fox-row-${r}`;return{classes:t.computed(()=>e.type==="flex"?`
|
|
5
|
+
*/function Qt(e,o="0"){let l=0,n=-1;e[0]=="-"&&(l++,n=1,e=e.substring(1),e.length),o[0]=="-"&&(l++,n=2,o=o.substring(1),o.length),e=we(e),o=we(o),[e,o]=jo(we(e),we(o)),l==1&&(n==1?e=Ho(e):o=Ho(o));let a=Ca(e,o);return l?l==2?"-"+we(a):e.length<a.length?we(a.substring(1)):"-"+we(Ho(a)):we(a)}function Ho(e){let o="",l=e.length,n=e.split(".")[1],a=n?n.length:0;for(let s=0;s<l;s++)e[s]>="0"&&e[s]<="9"?o+=9-parseInt(e[s]):o+=e[s];let r=a>0?"0."+new Array(a).join("0")+"1":"1";return Ca(o,r)}function we(e){let o=e.split(".");for(o[0]||(o[0]="0");o[0][0]=="0"&&o[0].length>1;)o[0]=o[0].substring(1);return o[0]+(o[1]?"."+o[1]:"")}function jo(e,o){let l=e.split("."),n=o.split("."),a=l[0].length,r=n[0].length;return a>r?n[0]=new Array(Math.abs(a-r)+1).join("0")+(n[0]?n[0]:""):l[0]=new Array(Math.abs(a-r)+1).join("0")+(l[0]?l[0]:""),a=l[1]?l[1].length:0,r=n[1]?n[1].length:0,(a||r)&&(a>r?n[1]=(n[1]?n[1]:"")+new Array(Math.abs(a-r)+1).join("0"):l[1]=(l[1]?l[1]:"")+new Array(Math.abs(a-r)+1).join("0")),e=l[0]+(l[1]?"."+l[1]:""),o=n[0]+(n[1]?"."+n[1]:""),[e,o]}function Ca(e,o){[e,o]=jo(e,o);let l="",n=0;for(let a=e.length-1;a>=0;a--){if(e[a]==="."){l="."+l;continue}let r=parseInt(e[a])+parseInt(o[a])+n;l=r%10+l,n=Math.floor(r/10)}return n?n.toString()+l:l}var be=(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))(be||{});function Bt(e,o=0,l=be.HALF_EVEN){if(l===be.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let n=!1;e[0]==="-"&&(n=!0,e=e.substring(1));let a=e.split("."),r=a[0],s=a[1];if(o<0){if(o=-o,r.length<=o)return"0";{let c=r.substr(0,r.length-o);return e=c+"."+r.substr(r.length-o)+s,c=Bt(e,0,l),(n?"-":"")+c+new Array(o+1).join("0")}}if(o==0)return r.length,wa(a[1],r,n,l)?(n?"-":"")+Wo(r):(n?"-":"")+r;if(a[1]){if(a[1].length<o)return(n?"-":"")+r+"."+a[1]+new Array(o-a[1].length+1).join("0")}else return(n?"-":"")+r+"."+new Array(o+1).join("0");s=a[1].substring(0,o);let i=a[1].substring(o);return i&&wa(i,s,n,l)&&(s=Wo(s),s.length>o)?(n?"-":"")+Wo(r,parseInt(s[0]))+"."+s.substring(1):(n?"-":"")+r+"."+s}function wa(e,o,l,n){if(!e||e===new Array(e.length+1).join("0")||n===be.DOWN||!l&&n===be.FLOOR||l&&n===be.CEILING)return!1;if(n===be.UP||l&&n===be.FLOOR||!l&&n===be.CEILING)return!0;let a="5"+new Array(e.length).join("0");if(e>a)return!0;if(e<a)return!1;switch(n){case be.HALF_DOWN:return!1;case be.HALF_UP:return!0;case be.HALF_EVEN:default:return parseInt(o[o.length-1])%2==1}}function Wo(e,o=0){o||(o=1),typeof e=="number"&&e.toString();let l=e.length-1,n="";for(let a=l;a>=0;a--){let r=parseInt(e[a])+o;r==10?(o=1,r=0):o=0,n+=r}return o&&(n+=o),n.split("").reverse().join("")}function Yo(e,o){e=e.toString(),o=o.toString();let l=0;e[0]=="-"&&(l++,e=e.substr(1)),o[0]=="-"&&(l++,o=o.substr(1)),e=At(e),o=At(o);let n=0,a=0;e.indexOf(".")!=-1&&(n=e.length-e.indexOf(".")-1),o.indexOf(".")!=-1&&(a=o.length-o.indexOf(".")-1);let r=n+a;if(e=At(e.replace(".","")),o=At(o.replace(".","")),e.length<o.length){let h=e;e=o,o=h}if(o=="0")return"0";let s=o.length,i=0,c=[],u=s-1,m="";for(let h=0;h<s;h++)c[h]=e.length-1;for(let h=0;h<2*e.length;h++){let p=0;for(let k=o.length-1;k>=u&&k>=0;k--)c[k]>-1&&c[k]<e.length&&(p+=parseInt(e[c[k]--])*parseInt(o[k]));p+=i,i=Math.floor(p/10),m=p%10+m,u--}return m=At(Ss(m,r)),l==1&&(m="-"+m),m}function Ss(e,o){return o==0?e:(e=o>=e.length?new Array(o-e.length+1).join("0")+e:e,e.substr(0,e.length-o)+"."+e.substr(e.length-o,o))}function At(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 Xo(e,o,l=8){if(o==0)throw new Error("Cannot divide by 0");if(e=e.toString(),o=o.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),o=o.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let n=0;o[0]=="-"&&(o=o.substring(1),n++),e[0]=="-"&&(e=e.substring(1),n++);var a=o.indexOf(".")>0?o.length-o.indexOf(".")-1:-1;if(o=we(o.replace(".","")),a>=0){let u=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(u==-1)e=we(e+new Array(a+1).join("0"));else if(a>u)e=e.replace(".",""),e=we(e+new Array(a-u+1).join("0"));else if(a<u){e=e.replace(".","");let m=e.length-u+a;e=we(e.substring(0,m)+"."+e.substring(m))}else a==u&&(e=we(e.replace(".","")))}let r=0,s=o.length,i="",c=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(0,s+1):e.substring(0,s);if(e=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(s+1):e.substring(s),c.indexOf(".")>-1){let u=c.length-c.indexOf(".")-1;c=c.replace(".",""),s>c.length&&(u+=s-c.length,c=c+new Array(s-c.length+1).join("0")),r=u,i="0."+new Array(u).join("0")}for(l=l+2;r<=l;){let u=0;for(;parseInt(c)>=parseInt(o);)c=Qt(c,"-"+o),u++;i+=u,e?(e[0]=="."&&(i+=".",r++,e=e.substring(1)),c=c+e.substring(0,1),e=e.substring(1)):(r||(i+="."),r++,c=c+"0")}return(n==1?"-":"")+we(Bt(i,l-2))}function Qo(e,o){return e=e.toString(),o=o.toString(),o=Go(o),Qt(e,o)}function Go(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Na(e,o){if(o==0)throw new Error("Cannot divide by 0");e=e.toString(),o=o.toString(),Ba(e),Ba(o);let l="";e[0]=="-"&&(l="-",e=e.substr(1)),o[0]=="-"&&(o=o.substr(1));let n=Qo(e,Yo(o,Bt(Xo(e,o),0,be.FLOOR)));return l+n}function Ba(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Aa(e,o){let l=!1;if(e[0]=="-"&&o[0]!="-")return-1;if(e[0]!="-"&&o[0]=="-")return 1;if(e[0]=="-"&&o[0]=="-"&&(e=e.substr(1),o=o.substr(1),l=!0),[e,o]=jo(e,o),e.localeCompare(o)==0)return 0;for(let n=0;n<e.length;n++)if(e[n]!=o[n])return e[n]>o[n]?l?-1:1:l?1:-1;return 0}class re{value;static RoundingModes=be;static validate(o){if(o){if(o=o.toString(),isNaN(o))throw Error("Parameter is not a number: "+o);o[0]=="+"&&(o=o.substring(1))}else o="0";if(o.startsWith(".")?o="0"+o:o.startsWith("-.")&&(o="-0"+o.substr(1)),/e/i.test(o)){let[l,n]=o.split(/[eE]/);l=we(l);let a="";l[0]=="-"&&(a="-",l=l.substring(1)),l.indexOf(".")>=0?(n=parseInt(n)+l.indexOf("."),l=l.replace(".","")):n=parseInt(n)+l.length,l.length<n?o=a+l+new Array(n-l.length+1).join("0"):l.length>=n&&n>0?o=a+we(l.substring(0,n))+(l.length>n?"."+l.substring(n):""):o=a+"0."+new Array(-n+1).join("0")+l}return o}constructor(o="0"){this.value=re.validate(o)}getValue(){return this.value}static getPrettyValue(o,l,n){if(!(l||n))l=3,n=",";else if(!(l&&n))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");o=re.validate(o);let a=o.charAt(0)=="-";a&&(o=o.substring(1));var r=o.indexOf(".");r=r>0?r:o.length;for(var s="",i=r;i>0;)i<l?(l=i,i=0):i-=l,s=o.substring(i,i+l)+(i<r-l&&i>=0?n:"")+s;return(a?"-":"")+s+o.substring(r)}getPrettyValue(o,l){return re.getPrettyValue(this.value,o,l)}static round(o,l=0,n=be.HALF_EVEN){if(o=re.validate(o),isNaN(l))throw Error("Precision is not a number: "+l);return Bt(o,l,n)}round(o=0,l=be.HALF_EVEN){if(isNaN(o))throw Error("Precision is not a number: "+o);return new re(Bt(this.value,o,l))}static floor(o){return o=re.validate(o),o.indexOf(".")===-1?o:re.round(o,0,be.FLOOR)}floor(){return this.value.indexOf(".")===-1?new re(this.value):new re(this.value).round(0,be.FLOOR)}static ceil(o){return o=re.validate(o),o.indexOf(".")===-1?o:re.round(o,0,be.CEILING)}ceil(){return this.value.indexOf(".")===-1?new re(this.value):new re(this.value).round(0,be.CEILING)}static add(o,l){return o=re.validate(o),l=re.validate(l),Qt(o,l)}add(o){return new re(Qt(this.value,o.getValue()))}static subtract(o,l){return o=re.validate(o),l=re.validate(l),Qo(o,l)}subtract(o){return new re(Qo(this.value,o.getValue()))}static multiply(o,l){return o=re.validate(o),l=re.validate(l),Yo(o,l)}multiply(o){return new re(Yo(this.value,o.getValue()))}static divide(o,l,n){return o=re.validate(o),l=re.validate(l),Xo(o,l,n)}divide(o,l){return new re(Xo(this.value,o.getValue(),l))}static modulus(o,l){return o=re.validate(o),l=re.validate(l),Na(o,l)}modulus(o){return new re(Na(this.value,o.getValue()))}static compareTo(o,l){return o=re.validate(o),l=re.validate(l),Aa(o,l)}compareTo(o){return Aa(this.value,o.getValue())}static negate(o){return o=re.validate(o),Go(o)}negate(){return new re(Go(this.value))}}function Va(e,o){return re.multiply(`${e}`,`${o}`)}function Zo(e,o,l=8){return re.divide(`${e}`,`${o}`,l)}function Jo(e,o){return e=`${e}`,o=`${o}`,re.compareTo(e,o)}function Ta(e){return re.negate(e)}function Gt(e,o=-1,l=!1,n=3,a=","){let r=`${e}`;if(r.length==0||r==="-")return"";let s=r.charAt(0);s=="-"?r=r.substring(1):s="";let i=r,c="",u=r.indexOf(".");u!=-1&&(i=r.substring(0,u),c=r.substring(u+1)),o!=-1&&(o<c.length?c=c.substring(0,o):l&&o>c.length&&(c=c.padEnd(o,"0")));let m;if(n>0){let h="",p=i.split("").reverse();for(let k=0;k<p.length;k++)h+=p[k]+((k+1)%n==0&&k+1!=p.length?a:"");c.length==0?m=`${s}${h.split("").reverse().join("")}`:m=`${s}${h.split("").reverse().join("")}.${c}`}else c.length==0?m=`${s}${i}`:m=`${s}${i}.${c}`;return m}function $a(e){let o=`${e}`,l=o.charAt(0);l=="-"?o=o.substring(1):l="";let n=o.replace(/[^\d\.-]/g,"");return`${l}${n}`}const Ye=typeof window<"u",Xe=We;function Ea(e){return e==null}const Zt=Array.isArray,Cs=e=>_t(e)==="[object Map]",ws=e=>_t(e)==="[object Set]",Oe=e=>e instanceof Date,Jt=e=>typeof e=="function",Da=e=>typeof e=="string",Ns=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",_o=e=>De(e)&&Jt(e.then)&&Jt(e.catch),Ia=Object.prototype.toString,_t=e=>Ia.call(e),en=e=>_t(e)==="[object Object]",qa=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Bs(e){return e.__esModule||qa&&e[Symbol.toStringTag]==="Module"}const As=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function Je(...e){let o=e[0]!==void 0&&e[0]!==null?e[0]:{},l=1,n=e.length,a=!1;for(typeof o=="boolean"&&(a=o,o=e[l]??{},l++),typeof o!="object"&&(o={});l<n;l++)if(e[l]!==null&&e[l]!==void 0){let r=e[l];for(let s in r){let i=o[s],c=r[s];if(i!==c)if(a===!0&&c&&typeof c=="object"){let u;Array.isArray(c)?u=i&&Array.isArray(i)?i:[]:u=i&&typeof i=="object"?i:{},o[s]=Je(a,u,c)}else c!==void 0&&(o[s]=c)}}return o}function tn(e,o,l=!1){if(!l)Je(!0,e,o);else{if(typeof o!="object")return{};typeof e!="object"&&(e={});for(let a in o){let r=e[a],s=o[a];if(r!==s)if(typeof s=="object"){if(!Array.isArray(s)&&!en(s))continue;r=tn(r,s,l),e[a]=r}else{if(typeof s=="function")continue;e[a]=s}}const n=Object.getOwnPropertySymbols(o);for(let a of n){let r=e[a],s=o[a];if(r!==s)if(typeof s=="object"){if(!Array.isArray(s)&&!en(s))continue;r=tn(r,s,l),e[a]=r}else{if(typeof s=="function")continue;e[a]=s}}}return e}const on=As?Promise.resolve():null;function Vs(e,...o){on!==null?o&&o.length>0?on.then(()=>{e(o)}):on.then(e):o&&o.length>0?setTimeout(()=>{e(o)}):setTimeout(e)}function he(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function pe(e){return typeof e=="number"?e:Number(e)}const Ts={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Object]":"object"};function _e(e){let l=Object.prototype.toString.call(e);return e==null?String(e):Ts[l]||"object"}function eo(e){if(!e)return!0;const{display:o}=window.getComputedStyle(e);return o==="none"}function za(e){return e&&typeof e=="object"&&"setInterval"in e}function Ma(e){let o=!!e&&"length"in e&&e.length,l=_e(e);return l==="function"||za(e)?!1:l==="array"||o===0||typeof o=="number"&&o>0&&o-1 in e}function Pa(e,o){let l=+o.length,n=0,a=e.length;for(;n<l;n++)e[a++]=o[n];return e.length=a,e}function $s(e,o=[]){let l=o;return e!=null&&(Ma(Object(e))?Pa(l,typeof e=="string"?[e]:e):l.push(e)),l}function Me(e,o){if(e==o)return!0;if(e===void 0||o===void 0)return!1;let l=_e(e),n=_e(o);if(l!==n)return!1;if(l==="object"){let a=Object.keys(e),r=Object.keys(o);if(a.length!==r.length)return!1;for(let s=0;s<a.length;s++){let i=a[s],c=e[i],u=o[i];if(!Me(c,u))return!1}return!0}else if(l==="array"){if(e.length!==o.length)return!1;for(let a=0;a<e.length;a++){let r=e[a],s=o[a];if(!Me(r,s))return!1}return!0}return!1}function Ra(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ce=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function xa(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 La(e){if(e==null)return 0;let o=`${e}`;if(o.length==0)return 0;o.charAt(0)=="-"&&(o=o.substring(1)),o=o.replace(/[^\d\.-]/g,"");const l=o.indexOf(".");return l==-1?o.length:l}function Oa(e){if(e==null)return 0;const o=`${e}`;if(o.length==0)return 0;const l=o.indexOf(".");return l==-1?0:o.length-(l+1)}function Fa(e,o,l){const n=e.indexOf(o);return n===-1?e:o==="-"&&n!==0?e.slice(0,n):e.slice(0,n+1)+e.slice(n).replace(l,"")}function nn(e,o=!0,l=!0){o?e=Fa(e,".",/\./g):e=e.replace(/\./g,""),l?e=Fa(e,"-",/-/g):e=e.replace(/-/,"");const n=o?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(n,"")}function Es(e,o){return typeof e=="object"||Array.isArray(e)?o.findIndex(l=>{if(Me(e,l))return!0}):o.indexOf(e)}function Ds(e,o){if(typeof e=="object"||Array.isArray(e)){let l=o.reverse().findIndex(n=>{if(Me(e,n))return!0});return l!==-1&&(l=o.length-1-l),l}return o.lastIndexOf(e)}function ge(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function ke(e,...o){const l={};return o.forEach(n=>{for(const a in n)l[a]=e[a]}),l}function ln(e,...o){const l=[];o.forEach(a=>{Reflect.apply([].push,l,Reflect.ownKeys(a))});const n={};for(const a in e)l.includes(a)||(n[a]=e[a]);return n}const Ka=(e,o,l)=>{const n=Object.assign({},e),a=Object.assign({},l);return Object.keys(o).length>0?(Object.keys(n).forEach(r=>{a.hasOwnProperty(r)?typeof a[r]=="string"&&(n[r]=o[a[r]]):o[r]&&(n[r]=o[r])}),n):e};function an(e,o){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),o&&e.stopPropagation()}const et=(e,o=2)=>{for(e+="";e.length<o;)e="0"+e;return e.toString()},Fe=(e,o,l)=>Math.min(Math.max(e,o),l),rn=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,Ce=Symbol.for("BroadcastKey");class sn{parent;children=[];callbacks=new Map;proxy=null;name;constructor(o,l,n){this.parent=o,this.proxy=l,this.name=n,o!==null&&o.addChild(this)}addChild(o){this.children.push(o)}removeChild(o){const l=this.children.findIndex(n=>o===n);l!==-1&&this.children.splice(l,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(o,l,...n){if(o.maxLevel!==void 0&&o.maxLevel!==null&&o.maxLevel>0){if(o.level=o.level??0,o.level>o.maxLevel)return[];o.level++}let a=!1;!o.name||o.name==="*"?a=!0:!o.name||o.name==="+"?(a=!1,o.name="*"):Ra(o.name)&&this.name&&o.name.test(this.name)?a=!0:typeof o.name=="function"?a=Reflect.apply(o.name,null,[this.name]):o.name===this.name&&(a=!0);const r=[];if(a){const s=this.callbacks.get(l);if(typeof s=="function"){const c=Reflect.apply(s,this.proxy,[...n]);c!=null&&r.push(c)}const i=this.proxy??{};if(typeof i[l]=="function"){const c=Reflect.apply(i[l],i,[...n]);c!=null&&r.push(c)}}return this.children.forEach(s=>{const i=Reflect.apply(s.emit,s,[{...o},l,...n]);i!=null&&Array.isArray(i)&&Reflect.apply([].push,r,[...i])}),r}emitToChildren(o,l,...n){const a=[];return this.children.forEach(r=>{const s=Reflect.apply(r.emit,r,[{...o},l,...n]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,a,[...s])}),a}on(o,l){this.callbacks.set(o,l)}}function to(e,o,l,n){const a=new sn(o,e,l);if(n&&typeof n=="object")for(const r in n)a.on(r,n[r]);return a}function Is(e,o,l){const n=l;if(n[Ce])return n[Ce];const a=t.inject(Ce,null),r=new sn(a,l,e);if(o&&typeof o=="object")for(const s in o)r.on(s,o[s]);return n[Ce]=r,t.provide(Ce,r),t.onUnmounted(()=>{r.destroy(),n[Ce]=void 0}),r}function Vt(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Ce]??t.inject(Ce,null):t.inject(Ce,null)}const tt=e=>e.default??e;class qs{error(o,l){const n=l,a=Vt(l);a?a.emit({name:"*",maxLevel:1},"setErrorTip",o):typeof n.setErrorTip=="function"&&n.setErrorTip(o)}reset(o){const l=o,n=Vt(o);n?n.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof l.setErrorTip=="function"&&l.setErrorTip("")}success(o){const l=o,n=Vt(o);n?n.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof l.setErrorTip=="function"&&l.setErrorTip("")}decorate(o,l,n){Array.isArray(o)||(o=[o]);const a=n,r=Vt(n),s=l.find(c=>c.required===!0||c.type==="required"&&c.required!==!1),i=o.find(c=>c.required===!0||c.type==="required"&&c.required!==!1);!s&&i?r?r.emit({name:"*"},"setRequired",!0):typeof a.setRequired=="function"&&a.setRequired(!0):s&&!i&&(r?r.emit({name:"*"},"setRequired",!1):typeof a.setRequired=="function"&&a.setRequired(!1),this.reset(n))}getValue(o){return o.modelValue}}let va=new qs;function zs(e){va=e}function Ms(e,o){tt(Ze).setValidator(e,o)}function Ps(e){tt(Ze).deleteValidator(e)}let Ua=["blur","clear"];function Rs(e){Ua=e}function Ha(){return Ua}let ja=["focus","change"];function xs(e){ja=e}function Wa(){return ja}function Ls(e){tt(Ze).messages(e)}function Tt(...e){const o=[];return e.forEach(l=>{l.forEach(n=>{const a=o.findIndex(r=>r.type===n.type);a!==-1&&o.splice(a,1),o.push(n)})}),o}function oo(e){return e.forEach(o=>{o.type==="required"&&(o.required===null||o.required===void 0)&&(o.required=!0),!o.type&&(o.required===!0||o.required===!1)&&(o.type="required")}),e}const Ke=Symbol("ValidateSchemaKey");class Ya{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(o,l,n){this.parent=o,this.descriptor=l,this.proxy=n,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let o=this.proxy.$attrs;o&&(this.scope=t.effectScope(),this.scope.run(()=>{t.watchEffect(()=>{const l=oo(Tt(this.attrRules,this.rules)),n=[];for(let r in o){let s=o[r];if(this.hasValidator(r,!0)){if(s===!1)continue;let c={type:r};s!==null&&typeof s=="object"&&Object.assign(c,s),n.push(c);continue}let i=this.getValidator(r);if(i!==null){let c={type:r,validator:i};n.push(c)}}this.attrRules=oo(n);const a=Tt(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(a,l)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(o,...l){const n=this.descriptor.validateHandler;if(n&&typeof n[o]=="function")return Reflect.apply(n[o],n,[...l]);const a=va;return a&&typeof a[o]=="function"?Reflect.apply(a[o],a,[...l]):null}decorate(o,l){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",o,l,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(o){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",o,this.proxy)}getValue(){return this.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(o,l,n=!1){n?tt(Ze).setValidator(o,l):this.validators[o]=l}getValidator(o){let l=this.validators[o]??null;return l||(l=this.parent?.getValidator(o)??null),l}deleteValidator(o,l=!1){l?tt(Ze).deleteValidator(o):Reflect.deleteProperty(this.validators,o)}hasValidator(o,l=!1){if(l)return tt(Ze).hasValidator(o);{let n=Reflect.has(this.validators,o);return!n&&this.parent!==null&&(n=this.parent.hasValidator(o,!1)),n}}setRule(o){const l=Tt(this.attrRules,this.rules);o===null?this.rules=[]:Array.isArray(o)?this.rules=oo(o):this.rules=oo([o]);const n=Tt(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(n,l)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let l=Tt(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(l.length>0){const a={[`${n}`]:l},r=this.getValue(),s={[`${n}`]:r},i=tt(Ze),c=new i(a),u=this.proxy??s;return c.validate(s,{context:u}).then(h=>{if(h.pass)this.success();else{let p="error";Array.isArray(h.errors)&&h.errors.length>0&&(p=h.errors[0].message??p,h.errors=[h.errors[0]],h.errors[0].ref=u),this.error(p)}return h}).catch(h=>{const p=h.message??`${h}`;return this.error(p),h})}}return Promise.resolve({pass:!0})}}function no(e,o,l){if(l.valueName=l.valueName??"modelValue",l.valueType=l.valueType??"string",!l.validateHandler&&l.valueName!=="modelValue"){const a=l.valueName;l.validateHandler={getValue(r){return r[a]}}}return new Ya(o,l,e)}const Xa=Symbol("EventEmitterKey");class Os{register=new Map;proxy;constructor(o){this.proxy=o}destroy(){this.proxy=null,this.register.clear()}off(o,l){let n=this.register.get(o);if(n&&Array.isArray(n)){let a=n.findIndex(r=>r===l);a!==-1&&n.splice(a,1)}}on(o,l){let n=this.register.get(o);n||(n=new Array,this.register.set(o,n)),n.push(l)}emit(o,...l){const n=this.register.get(o);n&&n.forEach(a=>{try{Reflect.apply(a,null,[o,...l])}catch(r){console.error(r.message,r)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[o,...l])}}function it(e,o){let l=null;return function(...n){l&&clearTimeout(l),l=setTimeout(()=>{l=null,Reflect.apply(e,null,[...n])},o)}}function lo(e,o){let l=0;return function(...n){const a=new Date().getTime();a-l<o||(l=a,Reflect.apply(e,null,[...n]))}}function Fs(e,o){const l=it((n,a)=>{e=n,a()},o);return t.customRef((n,a)=>({get(){return n(),e},set(r){l(r,a)}}))}function Ks(e){let o=!1;return function(...l){o||(o=!0,Reflect.apply(e,null,[...l]))}}function cn(e,o,l,n=0,a=!0){let r=o,s=0;if(a){const c=e();if(s++,c||s>l)return}const i=()=>{const c=e();s++,!(c||s>l)&&(r+=n,setTimeout(i,r))};setTimeout(i,r)}const Ie=Symbol("DomainKey"),ct=Symbol("DataItemsKey");class ao{_parent=null;get parent(){return this._parent}set parent(o){this._parent=o}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(o){this._broadcast=o}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(o){this._validateSchema=o}_props=t.reactive({});constructor(o=null){this._name=o}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(o,l=[]){for(const n in o){const a=o[n];l.length>0&&l.indexOf(a)!==-1||(this._props[n]=a)}}has(o){if(Reflect.has(this._props,o)){const l=this._props[o];if(l!=null)return!0}return this.parent==null?!1:this.parent.has(o)}delete(o){Reflect.deleteProperty(this._props,o)}set(o,l){this._props[o]=l}get(o,l){if(Reflect.has(this._props,o)){const n=this._props[o];if(n!=null)return n}return this.parent==null?l:this.parent.get(o,l)}getForParent(o,l){return this.parent==null?l:this.parent.get(o,l)}getForSelf(o){return this._props[o]}getAll(o){const l=[];let n=this;for(;n!=null;){if(Reflect.has(n._props,o)){const a=n._props[o];l.push(a)}n=n._parent}return l}}const vs=new ao;function dt(){return vs}function ve(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Ie]??t.inject(Ie,null):t.inject(Ie,null)}const dn=Symbol("OriginalDateKey");function un(e,o,l=[],n){const a=t.getCurrentInstance(),r=a?.proxy;let s=t.inject(Ie,null);s===null&&(s=dt());const i=e||o.prop||o.name,c=new ao(i);c.parent=s;const u=y=>{r[dn]||p(y),c.set("modelValue",y)},m=()=>c.getForSelf("modelValue")??null,h=()=>r[dn]??null,p=y=>{const S={};Je(!0,S,t.toRaw(y)),r[dn]=S};t.isReactive(o)||typeof o=="function"?t.watch(o,y=>{c.merge(y,l)},{immediate:!0}):c.merge(o,l),o.modelValue&&p(o.modelValue),r[Ie]=c,t.provide(Ie,c);let k=null,g=null;if(a!==null){const y=t.inject(Ce,null);k=to(r,y,i,n),c.broadcast=k,r[Ce]=k,t.provide(Ce,k),r.broadcast=(d,f,...b)=>Reflect.apply(k.emit,k,[d,f,...b]);const S=t.inject(Ke,null);g=no(r,S,{componentName:""}),c.validateSchema=g,r[Ke]=g,t.provide(Ke,g),r[ct]=new Map,r.validate=(d=!0)=>{const f=[];let b=null;const w={deep:!1};if(d===!0)b={name:"*"};else if(Array.isArray(d)&&d.length>0){const V=d;b={name:E=>E?V.indexOf(E)!==-1:!1}}else if(d!=null&&typeof d=="object"){const V=d;if(w.ignoreHidden=V.ignoreHidden,Array.isArray(V.include)&&V.include.length>0){const E=V.include;b={name:I=>I?E.indexOf(I)!==-1:!1}}else if(Array.isArray(V.exclude)&&V.exclude.length>0){const E=V.exclude;b={name:I=>I?E.indexOf(I)===-1:!1}}else b={name:"*"}}if(b){const V=k?.emitToChildren(b,"validate",w);V&&Reflect.apply([].push,f,V)}return f.length==1?f[0]:f.length>1?Promise.all(f).then(V=>{let E=[];return V.forEach(I=>{I.pass===!1&&Array.isArray(I.errors)&&(E=[...E,...I.errors])}),E.length>0?{pass:!1,errors:E}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(d,f=!0,b=!1)=>{if(b===!0){Reflect.ownKeys(d).forEach(V=>{let E=String(V);const D=Za(c,E,{componentName:"",fieldName:E,pureDataValidate:!0},k,g);r[ct].set(E,D);const z=d[E];z&&D.validateSchema.setRule(z)});return}if(f){const w=Reflect.ownKeys(d),V={name:E=>w.includes(E)};k?.emitToChildren(V,"setNameValidateRules",d,!1)}},r.clearValidate=(d=!0)=>{let f=null;if(d===!0)f={name:"*"};else if(Array.isArray(d)&&d.length>0){const b=d;f={name:w=>w?b.indexOf(w)!==-1:!1}}else if(d!=null&&typeof d=="object"){const b=d;if(Array.isArray(b.include)&&b.include.length>0){const w=b.include;f={name:V=>V?w.indexOf(V)!==-1:!1}}else if(Array.isArray(b.exclude)&&b.exclude.length>0){const w=b.exclude;f={name:V=>V?w.indexOf(V)===-1:!1}}else f={name:"*"}}f&&k?.emitToChildren(f,"clearValidate",!1)},r.resetFields=d=>{const f=m();if(!f)return;const b={};if(Je(!0,b,h()??{}),Array.isArray(d))d.forEach(w=>{f[w]=b[w]});else if(d&&Array.isArray(d.include))(d.include??[]).forEach(V=>{f[V]=b[V]});else if(d&&Array.isArray(d.exclude)){let w=d.exclude??[];Reflect.ownKeys(b).forEach(V=>{w.includes(V)||(f[V]=b[V])})}else Object.assign(f,b);r.clearValidate(d)},r.setModelValue=(d,f)=>{!f||f===i?u(d):k?.emitToChildren({name:f},"setModelValue",d)},r.getModelValue=()=>m()}return t.onUnmounted(()=>{c.destroy(),r[Ie]=void 0,r[ct]&&(r[ct].clear(),r[ct]=void 0),k!==null&&(k.destroy(),r[Ce]=void 0),g!==null&&(g.destroy(),r[Ke]=void 0)}),c}function Qa(e,o,l=[]){const a=t.getCurrentInstance()?.proxy;let r=t.inject(Ie,null);r===null&&(r=dt());const s=e||o.prop||o.name,i=new ao(s);return i.parent=r,t.isReactive(o)||typeof o=="function"?t.watch(o,c=>{i.merge(c,l)},{immediate:!0}):i.merge(o,l),a[Ie]=i,t.provide(Ie,i),t.onUnmounted(()=>{i.destroy(),a[Ie]=void 0}),i}function Ga(e,o,l){const a=ve(e)?.get("rules");if(!a)return;let r=a[l];r&&(Array.isArray(r)||(r=[r]),o.setRule(r))}function Be(e,o,l){const a=t.getCurrentInstance()?.proxy,r=o??"",s=t.inject(Ce,null),i=to(a,s,r,l);a[Ce]=i,t.provide(Ce,i),a.broadcast=(g,y,...S)=>Reflect.apply(i.emit,i,[g,y,...S]);const c=t.inject(Ke,null);e.fieldName=e.fieldName??r;const u=no(a,c,e);a[Ke]=u,t.provide(Ke,u),Ga(a,u,r),a.validate=(g=null)=>{const y=[];let S=!1,d=!1;if(Array.isArray(g)&&g.indexOf(r)!==-1)d=!0,S=!0;else if(g&&typeof g=="object"){const f=g;f.ignoreHidden===!0&&eo(a.$el)?d=!1:(Array.isArray(f.include)&&f.include.indexOf(r)!==-1||Array.isArray(f.exclude)&&f.exclude.indexOf(r),d=!0),S=f.deep??!1}else typeof g=="boolean"&&(S=g),d=!0;if(d){const f=u?.validate();y.push(f)}if(S){let f=null;const b={deep:!1};if(g===!0)f={name:"*"};else if(Array.isArray(g)&&g.length>0){const w=g;f={name:V=>V?w.indexOf(V)!==-1:!1}}else if(g!=null&&typeof g=="object"){const w=g;if(b.ignoreHidden=w.ignoreHidden,Array.isArray(w.include)&&w.include.length>0){const V=w.include;f={name:E=>E?V.indexOf(E)!==-1:!1}}else if(Array.isArray(w.exclude)&&w.exclude.length>0){const V=w.exclude;f={name:E=>E?V.indexOf(E)===-1:!1}}else f={name:"*"}}if(f){const w=i.emitToChildren(f,"validate",b);Reflect.apply([].push,y,w)}}return y.length==1?y[0]:y.length>1?Promise.all(y).then(f=>{let b=[];return f.forEach(w=>{w.pass===!1&&Array.isArray(w.errors)&&(b=[...b,...w.errors])}),b.length>0?{pass:!1,errors:b}:{pass:!0}}):Promise.resolve({pass:!0})},a.setValidateRule=g=>u?.setRule(g),a.setNameValidateRules=(g,y=!1)=>{const S=g[r];if(S&&u?.setRule(S),y){const d={name:f=>Reflect.ownKeys(g).includes(f)};i.emitToChildren(d,"setNameValidateRules",g,!1)}},a.clearValidate=(g=null)=>{(!Array.isArray(g)||g.indexOf(o??"")!==-1)&&u?.clear();let y=null;if(g===!0)y={name:"*"};else if(Array.isArray(g)&&g.length>0){const S=g;y={name:d=>d?S.indexOf(d)!==-1:!1}}else if(g!=null&&typeof g=="object"){const S=g;if(Array.isArray(S.include)&&S.include.length>0){const d=S.include;y={name:f=>f?d.indexOf(f)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const d=S.exclude;y={name:f=>f?d.indexOf(f)===-1:!1}}else y={name:"*"}}y&&i.emitToChildren(y,"clearValidate",!1)};const m=new Os(a);a[Xa]=m;const h=it((g="validate")=>{g==="reset"?u.clear():u.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Ha()).forEach(g=>{m.on(g,y=>{h("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Wa()).forEach(g=>{m.on(g,y=>{h("reset")})}),t.onUnmounted(()=>{i.destroy(),a[Ce]=void 0,u.destroy(),a[Ke]=void 0,m.destroy(),a[Xa]=void 0}),{broadcast:i,validateSchema:u,emitEvent:(g,...y)=>{Reflect.apply(m.emit,m,[g,...y])},onEvent:(g,y)=>{Reflect.apply(m.on,m,[y])},offEvent:(g,y)=>{Reflect.apply(m.off,m,[y])}}}function Za(e,o,l,n,a){const r={},s=o??"",i={getValue(){const m=e.getForSelf("modelValue");return m?m[s]:null},isExist(){const m=e.getForSelf("modelValue");return m?Reflect.has(m,s):!1}};l.fieldName=s,l.validateHandler={getValue(m){return i.getValue()}};const c=no({},a,l);r.validate=(m=null)=>{if(!i.isExist())return console.warn(`validate error: field [${s}] not exist`),Promise.resolve({pass:!0});const h=[];let p=!1,k=!1;if(Array.isArray(m)&&m.indexOf(s)!==-1)k=!0,p=!0;else if(m&&typeof m=="object"){const g=m;Array.isArray(g.include)&&g.include.indexOf(s)!==-1||Array.isArray(g.exclude)&&g.exclude.indexOf(s),k=!0,p=g.deep??!1}else typeof m=="boolean"&&(p=m),k=!0;if(k){const g=c?.validate();h.push(g)}if(p){let g=null;const y={deep:!1};if(m===!0)g={name:"*"};else if(Array.isArray(m)&&m.length>0){const S=m;g={name:d=>d?S.indexOf(d)!==-1:!1}}else if(m!=null&&typeof m=="object"){const S=m;if(Array.isArray(S.include)&&S.include.length>0){const d=S.include;g={name:f=>f?d.indexOf(f)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const d=S.exclude;g={name:f=>f?d.indexOf(f)===-1:!1}}else g={name:"*"}}if(g){const S=u.emitToChildren(g,"validate",y);Reflect.apply([].push,h,S)}}return h.length==1?h[0]:h.length>1?Promise.all(h).then(g=>{let y=[];return g.forEach(S=>{S.pass===!1&&Array.isArray(S.errors)&&(y=[...y,...S.errors])}),y.length>0?{pass:!1,errors:y}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=m=>c?.setRule(m),r.setNameValidateRules=m=>{const h=m[s];h&&c?.setRule(h)};const u=to(null,n,s,r);return{broadcast:u,validateSchema:c}}const fe=e=>e?`${ie(e)}px`:"";function ie(e,o=-1){if(typeof e=="number")return e>0&&e<1&&o>0?e*o:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let l=e.indexOf("px");if(l!==-1)return Number(e.substring(0,l));if(l=e.indexOf("rem"),l!==-1){let a=Number(e.substring(0,l)),r=1;if(Ye){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),i=s.indexOf("px");i>0&&(r=Number(s.substring(0,i)))}return a*=r,a}if(l=e.indexOf("%"),l!==-1)return Number(e.substring(0,l))*o;const n=Number(e);return isNaN(n)?0:n}const Qe="PageStateKey";function Pe(e){const o={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(o.top=ie(e.top)),e.left!==null&&e.left!==void 0&&(o.left=ie(e.left)),e.bottom!==null&&e.bottom!==void 0&&(o.bottom=ie(e.bottom)),e.right!==null&&e.right!==void 0&&(o.right=ie(e.right))),o}function fn(e,o,l={},n=!0,a=-1,r=-1,s=0,i=0){if(e.headerHeight=ie(l.headerHeight??o.headerHeight??-1),e.headerPadding=Pe(l.headerPadding??o.headerPadding),e.footerHeight=ie(l.footerHeight??o.footerHeight??-1),e.footerPadding=Pe(l.footerPadding??o.footerPadding),e.contentPadding=Pe(l.contentPadding??o.contentPadding),n){const c=l.height??o.height;c?e.height=ie(c,r):e.height=ie(r)-ie(s,r)-ie(i,r),e.width=ie(l.width??o.width??0,a)}}function Ja(e,o={}){const l={top:null,left:null,bottom:null,right:null},n={width:0,height:0,headerHeight:0,headerPadding:{...l},footerHeight:0,footerPadding:{...l},contentPadding:{...l},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},a=Object.assign(e.get("safeAreaInset")??{},o.safeAreaInset??{});a&&(n.safeAreaTop=ie(a.top),n.safeAreaBottom=ie(a.bottom),n.safeAreaLeft=ie(a.left),n.safeAreaRight=ie(a.right));const r=e.get("pageLayout");if(!r)return null;const s=e.get("rootWidth")??-1,i=e.get("rootHeight")??-1,c=e.get("headerBarHeight")??0,u=e.get("footerBarHeight")??0;fn(n,r,o,!0,s,i,c,u);const m=t.reactive(n),h=e.getForParent(Qe);h&&(n.height=co(e,h),n.width=uo(e,h),t.watch([()=>co(e,h),()=>uo(e,h)],([k,g])=>{m.height=k,m.width=g}));const p=!h;return t.watch([()=>o.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([k,g,y=-1,S=-1,d=0,f=0])=>{fn(m,g,o,p,y,S,d,f)}),e.set(Qe,m),m}function ro(e){return e.get(Qe)}function so(e,o){if(o=o??e.get(Qe),o&&o.headerMounted){const l=o.safeAreaTop==-1?0:o.safeAreaTop;return o.headerAllHeight??o.headerHeight+l}return 0}function io(e,o){if(o=o??e.get(Qe),o&&o.footerMounted){const l=o.safeAreaBottom==-1?0:o.safeAreaBottom;return o.footerAllHeight??o.footerHeight+l}return 0}function co(e,o){if(o=o??e.get(Qe),o){if(o.contentInnerHeight)return o.contentInnerHeight;const l=so(e,o),n=io(e,o);return o.height-l-n-(o.contentPadding.top??0)-(o.contentPadding.bottom??0)}return 0}function uo(e,o){return o=o??e.get(Qe),o?o.contentInnerWidth??o.width-(o.contentPadding.left??0)-(o.contentPadding.right??0):0}function Us(e,o){const l=e.get("isInnerPage");return typeof l=="function"?Reflect.apply(l,{},[o,e]):!1}function Hs(e){return!!e.getForParent(Qe)}var fo=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(fo||{});function mn(e,o){return e==null?!1:typeof o=="function"?o(e):!0}function Ae(e,o,l=1,n){const a=ve();return a==null?e:l===0?t.computed(()=>{const r=a.getAll(o);for(let i=r.length-1;i>=0;i--){const c=r[i];if(mn(c,n))return c}const s=e.value;return mn(s,n)?s:null}):t.computed(()=>{const r=e.value;return mn(r,n)?r:a?.get(o)})}function Ee(e){return Ae(e,"readonly",0,function(l){return he(l)})}function Ve(e){return Ae(e,"disabled",0,function(l){return he(l)})}function qe(e,o="modelValue",l){const n=t.toRef(e,o);let a=n.value;typeof l=="function"&&(a=l(n.value));const r=t.ref(a);return t.watch(n,s=>{if(typeof l=="function"){const i=l(s);i!==r.value&&(r.value=i)}else s!==r.value&&(r.value=s)}),r}const _a=new Map,mo=new Map;let pn=null;function js(e){pn=e}function er(e,o,l){if(l){let n=mo.get(l);n||(n=new Map,mo.set(l,n)),n.set(e,o)}else _a.set(e,o)}function ut(e,o,l){!l&&pn&&(l=pn(e)??void 0);let n=null;if(l){let a=mo.get(l);a&&(n=a.get(o))}return n||(n=_a.get(o)),n}function Ws(e,o){for(let l in e){const n=e[l];er(l,n,o)}}function Ys(e){mo.delete(e)}function Xs(){return{top:0,left:0,bottom:0,right:0}}function Qs(e=0,o=0){if(Ye){const l=document.documentElement.clientWidth||document.body.clientWidth,n=document.documentElement.clientHeight||document.body.clientHeight,a={width:l,height:n-ie(e,n)-ie(o,n)};return{rootWidth:l,rootHeight:n,pageLayout:a}}else return{rootWidth:-1,rootHeight:-1,pageLayout:{width:"100%",height:"100%",headerHeight:-1,footerHeight:-1}}}class Gs{packages;_version;get version(){return this._version}constructor(o,l){this.packages=o,this._version=l}install(o,l){l?.install!==!1&&this.packages.forEach(r=>{r.install?o.use(r):r.name&&o.component(r.name,r)});const n=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],a=dt();if(this.initPageLayout(l,a),l.autoAdjustPageLayout!==!1&&window.ResizeObserver){const r=lo(()=>{const i={...l},c=document.documentElement.clientWidth||document.body.clientWidth,u=document.documentElement.clientHeight||document.body.clientHeight;i.width=c,i.height=u,this.initPageLayout(i,a)},150);new window.ResizeObserver(r).observe(window.document.body)}for(const r in l)n.indexOf(r)===-1&&a.set(r,l[r])}initPageLayout(o,l){const n=o.headerBarHeight??0,a=o.footerBarHeight??0,r=Je({},Xs(),o.safeAreaInset),s=Qs(n,a),i=Je({},s.pageLayout,o.pageLayout);l=l??dt(),l.set("safeAreaInset",r),l.set("headerBarHeight",n),l.set("footerBarHeight",a),l.set("pageLayout",i),l.set("rootWidth",s.rootWidth),l.set("rootHeight",s.rootHeight)}setScopeGetter(o){js(o)}setAPI(o,l,n){er(o,l,n)}getAPI(o,l,n){return ut(o,l,n)}batchSetAPI(o,l){Ws(o,l)}clearScopeAPI(o){Ys(o)}getRootDomain(){return dt()}}function j(e){const o="fox-"+e;return{componentName:o,scope:e.replace("-",""),create(l){return l.baseName=e,l.name=o,l.install=n=>{n.component(l.name,l)},t.defineComponent(l)},createDemo(l){return l.baseName=e,l.name="demo-"+e,t.defineComponent(l)}}}const Zs=(e,o)=>{let l=document.body;const n=e.teleport||"body";n!="body"&&(Da(n)?l=document.querySelector(n):l=e.teleport);const a=document.createElement("view"),r=o.name?o.name+"-":"",s=e.id||new Date().getTime();a.id=r+s;let i={};Jt(o.wrapper)?i=o.wrapper(l,a):i=o.wrapper;const c=t.createApp(i,e),u=o.components;return u&&u.forEach(m=>{c.use(m)}),l.appendChild(a),{instance:c.mount(a),unmount:()=>{c.unmount(),l.removeChild(a)}}},tr=(e,o)=>e?t.h(e,o):"",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}},me={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},infoMarkClass:{type:String,required:!1,default:"is-info"},warnMarkClass:{type:String,required:!1,default:"is-warn"},errorMarkClass:{type:String,required:!1,default:"is-error"},errorTip:{type:String,required:!1},errorIcon:{type:Object,required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:Object,required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:Object,required:!1},infoClass:{type:String,required:!1},contentClass:{type:String,required:!1,default:"content--default"},contentStyle:{type:Object,required:!1,default:{}},hintType:{type:String,required:!1,default:"text"},hintText:{type:[String,Number],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:!0},hintProps:{type:Object,required:!1,default:{}},appearListen:{type:[Boolean,String],required:!1,default:!1}},or={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}},nr={name:{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}},lr=[];for(const e in nr)lr.push(e);function Te(e,o=null){if(o||(o=t.getCurrentInstance()),o&&o.proxy){let l=o.proxy;Object.assign(l,e)}}const Js=Symbol.for("InnerPageScopeKey"),_s=(e,o)=>({inheritAttrs:!0,props:{...ue,...or,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}},setup(l,n){const a=un(l.name,l);if(a){const u=Ja(a,l);Te({getPageContentHeight:()=>co(a,u),getPageContentWidth:()=>uo(a,u),getPageHeaderHeight:()=>so(a,u),getPageFooterHeight:()=>io(a,u)});const m=t.inject(Js,!1);u&&m&&(u.contentHeight="100%")}const r=t.computed(()=>({[e]:!0})),s=t.computed(()=>({})),i=t.getCurrentInstance(),c=(u,m=!1)=>{const h=i?.proxy;h&&typeof h.setNameValidateRules=="function"&&h.setNameValidateRules(u,!0,m)};return t.watch([()=>l.rules,()=>l.pureDataRules],([u,m],[h,p])=>{if(u&&h){const k=t.toRaw(h),g=t.toRaw(u),y=g?Reflect.ownKeys(g):[];(k?Reflect.ownKeys(k):[]).forEach(d=>{y.includes(d)||(g[d]=[])}),c(g)}if(m&&p){const k=t.toRaw(p),g=t.toRaw(m),y=g?Reflect.ownKeys(g):[];(k?Reflect.ownKeys(k):[]).forEach(d=>{y.includes(d)||(g[d]=[])}),c(g,!0)}},{deep:!0}),t.onMounted(()=>{if(l.rules){const u=t.toRaw(l.rules);c(u)}if(l.pureDataRules){const u=t.toRaw(l.pureDataRules);c(u,!0)}}),{classes:r,styles:s}}}),{componentName:ei,create:ti,scope:qB}=j("page"),oi=ti(_s(ei));function ni(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const Z=(e,o)=>{const l=e.__vccOpts||e;for(const[n,a]of o)l[n]=a;return l},hn=Z(oi,[["render",ni]]);function po(e){const o=t.unref(e);return{width:o.offsetWidth,height:o.offsetHeight}}function gn(e){const o=t.unref(e),l=window.getComputedStyle(o,null),n=parseFloat(l.getPropertyValue("padding-left")),a=parseFloat(l.getPropertyValue("padding-right")),r=parseFloat(l.getPropertyValue("padding-top")),s=parseFloat(l.getPropertyValue("padding-bottom"));return{width:o.clientWidth-n-a,height:o.clientHeight-r-s}}const li=(e,o,l,n=!1)=>({props:{fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetTop:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},align:{type:[String],default:"center"},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!0},leftIcon:{type:[Object],required:!1,default:l},leftText:{type:String,required:!1},titleShow:{type:Boolean,required:!1,default:!0},title:{type:String,required:!1,default:""},titleIcon:{type:[Object],required:!1},rightShow:{type:[String,Boolean],required:!1,default:!0},rightIcon:{type:[Object],required:!1},rightText:{type:String,required:!1,default:""}},emits:["back","click-title","click-right","click-right-text"],setup(a,r){const s=ve(),i=s?ro(s):null;i&&(i.headerMounted=!0);const c=e,u=t.computed(()=>({[c]:!0,[`${c}--border`]:a.border,[`${c}--fixed`]:a.fixed,[`${c}--safe-area-inset-top`]:a.safeAreaInsetTop})),m=t.computed(()=>({[`${c}__inner`]:!0,[`${c}__inner--${a.align}`]:!0})),h=a.height!==null&&a.height!==void 0?ie(a.height):null,p=t.computed(()=>{const N={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(s&&i){const B=Pe(a.padding??i.headerPadding);return Object.assign(N,B),h&&(i.headerHeight=h),i.headerHeight>0&&(N.height=i.headerHeight),N.safeAreaTop=i.safeAreaTop===-1?0:i.safeAreaTop,N.safeAreaTop>0&&(N.top=N.safeAreaTop+(B.top??0),N.height&&N.height>0&&(N.height=N.height+N.safeAreaTop)),N}if(h&&(N.height=h),a.padding){const B=Pe(a.padding);Object.assign(N,B)}return N}),k=t.ref(null),g=()=>{if(i&&k.value&&!eo(k.value)){if(!n){const N=po(k.value);i.headerAllHeight=N.height}return i.headerMounted=!0,!0}return!1};let y=null;t.onMounted(()=>{i&&(cn(g,50,5,50,!0),window.ResizeObserver&&k.value&&(y=new window.ResizeObserver(()=>{g()}),y.observe(k.value)))}),t.onUnmounted(()=>{i&&(i.headerMounted=!1,y&&(y.disconnect(),y=null))});const S=t.computed(()=>{const N={};return p.value.height!==null&&p.value.height!==void 0&&(N.height=`${p.value.height}px`),p.value.top!==null&&p.value.top!==void 0&&(N.paddingTop=`${p.value.top}px`),p.value.left!==null&&p.value.left!==void 0&&(N.paddingLeft=`${p.value.left}px`),p.value.right!==null&&p.value.right!==void 0&&(N.paddingRight=`${p.value.right}px`),p.value.bottom!==null&&p.value.bottom!==void 0&&(N.paddingBottom=`${p.value.bottom}px`),N}),d=t.computed(()=>!(p.value.height!==null&&p.value.height!==void 0&&p.value.height<=0));function f(){r.emit("back")}function b(){r.emit("click-title")}function w(){r.emit("click-right")}function V(){r.emit("click-right-text")}const E=()=>{if(!a.leftShow)return null;const N=[];if(r.slots.left)N.push(r.slots.left());else{if(r.slots.leftIcon){const B=t.h("view",{class:"left-icon",onClick:f},[r.slots.leftIcon()]);N.push(B)}else if(a.leftIcon){const B=t.h("view",{class:"left-icon",onClick:f},[t.h(a.leftIcon)]);N.push(B)}if(a.leftText){const B=t.h("view",{class:"left-text",onClick:f},[a.leftText]);N.push(B)}}return N.length===0?null:t.h("view",{class:"fox-header-bar__left"},N)},I=()=>{if(!a.rightShow)return null;const N=[];if(r.slots.right)N.push(r.slots.right());else{if(a.rightText){const B=t.h("view",{class:"right-text",onClick:V},[a.rightText]);N.push(B)}if(r.slots.rightIcon){const B=t.h("view",{class:"right-icon",onClick:w},[r.slots.rightIcon()]);N.push(B)}else if(a.rightIcon){const B=t.h("view",{class:"right-icon",onClick:w},[t.h(a.rightIcon)]);N.push(B)}}return N.length===0?null:t.h("view",{class:"fox-header-bar__right"},N)},D=()=>{if(!a.titleShow)return null;const N=[],B=r.slots.default?r.slots.default():null;if(B)N.push(B);else{if(a.title){const R=t.h("view",{class:"title-text"},[a.title]);N.push(R)}if(r.slots.titleIcon){const R=t.h("view",{class:"title-icon",onClick:b},[r.slots.titleIcon()]);N.push(R)}else if(a.titleIcon){const R=t.h("view",{class:"title-icon",onClick:b},[t.h(a.titleIcon)]);N.push(R)}}return N.length===0?null:t.h("view",{class:"fox-header-bar__title"},N)},z=()=>{const N=[],B=r.slots.bottom?r.slots.bottom():null;return B&&N.push(B),N.length===0?null:t.h("view",{class:"fox-header-bar__bottom"},N)};return()=>{if(!d.value)return null;const N=[];if(r.slots.all)N.push(r.slots.all());else{const R=[],L=E();L&&R.push(L);const $=D();$&&R.push($);const T=I();if(T&&R.push(T),R.length>0){const A=t.h("view",{class:m.value},R);N.push(A)}const q=z();q&&N.push(q)}if(N.length===0)return null;const B={class:u.value,style:S.value,ref:k};return t.h("view",B,N)}}}),{componentName:ai,create:ri,scope:si}=j("header-bar"),yn=ri(li(ai,si,te.Left,!1));function ii(e,o,l=!1){return{props:{fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetBottom:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(n,a){const r=ve(),s=r?ro(r):null,i=t.computed(()=>{const g=e;return{[g]:!0,[`${g}--${n.align}`]:!0,[`${g}--border`]:n.border,[`${g}--fixed`]:n.fixed,[`${g}--safe-area-inset-bottom`]:n.safeAreaInsetBottom}}),c=n.height!==null&&n.height!==void 0?ie(n.height):null,u=t.computed(()=>{const g={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&s){const y=Pe(n.padding??s.footerPadding);return Object.assign(g,y),c&&(s.footerHeight=c),s.footerHeight>0&&(g.height=s.footerHeight),g.safeAreaBottom=s.safeAreaBottom===-1?0:s.safeAreaBottom,g.safeAreaBottom>0&&(g.bottom=g.safeAreaBottom+(y.bottom??0),g.height&&g.height>0&&(g.height=g.height+g.safeAreaBottom)),g}if(c&&(g.height=c),n.padding){const y=Pe(n.padding);Object.assign(g,y)}return g}),m=t.ref(null),h=()=>{if(s&&m.value&&!eo(m.value)){if(!l){const g=po(m.value);s.footerAllHeight=g.height}return s.footerMounted=!0,!0}return!1};let p=null;t.onMounted(()=>{s&&(cn(h,50,5,50,!0),window.ResizeObserver&&(p=new window.ResizeObserver(()=>{h()}),p.observe(m.value)))}),t.onUnmounted(()=>{s&&(s.footerMounted=!1,p&&(p.disconnect(),p=null))});const k=t.computed(()=>{const g={};return u.value.height!==null&&u.value.height!==void 0&&(g.height=fe(u.value.height)),u.value.top!==null&&u.value.top!==void 0&&(g.paddingTop=fe(u.value.top)),u.value.left!==null&&u.value.left!==void 0&&(g.paddingLeft=fe(u.value.left)),u.value.right!==null&&u.value.right!==void 0&&(g.paddingRight=fe(u.value.right)),u.value.bottom!==null&&u.value.bottom!==void 0&&(g.paddingBottom=fe(u.value.bottom)),g});return()=>{const g=a.slots.default?a.slots.default():[],y={ref:m,class:i.value,style:k.value};return t.h("view",y,g)}}}}const{componentName:ci,create:di,scope:ui}=j("footer-bar"),kn=di(ii(ci,ui,!1));function fi(e,o){return{props:{padding:{type:[Object],required:!1}},setup(l){const n=ve(),a=t.computed(()=>({[e]:!0})),r=n?ro(n):null,s=t.computed(()=>{const u={};if(n&&r){if(l.padding){const d=Pe(l.padding);Object.assign(r.contentPadding,d)}const m=so(n,r),h=io(n,r);let p="";r.contentHeight?p=`${r.contentHeight}`:p=`${r.height}px`,console.debug("[content]page height:",p),console.debug("[content]header height:",m),console.debug("[content]footer height:",h),console.debug("[content]padding:",r.contentPadding),u.height=p;let k=(r&&r.contentPadding&&r.contentPadding.top)??-1;(k>=0||m>0)&&(k=k<0?0:k,u.paddingTop=`${m+k}px`);let g=(r&&r.contentPadding&&r.contentPadding.bottom)??-1;(g>=0||h>0)&&(g=g<0?0:g,u.paddingBottom=`${h+g}px`);const y=(r&&r.contentPadding&&r.contentPadding.left)??-1;y>=0&&(u.paddingLeft=`${y}px`);const S=(r&&r.contentPadding&&r.contentPadding.right)??-1;return S>=0&&(u.paddingRight=`${S}px`),u}if(l.padding){const m=Pe(l.padding);m.left&&(u.paddingLeft=`${m.left}px`),m.top&&(u.paddingTop=`${m.top}px`),m.right&&(u.paddingRight=`${m.right}px`),m.bottom&&(u.paddingBottom=`${m.bottom}px`)}return u}),i=t.ref(null),c=it(()=>{if(r&&i.value){const u=gn(i.value);r.contentInnerHeight=u.height,r.contentInnerWidth=u.width}},0);return t.onMounted(()=>{c()}),n&&r&&t.watch([()=>s.value,()=>a.value],([])=>{c()}),{contentRef:i,classes:a,styles:s}}}}const{componentName:mi,create:pi,scope:zB}=j("content"),hi=pi(fi(mi));function gi(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{ref:"contentRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const bn=Z(hi,[["render",gi]]),ft="GroupStateKey",ar=Symbol.for("GroupScopeKey");function ho(){return t.inject(ar,!1)}function go(e=!0){t.provide(ar,e)}function yi(e,o={}){Reflect.ownKeys(o).forEach(n=>{if(typeof n!="string")return;const a=o[n];Ea(a)||(e[n]=a)})}function ki(e,o={}){const n={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};yi(n,o);const a=t.shallowRef(n),r=t.markRaw({layout:a,passport:0,order:{index:0}});return e.set(ft,r),r}function Sn(e,o,l=-1,n=-1,a=!1,r,s,i){const c=e.get(ft);if(!c)return;const u=e.get("groupLayout")??{};l===-1&&(l=u.column??1),n===-1&&(n=u.gutter??0),r||(r=u.minItemWidth??-1),s||(s=u.maxItemWidth??-1);const m=ie(r),h=ie(s);i||(i=u.type??"grid");const p=()=>{const k=o===""||o===-1,g=ie(o);let y=pe(l);const S=ie(n);if(!k){let b=(g-(y-1)*S)/y;for(;h!==-1&&b>h;)y++,b=(g-(y-1)*S)/y;for(;m!==-1&&y>1&&b<m;)y--,b=(g-(y-1)*S)/y}let d=!1;const f=c.layout;f.value.width=o,f.value.column!==y&&(f.value.column=y,d=!0),f.value.gutter!==S&&(f.value.gutter=S,d=!0),f.value.type!==i&&(f.value.type=i,d=!0),d&&t.triggerRef(f)};if(a)p();else{const k=++c.passport;setTimeout(()=>{k===c.passport&&p()},50)}}function yo(e,o=!1){let l;return o?l=e.getForParent(ft):l=e.get(ft),l.layout}function ko(e,o=!1){let l;return o?l=e.getForParent(ft):l=e.get(ft),l.order}function rr(e,o=1){if(o==="stretch")return-1;const l=pe(o);return l===-1?100:100*l/e}function bo(e,o,l=1,n=0,a){const r={};let s=0;a?s=ie(a):s=rr(o.column,l),s>0&&(r.width=`${s}%`);const i=rr(o.column,n);i>0&&(r["margin-left"]=`${i}%`);const c=o.gutter/2;return c>0&&(r["padding-left"]=`${c}px`,r["padding-right"]=`${c}px`),r}function So(e,o,l=1,n=0){if(l==="stretch"){const c=e.index%o.column,u=c+(o.column-c);return e.index=e.index+(u-c),{"grid-column":`${c+1} / -1`}}let a=pe(l);if(a===-1){const c=e.index%o.column;return o.column,c==0?e.index=e.index+o.column:e.index=e.index+(o.column-c)+o.column,{"grid-column":"1 / -1"}}if(a>o.column){const c=e.index%o.column;return o.column,c==0?e.index=e.index+o.column:e.index=e.index+(o.column-c)+o.column,{"grid-column":"1 / -1"}}const r=pe(n)%o.column;let s=(e.index+r)%o.column,i=s+a;return i>o.column?(s=0,i=s+a,e.index=e.index+(o.column-s)+a):e.index=e.index+r+a,r>0?{"grid-column":`${s+1} / span ${a}`}:{"grid-column-start":`span ${a}`}}const sr=Symbol("RollingStateKey");function bi(e){t.provide(sr,e)}function Si(){return t.inject(sr,null)}function Cn(e){let o=0;const l=window.getComputedStyle(e,null);if(l.getPropertyValue("box-sizing")==="content-box"){const a=parseFloat(l.getPropertyValue("padding-top")),r=parseFloat(l.getPropertyValue("padding-bottom"));o=e.clientHeight-a-r}else o=e.offsetHeight;return o}function Ci(e){let o=Cn(e);if(o<=0){const l=e.cloneNode(!0),n=e.offsetWidth;l.style=`width: ${n}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(l),o=Cn(l),document.body.removeChild(l)}return o}function wi(e,o,l){if(e<=0)return"1fr";const n=(e-(o-1)*l)/o;return n>0?`${n}px`:"1fr"}const Ni={...ue,...or,...nr};function Bi(e,o,l){return{props:Ni,emits:["update:collapse"],setup(n,a){const r=un(n.name,n,lr),s=ki(r,{type:n.type}),i=ho();go(!0);const c=n.rollingDisplay?Si():null,u=t.ref(null),m=t.computed(()=>n.rollingDisplay?c&&!c.disabled:!1),h=t.computed(()=>i&&r?yo(r,!0).value:null),p=t.getCurrentInstance(),k=(W,Q=!1)=>{const _=p?.proxy;_&&typeof _.setNameValidateRules=="function"&&_.setNameValidateRules(W,!0,Q)};t.watch([()=>n.rules,()=>n.pureDataRules],([W,Q],[_,oe])=>{if(W&&_){const ne=t.toRaw(_),ae=t.toRaw(W),ye=ae?Reflect.ownKeys(ae):[];(ne?Reflect.ownKeys(ne):[]).forEach(Le=>{ye.includes(Le)||(ae[Le]=[])}),k(ae)}if(Q&&oe){const ne=t.toRaw(oe),ae=t.toRaw(Q),ye=ae?Reflect.ownKeys(ae):[];(ne?Reflect.ownKeys(ne):[]).forEach(Le=>{ye.includes(Le)||(ae[Le]=[])}),k(ae,!0)}},{deep:!0});const g=e,y=t.computed(()=>{const W={};if(W.height=q.value,n.width)n.width!=="auto"&&(W.width=fe(n.width));else{const Q=i?ko(r,!0):null;if(h.value&&Q){if(h.value.type==="grid"){const _=So(Q,h.value,n.span,n.offset);Object.assign(W,_)}else if(h.value.type==="flow"){const _=bo(Q,h.value,n.span,n.offset,n.width);Object.assign(W,_)}}}return W}),S=t.computed(()=>{const W=s.layout.value.type;return W==="grid"||W==="flow"?{[`${g}--${W}`]:!0,[`${g}--${W}-justify-${n.justify}`]:!0,[`${g}--${W}-align-${n.align}`]:!0,[`${g}--gutter`]:!0}:{[`${g}--${W}`]:!0,[`${g}--gutter`]:!0}}),d=t.computed(()=>{if(s.layout.value.type==="grid"){let Q="";if(n.columnWidth)Q=`repeat(auto-fill, ${n.columnWidth})`;else{const _=wi(z.value,s.layout.value.column,s.layout.value.gutter);Q=`repeat(${s.layout.value.column}, ${_})`}return{"column-gap":`${s.layout.value.gutter}px`,"grid-template-columns":Q}}}),f=t.toRef(n,"title"),b=t.toRef(n,"gutter"),w=t.toRef(n,"column"),V=t.computed(()=>i||m.value?!0:he(n.isWrap)),E=[],I=W=>{E.push(W)},D=()=>{let W=E.length;E.splice(0,W)},z=t.ref(-1),N=W=>{const Q=gn(W).width;Q>0&&Q!==z.value&&(z.value=Q)};Sn(r,z.value,w.value,b.value,!0,n.minItemWidth,n.maxItemWidth,n.type),n.autoLayout&&t.watch([z,w,b],([W,Q,_])=>{s.order.index=0,Sn(r,W,Q,_,!1,n.minItemWidth,n.maxItemWidth,n.type)});const B=t.computed(()=>A.value?n.expandText??"":n.collapseText??""),R=t.computed(()=>({[`${e}__header-collapse-text`]:!0})),L=t.computed(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!A.value,"is-collapse":A.value})),$=t.ref(),T=t.ref(),q=t.computed(()=>O.value||fe(n.height)||""),A=t.ref(!1),O=t.ref(""),x=t.ref(!1);let M=-1;const F=(W,Q=!0)=>{const _=$.value;if(_&&A.value!==W){if(M=M===-1?Ci(_):M,x.value=!0,Q)if(_.style["will-change"]="height",_.ontransitionend=function(){_.ontransitionend=null,this.style["will-change"]="auto",W||(O.value="",x.value=!1)},W){let oe=0;n.collapseHeight?oe=n.collapseHeight:T.value&&T.value.classList.contains(`${e}__header`)&&(oe=T.value.offsetHeight),O.value=`${M}px`,t.nextTick(()=>{O.value=`${oe}px`})}else O.value=`${M}px`;else if(W){let oe=0;n.collapseHeight?oe=n.collapseHeight:T.value&&T.value.classList.contains(`${e}__header`)&&(oe=T.value.offsetHeight),O.value=`${oe}px`}else x.value=!1,O.value=`${M}px`;A.value=W,a.emit("update:collapse",W)}};t.watch(()=>n.collapse,W=>{F(W)});const G=()=>{Y()},Y=W=>{W=W??!A.value,F(W)};Te({toggleCollapse:Y,doLayout:()=>{E[0]&&(N(E[0]),Sn(r,z.value,w.value,b.value,!0,n.minItemWidth,n.maxItemWidth,n.type))}});let K=null,U=!0;const P=W=>{if(n.rules){const Q=t.toRaw(n.rules);k(Q)}if(n.pureDataRules){const Q=t.toRaw(n.pureDataRules);k(Q,!0)}if(Ye&&(W&&F(he(n.collapse),!1),n.autoLayout&&Array.isArray(E)&&E.length>0)){const Q=E[0];N(Q),window.ResizeObserver&&(K=new window.ResizeObserver(()=>{N(Q)}),K.observe(Q))}},v=()=>{K?.disconnect(),K=null},H=!m.value||c?.acquire();H&&(u.value=m.value?!0:null),t.onMounted(()=>{if(H&&(P(U),U=!1),m.value&&c){let W=null,Q=c.initialHeight;c.observe($.value,_=>{if(_!==u.value)if(_)u.value=!0,A.value||(O.value=""),W=setTimeout(()=>{W=null,u.value!==!1&&(P(U),U=!1)},100);else{if(W!==null&&clearTimeout(W),u.value=!1,!A.value)if(U)O.value=c.initialHeight;else{let oe=Cn($.value);oe<=0?O.value=Q:(O.value=`${oe}px`,Q=O.value)}U||v()}})}}),t.onUnmounted(()=>{K?.disconnect(),c&&c.unobserve($.value)});const J=(W="right")=>{const Q=[];if(B.value){const ne={class:R.value},ae=t.h("span",ne,[B.value]);Q.push(ae)}const _={class:L.value},oe=l(n.collapseIcon,_);return oe&&Q.push(oe),Q.length>0?t.h("div",{class:{[`${g}__header-collapse`]:!0,[`is-${W}`]:!0},onClick:G},Q):null},X=(W,Q,_,oe)=>{const ne={...S.value};return Q===0&&(ne[`${g}__first`]=!0),_>=oe-1&&(ne[`${g}__last`]=!0),t.h("div",{ref:I,key:`${Q}`,class:ne,style:d.value},W)};return()=>{if(m.value&&u.value!==!0){const ne=n.tag||"div";return t.h(ne,{ref:$,prop:n.name,class:{[`${g}`]:!0,"is-collapse":x.value},style:y.value},[])}s.order.index=0;const W=[];let Q=0;if(a.slots.header){const ne={key:`${Q++}`,ref:T,class:{[`${g}__header`]:!0,[`${g}__first`]:!0}},ae=t.h("div",ne,[a.slots.header()]);W.push(ae)}else{const ne=[],ae=n.collapsePosition==="left";if(ae&&n.showCollapse){const ye=J("left");ye&&ne.push(ye)}if(f.value){if(n.showMark){const Se={class:{[`${g}__header-mark`]:!0}};n.markColor&&(Se.style={background:n.markColor});const Le=t.h("div",Se);ne.push(Le)}const ye=t.h("div",{class:{[`${g}__header-title`]:!0}},[f.value]);ne.push(ye)}if(a.slots.toolbar&&ne.push(a.slots.toolbar()),!ae&&n.showCollapse){const ye=J("right");ye&&ne.push(ye)}if(ne.length>0){const ye={key:`${Q++}`,ref:T,class:{[`${g}__header`]:!0,[`${g}__first`]:!0}},Se=t.h("div",ye,ne);W.push(Se)}}D();const _=a.slots.default?a.slots.default():[],oe=s.layout.value.type;if(oe==="grid"){const ne=X(_,Q++,0,_.length);W.push(ne)}else if(oe==="flow"){const ne=X(_,Q++,0,_.length);W.push(ne)}else for(let ne=0;ne<_.length;ne++){const ae=_[ne],ye=X([ae],Q++,ne,_.length);W.push(ye)}if(V.value){const ne=n.tag||"div";return t.h(ne,{ref:$,prop:n.name,class:{[`${g}`]:!0,"is-collapse":x.value},style:y.value},[W])}else return W}}}}const{componentName:Ai,create:Vi,scope:Ti}=j("group"),wn=Vi(Bi(Ai,Ti,(e=te.RectUp,o={})=>t.h(e,o)));function $i(e){return e===window}const Ei=/matrix\((.+)\)/,ir=e=>{const o=t.unref(e);if(!o)return{x:0,y:0};if($i(o))return{x:0,y:0};let l=0,n=0,a=o;for(;a!==null;)l+=a.offsetLeft,n+=a.offsetTop,a=a.offsetParent;let r=0,s=0,i=0,c=0;for(a=o;a!==document;){s+=a.scrollTop,r+=a.scrollLeft;const{transform:u}=window.getComputedStyle(a);if(u){const m=Ei.exec(u);if(m){let p=m[1].split(/\s*,\s*/);p.length==6&&(i+=Number(p[4]),c+=Number(p[5]))}}a=a.parentNode}return l-=r,n-=s,l+=i,n+=c,{x:l,y:n}};class Di{watchedListeners=[];add(o){this.watchedListeners.push(o)}remove(o){const l=this.watchedListeners.indexOf(o);l!==-1&&this.watchedListeners.splice(l,1)}size(){return this.watchedListeners.length}listen=()=>{this.watchedListeners.forEach(o=>{try{o()}catch{}})}}class Ii{monitorRegister=new WeakMap;watch(o,l){let n=o.parentNode;const a=document.body.parentNode;for(;n&&n!==a;){let r=this.monitorRegister.get(n);r||(r=new Di,n.addEventListener("scroll",r.listen),n===document.body&&n.addEventListener("resize",r.listen),this.monitorRegister.set(n,r)),r.add(l),n=n.parentNode}}unwatch(o,l){let n=o.parentNode;const a=document.body.parentNode;for(;n&&n!==a;){let r=this.monitorRegister.get(n);r&&(r.remove(l),r.size()===0&&(this.monitorRegister.delete(n),n.removeEventListener("scroll",r.listen),n===document.body&&n.removeEventListener("resize",r.listen))),n=n.parentNode}}}const cr=new Ii,dr={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:qi,create:zi}=j("price"),Mi=zi({props:{...dr},setup(e){const o=t.computed(()=>({[qi]:!0})),l=t.computed(()=>e.needSymbol?e.symbol:""),n=t.computed(()=>ge(e.price)==0?"":Gt(e.price,e.decimalLength,!0,pe(e.digits),e.separator)),a=t.computed(()=>{let s=n.value;if(s.length==0)return"";let i=s.indexOf(".");return s.substring(0,i)}),r=t.computed(()=>{let s=n.value;if(s.length==0)return"";let i=s.indexOf(".");return s.substring(i+1)});return{classes:o,showSymbol:l,intText:a,decimalText:r}}}),Pi=["innerHTML"],Ri=["innerHTML"];function xi(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Pi)):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,Ri)):t.createCommentVNode("",!0)],2)}const Ge=Z(Mi,[["render",xi]]),{componentName:Nn,create:Li}=j("hint-text"),Oi=Li({components:{Price:Ge},props:{...dr,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,o){const l=t.ref({top:null,right:null,bottom:null,left:null}),n=t.ref({x:0,y:0}),a=t.ref(0),r=t.ref(0),s=t.ref(e.placement),i=t.ref(!1),c=t.ref(null),u=(B,R,L,$,T,q)=>{const A=document.documentElement.clientWidth||document.body.clientWidth,O=document.documentElement.clientHeight||document.body.clientHeight,x=B.split("-");let M=[];x[0]==="top"?M=["top","bottom","right","left"]:x[0]==="bottom"?M=["bottom","top","right","left"]:x[0]==="left"?M=["left","top","bottom","right"]:x[0]==="right"&&(M=["right","top","bottom","left"]);const F={top:null,right:null,bottom:null,left:null},G=[];for(let Y=0;Y<M.length;Y++){const ee=M[Y];if(G[0]=ee,x[1]&&(G[1]=x[1]),ee==="top"){const K=R.y-q-e.arrowSize-e.offset;if(K>=0){F.top=K;let U=0;x[1]==="start"?U=R.x:x[1]==="end"?U=R.x+L-T:U=R.x+L/2-T/2;const P=A-U-T;P<0?(U+=P,h.value=-P):h.value=0,F.left=U<0?0:U;break}}else if(ee==="bottom"){const K=R.y+$+e.arrowSize+e.offset;if(K+q<=O){F.top=K;let U=0;x[1]==="start"?U=R.x:x[1]==="end"?U=R.x+L-T:U=R.x+L/2-T/2;const P=A-U-T;P<0?(U+=P,h.value=-P):h.value=0,F.left=U<0?0:U;break}}else if(ee==="left"){const K=R.x-T-e.arrowSize-e.offset;if(K>=0){F.left=K;let U=0;x[1]==="start"?U=R.y:x[1]==="end"?U=R.y+$-q:U=R.y+$/2-q/2,F.top=U<0?0:U;break}}else if(ee==="right"){const K=R.x+L+e.arrowSize+e.offset;if(K+T<=A){F.left=K;let U=0;x[1]==="start"?U=R.y:x[1]==="end"?U=R.y+$-q:U=R.y+$/2-q/2,F.top=U<0?0:U;break}}}return{bestPlacement:G.join("-"),bestInsetRect:F}},m=(B,R,L=10)=>{if(!Ye||R===!1||!B)return;n.value=ir(e.reference),a.value=e.reference.offsetWidth,r.value=e.reference.offsetHeight;const $=c.value.offsetHeight,T=c.value.offsetWidth,{bestPlacement:q,bestInsetRect:A}=u(e.placement,n.value,a.value,r.value,T,$);s.value=q,l.value=A,i.value=!0},h=t.ref(0),p=it(()=>{m(e.message,e.visible)},10),k=t.ref(e.visible);t.watch(()=>e.visible,B=>{k.value=B});const g=t.computed(()=>k.value&&y.value),y=t.ref(!0),S=it(B=>{const R=B[0];R&&(y.value=R.isIntersecting)},10),d=new IntersectionObserver(S);t.watch([()=>e.message,()=>e.visible],([B,R])=>{setTimeout(()=>{m(e.message,e.visible)},0)}),t.onMounted(()=>{setTimeout(()=>{m(e.message,e.visible)},0),cr.watch(e.reference,p),d.observe(e.reference)}),t.onBeforeMount(()=>{cr.unwatch(e.reference,p),d.unobserve(e.reference),d.disconnect()});const f=t.computed(()=>{const B={[Nn]:!0};return s.value.startsWith("top")?B["is-top"]=!0:s.value.startsWith("right")?B["is-right"]=!0:s.value.startsWith("bottom")?B["is-bottom"]=!0:s.value.startsWith("right")&&(B["is-right"]=!0),e.size==="small"?B["is-small"]=!0:e.size==="large"&&(B["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(B[`${e.customClass}`]=!0),B}),b=t.computed(()=>{const B={};l.value.top!==null&&(B.top=`${l.value.top}px`),l.value.right!==null&&(B.right=`${l.value.right}px`),l.value.bottom!==null&&(B.bottom=`${l.value.bottom}px`),l.value.left!==null&&(B.left=`${l.value.left}px`),e.autoFit&&(B["min-width"]=`${a.value}px`);const R=document.documentElement.clientWidth||document.body.clientWidth;return B["max-width"]=`${R}px`,i.value&&(B.opacity="1"),e.transition||(B.transition="none"),e.zIndex&&(B["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(B,e.customStyle),B}),w=t.computed(()=>{const B=[`${Nn}__content`];return e.customTextClass&&B.push(e.customTextClass),B}),V=t.computed(()=>{const B={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(B,e.customTextStyle),B}),E=t.computed(()=>({[`${Nn}__arrow`]:!0})),I=t.computed(()=>{const B={};return e.showArrow?(B.width=`${e.arrowSize}px`,B.height=`${e.arrowSize}px`,s.value==="top"?(B.left="50%",B.bottom=`-${e.arrowSize}px`,B.transform=" translate(-50%, 0%)"):s.value==="top-start"?(B.left=`${e.arrowOffset+h.value}px`,B.bottom=`-${e.arrowSize}px`):s.value==="top-end"?(B.right=`${e.arrowOffset-h.value}px`,B.bottom=`-${e.arrowSize}px`):s.value==="right"?(B.left=`-${e.arrowSize}px`,B.top="50%",B.transform=" translate(0%, -50%)"):s.value==="right-start"?(B.left=`-${e.arrowSize}px`,B.top=`${e.arrowOffset}px`):s.value==="right-end"?(B.left=`-${e.arrowSize}px`,B.bottom=`-${e.arrowOffset}px`):s.value==="bottom"?(B.left="50%",B.top=`-${e.arrowSize}px`,B.transform=" translate(-50%, 0%)"):s.value==="bottom-start"?(B.left=`${e.arrowOffset+h.value}px`,B.top=`-${e.arrowSize}px`):s.value==="bottom-end"?(B.right=`${e.arrowOffset-h.value}px`,B.top=`-${e.arrowSize}px`):s.value==="left"?(B.right=`-${e.arrowSize}px`,B.top="50%",B.transform=" translate(0%, -50%)"):s.value==="left-start"?(B.right=`-${e.arrowSize}px`,B.top=`${e.arrowOffset}px`):s.value==="left-end"&&(B.right=`-${e.arrowSize}px`,B.bottom=`-${e.arrowOffset}px`),B):{display:"none"}}),D=t.computed(()=>g.value&&e.closeOnClick),z=t.computed(()=>{const B={};return e.zIndex&&(B["z-index"]=`${e.zIndex}`),B});return{show:g,tipRef:c,classes:f,styles:b,textClasses:w,textStyles:V,arrowClasses:E,arrowStyles:I,overlayShow:D,overlayStyle:z,onClickOverlay:()=>{k.value=!1,o.emit("update:visible",!1)}}}});function Fi(e,o,l,n,a,r){const s=t.resolveComponent("Price");return t.openBlock(),t.createElementBlock(t.Fragment,null,[e.overlayShow?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-hint-text__overlay",style:t.normalizeStyle(e.overlayStyle),onClick:o[0]||(o[0]=(...i)=>e.onClickOverlay&&e.onClickOverlay(...i))},null,4)):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",{ref:"tipRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.createElementVNode("div",{class:t.normalizeClass(e.textClasses),style:t.normalizeStyle(e.textStyles)},[e.type=="number"?(t.openBlock(),t.createBlock(s,{key:0,price:e.message,position:"before",size:e.size},null,8,["price","size"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.message),1)],64))],6),t.createElementVNode("div",{class:t.normalizeClass(e.arrowClasses),style:t.normalizeStyle(e.arrowStyles)},null,6)],6),[[t.vShow,e.show]])],64)}const ur=Z(Oi,[["render",Fi]]);class fr{seed=new Date().getTime();constructor(o){this.seed=o??new Date().getTime()}get(){let o=this.seed++;return this.seed<0&&(this.seed=0),o}}const Bn={},Ki=new fr,mt=new Map,Co=e=>{if(e){const o=document.getElementById(e);mt.delete(e),o&&o.parentNode?.removeChild(o)}else{for(const o of mt.keys()){const l=document.getElementById(o);l&&l.parentNode?.removeChild(l)}mt.clear()}},vi=e=>{e.unmount=Co;const o=document.getElementById(e.id);if(o){const l=mt.get(e.id);l?e={...Bn,...l,...e}:e={...Bn,...e},e.transition=!1;const n=t.createVNode(ur,e);return t.render(n,o),e.id}},Ui=e=>{e.unmount=Co;let o=e.id??`hinttext_${Ki.get()}`;e={...Bn,...e},e.id=o,mt.set(o,e);const l=document.createElement("div");l.id=e.id;const n=t.createVNode(ur,e);return t.render(n,l),document.body.appendChild(l),o},Hi=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},ot={show(e,o,l={},n=!0){Hi(o);const a=l.id;return a&&mt.has(a)?vi({...l,message:o,reference:e}):(n&&Co(),Ui({...l,message:o,reference:e}))},hide(e){Co(e)},install(e){e.config.globalProperties.$hintText=ot}},{componentName:mr,create:ji}=j("item"),Wi=ji({inheritAttrs:!0,props:{...ue,...me},emits:["appear","disappear"],setup(e,o){const l=e.prop??o.attrs.name;Be({componentName:mr,validate:!1},l);const n=ve(),a=ho();go(!1);const r=t.computed(()=>a&&n?yo(n,!1).value:null),s=mr,i=t.ref(null),c=t.computed(()=>{const X={[s]:!0,[`${s}__gutter`]:r.value&&r.value.type!=="flow",[`${s}__stretch`]:e.span==="stretch",[`${s}__input--border`]:e.hasBorder};if(X[e.errorMarkClass]=!!R.value,X[e.warnMarkClass]=!!N.value,X[e.infoMarkClass]=!!D.value,typeof i.value=="function"){const W=i.value(l);X[W]=!0}else if(typeof i.value=="string"){const W=i.value;X[W]=!0}return X}),u=t.ref(null),m=t.computed(()=>{const X={};if(e.width)e.width!=="auto"&&(X.width=fe(e.width));else{const W=a&&n?ko(n,!1):null;if(r.value&&W){if(r.value.type==="grid"){const Q=So(W,r.value,e.span,e.offset);Object.assign(X,Q)}else if(r.value.type==="flow"){const Q=bo(W,r.value,e.span,e.offset,e.width);Object.assign(X,Q)}}}if(typeof u.value=="function"){const W=u.value(l);W&&Object.assign(X,W)}else if(u.value&&typeof u.value=="object"){const W=u.value;Object.assign(X,W)}return X}),h=t.ref(null),p=t.computed({get:()=>h.value??he(e.isRequired),set:X=>{h.value=X}}),k=t.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof o.slots.label=="function"),g=Ae(t.toRef(e,"labelPosition"),"labelPosition",fo.Near),y=t.computed(()=>g&&g.value==="top"?"top":g&&g.value==="right"?"right":"left"),S=t.computed(()=>({[`${s}__main`]:!0,[`${s}__main--${y.value}`]:!0})),d=t.computed(()=>({label:!0,[`label--${y.value}`]:!0})),f=Ae(t.toRef(e,"labelWidth"),"labelWidth",fo.Near),b=t.computed(()=>f&&f.value?{width:fe(f.value)}:{}),w=t.computed(()=>({"label--string":!0,"label--required":p.value})),V=t.computed(()=>({content:!0,[e.contentClass]:!0})),E=t.computed(()=>({...e.contentStyle})),I=t.shallowReactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});Te({setRequired(X){p.value=X},setErrorTip(X){I.errorTip=X},setErrorIcon(X){I.errorIcon=X},setWarnTip(X){I.warnTip=X},setWarnIcon(X){I.warnIcon=X},setInfoTip(X){I.infoTip=X},setInfoIcon(X){I.infoIcon=X},setCustomClassName(X){i.value=X},setCustomStyle(X){u.value=X}});const D=t.computed(()=>e.infoTip||I.infoTip),z=t.computed(()=>e.infoIcon||I.infoIcon),N=t.computed(()=>e.warnTip||I.warnTip),B=t.computed(()=>e.warnIcon||I.warnIcon),R=t.computed(()=>e.errorTip||I.errorTip),L=t.computed(()=>e.errorIcon||I.errorIcon),$=t.computed(()=>R.value?"error":N.value?"warn":D.value?"info":""),T=t.computed(()=>$.value.length>0),q=t.computed(()=>$.value==="error"?R.value:$.value==="warn"?N.value:$.value==="info"?D.value:""),A=t.computed(()=>$.value==="error"?L.value:$.value==="warn"?B.value:$.value==="info"?z.value:null),O=t.computed(()=>{let X={[`${s}__tip`]:!0,[`${s}__tip--${$.value}`]:!0};return $.value==="error"&&e.errorClass?X[`${e.errorClass}`]=!0:$.value==="warn"&&e.warnClass?X[`${e.warnClass}`]=!0:$.value==="info"&&e.infoClass&&(X[`${e.infoClass}`]=!0),X}),x=t.computed(()=>{let X={};return g&&g.value==="top"||!k.value?X["padding-left"]="0px":f&&f.value&&(X["padding-left"]=fe(f.value)),X}),M=()=>{const X=A.value;return X?typeof X=="function"?t.h("div",{class:"fox-item__tip--icon"},[X()]):t.h("div",{class:"fox-item__tip--icon"},[t.h(X)]):null},F=()=>{const X=q.value;return X?typeof X=="function"?t.h("div",{class:"fox-item__tip--text"},[X()]):t.h("div",{class:"fox-item__tip--text"},[X]):null},G=t.computed(()=>o.slots.fixedPreTip),Y=t.computed(()=>({[`${s}__fixed-pre-tip`]:!0})),ee=t.computed(()=>o.slots.fixedTip),K=t.computed(()=>({[`${s}__fixed-tip`]:!0})),U=t.ref();let P="";t.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([X,W,Q,_])=>{U.value&&(X&&!ce(W)?P?ot.show(U.value,W,{..._,id:P,type:Q},!0):P=ot.show(U.value,W,{..._,type:Q},!0):ot.hide(P))});let v=null;const H=()=>{v||!U.value||(v=new IntersectionObserver(X=>{let W=!1;for(let Q of X)if(Q.intersectionRatio>0){W=!0,W&&o.emit("appear",Q);break}W||o.emit("disappear")}),v.observe(U.value))},J=()=>{!v||!U.value||(v.unobserve(U.value),v=null)};return t.watch(()=>he(e.appearListen),X=>{X?H():J()}),t.onMounted(()=>{he(e.appearListen)&&H()}),t.onUnmounted(J),{classes:c,styles:m,mainClasses:S,hasLabel:k,labelClasses:d,labelStyles:b,labelStringClasses:w,contentClasses:V,contentStyles:E,contentRef:U,hasTip:T,mTip:q,mIcon:A,renderIcon:M,renderTip:F,tipClasses:O,tipStyles:x,hasFixedTip:ee,fixedTipClasses:K,hasFixedPreTip:G,fixedPreTipClasses:Y}}}),Yi=["prop"];function Xi(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),prop:e.prop},[t.createElementVNode("div",{class:t.normalizeClass(e.mainClasses)},[e.hasLabel?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.labelClasses),style:t.normalizeStyle(e.labelStyles)},[t.createElementVNode("div",{class:t.normalizeClass(e.labelStringClasses)},[t.renderSlot(e.$slots,"label",{},()=>[t.createTextVNode(t.toDisplayString(e.label),1)])],2),t.renderSlot(e.$slots,"fixedPreTip")],6)):t.createCommentVNode("",!0),t.createElementVNode("div",{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"),e.hasFixedTip?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.fixedTipClasses)},[t.renderSlot(e.$slots,"fixedTip")],2)):t.createCommentVNode("",!0)],6)],2),t.createVNode(t.Transition,{name:"fox-item__animate"},{default:t.withCtx(()=>[e.hasTip?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.tipClasses),style:t.normalizeStyle(e.tipStyles)},[e.mIcon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon()),{key:0})):t.createCommentVNode("",!0),e.mTip?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderTip()),{key:1})):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0)]),_:1}),t.renderSlot(e.$slots,"hide")],14,Yi)}const Ne=Z(Wi,[["render",Xi]]);function Qi(e,o){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(l,n){const a=e,r=t.computed(()=>({[a]:!0,[`${a}__stretch`]:l.span==="stretch",[`${a}__${l.align}`]:!0})),s=ve(),i=ho();go(!1);const c=t.computed(()=>{const u={};if(l.width)l.width!=="auto"&&(u.width=fe(l.width));else if(i&&s){const m=yo(s,!1),h=ko(s,!1);if(m.value&&h){if(m.value.type==="grid"){const p=So(h,m.value,l.span,l.offset);Object.assign(u,p)}else if(m.value.type==="flow"){const p=bo(h,m.value,l.span,l.offset,l.width);Object.assign(u,p)}}}return u});return()=>{const u=[];if(n.slots.default){const h=n.slots.default();if(l.divide)for(let p=0;p<h.length;p++){if(p>0){const k=t.h("div",{class:{[`${a}__divide`]:!0}});u.push(k)}u.push(h[p])}else Reflect.apply([].push,u,h)}const m={class:r.value,style:c.value};return t.h("div",m,u)}}}}const{componentName:Gi,create:Zi,scope:PB}=j("row-item"),An=Zi(Qi(Gi));function Ji(e,o){return{props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1}},setup(l,n){const a=ve(),r=ho();go(!1);const s=t.computed(()=>r&&a?yo(a,!1).value:null),i=e,c=t.computed(()=>({[i]:!0,[`${i}__gutter`]:s.value&&s.value.type!=="flow",[`${i}__stretch`]:l.span==="stretch"})),u=t.computed(()=>{const m={};if(l.width)l.width!=="auto"&&(m.width=fe(l.width));else{const h=r&&a?ko(a,!1):null;if(s.value&&h){if(s.value.type==="grid"){const p=So(h,s.value,l.span,l.offset);Object.assign(m,p)}else if(s.value.type==="flow"){const p=bo(h,s.value,l.span,l.offset,l.width);Object.assign(m,p)}}}return m});return()=>{const m={class:c.value,style:u.value};return n.slots&&typeof n.slots.default=="function"?t.h("div",m,n.slots.default()):t.h("div",m)}}}}const{componentName:_i,create:ec,scope:RB}=j("slot-item"),Vn=ec(Ji(_i)),pr={type:{type:String,default:"text"},modelValue:{type:[String,Number],default:""},placeholder:{type:String,default:""},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function tc(e,o,l,n){return{props:{...ue,...me,...pr},emits:["change","update:modelValue","blur","focus","clear"],setup(a,r){const s=Ve(t.computed(()=>a.disabled)),i=Ee(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),{toLocaleRefs:u}=se.useFoxI18n(o),m=u(a,["placeholder"]),h=t.ref(!1),p=qe(a,"modelValue"),k=e,g=t.computed(()=>({[k]:!0,[`${k}__disabled`]:s.value,[`${k}__readonly`]:i.value})),y=Ae(t.computed(()=>a.textAlign),"textAlign"),S=t.computed(()=>{const T={};return y.value&&(T["text-align"]=y.value),T}),d=T=>{let A=T.target.value;a.type==="digit"&&(A=nn(A,!0)),a.type==="number"&&(A=nn(A,!1)),a.maxLength&&A.length>Number(a.maxLength)&&(A=A.slice(0,Number(a.maxLength))),p.value=A,c("update:modelValue",A,T),c("change",A,T)};let f=qe(a,"hintText"),b=t.ref(!1);const w=T=>{let A=T.target.value;h.value=!0,ce(f.value)||(b.value=!0),c("focus",A,T)},V=T=>{setTimeout(()=>{b.value&&(b.value=!1),h.value=!1},0);let A=T.target.value;a.maxLength&&A.length>Number(a.maxLength)&&(A=A.slice(0,Number(a.maxLength))),c("blur",A,T)},E=t.computed(()=>({[`${k}__append`]:!0})),I=t.computed(()=>{const T={};return r.slots.append&&!D.value&&!L.value&&(T.display="none"),T}),D=t.computed(()=>ge(a.unit)>0),z=t.computed(()=>!L.value),N=t.computed(()=>({hidden:!z.value})),B=T=>{p.value="",c("update:modelValue","",T),c("change","",T),c("clear","")},R=t.computed(()=>he(a.clearable)&&!s.value&&!i.value),L=t.computed(()=>{let T=ge(p.value)>0;return he(a.clearable)&&T&&h.value}),$=t.computed(()=>({action:!0,hidden:!L.value}));return()=>{const T={class:g.value,style:S.value,type:a.type,maxlength:a.maxLength,placeholder:m.placeholder.value,disabled:s.value,readonly:i.value,value:p.value,"adjust-position":a.adjustPosition,"always-system":a.alwaysSystem,onInput:d,onFocus:w,onBlur:V},q=[],A=t.h("input",T);q.push(A);const O=[];if(R.value){const K={class:["action-icon"]},U=t.h(n,K),P={class:$.value,onClick:B},v=t.h("view",P,{default:()=>[U]});O.push(v)}if(D.value){const K=t.h("view",{class:N.value},[a.unit]);O.push(K)}const x={class:E.value,style:I.value},M=t.h("view",x,{default:()=>O});q.push(M);const F={default:()=>q};F.label=r.slots.default,F.prepend=r.slots.prepend,F.append=r.slots.append,F.fixedPreTip=r.slots.fixedPreTip,F.fixedTip=r.slots.fixedTip;const Y={...ln(a,pr),hintText:f.value,hintVisible:b.value};return t.h(l,Y,F)}}}}const{componentName:oc,create:nc,scope:lc}=j("input-item"),Tn=nc(tc(oc,lc,Ne,te.CircleClose));function hr(e,o=0){let l=`${e}`,n=l.indexOf(".");if(n==-1)return l;let a=n;for(let r=l.length-1;r>=n;r--)if(l.charAt(r)!="0"){a=r;break}return a-n<o?a=n+o+1:a!=n&&(a+=1),a>l.length?l=l.padEnd(a,"0"):l=l.substring(0,a),l}function gr(e,o,l=20){if(typeof o=="string"&&(o=pe(o)),o==1||o==-1)return`${e}`;if(o==0)return"0";if(o>0){let n=Va(`${e}`,`${o}`);return hr(n)}else{let n=Zo(`${e}`,Ta(`${o}`),20);return hr(n)}}function ac(e,o=-1,l=!1,n=3,a=","){return Gt(e,o,l,n,a)}function yr(e,o,l,n,a=!0){if(e=="")return"";if(e=$a(e),o=pe(o),o==1)return e;if(n)e=gr(e,o),l&&(e=="0"&&a?e=`${e}.`.padEnd(pe(l)+2,"0"):e=Zo(e,1,pe(l)));else{let r=-1*o;e=gr(e,r)}return e}function kr(e,o){let l={maxValid:!0,minValid:!0,message:""};if(o.min!==void 0){let n=he(o.minInclude),a=Jo(e,o.min);if(n&&a==-1||!n&&(a==0||a==-1)){let r="请输入不小于 {0} 的数值";l.message=r.replace("{0}",o.min),l.minValid=!1}}if(o.max!=null){let n=he(o.maxInclude),a=Jo(e,o.max);(n&&a==1||!n&&(a==0||a==1))&&(l.maxValid=!1)}return l}const br={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}};function rc(e,o,l,n){return{props:{...ue,...me,...br},emits:["change","update:modelValue","blur","focus","clear"],setup(a,r){const s=Ve(t.computed(()=>a.disabled)),i=Ee(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),u=t.ref(!1),m=qe(a,"modelValue"),h=t.ref("");t.watch([()=>m.value,()=>a.rates,()=>a.precision],([x,M,F])=>{if(ce(x)){h.value="";return}const G=yr(x,M,F,!1);h.value!==G&&(h.value=G)},{immediate:!0});const p=t.computed(()=>{let x="";return u.value&&(x=h.value),x}),{t:k}=se.useFoxI18n(o),g=t.computed(()=>{let x=a.placeholder??"";return!u.value&&!ce(h.value)?x=ac(h.value,a.decimalLength,a.autoPadding,a.digits,a.separator):x=ce(x)?k(["placeholder"]):x,x}),y=e,S=t.computed(()=>({[y]:!0,[`${y}__disabled`]:s.value,[`${y}__placeholder`]:h.value.length>0})),d=Ae(t.computed(()=>a.textAlign),"textAlign"),f=t.computed(()=>{const x={};return d.value&&(x["text-align"]=d.value),x}),b=t.ref(""),w=t.computed(()=>{let x=b.value;return ce(x)&&(x=a.errorTip??""),x}),V=t.ref(""),E=t.ref(!1),I=x=>{let F=x.target.value;if(ce(F)){h.value="",m.value="",c("update:modelValue","",x),c("change","",x),he(a.showTip)&&E.value&&(E.value=!1);return}if(F.length>=2){let G=F;if(G.charAt(0)=="-"&&(G=G.substring(1)),G.length>=2&&G.charAt(0)=="0"&&G.charAt(1)!="."){t.triggerRef(h);return}}if(F!="-"){if(!xa(F)){t.triggerRef(h);return}if(a.integerLength!=-1&&La(F)>Number(a.integerLength)){t.triggerRef(h);return}if(a.decimalLength&&a.decimalLength!=-1&&Oa(F)>Number(a.decimalLength)){t.triggerRef(h);return}let G=kr(F,a);if(G.maxValid===!1){b.value=G.message,t.triggerRef(h);return}}else if(a.min!=null&&pe(a.min)>=0){t.triggerRef(h);return}V.value=F,he(a.showTip)&&(E.value=F.length>0),h.value=F,m.value=yr(F,a.rates,a.precision,!0),c("update:modelValue",m.value,x),c("change",m.value,x)},D=x=>{if(u.value=!0,he(a.showTip)){let M=h.value;ce(M)&&(M=a.hintText),ce(M)||(V.value=M,E.value=!0)}b.value="",c("focus",m.value,x)},z=x=>{if(setTimeout(()=>{u.value=!1,he(a.showTip)&&E.value===!0&&(E.value=!1)},0),!ce(h.value)){let M=kr(h.value,a);if(M.minValid===!1||M.maxValid===!1){b.value=M.message;return}}c("update:modelValue",m.value,x),c("blur",m.value,x)},N=t.computed(()=>({[`${y}__append`]:!0})),B=t.computed(()=>{const x={};return r.slots.append&&!R.value&&!A.value&&(x.display="none"),x}),R=t.computed(()=>ge(a.unit)>0),L=t.computed(()=>!A.value),$=t.computed(()=>({hidden:!L.value})),T=x=>{m.value="",c("update:modelValue","",x),c("change","",x),c("clear","")},q=t.computed(()=>he(a.clearable)&&!s.value&&!i.value),A=t.computed(()=>{let x=ge(m.value)>0;return he(a.clearable)&&x&&u.value}),O=t.computed(()=>({action:!0,hidden:!A.value}));return()=>{let x={class:S.value,style:f.value,type:"digit",maxlength:a.maxLength,placeholder:g.value,disabled:s.value,readonly:i.value,value:p.value,"adjust-position":a.adjustPosition,"always-system":a.alwaysSystem,onInput:I,onFocus:D,onBlur:z},M=[],F=t.h("input",x);M.push(F);let G=[];if(q.value){const H={class:["action-icon"]},J=t.h(n,H),X={class:O.value,onClick:T},W=t.h("view",X,{default:()=>[J]});G.push(W)}if(R.value){const H=t.h("view",{class:$.value},[a.unit]);G.push(H)}const Y={class:N.value,style:B.value},ee=t.h("view",Y,{default:()=>G});M.push(ee);const K={default:()=>M};if(r.slots.default){let H=r.slots.default();K.label=()=>H}if(r.slots.prepend){let H=r.slots.prepend();K.prepend=()=>H}if(r.slots.append){let H=r.slots.append();K.append=()=>H}let P={...ln(a,br),errorTip:w.value,hintText:V.value,hintVisible:E.value,hintType:"number"};return t.h(l,P,K)}}}}const{componentName:sc,create:ic,scope:cc}=j("money-item"),$n=ic(rc(sc,cc,Ne,te.CircleClose)),En={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:dc,create:uc,scope:fc}=j("textarea"),mc=uc({props:{...En},emits:["update:modelValue","change","blur","focus"],setup(e,{emit:o}){let{toLocaleRefs:l}=se.useFoxI18n(fc);const n=l(e,["placeholder"]),a=t.ref(),r=t.computed(()=>{const p=dc;return{[p]:!0,[`${p}--disabled`]:e.disabled}});t.onMounted(()=>{e.modelValue&&c(String(e.modelValue)),e.autosize&&t.nextTick(i)});const s=t.computed(()=>({textAlign:e.textAlign})),i=()=>{let p=a.value;p.style.height="auto";let k=p.scrollHeight;if(typeof e.autosize=="object"){const{maxHeight:g,minHeight:y}=e.autosize;g!==void 0&&(k=Math.min(k,g)),y!==void 0&&(k=Math.max(k,y))}k&&(p.style.height=k+"px")};t.watch(()=>e.modelValue,()=>{e.autosize&&t.nextTick(i)});const c=(p,k)=>{e.maxLength&&p.length>Number(e.maxLength)&&(p=p.substring(0,Number(e.maxLength))),o("update:modelValue",p,k),o("change",p,k)};return{...n,textareaRef:a,classes:r,styles:s,change:p=>{const k=p.target;c(k.value,p)},focus:p=>{e.disabled||e.readonly||o("focus",p)},blur:p=>{if(e.disabled||e.readonly)return;let g=p.target.value;c(g,p),o("blur",{value:g,event:p})}}}}),pc=["rows","disabled","readonly","value","maxlength","placeholder","autofocus"],hc={key:0,class:"fox-textarea__limit"};function gc(e,o,l,n,a,r){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:o[0]||(o[0]=(...s)=>e.change&&e.change(...s)),onBlur:o[1]||(o[1]=(...s)=>e.blur&&e.blur(...s)),onFocus:o[2]||(o[2]=(...s)=>e.focus&&e.focus(...s)),maxlength:e.maxLength,placeholder:e.placeholder,autofocus:e.autofocus},null,44,pc),e.limitShow?(t.openBlock(),t.createElementBlock("view",hc,t.toDisplayString(e.modelValue?e.modelValue.length:0)+"/"+t.toDisplayString(e.maxLength),1)):t.createCommentVNode("",!0)],2)}const wo=Z(mc,[["render",gc]]);function yc(e,o,l,n){return{props:{...ue,...me,...En},emits:["update:modelValue","change","blur","focus"],setup(a,r){const s=Ve(t.computed(()=>a.disabled)),i=Ee(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),u=qe(a,"modelValue"),m=y=>{u.value=y,c("update:modelValue",y,{}),c("change",y,{})};let h=qe(a,"hintText"),p=t.ref(!1);const k=y=>{ce(h.value)||(p.value=!0),c("focus",u.value,y)},g=y=>{setTimeout(()=>{p.value&&(p.value=!1)},0),c("blur",u.value,y)};return()=>{const S={...ke(a,En),disabled:s.value,readonly:i.value,value:u.value,"onUpdate:modelValue":m,onFocus:k,onBlur:g},d=[],f=t.h(n,S);d.push(f);const b={default:()=>d};b.label=r.slots.default,b.prepend=r.slots.prepend,b.append=r.slots.append,b.fixedPreTip=r.slots.fixedPreTip,b.fixedTip=r.slots.fixedTip;const w=ke(a,me,ue);return t.h(l,w,b)}}}}const{componentName:kc,create:bc,scope:Sc}=j("textarea-item"),Dn=bc(yc(kc,Sc,Ne,wo));function Cc(e){return e===window}const $e=e=>{const o=t.unref(e);if(Cc(o)){const l=o.innerWidth,n=o.innerHeight;return{top:0,left:0,right:l,bottom:n,width:l,height:n}}return o&&o.getBoundingClientRect?o.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},nt={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},duration:{type:[Number,String],default:.3},lockScroll:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},position:{type:String,default:"center"},transition:{type:String,default:""},style:{type:Object,default:{}},popClass:{type:String,default:""},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},destroyOnClose:{type:Boolean,default:!0},teleport:{type:[String,Element],default:"body"},overlay:{type:Boolean,default:!0},round:{type:Boolean,default:!1},teleportDisable:{type:Boolean,default:!1},safeAreaInsetBottom:{type:Boolean,default:!1},overlayClass:{type:String,default:""},overlayStyle:{type:Object,default:{}}},Sr=2e3;let Cr=Sr;const wc=(e,o)=>({components:o,props:{...nt},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(l,{emit:n}){const a=t.reactive({zIndex:l.zIndex,showSlot:!0,closed:l.closeable}),r=t.computed(()=>({[e]:!0,round:l.round,[`fox-popup--${l.position}`]:!0,[`fox-popup--${l.position}--safebottom`]:l.position==="bottom"&&l.safeAreaInsetBottom,[l.popClass]:!0})),s=t.computed(()=>({zIndex:a.zIndex,transitionDuration:`${l.duration}s`,...l.style})),i=t.computed(()=>l.transition?l.transition:`fox-popup-slide-${l.position}`),c=()=>{l.zIndex!==Sr&&(Cr=Number(l.zIndex)),n("update:visible",!0),a.zIndex=++Cr,l.destroyOnClose&&(a.showSlot=!0),n("open")},u=()=>{n("update:visible",!1),n("close"),l.destroyOnClose&&setTimeout(()=>{a.showSlot=!1},+l.duration*1e3)},m=y=>{n("click-pop",y)},h=y=>{y.stopPropagation(),n("click-close-icon",y),n("update:visible",!1)},p=y=>{n("click-overlay",y),l.closeOnClickOverlay&&n("update:visible",!1)},k=y=>{n("opend",y)},g=y=>{n("closed",y)};return t.watch(()=>l.visible,y=>{l.visible?c():u()}),t.watch(()=>l.closeable,y=>{a.closed=y}),{...t.toRefs(a),popStyle:s,transitionName:i,classes:r,onClick:m,onClickCloseIcon:h,onClickOverlay:p,onOpened:k,onClosed:g}}});let $t=0;const wr="fox-overflow-hidden",Nr=()=>Ye?document.body:{classList:[]},Nc=e=>[()=>{if(e())try{!$t&&Nr().classList.add(wr),$t++}catch{}},()=>{if(e()&&$t)try{$t--,!$t&&Nr().classList.remove(wr)}catch{}}],Bc={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:Ac,create:Vc}=j("overlay"),Tc=Vc({props:{...Bc},emits:["click","update:visible"],setup(e,{emit:o}){const[l,n]=Nc(()=>e.lockScroll),a=t.computed(()=>({[Ac]:!0,[e.overlayClass]:!0})),r=t.computed(()=>({transitionDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return t.watch(()=>e.visible,i=>{i?l():n()}),{classes:a,style:r,onClick:i=>{o("click",i),e.closeOnClickOverlay&&o("update:visible",!1)}}}});function $c(e,o,l,n,a,r){return t.openBlock(),t.createBlock(t.Transition,{name:"overlay-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=t.withModifiers((...s)=>e.onClick&&e.onClick(...s),["stop"])),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6),[[t.vShow,e.visible]])]),_:3})}const lt=Z(Tc,[["render",$c]]),{componentName:Ec,create:Dc}=j("popup"),Ic=Dc(wc(Ec,{FoxOverLay:lt,Close:te.Close}));function qc(e,o,l,n,a,r){const s=t.resolveComponent("fox-overlay"),i=t.resolveComponent("Close");return t.openBlock(),t.createBlock(t.Teleport,{to:e.teleport,disabled:e.teleportDisable},[e.overlay?(t.openBlock(),t.createBlock(s,t.mergeProps({key:0,visible:e.visible,"close-on-click-overlay":e.closeOnClickOverlay,"z-index":e.zIndex,"lock-scroll":e.lockScroll,duration:e.duration,"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,onClick:e.onClickOverlay},e.$attrs),null,16,["visible","close-on-click-overlay","z-index","lock-scroll","duration","overlay-class","overlay-style","onClick"])):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:e.transitionName,onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.popStyle),onClick:o[1]||(o[1]=(...c)=>e.onClick&&e.onClick(...c))},[e.showSlot?t.renderSlot(e.$slots,"default",{key:0}):t.createCommentVNode("",!0),e.closed?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:o[0]||(o[0]=(...c)=>e.onClickCloseIcon&&e.onClickCloseIcon(...c)),class:t.normalizeClass(["fox-popup__close-icon","fox-popup__close-icon--"+e.closeIconPosition])},[t.renderSlot(e.$slots,"close-icon",{},()=>[t.createVNode(i,{height:"12px"})])],2)):t.createCommentVNode("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}const de=Z(Ic,[["render",qc]]),Br=10;function zc(e,o){return e>o&&e>Br?"horizontal":o>e&&o>Br?"vertical":""}function Ue(){const e=t.ref(0),o=t.ref(0),l=t.ref(0),n=t.ref(0),a=t.ref(0),r=t.ref(0),s=t.ref(0),i=t.ref(0),c=t.ref(0),u=t.ref(0),m=t.ref(""),h=()=>m.value==="vertical",p=()=>m.value==="horizontal",k=()=>{s.value=0,i.value=0,c.value=0,u.value=0,m.value="",l.value=0};return{move:S=>{const d=S.touches[0];s.value=d.clientX-e.value,i.value=d.clientY-o.value,a.value=d.clientX,r.value=d.clientY,c.value=Math.abs(s.value),u.value=Math.abs(i.value),n.value=Date.now()-l.value,m.value||(m.value=zc(c.value,u.value))},start:S=>{k(),e.value=S.touches[0].clientX,o.value=S.touches[0].clientY,l.value=Date.now()},reset:k,startX:e,startY:o,startTime:l,duration:n,moveX:a,moveY:r,deltaX:s,deltaY:i,offsetX:c,offsetY:u,direction:m,isVertical:h,isHorizontal:p}}const Ar={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}},In={...nt,...Ar,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 Vr=36;function Mc(){return Vr}function Pc(e){Vr=e}function Re(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function qn(e,o){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?o[e.childrenKey]:o.children??null}function Rc(e,o,l){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(o[e.childrenKey]=l),o.children=l}function at(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function Tr(e,o){return typeof e.itemOptions=="function"?e.columnOptions(o):e.columnOptions}let xc=class{proxy;constructor(o){this.proxy=o}async load(o,l,n){if(Array.isArray(l))return l;if(typeof l=="function")return await l(n);const a=ut(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):(De(n)&&t.isReactive(n)&&(n=t.toRaw(n)),await a(l,n))}};function Lc(){const e=t.getCurrentInstance();return new xc(e.proxy)}function $r(e,o,l){const n=Re(e,o),a=Re(e,l);if(n!==a)return!1;const r=at(e,o),s=at(e,l);return r===s}function Oc(e,o,l,n){if(l.length==0)return[];Array.isArray(o)||(o=[o]);const a=[],r=e.valueType??"value";if(n==="singleColumn"||n==="multipleColumn")for(let s=0;s<o.length&&s<l.length;s++){const i=o[s];let u=l[s].findIndex(m=>{if(r==="text")return Re(e,m)===i;if(r==="value"){let h=at(e,m);return h==null&&(h=Re(e,m)),h===i}else if(r==="item")return $r(e,m,i)});if(u==-1)break;a.push(u)}else{let s=l[0];for(let i=0;i<o.length;i++){const c=o[i];let u=s.findIndex(h=>{if(r==="text")return Re(e,h)===c;if(r==="value"){let p=at(e,h);return p==null&&(p=Re(e,h)),p===c}else if(r==="item")return $r(e,h,c)});if(u==-1)break;a.push(u);const m=qn(e,s[u]);if(!Array.isArray(m))break;s=m}}return a}function Er(e,o,l,n){if(l.length==0)return null;const a={texts:[],values:[],items:[]},r=e.valueType??"value";if(n==="singleColumn"||n==="multipleColumn")for(let s=0;s<o.length&&s<l.length;s++){const i=l[s];let c=o[s];c<0&&c>=i.length&&(c=0);const u=i[c],m=Re(e,u);if(a.texts.push(m),a.items.push(u),r==="text")a.values.push(m);else if(r==="value"){let h=at(e,u);h==null&&(h=m),a.values.push(h)}else a.values.push(u)}else{let s=l[0];for(let i=0;i<o.length;i++){let c=o[i];c<0&&c>=s.length&&(c=0);const u=s[c],m=Object.assign({},u);m.children=null;const h=Re(e,u);if(a.texts.push(h),a.items.push(m),r==="text")a.values.push(h);else if(r==="value"){let p=at(e,u);p==null&&(p=h),a.values.push(p)}else a.values.push(m);if(!Array.isArray(u.children))break;s=u.children}}return a}function Dr(e){return{text:e,value:e}}const Fc=15,Kc=300,vc=200,{create:Uc}=j("picker-column");function Hc(e){e.stopPropagation()}function jc(e,o){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),o&&Hc(e)}const Wc=Uc({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},...Ar},emits:["click","change","update:modelValue"],setup(e,{emit:o}){const l=t.computed(()=>({"fox-picker__list":!0})),n=t.computed(()=>({height:`${pe(e.visibleItemCount)*+e.itemHeight}px`})),a=t.computed(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!e.threeDimensional,"fox-picker__content-roller":e.threeDimensional})),r=t.computed(()=>e.itemHeight*Math.floor(+e.visibleItemCount/2)),s=D=>D>=h.currIndex+8||D<=h.currIndex-8,i=t.computed(()=>({transition:`transform ${h.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${h.deg})`,top:`${r.value}px`})),c=D=>`transform: rotate3d(1, 0, 0, ${-h.rotation*D}deg) translate3d(0px, 0px, 104px)`,u=t.computed(()=>({transition:`transform ${h.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${h.scrollDistance+r.value}px, 0)`})),m=t.ref(null),h=t.reactive({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),p=t.toRef(e,"source"),k=D=>Re(e,D),g=D=>at(e,D),y=Ue(),S=()=>{h.transitionEndTrigger&&(h.transitionEndTrigger(),h.transitionEndTrigger=null)},d=(D,z=!1,N=!1)=>{if(h.currIndex=D,z){const B=()=>{h.moving=!1,o("update:modelValue",D),o("change",D)};N?h.transitionEndTrigger=B:B()}},f=(D,z,N)=>{let B=D+h.startDistance;if(z==="end"){const R=-(p.value.length-1)*e.itemHeight;B<R&&(B=R,(!N||N<=0)&&(N=e.swipeDuration)),B>0&&(B=0,(!N||N<=0)&&(N=e.swipeDuration));let L=Math.abs(Math.round(-B/e.itemHeight));const $=-L*e.itemHeight,T=`${(L+1)*h.rotation}deg`,q=N?N>0:!1;d(L,!0,q),b($,z,N,T)}else{let R=(-B/e.itemHeight+1)*h.rotation;const L=(p.value.length+1)*h.rotation,$=0;if(R=Math.min(Math.max(R,$),L),e.threeDimensional&&(R<$||R>L))return;b(B,null,void 0,`${R}deg`)}},b=(D=0,z,N=vc,B)=>{z==="end"?h.scrollTime=N:h.scrollTime=0,h.deg=B,h.scrollDistance=D},w=(D,z)=>(D=Math.abs(D/z)/.003*(D<0?-1:1),D),V=D=>{e.readonly||(h.startDistance=h.scrollDistance,y.start(D),h.transitionEndTrigger=null)},E=D=>{e.readonly||(h.moving=!0,y.move(D),y.isVertical()&&(h.moving=!0,jc(D,!0)),f(y.deltaY.value,"",0))},I=()=>{if(e.readonly)return;const D=y.deltaY.value,z=y.duration.value;if(z<Kc&&Math.abs(D)>Fc){const B=w(D,z);f(B,"end",e.swipeDuration)}else f(D,"end",0)};return t.watch(()=>e.modelValue,D=>{if(h.currIndex!==D){h.currIndex=D;const z=-D*e.itemHeight;f(z)}}),t.onMounted(()=>{const D=-e.modelValue*e.itemHeight;f(D)}),{classes:l,styles:n,contentClasses:a,source:p,itemText:k,itemValue:g,...t.toRefs(h),roller:m,getItemText:Re,onTouchStart:V,onTouchMove:E,onTouchEnd:I,isHidden:s,setRollerStyle:c,touchRollerStyle:i,touchTileStyle:u,stopMomentum:S}}}),Yc={key:1,class:"fox-picker__item-tile"};function Xc(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),onTouchstart:o[0]||(o[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:o[1]||(o[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:o[2]||(o[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:o[3]||(o[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTransitionend:o[4]||(o[4]=(...s)=>e.stopMomentum&&e.stopMomentum(...s))},[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,(s,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${e.columnIndex}_${i}`},[e.threeDimensional?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(i+1)}]),style:t.normalizeStyle(e.setRollerStyle(i+1))},t.toDisplayString(e.itemText(s)),7)):(t.openBlock(),t.createElementBlock("view",Yc,t.toDisplayString(e.itemText(s)),1))],64))),128))],6)],38)}const Ir=Z(Wc,[["render",Xc]]),{create:Qc,componentName:Gc,scope:Zc}=j("picker"),Jc=Qc({components:{[Ir.name]:Ir,[de.name]:de},props:{...In},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:o}){const{toLocaleRefs:l,t:n}=se.useFoxI18n(Zc),a=l(e,["title","cancelText","clearText","confirmText"]),r=t.ref(null),s=t.ref(Mc());t.watch(()=>e.visible,N=>{N&&s.value<=0&&setTimeout(()=>{if(r.value){const B=$e(r.value);s.value=B.height,Pc(s.value)}},50)});const i=t.computed(()=>({[Gc]:!0})),c=Lc(),u=t.ref("singleColumn");let m=t.ref([]);t.watch([()=>e.source,()=>e.params],async([N,B])=>{if(N){let R=await c.load("picker",N,B);if(R.length>0){let L=R[0];if(Array.isArray(L)){if(typeof L[0]=="string"){let $=R,T=[];$.forEach(q=>{let A=q.map(O=>Dr(O));T.push(A)}),m.value=T}else m.value=R;u.value="multipleColumn"}else if(typeof L=="string"){let $=R,T=[],q=$.map(A=>Dr(A));T.push(q),m.value=T,u.value="singleColumn"}else{const $=qn(e,L);Array.isArray($)?(u.value="cascade",m.value=[R]):(u.value="singleColumn",m.value=[R])}}else m.value=[]}},{immediate:!0});const h=t.ref([]),p=t.ref(e.modelValue),k=t.ref([]),g=t.ref([]);t.watch([()=>e.modelValue,()=>m.value],([N,B])=>{let R=Oc(e,N,B,u.value);if(!Me(R,g.value)){g.value=R;let L=Er(e,R,B,u.value);L&&(h.value=L.texts,o("update:text",h.value))}});const y=t.ref(e.visible);t.watch(()=>e.visible,N=>{y.value=N});const S=N=>{let B=Tr(e,N);return De(B)?B.defaultIndex??0:0},d=N=>{if(e.readonly===!0)return!0;let B=Tr(e,N);return De(B)?B.readonly??!1:!1},f=(N,B)=>{let R=g.value;R[N]=B;for(let $=0;$<N;$++)R[$]==null&&(R[$]=S($));if(u.value==="cascade")for(let $=N+1;$<w.value.length;$++){let T=S($);$<R.length?R[$]=T:R.push(T)}else for(let $=R.length;$<w.value.length;$++){let T=S($);R.push(T)}g.value=R;let L=Er(e,R,m.value,u.value);L&&(h.value=L.texts,p.value=L.values,k.value=L.items)},b=N=>N<g.value.length?g.value[N]:S(N),w=t.computed(()=>{if(m.value.length==0)return[];if(u.value=="singleColumn"||u.value=="multipleColumn")return m.value;let N=[],B=0,R=m.value[0],L=0;for(;;){let $=R.map(A=>{let O=Object.assign({},A);return Rc(e,O,null),O});N.push($),B>=g.value.length?L=0:L=g.value[B],(L<0||L>=R.length)&&(L=0);let T=R[L];const q=qn(e,T);if(!Array.isArray(q))break;R=q,B++}return N}),V=t.computed(()=>pe(+e.visibleItemCount-1)/2*s.value);return{...a,pickerLineRef:r,classes:i,columns:w,dataType:u,show:y,itemHeight:s,top:V,isReadonly:d,getIndex:b,change:(N,B)=>{f(N,B)},close:()=>{o("close"),o("update:visible",!1)},confirm:()=>{if(e.readonly===!0){o("update:visible",!1);return}let N=m.value.length-1;for(;N>=0&&!(g.value[N]===null||g.value[N]===void 0);N--);if(N>=0&&f(N,0),u.value==="singleColumn"){let B=p.value.length>0?p.value[0]:"",R=k.value.length>0?k.value[0]:null;e.readonly||(o("update:modelValue",B),o("update:text",h.value),o("change",B,R)),o("confirm",B)}else e.readonly||(o("update:modelValue",p.value),o("update:text",h.value),o("change",p.value,k.value)),o("confirm",p.value);o("update:visible",!1)},clear:()=>{if(e.readonly===!0){o("update:visible",!1);return}u.value==="singleColumn"?(o("update:modelValue",""),o("change","")):(o("update:modelValue",[]),o("change",[])),o("clear",""),o("update:visible",!1)}}}}),_c={class:"fox-picker__bar"},ed={class:"fox-picker__title"},td={class:"fox-picker__bar__action"},od={class:"fox-picker__column"};function nd(e,o,l,n,a,r){const s=t.resolveComponent("fox-picker-column"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createVNode(i,{position:"bottom",visible:e.show,"onUpdate:visible":o[3]||(o[3]=c=>e.show=c),teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,"teleport-disable":e.teleportDisable},{default:t.withCtx(()=>[t.createElementVNode("view",_c,[t.createElementVNode("view",ed,t.toDisplayString(e.title),1),t.createElementVNode("view",td,[t.createElementVNode("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:o[0]||(o[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:o[1]||(o[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:o[2]||(o[2]=(...c)=>e.clear&&e.clear(...c))},t.toDisplayString(e.clearText),1)):t.createCommentVNode("",!0)])]),t.renderSlot(e.$slots,"top"),t.createElementVNode("view",od,[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,u)=>(t.openBlock(),t.createElementBlock("view",{key:u,class:"fox-picker__columnitem"},[t.createVNode(s,{source:c,readonly:e.isReadonly(u),"column-index":u,modelValue:e.getIndex(u),"onUpdate:modelValue":m=>e.change(u,m),"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","teleport-disable"])],2)}const pt=Z(Jc,[["render",nd]]);function ld(e,o,l,n,a,r,s=!0){return{props:{...ue,...me,...In,type:{type:String,default:"text"},placeholder:{type:String,default:""},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},text:{type:String},separator:{type:[String],required:!1,defualt:" "}},emits:["change","update:modelValue","blur","focus","clear","update:text"],setup(i,c){const u=Ve(t.computed(()=>i.disabled)),m=Ee(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!u.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=se.useFoxI18n(o),k=p(i,["placeholder"]),g=t.ref(!1),y=qe(i,"modelValue"),S=t.ref([]),d=t.computed(()=>Array.isArray(S.value)?S.value.join(i.separator):S.value),f="fox-input-item",b=t.computed(()=>({[f]:!0,[`${f}__disabled`]:u.value})),w=Ae(t.computed(()=>i.textAlign),"textAlign"),V=t.computed(()=>{const ee={};return w.value&&(ee["text-align"]=w.value),ee}),E=t.ref(!1),I=()=>{E.value=!0},D=ee=>{E.value=ee},z=ee=>{y.value=ee,h("update:modelValue",ee)},N=(ee,K)=>{h("change",ee,K)},B=ee=>{let U=ee.target.value;g.value=!0,h("focus",U,ee)},R=ee=>{setTimeout(()=>{g.value=!1},0);let U=ee.target.value;i.maxLength&&U.length>Number(i.maxLength)&&(U=U.slice(0,Number(i.maxLength))),h("blur",U,ee)},L=ee=>{S.value=ee,Array.isArray(ee)&&ee.length===0?h("update:text",ee[0]):h("update:text",ee)},$=t.computed(()=>({[`${f}__append`]:!0})),T=t.computed(()=>ge(i.unit)>0),q=t.computed(()=>ge(i.unit)>0&&!g.value),A=t.computed(()=>({hidden:!q.value})),O=ee=>{y.value="",h("update:modelValue","",ee),h("change","",ee),h("clear","")},x=t.computed(()=>i.clearable&&!u.value&&!m.value),M=t.computed(()=>ge(y.value)>0&&g.value),F=ee=>{M.value?O(ee):I()},G=t.computed(()=>M.value&&x.value?n:a),Y=t.computed(()=>({action:!0}));return()=>{const ee={class:b.value,style:V.value,type:"text",maxlength:i.maxLength,placeholder:k.placeholder.value,readonly:!0,unselectable:"on",value:d.value,onClick:I,onFocus:B,onBlur:R};s&&(ee.disabled=!0);const K=[],U=t.h("input",ee);K.push(U);const P=[],v={class:["action-icon"]},H=t.h(G.value,v),J={class:Y.value,onClick:F},X=t.h("view",J,{default:()=>[H]});if(P.push(X),T.value){const Se=t.h("view",{class:A.value},[i.unit]);P.push(Se)}const W={class:$.value},Q=t.h("view",W,{default:()=>P});K.push(Q);const _={default:()=>K};_.label=c.slots.default,_.prepend=c.slots.prepend,_.append=c.slots.append,_.fixedPreTip=c.slots.fixedPreTip,_.fixedTip=c.slots.fixedTip;const oe=ke(i,In);oe.disabled=!1,oe.readonly=u.value||m.value,oe.visible=E.value,oe["onUpdate:visible"]=D,oe.modelValue=y.value,oe["onUpdate:modelValue"]=z,oe.text=S.value,oe["onUpdate:text"]=L,oe.onChange=N;const ne=t.h(r,oe);_.hide=()=>[ne];const ae=ke(i,me,ue);return t.h(l,ae,_)}}}}const{componentName:ad,create:rd,scope:sd}=j("picker-item"),zn=rd(ld(ad,sd,Ne,te.CircleClose,te.ArrowRight,pt,!1)),No=(e,o,l)=>e.map(n=>{const{value:a="value",text:r="text",children:s="children"}=l??{},{[a]:i,[r]:c,[s]:u,...m}=n,h={loading:!1,...m,level:o?(o&&o.level||0)+1:0,value:i,text:c,children:u,_parent:o};return h.children&&h.children.length&&(h.children=No(h.children,h,l)),h}),qr=(e,o)=>{let l=0,n;for(;(n=e[l++])&&o(n)!==!0;)n.children&&n.children.length&&qr(n.children,o)},id={topId:null,idKey:"id",pidKey:"pid",sortKey:""},cd=(e,o)=>{const l={...id,...o||{}},{topId:n,idKey:a,pidKey:r,sortKey:s}=l;let i=[],c={};return e.forEach(u=>{u={...u};const{[a]:m,[r]:h}=u,p=c[h]=c[h]||[];!i.length&&h===n&&(i=p),p.push(u),u.children=c[m]||(c[m]=[])}),s&&Object.keys(c).forEach(u=>{c[u].length>1&&c[u].sort((m,h)=>m[s]-h[s])}),c=null,i},dd=/scroll|auto|overlay/i,zr=window;function ud(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Mn(e,o=zr){let l=e;for(;l&&l!==o&&ud(l);){const{overflowY:n}=window.getComputedStyle(l);if(dd.test(n))return l;l=l.parentNode}return o}function Mr(e,o=zr){const l=t.ref();return t.onMounted(()=>{e.value&&(l.value=Mn(e.value,o))}),l}const{create:fd}=j("sticky"),md=fd({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:o}){const l=t.ref(),n=t.ref(),a=t.reactive({fixed:!1,height:0,transform:0}),r=t.computed(()=>e.position==="top"?Number(e.top):Number(e.bottom)),s=t.computed(()=>a.fixed?{height:`${a.height}px`}:{}),i=t.computed(()=>a.fixed?{[e.position]:`${r.value}px`,transform:a.transform?`translate3d(0, ${a.transform}px, 0)`:void 0,position:a.fixed?"fixed":void 0,zIndex:Number(e.zIndex)}:{}),c=()=>{const u=e.container;if(!l.value&&!u)return;const m=$e(l),h=n.value,p=$e(h),k=$e(u);a.height=m.height;const g=()=>{let S=!1;if(e.position==="top")S=u?r.value>m.top&&k.bottom>0:r.value>m.top;else{const d=document.documentElement.clientHeight;S=u?k.bottom>0&&d-r.value-p.height>k.top:d-r.value<m.bottom}return S},y=()=>{if(u)if(e.position==="top"){const S=k.bottom-r.value-p.height;return S<0?S:0}else{const S=document.documentElement.clientHeight,d=k.bottom-(S-r.value);return d<0?d:0}return 0};a.transform=y(),a.fixed=g()};return t.watch(()=>a.fixed,u=>{o("change",u)}),t.onMounted(()=>{c(),Mn(l.value).addEventListener("scroll",c,!0)}),t.onUnmounted(()=>{Mn(l.value).removeEventListener("scroll",c)}),{rootRef:l,rootStyle:s,stickyRef:n,stickyStyle:i}}});function pd(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:"fox-sticky",ref:"rootRef",style:t.normalizeStyle(e.rootStyle)},[t.createElementVNode("div",{class:"fox-sticky__box",ref:"stickyRef",style:t.normalizeStyle(e.stickyStyle)},[t.renderSlot(e.$slots,"default")],4)],4)}const Et=Z(md,[["render",pd]]),hd=(e,o,l,n)=>{const a=t.ref(),r=t.ref({width:0,height:0}),s=async()=>{if(l&&l.getEnv()!==l.ENV_TYPE.WEB){let p=await n(a,l);r.value.width=p.width||0,r.value.height=p.height||0}else r.value.width=a.value?.clientWidth||0,r.value.height=a.value?.clientHeight||0};t.onMounted(()=>{setTimeout(()=>{s()},100)});const i=t.reactive({offset:0,moving:!1}),c=Ue();let u="";const m=(p,k)=>{let g=p;switch(e.direction=="horizontal"?(u=p>0?"right":"left",g=Math.abs(g)/r.value.width*100):(u=k>0?"bottom":"top",g=k,g=Math.abs(g)/r.value?.height*100),g>85&&(g=85),u){case"left":case"top":o.isEnd()&&(g=0,i.moving=!1);break;case"right":case"bottom":g=-g,o.isBegin()&&(g=0,i.moving=!1);break}i.offset=g};return{touchMethods:{onTouchStart(p){e.swipeable&&c.start(p)},onTouchMove(p){e.swipeable&&(c.move(p),i.moving=!0,m(c.deltaX.value,c.deltaY.value),e.direction=="horizontal"&&c.isHorizontal()&&(p.preventDefault(),p.stopPropagation()),e.direction=="vertical"&&c.isVertical()&&(p.preventDefault(),p.stopPropagation()))},onTouchEnd(){if(i.moving)switch(i.moving=!1,u){case"left":case"top":i.offset>35&&o.next();break;case"right":case"bottom":i.offset<-35&&o.prev();break}}},touchState:i,tabsContentRef:a}};class gd{title="";titleSlot;paneKey="";disabled=!1;constructor(){}}const{create:yd}=j("tabs"),kd=yd({components:{[Et.name]:Et,JoySmile:te.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:o,slots:l}){const n=t.ref(null);let a;t.provide("tabsOpiton",{activeKey:t.computed(()=>e.modelValue||"0"),autoHeight:t.computed(()=>e.autoHeight),animatedTime:t.computed(()=>e.animatedTime)});const r=t.ref([]),s=N=>{N.forEach((B,R)=>{let L=B.type;if(L=L.name||L,L=="fox-tab-pane"){let $=new gd;if(B.props?.title||B.props?.["pane-key"]||B.props?.paneKey){let T=_e(B.props?.["pane-key"]),q=T=="number"||T=="string"?String(B.props?.["pane-key"]):null,A=_e(B.props?.paneKey),O=A=="number"||A=="string"?String(B.props?.paneKey):null;$.title=B.props?.title,$.paneKey=q||O||String(R),$.disabled=B.props?.disabled}r.value.push($)}else{if(B.children==" ")return;Array.isArray(B.children)&&s(B.children)}})},i=t.ref(e.modelValue||0),c=N=>{let B=r.value.findIndex(R=>R.paneKey==N);r.value.length==0||B==-1||(i.value=B)},u=t.computed(()=>e.titleScroll&&e.direction==="vertical"),m=t.ref(),h=t.ref([]),p=N=>{const B=m.value,R=h.value;if(!B||!R||!R[i.value])return;const L=R[i.value];let $=0;e.direction==="vertical"?$=L.offsetTop-B.offsetTop+10-(B.offsetHeight-L.offsetHeight)/2:$=L.offsetLeft-(B.offsetWidth-L.offsetWidth)/2,k(B,$,N?0:.3,e.direction)},k=(N,B,R,L)=>{let $=0;const T=L==="horizontal"?N.scrollLeft:N.scrollTop,q=R===0?1:Math.round(R*1e3/16);function A(){L==="horizontal"?N.scrollLeft+=(B-T)/q:N.scrollTop+=(B-T)/q,++$<q&&Xe(A)}A()},g=(N=l.default?.())=>{r.value=[],N=N?.filter(B=>typeof B.children!="string"),N&&N.length&&s(N),c(e.modelValue),t.nextTick(()=>{p()})},y=N=>{a=N.fixed};t.watch(()=>l.default?.(),N=>{g(N)});const S=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;t.watch(()=>e.modelValue,N=>{if(c(N),p(),a){let B=$e(n.value).top+S(),R=Math.ceil(B-e.top);window.scrollTo({top:R,behavior:"smooth"})}}),t.onMounted(g),t.onActivated(g);const d={isBegin:()=>i.value==0,isEnd:()=>i.value==r.value.length-1,next:()=>{i.value+=1,d.updateValue(r.value[i.value])},prev:()=>{i.value-=1,d.updateValue(r.value[i.value])},updateValue:N=>{o("update:modelValue",N.paneKey),o("change",N)},tabChange:(N,B)=>{o("click",N),!(N.disabled||i.value==B)&&(i.value=B,d.updateValue(N))},setTabItemRef:(N,B)=>{h.value[B]=N}},{tabsContentRef:f,touchState:b,touchMethods:w}=hd(e,d),V=t.computed(()=>{let N=i.value*100;b.moving&&(N+=b.offset);let B={transform:e.direction=="horizontal"?`translate3d(-${N}%, 0, 0)`:`translate3d( 0,-${N}%, 0)`,transitionDuration:b.moving?void 0:`${e.animatedTime}ms`};return e.animatedTime==0&&(B={}),B}),E=t.computed(()=>({background:e.background})),I=t.computed(()=>({color:e.type=="smile"?e.color:"",background:e.type=="line"?e.color:""})),D=t.computed(()=>{if(!e.titleGutter)return{};const N=fe(e.titleGutter);return e.direction==="vertical"?{marginTop:N,marginBottom:N}:{marginLeft:N,marginRight:N}}),z=t.computed(()=>l.fixedTitle);return{navRef:m,tabsContentRef:f,titles:r,contentStyle:V,tabsNavStyle:E,titleStyle:D,tabsActiveStyle:I,container:n,getScrollY:u,onStickyScroll:y,...d,...w,hasFixedTitle:z}}}),bd=["onClick"],Sd={key:0,class:"fox-tabs__titles-fixed-item"},Cd=["onClick"],wd={key:0,class:"fox-tabs__titles-fixed-item"};function Nd(e,o,l,n,a,r){const s=t.resolveComponent("JoySmile"),i=t.resolveComponent("fox-sticky");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabs",[e.direction]]),ref:"container"},[e.sticky?(t.openBlock(),t.createBlock(i,{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),ref:"navRef"},[e.$slots.titles?t.renderSlot(e.$slots,"titles",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.titles,(c,u)=>(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:m=>e.tabChange(c,u),key:c.paneKey},[t.renderSlot(e.$slots,"title",{title:c.title,paneKey: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(s,{color:e.color},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,bd))),128)),e.hasFixedTitle?(t.openBlock(),t.createElementBlock("view",Sd,[t.renderSlot(e.$slots,"fixedTitle")])):t.createCommentVNode("",!0)],64))],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,"scroll-vertical":e.getScrollY,[e.size]:e.size}]),style:t.normalizeStyle(e.tabsNavStyle),ref:"navRef"},[e.$slots.titles?t.renderSlot(e.$slots,"titles",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.titles,(c,u)=>(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:m=>e.tabChange(c,u),key:c.paneKey,ref_for:!0,ref:m=>e.setTabItemRef(m,u)},[t.renderSlot(e.$slots,"title",{title:c.title,paneKey: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(s,{color:e.color},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,Cd))),128)),e.hasFixedTitle?(t.openBlock(),t.createElementBlock("view",wd,[t.renderSlot(e.$slots,"fixedTitle")])):t.createCommentVNode("",!0)],64))],6)),t.createElementVNode("view",{class:"fox-tabs__content",ref:"tabsContentRef",style:t.normalizeStyle(e.contentStyle),onTouchstart:o[0]||(o[0]=(...c)=>e.onTouchStart&&e.onTouchStart(...c)),onTouchmove:o[1]||(o[1]=(...c)=>e.onTouchMove&&e.onTouchMove(...c)),onTouchend:o[2]||(o[2]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c)),onTouchcancel:o[3]||(o[3]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[t.renderSlot(e.$slots,"default")],36)],2)}const Dt=Z(kd,[["render",Nd]]),{create:Bd}=j("tab-pane"),Ad=Bd({props:{title:{type:[String,Number],default:""},paneKey:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:o}){const l=t.inject("tabsOpiton"),n=t.computed(()=>({display:l.animatedTime.value==0&&e.paneKey!=l.activeKey.value?"none":void 0}));return{...l,paneStyle:n}}});function Vd(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tab-pane",{inactive:e.paneKey!=e.activeKey&&e.autoHeight}]),style:t.normalizeStyle(e.paneStyle)},[t.renderSlot(e.$slots,"default")],6)}const It=Z(Ad,[["render",Vd]]);class Pr{nodes;config;constructor(o,l){this.config={value:"value",text:"text",children:"children",...l||{}},this.nodes=No(o,null,this.config)}updateChildren(o,l){l?l.children=No(o,l,this.config):this.nodes=No(o,null,this.config)}getNodeByValue(o){let l;return qr(this.nodes,n=>{if(n.value===o)return l=n,!0}),l}getPathNodesByValue(o){if(!o.length)return[];const l=[];let n=this.nodes;for(;n&&n.length;){const a=n.find(r=>r.value===o[r.level]);if(!a)break;l.push(a),n=a.children}return l}isLeaf(o,l){const{leaf:n,children:a}=o,r=Array.isArray(a)&&!!a.length;return n||!r&&!l}hasChildren(o,l){if(this.isLeaf(o,l))return!1;const{children:a}=o;return Array.isArray(a)&&!!a.length}}const{create:Td,scope:$d}=j("cascader-pane"),Ed=Td({components:{Loading:te.Loading,Checklist:te.Checklist,[Dt.name]:Dt,[It.name]:It},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:o}){const l=t.computed(()=>({lazy:e.lazy,lazyLoad:e.lazyLoad,valueKey:e.valueKey,textKey:e.textKey,childrenKey:e.childrenKey,convertConfig:e.convertConfig})),n=t.ref(0),a=t.ref(!1),r=t.ref(e.modelValue),s=t.ref(new Pr([],{})),i=t.ref([]),c=t.computed(()=>l.value.lazy&&!!l.value.lazyLoad),u=new Map;let m;const h=async()=>{u.clear(),i.value=[],n.value=0,a.value=!1,m=null;let{options:d}=e;l.value.convertConfig&&(d=cd(d,l.value.convertConfig)),s.value=new Pr(d,{value:l.value.valueKey,text:l.value.textKey,children:l.value.childrenKey}),c.value&&!s.value.nodes.length&&await k({root:!0,loading:!0,text:"",value:""}),i.value=[{nodes:s.value.nodes,selectedNode:null}],p()},p=async()=>{const d=r.value;if(d===void 0||!s.value.nodes.length)return;if(d.length===0){n.value=0,i.value=[{nodes:s.value.nodes,selectedNode:null}];return}let f=d;if(c.value&&Array.isArray(d)&&d.length){f=[];let b=s.value.nodes.find(w=>w.value===d[0]);if(b){f=[b.value],a.value=!0;const w=await d.slice(1).reduce(async(V,E)=>{const I=await V;await k(I);const D=I?.children?.find(z=>z.value===E);return D&&f.push(E),Promise.resolve(D)},Promise.resolve(b));await k(w),a.value=!1}}f.length&&d===e.modelValue&&s.value.getPathNodesByValue(f).map((w,V)=>{n.value=V,S.handleNode(w,!0)})},k=async d=>{if(!d)return;if(!l.value.lazyLoad){d.leaf=!0;return}if(s.value.isLeaf(d,c.value)||s.value.hasChildren(d,c.value))return;d.loading=!0;const f=d.root?null:d;let b=u.get(d);b||(b=new Promise(V=>{l.value.lazyLoad?.(d,V)}),u.set(d,b));const w=await b;Array.isArray(w)&&w.length>0?s.value.updateChildren(w,f):d.leaf=!0,d.loading=!1,u.delete(d)},g=d=>{const f=d.map(b=>b.value);r.value=f,o("change",f,d),o("update:modelValue",f,d)},{t:y}=se.useFoxI18n($d),S={async handleNode(d,f){const{disabled:b,loading:w}=d;if(!(!f&&b||!i.value[n.value])){if(s.value.isLeaf(d,c.value)){if(d.leaf=!0,i.value[n.value].selectedNode=d,i.value=i.value.slice(0,d.level+1),!f){const V=i.value.map(E=>E.selectedNode);g(V),o("pathChange",V)}return}if(s.value.hasChildren(d,c.value)){const V=d.level+1;if(i.value[n.value].selectedNode=d,i.value=i.value.slice(0,V),i.value.push({nodes:d.children||[],selectedNode:null}),n.value=V,!f){const E=i.value.map(I=>I.selectedNode);o("pathChange",E)}return}m=d,!w&&(await k(d),m===d&&(i.value[n.value].selectedNode=d,S.handleNode(d,f)))}},handleTabClick(d){m=null,n.value=Number(d.paneKey)},formatTabTitle(d){return d.selectedNode?d.selectedNode.text:y("select")},isSelected(d,f){return d.selectedNode&&d.selectedNode.value===f.value}};return t.watch([l,()=>e.options],()=>{h()},{deep:!0,immediate:!0}),t.watch(()=>e.modelValue,d=>{d!==r.value&&(r.value=d,p())}),t.watch(()=>e.visible,d=>{d&&Array.isArray(r.value)&&r.value.length>0&&p()}),{panes:i,initLoading:a,tabsCursor:n,...S}}}),Dd={role:"menu",class:"fox-cascader__pane"},Id=["aria-checked","aria-disabled","onClick"],qd={class:"fox-cascader__item__title"},zd=t.createElementVNode("view",{class:"fox-cascader__pane"},null,-1);function Md(e,o,l,n,a,r){const s=t.resolveComponent("Loading"),i=t.resolveComponent("Checklist"),c=t.resolveComponent("fox-tab-pane"),u=t.resolveComponent("fox-tabs");return t.openBlock(),t.createBlock(u,{class:"fox-cascader",modelValue:e.tabsCursor,"onUpdate:modelValue":o[0]||(o[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,h)=>(t.openBlock(),t.createBlock(c,{title:e.formatTabTitle(m),key:h},{default:t.withCtx(()=>[t.createElementVNode("view",Dd,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m.nodes,p=>(t.openBlock(),t.createElementBlock("view",{key:p.value,class:t.normalizeClass(["fox-cascader__item",{active:e.isSelected(m,p),disabled:p.disabled}]),"aria-checked":e.isSelected(m,p),"aria-disabled":p.disabled||void 0,role:"menuitemradio",onClick:k=>e.handleNode(p,!1)},[t.createElementVNode("view",qd,t.toDisplayString(p.text),1),p.loading?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):(t.openBlock(),t.createBlock(i,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,Id))),128))])]),_:2},1032,["title"]))),128)):(t.openBlock(),t.createBlock(c,{key:1,title:"Loading..."},{default:t.withCtx(()=>[zd]),_:1}))]),_:1},8,["modelValue","onClick"])}const Pd=Z(Ed,[["render",Md]]),{create:Rd}=j("cascader"),xd=Rd({components:{FoxCascaderPane:Pd,FoxPopup:de},props:{...nt,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:o}){const l=t.ref(e.modelValue),n=t.computed({get(){return e.visible},set(s){o("update:visible",s)}}),a=(s,i)=>{l.value=s,n.value=!1,o("change",s,i),o("update:modelValue",s)},r=s=>{o("pathChange",s)};return t.watch(()=>e.modelValue,s=>{s!==l.value&&(l.value=s)}),{onChange:a,onPathChange:r,innerValue:l,innerVisible:n}}}),Ld=["innerHTML"];function Od(e,o,l,n,a,r){const s=t.resolveComponent("FoxCascaderPane"),i=t.resolveComponent("FoxPopup");return e.poppable?(t.openBlock(),t.createBlock(i,{key:0,visible:e.innerVisible,"onUpdate:visible":o[0]||(o[0]=c=>e.innerVisible=c),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:e.closeable,"destroy-on-close":!1,"close-icon-position":e.closeIconPosition},{default:t.withCtx(()=>[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-cascader__bar",innerHTML:e.title},null,8,Ld)):t.createCommentVNode("",!0),t.createVNode(s,{onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"])]),_:1},8,["visible","closeable","close-icon-position"])):(t.openBlock(),t.createBlock(s,{key:1,onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"]))}const Bo=Z(xd,[["render",Od]]);function qt(e,o){const l=e.textKey??"text";return o[l]??""}function zt(e,o){const l=e.valueKey??"value";return o[l]}function Rr(e,o){const l=e.childrenKey??"children";return o[l]}function Ao(e,o=[]){const l={texts:[],values:[]};for(let n=0;n<o.length;n++){const a=o[n],r=qt(e,a),s=zt(e,a);l.texts.push(r),l.values.push(s??"")}return l}function xr(e,o,l,n,a=[]){if(!l)return;const r=l[n];for(let s=0;s<o.length;s++)if(qt(e,o[s])===r){const c=zt(e,o[s])??"",u={[e.textKey]:r,[e.valueKey]:c};a.push(u);const m=Rr(e,o[s]);Array.isArray(m)&&xr(e,m,l,n+1,a);return}}function Lr(e,o,l,n,a=[]){if(!l)return;const r=l[n];for(let s=0;s<o.length;s++)if(zt(e,o[s])===r){const c=qt(e,o[s])??"",u={[e.textKey]:c,[e.valueKey]:r};a.push(u);const m=Rr(e,o[s]);Array.isArray(m)&&Lr(e,m,l,n+1,a);return}}function Pn(e,o,l){if(o===l)return!0;if(o.length!==l.length)return!1;for(let n=0;n<o.length;n++){const a=qt(e,o[n]),r=qt(e,l[n]);if(a!==r)return!1;const s=zt(e,o[n]),i=zt(e,l[n]);if(s!==i)return!1}return!0}let Fd=class{proxy;constructor(o){this.proxy=o}async load(o,l){const n="cascader";if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);const a=ut(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):(De(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}};function Kd(){const e=t.getCurrentInstance();return new Fd(e.proxy)}function vd(e,o,l,n,a,r,s=!1){return{props:{...ue,...me,modelValue:{type:[Array,String]},pathNodes:{type:[Array]},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","update:pathNodes"],setup(i,c){const u=Ve(t.computed(()=>i.disabled)),m=Ee(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!u.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=se.useFoxI18n(o),k=p(i,["placeholder"]),g=t.ref(!1),y=Kd(),S=t.ref([]);t.watch([()=>i.source,()=>i.params],async([U,P])=>{U&&(S.value=await y.load(U,P))},{immediate:!0});const d=t.ref([]),f=t.computed(()=>Array.isArray(d.value)?d.value.join(" "):d.value),b=t.ref([]),w=t.ref([]);t.watch([()=>i.modelValue],async([U])=>{if(i.lazy===!0){w.value.length==0&&(d.value=Array.isArray(U)?U:[],b.value=Array.isArray(U)?U:[]);return}if(i.valueType==="item"){let P=U;if(!Pn(i,P,w.value)){w.value=P;let v=Ao(i,P);d.value=v.texts,b.value=v.values}}else if(i.valueType==="text"){let P=U,v=[];if(xr(i,S.value,P,0,v),!Pn(i,v,w.value)){w.value=v;let H=Ao(i,v);P.value=H.texts,b.value=H.values}}else{let P=[];if(Lr(i,S.value,U,0,P),!Pn(i,P,w.value)){w.value=P;let v=Ao(i,P);d.value=v.texts,b.value=v.values}}},{immediate:!0});const V="fox-input-item",E=t.computed(()=>({[V]:!0,[`${V}__disabled`]:u.value})),I=Ae(t.computed(()=>i.textAlign),"textAlign"),D=t.computed(()=>{const U={};return I.value&&(U["text-align"]=I.value),U}),z=t.ref(!1),N=()=>{u.value===!0||m.value===!0||(z.value=!0)},B=U=>{z.value=U},R=(U,P)=>{let v=P.map(J=>{if(J==null)return J;let X={...J};return Reflect.deleteProperty(X,"text"),X[i.textKey]=J.text??"",Reflect.deleteProperty(X,"value"),X[i.valueKey]=J.value??"",X});w.value=v;let H=Ao(i,v);d.value=H.texts,b.value=H.values,i.valueType==="text"?(h("change",d.value,v),h("update:modelValue",d.value)):i.valueType==="item"?(h("change",v,v),h("update:modelValue",v)):(h("change",b.value,v),h("update:modelValue",b.value)),h("update:pathNodes",v)},L=U=>{let P=U.map(v=>{if(v==null)return v;let H={...v};return Reflect.deleteProperty(H,"text"),H[i.textKey]=v.text??"",Reflect.deleteProperty(H,"value"),H[i.valueKey]=v.value??"",H});h("pathChange",P)},$=U=>{g.value=!0,h("focus",b.value,U)},T=U=>{setTimeout(()=>{g.value=!1},0),h("blur",b.value,U)},q=t.computed(()=>({[`${V}__append`]:!0})),A=t.computed(()=>ge(i.unit)>0),O=t.computed(()=>ge(i.unit)>0&&!g.value),x=t.computed(()=>({hidden:!O.value})),M=U=>{w.value=[],d.value=[],b.value=[],h("update:modelValue",[]),h("change",[],U),h("clear",[]),h("update:pathNodes",[])},F=t.computed(()=>i.clearable&&!u.value&&!m.value),G=t.computed(()=>{let U=b.value&&b.value.length>0;return i.clearable&&U&&g.value}),Y=U=>{G.value?M(U):N()},ee=t.computed(()=>G.value&&F.value?n:a),K=t.computed(()=>({action:!0}));return()=>{const U={class:E.value,style:D.value,type:"text",maxlength:i.maxLength,placeholder:k.placeholder.value,readonly:!0,unselectable:"on",value:f.value,onClick:N,onFocus:$,onBlur:T};s&&(U.disabled=!0);const P=[],v=t.h("input",U);P.push(v);const H=[],J={class:["action-icon"]},X=t.h(ee.value,J),W={class:K.value,onClick:Y},Q=t.h("view",W,{default:()=>[X]});if(H.push(Q),A.value){const st=t.h("view",{class:x.value},[i.unit]);H.push(st)}const _={class:q.value},oe=t.h("view",_,{default:()=>H});P.push(oe);const ne={default:()=>P};ne.label=c.slots.default,ne.prepend=c.slots.prepend,ne.append=c.slots.append,ne.fixedPreTip=c.slots.fixedPreTip,ne.fixedTip=c.slots.fixedTip;let ae={};ae.visible=z.value,ae["onUpdate:visible"]=B,ae.modelValue=b.value,ae.onChange=R,ae.onPathChange=L,ae.options=S.value,ae.title=i.title,ae.lazy=i.lazy,ae.lazyLoad=i.lazyLoad,ae.valueKey=i.valueKey,ae.textKey=i.textKey,ae.childrenKey=i.childrenKey,ae.convertConfig=i.convertConfig;const ye=t.h(r,ae);ne.hide=()=>[ye];const Se=ke(i,me,ue);return t.h(l,Se,ne)}}}}const{componentName:Ud,create:Hd,scope:jd}=j("cascader-item"),Rn=Hd(vd(Ud,jd,Ne,te.CircleClose,te.ArrowRight,Bo,!1));var He=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function je(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Or={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){var l=1e3,n=6e4,a=36e5,r="millisecond",s="second",i="minute",c="hour",u="day",m="week",h="month",p="quarter",k="year",g="date",y="Invalid Date",S=/^(\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,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("_")},b=function(L,$,T){var q=String(L);return!q||q.length>=$?L:""+Array($+1-q.length).join(T)+L},w={s:b,z:function(L){var $=-L.utcOffset(),T=Math.abs($),q=Math.floor(T/60),A=T%60;return($<=0?"+":"-")+b(q,2,"0")+":"+b(A,2,"0")},m:function L($,T){if($.date()<T.date())return-L(T,$);var q=12*(T.year()-$.year())+(T.month()-$.month()),A=$.clone().add(q,h),O=T-A<0,x=$.clone().add(q+(O?-1:1),h);return+(-(q+(T-A)/(O?A-x:x-A))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:h,y:k,w:m,d:u,D:g,h:c,m:i,s,ms:r,Q:p}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},V="en",E={};E[V]=f;var I=function(L){return L instanceof B},D=function L($,T,q){var A;if(!$)return V;if(typeof $=="string"){var O=$.toLowerCase();E[O]&&(A=O),T&&(E[O]=T,A=O);var x=$.split("-");if(!A&&x.length>1)return L(x[0])}else{var M=$.name;E[M]=$,A=M}return!q&&A&&(V=A),A||!q&&V},z=function(L,$){if(I(L))return L.clone();var T=typeof $=="object"?$:{};return T.date=L,T.args=arguments,new B(T)},N=w;N.l=D,N.i=I,N.w=function(L,$){return z(L,{locale:$.$L,utc:$.$u,x:$.$x,$offset:$.$offset})};var B=function(){function L(T){this.$L=D(T.locale,null,!0),this.parse(T)}var $=L.prototype;return $.parse=function(T){this.$d=function(q){var A=q.date,O=q.utc;if(A===null)return new Date(NaN);if(N.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var x=A.match(S);if(x){var M=x[2]-1||0,F=(x[7]||"0").substring(0,3);return O?new Date(Date.UTC(x[1],M,x[3]||1,x[4]||0,x[5]||0,x[6]||0,F)):new Date(x[1],M,x[3]||1,x[4]||0,x[5]||0,x[6]||0,F)}}return new Date(A)}(T),this.$x=T.x||{},this.init()},$.init=function(){var T=this.$d;this.$y=T.getFullYear(),this.$M=T.getMonth(),this.$D=T.getDate(),this.$W=T.getDay(),this.$H=T.getHours(),this.$m=T.getMinutes(),this.$s=T.getSeconds(),this.$ms=T.getMilliseconds()},$.$utils=function(){return N},$.isValid=function(){return this.$d.toString()!==y},$.isSame=function(T,q){var A=z(T);return this.startOf(q)<=A&&A<=this.endOf(q)},$.isAfter=function(T,q){return z(T)<this.startOf(q)},$.isBefore=function(T,q){return this.endOf(q)<z(T)},$.$g=function(T,q,A){return N.u(T)?this[q]:this.set(A,T)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(T,q){var A=this,O=!!N.u(q)||q,x=N.p(T),M=function(v,H){var J=N.w(A.$u?Date.UTC(A.$y,H,v):new Date(A.$y,H,v),A);return O?J:J.endOf(u)},F=function(v,H){return N.w(A.toDate()[v].apply(A.toDate("s"),(O?[0,0,0,0]:[23,59,59,999]).slice(H)),A)},G=this.$W,Y=this.$M,ee=this.$D,K="set"+(this.$u?"UTC":"");switch(x){case k:return O?M(1,0):M(31,11);case h:return O?M(1,Y):M(0,Y+1);case m:var U=this.$locale().weekStart||0,P=(G<U?G+7:G)-U;return M(O?ee-P:ee+(6-P),Y);case u:case g:return F(K+"Hours",0);case c:return F(K+"Minutes",1);case i:return F(K+"Seconds",2);case s:return F(K+"Milliseconds",3);default:return this.clone()}},$.endOf=function(T){return this.startOf(T,!1)},$.$set=function(T,q){var A,O=N.p(T),x="set"+(this.$u?"UTC":""),M=(A={},A[u]=x+"Date",A[g]=x+"Date",A[h]=x+"Month",A[k]=x+"FullYear",A[c]=x+"Hours",A[i]=x+"Minutes",A[s]=x+"Seconds",A[r]=x+"Milliseconds",A)[O],F=O===u?this.$D+(q-this.$W):q;if(O===h||O===k){var G=this.clone().set(g,1);G.$d[M](F),G.init(),this.$d=G.set(g,Math.min(this.$D,G.daysInMonth())).$d}else M&&this.$d[M](F);return this.init(),this},$.set=function(T,q){return this.clone().$set(T,q)},$.get=function(T){return this[N.p(T)]()},$.add=function(T,q){var A,O=this;T=Number(T);var x=N.p(q),M=function(Y){var ee=z(O);return N.w(ee.date(ee.date()+Math.round(Y*T)),O)};if(x===h)return this.set(h,this.$M+T);if(x===k)return this.set(k,this.$y+T);if(x===u)return M(1);if(x===m)return M(7);var F=(A={},A[i]=n,A[c]=a,A[s]=l,A)[x]||1,G=this.$d.getTime()+T*F;return N.w(G,this)},$.subtract=function(T,q){return this.add(-1*T,q)},$.format=function(T){var q=this,A=this.$locale();if(!this.isValid())return A.invalidDate||y;var O=T||"YYYY-MM-DDTHH:mm:ssZ",x=N.z(this),M=this.$H,F=this.$m,G=this.$M,Y=A.weekdays,ee=A.months,K=function(H,J,X,W){return H&&(H[J]||H(q,O))||X[J].slice(0,W)},U=function(H){return N.s(M%12||12,H,"0")},P=A.meridiem||function(H,J,X){var W=H<12?"AM":"PM";return X?W.toLowerCase():W},v={YY:String(this.$y).slice(-2),YYYY:this.$y,M:G+1,MM:N.s(G+1,2,"0"),MMM:K(A.monthsShort,G,ee,3),MMMM:K(ee,G),D:this.$D,DD:N.s(this.$D,2,"0"),d:String(this.$W),dd:K(A.weekdaysMin,this.$W,Y,2),ddd:K(A.weekdaysShort,this.$W,Y,3),dddd:Y[this.$W],H:String(M),HH:N.s(M,2,"0"),h:U(1),hh:U(2),a:P(M,F,!0),A:P(M,F,!1),m:String(F),mm:N.s(F,2,"0"),s:String(this.$s),ss:N.s(this.$s,2,"0"),SSS:N.s(this.$ms,3,"0"),Z:x};return O.replace(d,function(H,J){return J||v[H]||x.replace(":","")})},$.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},$.diff=function(T,q,A){var O,x=N.p(q),M=z(T),F=(M.utcOffset()-this.utcOffset())*n,G=this-M,Y=N.m(this,M);return Y=(O={},O[k]=Y/12,O[h]=Y,O[p]=Y/3,O[m]=(G-F)/6048e5,O[u]=(G-F)/864e5,O[c]=G/a,O[i]=G/n,O[s]=G/l,O)[x]||G,A?Y:N.a(Y)},$.daysInMonth=function(){return this.endOf(h).$D},$.$locale=function(){return E[this.$L]},$.locale=function(T,q){if(!T)return this.$L;var A=this.clone(),O=D(T,q,!0);return O&&(A.$L=O),A},$.clone=function(){return N.w(this.$d,this)},$.toDate=function(){return new Date(this.valueOf())},$.toJSON=function(){return this.isValid()?this.toISOString():null},$.toISOString=function(){return this.$d.toISOString()},$.toString=function(){return this.$d.toUTCString()},L}(),R=B.prototype;return z.prototype=R,[["$ms",r],["$s",s],["$m",i],["$H",c],["$W",u],["$M",h],["$y",k],["$D",g]].forEach(function(L){R[L[1]]=function($){return this.$g($,L[0],L[1])}}),z.extend=function(L,$){return L.$i||(L($,B,z),L.$i=!0),z},z.locale=D,z.isDayjs=I,z.unix=function(L){return z(1e3*L)},z.en=E[V],z.Ls=E,z.p={},z})})(Or);var Wd=Or.exports;const xe=je(Wd);var Fr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){var l={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,r=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,i={},c=function(y){return(y=+y)+(y>68?1900:2e3)},u=function(y){return function(S){this[y]=+S}},m=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(S){if(!S||S==="Z")return 0;var d=S.match(/([+-]|\d\d)/g),f=60*d[1]+(+d[2]||0);return f===0?0:d[0]==="+"?-f:f}(y)}],h=function(y){var S=i[y];return S&&(S.indexOf?S:S.s.concat(S.f))},p=function(y,S){var d,f=i.meridiem;if(f){for(var b=1;b<=24;b+=1)if(y.indexOf(f(b,0,S))>-1){d=b>12;break}}else d=y===(S?"pm":"PM");return d},k={A:[s,function(y){this.afternoon=p(y,!1)}],a:[s,function(y){this.afternoon=p(y,!0)}],S:[/\d/,function(y){this.milliseconds=100*+y}],SS:[a,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[r,u("seconds")],ss:[r,u("seconds")],m:[r,u("minutes")],mm:[r,u("minutes")],H:[r,u("hours")],h:[r,u("hours")],HH:[r,u("hours")],hh:[r,u("hours")],D:[r,u("day")],DD:[a,u("day")],Do:[s,function(y){var S=i.ordinal,d=y.match(/\d+/);if(this.day=d[0],S)for(var f=1;f<=31;f+=1)S(f).replace(/\[|\]/g,"")===y&&(this.day=f)}],M:[r,u("month")],MM:[a,u("month")],MMM:[s,function(y){var S=h("months"),d=(h("monthsShort")||S.map(function(f){return f.slice(0,3)})).indexOf(y)+1;if(d<1)throw new Error;this.month=d%12||d}],MMMM:[s,function(y){var S=h("months").indexOf(y)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,u("year")],YY:[a,function(y){this.year=c(y)}],YYYY:[/\d{4}/,u("year")],Z:m,ZZ:m};function g(y){var S,d;S=y,d=i&&i.formats;for(var f=(y=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(z,N,B){var R=B&&B.toUpperCase();return N||d[B]||l[B]||d[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(L,$,T){return $||T.slice(1)})})).match(n),b=f.length,w=0;w<b;w+=1){var V=f[w],E=k[V],I=E&&E[0],D=E&&E[1];f[w]=D?{regex:I,parser:D}:V.replace(/^\[|\]$/g,"")}return function(z){for(var N={},B=0,R=0;B<b;B+=1){var L=f[B];if(typeof L=="string")R+=L.length;else{var $=L.regex,T=L.parser,q=z.slice(R),A=$.exec(q)[0];T.call(N,A),z=z.replace(A,"")}}return function(O){var x=O.afternoon;if(x!==void 0){var M=O.hours;x?M<12&&(O.hours+=12):M===12&&(O.hours=0),delete O.afternoon}}(N),N}}return function(y,S,d){d.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(c=y.parseTwoDigitYear);var f=S.prototype,b=f.parse;f.parse=function(w){var V=w.date,E=w.utc,I=w.args;this.$u=E;var D=I[1];if(typeof D=="string"){var z=I[2]===!0,N=I[3]===!0,B=z||N,R=I[2];N&&(R=I[2]),i=this.$locale(),!z&&R&&(i=d.Ls[R]),this.$d=function(q,A,O){try{if(["x","X"].indexOf(A)>-1)return new Date((A==="X"?1e3:1)*q);var x=g(A)(q),M=x.year,F=x.month,G=x.day,Y=x.hours,ee=x.minutes,K=x.seconds,U=x.milliseconds,P=x.zone,v=new Date,H=G||(M||F?1:v.getDate()),J=M||v.getFullYear(),X=0;M&&!F||(X=F>0?F-1:v.getMonth());var W=Y||0,Q=ee||0,_=K||0,oe=U||0;return P?new Date(Date.UTC(J,X,H,W,Q,_,oe+60*P.offset*1e3)):O?new Date(Date.UTC(J,X,H,W,Q,_,oe)):new Date(J,X,H,W,Q,_,oe)}catch{return new Date("")}}(V,D,E),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),B&&V!=this.format(D)&&(this.$d=new Date("")),i={}}else if(D instanceof Array)for(var L=D.length,$=1;$<=L;$+=1){I[1]=D[$-1];var T=d.apply(this,I);if(T.isValid()){this.$d=T.$d,this.$L=T.$L,this.init();break}$===L&&(this.$d=new Date(""))}else b.call(this,w)}}})})(Fr);var Yd=Fr.exports;const Xd=je(Yd);var Kr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){return function(l,n,a){var r=n.prototype,s=r.format;a.en.ordinal=function(i){var c=["th","st","nd","rd"],u=i%100;return"["+i+(c[(u-20)%10]||c[u]||c[0])+"]"},r.format=function(i){var c=this,u=this.$locale();if(!this.isValid())return s.bind(this)(i);var m=this.$utils(),h=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(p){switch(p){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return u.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return u.ordinal(c.week(),"W");case"w":case"ww":return m.s(c.week(),p==="w"?1:2,"0");case"W":case"WW":return m.s(c.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return m.s(String(c.$H===0?24:c.$H),p==="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 p}});return s.bind(this)(h)}}})})(Kr);var Qd=Kr.exports;const Gd=je(Qd);var vr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){return function(l,n,a){var r=n.prototype,s=function(h){return h&&(h.indexOf?h:h.s)},i=function(h,p,k,g,y){var S=h.name?h:h.$locale(),d=s(S[p]),f=s(S[k]),b=d||f.map(function(V){return V.slice(0,g)});if(!y)return b;var w=S.weekStart;return b.map(function(V,E){return b[(E+(w||0))%7]})},c=function(){return a.Ls[a.locale()]},u=function(h,p){return h.formats[p]||function(k){return k.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(g,y,S){return y||S.slice(1)})}(h.formats[p.toUpperCase()])},m=function(){var h=this;return{months:function(p){return p?p.format("MMMM"):i(h,"months")},monthsShort:function(p){return p?p.format("MMM"):i(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):i(h,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):i(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):i(h,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return u(h.$locale(),p)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return m.bind(this)()},a.localeData=function(){var h=c();return{firstDayOfWeek:function(){return h.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(p){return u(h,p)},meridiem:h.meridiem,ordinal:h.ordinal}},a.months=function(){return i(c(),"months")},a.monthsShort=function(){return i(c(),"monthsShort","months",3)},a.weekdays=function(h){return i(c(),"weekdays",null,null,h)},a.weekdaysShort=function(h){return i(c(),"weekdaysShort","weekdays",3,h)},a.weekdaysMin=function(h){return i(c(),"weekdaysMin","weekdays",2,h)}}})})(vr);var Zd=vr.exports;const Jd=je(Zd);var Ur={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){var l="week",n="year";return function(a,r,s){var i=r.prototype;i.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var m=s(this).startOf(n).add(1,n).date(u),h=s(this).endOf(l);if(m.isBefore(h))return 1}var p=s(this).startOf(n).date(u).startOf(l).subtract(1,"millisecond"),k=this.diff(p,l,!0);return k<0?s(this).startOf("week").week():Math.ceil(k)},i.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(Ur);var _d=Ur.exports;const eu=je(_d);var Hr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){return function(l,n){n.prototype.weekYear=function(){var a=this.month(),r=this.week(),s=this.year();return r===1&&a===11?s+1:a===0&&r>=52?s-1:s}}})})(Hr);var tu=Hr.exports;const ou=je(tu);var jr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){return function(l,n,a){n.prototype.dayOfYear=function(r){var s=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return r==null?s:this.add(r-s,"day")}}})})(jr);var nu=jr.exports;const lu=je(nu);var Wr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){return function(l,n){n.prototype.isSameOrAfter=function(a,r){return this.isSame(a,r)||this.isAfter(a,r)}}})})(Wr);var au=Wr.exports;const ru=je(au);var Yr={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(He,function(){return function(l,n){n.prototype.isSameOrBefore=function(a,r){return this.isSame(a,r)||this.isBefore(a,r)}}})})(Yr);var su=Yr.exports;const iu=je(su);xe.extend(Jd),xe.extend(Gd),xe.extend(Xd),xe.extend(eu),xe.extend(ou),xe.extend(lu),xe.extend(ru),xe.extend(iu);const le={format(e,o){return xe(e).format(o)},parser(e,o){return xe(e,o).toDate()},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,o,l){const a=new Date(e+"/"+o+"/"+l).getDay();return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][a]},getMonthPreDay(e,o){let n=new Date(e+"/"+o+"/01").getDay();return n==0&&(n=7),n},getMonthDays(e,o){return/^0/.test(o)&&(o=o.split("")[1]),[0,31,this.isLeapYear(Number(e))?29:28,31,30,31,30,31,31,30,31,30,31][o]},getNumTwoBit(e){return e=Number(e),(e>9?"":"0")+e},date2Str:function(e,o){o=o||"-";const l=e.getFullYear(),n=this.getNumTwoBit(e.getMonth()+1),a=this.getNumTwoBit(e.getDate());return[l,n,a].join(o)},getDay(e,o){e=e||0;let l=o??new Date;const n=e*(1e3*60*60*24);return l=new Date(l.getTime()+n),this.date2Str(l)},compareDate(e,o){let l;typeof e=="string"?l=new Date(e.replace("-","/").replace("-","/")):l=e;let n;return typeof o=="string"?n=new Date(o.replace("-","/").replace("-","/")):n=o,!(l>=n)},isEqual(e,o){if(e===o)return!0;if(!e||!o)return!1;let l;typeof e=="string"?l=new Date(e).getTime():l=e;let n;return typeof o=="string"?n=new Date(o).getTime():n=o,l==n},getMonthWeek:function(e,o,l,n=0){const a=new Date(Number(e),parseInt(o)-1,Number(l));let r=a.getDay(),s=a.getDate(),i=6-r;return n!==0&&(r=r==0?7:r,i=7-r),Math.ceil((s+i)/7)},getYearWeek:function(e,o,l,n=0){const a=new Date(Number(e),parseInt(o)-1,Number(l)),r=new Date(Number(e),0,1),s=Math.round((a.valueOf()-r.valueOf())/864e5);let i=a.getDay(),c=6-i;return n!==0&&(i=i==0?7:i,c=7-i),Math.ceil((s+c)/7)},getWeekDate:function(e,o,l,n=0){const a=new Date(Number(e),parseInt(o)-1,Number(l)),r=a.getTime();let s=a.getDay();if(n===0){const c=r-s*864e5,u=r+(6-s)*864e5,m=this.date2Str(new Date(c)),h=this.date2Str(new Date(u));return[m,h]}else{s=s==0?7:s;const i=24*60*60*1e3,c=r-(s-1)*i,u=r+(7-s)*i,m=this.date2Str(new Date(c)),h=this.date2Str(new Date(u));return[m,h]}},formatResultDate:function(e){let o=[...e.split("-")];return o[2]=le.getNumTwoBit(Number(o[2])),o[3]=`${o[0]}-${o[1]}-${o[2]}`,o[4]=le.getWhatDay(+o[0],+o[1],+o[2]),o},inScope4Day(e,o,l){const n=new Date(new Date(o).setDate(o.getDate()+l)),a=e.getTime(),r=n.getTime(),s=o.getTime();return r>s?a>=s&&a<=r:a>=r&&a<=s},inScope4Month(e,o,l){const n=new Date(new Date(o).setMonth(o.getMonth()+l)),a=e.getTime(),r=n.getTime(),s=o.getTime();return r>s?a>=s&&a<=r:a>=r&&a<=s}},Xr=new Date().getFullYear(),xn={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"},Vo=(e,o,l)=>{let n;if(Oe(o)?n=o:typeof o=="string"&&ge(o)>0?n=le.parser(o,l):n=new Date,n.toString()==="Invalid Date")return null;let a=Math.max(n.getTime(),e.minDate.getTime());return a=Math.min(a,e.maxDate.getTime()),new Date(a)},Ln=(e,o,l)=>{Oe(o)||(o=e.minDate);let n=Math.max(o.getTime(),e.minDate.getTime());return n=Math.min(n,e.maxDate.getTime()),le.format(new Date(n),l)};let On={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(Xr-10,0,1),validator:Oe},maxDate:{type:Date,default:()=>new Date(Xr+10,11,31),validator:Oe},visibleItemCount:{type:[Number,String],default:7},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3},teleportDisable:{type:Boolean}};const{create:cu,scope:du}=j("date-picker"),uu=cu({components:{[pt.name]:pt},props:{...On},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(du),n={day:l("day"),year:l("year"),month:l("month"),hour:l("hour"),minute:l("minute"),seconds:l("seconds")},a=t.ref(!1);t.watch(()=>e.visible,d=>{a.value=d});function r(d,f){return new Date(d,f,0).getDate()}const s=(d,f)=>{const b=e[`${d}Date`],w=b.getFullYear();let V=1,E=1,I=0,D=0;d==="max"&&(V=12,E=r(f.getFullYear(),f.getMonth()+1),I=23,D=59);const z=D;return f.getFullYear()===w&&(V=b.getMonth()+1,f.getMonth()+1===V&&(E=b.getDate(),f.getDate()===E&&(I=b.getHours(),f.getHours()===I&&(D=b.getMinutes())))),{[`${d}Year`]:w,[`${d}Month`]:V,[`${d}Date`]:E,[`${d}Hour`]:I,[`${d}Minute`]:D,[`${d}Seconds`]:z}},i=t.computed(()=>{if(!p.value)return[];const{maxYear:d,maxDate:f,maxMonth:b,maxHour:w,maxMinute:V,maxSeconds:E}=s("max",p.value),{minYear:I,minDate:D,minMonth:z,minHour:N,minMinute:B,minSeconds:R}=s("min",p.value);let L=[{type:"year",range:[I,d]},{type:"month",range:[z,b]},{type:"day",range:[D,f]},{type:"hour",range:[N,w]},{type:"minute",range:[B,V]},{type:"seconds",range:[R,E]}];switch(e.type){case"date":L=L.slice(0,3);break;case"datetime":L=L.slice(0,5);break;case"time":L=L.slice(3,6);break;case"year-month":L=L.slice(0,2);break;case"month-day":L=L.slice(1,3);break;case"datehour":L=L.slice(0,4);break;case"hour-minute":L=L.slice(3,5);break}return L}),c=(d,f,b)=>{if(!(f>d))return null;const w=[];for(;d<=f;)e.isShowChinese?w.push({text:d+n[b],value:d}):w.push({text:`${d}`,value:d}),b==="minute"?d+=e.minuteStep:d++;return w},u=t.computed(()=>{let d=[];return i.value.forEach(f=>{let b=c(f.range[0],f.range[1],f.type);b&&d.push(b)}),d}),m=(d,f)=>d==="year"?f.getFullYear():d==="month"?f.getMonth()+1:d==="day"?f.getDate():d==="hour"?f.getHours():d==="minute"?f.getMinutes():d==="seconds"?f.getSeconds():0,h=t.ref(),p=t.ref(null);t.watchEffect(()=>{let d,f=e.modelValue;if(typeof f=="string"?f.length==0?d=new Date:e.valueFormat?d=Vo(e,e.modelValue,e.valueFormat):d=Vo(e,f,xn[e.type]):Oe(f)?d=f:d=new Date,!!d&&(!p.value||d.getTime()!==p.value.getTime())){p.value=d;let b=[];i.value.forEach(w=>{let V=m(w.type,d);b.push(V)}),h.value=b}});const k=d=>{if(e.type==="date"){let f=d;p.value=new Date(f[0],f[1]-1,Math.min(f[2],r(f[0],f[1])))}else if(e.type==="datetime"){let f=d;p.value=new Date(f[0],f[1]-1,Math.min(f[2],r(f[0],f[1])),f[3],f[4])}else if(e.type==="time"){let f=d,b=p.value??new Date,w=new Date(b.getFullYear(),b.getMonth(),b.getDate(),f[0],f[1],f[2]);p.value=w}else if(e.type==="year-month"){let f=d,b=new Date(f[0],f[1]-1);p.value=b}else if(e.type==="month-day"){let f=d,b=p.value??new Date,w=new Date(b.getFullYear(),f[0]-1,f[1]);p.value=w}else if(e.type==="datehour"){let f=d;p.value=new Date(f[0],f[1]-1,Math.min(f[2],r(f[0],f[1])),f[3])}else if(e.type==="hour-minute"){let f=d,b=p.value??new Date,w=new Date(b.getFullYear(),b.getMonth(),b.getDate(),f[0],f[1]);p.value=w}h.value=d};return{columns:u,dateIndexs:h,show:a,onClose:()=>{a.value=!1,o("update:visible",!1),o("update:close",!1)},onConfirm:d=>{k(d),a.value=!1;let f=p.value??new Date;if(e.valueFormat){let b=Ln(e,f,e.valueFormat);o("update:modelValue",b)}else o("update:modelValue",f);o("update:visible",!1),o("confirm",d)},onClear:()=>{o("clear")}}}});function fu(e,o,l,n,a,r){const s=t.resolveComponent("fox-picker");return t.openBlock(),t.createBlock(s,{visible:e.show,"model-value":e.dateIndexs,source:e.columns,"value-type":"value","confirm-text":e.confirmText,"cancel-text":e.cancelText,title:e.title,onConfirm:e.onConfirm,onClose:e.onClose,onClear:e.onClear,"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,"teleport-disable":e.teleportDisable},{top:t.withCtx(()=>[t.renderSlot(e.$slots,"top")]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["visible","model-value","source","confirm-text","cancel-text","title","onConfirm","onClose","onClear","visible-item-count","three-dimensional","swipe-duration","teleport-disable"])}const To=Z(uu,[["render",fu]]);function mu(e){let o=e.format;if(!o){let l=e.type??"date";o=xn[l]}return o}function pu(e,o,l,n,a,r,s=!1){return{props:{...ue,...me,...On,format:{type:String},placeholder:{type:String,default:""},textAlign:{type:String},clearable:{type:Boolean,default:!0}},emits:["change","update:modelValue","blur","focus","clear"],setup(i,c){const u=Ve(t.computed(()=>i.disabled)),m=Ee(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!u.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=se.useFoxI18n(o),k=p(i,["placeholder"]),g=t.ref(!1),S=qe(i,"modelValue",Y=>Y==null?null:typeof Y=="string"?Y.length==0?null:i.valueFormat?Vo(i,Y,i.valueFormat)??Y:Vo(i,Y,xn[i.type])??Y:Oe(Y)?Y:null),d=t.computed(()=>{if(!S.value)return"";const Y=mu(i);return Ln(i,S.value,Y)}),f="fox-input-item",b=t.computed(()=>({[f]:!0,[`${f}__disabled`]:u.value})),w=Ae(t.computed(()=>i.textAlign),"textAlign"),V=t.computed(()=>{const Y={};return w.value&&(Y["text-align"]=w.value),Y}),E=t.ref(!1),I=()=>{E.value=!0},D=()=>{E.value=!1};c.expose({showPicker:I,hidePicker:D});const z=Y=>{E.value=Y},N=Y=>{if(S.value=Y,i.valueFormat){let ee=Ln(i,Y,i.valueFormat);h("update:modelValue",ee,{}),h("change",ee,{})}else h("update:modelValue",Y,{}),h("change",Y,{})},B=Y=>{let K=Y.target.value;g.value=!0,h("focus",K,Y)},R=Y=>{setTimeout(()=>{g.value=!1},0);let K=Y.target.value;i.maxLength&&K.length>Number(i.maxLength)&&(K=K.slice(0,Number(i.maxLength))),h("blur",K,Y)},L=t.computed(()=>({[`${f}__append`]:!0})),$=t.computed(()=>ge(i.unit)>0),T=t.computed(()=>ge(i.unit)>0&&!g.value),q=t.computed(()=>({hidden:!T.value})),A=Y=>{S.value="",h("update:modelValue","",Y),h("change","",Y),h("clear",""),D()},O=t.computed(()=>i.clearable&&!u.value&&!m.value),x=t.computed(()=>{let Y=ge(S.value)>0;return i.clearable&&Y&&g.value}),M=Y=>{x.value?A(Y):I()},F=t.computed(()=>x.value&&O.value?n:a),G=t.computed(()=>({action:!0}));return()=>{const Y={class:b.value,style:V.value,type:"text",maxlength:i.maxLength,placeholder:k.placeholder.value,readonly:!0,unselectable:"on",value:d.value,onClick:I,onFocus:B,onBlur:R};s&&(Y.disabled=!0);const ee=[],K=t.h("input",Y);ee.push(K);const U=[],P={class:["action-icon"]},v=t.h(F.value,P),H={class:G.value,onClick:M},J=t.h("view",H,{default:()=>[v]});if(U.push(J),$.value){const Se=t.h("view",{class:q.value},[i.unit]);U.push(Se)}const X={class:L.value},W=t.h("view",X,{default:()=>U});ee.push(W);const Q={default:()=>ee};Q.label=c.slots.default,Q.prepend=c.slots.prepend,Q.append=c.slots.append,Q.fixedPreTip=c.slots.fixedPreTip,Q.fixedTip=c.slots.fixedTip;const _=ke(i,On);_.valueFormat=null,_.disabled=!1,_.readonly=u.value||m.value,_.visible=E.value,_["onUpdate:visible"]=z,_.modelValue=S.value,_["onUpdate:modelValue"]=N,_.onClear=A;const oe={};if(c.slots.top){const Se=c.slots.top();oe.top=()=>Se}if(c.slots.bottom){const Se=c.slots.bottom();oe.default=()=>Se}const ne=t.h(r,_,oe);Q.hide=()=>[ne];const ae=ke(i,me,ue);return t.h(l,ae,Q)}}}}const{create:hu,componentName:gu,scope:yu}=j("date-item"),Fn=hu(pu(gu,yu,Ne,te.CircleClose,te.Date,To,!1)),ku=39,bu=64,{create:Su,scope:Cu}=j("calendar-pane"),wu=Su({props:{type:{type:String,default:"one"},valueFormat:{type:String,default:"YYYY-MM-DD"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},showToday:{type:Boolean,default:!0},title:{type:String,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Array],default:""},startDate:{type:String,default:le.getDay(0)},endDate:{type:String,default:le.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:o,slots:l}){const{toLocaleRefs:n,t:a}=se.useFoxI18n(Cu),r=n(e,["title","confirmText","startText","endText","today"]),s=JSON.parse(a("weekdays")),i=t.ref([...s.slice(e.firstDayOfWeek,7),...s.slice(0,e.firstDayOfWeek)]),c=t.ref(null),u=t.ref(null),m=t.ref(null),h=t.ref(null),p=t.ref(0),k=t.computed(()=>d.monthsData.slice(d.defaultRange[0],d.defaultRange[1])),g=t.computed(()=>l.btn),y=t.computed(()=>l["top-info"]),S=t.computed(()=>l["bottom-info"]),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:"fox-calendar__day",startData:"",endData:"",isRange:e.type==="range",timer:0,currentIndex:0,containerHeight:0,avgHeight:0,monthsNum:0}),f=P=>P.split("-"),b=P=>le.isEqual(d.currDate[0],P),w=P=>le.isEqual(d.currDate[1],P),V=P=>d.currDate?.length>0?d.currDate?.some(v=>le.isEqual(v,P)):!1,E=(P,v)=>v.curData[0]+"-"+v.curData[1]+"-"+le.getNumTwoBit(+P.day),I=(P,v)=>{const H=E(P,v),{type:J}=e;return P.type=="curr"?le.isEqual(d.currDate,H)||(J=="range"||J=="week")&&(b(H)||w(H))||J=="multiple"&&V(H)?`${d.dayPrefix}--active`:d.propStartDate&&le.compareDate(H,d.propStartDate)||d.propEndDate&&le.compareDate(d.propEndDate,H)?`${d.dayPrefix}--disabled`:(J=="range"||J=="week")&&Array.isArray(d.currDate)&&Object.values(d.currDate).length==2&&le.compareDate(d.currDate[0],H)&&le.compareDate(H,d.currDate[1])?`${d.dayPrefix}--choose`:null:`${d.dayPrefix}--disabled`},D=()=>{const{type:P}=e;if(P=="range"&&d.chooseData.length==2||P!="range"){let v=d.chooseData.slice(0);P=="week"&&(v={weekDate:[N(d.chooseData[0]),N(d.chooseData[1])]}),o("choose",v),e.poppable&&o("update")}},z=(P,v,H=!1)=>{if(I(P,v)!=`${d.dayPrefix}--disabled`){const{type:J}=e;let[X,W]=v.curData,Q=[...v.curData];if(Q[2]=le.getNumTwoBit(Number(P.day)),Q[3]=`${Q[0]}-${Q[1]}-${Q[2]}`,Q[4]=le.getWhatDay(+Q[0],+Q[1],+Q[2]),J=="multiple")if(d.currDate?.length>0){let _;d.currDate?.forEach((oe,ne)=>{oe==Q[3]&&(_=ne)}),H?d.chooseData.push([...Q]):_!==void 0?(d.currDate.splice(_,1),d.chooseData.splice(_,1)):(d.currDate.push(Q[3]),d.chooseData.push([...Q]))}else d.currDate=[Q[3]],d.chooseData=[[...Q]];else if(J=="range"){let _=Object.values(d.currDate).length;_==2||_==0?d.currDate=[Q[3]]:le.compareDate(d.currDate[0],Q[3])?Array.isArray(d.currDate)&&d.currDate.push(Q[3]):Array.isArray(d.currDate)&&d.currDate.unshift(Q[3]),d.chooseData.length==2||!d.chooseData.length?d.chooseData=[[...Q]]:le.compareDate(d.chooseData[0][3],Q[3])?d.chooseData=[...d.chooseData,[...Q]]:d.chooseData=[[...Q],...d.chooseData]}else if(J=="week"){let _=le.getWeekDate(X,W,P.day,e.firstDayOfWeek);d.propStartDate&&le.compareDate(_[0],d.propStartDate)&&_.splice(0,1,d.propStartDate),d.propEndDate&&le.compareDate(d.propEndDate,_[1])&&_.splice(1,1,d.propEndDate),d.currDate=_,d.chooseData=[le.formatResultDate(_[0]),le.formatResultDate(_[1])]}else d.currDate=Q[3],d.chooseData=[...Q];if(!H){let _=d.chooseData;J=="week"&&(_={weekDate:[N(d.chooseData[0]),N(d.chooseData[1])]}),o("select",_),(e.isAutoBackFill||!e.poppable)&&D()}}},N=P=>{let[v,H,J]=P;return{date:P,monthWeekNum:le.getMonthWeek(v,H,J,e.firstDayOfWeek),yearWeekNum:le.getYearWeek(v,H,J,e.firstDayOfWeek)}},B=P=>{const v=P=="prev"?d.monthsData[0]:d.monthsData[d.monthsData.length-1];let H=parseInt(v.curData[0]),J=parseInt(v.curData[1].toString().replace(/^0/,""));switch(P){case"prev":J==1&&(H-=1),J=J==1?12:--J;break;case"next":J==12&&(H+=1),J=J==12?1:++J;break}return[H+"",le.getNumTwoBit(J),le.getMonthDays(String(H),String(J))+""]},R=(P,v,H)=>{let{year:J,month:X}=H;return v=="prev"&&P>=7&&(P-=7),Array.from(Array(P),(W,Q)=>({day:String(Q+1),type:v,year:J,month:X}))},L=(P,v,H,J)=>{P=P-e.firstDayOfWeek;let{year:X,month:W}=H;return v=="prev"&&P>=7&&(P-=7),Array.from(Array(J),(_,oe)=>({day:String(oe+1),type:v,year:X,month:W})).slice(J-P)},$=(P,v)=>{const H=le.getMonthPreDay(+P[0],+P[1]);let J=Number(P[1])-1,X=Number(P[0]);J<=0&&(J=12,X+=1);const W=le.getMonthDays(String(P[0]),String(P[1])),Q=le.getMonthDays(X+"",J+""),_={year:P[0],month:P[1]},oe={curData:P,title:a("monthTitle",{year:_.year,month:_.month}),monthData:[...L(H,"prev",{month:String(J),year:String(X)},Q),...R(W,"curr",_)],cssHeight:0,cssScrollHeight:0},ne=oe.monthData.length>35?6:5;oe.cssHeight=ku+bu*ne;let ae=0;d.monthsData.length>0&&(ae=d.monthsData[d.monthsData.length-1].cssScrollHeight+d.monthsData[d.monthsData.length-1].cssHeight),oe.cssScrollHeight=ae,v=="next"?(!d.endData||!le.compareDate(`${d.endData[0]}-${d.endData[1]}-${le.getMonthDays(d.endData[0],d.endData[1])}`,`${P[0]}-${P[1]}-${P[2]}`))&&d.monthsData.push(oe):!d.startData||!le.compareDate(`${P[0]}-${P[1]}-${P[2]}`,`${d.startData[0]}-${d.startData[1]}-01`)?d.monthsData.unshift(oe):d.unLoadPrev=!0},T=()=>{let P=e.startDate?e.startDate:le.getDay(0),v=e.endDate?e.endDate:le.getDay(365);d.propStartDate=P,d.propEndDate=v,d.startData=f(P),d.endData=f(v),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(d.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const H={year:Number(d.startData[0]),month:Number(d.startData[1])},J={year:Number(d.endData[0]),month:Number(d.endData[1])};let X=J.month-H.month;J.year-H.year>0&&(X=X+12*(J.year-H.year)),X<=0&&(X=1),$(d.startData,"next");let W=1;do $(B("next"),"next");while(W++<X);if(d.monthsNum=X,e.type=="range"&&Array.isArray(d.currDate))d.currDate.length>0&&(P&&le.compareDate(d.currDate[0],P)&&d.currDate.splice(0,1,P),v&&le.compareDate(v,d.currDate[1])&&d.currDate.splice(1,1,v),d.defaultData=[...f(d.currDate[0]),...f(d.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(d.currDate)){if(d.currDate.length>0){let Q=[],_={};d.currDate.forEach(oe=>{P&&!le.compareDate(oe,P)&&v&&!le.compareDate(v,oe)&&(Object.hasOwnProperty.call(_,oe)||(Q.push(oe),_[oe]=oe))}),d.currDate=[...Q],d.defaultData=[...f(Q[0])]}}else if(e.type=="week"&&Array.isArray(d.currDate)){if(d.currDate.length>0){let[Q,_,oe]=f(d.currDate[0]),ne=le.getWeekDate(Q,_,oe,e.firstDayOfWeek);d.currDate=ne,P&&le.compareDate(d.currDate[0],P)&&d.currDate.splice(0,1,P),v&&le.compareDate(v,d.currDate[1])&&d.currDate.splice(1,1,v),d.defaultData=[...f(d.currDate[0]),...f(d.currDate[1])]}}else d.currDate&&(P&&le.compareDate(d.currDate,P)?d.currDate=P:v&&!le.compareDate(d.currDate,v)&&(d.currDate=v),d.defaultData=[...f(d.currDate)])};Te({scrollToDate:P=>{le.compareDate(P,d.propStartDate)?P=d.propStartDate:le.compareDate(P,d.propEndDate)||(P=d.propEndDate);let v=f(P);d.monthsData.forEach((H,J)=>{if(H.title==a("monthTitle",{year:v[0],month:v[1]})&&c.value){let X=d.monthsData[J].cssScrollHeight-c.value.scrollTop;if(e.toDateAnimation){let W=0,Q=setInterval(()=>{if(W++,c.value){let _=X/10;c.value.scrollTop=c.value.scrollTop+_}W>=10&&(clearInterval(Q),c.value&&(c.value.scrollTop=d.monthsData[J].cssScrollHeight))},40)}else c.value.scrollTop=d.monthsData[J].cssScrollHeight}})},initPosition:()=>{c?.value&&(c.value.scrollTop=d.monthsData[d.currentIndex].cssScrollHeight)},doLayout:()=>{let P=0,v=0;d.defaultData.length>0&&d.monthsData.forEach((X,W)=>{X.title==a("monthTitle",{year:d.defaultData[0],month:d.defaultData[1]})&&(P=W),(e.type=="range"||e.type=="week")&&X.title==a("monthTitle",{year:d.defaultData[3],month:d.defaultData[4]})&&(v=W)}),x(d.monthsNum,P),d.currentIndex=P,d.yearMonthTitle=d.monthsData[d.currentIndex].title,d.defaultData.length>0&&(d.isRange?(z({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0),z({day:d.defaultData[5],type:"curr"},d.monthsData[v],!0)):e.type=="week"?z({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0):e.type=="multiple"?[...d.currDate].forEach(X=>{let W=f(X),Q=d.currentIndex;d.monthsData.forEach((_,oe)=>{_.title==a("monthTitle",{year:W[0],month:W[1]})&&(Q=oe)}),z({day:W[2],type:"curr"},d.monthsData[Q],!0)}):z({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0));let H=d.monthsData[d.monthsData.length-1],J=H.cssHeight+H.cssScrollHeight;We(()=>{c?.value&&u?.value&&h?.value&&(p.value=c.value.clientHeight,u.value.style.height=`${J}px`,c.value.scrollTop=d.monthsData[d.currentIndex].cssScrollHeight)}),d.avgHeight=Math.floor(J/(d.monthsNum+1))}});const x=(P,v)=>{P>=3?v>0&&v<P?d.defaultRange=[v-1,v+3]:v==0?d.defaultRange=[v,v+4]:v==P&&(d.defaultRange=[v-2,v+2]):d.defaultRange=[0,P+2];let H=d.monthsData[d.defaultRange[0]].cssScrollHeight;d.translateY=H},M=(P,v)=>(e.type=="range"||e.type=="week")&&P.type=="curr"&&I(P,v)=="fox-calendar__day--active",F=(P,v)=>M(P,v)&&b(E(P,v)),G=(P,v)=>d.currDate.length>=2&&w(E(P,v))?M(P,v):!1,Y=()=>{if(d.currDate.length>=2)return le.isEqual(d.currDate[0],d.currDate[1])},ee=P=>{const v=`${P.year}-${P.month}-${Number(P.day)<10?"0"+P.day:P.day}`;return le.isEqual(v,le.date2Str(new Date))},K=P=>{if(d.monthsData.length<=1)return;const v=P.target.scrollTop;let H=Math.floor(v/d.avgHeight);if(H==0)v>=d.monthsData[H+1].cssScrollHeight&&(H+=1);else if(H>0&&H<d.monthsNum-1)v>=d.monthsData[H+1].cssScrollHeight&&(H+=1),v<d.monthsData[H].cssScrollHeight&&(H-=1);else{const J=Math.round(v+p.value);J<d.monthsData[H].cssScrollHeight+d.monthsData[H].cssHeight&&v>d.monthsData[H-1].cssScrollHeight&&(H-=1),H+1<=d.monthsNum&&J>=d.monthsData[H+1].cssScrollHeight+d.monthsData[H+1].cssHeight&&(H+=1),H>=1&&v<d.monthsData[H-1].cssScrollHeight&&(H-=1)}d.currentIndex!==H&&(d.currentIndex=H,x(d.monthsNum,H)),d.yearMonthTitle=d.monthsData[H].title},U=()=>{d.chooseData.splice(0),d.monthsData.splice(0),T()};return T(),t.watch(()=>e.defaultValue,P=>{P&&e.poppable&&U()}),{weeks:i,compConthsData:k,showTopBtn:g,topInfo:y,bottomInfo:S,rangeTip:Y,mothsViewScroll:K,getClass:I,isStartTip:F,isEndTip:G,chooseDay:z,isCurrDay:ee,confirm:D,months:c,...t.toRefs(d),...t.toRefs(e),...r,monthsPanel:u,weeksPanel:m,viewArea:h}}}),Nu={class:"fox-calendar__header"},Bu={key:0,class:"fox-calendar__header-title"},Au={key:1,class:"fox-calendar__header-slot"},Vu={key:2,class:"fox-calendar__header-subtitle"},Tu={class:"fox-calendar__weekdays",ref:"weeksPanel"},$u={class:"fox-calendar__panel",ref:"monthsPanel"},Eu={class:"fox-calendar__month-title"},Du={class:"fox-calendar__days"},Iu=["onClick"],qu={class:"fox-calendar__day-value"},zu={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},Mu={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},Pu={key:2,class:"fox-calendar__day-tips--curr"},Ru={key:4,class:"fox-calendar__day-tip"},xu={key:0,class:"fox-calendar__footer"};function Lu(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-calendar",{"fox-calendar--nopop":!e.poppable,"fox-calendar--nofooter":e.isAutoBackFill}])},[t.createElementVNode("view",Nu,[e.showTitle?(t.openBlock(),t.createElementBlock("view",Bu,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.showTopBtn?(t.openBlock(),t.createElementBlock("view",Au,[t.renderSlot(e.$slots,"btn")])):t.createCommentVNode("",!0),e.showSubTitle?(t.openBlock(),t.createElementBlock("view",Vu,t.toDisplayString(e.yearMonthTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("view",Tu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.weeks,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-calendar__weekday",key:i},t.toDisplayString(s),1))),128))],512)]),t.createElementVNode("view",{class:"fox-calendar__content",ref:"months",onScroll:o[0]||(o[0]=(...s)=>e.mothsViewScroll&&e.mothsViewScroll(...s))},[t.createElementVNode("view",$u,[t.createElementVNode("view",{class:"fox-calendar__body",ref:"viewArea",style:t.normalizeStyle({transform:`translateY(${e.translateY}px)`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.compConthsData,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-calendar__month",key:i},[t.createElementVNode("view",Eu,t.toDisplayString(s.title),1),t.createElementVNode("view",Du,[t.createElementVNode("view",{class:t.normalizeClass(["fox-calendar__days-item",e.type==="range"?"fox-calendar__days-item--range":""])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.monthData,(c,u)=>(t.openBlock(),t.createElementBlock("view",{key:u,class:t.normalizeClass(["fox-calendar__day",e.getClass(c,s)]),onClick:m=>e.chooseDay(c,s)},[t.createElementVNode("view",qu,[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",zu,[t.renderSlot(e.$slots,"top-info",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),e.bottomInfo?(t.openBlock(),t.createElementBlock("view",Mu,[t.renderSlot(e.$slots,"bottom-info",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(c)?(t.openBlock(),t.createElementBlock("view",Pu,t.toDisplayString(e.today),1)):t.createCommentVNode("",!0),e.isStartTip(c,s)?(t.openBlock(),t.createElementBlock("view",{key:3,class:t.normalizeClass(["fox-calendar__day-tip",{"fox-calendar__day-tips--top":e.rangeTip()}])},t.toDisplayString(e.startText),3)):t.createCommentVNode("",!0),e.isEndTip(c,s)?(t.openBlock(),t.createElementBlock("view",Ru,t.toDisplayString(e.endText),1)):t.createCommentVNode("",!0)],10,Iu))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?(t.openBlock(),t.createElementBlock("view",xu,[t.createElementVNode("view",{class:"fox-calendar__confirm",onClick:o[1]||(o[1]=(...s)=>e.confirm&&e.confirm(...s))},t.toDisplayString(e.confirmText),1)])):t.createCommentVNode("",!0)],2)}const Qr=Z(wu,[["render",Lu]]),Ou=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),Kn={type:{type:String,default:"one"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},visible:{type:Boolean,default:!1},showToday:{type:Boolean,default:!0},title:{type:String,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Array]},startDate:{type:String},endDate:{type:String},firstDayOfWeek:{type:Number,default:0,validator:e=>e>=0&&e<=6}},{create:Fu}=j("calendar"),Ku=Fu({components:{[Qr.name]:Qr,[de.name]:de},props:{...Kn},emits:["choose","close","update:visible","select"],setup(e,{emit:o,slots:l}){const n=t.computed(()=>l.btn),a=t.computed(()=>l["top-info"]),r=t.computed(()=>l.day),s=t.computed(()=>l["bottom-info"]),i=t.ref(null),c=y=>{i.value?.scrollToDate(y)},u=()=>{i.value?.initPosition()};t.watch(()=>e.visible,y=>{y&&t.nextTick(()=>{i.value?i.value.doLayout():setTimeout(()=>{i.value&&i.value.doLayout()},250)})}),Te({scrollToDate:c,initPosition:u});const m=()=>{o("update:visible",!1)},h=()=>{o("close"),o("update:visible",!1)};return{closePopup:()=>{h()},update:m,close:h,select:y=>{o("select",y)},choose:y=>{h(),o("choose",y)},calendarRef:i,showTopBtn:n,topInfo:a,dayInfo:r,bottomInfo:s}}});function vu(e,o,l,n,a,r){const s=t.resolveComponent("fox-calendar-pane"),i=t.resolveComponent("fox-popup");return e.poppable?(t.openBlock(),t.createBlock(i,t.mergeProps({key:0,visible:e.visible,position:"bottom",round:"",closeable:""},e.$attrs,{onClickOverlay:e.closePopup,onClickCloseIcon:e.closePopup,style:{height:"85vh"}}),{default:t.withCtx(()=>[t.createVNode(s,{ref:"calendarRef",type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,"default-value":e.defaultValue,"start-date":e.startDate,"end-date":e.endDate,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"show-today":e.showToday,"show-title":e.showTitle,"show-sub-title":e.showSubTitle,"to-date-animation":e.toDateAnimation,"first-day-of-week":e.firstDayOfWeek},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:"top-info",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"top-info",{date:c.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"bottom-info",{date:c.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","confirm-text","start-text","end-text","show-today","show-title","show-sub-title","to-date-animation","first-day-of-week"])]),_:3},16,["visible","onClickOverlay","onClickCloseIcon"])):(t.openBlock(),t.createBlock(s,{key:1,type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,ref:"calendarRef","confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"default-value":e.defaultValue,"start-date":e.startDate,"end-date":e.endDate,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"show-title":e.showTitle,"show-sub-title":e.showSubTitle,"to-date-animation":e.toDateAnimation,"show-today":e.showToday,"first-day-of-week":e.firstDayOfWeek},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:"top-info",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"top-info",{date:c.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"bottom-info",{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","onUpdate","onClose","onChoose","onSelect","show-title","show-sub-title","to-date-animation","show-today","first-day-of-week"]))}const $o=Z(Ku,[["render",vu]]),vn=(e,o)=>{let l;return Oe(e)?l=e:typeof e=="string"&&ge(e)>0?l=le.parser(e,o):l=new Date,l},ht=(e,o,l)=>(Oe(o)||(o=new Date),le.format(o,l)),gt=e=>{let o=`${e.getFullYear()}`,l=`${e.getMonth()+1}`,n=`${e.getDate()}`,a=le.date2Str(e),r=le.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[o,l,n,a,r]};function Uu(e,o,l,n,{CloseIcon:a,MarkIcon:r},s=!1){return{props:{...ue,...me,...Kn,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(i,c){const u=Ve(t.computed(()=>i.disabled)),m=Ee(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!u.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=se.useFoxI18n(o),k=p(i,["placeholder"]),g=t.ref(!1),y=t.computed(()=>i.type==="range"),S=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),d=()=>{S.startDate!==null&&(S.startDate=null,S.endDate=null,S.startArray=[],S.endArray=[])},f=(K,U="one",P="YYYY-MM-DD")=>{if(Ou(K)){d();return}if(y.value&&Array.isArray(K)&&K.length==2){let v,H;typeof K[0]=="string"?(v=vn(K[0],P),H=vn(K[1],P)):(v=K[0],H=K[1]);let J=gt(v),X=gt(H);(S.startDate===null||S.startDate.getTime()!==v.getTime()||S.endDate?.getTime()!==H.getTime())&&(S.startDate=v,S.startArray=J,S.endDate=H,S.endArray=X)}else{let v;typeof K=="string"?v=vn(K,P):v=K;let H=gt(v);(S.startDate===null||S.startDate.getTime()!==v.getTime())&&(S.startDate=v,S.startArray=H)}};f(i.modelValue,i.type,i.valueFormat),t.watch(()=>i.modelValue,K=>{f(K,i.type,i.valueFormat)});const b=t.computed(()=>{if(S.startDate===null)return"";if(y.value){let K=ht(i,S.startDate,i.format),U=ht(i,S.endDate,i.format);return`${K} ${i.rangeSeparator} ${U}`}else{let K=ht(i,S.startDate,i.format);return i.showWeek&&(K=`${K} ${S.startArray[4]}`),K}}),w=t.computed(()=>{if(S.startDate===null)return null;if(y.value){let K=le.date2Str(S.startDate),U=le.date2Str(S.endDate??new Date);return[K,U]}else return le.date2Str(S.startDate)}),V="fox-input-item",E=t.computed(()=>({[V]:!0,[`${V}__disabled`]:u.value})),I=Ae(t.computed(()=>i.textAlign),"textAlign"),D=t.computed(()=>{const K={};return I.value&&(K["text-align"]=I.value),K}),z=t.ref(!1),N=()=>{m.value||u.value||(z.value=!0)},B=K=>{z.value=K},R=K=>{if(K){if(y.value&&Array.isArray(K)){let U=K[0],P=pe(U[0]),v=pe(U[1]),H=pe(U[2]),J=new Date(P,v-1,H),X=K[1];P=pe(X[0]),v=pe(X[1]),H=pe(X[2]);let W=new Date(P,v-1,H);if(S.startDate=J,S.startArray=gt(J),S.endDate=W,S.endArray=gt(W),i.valueFormat){let Q=ht(i,J,i.valueFormat),_=ht(i,W,i.valueFormat);h("update:modelValue",[Q,_],{})}else h("update:modelValue",[J,W],{})}else{let U=K,P=pe(U[0]),v=pe(U[1]),H=pe(U[2]),J=new Date(P,v-1,H);if(S.startDate=J,S.startArray=gt(J),i.valueFormat){let X=ht(i,J,i.valueFormat);h("update:modelValue",X,{})}else h("update:modelValue",J,{})}h("change",K,{})}},L=K=>{let P=K.target.value;g.value=!0,h("focus",P,K)},$=K=>{setTimeout(()=>{g.value=!1},0);let P=K.target.value;i.maxLength&&P.length>Number(i.maxLength)&&(P=P.slice(0,Number(i.maxLength))),h("blur",P,K)},T=t.computed(()=>({[`${V}__append`]:!0})),q=t.computed(()=>ge(i.unit)>0),A=t.computed(()=>ge(i.unit)>0&&!g.value),O=t.computed(()=>({hidden:!A.value})),x=K=>{d(),h("update:modelValue",null,K),h("change","",K),h("clear","")},M=t.computed(()=>i.clearable&&!u.value&&!m.value),F=t.computed(()=>{let K=ge(b.value)>0;return i.clearable&&K&&g.value}),G=K=>{F.value?x(K):N()},Y=t.computed(()=>F.value&&M.value?a:r),ee=t.computed(()=>({action:!0}));return()=>{const K={class:E.value,style:D.value,type:"text",maxlength:i.maxLength,placeholder:k.placeholder.value,readonly:!0,unselectable:"on",value:b.value,onClick:N,onFocus:L,onBlur:$};s&&(K.disabled=!0);const U=[],P=t.h("input",K);U.push(P);const v=[],H={class:["action-icon"]},J=t.h(Y.value,H),X={class:ee.value,onClick:G},W=t.h("view",X,{default:()=>[J]});if(v.push(W),q.value){const st=t.h("view",{class:O.value},[i.unit]);v.push(st)}const Q={class:T.value},_=t.h("view",Q,{default:()=>v});U.push(_);const oe={default:()=>U};oe.label=c.slots.default,oe.prepend=c.slots.prepend,oe.append=c.slots.append,oe.fixedPreTip=c.slots.fixedPreTip,oe.fixedTip=c.slots.fixedTip;const ne=ke(i,Kn);ne.visible=z.value,ne["onUpdate:visible"]=B,ne["default-value"]=w.value,ne.onChoose=R;const ae={};if(c.slots.btn){const st=c.slots.btn();ae.btn=()=>st}c.slots.day&&(ae.day=c.slots.day),c.slots.topInfo&&(ae.topInfo=c.slots.topInfo),c.slots.bottomInfo&&(ae.bottomInfo=c.slots.bottomInfo);const ye=t.h(l,ne,ae);oe.hide=()=>[ye];const Se=ke(i,me,ue);return t.h(n,Se,oe)}}}}const{componentName:Hu,create:ju,scope:Wu}=j("calendar-item"),Un=ju(Uu(Hu,Wu,$o,Ne,{CloseIcon:te.CircleClose,MarkIcon:te.Date},!1)),Yu={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 Xu(e,{CheckNormal:o,Checked:l}){return{props:{...Yu},setup(n,{emit:a,slots:r}){let s=t.inject("parent",null);const i=t.computed(()=>s.label.value===n.label),c=t.computed(()=>n.disabled?"fox-radio__icon--disable":i.value?"fox-radio__icon":"fox-radio__icon--unchecked"),u=t.computed(()=>s.position),m=()=>{if(i.value){if(r.checkedIcon)return r.checkedIcon();{const y=ie(n.iconSize),S=n.checkedIcon??l;return t.h(S,{width:y,height:y,class:c.value})}}else{if(r.icon)return r.icon();{const y=ie(n.iconSize),S=n.icon??o;return t.h(S,{width:y,height:y,class:c.value})}}},h=()=>t.h("view",{class:`${e}__label ${n.disabled?`${e}__label--disabled`:""}`},r.default?.()),p=()=>t.h("view",{class:`${e}__button ${i.value&&`${e}__button--active`} ${n.disabled?`${e}__button--disabled`:""}`},r.default?.()),k=()=>{i.value||n.disabled||n.readonly||s.updateValue(n.label)},g=u.value==="left";return()=>t.h("view",{class:`${e} ${e}--${n.shape} ${g?`${e}--reverse`:""}`,onClick:k},[n.shape=="button"?p():g?[h(),m()]:[m(),h()]])}}}const{componentName:Qu,create:Gu}=j("radio"),Eo=Gu(Xu(Qu,{CheckNormal:te.CheckNormal,Checked:te.CheckChecked})),{componentName:Gr,create:Zu}=j("radio-group"),Do=Zu({props:{modelValue:{type:[Object],default:""},direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String}},emits:["change","update:modelValue"],setup(e,{emit:o,slots:l}){const n=a=>o("update:modelValue",a);return t.provide("parent",{label:t.readonly(t.computed(()=>e.modelValue)),position:e.textPosition,updateValue:n}),t.watch(()=>e.modelValue,a=>o("change",a)),()=>{const a={};return e.textAlign&&(a["text-align"]=e.textAlign),t.h("view",{class:`${Gr} ${Gr}--${e.direction}`,style:a},l.default?.())}}});function Zr(e,o,l,n="value"){for(let a=0;a<o.length;a++){let r=o[a];if(n==="text"){if(Io(e,r)===l)return a}else if(n==="item"){if(Me(l,r))return a}else if(Mt(e,r)===l)return a}return-1}function Io(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function Mt(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function Ju(e,o){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?o[e.disabledKey]:o.disabled??null}function _u(e,o,l){return typeof e.itemOptions=="function"?e.itemOptions(o,l):e.itemOptions}let ef=class{proxy;constructor(o){this.proxy=o}async load(o,l,n){if(Array.isArray(l))return l;if(typeof l=="function")return await l(n);let a=ut(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):(De(n)&&t.isReactive(n)&&(n=t.toRaw(n)),await a(l,n))}};function tf(){const e=t.getCurrentInstance();return new ef(e.proxy)}function of(e){return{text:e,value:e}}const Jr={shape:{type:String,default:"round"},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number],default:""}},nf={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String}};function lf(e,o,l,n,a){return{props:{...ue,...me,...Jr,...nf,source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},modelValue:{type:[Number,String,Boolean,Object],default:""}},emits:["change","update:modelValue"],setup(r,s){const i=Ee(t.computed(()=>r.readonly)),c=Ve(t.computed(()=>r.disabled)),u=Ae(t.computed(()=>r.textAlign),"textAlign"),{emitEvent:m}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus"],get validate(){return!c.value||!i.value}},r.prop??s.attrs.name),h=tf(),p=t.ref([]);t.watch([()=>r.source,()=>r.params],async([d,f])=>{if(d){const b=await h.load("radio",d,f);if(b.length>0)if(typeof b[0]=="string"){const E=b.map(I=>of(I));p.value=E}else p.value=b}},{immediate:!0});let k=t.ref(-1);t.watch([()=>r.modelValue,()=>p.value],async([d,f])=>{k.value=Zr(r,f,d,r.valueType)},{deep:!0});const g=t.computed(()=>{if(!r.source)return r.modelValue;if(k.value===-1)return null;const d=p.value[k.value];return Mt(r,d)}),y=d=>{let f=null,b=null;if(p.value.length>0){let w=Zr(r,p.value,d,"value");k.value=w,w>=0&&(b=p.value[w],r.valueType==="text"?f=Io(r,b):r.valueType==="item"?f=b:f=Mt(r,b))}else f=d;m("update:modelValue",f),m("change",f,b)},S=()=>{let d=null,f=null;if(p.value.length>0&&k.value!==-1){let b=p.value[k.value];r.valueType==="text"?d=Io(r,b):r.valueType==="item"?d=b:d=Mt(r,b)}m("update:modelValue",d),m("change",d,f)};if(Te({clear(){k.value!==-1&&(k.value=-1,S())}}),r.source){const d=()=>{const f=[],b=ke(r,Jr);return p.value.forEach((w,V)=>{const E=Mt(r,w),I=Ju(r,w);let D={...b,label:E,disabled:I};const z=_u(r,w,V);D={...D,...z},c.value&&(D.disabled=!0),i.value&&(D.readonly=!0);const N={};if(s.slots.icon&&(N.icon=s.slots.icon),s.slots.checkedIcon&&(N.checkedIcon=s.slots.checkedIcon),typeof s.slots.text=="function"){const R=s.slots.text(w);N.default=()=>[R]}else{const R=Io(r,w);N.default=()=>R}let B=t.h(a,D,N);f.push(B)}),f};return()=>{const f=d(),b={class:`${e}`,direction:r.direction,textPosition:r.textPosition,textAlign:u.value,modelValue:g,"onUpdate:modelValue":y},w=t.h(n,b,{default:()=>f}),V={default:()=>w};V.label=s.slots.default,V.prepend=s.slots.prepend,V.append=s.slots.append,V.fixedPreTip=s.slots.fixedPreTip,V.fixedTip=s.slots.fixedTip;const E=ke(r,me,ue);return t.h(l,E,V)}}else return()=>{const d=s.slots.options?.()??[];return t.h(n,{class:`${e}`,direction:r.direction,textPosition:r.textPosition,textAlign:u.value,modelValue:g,"update:modelValue":y},{default:()=>d})}}}}const{componentName:af,create:rf,scope:sf}=j("radio-item"),Hn=rf(lf(af,sf,Ne,Do,Eo)),cf=(e,{CheckNormal:o,Checked:l,Indeterminate:n})=>({props:{modelValue:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},textPosition:{type:String,default:"right"},icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},label:{type:[String,Number,Boolean],default:""},indeterminate:{type:Boolean,default:!1},shape:{type:String,default:"round"}},emits:["change","update:modelValue"],setup(a,{emit:r,slots:s}){const i=t.inject("parent",null),c=t.reactive({partialSelect:a.indeterminate});t.watch(()=>a.indeterminate,b=>{c.partialSelect=b});const u=t.computed(()=>!!i),m=t.computed(()=>u.value?i.value.value.includes(a.label):!!a.modelValue),h=t.computed(()=>u.value?i.position:a.textPosition),p=t.computed(()=>a.disabled?"fox-checkbox__icon--disable":c.partialSelect?"fox-checkbox__icon--indeterminate":m.value?"fox-checkbox__icon":"fox-checkbox__icon--unchecked");let k="";const g=(b,w)=>{k="click",r("update:modelValue",b),r("change",b,w)};t.watch(()=>a.modelValue,b=>{k=="click"?k="":r("change",b)});const y=()=>{if(c.partialSelect){if(s.indeterminateIcon)return s.indeterminateIcon();{const b=ie(a.iconSize),w=a.indeterminateIcon??n;return t.h(w,{width:b,height:b,class:p.value})}}else if(m.value){if(s.checkedIcon)return s.checkedIcon();{const b=ie(a.iconSize),w=a.checkedIcon??l;return t.h(w,{width:b,height:b,class:p.value})}}else{if(s.icon)return s.icon();{const b=ie(a.iconSize),w=a.icon??o;return t.h(w,{width:b,height:b,class:p.value})}}},S=()=>t.h("view",{class:`${e}__label ${a.disabled?`${e}__label--disabled`:""}`},s.default?.()),d=()=>t.h("view",{class:`${e}__button ${m.value&&`${e}__button--active`} ${a.disabled?`${e}__button--disabled`:""}`},s.default?.()),f=b=>{if(!(a.disabled||a.readonly)){if(m.value&&c.partialSelect){c.partialSelect=!1,g(m.value,s.default?.()[0].children);return}if(g(!m.value,s.default?.()[0].children),u.value){const w=i.value.value,V=i.max.value,{label:E}=a,I=w.indexOf(E);I>-1?w.splice(I,1):I<=-1&&(w.length<V||!V)&&w.push(E),i.updateValue(w)}}};return t.onMounted(()=>{u.value&&i.link(t.getCurrentInstance())}),t.onBeforeUnmount(()=>{u.value&&i.unlink(t.getCurrentInstance())}),()=>t.h("view",{class:`${e} ${e}--${a.shape} ${h.value==="left"?`${e}--reverse`:""}`,onClick:f},[a.shape=="button"?d():[y(),S()]])}}),{componentName:df,create:uf}=j("checkbox"),qo=uf(cf(df,{CheckNormal:te.CheckNormal,Checked:te.Checked,Indeterminate:te.CheckDisabled})),{create:ff,componentName:_r}=j("checkbox-group"),zo=ff({props:{modelValue:{type:Array,default:()=>[]},direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String},max:{type:Number,default:0}},emits:["change","update:modelValue"],setup(e,{slots:o,emit:l}){const n=t.reactive({children:[]}),a=u=>{u.proxy&&n.children.push(u.proxy)},r=u=>{u.proxy&&(n.children=n.children.filter(m=>m!==u.proxy))},s=u=>{l("update:modelValue",u),l("change",u)},i=u=>{const m=[];u&&n.children.forEach(h=>{h?.disabled||m.push(h?.label)}),l("update:modelValue",m)},c=()=>{const u=n.children.filter(m=>m?.disabled?!1:!e.modelValue.includes(m.label)).map(m=>m.label);l("update:modelValue",u)};return t.provide("parent",{value:t.computed(()=>Array.isArray(e.modelValue)?e.modelValue:[]),position:e.textPosition,max:t.computed(()=>e.max),updateValue:s,link:a,unlink:r}),t.watch(()=>e.modelValue,u=>{l("change",u)}),Te({toggleAll:i,toggleReverse:c}),()=>{const u={};return e.textAlign&&(u["text-align"]=e.textAlign),t.h("view",{class:`${_r} ${_r}--${e.direction}`,style:u},o.default?.())}}});function es(e,o,l,n="value"){for(let a=0;a<o.length;a++){let r=o[a];if(n==="text"){if(jn(e,r)===l)return a}else if(n==="item"){if(Me(l,r))return a}else if(Mo(e,r)===l)return a}return-1}function jn(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function Mo(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function mf(e,o){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?o[e.disabledKey]:o.disabled??null}function pf(e,o,l){return typeof e.itemOptions=="function"?e.itemOptions(o,l):e.itemOptions}let hf=class{proxy;constructor(o){this.proxy=o}async load(o,l,n){if(Array.isArray(l))return l;if(typeof l=="function")return await l(n);let a=ut(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):(De(n)&&t.isReactive(n)&&(n=t.toRaw(n)),await a(l,n))}};function gf(){const e=t.getCurrentInstance();return new hf(e.proxy)}function yf(e){return{text:e,value:e}}const kf={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String},max:{type:Number,default:0}},ts={icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},shape:{type:String,default:"round"}};function bf(e,o,l,n,a){return{props:{...kf,...ts,...ue,...me,source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},modelValue:{type:[Array,String],default:[]}},emits:["change","update:modelValue"],setup(r,s){const i=Ve(t.computed(()=>r.disabled)),c=Ve(t.computed(()=>r.readonly)),u=Ae(t.computed(()=>r.textAlign),"textAlign"),{emitEvent:m}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus"],get validate(){return!i.value||!c.value}},r.prop??s.attrs.name),h=gf(),p=t.ref([]);t.watch([()=>r.source,()=>r.params],async([d,f])=>{if(d){const b=await h.load("checkbox",d,f);if(b.length>0)if(typeof b[0]=="string"){const E=b.map(I=>yf(I));p.value=E}else p.value=b}},{immediate:!0});const k=t.ref([]);t.watch([()=>r.modelValue,()=>p.value],async([d,f])=>{const b=[];Array.isArray(d)&&d.forEach(w=>{let V=es(r,f,w,r.valueType);V!==-1&&b.push(V)}),!Me(b,k.value)&&(k.value=b)},{deep:!0});const g=t.computed(()=>{if(!r.source)return r.modelValue;let d=[];return k.value.forEach(f=>{let b=p.value[f];d.push(Mo(r,b))}),d}),y=d=>{let f=[],b=[];if(p.value.length>0){const w=[];Array.isArray(d)&&d.forEach(V=>{let E=es(r,p.value,V,"value");E!==-1&&w.push(E);const I=p.value[E];b.push(I),r.valueType==="text"?f.push(jn(r,I)):r.valueType==="item"?f.push(I):f.push(Mo(r,I))}),k.value=w}else f=d;m("update:modelValue",f),m("change",f,b)},S=t.ref();if(Te({toggleAll:d=>{S.value.toggleAll(d)},toggleReverse:()=>{S.value.toggleReverse()}}),r.source){const d=()=>{const f=[],b=ke(r,ts);return p.value.forEach((w,V)=>{const E=Mo(r,w),I=mf(r,w);let D={...b,label:E,disabled:I};const z=pf(r,w,V);D={...D,...z},i.value&&(D.disabled=!0),c.value&&(D.readonly=!0);const N={};if(s.slots.icon&&(N.icon=s.slots.icon),s.slots.checkedIcon&&(N.checkedIcon=s.slots.checkedIcon),s.slots.indeterminateIcon&&(N.indeterminateIcon=s.slots.indeterminateIcon),typeof s.slots.text=="function"){const R=s.slots.text(w);N.default=()=>[R]}else{const R=jn(r,w);N.default=()=>R}let B=t.h(a,D,N);f.push(B)}),f};return()=>{const f=d(),b={class:`${e}`,ref:S,direction:r.direction,max:r.max,textPosition:r.textPosition,modelValue:g.value,"onUpdate:modelValue":y},w=t.h(n,b,{default:()=>f}),V={default:()=>w};V.label=s.slots.default,V.prepend=s.slots.prepend,V.append=s.slots.append,V.fixedPreTip=s.slots.fixedPreTip,V.fixedTip=s.slots.fixedTip;const E=ke(r,me,ue);return t.h(l,E,V)}}else return()=>{const d=s.slots.options?.()??[];return t.h("view",{class:`${e}`,ref:S,direction:r.direction,max:r.max,textPosition:r.textPosition,textAlign:u.value,modelValue:g,"onUpdate:modelValue":y},{default:()=>d})}}}}const{componentName:Sf,create:Cf,scope:wf}=j("checkbox-item"),Wn=Cf(bf(Sf,wf,Ne,zo,qo)),Yn={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:Nf,create:Bf}=j("switch"),Af=Bf({components:{Loading1:te.Loading1},props:{...Yn},emits:["change","update:modelValue","update:loading"],setup(e,{emit:o}){const l=t.computed(()=>e.modelValue===e.activeValue),n=t.computed(()=>{const i=Nf;return{[i]:!0,[l.value?"fox-switch-open":"fox-switch-close"]:!0,[`${i}-disable`]:e.disable,[`${i}-base`]:!0}}),a=t.computed(()=>({backgroundColor:l.value?e.activeColor:e.inactiveColor}));let r="";const s=i=>{if(e.disable||e.loading)return;r="click";const c=l.value?e.inactiveValue:e.activeValue;o("update:modelValue",c),o("change",c,i)};return t.watch(()=>e.modelValue,i=>{r=="click"?r="":o("change",i)}),{classes:n,style:a,isActive:l,onClick:s}}}),Vf={class:"fox-switch-button"};function Tf(e,o,l,n,a,r){const s=t.resolveComponent("Loading1");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=(...i)=>e.onClick&&e.onClick(...i)),style:t.normalizeStyle(e.style)},[t.createElementVNode("view",Vf,[e.loading?t.renderSlot(e.$slots,"icon",{key:0},()=>[t.createVNode(s,{name:"loading",color:e.activeColor},null,8,["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.isActive]]),t.withDirectives(t.createElementVNode("view",{class:"fox-switch-label close"},t.toDisplayString(e.inactiveText),513),[[t.vShow,!e.isActive]])],64)):t.createCommentVNode("",!0)])],6)}const Po=Z(Af,[["render",Tf]]);function $f(e,o,l,n){return{props:{...ue,...me,...Yn},emits:["change","update:modelValue"],setup(a,r){const s=Ve(t.computed(()=>a.disabled)),i=Ee(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus"],get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),u=e,m=qe(a,"modelValue"),h=p=>{m.value=p,c("update:modelValue",p,{}),c("change",p,{})};return()=>{const k={...ke(a,Yn),disabled:s.value,readonly:i.value,value:m.value,"onUpdate:modelValue":h},g=[],y=t.h(n,k);g.push(y);const S={default:()=>g};S.label=r.slots.default,S.fixedPreTip=r.slots.fixedPreTip,S.fixedTip=r.slots.fixedTip;const d=ke(a,me,ue);return d["content-class"]=u,t.h(l,d,S)}}}}const{componentName:Ef,create:Df,scope:If}=j("switch-item"),Xn=Df($f(Ef,If,Ne,Po));function qf(e,o,l,n){return{props:{...ue,...me,placeholder:{type:String,default:""},textAlign:{type:String},modelValue:{type:[String],required:!1},desc:{type:[String],required:!1},icon:{type:[Object],required:!1},iconSize:{type:[String],required:!1,default:""}},emits:["click","focus","blur"],setup(a,r){const{emitEvent:s}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},a.prop??r.attrs.name),{toLocaleRefs:i}=se.useFoxI18n(o),c=i(a,["placeholder"]),u=Ve(t.computed(()=>a.disabled)),m=Ee(t.computed(()=>a.readonly)),h=qe(a,"modelValue"),p=t.computed(()=>({[`${e}`]:!0})),k=t.computed(()=>({[`${e}__main`]:!0,[`${e}__disabled`]:u.value,[`${e}__placeholder`]:!u.value&&ce(h.value)})),g=Ae(t.computed(()=>a.textAlign),"textAlign"),y=t.computed(()=>{const R={};return g.value&&(R["text-align"]=g.value),R}),S=t.computed(()=>!ce(a.modelValue)||r.slots.main?!0:!!ce(a.desc)),d=t.computed(()=>ce(h.value)?c.placeholder.value:h.value),f=t.computed(()=>!ce(a.desc)||r.slots.sub),b=t.computed(()=>({[`${e}__sub`]:!0})),w=t.computed(()=>{const R={};return g.value&&(R["text-align"]=g.value),R}),V=()=>{s("focus",h.value)},E=()=>{s("blur",h.value)},I=t.computed(()=>({[`${e}__append`]:!0})),D=t.computed(()=>ge(a.unit)>0),z=R=>{u.value==!0||m.value==!0||s("click")},N=t.computed(()=>a.icon??l),B=t.computed(()=>({action:!0}));return()=>{const R=[];if(typeof r.slots.content=="function"){const Y=r.slots.content();R.push(Y)}else{const Y=[];if(S.value){const U={tabIndex:0,class:k.value,style:y.value,onFocus:V,onBlur:E,onClick:z};let P=null;r.slots.main?P=t.h("view",U,[r.slots.main(d.value)]):P=t.h("view",U,[d.value]),Y.push(P)}if(f.value){const U={tabIndex:0,class:b.value,style:w.value,onFocus:V,onBlur:E,onClick:z};let P=null;r.slots.sub?P=t.h("view",U,[r.slots.sub(a.desc)]):P=t.h("view",U,[a.desc]),Y.push(P)}const ee={class:p.value},K=t.h("view",ee,Y);R.push(K)}const L=[],$=ie(a.iconSize);let T=r.slots.icon;if(!T){const Y={width:$,height:$,class:["action-icon"]};T=t.h(N.value,Y)}const q={class:B.value,onClick:z},A=t.h("view",q,{default:()=>[T]});if(L.push(A),D.value){const Y=t.h("view",{},[a.unit]);L.push(Y)}const O={class:I.value},x=t.h("view",O,{default:()=>L});R.push(x);const M={default:()=>R};M.label=r.slots.default,M.prepend=r.slots.prepend,M.append=r.slots.append,M.fixedPreTip=r.slots.fixedPreTip,M.fixedTip=r.slots.fixedTip;const F=ke(a,me,ue);return t.h(n,F,M)}}}}const{componentName:zf,create:Mf,scope:Pf}=j("link-item"),Qn=Mf(qf(zf,Pf,te.ArrowRight,Ne)),Gn={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:Rf,componentName:xf}=j("rate"),Lf=Rf({props:{...Gn},emits:["update:modelValue","change"],setup(e,{emit:o,slots:l}){const n=t.ref([]),a=t.computed(()=>({[xf]:!0})),r=k=>{o("update:modelValue",k),o("change",k)},s=(k,g)=>{if(e.disabled||e.readonly)return;let y=0;g===1&&e.modelValue===g||(y=g,e.allowHalf&&k==2&&(y-=.5)),r(y)},i=(k,g,y)=>{let S=0;for(let d=g.value.length-1;d>=0;d--){const f=g.value[d];if(k>f.offsetLeft){y?S=d+(k>f.offsetLeft+f.clientWidth/2?1:.5):S=d+1;break}}return S},c=Ue(),u={onTouchStart(k){!e.touchable||e.readonly||c.start(k)},onTouchMove(k){e.touchable&&(c.move(k),c.isHorizontal()&&n.value&&(k.preventDefault(),r(i(c.moveX.value,n,e.allowHalf))))}},m=Math.random().toString(36).slice(-8),h=t.computed(()=>e.customIcon??te.StarFillN);return{classes:a,...u,onClick:s,toPxDesc:fe,renderIcon:(k,g)=>t.h(k,g),rateRefs:n,refRandomId:m,slots:l,customIcon:h}}}),Of=["id"],Ff={class:"fox-rate-item__icon--full"},Kf={key:0,class:"fox-rate-item__icon--half"},vf={key:1,class:"fox-rate-item__icon--half"};function Uf(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onTouchstart:o[0]||(o[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:o[1]||(o[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(s<Number(e.count)?{marginRight:e.toPxDesc(e.spacing)}:{})},[t.createElementVNode("view",Ff,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:s<=e.modelValue?e.activeColor:e.voidColor})),{class:t.normalizeClass(["fox-rate-item__icon",{"fox-rate-item__icon--disabled":e.disabled||s>e.modelValue}]),onClick:i=>e.onClick(1,s)},null,8,["class","onClick"]))]),e.allowHalf&&Number(e.modelValue)+1>s?(t.openBlock(),t.createElementBlock("view",Kf,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:s<=Number(e.modelValue)+1?e.activeColor:e.voidColor})),{class:"fox-rate-item__icon",onClick:i=>e.onClick(2,s)},null,8,["onClick"]))])):e.allowHalf&&Number(e.modelValue)+1<s?(t.openBlock(),t.createElementBlock("view",vf,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:e.voidColor})),{class:"fox-rate-item__icon fox-rate-item__icon--disabled",onClick:i=>e.onClick(2,s)},null,8,["onClick"]))])):t.createCommentVNode("",!0)],12,Of))),128))],34)}const yt=Z(Lf,[["render",Uf]]);function Hf(e,o,l,n){return{props:{...ue,...me,...Gn},emits:["change","update:modelValue"],setup(a,r){const s=Ve(t.computed(()=>a.disabled)),i=Ee(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus"],get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),u=e,m=qe(a,"modelValue"),h=p=>{m.value=p,c("update:modelValue",p,{}),c("change",p,{})};return()=>{const k={...ke(a,Gn),disabled:s.value,readonly:i.value,value:m.value,"onUpdate:modelValue":h},g=[],y=t.h(n,k);g.push(y);const S={default:()=>g};if(r.slots.default){const b=r.slots.default();S.label=()=>b}const d=ke(a,me,ue);return d["content-class"]=u,t.h(l,d,S)}}}}const{componentName:jf,create:Wf,scope:Yf}=j("rate-item"),Zn=Wf(Hf(jf,Yf,Ne,yt)),Jn={poppable:{type:[Boolean],default:!1},modelValue:{type:[Array,Number,Boolean,String],default:[]},visible:{type:[Boolean]},disabled:{type:[Boolean,String],required:!1},source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:String,required:!1,default:"text"},subTextKey:{type:String,required:!1,default:"subText"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number]},pageSize:{type:[Number],required:!1,default:10},optionsHeight:{type:[String],required:!1},multiple:{type:[Boolean]},position:{type:[String],default:"bottom"},closeOnClickOverlay:{type:[Boolean],default:!0},title:{type:[String],default:"请选择"},confirmText:{type:[String],default:"确认"},loadText:{type:[String]},loadMoreText:{type:[String],default:"无更多数据"},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,default:"请输入关键字"},popClass:{type:String,required:!1},popCloseable:{type:Boolean,required:!1,default:!0}};function Xf(e,o,l,n="value"){for(let a=0;a<o.length;a++){let r=o[a];if(n==="text"){if(Ro(e,r)===l)return a}else if(n==="item"){if(Me(l,r))return a}else if(ns(e,r)===l)return a}return-1}function Ro(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function os(e,o){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?o[e.subTextKey]:o.text}function ns(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function Qf(e,o){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?o[e.disabledKey]:o.disabled??null}function Gf(e,o,l){return typeof e.itemOptions=="function"?e.itemOptions(o,l):e.itemOptions}class Zf{proxy;constructor(o){this.proxy=o}async load(o,l,n,a,r,s,i){if(Array.isArray(l)){let u=l;typeof i=="function"&&(u=u.filter(i));let m=(n-1)*a,h=m+a;h>u.length&&(h=u.length);const p=u.slice(m,h);return{totalSize:u.length,page:p}}if(typeof l=="function")return await Reflect.apply(l,null,[n,a,r,s]);const c=ut(this.proxy,o);return c===null?(console.error(`${o} component not found api function`),{totalSize:0,page:[]}):(De(r)&&t.isReactive(r)&&(r=t.toRaw(r)),await Reflect.apply(c,null,[l,n,a,r]))}}function Jf(){const e=t.getCurrentInstance();return new Zf(e.proxy)}const{componentName:_f,create:em,scope:tm}=j("infinite-loading"),om=em({props:{modelValue:{type:Boolean,default:!1},hasMore:{type:Boolean,default:!0},threshold:{type:Number,default:200},loadText:{type:String},loadMoreText:{type:String},useCapture:{type:Boolean,default:!1}},emits:["scroll-change","load-more","update:modelValue"],components:{Loading:te.Loading},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=se.useFoxI18n(tm),a=n(e,["pullText","loadText","loadMoreText"]),r=t.ref(),s=Mr(r),i=t.reactive({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),c=t.computed(()=>({[_f]:!0})),u=y=>y?y.offsetTop+u(y.offsetParent):0,m=()=>{let y=0,S=0,d="down";if(s.value==window){const f=rn();r.value&&(y=u(r.value)+r.value.offsetHeight-f-window.innerHeight),S=f}else{const{scrollHeight:f,clientHeight:b,scrollTop:w}=s.value;y=f-b-w,S=w}return i.beforeScrollTop>S?d="up":d="down",i.beforeScrollTop=S,o("scroll-change",S),y<=e.threshold&&d=="down"},h=()=>{We(()=>{if(!m()||!e.hasMore||i.isInfiniting)return!1;i.isInfiniting=!0,o("update:modelValue",!0),t.nextTick(()=>o("load-more"))})},p=()=>{s.value&&s.value.addEventListener("scroll",h,e.useCapture)},k=()=>{s.value&&s.value.removeEventListener("scroll",h,e.useCapture)};t.onMounted(()=>{p()}),t.onUnmounted(()=>{k()});const g=t.ref(!1);return t.onActivated(()=>{g.value&&(g.value=!1,p())}),t.onDeactivated(()=>{g.value=!0,k()}),t.watch(()=>e.modelValue,y=>{y||(i.isInfiniting=!1)}),{classes:c,scroller:r,...t.toRefs(i),slots:l,...a}}}),nm={class:"fox-infinite__container"},lm={class:"fox-infinite__bottom"},am={key:0,class:"fox-infinite__bottom-box"},rm={class:"fox-infinite__bottom-box__text"},sm={class:"fox-infinite__bottom-tips"};function im(e,o,l,n,a,r){const s=t.resolveComponent("Loading");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"scroller"},[t.createElementVNode("view",nm,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",lm,[e.isInfiniting?(t.openBlock(),t.createElementBlock("view",am,[t.renderSlot(e.$slots,"loading",{},()=>[t.renderSlot(e.$slots,"loading-icon",{},()=>[t.createVNode(s,{class:"fox-icon-loading fox-infinite__bottom-box__img"})]),t.createElementVNode("view",rm,t.toDisplayString(e.loadText),1)])])):e.hasMore?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"finished",{key:1},()=>[t.createElementVNode("view",sm,t.toDisplayString(e.loadMoreText),1)])])],2)}const xo=Z(om,[["render",im]]),{componentName:cm,create:dm}=j("button"),um=dm({components:{Loading:te.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:o,slots:l}){const{type:n,size:a,shape:r,disabled:s,loading:i,color:c,plain:u,block:m}=t.toRefs(e),h=g=>{!i.value&&!s.value&&o("click",g)},p=t.computed(()=>{const g=cm;return{[g]:!0,[`${g}--${n.value}`]:n.value,[`${g}--${a.value}`]:a.value,[`${g}--${r.value}`]:r.value,[`${g}--plain`]:u.value,[`${g}--block`]:m.value,[`${g}--disabled`]:s.value,[`${g}--loading`]:i.value}}),k=t.computed(()=>{const g={};return c?.value&&(u.value?(g.color=c.value,g.background="#fff",c.value?.includes("gradient")||(g.borderColor=c.value)):(g.color="#fff",g.background=c.value)),g});return{handleClick:h,classes:p,getStyle:k}}}),fm={class:"fox-button__wrap"};function mm(e,o,l,n,a,r){const s=t.resolveComponent("Loading");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.getStyle),onClick:o[0]||(o[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.createElementVNode("view",fm,[e.loading?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-icon-loading"})):t.createCommentVNode("",!0),e.$slots.icon&&!e.loading?t.renderSlot(e.$slots,"icon",{key:1}):t.createCommentVNode("",!0),e.$slots.default?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass({"fox-button__text":e.$slots.icon||e.loading})},[t.renderSlot(e.$slots,"default")],2)):t.createCommentVNode("",!0)])],6)}const ze=Z(um,[["render",mm]]),{create:pm,scope:hm}=j("searchbar"),gm=pm({props:{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,default:()=>te.CircleClose},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:o}){const{toLocaleRefs:l}=se.useFoxI18n(hm),n=l(e,["placeholder"]),a=t.reactive({active:!1}),r=t.computed(()=>({background:e.background})),s=t.computed(()=>({background:e.inputBackground})),i=f=>{let w=f.target.value;e.maxLength&&w.length>Number(e.maxLength)&&(w=w.slice(0,Number(e.maxLength))),o("update:modelValue",w,f),o("change",w,f)},c=t.ref({}),u=f=>{let w=f.target.value;a.active=!0,c.value=e.focusStyle,o("focus",w,f)},m=f=>{setTimeout(()=>{a.active=!1},0);let w=f.target.value;e.maxLength&&w.length>Number(e.maxLength)&&(w=w.slice(0,Number(e.maxLength))),c.value={},o("blur",w,f)},h=f=>{o("update:modelValue","",f),o("change","",f),o("clear","")},p=()=>{o("search",e.modelValue)},k=f=>{o("click-input",f)},g=f=>{o("click-left-icon",e.modelValue,f)},y=f=>{o("click-right-icon",e.modelValue,f)},S=t.computed(()=>({textAlign:e.inputAlign})),d=t.ref(null);return t.onMounted(()=>{e.autofocus&&d.value.focus()}),{...n,inputsearch:d,...t.toRefs(a),valueChange:i,valueFocus:u,valueBlur:m,handleClear:h,handleSubmit:p,searchbarStyle:r,inputSearchbarStyle:s,focusCss:c,clickInput:k,leftIconClick:g,rightIconClick:y,styleSearchbar:S}}}),ym={key:0,class:"fox-searchbar__search-label"},km={key:1,class:"fox-searchbar__search-icon fox-searchbar__left-search-icon"},bm=["type","maxlength","placeholder","value","disabled","readonly"],Sm={key:1,class:"fox-searchbar__search-icon fox-searchbar__iptright-search-icon"},Cm={key:2,class:"fox-searchbar__search-icon fox-searchbar__right-search-icon"};function wm(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:"fox-searchbar",style:t.normalizeStyle(e.searchbarStyle)},[e.label?(t.openBlock(),t.createElementBlock("span",ym,t.toDisplayString(e.label),1)):t.createCommentVNode("",!0),e.$slots.leftout?(t.openBlock(),t.createElementBlock("view",km,[t.renderSlot(e.$slots,"leftout")])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-searchbar__search-input",e.shape]),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:o[0]||(o[0]=(...s)=>e.leftIconClick&&e.leftIconClick(...s))},[t.renderSlot(e.$slots,"leftin")])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-searchbar__input-inner",e.$slots.rightin&&"fox-searchbar__input-inner-absolute"])},[t.createElementVNode("form",{class:"fox-searchbar__input-form",action:"#",onSubmit:o[5]||(o[5]=t.withModifiers((...s)=>e.handleSubmit&&e.handleSubmit(...s),["prevent"]))},[t.createElementVNode("input",{ref:"inputsearch",class:t.normalizeClass(["fox-searchbar__input-bar",e.clearable&&"fox-searchbar__input-bar_clear"]),type:e.inputType,maxlength:e.maxLength,placeholder:e.placeholder,value:e.modelValue,disabled:e.disabled,readonly:e.readonly,onClick:o[1]||(o[1]=(...s)=>e.clickInput&&e.clickInput(...s)),onInput:o[2]||(o[2]=(...s)=>e.valueChange&&e.valueChange(...s)),onFocus:o[3]||(o[3]=(...s)=>e.valueFocus&&e.valueFocus(...s)),onBlur:o[4]||(o[4]=(...s)=>e.valueBlur&&e.valueBlur(...s)),style:t.normalizeStyle(e.styleSearchbar)},null,46,bm)],32)],2),t.createElementVNode("view",{class:t.normalizeClass(["fox-searchbar__input-inner-icon",e.$slots.rightin&&"fox-searchbar__input-inner-icon-absolute"])},[e.clearable?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,onClick:o[6]||(o[6]=(...s)=>e.handleClear&&e.handleClear(...s)),class:"fox-searchbar__search-icon fox-searchbar__input-clear"},[e.$slots["clear-icon"]?t.renderSlot(e.$slots,"clear-icon",{key:0}):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.clearIcon),{key:1}))],512)),[[t.vShow,String(e.modelValue).length>0]]):t.createCommentVNode("",!0),e.$slots.rightin?(t.openBlock(),t.createElementBlock("view",Sm,[t.renderSlot(e.$slots,"rightin")])):t.createCommentVNode("",!0)],2)],6),e.$slots.rightout?(t.openBlock(),t.createElementBlock("view",Cm,[t.renderSlot(e.$slots,"rightout")])):t.createCommentVNode("",!0)],4)}const Lo=Z(gm,[["render",wm]]);function Nm(e,o,l){return{props:{...Jn},emits:["change","update:modelValue","update:text","loaded-data"],setup(n,{emit:a,slots:r}){const s=Jf(),i=t.ref([]),c=t.ref(1),u=t.ref(""),m=t.shallowRef(null),h=t.computed(()=>{const M={};return n.params&&Object.assign(M,n.params),ce(u.value)||(M[`${n.searchKey}`]=u.value),m.value&&Object.assign(M,m.value),M});let p=!0;const k=async(M,F,G)=>{try{let Y=null;ce(u.value)||(Y=K=>{const U=Ro(n,K);if(typeof U=="string"&&U.includes(u.value))return!0;const P=os(n,K);return!!(typeof P=="string"&&P.includes(u.value))});const ee=await s.load("actionsheet",M,F,G,h.value,p,Y??void 0);p=!1,ee.page.length===0?R.value=!1:(Reflect.apply([].push,i.value,ee.page),i.value.length>=ee.totalSize?R.value=!1:c.value=i.value.length/n.pageSize),B.value=!1}catch(Y){console.error("[FoxUI] Load ActionSheet Data Fail",Y),i.value=[]}setTimeout(()=>{a("loaded-data")},250)};t.watch([()=>n.source,()=>n.pageSize,()=>n.params],async([M,F,G])=>{n.source&&k(n.source,c.value,F)},{immediate:!0});const g=t.computed(()=>!n.multiple&&n.isAutoBackFill),y=t.ref([]);let S=null;const d=t.ref(n.visible);t.watch(()=>n.visible,M=>{d.value!==M&&(d.value=M),M?S=[...y.value]:S=null});const f=(M,F)=>{const G=[];return Array.isArray(M)||(M=[M]),M.forEach(Y=>{let ee=Xf(n,F,Y,n.valueType);ee!==-1&&G.push(ee)}),Me(G,y.value)?!1:(y.value=G,!0)};t.watch([()=>n.modelValue,()=>i.value],([M,F],[G,Y])=>{f(M,F)&&b()},{deep:!0});const b=()=>{const M=[],F=[],G=[];for(let Y of y.value){const ee=i.value[Y];F.push(ee);const K=Ro(n,ee);if(G.push(K),n.valueType==="item")M.push(ee);else if(n.valueType==="text")M.push(K);else{const U=ns(n,ee);M.push(U)}}n.multiple?(a("update:modelValue",M),a("update:text",G),a("change",M,F)):(a("update:modelValue",M[0]??null),a("update:text",G[0]??null),a("change",M[0],F[0]??null))},w=()=>{S&&(y.value=S)},V=M=>{const F=y.value.indexOf(M);n.multiple?F===-1?y.value.push(M):y.value.splice(F,1):F===-1?y.value=[M]:y.value=[],(g.value||!n.poppable&&!n.showFooter)&&(b(),I(!1))},E=t.computed(()=>({})),I=M=>{d.value=M,a("update:visible",M)},D=()=>{w(),I(!1)},z=()=>{I(!1),b()},N=()=>{i.value=[],c.value=1,n.source&&k(n.source,c.value,n.pageSize)},B=t.ref(!1),R=t.ref(!0),L=async()=>{if(!n.source){B.value=!1;return}await k(n.source,c.value,n.pageSize)};t.watch(()=>u.value,(M,F)=>{ce(M)&&!ce(F)&&L()});const $=()=>{let M=n.title??"";r.title&&(M=r.title());const F=t.h("view",{class:["fox-actionsheet__header-title"]},[M]),G=t.h(te.Close,{class:["fox-actionsheet__header-icon"],onClick:D});return t.h("view",{class:["fox-actionsheet__header"]},[F,G])},T=()=>{let M=null;if(r.search)M=r.search();else{const F={onSearch:N,placeholder:n.seachPlaceholder,disabled:n.disabled,modelValue:u.value,"onUpdate:modelValue":G=>{u.value=G}};M=t.h(Lo,F,{leftin:()=>t.h(te.Search2)})}return t.h("view",{class:["fox-actionsheet__searchbar"]},[M])},q=(M,F,G)=>{if(r.optionLabel)return r.optionLabel({text:M,subText:F,item:G});const Y=[],ee=t.h("view",{class:"fox-actionsheet__list-item-text"},[M]);if(Y.push(ee),F){const K=t.h("view",{class:"fox-actionsheet__list-item-subtext"},[F]);Y.push(K)}return t.h("view",{class:["fox-actionsheet__list-item-label"]},Y)},A=(M,F,G)=>{if(r.optionIcon)return r.optionIcon({checked:M,iconSize:F,item:G});if(M){if(r.checkedIcon)return r.checkedIcon();{const Y=n.checkedIcon??te.Checked;return t.h(Y,{width:F,height:F,class:["fox-actionsheet__list-item-icon"]})}}else{if(r.icon)return r.icon();{const Y=n.icon??te.CheckNormal;return t.h(Y,{width:F,height:F,class:["fox-actionsheet__list-item-icon"]})}}},O=()=>{const M=[];for(let F=0;F<i.value.length;F++){const G=i.value[F],Y=Ro(n,G),ee=os(n,G),K=["fox-actionsheet__list-item"],U={};let P=Qf(n,G),v=n.iconSize?ie(n.iconSize):null;const H=Gf(n,G,F);H&&(P=P||H.disabled,H.class&&K.push(H.class),H.style&&Object.assign(U,H.style)),P=!!(n.disabled||P);const J=y.value.includes(F);P&&K.push("is-disabled"),J&&K.push("is-checked");const X={class:K,style:U,key:`${F}`,onClick:()=>{P||V(F)}};let W=[];if(r.option)W.push(r.option({item:G}));else{const _=q(Y,ee,G);W.push(_);const oe=A(J,v,G);W.push(oe)}const Q=t.h("view",X,W);M.push(Q)}return M},x=()=>{let M=[];if(r.buttons)M=r.buttons();else{const G=t.h(ze,{type:"primary",block:"block",onClick:z,disabled:n.disabled},{default:()=>n.confirmText});M.push(G)}return t.h("view",{class:"fox-actionsheet__footer"},[M])};return Te({search:async(M=null,F=!0)=>{m.value=M&&t.toRaw(M),t.triggerRef(m),F&&(i.value=[],c.value=1),t.nextTick(()=>{L()})},clear:()=>{i.value=[],c.value=1}}),()=>{const M=[];if(n.showHeader){const J=$();M.push(J)}if(n.showSearchbar){const J=T();M.push(J)}const F=O(),G={hasMore:R.value,loadText:n.loadText,loadMoreText:n.loadMoreText,modelValue:B.value,"onUpdate:modelValue":J=>{B.value=J},onLoadMore:L},Y=t.h(xo,G,{default:()=>F}),ee={};n.optionsHeight&&(ee.height=n.optionsHeight);const K={"fox-actionsheet__list":!0};n.poppable||(K["fox-actionsheet__list--inner"]=!0);const U=t.h("view",{class:K,style:ee},[Y]);if(M.push(U),n.showFooter&&!g.value){const J=x();M.push(J)}const P=t.h("view",{class:"fox-actionsheet"},M);if(!n.poppable)return P;const v=["fox-actionsheet__popup"];n.popClass&&v.push(n.popClass);const H={popClass:v.join(" "),style:E.value,visible:d.value,closeable:!1,"onUpdate:visible":I,position:n.position,round:"round",onClickOverlay:D,closeOnClickOverlay:n.closeOnClickOverlay};return t.h(de,H,{default:()=>P})}}}}const{componentName:xB,create:Bm,scope:LB}=j("actionsheet-pane"),Oo=Bm(Nm()),Am={type:{type:String,default:"text"},placeholder:{type:String,default:""},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},text:{type:String},actionSheetClass:{type:String},separator:{type:[String],required:!1,defualt:" "}};function Vm(e,o,l,n,a,r,s){return{props:{...ue,...me,...Am,...Jn},emits:["change","update:modelValue","blur","focus","clear","update:text"],setup(i,c){const u=Ve(t.computed(()=>i.disabled)),m=Ee(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!u.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=se.useFoxI18n(o),k=p(i,["placeholder"]),g=t.ref(!1),y=qe(i,"modelValue"),S=t.ref(""),d=t.computed(()=>Array.isArray(S.value)?S.value.join(i.separator):S.value),f="fox-input-item",b=t.computed(()=>({[f]:!0,[`${f}__disabled`]:u.value})),w=Ae(t.computed(()=>i.textAlign),"textAlign"),V=t.computed(()=>{const K={};return w.value&&(K["text-align"]=w.value),K}),E=t.ref(!1),I=()=>{E.value=!0},D=K=>{E.value=K},z=K=>{y.value=K,h("update:modelValue",K)},N=(K,U)=>{h("change",K,U)},B=K=>{let P=K.target.value;g.value=!0,h("focus",P,K)},R=K=>{setTimeout(()=>{g.value=!1},0);let P=K.target.value;i.maxLength&&P.length>Number(i.maxLength)&&(P=P.slice(0,Number(i.maxLength))),h("blur",P,K)},L=K=>{S.value=K,h("update:text",K)},$=t.computed(()=>({[`${f}__append`]:!0})),T=t.computed(()=>ge(i.unit)>0),q=t.computed(()=>ge(i.unit)>0&&!g.value),A=t.computed(()=>({hidden:!q.value})),O=K=>{y.value="",h("update:modelValue","",K),h("change","",K),h("clear","")},x=t.computed(()=>i.clearable&&!u.value&&!m.value),M=t.computed(()=>ge(y.value)>0&&g.value),F=K=>{M.value?O(K):I()},G=t.computed(()=>M.value&&x.value?n:a),Y=t.computed(()=>({action:!0})),ee=t.ref(null);return Te({search:K=>{ee.value&&ee.value.search(K)}}),()=>{const K={class:b.value,style:V.value,type:"text",maxlength:i.maxLength,placeholder:k.placeholder.value,readonly:!0,unselectable:"on",value:d.value,onClick:I,onFocus:B,onBlur:R};s&&(K.disabled=!0);const U=[],P=t.h("input",K);U.push(P);const v=[],H={class:["action-icon"]},J=t.h(G.value,H),X={class:Y.value,onClick:F},W=t.h("view",X,{default:()=>[J]});if(v.push(W),T.value){const st=t.h("view",{class:A.value},[i.unit]);v.push(st)}const Q={class:$.value},_=t.h("view",Q,{default:()=>v});U.push(_);const oe={default:()=>U};oe.label=c.slots.default,oe.prepend=c.slots.prepend,oe.append=c.slots.append,oe.fixedPreTip=c.slots.fixedPreTip,oe.fixedTip=c.slots.fixedTip;const ne=ke(i,Jn);ne.ref=ee,ne.class=i.actionsheetProps,ne.disabled=u.value||m.value,ne.visible=E.value,ne["onUpdate:visible"]=D,ne.modelValue=y.value,ne["onUpdate:modelValue"]=z,ne.text=S.value,ne["onUpdate:text"]=L,ne.onChange=N,ne.poppable=!0;const ae={title:c.slots.title,search:c.slots.search,option:c.slots.option,optionLabel:c.slots.optionLabel,optionIcon:c.slots.optionIcon,buttons:c.slots.buttons},ye=t.h(r,ne,ae);oe.hide=()=>[ye];const Se=ke(i,me,ue);return t.h(l,Se,oe)}}}}const{componentName:Tm,create:$m,scope:Em}=j("actionsheet-item"),_n=$m(Vm(Tm,Em,Ne,te.CircleClose,te.ArrowRight,Oo));function Dm(e,o){return{inheritAttrs:!1,props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:{}}},setup(l,{slots:n}){return Qa(l.name,()=>l.config),()=>typeof n.default=="function"?n.default():null}}}const{componentName:OB,create:Im,scope:FB}=j("domain-provider"),el=Im(Dm()),qm={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 zm(e,o){return{inheritAttrs:!1,props:qm,setup(l,{slots:n}){if(Ye&&window.IntersectionObserver){const a=new WeakMap;let r=new Map;const s=(p,k)=>{if(m===null){r.set(p,{visible:null,callback:k});return}a.has(p)&&m.unobserve(p),a.set(p,{visible:null,callback:k}),m.observe(p)},i=p=>{if(m===null){r.delete(p);return}a.has(p)&&(a.delete(p),m.unobserve(p))};let c=l.initialVisibleObserverSize;bi({acquire:()=>{const p=c>0;return c--,p},get disabled(){return l.disabled},get initialHeight(){return l.initialInvisibleObserverHeight},observe:s,unobserve:i});let m=null;const h=(p,k,g)=>{m=new IntersectionObserver(y=>{for(let S of y){let d=!1;S.intersectionRatio>0&&(d=!0);const f=a.get(S.target);if(f)try{if(l.loadPolicy==="lazy"&&!d&&f.visible!==null)return;f.visible=d,f.callback(d)}catch(b){console.error(b)}}},{root:p,rootMargin:k,threshold:g}),r.forEach((y,S)=>{a.set(S,y),m?.observe(S)}),r.clear()};t.watch([()=>l.root,()=>l.disabled],([p,k])=>{if(k||!p||m)return;let g=null;typeof p=="string"?g=document.querySelector(p):g=p,g&&h(g,l.rootMargin,l.threshold)},{immediate:!0}),t.onUnmounted(()=>{m&&(m.disconnect(),m=null)})}return()=>typeof n.default=="function"?n.default():null}}}const{componentName:KB,create:Mm,scope:vB}=j("rolling-provider"),tl=Mm(zm()),{create:Pm,componentName:Fo,scope:UB}=j("tabs-bar"),Rm=Pm({components:{MoreH:te.MoreH},props:{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"},direction:{type:String,default:"horizontal"},size:{type:String,default:"normal"},shape:{type:String},align:{type:String},markShape:{type:String,default:"line"},scroll:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},animatedTime:{type:[Number,String],default:300},gutter:{type:[Number,String],default:0},itemOptions:{type:Object},showQuickNavigation:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{slots:o,emit:l}){const n=t.computed(()=>{const q={};return q[`${Fo}`]=!0,q}),a=t.computed(()=>{const q={};return q[`${Fo}__titles`]=!0,q[`${e.direction}`]=!0,e.align==="left"&&(q.left=!0),e.scroll===!0&&(q.scrollable=!0),e.shape&&(q[`${e.shape}`]=!0),q}),r=t.computed(()=>({})),s=t.computed(()=>{if(!e.gutter)return 0;const q=ie(e.gutter);return q<=0?0:q}),i=t.ref(e.modelValue);t.watch(()=>e.modelValue,q=>{i.value!==q&&(i.value=q,T(!1))});const c=t.ref({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),u=t.ref(),m=t.ref(!1),h=()=>{const q=!m.value;p(q)},p=q=>{const A=q;A?(m.value=A,setTimeout(()=>{c.value["fox-tabs-bar__popup--show"]=!0,c.value["fox-tabs-bar__popup--hide"]=!1},0)):(c.value["fox-tabs-bar__popup--show"]=!1,c.value["fox-tabs-bar__popup--hide"]=!0,u.value?u.value.addEventListener("transitionend",()=>{m.value=!1},{once:!0}):setTimeout(()=>{m.value=!1},0))},k=t.ref(),g=t.ref([]),y=(q,A)=>{g.value[A]=q},S=q=>A=>{y(A,q)},d=(q,A)=>{const O=k.value,x=g.value;if(!O||!x||!x[q])return;const M=x[q];let F=0;e.direction==="vertical"?F=M.offsetTop-(O.offsetHeight-M.offsetHeight)/2:F=M.offsetLeft-(O.offsetWidth-M.offsetWidth)/2,f(O,F,A?0:.3,e.direction)},f=(q,A,O,x)=>{let M=0;const F=x==="horizontal"?q.scrollLeft:q.scrollTop,G=O===0?1:Math.round(O*1e3/16);function Y(){x==="horizontal"?q.scrollLeft+=(A-F)/G:q.scrollTop+=(A-F)/G,++M<G&&Xe(Y)}Y()},b=q=>q[e.textKey],w=q=>q[e.valueKey],V=q=>q[e.visibleKey],E=q=>q[e.disabledKey],I=(q,A)=>{const O=e.itemOptions;return typeof O=="function"?O(q,A):O||null},D=(q,A)=>{const O=w(q),x={};x[`${Fo}__titles-item`]=!0,x.disabled=E(q),x.active=O===i.value,e.shape&&(x[`${e.shape}`]=!0),e.ellipsis&&(x.ellipsis=!0);const M=I(q,A);return M&&(M.class&&(x[`${M.class}`]=!0),M.disabled===!0&&(x.disabled=M.disabled)),x},z=(q,A)=>{const O={};if(s.value>0){const M=Math.abs(s.value/2);e.direction==="vertical"?(O["margin-top"]=`${M}px`,O["margin-bottom"]=`${M}px`):(O["margin-left"]=`${M}px`,O["margin-right"]=`${M}px`)}const x=I(q,A);return x&&x.style&&Object.assign(O,x.style),O},N=(q,A)=>`${w(q)??A}`,B=(q,A)=>{const O=w(q),x={};x[`${Fo}__popup-item`]=!0,x.disabled=E(q),x.active=O===i.value,e.shape&&(x[`${e.shape}`]=!0);const M=I(q,A);return M&&M.disabled===!0&&(x.disabled=M.disabled),x},R=t.computed(()=>(e.data??[]).filter(A=>V(A)!==!1)),L=(q,A)=>{const O=w(q);i.value=O,d(A,!1),l("update:modelValue",O),l("change",q,A)},$=(q,A)=>{L(q,A),p(!1)},T=q=>{if(!Array.isArray(e.data)||!e.scroll)return;const A=e.data.findIndex(O=>w(O)===i.value);A!==-1&&d(A,q)};return t.watch(()=>e.data,()=>{setTimeout(T,0)}),t.onMounted(()=>{T(!0)}),{classes:n,titlesClasses:a,titlesStyles:r,itemClasses:D,itemStyles:z,itemKey:N,popupItemClasses:B,filterTabItems:R,getItemText:b,getItemValue:w,onTabChange:L,titlesRef:k,createItemRefs:S,togglePopupVisible:h,onQuickNavigate:$,popupClasses:c,popupVisible:m,popupRef:u}}}),xm={class:"fox-tabs-bar"},Lm=["onClick"],Om={class:"fox-tabs-bar__titles-item-text"},Fm=t.createElementVNode("view",{class:"fox-tabs-bar__titles-item-line"},null,-1),Km=["onClick"];function vm(e,o,l,n,a,r){const s=t.resolveComponent("MoreH");return t.openBlock(),t.createElementBlock("view",xm,[t.createElementVNode("view",{ref:"titlesRef",class:t.normalizeClass(e.titlesClasses),style:t.normalizeStyle(e.titlesStyles)},[t.renderSlot(e.$slots,"default",{},()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.filterTabItems,(i,c)=>(t.openBlock(),t.createElementBlock("view",{ref_for:!0,ref:e.createItemRefs(c),class:t.normalizeClass(e.itemClasses(i,c)),style:t.normalizeStyle(e.itemStyles(i,c)),key:e.itemKey(i),onClick:u=>e.onTabChange(i,c)},[t.renderSlot(e.$slots,"item",{item:i,index:c},()=>[t.createElementVNode("view",Om,t.toDisplayString(e.getItemText(i)),1),Fm])],14,Lm))),128))])],6),e.showQuickNavigation?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-tabs-bar__navigation",onClick:o[0]||(o[0]=(...i)=>e.togglePopupVisible&&e.togglePopupVisible(...i))},[t.renderSlot(e.$slots,"navigation",{},()=>[t.createVNode(s)])])):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("view",{ref:"popupRef",class:t.normalizeClass(e.popupClasses)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.filterTabItems,(i,c)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.popupItemClasses(i,c)),key:e.itemKey(i),onClick:u=>e.onQuickNavigate(i,c)},[t.renderSlot(e.$slots,"popup-item",{item:i,index:c},()=>[t.createTextVNode(t.toDisplayString(e.getItemText(i)),1)])],10,Km))),128))],2),[[t.vShow,e.popupVisible]])])}const ol=Z(Rm,[["render",vm]]),ls=Symbol("TabsStatesKey"),{create:Um}=j("tabs-container"),Hm=Um({props:{modelValue:{type:[String,Number]},direction:{type:[String],default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:o}){const l=t.shallowRef([]),n={current:t.ref(e.modelValue??""),direction:t.ref(e.direction),tabWidth:t.ref(-1),tabHeight:t.ref(-1),add:m=>{const h={name:m};n.current.value===m&&(h.loaded=!0),l.value.push(h),t.triggerRef(l)},remove:m=>{const h=l.value.findIndex(p=>p.name===m);h!==-1&&l.value.splice(h,1)},isLoaded:m=>{const h=l.value.findIndex(p=>p.name===m);return h!==-1?n.current.value?l.value[h].loaded??!1:h===0:!1}};t.provide(ls,n);const a=m=>{const h=l.value.findIndex(p=>p.name===m);h!==-1&&(l.value[h].loaded=!0,t.triggerRef(l))};t.watch([()=>e.modelValue,()=>e.direction],([m,h])=>{n.current.value!==m&&(n.current.value=m??"",a(m??"")),n.direction.value!==h&&(n.direction.value=h)});const r=t.ref(null),s=t.ref(null),i=t.computed(()=>({"fox-tabs-container":!0,[`${e.direction}`]:!0})),c=t.computed(()=>{const m={},h=l.value.length;if(h<=0)return m;const p=l.value.findIndex(k=>k.name===n.current.value);return n.direction.value==="vertical"?n.tabHeight.value>0&&(m.height=`${h*n.tabHeight.value}px`,p!==-1&&(m.transform=`translate(0, -${p*n.tabHeight.value}px)`)):n.tabWidth.value>0&&(m.width=`${h*n.tabWidth.value}px`,p!==-1&&(m.transform=`translate(-${p*n.tabWidth.value}px, 0)`)),m});let u=null;return t.onMounted(()=>{if(!r.value)return;const m=()=>{const h=po(r.value);n.tabWidth.value=h.width,n.tabHeight.value=h.height};window.ResizeObserver&&(u=new window.ResizeObserver(m),u.observe(r.value)),m()}),t.onBeforeUnmount(()=>{u&&(u.disconnect(),u=null)}),{tabsRef:r,panesRef:s,classes:i,panesStyles:c}}});function jm(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"tabsRef"},[t.createElementVNode("view",{class:"fox-tabs-container__panes",style:t.normalizeStyle(e.panesStyles),ref:"panesRef"},[t.renderSlot(e.$slots,"default")],4)],2)}const nl=Z(Hm,[["render",jm]]),{create:Wm}=j("tabs-pane"),Ym=Wm({components:{Loading:te.Loading},props:{paneKey:{type:[String,Number],required:!0},loaded:{type:[Boolean,String],default:null}},setup(e,{emit:o}){const l=t.inject(ls);t.onMounted(()=>{l.add(e.paneKey)}),t.onBeforeUnmount(()=>{l.remove(e.paneKey)});const n=t.computed(()=>{const r={};return l.direction.value==="vertical"&&l.tabHeight.value>0?r.height=`${l.tabHeight.value}px`:l.tabWidth.value>0&&(r.width=`${l.tabWidth.value}px`),r}),a=t.computed(()=>e.loaded!=null?he(e.loaded):l.isLoaded(e.paneKey));return{styles:n,isLoaded:a}}}),Xm={class:"fox-tabs-pane__empty"},Qm=t.createElementVNode("view",{class:"fox-tabs-pane__empty-text"},"loading",-1);function Gm(e,o,l,n,a,r){const s=t.resolveComponent("Loading");return t.openBlock(),t.createElementBlock("view",{class:"fox-tabs-pane",style:t.normalizeStyle(e.styles)},[e.isLoaded?t.renderSlot(e.$slots,"default",{key:0}):t.renderSlot(e.$slots,"empty",{key:1},()=>[t.createElementVNode("view",Xm,[t.createVNode(s,{class:"fox-tabs-pane__empty-icon"}),Qm])])],4)}const ll=Z(Ym,[["render",Gm]]),as=10;function Zm(e,o){return e>o&&e>as?"horizontal":o>e&&o>as?"vertical":""}function Jm(){const e={startX:0,startY:0,startTime:0,duration:0,moveX:0,moveY:0,deltaX:0,deltaY:0,offsetX:0,offsetY:0,direction:""},o=()=>e.direction==="vertical",l=()=>e.direction==="horizontal",n=()=>{e.deltaX=0,e.deltaY=0,e.offsetX=0,e.offsetY=0,e.direction="",e.startTime=0};return{move:s=>{if(s.touches){const i=s.touches[0];e.deltaX=i.clientX-e.startX,e.deltaY=i.clientY-e.startY,e.moveX=i.clientX,e.moveY=i.clientY}else e.deltaX=s.clientX-e.startX,e.deltaY=s.clientY-e.startY,e.moveX=s.clientX,e.moveY=s.clientY;e.offsetX=Math.abs(e.deltaX),e.offsetY=Math.abs(e.deltaY),e.duration=Date.now()-e.startTime,e.direction||(e.direction=Zm(e.offsetX,e.offsetY))},start:s=>{if(n(),s.touches){const i=s.touches[0];e.startX=i.clientX,e.startY=i.clientY}else e.startX=s.clientX,e.startY=s.clientY;e.startTime=Date.now()},reset:n,isVertical:o,isHorizontal:l,state:e}}function _m(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function ep(e){e.stopPropagation()}function tp(e,o){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),o&&ep(e)}class op{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(o,l){this.startMove=o,this.updateMove=l,this.isTouch=_m()}open(o){Array.isArray(o)||(o=[o]),this.els=o;const l=Jm(),n=(a,r,s,i)=>{this.updateMove({x:a,y:r})};this.touchstart=a=>{this.moving||(l.start(a),this.startMove({x:l.state.startX,y:l.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=a=>{this.moving&&(l.move(a),tp(a,!0),n(l.state.deltaX,l.state.deltaY))},this.touchend=()=>{n(l.state.deltaX,l.state.deltaY),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),l.reset(),this.moving=!1},this.els.forEach(a=>{this.touchstart&&a.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(o=>{this.touchstart&&o.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}}function np(e,o){return new op(e,o)}const lp={top:{type:[String]},right:{type:[String]},bottom:{type:[String]},left:{type:[String]},width:{type:[String]},height:{type:[String]},color:{type:[String]},background:{type:[String]},draggable:{type:[Boolean]}},ap=(e,o,l,n=!1)=>({props:{...lp},emits:["click"],setup(a,{slots:r,emit:s}){const i=t.reactive({top:a.top,right:a.right,bottom:a.bottom,left:a.left}),c=t.computed(()=>({[`${e}`]:!0})),u=t.computed(()=>{const f={};return ce(i.top)||(f.top=i.top),ce(i.right)||(f.right=i.right),ce(i.bottom)||(f.bottom=i.bottom),ce(i.left)||(f.left=i.left),ce(a.width)||(f.width=a.width),ce(a.height)||(f.height=a.height),ce(a.color)||(f.color=a.color),ce(a.background)||(f.background=a.background),f}),m=t.computed(()=>({[`${e}__icon`]:!0})),h=()=>{s("click")},p=t.ref(null),k=()=>{i.top=null,i.right=null,i.bottom=null,i.left=null},g={x:0,y:0},d=np(f=>{if(!p.value)return;const b=p.value;k(),i.left=b.offsetLeft,i.top=b.offsetTop,b.style.left=`${i.left}px`,b.style.top=`${i.top}px`,b.style.right=null,b.style.bottom=null,g.x=i.left,g.y=i.top},f=>{if(!p.value)return;const b=p.value;k(),i.left=g.x+f.x,i.top=g.y+f.y,b.style.left=`${i.left}px`,b.style.top=`${i.top}px`});return t.onMounted(()=>{if(a.draggable&&p.value){const f=[p.value];d.open(f)}}),t.onBeforeUnmount(()=>{a.draggable&&p.value&&d.close()}),()=>{let f=[];const b=typeof r.default=="function"?r.default():[];if(b&&b.length>0)f=b;else{const V=t.h(l,{class:m.value});f.push(V)}const w={ref:V=>{p.value=V},class:c.value,style:u.value,onClick:h};return t.h("view",w,f)}}}),{componentName:rp,create:sp,scope:ip}=j("floating-button"),al=sp(ap(rp,ip,te.Uploader,!1));function cp(e,o){const l=document.createRange();l.setStart(e,0),l.setEnd(e,e.childNodes.length);const n=l.getBoundingClientRect().width;if(n>0){o(n);return}e.classList.add("is-selectable"),setTimeout(()=>{l.setStart(e,0),l.setEnd(e,e.childNodes.length);const a=l.getBoundingClientRect().width;e.classList.remove("is-selectable"),o(a)},500)}const dp={tag:{type:[String],required:!1,default:"span"},showOverflowTooltip:{type:[Boolean],required:!1,default:!0},type:{type:[String],required:!1},size:{type:[String],required:!1},truncated:{type:[Boolean,String],required:!1,default:!0},numberFormat:{type:[Boolean],required:!1,default:!1},decimalLength:{type:[Number,String],required:!1,default:-1},autoPadding:{type:[Boolean,String],required:!1,default:!1},digits:{type:[Number,String],required:!1,default:4},separator:{type:String,required:!1,default:" "},highlightFilter:{type:[String,Function],required:!1},mark:{type:[Boolean],required:!1},color:{type:[String],required:!1},icon:{type:[Object],required:!1},textPosition:{type:String,default:"right"},textColor:{type:String}};function up(e,o){return{props:{...dp},emits:["click"],setup(l,n){const a=t.ref(!0),r=t.ref(null),s=t.computed(()=>{const p={[`${e}`]:!0,"is-truncated":l.truncated};return l.type&&(p[`${e}--${l.type??"default"}`]=!0),l.size&&(p[`${e}--${l.size}`]=!0),p}),i=t.computed(()=>{const p={},k=l.textColor??l.color;return k&&(p.color=k),p}),c=p=>{if(p&&he(l.showOverflowTooltip)){const k=p.clientWidth;cp(p,g=>{a.value=g<=k})}};let u=null;t.onMounted(()=>{if(!he(l.showOverflowTooltip))return;const p=r.value;c(p),p&&window.ResizeObserver&&(u=new window.ResizeObserver(()=>{c(p)}),u.observe(p))}),t.onUnmounted(()=>{u?.disconnect()});const m=(p,k)=>{let g=null;if(typeof l.highlightFilter=="string"&&l.highlightFilter.length>0){const y=l.highlightFilter;if(p.indexOf(y)!==-1){const d=p.replace(new RegExp(y,"g"),`<span>${y}</span>`);k.innerHTML=d,k.class["is-highlight"]=!0,g=t.h(l.tag,k)}}else if(typeof l.highlightFilter=="function"){const y=l.highlightFilter(p);y&&(k.innerHTML=y,k.class["is-highlight"]=!0,g=t.h(l.tag,k))}return g},h=p=>{n.emit("click",p)};return()=>{const p={onClick:h,class:s.value,style:i.value,ref:r};let k=null;if(he(l.numberFormat)&&typeof n.slots.default=="function"){const d=n.slots.default();if(Array.isArray(d)&&d.length===1){const f=d[0].type.toString();if(f==="Symbol(Text)"||f==="Symbol(v-txt)"){const b=pe(l.digits),w=pe(l.decimalLength),V=he(l.autoPadding);let E=`${d[0].children}`,I=E.split("").reverse().join("");I=Gt(I,w,V,b,l.separator),E=I.split("").reverse().join(""),l.highlightFilter!==void 0&&(k=m(E,p)),k||(p.innerHTML=E,k=t.h(l.tag,p))}}}else{if(l.highlightFilter!==void 0&&typeof n.slots.default=="function"){const d=n.slots.default();if(Array.isArray(d)&&d.length===1){const f=d[0].type.toString();if(f==="Symbol(Text)"||f==="Symbol(v-txt)"){const b=`${d[0].children}`;k=m(b,p),k||(p.innerHTML=b,k=t.h(l.tag,p))}}}k||(k=t.h(l.tag,p,{default:n.slots.default}))}if(!l.mark&&!l.icon&&!n.slots.mark)return k;let y=null;if(l.icon){const d={[`${e}__mark-wrap`]:!0};l.type&&(d[`${e}__mark-wrap--${l.type}`]=!0);const f={},b=l.color;b&&(f.color=b);const w={class:d,style:f};y=t.h("view",w,t.h(l.icon))}else if(n.slots.mark){const d={[`${e}__mark-wrap`]:!0};l.type&&(d[`${e}__mark-wrap--${l.type}`]=!0);const f={},b=l.color;b&&(f.color=b);const w={class:d,style:f};y=t.h("view",w,{default:n.slots.mark})}else{const d={[`${e}__mark`]:!0};l.type&&(d[`${e}__mark--${l.type??"default"}`]=!0);const f={},b=l.color;b&&(f["background-color"]=b);const w={class:d,style:f};y=t.h("view",w)}const S={class:{"fox-text__wrap":!0,"text-left":l.textPosition==="left","text-right":l.textPosition==="right"}};return t.h("view",S,[y,k])}}}}const{componentName:fp,create:mp,scope:HB}=j("text"),rl=mp(up(fp)),{componentName:pp,create:hp}=j("cell"),gp=hp({components:{Right:te.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:o}){const l=t.computed(()=>{const r=pp;return{[r]:!0,[`${r}--clickable`]:e.isLink,[`${r}--center`]:e.center,[`${r}--large`]:e.size=="large"}}),n=t.computed(()=>({borderRadius:fe(e.roundRadius)}));return{handleClick:r=>{o("click",r)},classes:l,baseStyle:n}}}),yp={key:0,class:"fox-cell__icon"},kp={key:1,class:"fox-cell__title"},bp={class:"title"},Sp={class:"fox-cell__title-desc"};function Cp(e,o,l,n,a,r){const s=t.resolveComponent("Right");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.baseStyle),onClick:o[0]||(o[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.renderSlot(e.$slots,"default",{},()=>[e.$slots.icon?(t.openBlock(),t.createElementBlock("view",yp,[t.renderSlot(e.$slots,"icon")])):t.createCommentVNode("",!0),e.title||e.subTitle||e.$slots.title?(t.openBlock(),t.createElementBlock("view",kp,[e.subTitle?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.renderSlot(e.$slots,"title",{},()=>[t.createElementVNode("view",bp,t.toDisplayString(e.title),1)]),t.createElementVNode("view",Sp,t.toDisplayString(e.subTitle),1)],64)):t.renderSlot(e.$slots,"title",{key:1},()=>[t.createTextVNode(t.toDisplayString(e.title),1)])])):t.createCommentVNode("",!0),e.desc?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass(["fox-cell__value",{"fox-cell__value--alone":!e.title&&!e.subTitle&&!e.$slots.title}]),style:t.normalizeStyle({"text-align":e.descTextAlign})},t.toDisplayString(e.desc),7)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"link",{},()=>[e.isLink?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-cell__link"})):t.createCommentVNode("",!0)])])],6)}const sl=Z(gp,[["render",Cp]]),{componentName:wp,create:Np}=j("cell-group"),Bp=Np({props:{title:{type:String,default:""},desc:{type:String,default:""}},setup(){return{classes:t.computed(()=>({[wp]:!0}))}}}),Ap={key:1,class:"fox-cell-group__title"},Vp={key:3,class:"fox-cell-group__desc"},Tp={class:"fox-cell-group__wrap"};function $p(e,o,l,n,a,r){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",Ap,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",Vp,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.createElementVNode("view",Tp,[t.renderSlot(e.$slots,"default")])],2)}const il=Z(Bp,[["render",$p]]),{componentName:Ep,create:Dp}=j("image"),Ip=Dp({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:te.Image,ImageError:te.ImageError},emits:["click","load","error"],setup(e,{emit:o}){const l=t.reactive({loading:!0,isError:!1,slotLoding:t.useSlots().loading,slotError:t.useSlots().error}),n=t.computed(()=>{const k=Ep;return{[k]:!0,[`${k}-round`]:e.round}}),a=t.ref(null),r=t.ref(!1),s=t.ref(null),i=()=>{const k={threshold:[0],rootMargin:"0px"};a.value=new IntersectionObserver(g=>{g.forEach(y=>{y.isIntersecting&&(r.value=!0,a.value.disconnect())})},k),s.value&&a.value.observe(s.value)};t.onMounted(()=>{e.lazyLoad&&i()}),t.onBeforeUnmount(()=>{a.value&&a.value.disconnect()});const c=t.computed(()=>{let k={};return e.width&&(k.width=fe(e.width)),e.height&&(k.height=fe(e.height)),e.radius!==void 0&&e.radius!==null&&(k.overflow="hidden",k.borderRadius=fe(e.radius)),k}),u=t.computed(()=>({objectFit:e.fit,objectPosition:e.position}));t.watch(()=>e.src,k=>{l.isError=!1,l.loading=!0});const m=()=>{l.loading=!1,o("load")},h=()=>{l.isError=!0,l.loading=!1,o("error")},p=k=>{o("click",k)};return{...t.toRefs(l),imageClick:p,classes:n,styles:u,stylebox:c,error:h,load:m,show:r,imgRef:s}}}),qp=["src","date-src","alt"],zp={key:0,class:"fox-img-loading"},Mp={key:1,class:"fox-img-error"};function Pp(e,o,l,n,a,r){const s=t.resolveComponent("Image"),i=t.resolveComponent("ImageError");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.stylebox),onClick:o[2]||(o[2]=(...c)=>e.imageClick&&e.imageClick(...c))},[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:o[0]||(o[0]=(...c)=>e.load&&e.load(...c)),onError:o[1]||(o[1]=(...c)=>e.error&&e.error(...c)),style:t.normalizeStyle(e.styles)},null,44,qp),e.loading?(t.openBlock(),t.createElementBlock("div",zp,[e.slotLoding?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,width:"16px",height:"20px",name:"image"})),t.renderSlot(e.$slots,"loading")])):t.createCommentVNode("",!0),e.isError&&!e.loading?(t.openBlock(),t.createElementBlock("div",Mp,[e.slotError?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(i,{key:0,width:"16px",height:"20px",name:"imageError"})),t.renderSlot(e.$slots,"error")])):t.createCommentVNode("",!0)],6)}const cl=Z(Ip,[["render",Pp]]),{create:Rp}=j("layout"),dl=Rp({}),{componentName:xp,create:Lp}=j("col"),Op=Lp({props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},setup(e){const o=xp,l=t.inject("gutter"),n=t.computed(()=>({[o]:!0,[`${o}-gutter`]:l,[`fox-col-${e.span}`]:!0,[`fox-col-offset-${e.offset}`]:!0})),a=t.computed(()=>({paddingLeft:l/2+"px",paddingRight:l/2+"px"}));return{classes:n,style:a}}});function Fp(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)}const ul=Z(Op,[["render",Fp]]),{componentName:Kp,create:vp}=j("row"),Up=vp({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 o=Kp;t.provide("gutter",e.gutter);const l=(a,r)=>a?r?`fox-row-${a}-${r}`:"":`fox-row-${r}`;return{classes:t.computed(()=>e.type==="flex"?`
|
|
6
6
|
${l("",e.type)}
|
|
7
7
|
${l("justify",e.justify)}
|
|
8
8
|
${l("align",e.align)}
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
${o}
|
|
11
11
|
`:`
|
|
12
12
|
${o}
|
|
13
|
-
`)}}});function Ym(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)}const ll=Q(Wm,[["render",Ym]]),{componentName:Xm,create:Qm}=K("divider"),Gm=Qm({props:{contentPosition:{type:String,default:"center"},dashed:{type:Boolean,default:!1},hairline:{type:Boolean,default:!0},direction:{type:String,default:"horizontal"}},components:{},setup(e,o){return{classes:t.computed(()=>{const n=Xm;let a={[n]:!0},r={};return e.direction==="horizontal"?r={...a,[`${n}-center`]:o.slots.default,[`${n}-left`]:e.contentPosition==="left",[`${n}-right`]:e.contentPosition==="right",[`${n}-dashed`]:e.dashed,[`${n}-hairline`]:e.hairline}:r={...a,[`${n}-vertical`]:e.direction==="vertical"},r})}}});function Zm(e,o,l,n,a,r){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 al=Q(Gm,[["render",Zm]]);function Jm(e,o){const l=[],n=a=>{Array.isArray(a)&&a.forEach(r=>{if(t.isVNode(r)){if(o){if(r.type&&r.type.name===o){l.push(r);return}}else l.push(r);r.component?.subTree&&n(r.component.subTree.children),r.children&&n(r.children)}})};return n(e),l}function _m(e,o,l){const n=Jm(e.subTree.children,l);o.sort((a,r)=>n.indexOf(a.vnode)-n.indexOf(r.vnode))}function ep(e,o){const l=t.shallowReactive([]),n=t.getCurrentInstance(),a=i=>{i.proxy&&(l.push(t.markRaw(i)),_m(n,l,o))},r=i=>{l.splice(l.indexOf(t.markRaw(i)),1)},s=Object.assign;return i=>(t.provide(e,s({add:a,remove:r,internalChildren:l},i)),{internalChildren:l})}const{componentName:Zr}=K("grid"),Jr=Symbol("grid"),tp={props:{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}},setup(e,{slots:o}){ep(Jr,`${Zr}-item`)({props:e});const l=t.computed(()=>{const a=Zr;return{[a]:!0,[`${a}--border`]:e.border&&!e.gutter}}),n=t.computed(()=>{const a={};return e.gutter&&(a.paddingLeft=de(e.gutter)),a});return()=>t.h("view",{class:l.value,style:n.value},o.default?.())}},{create:op}=K("grid"),rl=op(tp);function np(e){const o=t.inject(e,null);if(o){const l=t.getCurrentInstance(),{add:n,remove:a,internalChildren:r}=o;n(l),t.onUnmounted(()=>a(l));const s=t.computed(()=>r.indexOf(l));return{parent:o,index:s}}return{parent:null,index:t.ref(-1)}}const{create:lp,componentName:_r}=K("grid-item"),ap=lp({props:{text:{type:String}},emits:["click"],setup(e,{emit:o}){const l=np(Jr);if(!l.parent)return{};const n=l.index,a=l.parent.props,r=t.computed(()=>({[_r]:!0})),s=t.computed(()=>{const u={flexBasis:`${100/+a.columnNum}%`};return a.square?u.paddingTop=`${100/+a.columnNum}%`:a.gutter&&(u.paddingRight=de(a.gutter),n.value>=a.columnNum&&(u.marginTop=de(a.gutter))),u}),i=t.computed(()=>{const u=`${_r}__content`;return{[`${u}`]:!0,[`${u}--border`]:a.border,[`${u}--surround`]:a.border&&a.gutter,[`${u}--center`]:a.center,[`${u}--square`]:a.square,[`${u}--reverse`]:a.reverse,[`${u}--${a.direction}`]:!!a.direction,[`${u}--clickable`]:a.clickable}});return{rootClass:r,rootStyle:s,contentClass:i,handleClick:u=>{o("click",u)}}}}),rp={class:"fox-grid-item__text"};function sp(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.rootClass),style:t.normalizeStyle(e.rootStyle),onClick:o[0]||(o[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[t.createElementVNode("view",{class:t.normalizeClass(e.contentClass)},[t.renderSlot(e.$slots,"default"),t.createElementVNode("view",rp,[e.text?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(e.text),1)],64)):t.renderSlot(e.$slots,"text",{key:1})])],2)],6)}const sl=Q(ap,[["render",sp]]),{componentName:ip,create:cp}=K("navbar"),dp=cp({components:{Left:ee.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:o}){const{border:l,fixed:n,safeAreaInsetTop:a,placeholder:r,zIndex:s}=t.toRefs(e),i=t.ref(null),c=t.ref(null);let u=t.ref();const f=t.computed(()=>{const y=ip;return{[y]:!0,[`${y}--border`]:l.value,[`${y}--fixed`]:n.value,[`${y}--safe-area-inset-top`]:a.value}}),m=t.computed(()=>({zIndex:s.value}));t.onMounted(()=>{n.value&&r.value&&t.nextTick(()=>{u.value=c?.value?.getBoundingClientRect().height,i.value.style.height=u.value+"px"})});function h(){o("on-click-back")}function b(){o("on-click-title")}function g(){o("on-click-icon")}function k(){o("on-click-right")}return{navBarWrap:i,navBarHtml:c,classes:f,styles:m,handleLeft:h,handleCenter:b,handleCenterIcon:g,handleRight:k}}}),up={key:0,class:"fox-navbar--placeholder",ref:"navBarWrap"},fp={key:1,class:"fox-navbar__text"},mp={class:"fox-navbar__title"},pp={key:0,class:"fox-navbar__text"},hp={key:1,class:"fox-navbar__text"},gp={class:"fox-navbar__title"},yp={key:0,class:"fox-navbar__text"};function kp(e,o,l,n,a,r){const s=t.resolveComponent("Left");return e.fixed&&e.placeholder?(t.openBlock(),t.createElementBlock("view",up,[t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),ref:"navBarHtml"},[t.createElementVNode("view",{class:"fox-navbar__left",onClick:o[0]||(o[0]=(...i)=>e.handleLeft&&e.handleLeft(...i))},[e.leftShow?t.renderSlot(e.$slots,"left-show",{key:0},()=>[t.createVNode(s,{height:"12px",color:"#979797"})]):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",fp,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",mp,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:o[1]||(o[1]=(...i)=>e.handleCenter&&e.handleCenter(...i))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titleIcon?(t.openBlock(),t.createElementBlock("view",{key:1,class:"icon",onClick:o[3]||(o[3]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))},[t.renderSlot(e.$slots,"title-icon",{onClick:o[2]||(o[2]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))})])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content")]),t.createElementVNode("view",{class:"fox-navbar__right",onClick:o[4]||(o[4]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?(t.openBlock(),t.createElementBlock("view",pp,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:o[5]||(o[5]=(...i)=>e.handleLeft&&e.handleLeft(...i))},[e.leftShow?t.renderSlot(e.$slots,"left-show",{key:0},()=>[t.createVNode(s,{height:"12px",color:"#979797"})]):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",hp,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",gp,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:o[6]||(o[6]=(...i)=>e.handleCenter&&e.handleCenter(...i))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titleIcon?(t.openBlock(),t.createElementBlock("view",{key:1,class:"icon",onClick:o[8]||(o[8]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))},[t.renderSlot(e.$slots,"title-icon",{onClick:o[7]||(o[7]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))})])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content")]),t.createElementVNode("view",{class:"fox-navbar__right",onClick:o[9]||(o[9]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?(t.openBlock(),t.createElementBlock("view",yp,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"right")])],6))}const il=Q(dp,[["render",kp]]),bp=(e,o,l)=>({components:l,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(n,{emit:a}){const{toLocaleRefs:r}=se.useFoxI18n(o),s=r(n,["activeText","unActiveText"]),i=t.computed(()=>({[e]:!0,active:n.visible,[n.type]:!0})),c=t.ref(-1);return{...s,classes:i,updateValue:(m=!n.visible)=>{a("update:visible",m)},selected:(m,h)=>{a("selected",{item:m,event:h}),c.value=m.id},current:c}}}),{componentName:Sp,create:Cp,scope:wp}=K("fixednav"),Np=Cp(bp(Sp,wp,{[lt.name]:lt,Left:ee.Left})),Bp={class:"fox-fixednav__list"},Vp=["onClick"],Ap=["src"],Ep={class:"span"},Tp={key:0,class:"b"},$p={class:"text"};function Dp(e,o,l,n,a,r){const s=t.resolveComponent("fox-overlay"),i=t.resolveComponent("Left");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.position)},[e.overlay?(t.openBlock(),t.createBlock(s,{key:0,visible:e.visible,"z-index":200,onClick:o[0]||(o[0]=c=>e.updateValue(!1))},null,8,["visible"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"list",{},()=>[t.createElementVNode("view",Bp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.navList,(c,u)=>(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||u},[t.createElementVNode("img",{src:c.icon},null,8,Ap),t.createElementVNode("view",Ep,t.toDisplayString(c.text),1),c.num?(t.openBlock(),t.createElementBlock("view",Tp,t.toDisplayString(c.num),1)):t.createCommentVNode("",!0)],10,Vp))),128))])]),t.createElementVNode("div",{class:"fox-fixednav__btn",onClick:o[1]||(o[1]=c=>e.updateValue())},[t.renderSlot(e.$slots,"btn",{},()=>[t.createVNode(i,{color:"#fff"}),t.createElementVNode("view",$p,t.toDisplayString(e.visible?e.activeText:e.unActiveText),1)])])],6)}const cl=Q(Np,[["render",Dp]]),{componentName:Ip,create:zp}=K("menu"),qp=zp({components:{ArrowUp2:ee.ArrowUp2,ArrowDown2:ee.ArrowDown2},props:{activeColor:{type:String,default:""},overlay:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},duration:{type:[Number,String],default:0},titleIcon:String,closeOnClickOverlay:{type:Boolean,default:!0},direction:{type:String,default:"down"},scrollFixed:{type:[Boolean,String,Number],default:!1},titleClass:[String]},setup(e,{emit:o,slots:l}){const n=t.ref(),a=t.ref(0),r=t.ref(!1),s=()=>{const y=t.reactive([]),d=t.reactive([]);return{children:y,linkChildren:S=>{const w=$=>{$.proxy&&(d.push($),y.push($.proxy))},E=$=>{if($.proxy){let q=d.indexOf($);q>-1&&d.splice(q,1);let D=y.indexOf($.proxy);q>-1&&y.splice(D,1)}};t.provide("menuParent",Object.assign({removeLink:E,link:w,children:y,internalChildren:d},S))}}},{children:i,linkChildren:c}=s(),u=t.computed(()=>i.some(y=>y.state.showWrapper)),f=t.computed(()=>({[Ip]:!0,"scroll-fixed":r.value})),m=()=>{if(n.value){const y=Ae(n);e.direction==="down"?a.value=y.bottom:a.value=window.innerHeight-y.top}};c({props:e,offset:a});const h=y=>{i.forEach((d,p)=>{p===y?(m(),d.toggle()):d.state.showPopup&&d.toggle(!1,{immediate:!0})})},b=y=>Math.max(0,"scrollTop"in y?y.scrollTop:y.pageYOffset),g=()=>{const{scrollFixed:y}=e,d=b(window);r.value=d>(typeof y=="boolean"?30:Number(y))},k=y=>{let d="";const{titleClass:p}=e;return y&&(d+="active"),p&&(d+=` ${p}`),d};return t.onMounted(()=>{const{scrollFixed:y}=e;y&&window.addEventListener("scroll",g)}),t.onUnmounted(()=>{const{scrollFixed:y}=e;y&&window.removeEventListener("scroll",g)}),{toggleItem:h,children:i,opened:u,classes:f,barRef:n,getClasses:k}}}),Mp=["onClick"],Pp={class:"fox-menu__title-text"},Rp={class:"fox-menu__title-icon"};function Lp(e,o,l,n,a,r){const s=t.resolveComponent("ArrowUp2"),i=t.resolveComponent("ArrowDown2");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,(c,u)=>(t.openBlock(),t.createElementBlock("view",{key:u,class:t.normalizeClass(["fox-menu__item",{disabled:c.disabled,active:c.state.showPopup}]),onClick:f=>!c.disabled&&e.toggleItem(u),style:t.normalizeStyle({color:c.state.showPopup?e.activeColor:""})},[t.createElementVNode("view",{class:t.normalizeClass(["fox-menu__title",e.getClasses(c.state.showPopup)])},[t.createElementVNode("view",Pp,t.toDisplayString(c.renderTitle()),1),t.createElementVNode("span",Rp,[t.renderSlot(e.$slots,"icon",{},()=>[e.direction==="up"?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createBlock(i,{key:1}))])])],2)],14,Mp))),128))],2),t.renderSlot(e.$slots,"default")],2)}const dl=Q(qp,[["render",Lp]]),{componentName:Op,create:Fp}=K("menu-item"),xp=Fp({props:{title:String,options:{type:Array,default:[]},disabled:{type:Boolean,default:!1},modelValue:null,cols:{type:Number,default:1},activeTitleClass:String,inactiveTitleClass:String,optionIcon:{type:String,default:"Check"}},components:{[ce.name]:ce,Check:ee.Check},emits:["update:modelValue","change","open","close"],setup(e,{emit:o,slots:l}){const n=t.reactive({showPopup:!1,transition:!0,showWrapper:!1,isShowPlaceholderElement:!1}),a=()=>{const b=t.inject("menuParent",null);if(b){const g=t.getCurrentInstance(),{link:k,removeLink:y}=b;return k(g),t.onUnmounted(()=>{y(g)}),{parent:b}}},{parent:r}=a(),s=t.computed(()=>({[Op]:!0})),i=t.computed(()=>{const b={height:r.offset.value+"px"};return r.props.direction==="down"?b:{...b,top:"auto"}});return{classes:s,placeholderElementStyle:i,renderTitle:()=>{if(e.title)return e.title;const b=e.options?.find(g=>g.value===e.modelValue);return b?b.text:""},state:n,parent:r,toggle:(b=!n.showPopup,g={})=>{b!==n.showPopup&&(n.showPopup=b,n.isShowPlaceholderElement=b,b&&(n.showWrapper=!0,o("open")))},onClick:b=>{n.showPopup=!1,n.isShowPlaceholderElement=!1,b.value!==e.modelValue&&(o("update:modelValue",b.value),o("change",b.value))},handleClose:()=>{o("close"),n.showWrapper=!1,n.isShowPlaceholderElement=!1},handleClickOutside:()=>{n.showPopup=!1,o("close")}}}}),Kp={class:"fox-menu-item__content fox-menu-item__overflow"},Up=["onClick"];function Hp(e,o,l,n,a,r){const s=t.resolveComponent("Check"),i=t.resolveComponent("fox-popup");return t.withDirectives((t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.withDirectives(t.createElementVNode("div",{onClick:o[0]||(o[0]=(...c)=>e.handleClickOutside&&e.handleClickOutside(...c)),class:t.normalizeClass(["fox-menu-item-placeholder-element",{up:e.parent.props.direction==="up"}]),style:t.normalizeStyle(e.placeholderElementStyle)},null,6),[[t.vShow,e.state.isShowPlaceholderElement]]),t.createVNode(i,t.mergeProps({style:e.parent.props.direction==="down"?{top:e.parent.offset.value+"px"}:{bottom:e.parent.offset.value+"px"},overlayStyle:e.parent.props.direction==="down"?{top:e.parent.offset.value+"px"}:{bottom:e.parent.offset.value+"px",top:"auto"}},e.$attrs,{visible:e.state.showPopup,"onUpdate:visible":o[1]||(o[1]=c=>e.state.showPopup=c),position:e.parent.props.direction==="down"?"top":"bottom",duration:e.parent.props.duration,"pop-class":"fox-menu__pop","destroy-on-close":!1,overlay:e.parent.props.overlay,onClosed:e.handleClose,lockScroll:e.parent.props.lockScroll,teleportDisable:!1,"close-on-click-overlay":e.parent.props.closeOnClickOverlay}),{default:t.withCtx(()=>[t.createElementVNode("view",Kp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.options,(c,u)=>(t.openBlock(),t.createElementBlock("view",{key:u,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.createElementBlock("span",{key:0,class:t.normalizeClass(["fox-menu-item__span",[c.value===e.modelValue?e.activeTitleClass:e.inactiveTitleClass]])},[t.renderSlot(e.$slots,"icon",{},()=>[t.createVNode(s,t.mergeProps(e.$attrs,{color:e.parent.props.activeColor}),null,16,["color"])])],2)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass([c.value===e.modelValue?e.activeTitleClass:e.inactiveTitleClass]),style:t.normalizeStyle({color:c.value===e.modelValue?e.parent.props.activeColor:""})},t.toDisplayString(c.text),7)],14,Up))),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 ul=Q(xp,[["render",Hp]]),{create:vp}=K("tabbar"),jp=vp({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,o){function l(a){n.value!==a&&(n.value=a,o.emit("update:modelValue",a),o.emit("change",a,n.children[a]))}const n=t.reactive({children:[],size:e.size,value:e.modelValue,inactiveColor:e.inactiveColor,activeColor:e.activeColor,changeIndex:l});return t.provide("parent",n),t.watch(()=>e.modelValue,a=>{n.value=a}),{changeIndex:l}}});function Wp(e,o,l,n,a,r){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 fl=Q(jp,[["render",Wp]]),{create:Yp}=K("tabbar-item"),Xp=Yp({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,o){const l=t.inject("parent"),n=t.reactive({size:l.size,inactiveColor:l.inactiveColor,activeColor:l.activeColor,value:l.value,index:0}),a=t.getCurrentInstance();a!==null&&(u=>{if(u.proxy){let f=l.children.length;n.index=f;let m=Object.assign(u.proxy,{index:f});l.children.push(m)}})(a);const r=t.computed(()=>n.index===n.value);function s(c){l&&typeof l.changeIndex=="function"&&l.changeIndex(c)}const i=t.computed(()=>l?l.value:null);return t.watch(i,c=>{n.value=c}),{state:n,active:r,change:s}}}),Qp={class:"fox-tabbar-item_icon-box"},Gp={key:0,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_num"},Zp={key:1,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_nums"},Jp={key:1,class:"fox-tabbar-item_icon-box_dot"},_p={key:2},eh={key:0};function th(e,o,l,n,a,r){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:o[0]||(o[0]=s=>e.change(e.state.index))},[t.createElementVNode("view",Qp,[e.dot?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.num&&e.num<=99?(t.openBlock(),t.createElementBlock("view",Gp,t.toDisplayString(e.num),1)):e.num&&e.num>100?(t.openBlock(),t.createElementBlock("view",Zp,t.toDisplayString("99+"))):t.createCommentVNode("",!0)],64)),e.dot?(t.openBlock(),t.createElementBlock("div",Jp)):t.createCommentVNode("",!0),e.icon?(t.openBlock(),t.createElementBlock("view",_p,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.icon),{class:"fox-tabbar-item_icon-box_icon",width:e.state.size,height:e.state.size},null,8,["width","height"]))])):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",eh,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.title?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"default",{key:1})],2)])],6)}const ml=Q(Xp,[["render",th]]),{componentName:oh,create:nh}=K("elevator"),lh=nh({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,o){const l=t.ref(null),n=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}),a=t.computed(()=>({[oh]:!0})),r=t.computed(()=>({transform:`translate3d(0, ${n.scrollY+n.fixedTop}px, 0)`})),s=t.computed(()=>l.value.clientHeight),i=(d,p)=>{const S="data-";return d.getAttribute(S+p)},c=d=>{t.nextTick(()=>{!n.listGroup.includes(d)&&d!=null&&n.listGroup.push(d)})},u=()=>{let d=0;n.listHeight.push(d);for(let p=0;p<n.listGroup.length;p++){let S=n.listGroup[p];d+=Math.floor(S.clientHeight),n.listHeight.push(d)}},f=d=>{!d&&d!==0||(d<0&&(d=0),d>n.listHeight.length-2&&(d=n.listHeight.length-2),n.codeIndex=d,l.value.scrollTo(0,n.listHeight[d]))},m=d=>{n.scrollStart=!0;let p=i(d.target,"index"),S=d.touches[0];n.touchState.y1=S.pageY,n.anchorIndex=+p,n.codeIndex=+p,f(+p)},h=d=>{let p=d.touches[0];n.touchState.y2=p.pageY;let S=(n.touchState.y2-n.touchState.y1)/e.spaceHeight|0;n.codeIndex=n.anchorIndex+S,f(n.codeIndex)},b=()=>{n.scrollStart=!1},g=(d,p)=>{o.emit("click-item",d,p),n.currentData=p,n.currentKey=d},k=d=>{o.emit("click-index",d)},y=d=>{let S=d.target.scrollTop;const w=n.listHeight;n.scrollY=S;for(let E=0;E<w.length-1;E++){let $=w[E],q=w[E+1];if(n.scrollY>=$&&n.scrollY<q){n.currentIndex=E,n.diff=q-n.scrollY;return}}n.currentIndex=w.length-2};return t.onMounted(()=>{l.value.addEventListener("scroll",y)}),De({scrollTo:f}),t.watch(()=>n.listGroup.length,()=>{n.listHeight=[],t.nextTick(u)}),t.watch(()=>n.diff,d=>{const p=n.listHeight;let S=d>0&&d<e.titleHeight?d-e.titleHeight:0;n.scrollY+s.value===p[p.length-1]&&S!==0&&(S=0),n.fixedTop!==S&&(n.fixedTop=S)}),t.watch(()=>n.currentIndex,d=>{o.emit("change",d)}),{classes:a,...t.toRefs(n),fixedStyle:r,clientHeight:s,setListGroup:c,listview:l,touchStart:m,touchMove:h,touchEnd:b,handleClickItem:g,handleClickIndex:k}}}),ah={class:"fox-elevator__list__item__code"},rh=["onClick"],sh=["innerHTML"],ih={class:"fox-elevator__fixed-title"},ch={class:"fox-elevator__bars__inner"},dh=["data-index","onClick"];function uh(e,o,l,n,a,r){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,s=>(t.openBlock(),t.createElementBlock("view",{class:"fox-elevator__list__item",key:s[e.acceptKey],ref_for:!0,ref:e.setListGroup},[t.createElementVNode("view",ah,t.toDisplayString(s[e.acceptKey]),1),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.list,i=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-elevator__list__item__name",{"fox-elevator__list__item__name--highcolor":e.currentData.id===i.id&&e.currentKey===s[e.acceptKey]}]),key:i.id,onClick:c=>e.handleClickItem(s[e.acceptKey],i)},[e.$slots.default?t.renderSlot(e.$slots,"default",{key:1,item:i}):(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:i.name},null,8,sh))],10,rh))),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",ih,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:o[0]||(o[0]=(...s)=>e.touchStart&&e.touchStart(...s)),onTouchmove:o[1]||(o[1]=t.withModifiers((...s)=>e.touchMove&&e.touchMove(...s),["stop","prevent"])),onTouchend:o[2]||(o[2]=(...s)=>e.touchEnd&&e.touchEnd(...s))},[t.createElementVNode("view",ch,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.indexList,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-elevator__bars__inner__item",{active:s[e.acceptKey]===e.indexList[e.currentIndex][e.acceptKey]}]),"data-index":i,key:s[e.acceptKey],onClick:c=>e.handleClickIndex(s[e.acceptKey])},t.toDisplayString(s[e.acceptKey]),11,dh))),128))])],32)],2)}const Mt=Q(lh,[["render",uh]]),{componentName:uB,create:fh,scope:mh}=K("pagination"),ph=fh({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:o}){const{toLocaleRefs:l}=se.useFoxI18n(mh),n=l(e,["prevText","nextText"]),{modelValue:a,mode:r,showPageSize:s,forceEllipses:i}=t.toRefs(e),c=t.computed(()=>{const{pageCount:h,totalItems:b,itemsPerPage:g}=t.toRefs(e),k=+h.value||Math.ceil(+b.value/+g.value);return Math.max(1,k)}),u=(h,b)=>{h>c.value||h<1||(h!=a.value&&o("update:modelValue",h),b&&o("change",h))},f=(h,b,g=!1)=>({number:h,text:b,active:g}),m=t.computed(()=>{if(r.value=="simple")return;let h=[];const b=c.value,g=+s.value;let k=1,y=b;const d=b>g;d&&(k=Math.max(a.value-Math.floor(g/2),1),y=k+g-1,y>b&&(y=b,k=y-g+1));for(var p=k;p<=y;p++){const S=f(p,p,a.value==p);h.push(S)}if(d&&g>0&&i.value){if(k>1){const S=f(k-1,"...");h.unshift(S)}if(y<b){const S=f(y+1,"...");h.push(S)}}return h});return t.watchEffect(()=>{u(a.value,!1)}),{...n,modelValue:a,select:u,countRef:c,mode:r,pages:m,forceEllipses:i}}}),hh={class:"fox-pagination"},gh={key:0,class:"fox-pagination-contain"},yh=["onClick"],kh={key:1,class:"fox-pagination-contain"},bh={class:"fox-pagination-simple"};function Sh(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",hh,[t.createElementVNode("view",{class:t.normalizeClass(["fox-pagination-prev",e.mode=="multi"?"":"simple-border",e.modelValue==1?"disabled":""]),onClick:o[0]||(o[0]=s=>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",gh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.pages,(s,i)=>(t.openBlock(),t.createElementBlock("view",{key:i+"pagination",class:t.normalizeClass(["fox-pagination-item",s.active?"active":""]),onClick:c=>e.select(s.number,!0)},[t.renderSlot(e.$slots,"page",{item:s},()=>[t.createTextVNode(t.toDisplayString(s.text),1)])],10,yh))),128))])):t.createCommentVNode("",!0),e.mode=="simple"?(t.openBlock(),t.createElementBlock("view",kh,[t.createElementVNode("view",bh,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:o[1]||(o[1]=s=>e.select(e.modelValue+1,!0))},[t.renderSlot(e.$slots,"next-text",{},()=>[t.createTextVNode(t.toDisplayString(e.nextText),1)])],2)])}const pl=Q(ph,[["render",Sh]]),{componentName:es,create:Ch}=K("indicator"),wh=Ch({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:o,align:l}=t.toRefs(e);return{classes:t.computed(()=>{const a=es;return{[a]:!0,[`${a}--block`]:o.value,[`${a}--align__${l.value}`]:o.value&&l.value}}),componentName:es,padZero:et}}});function Nh(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.size,s=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:s},[s===e.current?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(`${e.componentName}--number`)},t.toDisplayString(e.fillZero&&e.padZero(s)||s),3)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(`${e.componentName}--dot`)},null,2))],64))),128))],2)}const hl=Q(wh,[["render",Nh]]),{componentName:Bh,create:Vh}=K("side-navbar"),Ah=Vh({props:{offset:{type:[String,Number],default:15}},emits:[],setup:e=>{const o=t.ref(null),l=t.reactive({count:1,observer:null}),n=t.computed(()=>({[Bh]:!0})),a=(s,i=1)=>{for(let c=0;c<s.length;c++){let u=s[c];u?.children?.[0]&&(u.children[0].style.paddingLeft=+e.offset*i+"px",u.className.includes("fox-side-navbar-item")||a(Array.from(u.children[1].children),++l.count))}l.count--},r=()=>{let s=o.value.childNodes;s.length&&(s=Array.from(s).filter(i=>i.nodeType!==3).map(i=>i),a(s))};return t.onMounted(()=>{r(),l.observer=new MutationObserver(function(){l.count=1,r()}),l.observer.observe(o.value,{attributes:!1,childList:!0,characterData:!1,subtree:!0})}),{...t.toRefs(l),list:o,classes:n}}}),Eh={class:"fox-side-navbar__content"},Th={class:"fox-side-navbar__content__list",ref:"list"};function $h(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",Eh,[t.createElementVNode("view",Th,[t.renderSlot(e.$slots,"default")],512)])],2)}const gl=Q(Ah,[["render",$h]]),{componentName:Dh,create:Ih}=K("side-navbar-item"),zh=Ih({props:{title:{type:String,default:""},ikey:{type:String,default:""}},emits:["click"],setup:(e,o)=>({classes:t.computed(()=>({[Dh]:!0})),handleClick:()=>{o.emit("click")}})}),qh=["ikey"],Mh={class:"fox-side-navbar-item__title"};function Ph(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=t.withModifiers((...s)=>e.handleClick&&e.handleClick(...s),["stop"])),ikey:e.ikey},[t.createElementVNode("span",Mh,t.toDisplayString(e.title),1)],10,qh)}const yl=Q(zh,[["render",Ph]]),{componentName:Rh,create:Lh}=K("sub-side-navbar"),Oh=Lh({props:{title:{type:String,default:""},ikey:{type:[String,Number],default:""},open:{type:Boolean,default:!0}},components:{ArrowDown2:ee.ArrowDown2,ArrowUp2:ee.ArrowUp2},emits:["title-click"],setup:(e,o)=>{const l=t.reactive({direction:""}),n=t.computed(()=>({[Rh]:!0})),a=t.computed(()=>({height:l.direction?"0px":"auto"})),r=()=>{o.emit("title-click"),l.direction=l.direction?"":"up"};return t.onMounted(()=>{l.direction=e.open?"":"up"}),{...t.toRefs(l),classes:n,style:a,handleClick:r}}}),Fh=["ikey"],xh={class:"fox-sub-side-navbar__title__text"},Kh={class:"fox-sub-side-navbar__title__icon"};function Uh(e,o,l,n,a,r){const s=t.resolveComponent("ArrowDown2"),i=t.resolveComponent("ArrowUp2");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ikey:e.ikey},[t.createElementVNode("view",{class:"fox-sub-side-navbar__title",onClick:o[0]||(o[0]=t.withModifiers((...c)=>e.handleClick&&e.handleClick(...c),["stop"]))},[t.createElementVNode("span",xh,t.toDisplayString(e.title),1),t.createElementVNode("span",Kh,[e.direction?(t.openBlock(),t.createBlock(i,{key:1})):(t.openBlock(),t.createBlock(s,{key:0}))])]),t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(["fox-sub-side-navbar__list",e.direction?"nutFadeOut":"nutFadeIn"]),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6),[[t.vShow,!e.direction]])],10,Fh)}const kl=Q(Oh,[["render",Uh]]),{componentName:Hh,create:vh}=K("range"),jh=vh({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:o}){const l=t.ref(0);let n,a;const r=t.ref(),s=t.ref(),i=Ue(),c=t.computed(()=>{const{marks:T,max:N,min:I}=e;return Object.keys(T).map(parseFloat).sort((M,x)=>M-x).filter(M=>M>=I&&M<=N)}),u=t.computed(()=>Number(e.max)-Number(e.min)),f=t.computed(()=>{const T=Hh;return{[T]:!0,[`${T}-disabled`]:e.disabled,[`${T}-vertical`]:e.vertical,[`${T}-show-number`]:!e.hiddenRange}}),m=t.computed(()=>{const T="fox-range-container";return{[T]:!0,[`${T}-vertical`]:e.vertical}}),h=t.computed(()=>({background:e.inactiveColor})),b=t.computed(()=>({borderColor:e.buttonColor})),g=T=>!!e.range&&Array.isArray(T),k=()=>{const{modelValue:T,min:N}=e;return g(T)?`${(T[1]-T[0])*100/u.value}%`:`${(T-Number(N))*100/u.value}%`},y=()=>{const{modelValue:T,min:N}=e;return g(T)?`${(T[0]-Number(N))*100/u.value}%`:"0%"},d=t.computed(()=>e.vertical?{height:k(),top:y(),background:e.activeColor,transition:s.value?"none":void 0}:{width:k(),left:y(),background:e.activeColor,transition:s.value?"none":void 0}),p=T=>{const N="fox-range-mark",{modelValue:I,max:B,min:R}=e;let M=Number(R),x=Number(B);if(e.range){const[_,G]=I;M=_,x=G}else x=I;let W=T<=x&&T>=M;return{[`${N}-text`]:!0,[`${N}-text-active`]:W}},S=T=>{const{min:N,vertical:I}=e;let B={left:`${(T-Number(N))/u.value*100}%`};return I&&(B={top:`${(T-Number(N))/u.value*100}%`}),B},w=T=>{const{modelValue:N,max:I,min:B}=e;let R=Number(B),M=Number(I);if(e.range){const[_,G]=N;R=_,M=G}return{background:T<=M&&T>=R?e.activeColor:e.inactiveColor}},E=T=>{const{min:N,max:I,step:B}=e;return T=Math.max(+N,Math.min(T,+I)),Math.round(T/+B)*+B},$=(T,N)=>JSON.stringify(T)===JSON.stringify(N),q=T=>T[0]>T[1]?T.slice(0).reverse():T,D=(T,N)=>{g(T)?T=q(T).map(E):T=E(T),$(T,e.modelValue)||o("update:modelValue",T),N&&!$(T,n)&&o("change",T)},z=T=>{if(e.disabled)return;const{min:N,modelValue:I}=e,B=Ae(r);let R=T.clientX-B.left,M=B.width;e.vertical&&(R=T.clientY-B.top,M=B.height);const x=Number(N)+R/M*u.value;if(g(I)){const[W,_]=I,G=(W+_)/2;x<=G?D([x,_],!0):D([W,x],!0)}else D(x,!0)},V=T=>{e.disabled||(i.start(T),a=e.modelValue,g(a)?n=a.map(E):n=E(a),s.value="start")},A=T=>{if(e.disabled)return;s.value==="start"&&o("drag-start"),i.move(T),s.value="draging";const N=Ae(r);let I=i.deltaX.value,B=N.width,R=I/B*u.value;e.vertical&&(I=i.deltaY.value,B=N.height,R=I/B*u.value),g(n)?a[l.value]=n[l.value]+R:a=n+R,D(a),T.stopPropagation(),T.preventDefault()},L=()=>{e.disabled||(s.value==="draging"&&(D(a,!0),o("drag-end")),s.value="")},P=T=>Gt(e.modelValue)&&typeof T=="number"?e.modelValue[T]:Number(e.modelValue);return{root:r,classes:f,wrapperStyle:h,buttonStyle:b,onClick:z,onTouchStart:V,onTouchMove:A,onTouchEnd:L,...t.toRefs(e),barStyle:d,curValue:P,buttonIndex:l,containerClasses:m,markClassName:p,marksStyle:S,marksList:c,tickStyle:w}}}),Wh={key:0,class:"fox-range-min"},Yh={key:0,class:"fox-range-mark"},Xh=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","onTouchstart"],Qh={key:0,class:"number"},Gh=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax"],Zh={key:0,class:"number"},Jh={key:1,class:"fox-range-max"};function _h(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.containerClasses)},[e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Wh,t.toDisplayString(+e.min),1)),t.createElementVNode("view",{ref:"root",style:t.normalizeStyle(e.wrapperStyle),class:t.normalizeClass(e.classes),onClick:o[9]||(o[9]=t.withModifiers((...s)=>e.onClick&&e.onClick(...s),["stop"]))},[e.marksList.length>0?(t.openBlock(),t.createElementBlock("view",Yh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.marksList,s=>(t.openBlock(),t.createElementBlock("span",{key:s,class:t.normalizeClass(e.markClassName(s)),style:t.normalizeStyle(e.marksStyle(s))},[t.createTextVNode(t.toDisplayString(s)+" ",1),t.createElementVNode("span",{class:"fox-range-tick",style:t.normalizeStyle(e.tickStyle(s))},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],s=>t.createElementVNode("view",{key:s,role:"slider",class:t.normalizeClass({"fox-range-button-wrapper-left":s==0,"fox-range-button-wrapper-right":s==1}),tabindex:e.disabled?-1:0,"aria-valuemin":+e.min,"aria-valuenow":e.curValue(s),"aria-valuemax":+e.max,"aria-orientation":"horizontal",onTouchstart:t.withModifiers(i=>{typeof s=="number"&&(e.buttonIndex=s),e.onTouchStart(i)},["stop","prevent"]),onTouchmove:o[0]||(o[0]=t.withModifiers((...i)=>e.onTouchMove&&e.onTouchMove(...i),["stop","prevent"])),onTouchend:o[1]||(o[1]=t.withModifiers((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onTouchcancel:o[2]||(o[2]=t.withModifiers((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onClick:o[3]||(o[3]=i=>i.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",Qh,t.toDisplayString(e.curValue(s)),1))],4))],42,Xh)),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:o[4]||(o[4]=t.withModifiers(s=>{e.onTouchStart(s)},["stop","prevent"])),onTouchmove:o[5]||(o[5]=t.withModifiers((...s)=>e.onTouchMove&&e.onTouchMove(...s),["stop","prevent"])),onTouchend:o[6]||(o[6]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onTouchcancel:o[7]||(o[7]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onClick:o[8]||(o[8]=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",Zh,t.toDisplayString(e.curValue()),1))],4))],40,Gh))],4)],6),e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Jh,t.toDisplayString(+e.max),1))],2)}const Pt=Q(jh,[["render",_h]]),{create:eg,scope:tg}=K("searchbar"),og=eg({props:{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,default:()=>ee.CircleClose},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:o}){const{toLocaleRefs:l}=se.useFoxI18n(tg),n=l(e,["placeholder"]),a=t.reactive({active:!1}),r=t.computed(()=>({background:e.background})),s=t.computed(()=>({background:e.inputBackground})),i=p=>{let w=p.target.value;e.maxLength&&w.length>Number(e.maxLength)&&(w=w.slice(0,Number(e.maxLength))),o("update:modelValue",w,p),o("change",w,p)},c=t.ref({}),u=p=>{let w=p.target.value;a.active=!0,c.value=e.focusStyle,o("focus",w,p)},f=p=>{setTimeout(()=>{a.active=!1},0);let w=p.target.value;e.maxLength&&w.length>Number(e.maxLength)&&(w=w.slice(0,Number(e.maxLength))),c.value={},o("blur",w,p)},m=p=>{o("update:modelValue","",p),o("change","",p),o("clear","")},h=()=>{o("search",e.modelValue)},b=p=>{o("click-input",p)},g=p=>{o("click-left-icon",e.modelValue,p)},k=p=>{o("click-right-icon",e.modelValue,p)},y=t.computed(()=>({textAlign:e.inputAlign})),d=t.ref(null);return t.onMounted(()=>{e.autofocus&&d.value.focus()}),{...n,inputsearch:d,...t.toRefs(a),valueChange:i,valueFocus:u,valueBlur:f,handleClear:m,handleSubmit:h,searchbarStyle:r,inputSearchbarStyle:s,focusCss:c,clickInput:b,leftIconClick:g,rightIconClick:k,styleSearchbar:y}}}),ng={key:0,class:"fox-searchbar__search-label"},lg={key:1,class:"fox-searchbar__search-icon fox-searchbar__left-search-icon"},ag=["type","maxlength","placeholder","value","disabled","readonly"],rg={key:1,class:"fox-searchbar__search-icon fox-searchbar__iptright-search-icon"},sg={key:2,class:"fox-searchbar__search-icon fox-searchbar__right-search-icon"};function ig(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:"fox-searchbar",style:t.normalizeStyle(e.searchbarStyle)},[e.label?(t.openBlock(),t.createElementBlock("span",ng,t.toDisplayString(e.label),1)):t.createCommentVNode("",!0),e.$slots.leftout?(t.openBlock(),t.createElementBlock("view",lg,[t.renderSlot(e.$slots,"leftout")])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-searchbar__search-input",e.shape]),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:o[0]||(o[0]=(...s)=>e.leftIconClick&&e.leftIconClick(...s))},[t.renderSlot(e.$slots,"leftin")])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-searchbar__input-inner",e.$slots.rightin&&"fox-searchbar__input-inner-absolute"])},[t.createElementVNode("form",{class:"fox-searchbar__input-form",action:"#",onSubmit:o[5]||(o[5]=t.withModifiers((...s)=>e.handleSubmit&&e.handleSubmit(...s),["prevent"]))},[t.createElementVNode("input",{ref:"inputsearch",class:t.normalizeClass(["fox-searchbar__input-bar",e.clearable&&"fox-searchbar__input-bar_clear"]),type:e.inputType,maxlength:e.maxLength,placeholder:e.placeholder,value:e.modelValue,disabled:e.disabled,readonly:e.readonly,onClick:o[1]||(o[1]=(...s)=>e.clickInput&&e.clickInput(...s)),onInput:o[2]||(o[2]=(...s)=>e.valueChange&&e.valueChange(...s)),onFocus:o[3]||(o[3]=(...s)=>e.valueFocus&&e.valueFocus(...s)),onBlur:o[4]||(o[4]=(...s)=>e.valueBlur&&e.valueBlur(...s)),style:t.normalizeStyle(e.styleSearchbar)},null,46,ag)],32)],2),t.createElementVNode("view",{class:t.normalizeClass(["fox-searchbar__input-inner-icon",e.$slots.rightin&&"fox-searchbar__input-inner-icon-absolute"])},[e.clearable?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,onClick:o[6]||(o[6]=(...s)=>e.handleClear&&e.handleClear(...s)),class:"fox-searchbar__search-icon fox-searchbar__input-clear"},[e.$slots["clear-icon"]?t.renderSlot(e.$slots,"clear-icon",{key:0}):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.clearIcon),{key:1}))],512)),[[t.vShow,String(e.modelValue).length>0]]):t.createCommentVNode("",!0),e.$slots.rightin?(t.openBlock(),t.createElementBlock("view",rg,[t.renderSlot(e.$slots,"rightin")])):t.createCommentVNode("",!0)],2)],6),e.$slots.rightout?(t.openBlock(),t.createElementBlock("view",sg,[t.renderSlot(e.$slots,"rightout")])):t.createCommentVNode("",!0)],4)}const bl=Q(og,[["render",ig]]),{componentName:cg,create:dg}=K("input-number"),ug=dg({components:{Minus:ee.Minus,Plus:ee.Plus},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}},emits:["update:modelValue","change","blur","focus","reduce","add","overlimit"],setup(e,{emit:o}){const l=t.computed(()=>{const b=cg;return{[b]:!0,[`${b}--disabled`]:e.disabled}}),n=b=>Number(b).toFixed(Number(e.decimalPlaces)),a=b=>{const g=b.target;o("update:modelValue",g.valueAsNumber,b)},r=(b,g)=>{let k=n(b);o("update:modelValue",k,g),o("change",k,g)},s=(b=Number(e.modelValue))=>b<Number(e.max)&&!e.disabled,i=(b=Number(e.modelValue))=>b>Number(e.min)&&!e.disabled,c=b=>{if(o("reduce",b),i()){let g=Number(e.modelValue)-Number(e.step);r(g,b)}else o("overlimit",b,"reduce")},u=b=>{if(o("add",b),s()){let g=Number(e.modelValue)+Number(e.step);r(g,b)}else o("overlimit",b,"add")},f=b=>{e.disabled||e.readonly||o("focus",b)},m=b=>{if(e.disabled||e.readonly)return;let k=b.target.valueAsNumber;k<Number(e.min)?k=Number(e.min):k>Number(e.max)&&(k=Number(e.max)),r(k,b),o("blur",b)},h=b=>{let g=Number(b);return g<Number(e.min)?g=Number(e.min):g>Number(e.max)&&(g=Number(e.max)),g};return t.watch(()=>[e.max,e.min],()=>{Number(e.min)>Number(e.max)&&console.warn("[FoxUI] <InputNumber>","props.max < props.min");const b=h(e.modelValue);b!==Number(e.modelValue)&&r(b,{})}),{classes:l,change:a,blur:m,focus:f,add:u,addAllow:s,reduce:c,reduceAllow:i,toPxDesc:de}}}),fg=["min","max","disabled","readonly","value"];function mg(e,o,l,n,a,r){const s=t.resolveComponent("Minus"),i=t.resolveComponent("Plus");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["fox-input-number__icon fox-input-number__left",{"fox-input-number__icon--disabled":!e.reduceAllow()}]),onClick:o[0]||(o[0]=(...c)=>e.reduce&&e.reduce(...c))},[t.renderSlot(e.$slots,"left-icon",{},()=>[t.createVNode(s,{width:e.toPxDesc(e.buttonSize),height:e.toPxDesc(e.buttonSize)},null,8,["width","height"])])],2),t.createElementVNode("input",{type:"number",min:e.min,max:e.max,style:t.normalizeStyle({width:e.toPxDesc(e.inputWidth),height:e.toPxDesc(e.buttonSize)}),disabled:e.disabled,readonly:e.readonly,value:e.modelValue,onInput:o[1]||(o[1]=(...c)=>e.change&&e.change(...c)),onBlur:o[2]||(o[2]=(...c)=>e.blur&&e.blur(...c)),onFocus:o[3]||(o[3]=(...c)=>e.focus&&e.focus(...c))},null,44,fg),t.createElementVNode("view",{class:t.normalizeClass(["fox-input-number__icon fox-input-number__right",{"fox-input-number__icon--disabled":!e.addAllow()}]),onClick:o[4]||(o[4]=(...c)=>e.add&&e.add(...c))},[t.renderSlot(e.$slots,"right-icon",{},()=>[t.createVNode(i,{width:e.toPxDesc(e.buttonSize),height:e.toPxDesc(e.buttonSize)},null,8,["width","height"])])],2)],2)}const rt=Q(ug,[["render",mg]]),{create:pg,scope:hg}=K("short-password"),gg=pg({components:{[ce.name]:ce,Tips:ee.Tips},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:""},closeOnClickOverlay:{type:Boolean,default:!0},length:{type:[String,Number],default:6}},emits:["update:modelValue","update:visible","complete","tips","close","focus"],setup(e,{emit:o}){const{toLocaleRefs:l}=se.useFoxI18n(hg),n=l(e,["title","desc","tips"]),a=t.ref(e.modelValue),r=t.computed(()=>u(Number(e.length))),s=t.ref(e.visible),i=m=>{m.stopPropagation(),o("focus")};t.watch(()=>e.visible,m=>{s.value=m}),t.watch(()=>e.modelValue,m=>{a.value=m,String(m).length===r.value&&o("complete",m)});const c=()=>{o("update:visible",!1),o("close")},u=m=>Math.min(Math.max(4,m),6);return{comLen:r,realInput:a,onTouchStart:i,range:u,close:c,onTips:()=>{o("tips")},show:s,...n}}}),yg={class:"fox-short-password-title"},kg={class:"fox-short-password-subtitle"},bg={class:"fox-short-password-wrapper"},Sg={key:0,class:"fox-short-password__item-icon"},Cg={class:"fox-short-password__message"},wg={class:"fox-short-password--error"},Ng={key:0,class:"fox-short-password--forget"};function Bg(e,o,l,n,a,r){const s=t.resolveComponent("Tips"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",null,[t.createVNode(i,{style:{padding:"30px 24px 20px 24px",borderRadius:"12px",textAlign:"center",top:"45%"},visible:e.show,"onUpdate:visible":o[2]||(o[2]=c=>e.show=c),closeable:!0,onClickCloseIcon:e.close,"close-on-click-overlay":e.closeOnClickOverlay,onClickOverlay:e.close,teleportDisable:!1},{default:t.withCtx(()=>[t.createElementVNode("view",yg,t.toDisplayString(e.title),1),t.createElementVNode("view",kg,t.toDisplayString(e.desc),1),t.createElementVNode("div",bg,[t.createElementVNode("view",{class:"fox-short-password__list",onTouchstart:o[0]||(o[0]=(...c)=>e.onTouchStart&&e.onTouchStart(...c))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(new Array(e.comLen),(c,u)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-short-password__item",key:u},[String(e.realInput).length>u?(t.openBlock(),t.createElementBlock("view",Sg)):t.createCommentVNode("",!0)]))),128))],32)]),t.createElementVNode("view",Cg,[t.createElementVNode("view",wg,t.toDisplayString(e.errorMsg),1),e.tips?(t.openBlock(),t.createElementBlock("view",Ng,[t.createVNode(s,{class:"icon",width:"11px",height:"11px"}),t.createElementVNode("view",{onClick:o[1]||(o[1]=(...c)=>e.onTips&&e.onTips(...c))},t.toDisplayString(e.tips),1)])):t.createCommentVNode("",!0)])]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay"])])}const Sl=Q(gg,[["render",Bg]]);class Vg{url="";name="file";fileType="image";formData;sourceFile;method="post";xhrState=200;timeout=30*1e3;headers={};withCredentials=!1;onStart;taroFilePath;onProgress;onSuccess;onFailure;beforeXhrUpload}let Ag=class{options;constructor(o){this.options=o}upload(){const o=this.options,l=new XMLHttpRequest;if(l.timeout=o.timeout,l.upload){l.upload.addEventListener("progress",n=>{o.onProgress?.(n,o)},!1),l.onreadystatechange=()=>{l.readyState===4&&(l.status==o.xhrState?o.onSuccess?.(l.responseText,o):o.onFailure?.(l.responseText,o))},l.withCredentials=o.withCredentials,l.open(o.method,o.url,!0);for(const[n,a]of Object.entries(o.headers))l.setRequestHeader(n,a);o.onStart?.(o),o.beforeXhrUpload?o.beforeXhrUpload(l,o):l.send(o.formData)}else console.warn("浏览器不支持 XMLHttpRequest")}};class Eg{status="ready";message="ready";uid=new Date().getTime().toString();name;url;type;path;percentage=0;formData={}}const ts=(e,{args:o=[],done:l,canceled:n})=>{if(e){const a=e.apply(null,o);Qo(a)?a.then(r=>{r?l(r):n&&n()}).catch(()=>{}):a?l():n&&n()}else l()},{create:Tg}=K("progress"),$g=Tg({components:{Checked:ee.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 o=!!t.useSlots().default,l=t.ref(e.strokeWidth+"px"),n=t.ref(),a=t.ref(),r=t.computed(()=>e.percentage>=100?100:e.percentage),s=t.computed(()=>({width:r.value+"%",background:e.strokeColor||""})),i=t.computed(()=>({color:e.textColor||""}));return t.onMounted(()=>{}),{height:l,percentage:r,bgStyle:s,textStyle:i,progressOuter:n,insideText:a,slotDefault:o}}}),Dg={class:"fox-progress"},Ig={key:0,class:"fox-progress-text"};function zg(e,o,l,n,a,r){const s=t.resolveComponent("Checked");return t.openBlock(),t.createElementBlock("div",Dg,[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)},null,6),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),e.showText&&!e.textInside?(t.openBlock(),t.createElementBlock("div",Ig,[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.renderSlot(e.$slots,"icon-name",{key:1},()=>[t.createVNode(s,{width:"15px",height:"15px",color:"#439422"})]):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])}const Rt=Q($g,[["render",zg]]),{componentName:qg,create:Mg,scope:Pg}=K("uploader"),Rg=Mg({components:{[Rt.name]:Rt,Photograph:ee.Photograph,Failure:ee.Failure,Loading:ee.Loading,Del:ee.Del,Link:ee.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,o)=>!0},onChange:{type:Function}},emits:["start","progress","oversize","success","failure","change","delete","update:fileList","file-item-click"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(Pg),n=t.reactive(e.fileList);let a=[];const r=t.computed(()=>({[qg]:!0})),s=()=>{let p={class:"fox-uploader__input",type:"file",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled};return e.capture&&(p.capture="camera"),t.h("input",p)},i=p=>{p.value=""},c=p=>{o("file-item-click",{fileItem:p})},u=(p,S)=>{const w=new Vg;w.url=e.url,w.formData=p.formData,w.timeout=e.timeout*1,w.method=e.method,w.xhrState=e.xhrState,w.headers=e.headers,w.withCredentials=e.withCredentials,w.beforeXhrUpload=e.beforeXhrUpload;try{w.sourceFile=p.formData.get(e.name)}catch{}w.onStart=$=>{p.status="ready",p.message=l("readyUpload"),f(S),o("start",$)},w.onProgress=($,q)=>{p.status="uploading",p.message=l("uploading"),p.percentage=($.loaded/$.total*100).toFixed(0),o("progress",{event:$,option:q,percentage:p.percentage})},w.onSuccess=($,q)=>{p.status="success",p.message=l("success"),o("success",{responseText:$,option:q,fileItem:p}),o("update:fileList",n)},w.onFailure=($,q)=>{p.status="error",p.message=l("error"),o("failure",{responseText:$,option:q,fileItem:p})};let E=new Ag(w);e.autoUpload?E.upload():a.push(new Promise(($,q)=>{$(E)}))},f=(p=-1)=>{p>-1?a.splice(p,1):(a=[],n.splice(0,n.length))},m=()=>{Promise.all(a).then(p=>{p.forEach(S=>S.upload())})},h=p=>{p.forEach((S,w)=>{const E=new FormData;for(const[q,D]of Object.entries(e.data))E.append(q,D);E.append(e.name,S);const $=t.reactive(new Eg);if($.name=S.name,$.status="ready",$.type=S.type,$.formData=E,$.message=l("waitingUpload"),u($,w),e.isPreview&&S.type.includes("image")){const q=new FileReader;q.onload=D=>{$.url=D.target.result,n.push($)},q.readAsDataURL(S)}else n.push($)})},b=p=>{const S=e.maximum*1,w=e.maximize*1,E=new Array;p=p.filter(q=>q.size>w?(E.push(q),!1):!0),E.length&&o("oversize",E);let $=p.length+n.length;return $>S&&p.splice(p.length-($-S)),p},g=(p,S)=>{n.splice(S,1),o("delete",{file:p,fileList:n,index:S})},k=(p,S)=>{f(S),ts(e.beforeDelete,{args:[p,n],done:()=>g(p,S)})},y=p=>{if(e.disabled)return;const S=p.target;let{files:w}=S;e.beforeUpload?e.beforeUpload(w).then(E=>d(E)):d(w),o("change",{fileList:n,event:p}),e.clearInput&&i(S)},d=p=>{const S=b(new Array().slice.call(p));h(S)};return{onChange:y,onDelete:k,fileList:n,classes:r,fileItemClick:c,clearUploadQueue:f,submit:m,renderInput:s}}}),Lg={key:0,class:"fox-uploader__slot"},Og={key:0,class:"fox-uploader__preview-img"},Fg={key:0,class:"fox-uploader__preview__progress"},xg={class:"fox-uploader__preview__progress__msg"},Kg=["onClick"],Ug=["onClick","src"],Hg={key:3,class:"fox-uploader__preview-img__file"},vg=["onClick"],jg={class:"file__name_tips"},Wg={class:"tips"},Yg={key:1,class:"fox-uploader__preview-list"},Xg=["onClick"],Qg={class:"file__name_tips"};function Gg(e,o,l,n,a,r){const s=t.resolveComponent("Failure"),i=t.resolveComponent("Loading"),c=t.resolveComponent("Link"),u=t.resolveComponent("Del"),f=t.resolveComponent("fox-progress"),m=t.resolveComponent("Photograph");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.$slots.default?(t.openBlock(),t.createElementBlock("view",Lg,[t.renderSlot(e.$slots,"default"),Number(e.maximum)-e.fileList.length?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderInput),{key:0,onChange:e.onChange},null,40,["onChange"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.fileList,(h,b)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-uploader__preview",[e.listType]]),key:h.uid},[e.listType=="picture"&&!e.$slots.default?(t.openBlock(),t.createElementBlock("view",Og,[h.status!="success"?(t.openBlock(),t.createElementBlock("view",Fg,[h.status!="ready"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[h.status=="error"?(t.openBlock(),t.createBlock(s,{key:0,color:"#fff"})):(t.openBlock(),t.createBlock(i,{key:1,name:"loading",color:"#fff"}))],64)):t.createCommentVNode("",!0),t.createElementVNode("view",xg,t.toDisplayString(h.message),1)])):t.createCommentVNode("",!0),e.isDeletable?(t.openBlock(),t.createElementBlock("view",{key:1,class:"close",onClick:g=>e.onDelete(h,b)},[t.renderSlot(e.$slots,"delete-icon",{},()=>[t.createVNode(s)])],8,Kg)):t.createCommentVNode("",!0),h?.type?.includes("image")&&h.url?(t.openBlock(),t.createElementBlock("img",{key:2,class:"fox-uploader__preview-img__c",onClick:g=>e.fileItemClick(h),src:h.url},null,8,Ug)):(t.openBlock(),t.createElementBlock("view",Hg,[t.createElementVNode("view",{onClick:g=>e.fileItemClick(h),class:"fox-uploader__preview-img__file__name"},[t.createElementVNode("view",jg,t.toDisplayString(h.name),1)],8,vg)])),t.createElementVNode("view",Wg,t.toDisplayString(h.name),1)])):e.listType=="list"?(t.openBlock(),t.createElementBlock("view",Yg,[t.createElementVNode("view",{onClick:g=>e.fileItemClick(h),class:t.normalizeClass(["fox-uploader__preview-img__file__name",[h.status]])},[t.createVNode(c,{class:"fox-uploader__preview-img__file__link"}),t.createElementVNode("view",Qg,t.toDisplayString(h.name),1),e.isDeletable?(t.openBlock(),t.createBlock(u,{key:0,color:"#808080",class:"fox-uploader__preview-img__file__del",onClick:g=>e.onDelete(h,b)},null,8,["onClick"])):t.createCommentVNode("",!0)],10,Xg),h.status=="uploading"?(t.openBlock(),t.createBlock(f,{key:0,size:"small",percentage:h.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&&Number(e.maximum)-e.fileList.length?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(["fox-uploader__upload",[e.listType]])},[t.renderSlot(e.$slots,"upload-icon",{},()=>[t.createVNode(m,{color:"#808080"})]),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderInput),{onChange:e.onChange},null,40,["onChange"]))],2)):t.createCommentVNode("",!0)],2)}const Cl=Q(Rg,[["render",Gg]]),Zg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAnCAYAAABJ0cukAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sb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("number-keyboard"),ty=_g({components:{[ce.name]:ce},props:{confirmText:{type:String,default:""},title:{type:String,default:""},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:o}){const{toLocaleRefs:l}=se.useFoxI18n(ey),n=l(e,["confirmText"]),a=t.ref(void 0),r=t.ref(e.visible),s=t.ref();function i(){const{customKey:d}=e;let p={id:"lock",type:"lock"},S=Array.isArray(d)?d:[d];return S.length===1&&(p={id:S[0],type:"custom"}),[...c(),p,{id:0,type:"number"},{id:"delete",type:"delete"}]}function c(){const d=[];for(let p=1;p<=9;p++)d.push({id:p,type:"number"});return e.randomKeys?d.sort(()=>Math.random()>.5?1:-1):d}function u(){const d=c(),{customKey:p}=e;let S=Array.isArray(p)?p:[p];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"?d.push({id:S[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):d.push({id:0,type:"number"},{id:S[0],type:"custom"}):S.length===2&&d.push({id:S[0],type:"custom"},{id:0,type:"number"},{id:S[1],type:"custom"}),d}const f=t.computed(()=>e.type=="rightColumn"||e.title!=""?u():i()),m=()=>{e.visible&&o("blur")},h=d=>{const p=s.value;p&&!p.contains(d.target)&&m()};t.watch(()=>e.visible,d=>{r.value=d,d?window.addEventListener("touchstart",h,!1):window.removeEventListener("touchstart",h,!1)});function b(d,p){p.stopPropagation(),a.value=d.id,(d.type=="number"||d.type=="custom")&&(o("input",d.id),e.modelValue.length<Number(e.maxlength)&&o("update:modelValue",e.modelValue+d.id)),d.type=="lock"&&y(),d.type=="delete"&&(o("delete"),o("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function g(d){d.stopPropagation()}function k(d){d.preventDefault(),a.value=void 0}function y(){o("update:visible",!1),o("close")}return{...n,delImg:Zg,lockImg:Jg,clickKeyIndex:a,defaultKey:i,closeBoard:y,onTouchEnd:k,onTouchMove:g,onTouchstart:b,keysList:f,genCustomKeys:u,getBasicKeys:c,root:s,show:r}}}),oy={ref:"root"},ny={class:"fox-number-keyboard"},ly={key:0,class:"fox-number-keyboard__header"},ay={class:"fox-number-keyboard__title"},ry={class:"fox-number-keyboard__body"},sy={class:"fox-number-keyboard__keys"},iy=["onTouchstart"],cy=["src"],dy=["src"],uy={key:0,class:"fox-number-keyboard__sidebar"},fy={class:"fox-key__wrapper"},my=["src"];function py(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("div",oy,[t.createVNode(s,{visible:e.show,"onUpdate:visible":o[7]||(o[7]=i=>e.show=i),position:"bottom",popClass:e.popClass,overlay:!1,teleportDisable:!1},{default:t.withCtx(()=>[t.createElementVNode("div",ny,[e.title?(t.openBlock(),t.createElementBlock("div",ly,[t.createElementVNode("h3",ay,t.toDisplayString(e.title),1),e.type=="default"?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-number-keyboard__close",onClick:o[0]||(o[0]=i=>e.closeBoard())},t.toDisplayString(e.confirmText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",ry,[t.createElementVNode("div",sy,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.keysList,i=>(t.openBlock(),t.createElementBlock("div",{key:"key"+i.id,class:t.normalizeClass(["fox-key__wrapper",{"fox-key__wrapper--wider":i.id==0&&e.type=="rightColumn"&&Array.isArray(e.customKey)&&e.customKey.length==1}])},[t.createElementVNode("div",{class:t.normalizeClass(["fox-key",{"fox-key--active":i.id==e.clickKeyIndex},{"fox-key--lock":i.type=="lock"},{"fox-key--delete":i.type=="delete"}]),onTouchstart:c=>e.onTouchstart(i,c),onTouchmove:o[1]||(o[1]=c=>e.onTouchMove(c)),onTouchend:o[2]||(o[2]=c=>e.onTouchEnd(c))},[i.type=="number"||i.type=="custom"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(i.id),1)],64)):t.createCommentVNode("",!0),i.type=="lock"?(t.openBlock(),t.createElementBlock("img",{key:1,src:e.lockImg},null,8,cy)):t.createCommentVNode("",!0),i.type=="delete"?(t.openBlock(),t.createElementBlock("img",{key:2,src:e.delImg},null,8,dy)):t.createCommentVNode("",!0)],42,iy)],2))),128))]),e.type=="rightColumn"?(t.openBlock(),t.createElementBlock("div",uy,[t.createElementVNode("div",fy,[t.createElementVNode("div",{class:t.normalizeClass(["fox-key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:o[3]||(o[3]=i=>e.onTouchstart({id:"delete",type:"delete"},i)),onTouchmove:o[4]||(o[4]=i=>e.onTouchMove(i)),onTouchend:o[5]||(o[5]=(...i)=>e.onTouchEnd&&e.onTouchEnd(...i))},[t.createElementVNode("img",{src:e.delImg},null,8,my)],34)]),t.createElementVNode("div",{class:"fox-key__wrapper fox-key__wrapper--finish",onClick:o[6]||(o[6]=i=>e.closeBoard())},[t.createElementVNode("div",{class:t.normalizeClass(["fox-key","fox-key--finish ",{activeFinsh:e.clickKeyIndex=="finish"}])},t.toDisplayString(e.confirmText),3)])])):t.createCommentVNode("",!0)])])]),_:1},8,["visible","popClass"])],512)}const wl=Q(ty,[["render",py]]),{componentName:hy,create:gy}=K("swipe"),yy=gy({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:o}){const l=t.computed(()=>({[hy]:!0})),n=p=>p.value?.clientWidth||0,a=t.ref(),r=t.computed(()=>n(a)),s=t.ref(),i=t.computed(()=>n(s));let c=!1,u="",f="";const m=t.reactive({offset:0,moving:!1}),h=(p="")=>{c=!0,p&&(m.offset=p==="left"?-i.value:r.value),o("open",{name:e.name,position:u||p})},b=()=>{m.offset=0,c=!1,o("close",{name:e.name,position:u})},g=t.computed(()=>({transform:`translate3d(${m.offset}px, 0, 0)`})),k=p=>{u=p>0?"right":"left";let S=p;switch(u){case"left":c&&f===u?S=-i.value:S=Math.abs(p)>i.value?-i.value:p;break;case"right":c&&f===u?S=r.value:S=Math.abs(p)>r.value?r.value:p;break}m.offset=S},y=Ue();return{classes:l,touchStyle:g,...{onTouchStart(p){e.disabled||y.start(p)},onTouchMove(p){e.disabled||(y.move(p),y.isHorizontal()&&(m.moving=!0,k(y.deltaX.value),e.touchMovePreventDefault&&p.preventDefault(),e.touchMoveStopPropagation&&p.stopPropagation()))},onTouchEnd(){if(m.moving)switch(m.moving=!1,f=u,u){case"left":Math.abs(m.offset)<=i.value/2?b():(m.offset=-i.value,h());break;case"right":Math.abs(m.offset)<=r.value/2?b():(m.offset=r.value,h());break}}},leftRef:a,rightRef:s,open:h,close:b}}}),ky={class:"fox-swipe__left",ref:"leftRef"},by={class:"fox-swipe__content"},Sy={class:"fox-swipe__right",ref:"rightRef"};function Cy(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.touchStyle),onTouchstart:o[0]||(o[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:o[1]||(o[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:o[2]||(o[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:o[3]||(o[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s))},[t.createElementVNode("view",ky,[t.renderSlot(e.$slots,"left")],512),t.createElementVNode("view",by,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",Sy,[t.renderSlot(e.$slots,"right")],512)],38)}const Lt=Q(yy,[["render",Cy]]),{componentName:wy,create:Ny}=K("action-sheet"),By=Ny({components:{[ce.name]:ce,Loading:ee.Loading},props:{...nt,cancelTxt:{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:()=>[]},closeAbled:{type:Boolean,default:!0}},emits:["cancel","close","choose","update:visible"],setup(e,{emit:o}){const l=!!t.useSlots().default,n=t.computed(()=>({[wy]:!0}));return{slotDefault:l,isHighlight:c=>e.chooseTagValue&&e.chooseTagValue===c[e.optionTag]?e.color:"",cancelActionSheet:()=>{o("cancel"),o("update:visible",!1)},chooseItem:(c,u)=>{!c.disable&&!c.loading&&(o("choose",c,u),o("update:visible",!1))},close:c=>{o("close",c),o("update:visible",!1)},classes:n}}}),Vy={key:0,class:"fox-action-sheet__title"},Ay={key:1},Ey={key:0,class:"fox-action-sheet__item fox-action-sheet__desc"},Ty={key:1,class:"fox-action-sheet__menu"},$y=["onClick"],Dy={key:1},Iy={class:"fox-action-sheet__subdesc"};function zy(e,o,l,n,a,r){const s=t.resolveComponent("Loading"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(i,{visible:e.visible,position:"bottom",round:"",onClickOverlay:e.close,closeOnClickOverlay:e.closeAbled},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(e.classes)},[e.title?(t.openBlock(),t.createElementBlock("view",Vy,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Ay,[e.description?(t.openBlock(),t.createElementBlock("view",Ey,t.toDisplayString(e.description),1)):t.createCommentVNode("",!0),e.menuItems.length?(t.openBlock(),t.createElementBlock("view",Ty,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menuItems,(c,u)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-action-sheet__item",{"fox-action-sheet__item--disabled":c.disable,"fox-action-sheet__item--loading":c.loading}]),style:t.normalizeStyle({color:e.isHighlight(c)||c.color}),key:u,onClick:f=>e.chooseItem(c,u)},[c.loading?(t.openBlock(),t.createBlock(s,{key:0,name:"loading"})):(t.openBlock(),t.createElementBlock("view",Dy,t.toDisplayString(c[e.optionTag]),1)),t.createElementVNode("view",Iy,t.toDisplayString(c[e.optionSubTag]),1)],14,$y))),128))])):t.createCommentVNode("",!0),e.cancelTxt?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-action-sheet__cancel",onClick:o[0]||(o[0]=(...c)=>e.cancelActionSheet&&e.cancelActionSheet(...c))},t.toDisplayString(e.cancelTxt),1)):t.createCommentVNode("",!0)]))],2)]),_:3},8,["visible","onClickOverlay","closeOnClickOverlay"])}const Nl=Q(By,[["render",zy]]),{componentName:qy,create:My}=K("backtop"),Bl=My({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:o,slots:l}){const n=t.reactive({backTop:!1,scrollTop:0,scrollEl:window,startTime:0,keepAlive:!1}),a=t.computed(()=>({[qy]:!0,show:n.backTop})),r=t.computed(()=>({right:`${e.right}px`,bottom:`${e.bottom}px`,zIndex:e.zIndex}));function s(){n.scrollEl instanceof Window?n.scrollTop=n.scrollEl.pageYOffset:n.scrollTop=n.scrollEl.scrollTop,n.backTop=n.scrollTop>=e.distance}function i(g=0){n.scrollEl instanceof Window?window.scrollTo(0,g):n.scrollEl.scrollTop=g}function c(){let g=We(function k(){var y=e.duration-Math.max(0,n.startTime-+new Date+e.duration),d=y*-n.scrollTop/e.duration+n.scrollTop;i(d),g=We(k),(y==e.duration||d==0)&&pa(g)})}function u(){n.scrollEl.addEventListener("scroll",s,!1),n.scrollEl.addEventListener("resize",s,!1)}function f(){n.scrollEl.removeEventListener("scroll",s,!1),n.scrollEl.removeEventListener("resize",s,!1)}function m(g){n.startTime=+new Date,e.isAnimation&&e.duration>0?c():i(),o("click",g)}function h(){b.value?n.scrollEl=b.value.el:e.elId&&document.getElementById(e.elId)&&(n.scrollEl=document.getElementById(e.elId)),u()}t.onMounted(()=>{e.distance==0&&(n.backTop=!0),h()}),t.onUnmounted(()=>{f()}),t.onActivated(()=>{n.keepAlive&&(n.keepAlive=!1,h())}),t.onDeactivated(()=>{n.keepAlive=!0,f()});const b=t.computed(()=>{if(typeof l.content=="function"){const g=l.content();return Array.isArray(g)?g[0]:g}return null});return()=>{const g=[];b.value&&g.push(b.value);const k=[];if(typeof l.default=="function")k.push(l.default());else{const d=t.h(ee.Top,{class:["fox-backtop-main"],width:"19px",height:"19px"});k.push(d)}const y=t.h("div",{class:a.value,style:r.value,onClick:m},k);return g.push(y),g}}}),{componentName:Py,create:Ry}=K("drag"),Ly=Ry({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:o}){const l=t.ref(),n=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}}),a=t.computed(()=>({[Py]:!0}));function r(){const m=document.documentElement;n.elWidth=l.value.offsetWidth,n.elHeight=l.value.offsetHeight,n.screenWidth=m.clientWidth,n.screenHeight=m.clientHeight}function s(m){n.boundary.left?+m.style.left.split("px")[0]>n.boundary.left?(m.style.left=+m.style.left.split("px")[0]-10+"px",Xe(()=>{s(m)})):m.style.left=`${n.boundary.left}px`:+m.style.left.split("px")[0]>10?(m.style.left=+m.style.left.split("px")[0]-10+"px",Xe(()=>{s(m)})):m.style.left="0px"}function i(m,h){h-parseInt(m.style.left.split("px")[0])>10?(m.style.left=parseInt(m.style.left.split("px")[0])+10+"px",Xe(()=>{i(m,h)})):m.style.left=h+"px"}function c(m){m.preventDefault();const h=m.currentTarget;if(m.targetTouches.length===1){const b=m.targetTouches[0];n.nx=b.clientX-n.position.x,n.ny=b.clientY-n.position.y,n.xPum=n.startLeft+n.nx,n.yPum=n.startTop+n.ny;const g=n.screenWidth-n.elWidth-n.boundary.right;Math.abs(n.xPum)>g?n.xPum=g:n.xPum<=n.boundary.left&&(n.xPum=n.boundary.left),n.yPum<n.boundary.top?n.yPum=n.boundary.top:n.yPum>n.screenHeight-n.elHeight-n.boundary.bottom&&(n.yPum=n.screenHeight-n.elHeight-n.boundary.bottom),e.direction!="y"&&(h.style.left=n.xPum+"px"),e.direction!="x"&&(h.style.top=n.yPum+"px")}}function u(m){const h=m.currentTarget;let g=m.changedTouches[0].clientX;const k=n.screenWidth-n.elWidth-n.boundary.right;g>k?g=k:g<n.boundary.left?g=n.boundary.left:g=g<n.screenWidth/2?n.boundary.left:k,e.direction!="y"&&e.attract&&(g<n.screenWidth/2?Xe(()=>{s(h)}):Xe(()=>{i(h,k)})),e.direction!="x"&&(h.style.top=n.yPum+"px")}function f(m){const h=m.currentTarget,b=m.touches[0],g=m.targetTouches[0];n.startTop=h.offsetTop,n.startLeft=h.offsetLeft,n.position.x=b.clientX,n.position.y=b.clientY,n.nx=g.clientX-n.position.x,n.ny=g.clientY-n.position.y,n.xPum=n.startLeft+n.nx,n.yPum=n.startTop+n.ny}return t.onMounted(()=>{r(),n.boundary=e.boundary}),t.onActivated(()=>{n.keepAlive&&(n.keepAlive=!1)}),t.onDeactivated(()=>{n.keepAlive=!0;const m=l;m.value.removeEventListener("touchstart",f),m.value.removeEventListener("touchmove",c),m.value.removeEventListener("touchend",u)}),{classes:a,myDrag:l,touchStart:f,touchMove:c,touchEnd:u}}});function Oy(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"myDrag",onTouchstart:o[0]||(o[0]=s=>e.touchStart(s)),onTouchmove:o[1]||(o[1]=s=>e.touchMove(s)),onTouchend:o[2]||(o[2]=s=>e.touchEnd(s))},[t.renderSlot(e.$slots,"default")],34)}const Vl=Q(Ly,[["render",Oy]]),{componentName:Fy,create:xy,scope:Ky}=K("dialog"),Uy=xy({inheritAttrs:!1,components:{[ce.name]:ce,[qe.name]:qe},props:{...nt,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:o}){const{toLocaleRefs:l}=se.useFoxI18n(Ky),n=l(e,["confirmText","cancelText"]),a=t.ref(e.visible);t.onMounted(()=>{e.closeOnPopstate&&Ye&&window.addEventListener("popstate",function(){i("page")})}),t.watch(()=>e.visible,f=>{a.value=f,f&&o("opened")});const r=t.computed(()=>({[Fy]:!0,[e.customClass]:!0})),s=f=>{o("update",f),o("update:visible",f)},i=f=>{if(e.beforeClose){const m=e.beforeClose(f);Qo(m)&&m.then(h=>{h&&(s(!1),o("closed"))})}else s(!1),o("closed")};return{...n,closed:i,classes:r,onCancel:()=>{o("cancel"),e.cancelAutoClose&&i("cancel")},onConfirm:()=>{o("confirm"),i("confirm")},showPopup:a}}}),Hy={key:0,class:"fox-dialog__header"},vy=["innerHTML"];function jy(e,o,l,n,a,r){const s=t.resolveComponent("fox-button"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(i,{teleport:e.teleport,visible:e.showPopup,"onUpdate:visible":o[0]||(o[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",Hy,[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,vy)):(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(s,{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(s,{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 os=Q(Uy,[["render",jy]]);class Wy{title="";content="";cancelText="";confirmText="";textAlign="center";customClass="";overlayStyle={};overlayClass="";popStyle={};popClass="";teleport="body";id=new Date().getTime();footerDirection="horizontal";onUpdate=o=>{};onConfirm=()=>{};onCancel=()=>{};onOpened=()=>{};onClosed=()=>{};beforeClose;visible=!0;noFooter=!1;noConfirmBtn=!1;noCancelBtn=!1;confrimBtnDisabled=!1;closeOnPopstate=!1;lockScroll=!1}class Yy{options=new Wy;instance;constructor(o){let l=Object.assign(this.options,o),n=document.body,a=l.teleport;a!="body"&&(typeof a=="string"?n=document.querySelector(a):n=l.teleport);const r=document.createElement("view");r.id="dialog-"+l.id;const s={setup(){return l.onUpdate=i=>{i==!1&&n.removeChild(r)},l?.onOpened&&l?.onOpened(),l.teleport=`#${r.id}`,()=>t.h(os,l)}};this.instance=t.createVNode(s),n.appendChild(r),t.render(this.instance,r)}close=()=>{};setDefaultOptions=o=>{};resetDefaultOptions=()=>{}}const Ot=function(e){return new Yy(e)};Ot.install=e=>{e.use(os),e.config.globalProperties.$dialog=Ot};const{componentName:Xy,create:Qy,scope:Gy}=K("infinite-loading"),Zy=Qy({props:{modelValue:{type:Boolean,default:!1},hasMore:{type:Boolean,default:!0},threshold:{type:Number,default:200},loadText:{type:String},loadMoreText:{type:String},useCapture:{type:Boolean,default:!1}},emits:["scroll-change","load-more","update:modelValue"],components:{Loading:ee.Loading},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=se.useFoxI18n(Gy),a=n(e,["pullText","loadText","loadMoreText"]),r=t.ref(),s=Tr(r),i=t.reactive({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),c=t.computed(()=>({[Xy]:!0})),u=k=>k?k.offsetTop+u(k.offsetParent):0,f=()=>{let k=0,y=0,d="down";if(s.value==window){const p=on();r.value&&(k=u(r.value)+r.value.offsetHeight-p-window.innerHeight),y=p}else{const{scrollHeight:p,clientHeight:S,scrollTop:w}=s.value;k=p-S-w,y=w}return i.beforeScrollTop>y?d="up":d="down",i.beforeScrollTop=y,o("scroll-change",y),k<=e.threshold&&d=="down"},m=()=>{We(()=>{if(!f()||!e.hasMore||i.isInfiniting)return!1;i.isInfiniting=!0,o("update:modelValue",!0),t.nextTick(()=>o("load-more"))})},h=()=>{s.value&&s.value.addEventListener("scroll",m,e.useCapture)},b=()=>{s.value&&s.value.removeEventListener("scroll",m,e.useCapture)};t.onMounted(()=>{h()}),t.onUnmounted(()=>{b()});const g=t.ref(!1);return t.onActivated(()=>{g.value&&(g.value=!1,h())}),t.onDeactivated(()=>{g.value=!0,b()}),t.watch(()=>e.modelValue,k=>{k||(i.isInfiniting=!1)}),{classes:c,scroller:r,...t.toRefs(i),slots:l,...a}}}),Jy={class:"fox-infinite__container"},_y={class:"fox-infinite__bottom"},ek={key:0,class:"fox-infinite__bottom-box"},tk={class:"fox-infinite__bottom-box__text"},ok={class:"fox-infinite__bottom-tips"};function nk(e,o,l,n,a,r){const s=t.resolveComponent("Loading");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"scroller"},[t.createElementVNode("view",Jy,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",_y,[e.isInfiniting?(t.openBlock(),t.createElementBlock("view",ek,[t.renderSlot(e.$slots,"loading",{},()=>[t.renderSlot(e.$slots,"loading-icon",{},()=>[t.createVNode(s,{class:"fox-icon-loading fox-infinite__bottom-box__img"})]),t.createElementVNode("view",tk,t.toDisplayString(e.loadText),1)])])):e.hasMore?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"finished",{key:1},()=>[t.createElementVNode("view",ok,t.toDisplayString(e.loadMoreText),1)])])],2)}const Al=Q(Zy,[["render",nk]]),{componentName:lk,create:ak,scope:rk}=K("pull-refresh"),sk=ak({props:{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}},emits:["change","refresh","update:modelValue"],components:{Loading:ee.Loading},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=se.useFoxI18n(rk),a=n(e,["pullingText","loosingText","loadingText"]),r=Ue(),s=t.ref(),i=Tr(s),c=t.reactive({isPullRefresh:!1,distance:0,status:"normal"}),u=t.computed(()=>({[lk]:!0})),f=t.computed(()=>{switch(c.status){case"pulling":return l.pulling?"":a.pullingText.value;case"loosing":return l.loosing?"":a.loosingText.value;case"loading":return l.loading?"":a.loadingText.value}}),m=t.computed(()=>({transitionDuration:`${e.duration}s`,transform:c.distance?`translate3d(0,${c.distance}px, 0)`:""})),h=t.computed(()=>{const w={};return e.headHeight!=50&&(w.height=de(e.headHeight)),w}),b=w=>{const E=+(e.pullDistance||e.headHeight);let $=w;return w>E&&(w<E*2?$=(w+E)/2:$=E+w/4),Math.round($)},g=(w,E)=>{const $=+(e.pullDistance||e.headHeight);c.distance=w,E?c.status="loading":w===0?c.status="normal":w<$?c.status="pulling":c.status="loosing",o("change",{status:c.status,distance:w})},k=()=>c.status!=="loading"&&c.status!=="complete",y=()=>i.value==window?on()==0:i.value&&i.value.scrollTop==0,d=w=>{k()&&(y()?(r.start(w),c.isPullRefresh=!0):(c.distance=0,c.isPullRefresh=!1))},p=w=>{if(k()){r.move(w);const{deltaY:E}=r;r.isVertical()&&E.value>0&&c.isPullRefresh&&(w.preventDefault(),g(b(E.value)))}},S=()=>{c.isPullRefresh&&k()&&r.deltaY.value&&(c.status==="loosing"?(g(+e.headHeight,!0),o("update:modelValue",!0),t.nextTick(()=>o("refresh"))):g(0)),setTimeout(()=>{r.reset()},0)};return t.watch(()=>e.modelValue,w=>{w?g(+e.headHeight,!0):g(0)}),{classes:u,scroller:s,...t.toRefs(c),touchStart:d,touchMove:p,touchEnd:S,getStyle:m,slots:l,getHeightStyle:h,getPullStatus:f}}}),ik={class:"fox-pull-refresh-container-topbox-text"};function ck(e,o,l,n,a,r){const s=t.resolveComponent("Loading");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),ref:"scroller",onTouchstart:o[0]||(o[0]=(...i)=>e.touchStart&&e.touchStart(...i)),onTouchmove:o[1]||(o[1]=(...i)=>e.touchMove&&e.touchMove(...i)),onTouchend:o[2]||(o[2]=(...i)=>e.touchEnd&&e.touchEnd(...i))},[t.createElementVNode("div",{class:"fox-pull-refresh-container",style:t.normalizeStyle(e.getStyle)},[t.createElementVNode("div",{class:"fox-pull-refresh-container-topbox",style:t.normalizeStyle(e.getHeightStyle)},[e.status=="loading"&&!e.slots.loading?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-icon-loading fox-pull-refresh-container-topbox-icon"})):t.createCommentVNode("",!0),t.createElementVNode("div",ik,t.toDisplayString(e.getPullStatus),1),e.status=="pulling"?t.renderSlot(e.$slots,"pulling",{key:1}):t.createCommentVNode("",!0),e.status=="loosing"?t.renderSlot(e.$slots,"loosing",{key:2}):t.createCommentVNode("",!0),e.status=="loading"?t.renderSlot(e.$slots,"loading",{key:3}):t.createCommentVNode("",!0)],4),t.renderSlot(e.$slots,"default")],4)],34)}const El=Q(sk,[["render",ck]]),{create:dk}=K("notify"),uk=dk({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:o}){const l=()=>{e.onClick&&e.onClick()};let n=null;const a=()=>{n&&clearTimeout(n),n=null},r=()=>{o("update:visible",!1)},s=t.ref(!1),i=t.watch(()=>e.visible,u=>{s.value=e.visible;const f=e.duration;u&&f&&(n=setTimeout(()=>{r()},f))},{immediate:!0});return{onAfterLeave:()=>{a(),i&&i(),e.unmount&&e.unmount(e.id),e.onClose&&e.onClose()},clickCover:l,isShowPopup:s}}});function fk(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(s,{visible:e.isShowPopup,"onUpdate:visible":o[1]||(o[1]=i=>e.isShowPopup=i),position:e.position,overlay:!1,teleportDisable:e.teleportDisable},{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:o[0]||(o[0]=(...i)=>e.clickCover&&e.clickCover(...i))},[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","teleportDisable"])}const Tl=Q(uk,[["render",fk]]),$l={type:"base",visible:!0,msg:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:Function,teleport:"",unmount:new Function};let gt=[],Ft=[];const ns=e=>{if(e){const o=document.getElementById(e);Ft=Ft.filter(l=>l.id!==e),gt=gt.filter(l=>l!==e),o&&document.body.removeChild(o)}else gt.forEach(o=>{const l=document.getElementById(o);l&&document.body.removeChild(l)}),Ft=[],gt=[]},mk=e=>{const o=document.getElementById(e.id);if(o){const l=Ft.find(a=>a.id===e.id);l?e={...$l,...l,...e}:e={...$l,...e};const n=t.createVNode(Tl,e);return t.render(n,o),n.component.data}},xt=e=>{e.unmount=ns;let o;if(e.id){if(o=e.id,gt.find(r=>r===e.id))return mk(e)}else o=new Date().getTime()+"";e={...$l,...e},e.id=o,gt.push(e.id),Ft.push(e);const l=document.createElement("view");l.id="notify-"+e.id;const n={setup(){return e.teleport=`#notify-${e.id}`,t.onMounted(()=>{setTimeout(()=>{e.onClose&&e.onClose(),document.body.removeChild(l)},e.duration)}),()=>t.h(Tl,e)}},a=t.createVNode(n);document.body.appendChild(l),t.render(a,l)},Kt=e=>{if(!e){console.warn("[NutUI Notify]: msg不能为空");return}},Dl={text(e,o={}){return Kt(e),xt({...o,msg:e})},primary(e,o={}){return Kt(e),xt({...o,msg:e,type:"primary"})},success(e,o={}){return Kt(e),xt({...o,msg:e,type:"success"})},danger(e,o={}){return Kt(e),xt({...o,msg:e,type:"danger"})},warn(e,o={}){return Kt(e),xt({...o,msg:e,type:"warning"})},hide(){ns()},install(e){e.use(Tl)}},{create:pk}=K("toast"),hk=pk({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:o}){let l=null;const n=t.reactive({mounted:!1});t.onMounted(()=>{n.mounted=!0});const a=()=>{l&&(clearTimeout(l),l=null)},r=()=>{n.mounted=!1},s=()=>{a(),e.duration&&(l=setTimeout(()=>{r()},e.duration))},i=()=>{e.closeOnClickOverlay&&(r(),o("close"))};e.duration&&s(),t.watch(()=>e.duration,b=>{b&&s()});const c=t.computed(()=>e.type!=="text"?!0:!!e.icon),u=()=>{const b=ie(e.iconSize);return t.h(e.icon,{width:b,height:b,color:e.iconColor})},f=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]),m=t.computed(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:n,hide:r,clickCover:i,renderIcon:u,hasIcon:c,toastBodyClass:f,toastIconWrapperClass:m,onAfterLeave:()=>{a(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),gk={key:1,class:"fox-toast-title"},yk=["innerHTML"];function kk(e,o,l,n,a,r){return t.openBlock(),t.createBlock(t.Transition,{name:"toast-fade",onAfterLeave:e.onAfterLeave},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.toastBodyClass),style:t.normalizeStyle({bottom:e.center?"auto":e.bottom,"background-color":e.coverColor}),onClick:o[0]||(o[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.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon())))],2)):t.createCommentVNode("",!0),e.title?(t.openBlock(),t.createElementBlock("div",gk,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,yk)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const Il=Q(hk,[["render",kk]]),zl={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 yt=[],Ut=[];const ls=e=>{if(e){const o=document.getElementById(e);Ut=Ut.filter(l=>l.id!==e),yt=yt.filter(l=>l!==e),o&&document.body.removeChild(o)}else yt.forEach(o=>{const l=document.getElementById(o);l&&document.body.removeChild(l)}),Ut=[],yt=[]},bk=e=>{const o=document.getElementById(e.id);if(o){const l=Ut.find(a=>a.id===e.id);l?e={...zl,...l,...e}:e={...zl,...e};const n=t.createVNode(Il,e);return t.render(n,o),kt}},Ht=e=>{e.unmount=ls;let o;if(e.id){if(o=e.id,yt.find(a=>a===e.id))return bk(e)}else o=new Date().getTime()+"";e={...zl,...e},e.id=o,yt.push(e.id),Ut.push(e);const l=document.createElement("div");l.id=e.id;const n=t.createVNode(Il,e);return t.render(n,l),document.body.appendChild(l),kt},Ro=e=>{if(!e){console.warn("[FoxUI Toast]: msg不能为空");return}},kt={text(e,o={}){return Ro(e),Ht({...o,type:"text",msg:e})},success(e,o={}){return Ro(e),Ht({icon:ee.Success,...o,msg:e,type:"success"})},fail(e,o={}){return Ro(e),Ht({icon:ee.Failure,...o,msg:e,type:"fail"})},warn(e,o={}){return Ro(e),Ht({icon:ee.Tips,...o,msg:e,type:"warn"})},loading(e,o={}){return Ht({icon:ee.Loading,...o,msg:e,type:"loading"})},hide(e){ls(e)},install(e){e.use(Il),e.config.globalProperties.$toast=kt}},{componentName:fB,create:Sk}=K("audio"),Ck=Sk({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:ee.Service,[Pt.name]:Pt},emits:["fastBack","play","forward","ended","changeProgress","mute","can-play"],setup(e,{emit:o,slots:l}){const n=t.ref(null),a=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 k=["webkitVisibilityState","visibilitychange"];try{for(let y=0;y<k.length;y++)document.addEventListener(k[y],()=>{document.hidden?n.value.pause():a.playing&&setTimeout(()=>{n.value.play()},200)})}catch(y){y.message}});const r=k=>{const y=n.value;e.autoplay&&y&&y.paused&&y.play(),a.second=y.duration,a.duration=g(y.duration),o("can-play",k)},s=k=>{a.currentTime=parseInt(k.target.currentTime)},i=()=>{a.currentTime>0&&a.currentTime--,n.value.currentTime=a.currentTime,o("fastBack",a.currentTime)},c=()=>{const k=n.value;a.playing?(k.pause(),a.handPlaying=!1):(k.play(),a.handPlaying=!0),a.playing=!a.playing,o("play",a.playing)},u=()=>{a.currentTime++,n.value.currentTime=a.currentTime,o("forward",a.currentTime)},f=k=>{a.currentDuration=g(k),a.percent=k/a.second*100},m=()=>{a.playing=!1,o("ended")},h=k=>{const y=n.value;y.currentTime=a.second*k/100,o("changeProgress",y.currentTime)},b=()=>{a.hanMuted=!a.hanMuted,o("mute",a.hanMuted)},g=k=>{if(!k)return"00:00:00";let y=parseInt(k),d=Math.floor(y/3600),p=Math.floor((y-d*3600)/60),S=y-d*3600-p*60,w="";return w+=("0"+d.toString()).slice(-2)+":",w+=("0"+p.toString()).slice(-2)+":",w+=("0"+S.toString()).slice(-2),w};return t.watch(()=>a.currentTime,k=>{f(k)}),t.provide("audioParent",{children:[],props:e,audioData:a,handleMute:b,forward:u,fastBack:i,changeStatus:c}),{...t.toRefs(e),...t.toRefs(a),audioRef:n,fastBack:i,forward:u,changeStatus:c,progressChange:h,audioEnd:m,onTimeupdate:s,handleMute:b,onCanplay:r,slots:l}}}),wk={class:"fox-audio"},Nk={key:0,class:"fox-audio__progress"},Bk={class:"fox-audio__time"},Vk={class:"fox-audio__bar"},Ak=t.createElementVNode("div",{class:"fox-audio__button--custom"},null,-1),Ek={class:"fox-audio__time"},Tk={key:1,class:"fox-audio__icon"},$k=["controls","src","preload","autoplay","loop","muted"];function Dk(e,o,l,n,a,r){const s=t.resolveComponent("fox-range"),i=t.resolveComponent("Service");return t.openBlock(),t.createElementBlock("div",wk,[e.type=="progress"?(t.openBlock(),t.createElementBlock("div",Nk,[t.createElementVNode("div",Bk,t.toDisplayString(e.currentDuration),1),t.createElementVNode("div",Vk,[t.createVNode(s,{modelValue:e.percent,"onUpdate:modelValue":o[0]||(o[0]=c=>e.percent=c),"hidden-range":"",onChange:e.progressChange,"inactive-color":"#cccccc","active-color":"#fa2c19"},{button:t.withCtx(()=>[Ak]),_:1},8,["modelValue","onChange"])]),t.createElementVNode("div",Ek,t.toDisplayString(e.duration),1)])):t.createCommentVNode("",!0),e.type=="icon"?(t.openBlock(),t.createElementBlock("div",Tk,[t.createElementVNode("div",{class:t.normalizeClass(["fox-audio__icon--box",e.playing?"fox-audio__icon--play":"fox-audio__icon--stop"]),onClick:o[1]||(o[1]=(...c)=>e.changeStatus&&e.changeStatus(...c))},[e.playing?(t.openBlock(),t.createBlock(i,{key:0,class:"fox-icon-am-rotate fox-icon-am-infinite"})):(t.openBlock(),t.createBlock(i,{key:1}))],2)])):t.createCommentVNode("",!0),e.type=="none"?(t.openBlock(),t.createElementBlock("div",{key:2,onClick:o[2]||(o[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:o[3]||(o[3]=(...c)=>e.onTimeupdate&&e.onTimeupdate(...c)),onCanplay:o[4]||(o[4]=(...c)=>e.onCanplay&&e.onCanplay(...c)),onEnded:o[5]||(o[5]=(...c)=>e.audioEnd&&e.audioEnd(...c)),muted:e.hanMuted},null,40,$k)])}const ql=Q(Ck,[["render",Dk]]),{componentName:mB,create:Ik,scope:zk}=K("audio-operate"),qk=Ik({props:{type:{type:String,default:()=>"play"}},components:{},emits:["click"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(zk),n=t.inject("audioParent"),a=t.reactive(n),r=t.ref(t.useSlots().default);return{...t.toRefs(e),...t.toRefs(a),customSlot:r,t:l}}}),Mk={class:"fox-audio-operate"};function Pk(e,o,l,n,a,r){const s=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",Mk,[e.type=="back"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-audio-operate-item",onClick:o[0]||(o[0]=(...i)=>e.fastBack&&e.fastBack(...i))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{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:o[1]||(o[1]=(...i)=>e.changeStatus&&e.changeStatus(...i))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{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:o[2]||(o[2]=(...i)=>e.forward&&e.forward(...i))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{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:o[3]||(o[3]=(...i)=>e.handleMute&&e.handleMute(...i))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{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 Ml=Q(qk,[["render",Pk]]),{componentName:Rk,create:Lk}=K("avatar"),Ok=Lk({props:{size:{type:String,default:""},shape:{type:String,default:"round"},bgColor:{type:String,default:"#eee"},color:{type:String,default:"#666"}},setup(e){const{size:o,shape:l,bgColor:n,color:a}=t.toRefs(e),r=["large","normal","small"],s=t.inject("avatarGroup",null),i=t.ref(null),c=t.reactive({lightTheme:!1}),u=t.reactive({index:1,showMax:!1,maxIndex:0});t.onMounted(()=>{const g=s?.avatarGroupRef?.value?.children;g&&b(g)});const f=t.computed(()=>({[Rk]:!0,[`fox-avatar-${o.value||s?.props?.size||"normal"}`]:!0,[`fox-avatar-${l.value||s?.props?.shape||"normal"}`]:!0})),m=t.computed(()=>({width:r.indexOf(o.value)>-1?"":`${o.value}px`,height:r.indexOf(o.value)>-1?"":`${o.value}px`,backgroundColor:`${n.value}`,color:`${a.value}`,marginLeft:u.index!=1&&(s?.props?.span?`${s?.props?.span}px`:""),zIndex:s?.props?.zIndex=="right"?`${Math.abs(u.maxIndex-u.index)}`:""})),h=t.computed(()=>({backgroundColor:`${s?.props?.maxBgColor}`,color:`${s?.props?.maxColor}`})),b=g=>{u.maxIndex=g.length;for(let k=0;k<g.length;k++)g[k]&&g[k].classList&&g[k].classList[0]=="fox-avatar"&&g[k].setAttribute("data-index",k+1);u.index=i?.value?.dataset?.index,u.index==u.maxIndex&&u.index!=s?.props?.maxCount&&(u.showMax=!0)};return{classes:f,styles:m,maxStyles:h,avatarGroup:s,visible:c,avatarRef:i,...t.toRefs(u)}}});function Fk(e,o,l,n,a,r){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),ref:"avatarRef"},[!e.avatarGroup?.props?.maxCount||e.index<=e.avatarGroup?.props?.maxCount?t.renderSlot(e.$slots,"default",{key:0}):t.createCommentVNode("",!0),e.showMax&&e.avatarGroup?.props?.maxCount?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.avatarGroup?.props?.maxContent?e.avatarGroup?.props?.maxContent:`+ ${e.maxIndex-e.avatarGroup?.props?.maxCount}`),1)],64)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0)}const vt=Q(Ok,[["render",Fk]]),{componentName:xk,create:Kk}=K("avatar-group"),Uk=Kk({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:o,slots:l}){t.toRefs(e);const n=t.ref(null),a=t.ref(0),r=t.computed(()=>({[xk]:!0}));return t.onMounted(()=>{}),t.provide("avatarGroup",{props:e,avatarGroupRef:n,index:a}),{classes:r,avatarGroupRef:n}}});function Hk(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"avatarGroupRef"},[t.renderSlot(e.$slots,"default")],2)}const Pl=Q(Uk,[["render",Hk]]);var Lo=(e=>(e[e.eq=1]="eq",e[e.lt=2]="lt",e[e.gt=3]="gt",e))(Lo||{});function vk(e,o,l){let n=0,a=e.length-1,r=null;for(;n<=a;){r=Math.floor((n+a)/2);const s=e[r],i=l(s,o);if(i===1)return r;i===2?n=r+1:i===3&&(a=r-1)}return r}const{componentName:jk,create:Wk}=K("list"),as=document.documentElement.clientHeight||document.body.clientHeight||667,Yk=Wk({props:{listData:{type:Array,default:()=>[]},bufferSize:{type:Number,default:5},containerHeight:{type:[Number],default:as},height:{type:Number,default:80},margin:{type:Number,default:10}},emits:["scroll-up","scroll-down","scroll-bottom"],setup(e,{emit:o}){const l=t.ref(null),n=t.ref(null),a=t.ref(null),r=t.reactive({start:0,originStartIndex:0,scrollTop:0,list:e.listData.slice(),cachePositions:[],phantomHeight:e.height*e.listData.length}),s=t.computed(()=>Math.min(e.containerHeight,as)),i=t.computed(()=>Math.ceil(s.value/e.height)),c=t.computed(()=>Math.min(r.originStartIndex+i.value+e.bufferSize,r.list.length)),u=t.computed(()=>({[jk]:!0})),f=t.computed(()=>r.list.slice(r.start,c.value)),m=()=>{if(a.value)return`translate3d(0, ${r.start>=1?r.cachePositions[r.start-1].bottom:0}px, 0)`},h=()=>{r.cachePositions=[];for(let d=0;d<r.list.length;++d)r.cachePositions[d]={index:d,height:e.height,top:d*e.height,bottom:(d+1)*(e.height+e.margin),dValue:0}},b=()=>{let d=a.value.childNodes;d=Array.from(d).filter(q=>q.nodeType===1);const p=d[0];d.forEach((q,D)=>{if(!q)return;const z=Ae(q),{height:V}=z,L=r.cachePositions[D+r.start].height-V;L&&(r.cachePositions[D+r.start].bottom-=L,r.cachePositions[D+r.start].height=V,r.cachePositions[D+r.start].dValue=L)});let S=0;p&&(S=r.start);const w=r.cachePositions.length;let E=r.cachePositions[S].dValue;r.cachePositions[S].dValue=0;for(let q=S+1;q<w;++q){const D=r.cachePositions[q];r.cachePositions[q].top=r.cachePositions[q-1].bottom,r.cachePositions[q].bottom=r.cachePositions[q].bottom-E,D.dValue!==0&&(E+=D.dValue,D.dValue=0)}const $=r.cachePositions[w-1].bottom;r.phantomHeight=$},g=(d=0)=>{let p=vk(r.cachePositions,d,(w,E)=>{const $=w.bottom;return $===E?Lo.eq:$<E?Lo.lt:Lo.gt});return r.cachePositions[p].bottom<d&&(p+=1),p},k=()=>{r.originStartIndex=0,r.start=0,r.scrollTop=0,l.value.scrollTop=0,h(),r.phantomHeight=e.height*r.list.length},y=()=>{const d=l.value?.scrollTop,{originStartIndex:p}=r,S=g(d);S!==p&&(r.originStartIndex=S,r.start=Math.max(r.originStartIndex-e.bufferSize,0),c.value>=r.list.length-1&&o("scroll-bottom")),o(d>r.scrollTop?"scroll-up":"scroll-down",d),r.scrollTop=d};return t.watch(()=>e.listData,d=>{if(r.list=d.slice(),r.list.length===d.length)h(),b();else{k();return}}),t.watch(()=>r.start,()=>{a.value&&r.list.length>0&&b()}),{...t.toRefs(r),list:l,phantom:n,actualContent:a,getTransform:m,visibleData:f,classes:u,getContainerHeight:s,handleScrollEvent:y}}});function Xk(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle({height:`${e.getContainerHeight}px`}),onScrollPassive:o[0]||(o[0]=(...s)=>e.handleScrollEvent&&e.handleScrollEvent(...s)),ref:"list"},[t.createElementVNode("div",{class:"fox-list-phantom",style:t.normalizeStyle({height:e.phantomHeight+"px"}),ref:"phantom"},null,4),t.createElementVNode("div",{class:"fox-list-container",style:t.normalizeStyle({transform:e.getTransform()}),ref:"actualContent"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.visibleData,(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-list-item",key:s},[t.renderSlot(e.$slots,"default",{item:s,index:i+e.start})]))),128))],4)],38)}const Rl=Q(Yk,[["render",Xk]]),{componentName:Qk,create:Gk}=K("circleprogress"),Zk=Gk({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:o}){const l=!!t.useSlots().default,n=Math.random().toString(36).slice(-8),a=t.computed(()=>({[Qk]:!0})),r=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`}),s=t.computed(()=>Ie(e.color)?`url(#${n})`:e.color),i=t.computed(()=>{let f=283,m=f*Number(e.progress)/100;return{stroke:Ie(e.color)?`url(#${n})`:e.color,strokeDasharray:`${m}px ${f}px`}}),c=t.computed(()=>({stroke:e.pathColor})),u=t.computed(()=>{if(!Ie(e.color))return;let f=e.color;const m=Object.keys(f).sort((b,g)=>parseFloat(b)-parseFloat(g));let h=[];return m.map((b,g)=>{let k={key:"",value:""};k.key=b,k.value=f[b],h.push(k)}),h});return{classes:a,hoverStyle:i,pathStyle:c,path:r,hoverColor:s,stop:u,slotDefault:l,refRandomId:n}}}),Jk={viewBox:"0 0 100 100"},_k=["id"],eb=["offset","stop-color"],tb=["d","stroke-width"],ob=["d","stroke","stroke-linecap","stroke-width"],nb={class:"fox-circleprogress-text"},lb={key:0};function ab(e,o,l,n,a,r){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",Jk,[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,(s,i)=>(t.openBlock(),t.createElementBlock("stop",{key:i,offset:s.key,"stop-color":s.value},null,8,eb))),128))],8,_k)]),t.createElementVNode("path",{class:"fox-circleprogress-path",style:t.normalizeStyle(e.pathStyle),d:e.path,fill:"none","stroke-width":e.strokeWidth}," > ",12,tb),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,ob)])),t.createElementVNode("div",nb,[t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",lb,t.toDisplayString(e.progress)+"%",1))])],6)}const Ll=Q(Zk,[["render",ab]]),{componentName:rb,create:sb}=K("noticebar"),ib=sb({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}},components:{ScrollItem:function(e){return e.item.props.style=e.style,e.item.key=e.key,t.h(e.item)},Notice:ee.Notice,CircleClose:ee.CircleClose},emits:["click","close","across-end"],setup(e,{emit:o,slots:l}){const n=t.ref(null),a=t.ref(null),r=t.reactive({wrapWidth:0,firstRound:!0,duration:0,offsetWidth:0,showNoticebar:!0,animationClass:"",animate:!1,scrollList:[],distance:0,timer:null,keepAlive:!1,isCanScroll:null,showNotica:!0}),s=t.computed(()=>({[rb]:!0})),i=t.computed(()=>r.isCanScroll==null?e.wrapable:!r.isCanScroll&&!e.wrapable),c=t.computed(()=>({"fox-noticebar__page-wrap-content":!0,"fox-ellipsis":i.value,[r.animationClass]:!0})),u=t.computed(()=>{let q={};return e.color&&(q.color=e.color),e.background&&(q.background=e.background),e.direction=="vertical"&&(q.height=`${e.height}px`),q}),f=t.computed(()=>({animationDelay:(r.firstRound?e.delay:0)+"s",animationDuration:r.duration+"s",transform:`translateX(${r.firstRound?0:r.wrapWidth+"px"})`})),m=t.computed(()=>{let q={};if(e.complexAm)q={transform:`translateY(${r.distance}px)`};else if(r.animate){let D=~~(e.height/e.speed/4);q={transition:`all ${D==0?~~(e.height/e.speed):D}s`,"margin-top":`-${e.height}px`}}return q});t.watch(()=>e.text,q=>{h()}),t.watch(()=>e.list,q=>{r.scrollList=[...q]});const h=q=>{r.showNoticebar!=!1&&setTimeout(()=>{if(!n.value||!a.value)return;const D=n.value.getBoundingClientRect().width,z=a.value.getBoundingClientRect().width;r.isCanScroll=e.scrollable==null?z>D:e.scrollable,r.isCanScroll?(r.wrapWidth=D,r.offsetWidth=z,r.duration=z/e.speed,r.animationClass="play"):r.animationClass=""},0)},b=q=>{o("click",q)},g=q=>{e.closeMode&&(r.showNoticebar=!e.closeMode),o("close",q)},k=q=>{r.firstRound=!1,o("across-end",q),setTimeout(()=>{r.duration=(r.offsetWidth+r.wrapWidth)/e.speed,r.animationClass="play-infinite"},0)},y=()=>{d(),r.timer=setInterval(d,~~(e.height/e.speed/4*1e3)+e.standTime)},d=()=>{r.animate=!0,setTimeout(()=>{r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.animate=!1},~~(e.height/e.speed/4*1e3))},p=()=>{r.timer=setInterval(()=>{let q=100;for(let D=0;D<q;D++)S(D,!(D<q-1))},e.standTime+100*e.speed)},S=(q,D)=>{setTimeout(()=>{r.distance-=e.height/100,D&&(r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.distance=0)},q*e.speed)},w=q=>{o("click",q)},E=()=>{e.closeMode&&(r.showNoticebar=!e.closeMode),o("close",r.scrollList[0])};t.onMounted(()=>{e.direction=="vertical"?(l.default?$(l.default()):r.scrollList=[...e.list],setTimeout(()=>{e.complexAm?p():y()},e.standTime)):h(e.text)}),t.watch(()=>l.default?l.default():[],q=>{e.direction==="vertical"&&l.default&&(r.showNotica=!1,setTimeout(()=>{r.showNotica=!0}),$(q))});const $=q=>{q&&q.length>0&&(r.scrollList=q[0].children)};return t.onActivated(()=>{r.keepAlive&&(r.keepAlive=!1)}),t.onDeactivated(()=>{r.keepAlive=!0,clearInterval(r.timer)}),t.onUnmounted(()=>{clearInterval(r.timer)}),{...t.toRefs(e),...t.toRefs(r),isEllipsis:i,classes:s,barStyle:u,contentStyle:f,horseLampStyle:m,wrap:n,content:a,handleClick:b,onClickIcon:g,onAnimationEnd:k,go:w,handleClickIcon:E,slots:l,toPxDesc:de,wrapContentClass:c}}}),cb={class:"fox-noticebar__page-lefticon"},db={ref:"wrap",class:"fox-noticebar__page-wrap"},ub={class:"showNotica"},fb=["onClick"];function mb(e,o,l,n,a,r){const s=t.resolveComponent("Notice"),i=t.resolveComponent("CircleClose"),c=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",{"fox-noticebar__page--withicon":e.closeMode,"fox-noticebar__page--close":e.closeMode,"fox-noticebar__page--wrapable":e.wrapable}]),style:t.normalizeStyle(e.barStyle),onClick:o[3]||(o[3]=(...u)=>e.handleClick&&e.handleClick(...u))},[t.createElementVNode("view",cb,[t.renderSlot(e.$slots,"left-icon",{},()=>[e.leftIcon?(t.openBlock(),t.createBlock(s,{key:0,size:"16px"})):t.createCommentVNode("",!0)])]),t.createElementVNode("view",db,[t.createElementVNode("view",{ref:"content",class:t.normalizeClass(e.wrapContentClass),style:t.normalizeStyle(e.contentStyle),onAnimationend:o[0]||(o[0]=(...u)=>e.onAnimationEnd&&e.onAnimationEnd(...u)),"on:webkitAnimationEnd":o[1]||(o[1]=(...u)=>e.onAnimationEnd&&e.onAnimationEnd(...u))},[t.renderSlot(e.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(e.text),1)])],38)],512),e.closeMode||e.$slots["right-icon"]?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-noticebar__page-righticon",onClick:o[2]||(o[2]=t.withModifiers((...u)=>e.onClickIcon&&e.onClickIcon(...u),["stop"]))},[e.$slots["right-icon"]?t.renderSlot(e.$slots,"right-icon",{key:0}):(t.openBlock(),t.createBlock(i,{key:1}))])):t.createCommentVNode("",!0)],6)),[[t.vShow,e.showNoticebar]]):t.createCommentVNode("",!0),e.scrollList.length>0&&e.direction=="vertical"&&e.showNoticebar?(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:"fox-noticebar__vertical-list",style:t.normalizeStyle(e.horseLampStyle)},[t.createElementVNode("div",ub,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(u,f)=>(t.openBlock(),t.createBlock(c,{key:f,style:t.normalizeStyle({height:e.height+"px","line-height":e.height+"px"}),item:u},null,8,["style","item"]))),128))])],4)):(t.openBlock(),t.createElementBlock("ul",{key:1,class:"fox-noticebar__vertical-list",style:t.normalizeStyle(e.horseLampStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(u,f)=>(t.openBlock(),t.createElementBlock("li",{class:"fox-noticebar__vertical-item",key:f,style:t.normalizeStyle({height:e.toPxDesc(e.height),lineHeight:e.toPxDesc(e.height)}),onClick:m=>e.go(u)},[t.renderSlot(e.$slots,"item",{},()=>[t.createTextVNode(t.toDisplayString(u),1)])],12,fb))),128))],4)),t.createElementVNode("view",{class:"go",onClick:o[4]||(o[4]=u=>!e.slots.rightIcon&&e.handleClickIcon())},[t.renderSlot(e.$slots,"right-icon",{},()=>[e.closeMode?(t.openBlock(),t.createBlock(i,{key:0,color:e.color,size:"11px"},null,8,["color"])):t.createCommentVNode("",!0)])])],4)):t.createCommentVNode("",!0)],2)}const Ol=Q(ib,[["render",mb]]),pb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAKoCAMAAACMZv1uAAAC+lBMVEUAAAD19fXz9PTd1tvf3t708vPx7/Dz9PTY2NjY2NjWy837+fr09/f09fU0MzX09fX08vP09fXMzMz19vbY2NgyMjLz9PT19vb29/cuLDrY2Njz6uzKw8Tx7e719vby8/PY2Nj19vb09fUrKzb09fX19vbc09X09fXLy8v19fX09PS5uLjV1dX09fXV1dXU1NT/y9X19va8vLz09vb19fXX19fSyssxLzz09fX09fX09fX19vb19fX19vbU1NQxLzz09fXY2Nj19vb19vYsKjNVVFYUFBT19fXMzMz09fX09fX09fXMzMzW1tavr6/09fX09fXY2NjX19ebm536ssD09fXMzMw1MzzY2Nj19fUyMTz/y9XMzMzMzMzR0dH09fXMzMzY2NjZ2dnY2NjExMQuLDUpJzAyMDzY2NhpaWrMzMz19vbLy8sVFRXMzMy5ubm6ubkqKTL8ws7/x9IqKjIpJy//y9X19va5uLi5uLi5uLjZ2dn09fW5uLi5uLjY2Ni5uLi4t7c1Mz/MzMwbGxv/ytS1jZn09vb09fUVFRUyMD25uLn+ydPY2NgUFBQUFBT/zNb+xtL/y9X/xdD/y9UyMD0TExP5sb+4uLj/y9X+w879ws3/y9X1tMH8s8H/y9UkJSWAgYHj5OT/ytTY2NheXWDs7e7r7Ozv8PDs7u55eYH09fXMzMzY2NgyMD3/y9UzMzP8s8GwsLDm5+eKiorv8PDLy8s6Ojrl5ubZ2trPz88UFBTh4uLV1dXc3Ny5ubnu7u7T09O1tbXf39+zsrLx8vLR0dHJycm8vLzj5OQ3NUHq6+vo6ek2NjbGxsbCwsK3t7f9x9K+vr79t8Q4ODjs7e0+O0XAwMBiYWaSkZVbW1/27e/8vspUSlZMTExwcHL709tERESjo6ZHQU5MR1N8fH762uD35un54eaCgoThtL7hzNCGhozcsbuqqqzm5ubWq7Z3YG3wwMrBlaF2dnc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IK5vCpg0ZuVoNTqS9KpaTGbVp3aKSLlVOaZPCgOIjqKc7L6ojRAlRZxs8VoK5WMy6lTjT/gRak1QKlFFxO9FKsBZzZZZSWQBY3nNKllAOdG70CtDcP9/s4DHtSzEDOqdONf4OQ+Kn1qWWOINqh1ZBjUXjxsoJs9GbAZpmvCgFnxvLOg1vFzwilYCioZUXMwnV+CIcMwQB151N/pIseoLCXcCR/HcCEv8qj/w1eMsSoQEjE9HMOzIF/HOlFS259e4gCrASGRsY1Uy4KcnXzx89vH3tcvOMSOAiF8ip/EGm7+XYxxChFDHKCpKRkyEkFljufOyZal5WhQJxNdna04jCeUMcevuGXLgDlRZpjUBEL+MEpl+7zrnrft8lnLNGDONJGCSvRneJjEbCBEK6klqm8BIVo5ymhBJfNAE0X0Kymip7QStUE3fqKblBLVpxMpRDs1hiMcmvMT/biJnNKYn+jHqFNOyTxgNiinZB4oOZRTMg/IvZRPfRTRk40Cj37S95s9OyYCGIShALrVQIVgBAMVUQsdGBgqgKGHCRz2GEBDhvc05PJzPwTVxpa6np+o+lhK9jclqt1OpSr2iWsN6ntZp0T2zW1abtcpsZ3tqdmYEt8h9AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIC/PTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAUMS6uSWMRCGwAAAABJRU5ErkJggg==",{componentName:pB,create:yb,scope:kb}=K("empty"),bb={empty:pb,error:hb,network:gb},Sb=yb({props:{image:{type:String,default:"empty"},imageSize:{type:[Number,String],default:""},description:{type:String,default:""}},setup(e){const{toLocaleRefs:o}=se.useFoxI18n(kb),l=o(e,["description"]),{image:n,imageSize:a}=t.toRefs(e),r=t.computed(()=>a.value?typeof a.value=="number"?`width:${a.value}px;height:${a.value}px`:`width:${a.value};height:${a.value}`:""),i=n.value.startsWith("https://")||n.value.startsWith("http://")||n.value.startsWith("//")?n.value:bb[n.value];return{...l,imageUrl:i,imgStyle:r}}}),Cb={class:"fox-empty"},wb=["src"],Nb={key:1,class:"fox-empty-description"};function Bb(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",Cb,[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,wb)):t.createCommentVNode("",!0)],64))],4),e.$slots.description?t.renderSlot(e.$slots,"description",{key:0}):(t.openBlock(),t.createElementBlock("view",Nb,t.toDisplayString(e.description),1)),e.$slots.default?t.renderSlot(e.$slots,"default",{key:2}):t.createCommentVNode("",!0)])}const Fl=Q(Sb,[["render",Bb]]),{create:Vb,scope:Ab}=K("video"),Eb=Vb({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:o}){const{t:l}=se.useFoxI18n(Ab),n=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}),a=t.ref(null),r=t.computed(()=>e.options.disabled);t.watch(()=>e.source,$=>{$.src&&t.nextTick(()=>{n.videoElm.load()})},{immediate:!0,deep:!0}),t.watch(()=>e.options,$=>{n.state.isMuted=$?$.muted:!1},{immediate:!0});const s=()=>{n.videoElm=a.value,e.options.autoplay&&setTimeout(()=>{n.videoElm.play()},200),e.options.touchPlay&&(n.showTouchMask=!0),e.options.playsinline&&(n.videoElm.setAttribute("playsinline",e.options.playsinline),n.videoElm.setAttribute("webkit-playsinline",e.options.playsinline),n.videoElm.setAttribute("x5-video-player-type","h5-page"),n.videoElm.setAttribute("x5-video-player-fullscreen",!1)),g(),n.showToolbox?i():(n.videoElm.addEventListener("play",()=>{n.state.playing=!0,o("play",n.videoElm)}),n.videoElm.addEventListener("pause",()=>{n.state.playing=!1,o("pause",n.videoElm)}),n.videoElm.addEventListener("ended",h),n.videoElm.addEventListener("timeupdate",no(m,1e3)))},i=()=>{const $=a.value,q=a.value.getElementsByClassName("fox-video-controller__progress-value")[0];n.player.$player=$,n.progressBar.progressElm=q,n.progressBar.pos=q.getBoundingClientRect(),n.videoSet.progress.width=Math.round(q.getBoundingClientRect().width)},c=()=>{if(e.options.autoplay&&e.options.disabled)return n.state.playing=!0,!1;if(n.state.playing=!n.state.playing,n.videoElm)if(n.state.playing)try{setTimeout(()=>{n.videoElm.play()},200),n.videoElm.addEventListener("progress",()=>{f()}),n.videoElm.addEventListener("timeupdate",no(m,1e3)),n.videoElm.addEventListener("ended",h),o("play",n.videoElm)}catch{b()}else n.videoElm.pause(),o("pause",n.videoElm)},u=$=>{var q=Math.floor($/3600);q<10&&(q="0"+q);var D=Math.floor($%3600/60);D<10&&(D="0"+D);var z=Math.round($%3600%60);z<10&&(z="0"+z);var V="";return q!=0?V=q+":"+D+":"+z:V=D+":"+z,V},f=()=>{n.videoSet.loaded&&(n.videoSet.loaded=n.videoElm.buffered.end(0)/n.videoElm.duration*100)},m=()=>{const $=n.videoElm.currentTime/n.videoElm.duration;n.videoSet.progress.current=Math.round(n.videoSet.progress.width*$),n.videoSet.totalTime=u(n.videoElm.duration),n.videoSet.displayTime=u(n.videoElm.currentTime),o("time",n.videoSet.displayTime,n.videoSet.totalTime)},h=()=>{n.state.playing=!1,n.state.isEnd=!0,n.videoSet.displayTime="00:00",n.videoSet.progress.current=0,n.videoElm.currentTime=0,o("playend",n.videoElm)},b=()=>{n.state.isError=!0},g=()=>{n.state.vol=e.options.volume},k=()=>{n.state.isMuted=!n.state.isMuted,n.videoElm.muted=n.state.isMuted},y=()=>{},d=$=>{let D=$.targetTouches[0].pageX-n.progressBar.pos.left;D<=0&&(D=0),D>=n.videoSet.progress.width&&(D=n.videoSet.progress.width),n.videoSet.progress.current=D;let z=n.videoSet.progress.current/n.videoSet.progress.width;n.videoElm.duration&&S(z,n.videoElm.duration)},p=$=>{let D=$.changedTouches[0].pageX-n.progressBar.pos.left;n.videoSet.progress.current=D;let z=D/n.videoSet.progress.width;n.videoElm.duration&&S(z,n.videoElm.duration)},S=($,q)=>{n.videoElm.currentTime=Math.floor($*q)},w=()=>{n.state.isError=!1,s()},E=()=>{n.state.fullScreen?(n.state.fullScreen=!1,document.webkitCancelFullScreen()):(n.state.fullScreen=!0,n.videoElm.webkitRequestFullScreen())};return t.onMounted(()=>{s()}),{root:a,...t.toRefs(e),...t.toRefs(n),handleError:b,isDisabled:r,play:c,handleMuted:k,touchSlidSrart:y,touchSlidMove:d,touchSlidEnd:p,retry:w,fullScreen:E,t:l}}}),Tb={class:"fox-video",ref:"videocon"},$b=["muted","autoplay","loop","poster","controls","preload"],Db=["src","type"],Ib={class:"fox-video-controller__now"},zb={class:"fox-video-controller__progress"},qb={class:"fox-video-controller__progress-value",ref:"progressBar"},Mb=[t.createElementVNode("div",{class:"fox-video-controller__ball-move"},null,-1)],Pb={class:"fox-video-controller__played",ref:"playedBar"},Rb={class:"fox-video-controller__total"},Lb={class:"fox-video-error"},Ob={class:"fox-video-error-tip"};function Fb(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",Tb,[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:o[0]||(o[0]=(...s)=>e.handleError&&e.handleError(...s))},[t.createElementVNode("source",{src:e.source.src,type:e.source.type},null,8,Db)],40,$b),e.showToolbox&&!e.isDisabled?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-video-mask",ref:"touchMask",onClick:o[1]||(o[1]=(...s)=>e.play&&e.play(...s))},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:o[2]||(o[2]=(...s)=>e.play&&e.play(...s))},null,512)),[[t.vShow,!e.state.playing]]):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(["fox-video-controller",{"fox-video-controller--show":!e.state.playing,"fox-video-controller--hide":e.state.playing}])},[t.createElementVNode("div",{class:"fox-video-controller__playbtn",onClick:o[3]||(o[3]=(...s)=>e.play&&e.play(...s))}),t.createElementVNode("div",Ib,t.toDisplayString(e.videoSet.displayTime),1),t.createElementVNode("div",zb,[t.createElementVNode("div",qb,[t.createElementVNode("div",{class:"buffered",style:t.normalizeStyle({width:`${e.videoSet.loaded}%`})},null,4),t.createElementVNode("div",{class:"fox-video-controller__ball",style:t.normalizeStyle({transform:`translate3d(${e.videoSet.progress.current}px, -50%, 0)`}),onTouchmove:o[4]||(o[4]=t.withModifiers(s=>e.touchSlidMove(s),["stop","prevent"])),onTouchstart:o[5]||(o[5]=t.withModifiers(s=>e.touchSlidSrart(),["stop"])),onTouchend:o[6]||(o[6]=t.withModifiers(s=>e.touchSlidEnd(s),["stop"]))},Mb,36),t.createElementVNode("div",Pb,null,512)],512)]),t.createElementVNode("div",Rb,t.toDisplayString(e.videoSet.totalTime),1),t.createElementVNode("div",{class:t.normalizeClass(["fox-video-controller__volume",{muted:e.state.isMuted}]),onClick:o[7]||(o[7]=(...s)=>e.handleMuted&&e.handleMuted(...s))},null,2),t.createElementVNode("div",{class:"fox-video-controller__full",onClick:o[8]||(o[8]=(...s)=>e.fullScreen&&e.fullScreen(...s))})],2),[[t.vShow,e.showToolbox&&!e.isDisabled]]),t.withDirectives(t.createElementVNode("div",Lb,[t.createElementVNode("p",Ob,t.toDisplayString(e.t("errorTip")),1),t.createElementVNode("p",{class:"fox-video-error-retry",onClick:o[9]||(o[9]=(...s)=>e.retry&&e.retry(...s))},t.toDisplayString(e.t("clickRetry")),1)],512),[[t.vShow,e.state.isError]])],512)}const bt=Q(Eb,[["render",Fb]]),{create:xb,componentName:Kb}=K("steps"),xl=xb({props:{direction:{type:String,default:"horizontal"},current:{type:[String,Number],default:"0"},progressDot:{type:Boolean,default:!1}},emits:["click-step"],setup(e,{emit:o,slots:l}){const n=t.reactive({children:[]}),a=t.computed(()=>{const i=Kb;return{[i]:!0,[`${i}-${e.direction}`]:!0,[`${i}-dot`]:!!e.progressDot}}),r=i=>{i&&n.children.push(i)},s=i=>{o("click-step",i)};return t.provide("parent",{relation:r,state:n,props:e,onEmit:s}),()=>t.h("view",{class:a.value},l.default?.())}}),{create:Ub,componentName:Hb}=K("step"),vb=Ub({props:{title:{type:String,default:""},content:{type:String,default:""}},emits:["click-step"],setup(){const{proxy:e}=t.getCurrentInstance(),o=t.inject("parent");o.relation(e);const l=t.reactive({dot:o.props.progressDot}),n=t.computed(()=>o.state.children.indexOf(e)+1),a=()=>{const c=n.value;return c<+o.props.current?"finish":c===+o.props.current?"process":"wait"},r=t.computed(()=>a()),s=t.computed(()=>{const c=Hb;return{[c]:!0,[`${c}-${r.value}`]:!0}}),i=()=>{o.onEmit(n.value)};return{...t.toRefs(l),index:n,classes:s,handleClickStep:i}}}),jb={class:"fox-step-head"},Wb=t.createElementVNode("view",{class:"fox-step-line"},null,-1),Yb={class:"fox-step-icon-inner"},Xb={key:1,class:"fox-step-inner"},Qb={class:"fox-step-main"},Gb={class:"fox-step-title"},Zb={key:0},Jb={key:0,class:"fox-step-content"},_b=["innerHTML"];function eS(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=(...s)=>e.handleClickStep&&e.handleClickStep(...s))},[t.createElementVNode("view",jb,[Wb,t.createElementVNode("view",{class:t.normalizeClass(["fox-step-icon",[e.dot?"":"is-icon"]])},[t.createElementVNode("view",Yb,[t.renderSlot(e.$slots,"icon",{},()=>[e.dot?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[],64)):(t.openBlock(),t.createElementBlock("view",Xb,t.toDisplayString(e.index),1))])])],2)]),t.createElementVNode("view",Qb,[t.createElementVNode("view",Gb,[e.$slots.title?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",Zb,t.toDisplayString(e.title),1)),t.renderSlot(e.$slots,"title")]),e.content||e.$slots.content?(t.openBlock(),t.createElementBlock("view",Jb,[e.$slots.content?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:e.content},null,8,_b)),t.renderSlot(e.$slots,"content")])):t.createCommentVNode("",!0)])],2)}const Kl=Q(vb,[["render",eS]]),{create:tS,componentName:Ul}=K("swiper"),oS=tS({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:o,slots:l}){const n=t.ref(),a=t.reactive({active:0,num:0,rect:null,width:0,height:0,moving:!1,offset:0,touchTime:0,autoplayTimer:null,children:[],childrenVNode:[],style:{}}),r=Ue(),s=t.computed(()=>({[Ul]:!0})),i=t.computed(()=>e.direction==="vertical"),c=t.computed(()=>{const B=Ul;return{[`${B}-inner`]:!0,[`${B}-vertical`]:i.value}}),u=t.computed(()=>{const B=Ul;return{[`${B}-pagination`]:!0,[`${B}-pagination-vertical`]:i.value}}),f=t.computed(()=>i.value?r.deltaY.value:r.deltaX.value),m=t.computed(()=>r.direction.value===e.direction),h=t.computed(()=>a.children.length),b=t.computed(()=>a[i.value?"height":"width"]),g=t.computed(()=>h.value*b.value),k=t.computed(()=>a.rect?(i.value?a.rect.height:a.rect.width)-b.value*h.value:0),y=t.computed(()=>(a.active+h.value)%h.value),d=()=>{let B=0;B=a.offset,a.style={transitionDuration:`${a.moving?0:e.duration}ms`,transform:`translate${i.value?"Y":"X"}(${B}px)`,[i.value?"height":"width"]:`${b.value*h.value}px`,[i.value?"width":"height"]:`${i.value?a.width:a.height}px`}},p=B=>{let R=[];const M=a.childrenVNode.length;let x=l?.default?.();if(x=x.filter(W=>W.children&&Array.isArray(W.children)),x.forEach(W=>{R=R.concat(W.children)}),!M)a.childrenVNode=R.slice(),B.proxy&&a.children.push(B.proxy);else if(M>R.length)a.children=a.children.filter(W=>B.proxy!==W);else if(M<R.length){for(let W=0;W<M;W++)if(R[W].key!==a.childrenVNode[W].key){B.proxy&&a.children.splice(W,0,B.proxy),B.vnode&&a.childrenVNode.splice(W,0,B.vnode);break}M!==R.length&&(B.proxy&&a.children.push(B.proxy),B.vnode&&a.childrenVNode.push(B.vnode))}else a.childrenVNode=R.slice(),B.proxy&&a.children.push(B.proxy)},S=(B,R=0)=>{let M=B*b.value;e.loop||(M=Math.min(M,-k.value));let x=R-M;return e.loop||(x=Fe(x,k.value,0)),x},w=B=>{const{active:R}=a;return B?e.loop?Fe(R+B,-1,h.value):Fe(R+B,0,h.value-1):R},E=({pace:B=0,offset:R=0,isEmit:M=!1})=>{if(h.value<=1)return;const{active:x}=a,W=w(B),_=S(W,R);if(e.loop){if(a.children[0]&&_!==k.value){const G=_<k.value;a.children[0].setOffset(G?g.value:0)}if(a.children[h.value-1]&&_!==0){const G=_>0;a.children[h.value-1].setOffset(G?-g.value:0)}}a.active=W,a.offset=_,M&&x!==a.active&&o("change",y.value),d()},$=()=>{a.moving=!0,a.active<=-1&&E({pace:h.value}),a.active>=h.value&&E({pace:-h.value})},q=()=>{a.autoplayTimer&&clearTimeout(a.autoplayTimer)},D=B=>{$(),r.reset(),We(()=>{We(()=>{a.moving=!1,E({pace:B,isEmit:!0})})})},z=()=>{D(-1)},V=()=>{D(1)},A=B=>{$(),r.reset(),We(()=>{a.moving=!1;let R;e.loop&&h.value===B?R=a.active===0?0:B:R=B%h.value,E({pace:R-a.active,isEmit:!0})})},L=()=>{e.autoPlay<=0||h.value<=1||(q(),a.autoplayTimer=setTimeout(()=>{V(),L()},Number(e.autoPlay)))},P=(B=+e.initPage)=>{q(),a.rect=n.value.getBoundingClientRect(),B=Math.min(h.value-1,B),a.width=e.width?+e.width:a.rect.width,a.height=e.height?+e.height:a.rect.height,a.active=B,a.offset=S(a.active),a.moving=!0,d(),L()},T=B=>{e.isPreventDefault&&B.preventDefault(),e.isStopPropagation&&B.stopPropagation(),e.touchable&&(r.start(B),a.touchTime=Date.now(),q(),$())},N=B=>{e.touchable&&a.moving&&(r.move(B),m.value&&E({offset:f.value}))},I=B=>{if(!e.touchable||!a.moving)return;const R=f.value/(Date.now()-a.touchTime);if((Math.abs(R)>.3||Math.abs(f.value)>+(b.value/2).toFixed(2))&&m.value){let x=0;const W=i.value?r.offsetY.value:r.offsetX.value;e.loop?x=W>0?f.value>0?-1:1:0:x=-Math[f.value>0?"ceil":"floor"](f.value/b.value),E({pace:x,isEmit:!0})}else f.value&&E({pace:0});a.moving=!1,d(),L()};return t.provide("parent",{props:e,size:b,relation:p}),De({prev:z,next:V,to:A}),t.onDeactivated(()=>{q()}),t.onBeforeUnmount(()=>{q()}),t.watch(()=>e.initPage,B=>{t.nextTick(()=>{P(Number(B))})}),t.watch(()=>a.children.length,()=>{t.nextTick(()=>{P()})}),t.watch(()=>e.autoPlay,B=>{B>0?L():q()}),{state:a,classes:s,classesInner:c,classesPagination:u,container:n,activePagination:y,onTouchStart:T,onTouchMove:N,onTouchEnd:I}}});function nS(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{ref:"container",class:t.normalizeClass(e.classes),onTouchstart:o[0]||(o[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:o[1]||(o[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:o[2]||(o[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:o[3]||(o[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s))},[t.createElementVNode("view",{class:t.normalizeClass(e.classesInner),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.classesPagination)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.state.children.length,(s,i)=>(t.openBlock(),t.createElementBlock("i",{style:t.normalizeStyle({backgroundColor:e.activePagination===i?e.paginationColor:"#ddd"}),class:t.normalizeClass({active:e.activePagination===i}),key:i},null,6))),128))],2)):t.createCommentVNode("",!0)],34)}const St=Q(oS,[["render",nS]]),{create:lS,componentName:aS}=K("swiper-item"),rS=lS({setup(e,{slots:o}){const l=t.inject("parent");l.relation(t.getCurrentInstance());const n=t.reactive({offset:0}),a=t.computed(()=>({[aS]:!0})),r=t.computed(()=>{const i={},c=l?.props.direction;return l?.size.value&&(i[c==="horizontal"?"width":"height"]=`${l?.size.value}px`),n.offset&&(i.transform=`translate${c==="horizontal"?"X":"Y"}(${n.offset}px)`),i}),s=i=>{n.offset=i};return t.onUnmounted(()=>{l.relation(t.getCurrentInstance(),"unmount")}),De({setOffset:s}),{style:r,classes:a}}});function sS(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)}const Ct=Q(rS,[["render",sS]]),rs={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:iS}=K("image-preview-item"),cS=iS({props:{...rs,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:{[bt.name]:bt,[Ct.name]:Ct},setup(e,{emit:o}){const l=t.reactive({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}),n=Ue(),a=t.computed(()=>{const{rootWidth:z,rootHeight:V}=e,A=V/z;return l.imageRatio>A}),r=t.computed(()=>{const z=e.image;if(z&&z.src){const{scale:V,moveX:A,moveY:L,moving:P,zooming:T}=l,N={transitionDuration:T||P?"0s":".3s"};if(V!==1){const I=A/V,B=L/V;N.transform=`scale(${V}, ${V}) translate(${I}px, ${B}px)`}return N}return{}}),s=t.computed(()=>{if(l.imageRatio){const{rootWidth:z,rootHeight:V}=e,A=a.value?V/l.imageRatio:z;return Math.max(0,(l.scale*A-z)/2)}return 0}),i=t.computed(()=>{if(l.imageRatio){const{rootWidth:z,rootHeight:V}=e,A=a.value?V:z*l.imageRatio;return Math.max(0,(l.scale*A-V)/2)}return 0}),c=z=>{const{naturalWidth:V,naturalHeight:A}=z.target;l.imageRatio=A/V},u=()=>{f(1),l.moveX=0,l.moveY=0},f=z=>{z=Fe(z,+e.minZoom,+e.maxZoom+1),z!==l.scale&&(l.scale=z,o("scale",{scale:z,index:e.initNo}))},m=()=>{const z=l.scale>1?1:2;f(z),l.moveX=0,l.moveY=0},h=z=>Math.sqrt((z[0].clientX-z[1].clientX)**2+(z[0].clientY-z[1].clientY)**2);let b,g,k,y,d,p,S;const w=z=>{const{touches:V}=z,{offsetX:A}=n;n.start(z),S=V.length,b=l.moveX,g=l.moveY,p=Date.now(),l.moving=S===1&&l.scale!==1,l.zooming=S===2&&!A.value,l.zooming&&(k=l.scale,y=h(z.touches))},E=z=>{const{touches:V}=z;if(n.move(z),(l.moving||l.zooming)&&tn(z,!0),l.moving){const{deltaX:A,deltaY:L}=n,P=A.value+b,T=L.value+g;l.moveX=Fe(P,-s.value,s.value),l.moveY=Fe(T,-i.value,i.value)}if(l.zooming&&V.length===2){const A=h(V),L=k*A/y;f(L)}},$=()=>{if(S==1&&e.video&&e.video.source||S>1)return;const{offsetX:z,offsetY:V}=n,A=Date.now()-p,L=250,P=5;z.value<P&&V.value<P&&A<L&&(d?(clearTimeout(d),d=null,m()):d=setTimeout(()=>{e.contentClose&&o("close"),d=null},L))},q=z=>{let V=!1;(l.moving||l.zooming)&&(V=!0,l.moving&&b===l.moveX&&g===l.moveY&&(V=!1),z.touches.length||(l.zooming&&(l.moveX=Fe(l.moveX,-s.value,s.value),l.moveY=Fe(l.moveY,-i.value,i.value),l.zooming=!1),l.moving=!1,b=0,g=0,k=1,l.scale<1&&u(),l.scale>e.maxZoom&&(l.scale=+e.maxZoom))),tn(z,V),$(),n.reset()},D=()=>{o("close")};return t.watch(()=>e.initNo,u),t.watch(()=>e.show,z=>{z||u()}),{...t.toRefs(l),onTouchStart:w,onTouchMove:E,onTouchEnd:q,getDistance:h,imageStyle:r,imageLoad:c,closeSwiper:D}}}),dS=["src"];function uS(e,o,l,n,a,r){const s=t.resolveComponent("fox-video"),i=t.resolveComponent("fox-swiper-item");return t.openBlock(),t.createBlock(i,{onClick:e.closeSwiper},{default:t.withCtx(()=>[t.createElementVNode("view",{style:t.normalizeStyle(e.imageStyle),class:"fox-image-preview-box",onTouchstart:o[1]||(o[1]=(...c)=>e.onTouchStart&&e.onTouchStart(...c)),onTouchmove:o[2]||(o[2]=(...c)=>e.onTouchMove&&e.onTouchMove(...c)),onTouchend:o[3]||(o[3]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c)),onTouchcancel:o[4]||(o[4]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[e.image&&e.image.src?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.image.src,class:"fox-image-preview-img",onLoad:o[0]||(o[0]=(...c)=>e.imageLoad&&e.imageLoad(...c))},null,40,dS)):t.createCommentVNode("",!0),e.video&&e.video.source?(t.openBlock(),t.createBlock(s,{key:1,source:e.video.source,options:e.video.options},null,8,["source","options"])):t.createCommentVNode("",!0)],36)]),_:1},8,["onClick"])}const fS=Q(cS,[["render",uS]]),{create:mS}=K("image-preview"),pS=mS({props:{...rs,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:fS,CircleClose:ee.CircleClose,[ce.name]:ce,[St.name]:St},setup(e,{emit:o}){const l=t.ref(),n=t.reactive({showPop:e.show,active:0,rootWidth:0,rootHeight:0}),a=t.computed(()=>{const f="fox-image-preview-close";return`fox-image-preview-close-icon ${e.closeIconPosition=="top-right"?`${f}-right`:`${f}-left`}`}),r=t.computed(()=>Gt(e.videos)?[].concat(e.videos).concat(e.images):e.images),s=f=>{f!==n.active&&(n.active=f,o("change",n.active))},i=()=>{ts(e.beforeClose,{args:[n.active],done:()=>c()})},c=()=>{n.showPop=!1,o("close")},u=()=>{if(l.value){const f=Ae(l.value);n.rootHeight=f.height,n.rootWidth=f.width}};return t.watch(()=>e.show,f=>{n.showPop=f,f&&(s(e.initNo),u())}),t.watch(()=>e.initNo,f=>{f!=n.active&&s(f)}),t.onMounted(()=>{s(e.initNo)}),{swipeRef:l,...t.toRefs(n),onClose:i,mergeImages:r,setActive:s,iconClasses:a}}}),hS={class:"fox-image-preview",ref:"swipeRef"},gS={key:0,class:"fox-image-preview-index"};function yS(e,o,l,n,a,r){const s=t.resolveComponent("image-preview-item"),i=t.resolveComponent("fox-swiper"),c=t.resolveComponent("CircleClose"),u=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(u,{"pop-class":"fox-image-preview-custom-pop",visible:e.showPop,"onUpdate:visible":o[1]||(o[1]=f=>e.showPop=f),teleportDisable:e.teleportDisable,teleport:e.teleport,onClosed:e.onClose,"lock-scroll":""},{default:t.withCtx(()=>[t.createElementVNode("view",hS,[e.showPop?(t.openBlock(),t.createBlock(i,{key:0,"auto-play":e.autoplay,class:"fox-image-preview-swiper",loop:e.isLoop,"is-preventDefault":!1,direction:"horizontal",onChange:e.setActive,"init-page":e.initNo,"pagination-visible":e.paginationVisible,"pagination-color":e.paginationColor},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.mergeImages,(f,m)=>(t.openBlock(),t.createBlock(s,{key:m,video:m<e.videos.length?f:{},image:m>=e.videos.length?f:{},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"])):t.createCommentVNode("",!0)],512),e.showIndex?(t.openBlock(),t.createElementBlock("view",gS,t.toDisplayString(e.active+1)+" / "+t.toDisplayString(e.mergeImages.length),1)):t.createCommentVNode("",!0),e.closeable?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(e.iconClasses),onClick:o[0]||(o[0]=(...f)=>e.onClose&&e.onClose(...f))},[t.renderSlot(e.$slots,"close-icon",{},()=>[t.createVNode(c,{color:"#ffffff"})])],2)):t.createCommentVNode("",!0)]),_:3},8,["visible","teleportDisable","teleport","onClosed"])}const ss=Q(pS,[["render",yS]]);class kS{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"}class bS{options=new kS;constructor(o){const l=Object.assign(this.options,o),{unmount:n}=Us(l,{name:"image-preview",components:[ce,bt,St,Ct,lt],wrapper:()=>({setup(){return()=>(l.onClose=()=>{l.show=!1,t.nextTick(()=>{n()})},t.h(ss,l))}})})}}const Oo=e=>new bS(e);Oo.install=e=>{e.use(ss)};function SS(e){const o=t.getCurrentInstance();if(o&&o.proxy){let l=o.proxy;Object.assign(l,e)}}const{componentName:gB,create:CS}=K("countup"),wS=CS({props:{initNum:{type:Number,default:0},endNum:{type:Number,default:0},speed:{type:Number,default:1},toFixed:{type:Number,default:0},during:{type:Number,default:1e3},startFlag:{type:Boolean,default:!0},numWidth:{type:Number,default:20},numHeight:{type:Number,default:20},scrolling:{type:Boolean,default:!1},customBgImg:{type:String,default:""},customSpacNum:{type:Number,default:0},customChangeNum:{type:Number,default:1},type:{type:String,default:""},machineNum:{type:Number,default:3},machinePrizeNum:{type:Number,default:0},machinePrizeLevel:{type:Number,default:0},machineTurnMore:{type:Number,default:0}},components:{},emits:["click","scroll-end"],setup(e,{emit:o}){const l=t.ref(null),n=t.ref([]),a=D=>{D&&n.value.push(D)},r=t.reactive({valFlag:!1,current:0,sortFlag:"add",initDigit1:0,initDigit2:0,to0_10:[0,1,2,3,4,5,6,7,8,9,0],to10_0:[0,9,8,7,6,5,4,3,2,1,1],timer:null,totalCount:0,pointNum:0,numberVal:0,num_total_len:0,relNum:0,customNumber:1,prizeLevelTrun:0,prizeY:[],prizeYPrev:[],finshMachine:0,notPrize:[],typeMachine:""}),{startFlag:s,scrolling:i,customBgImg:c,type:u}=t.reactive(e);t.watch(()=>e.customChangeNum,(D,z)=>{m(),y(0)}),t.watch(()=>e.machinePrizeLevel,(D,z)=>{r.prizeLevelTrun=D}),t.watch(()=>e.initNum,(D,z)=>{r.current=D,r.valFlag=!1,f()}),t.watch(()=>e.endNum,(D,z)=>{r.current=e.initNum,r.valFlag=!1,f()});const f=()=>{if(r.valFlag)return!1;s&&(i||c?u!="machine"&&y():(k(),setTimeout(()=>{r.valFlag=!0},300)))},m=()=>{clearInterval(Number(r.timer)),r.timer=null},h=(D,z,V)=>{const A=(D.toString().split(".")[1]||"").length,L=(z.toString().split(".")[1]||"").length,P=Math.pow(10,Math.max(A,L));return V=="-"?Number((D*P-z*P).toFixed(0))/P:Number((D*P+z*P).toFixed(0))/P},b=D=>{let{num_total_len:z,pointNum:V,initDigit1:A,initDigit2:L,sortFlag:P}=r,T=P=="add"||P=="equal"?String(L)[D-(z-V)]:10-Number(String(L)[D-(z-V)]),N=P=="add"||P=="equal"?String(A)[D]:10-Number(String(A)[D]),I=D>z-V-1?-T*100+"%":D<=String(A).length-1?-N*100+"%":0;return I=="-1000%"&&(I=0),I},g=D=>{let{num_total_len:z,pointNum:V,initDigit1:A,initDigit2:L,sortFlag:P}=r,T=String(L)[D-(z-V)];return D>z-V-1?T||0:D<=String(A).length-1?String(A)[D]:0},k=()=>{let{endNum:D,initNum:z,speed:V,toFixed:A}=e,L=setInterval(()=>{if(z>D)if(r.current<=D||r.current<=V)r.current=D.toFixed(A),clearInterval(L),o("scroll-end"),r.valFlag=!1;else{let P=parseFloat(String(r.current))-parseFloat(String(V));r.current=P.toFixed(A)}else if(r.current>=D)r.current=D.toFixed(A),clearInterval(L),o("scroll-end"),r.valFlag=!1;else{let P=parseFloat(String(r.current))+parseFloat(String(V));r.current=P.toFixed(A)}},e.during)},y=D=>{let{initNum:z,endNum:V,toFixed:A,customBgImg:L}=e;L&&(z=e.customChangeNum);let P,T,N,I;z!=0?(A!=0&&(z=Number(z.toFixed(A))),String(z).indexOf(".")>-1?(P=String(z).split(".")[0].length,T=String(z).split(".")[1].length):(P=String(z).length,T=0)):(P=1,T=0),V!=0?(A!=0&&(V=Number(V.toFixed(A))),String(V).indexOf(".")>-1?(N=String(V).split(".")[0].length,I=String(V).split(".")[1].length):(N=String(V).length,I=0)):(N=1,I=0);let B=P>=N?P:N,R=T>=I?T:I;r.num_total_len=B+R,r.pointNum=R,z>V?(r.sortFlag="reduce",r.to0_10=[0,9,8,7,6,5,4,3,2,1,0],r.totalCount=h(z,V,"-"),r.numberVal=Number(String(z))):z<V?(r.sortFlag="add",r.to0_10=[0,1,2,3,4,5,6,7,8,9,0],r.totalCount=h(V,z,"-"),r.numberVal=Number(String(V))):r.sortFlag="equal";var M=1;for(let W=0;W<r.pointNum;W++)M*=10;var x=r.numberVal*M;if(r.relNum=x,A!=0&&(r.pointNum=String(r.numberVal).split(".")[1]?String(r.numberVal).split(".")[1].length:0,r.num_total_len=String(x).length),String(z).indexOf(".")>-1){let W=String(z).split(".");r.initDigit1=Number(W[0]),r.initDigit2=Number(W[1])}else r.initDigit1=z,r.initDigit2=0;i&&!L?t.nextTick(()=>{if(r.sortFlag=="equal")return!1;let W=n.value[r.num_total_len-1];d(W)}):D!==0&&w()},d=D=>{m();var z=1;r.pointNum!=0&&(z=1/Math.pow(10,r.pointNum)),r.timer=setInterval(()=>{p(D),r.totalCount=h(r.totalCount,z,"-"),r.totalCount<=0&&(m(),o("scroll-end"),r.valFlag=!1)},e.during)},p=D=>{let z=D.getAttribute("turn-number"),V;if(r.sortFlag=="add"?V=parseInt(String(z))+1:V=parseInt(String(z))-1>=0?parseInt(String(z))-1:9,D.setAttribute("turn-number",String(V)),(D.style.transition=="none 0s ease 0s"||V==1||!D.style.transition)&&(D.style.transition=`all linear ${e.during}ms`),V==10||r.sortFlag=="reduce"&&V==0){var A=null;D.style.top=`-${r.sortFlag=="add"?V*100:(10-V)*100}%`,D.setAttribute("turn-number","0"),A=setTimeout(()=>{A&&clearTimeout(A),D.style.transition="none",D.style.top="0",S(D,V)},.975*e.during)}else D.style.top=`-${r.sortFlag=="add"?V*100:(10-V)*100}%`;D.style.top=="-100%"&&r.sortFlag=="reduce"&&p(D.previousSibling)},S=(D,z)=>{setTimeout(()=>{z==10&&D.previousSibling&&p(D.previousSibling)},200)},w=()=>{r.pointNum!=0&&Math.pow(10,r.pointNum),t.nextTick(()=>{l.value.addEventListener("webkitTransitionEnd",()=>{o("scroll-end"),r.valFlag=!1})})},E=()=>{for(r.notPrize=[];r.notPrize.length<3;){var D=Math.floor(Math.random()*e.machinePrizeNum+1);r.notPrize.indexOf(D)==-1&&r.notPrize.push(D)}};SS({machineLuck:()=>{const D=e.machineTurnMore<0?0:e.machineTurnMore;let z=e.numHeight*e.machinePrizeNum;r.prizeLevelTrun<0&&E();for(let V=0;V<e.machineNum;V++)setTimeout(()=>{let A=z*(V+1+parseFloat(String(D)));r.prizeYPrev.length!=0&&(r.prizeY[V]=r.prizeYPrev[V]);let L=r.prizeYPrev[V]?r.prizeYPrev[V]:0,P=A+L+(e.machinePrizeNum-r.prizeLevelTrun+1)*e.numHeight+(z-L);r.prizeLevelTrun<0&&(P+=e.numHeight*r.notPrize[V]),q(V,P,L)},500*V)}});const q=(D,z,V)=>{let A=setInterval(()=>{if(V<=z)V+=10,r.prizeY[D]=parseFloat(String(V));else if(clearInterval(A),A=null,r.finshMachine+=1,r.prizeY[D]=z,r.finshMachine==e.machineNum){let L=e.numHeight*e.machinePrizeNum;r.prizeYPrev=[],JSON.parse(JSON.stringify(r.prizeY)).forEach(T=>{let N=T;for(;N>L;)N-=L;r.prizeYPrev.push(N)}),setTimeout(()=>{r.finshMachine=0,r.prizeLevelTrun<0?(o("scroll-end",!1),r.valFlag=!1):(o("scroll-end",!0),r.valFlag=!1)},130)}},30)};return t.onMounted(()=>{r.current=e.initNum,t.nextTick(()=>{f()})}),t.onUnmounted(()=>{m(),r.timer=null}),{...t.toRefs(r),...t.toRefs(t.reactive(e)),runNumberImg:l,setRef:a,topNumber:b,turnNumber:g}}}),NS={class:"fox-countup"},BS=["turn-number"];function VS(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",NS,[e.customBgImg!=""?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.type=="machine"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-countup__machine",style:t.normalizeStyle({height:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.machineNum,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-countup__machine-item",key:"mImg"+i,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionY:e.prizeY[i]+"px"})},null,4))),128))],4)):(t.openBlock(),t.createElementBlock("view",{key:1,ref:"runNumberImg",class:"fox-countup__numberimg",style:t.normalizeStyle({height:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.num_total_len,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-countup__numberimg__item",key:"cImg"+i,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",left:e.numWidth*(i>e.num_total_len-e.pointNum-1?i==e.num_total_len-e.pointNum?i*1.5:i*1.3:i)+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionX:"0",backgroundPositionY:-(+String(e.relNum)[i]*e.numHeight+e.customSpacNum*+String(e.relNum)[i])+"px",transition:"all linear "+e.during/10+"ms"})},null,4))),128)),e.pointNum>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-countup-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:"fox-countup__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,(s,i)=>(t.openBlock(),t.createElementBlock("view",{ref_for:!0,ref:c=>e.setRef(c),class:"fox-countup__number-item",key:s,style:t.normalizeStyle({top:e.topNumber(i),left:e.numWidth*(i>e.num_total_len-e.pointNum-1?i*1.1:i)+"px"}),"turn-number":e.turnNumber(i)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.to0_10,(c,u)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-countup__number-item__span",key:"dote"+u,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},t.toDisplayString(c),5))),128))],12,BS))),128)),e.pointNum>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-countup-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 Hl=Q(wS,[["render",VS]]),AS=e=>{if(!e)return Date.now();let o=Number(e),l=o>0?+o:o.toString().replace(/\-/g,"/");return new Date(l).getTime()},{componentName:ES,create:TS}=K("countdown"),$S=TS({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:o,slots:l}){const n=t.reactive({restTime:0,timer:null,counting:!e.paused&&e.autoStart,handleEndTime:Date.now(),diffTime:0}),a=t.computed(()=>({[ES]:!0})),r=t.computed(()=>c(n.restTime)),s=()=>{n.handleEndTime=e.endTime,n.diffTime=Date.now()-AS(e.startTime),n.counting||(n.counting=!0),i()},i=()=>{window!==void 0&&(n.timer=requestAnimationFrame(()=>{if(n.counting){const b=Date.now()-n.diffTime,g=Math.max(n.handleEndTime-b,0);n.restTime=g,g||(n.counting=!1,m(),o("on-end")),g>0&&i()}}))},c=(b,g)=>{const k=b;let y={d:0,h:0,m:0,s:0,ms:0};const d=1e3,p=60*d,S=60*p,w=24*S;return k>0&&(y.d=k>=d?Math.floor(k/w):0,y.h=Math.floor(k%w/S),y.m=Math.floor(k%S/p),y.s=Math.floor(k%p/d),y.ms=Math.floor(k%d)),g=="custom"?y:u({...y})},u=b=>{let{d:g,h:k,m:y,s:d,ms:p}=b,S=e.format;if(S.includes("DD")?S=S.replace("DD",et(g)):k+=Number(g)*24,S.includes("HH")?S=S.replace("HH",et(k)):y+=Number(k)*60,S.includes("mm")?S=S.replace("mm",et(y)):d+=Number(y)*60,S.includes("ss")?S=S.replace("ss",et(d)):p+=Number(d)*1e3,S.includes("S")){const w=et(p,3).toString();S.includes("SSS")?S=S.replace("SSS",w):S.includes("SS")?S=S.replace("SS",w.slice(0,2)):S.includes("S")&&(S=S.replace("SS",w.slice(0,1)))}return S},f=()=>{!n.counting&&!e.autoStart&&(n.counting=!0,n.handleEndTime=Date.now()+Number(n.restTime),i(),o("on-restart",n.restTime))},m=()=>{cancelAnimationFrame(n.timer),n.counting=!1,o("on-paused",n.restTime)},h=()=>{e.autoStart||(m(),n.restTime=e.time)};return t.onBeforeMount(()=>{e.autoStart?s():n.restTime=e.time}),t.watch(()=>n.restTime,b=>{let g=c(b,"custom");o("update:modelValue",g),o("input",g)}),t.watch(()=>e.paused,(b,g)=>{g?(n.counting||(n.counting=!0,n.handleEndTime=Date.now()+Number(n.restTime),i()),o("on-restart",n.restTime)):n.counting&&m()}),t.watch(()=>e.endTime,b=>{s()}),t.watch(()=>e.startTime,b=>{s()}),{...t.toRefs(e),slots:l,classes:a,start:f,pause:m,renderTime:r,reset:h}}}),DS=["innerHTML"];function IS(e,o,l,n,a,r){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:"fox-countdown__content",innerHTML:e.renderTime},null,8,DS))],2)}const vl=Q($S,[["render",IS]]),{create:zS}=K("badge"),qS=zS({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){const o=t.reactive({}),l=t.computed(()=>({top:`${e.top}px`,right:`${e.right}px`,zIndex:e.zIndex,background:e.color})),n=t.computed(()=>{if(e.dot)return;const a=e.value,r=e.max;return typeof a=="number"&&typeof r=="number"&&r<a?`${r}+`:a});return{state:o,stl:l,content:n}}}),MS={class:"fox-badge"},PS=["textContent"];function RS(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",MS,[t.withDirectives(t.createElementVNode("view",{class:"fox-badge__icon",style:t.normalizeStyle(e.stl)},[t.renderSlot(e.$slots,"icon")],4),[[t.vShow,!e.hidden&&!e.dot&&e.$slots.icon]]),t.renderSlot(e.$slots,"default"),t.withDirectives(t.createElementVNode("view",{textContent:t.toDisplayString(e.content),class:t.normalizeClass(["fox-badge__content fox-badge__content--sup",{"fox-badge__content--dot":e.dot,"fox-badge__content--bubble":!e.dot&&e.bubble}]),style:t.normalizeStyle(e.stl)},null,14,PS),[[t.vShow,!e.hidden&&(e.content||e.dot)]])])}const jl=Q(qS,[["render",RS]]),{componentName:LS,create:OS}=K("tag"),FS=OS({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}},components:{Close:ee.Close},emits:["close","click"],setup(e,{emit:o}){const{type:l,color:n,plain:a,round:r,mark:s,textColor:i}=t.toRefs(e);return{classes:t.computed(()=>{const h=LS;return{[h]:!0,[`${h}--${l.value}`]:l.value,[`${h}--plain`]:a.value,[`${h}--round`]:r.value,[`${h}--mark`]:s.value}}),getStyle:()=>{const h={};return i.value?h.color=i.value:n.value&&a.value&&(h.color=n.value),a.value?(h.background="#fff",h["border-color"]=n.value):n.value&&(h.background=n.value),h},onClose:h=>{h.stopPropagation(),o("close",h)},onClick:h=>{o("click",h)}}}});function xS(e,o,l,n,a,r){const s=t.resolveComponent("Close");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.getStyle()),onClick:o[0]||(o[0]=(...i)=>e.onClick&&e.onClick(...i))},[t.renderSlot(e.$slots,"default"),e.closeable?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-tag--close",width:"12px",height:"12px",onClick:e.onClose},null,8,["onClick"])):t.createCommentVNode("",!0)],6)}const jt=Q(FS,[["render",xS]]),{create:KS}=K("popover"),US=KS({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:o}){const l=t.ref(),n=t.ref(),a=t.ref(e.visible);let r=t.ref(),s=t.ref();const i=t.computed(()=>{const p="fox-popover-arrow",S=e.location,w=S.split("-")[0];return`${p} ${p}-${w} ${p}--${S}`}),c=t.computed(()=>{const p={},{bgColor:S,arrowOffset:w,location:E}=e,$=E.split("-")[0],q=E.split("-")[1],D=16;return S&&(p[`border${u($)}Color`]=S),e.arrowOffset!=0&&(["bottom","top"].includes($)&&(q||(p.left=`calc(50% + ${w}px)`),q=="start"&&(p.left=`${D+w}px`),q=="end"&&(p.right=`${D-w}px`)),["left","right"].includes($)&&(q||(p.top=`calc(50% - ${w}px)`),q=="start"&&(p.top=`${D-w}px`),q=="end"&&(p.bottom=`${D+w}px`))),p}),u=p=>(p=p.toLowerCase(),p=p.replace(/\b\w+\b/g,S=>S.substring(0,1).toUpperCase()+S.substring(1)),p),f=t.computed(()=>{let p={};if(!r.value||!s.value)return{};const S=s.value.width,w=s.value.height,{width:E,height:$,left:q,top:D}=r.value,{location:z,offset:V}=e,A=z.split("-")[0],L=z.split("-")[1];let P=0,T=0;if(Gt(V)&&V.length==2&&(P+=Number(V[1]),T+=Number(V[0])),E){if(["bottom","top"].includes(A)){const N=A=="bottom"?$+P:-(w+P);p.top=`${D+N}px`,L||(p.left=`${-(S-E)/2+q+T}px`),L=="start"&&(p.left=`${q+T}px`),L=="end"&&(p.left=`${r.value.right+T}px`)}if(["left","right"].includes(A)){const N=A=="left"?-(S+P):E+P;p.left=`${q+N}px`,L||(p.top=`${D-w/2+$/2-4+T}px`),L=="start"&&(p.top=`${D+T}px`),L=="end"&&(p.top=`${D+$+T}px`)}}return p}),m=t.computed(()=>{const p={};return e.bgColor&&(p.background=e.bgColor),p}),h=()=>{let p=Ae(l.value);e.targetId&&(p=Ae(document.querySelector(`#${e.targetId}`))),r.value=p,setTimeout(()=>{s.value={height:n.value?.clientHeight,width:n.value?.clientWidth}},0)};t.onMounted(()=>{setTimeout(()=>{h()},200)}),t.watch(()=>e.visible,p=>{a.value=p,p?(window.addEventListener("touchstart",d,!0),h()):window.removeEventListener("touchstart",d,!0)});const b=p=>{o("update",p),o("update:visible",p)},g=()=>{b(!e.visible),o("open")},k=()=>{o("update:visible",!1),o("close")},y=(p,S)=>{!p.disabled&&o("choose",p,S),e.closeOnClickAction&&k()},d=p=>{const S=l.value,w=n.value;let E=S&&!S.contains(p.target);if(e.targetId){const $=document.querySelector(`#${e.targetId}`);E=$&&!$.contains(p.target)}E&&w&&!w.contains(p.target)&&e.closeOnClickOutside&&k()};return{showPopup:a,openPopover:g,popoverArrow:i,closePopover:k,chooseItem:y,popoverRef:l,popoverContentRef:n,getRootPosition:f,customStyle:m,popoverArrowStyle:c,renderIcon:Qa}}}),HS={ref:"popoverContentRef",class:"fox-popover-content-group"},vS=["onClick"],jS={class:"fox-popover-menu-item-name"};function WS(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock(t.Fragment,null,[e.targetId?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,ref:"popoverRef",class:"fox-popover-wrapper",onClick:o[0]||(o[0]=(...i)=>e.openPopover&&e.openPopover(...i))},[t.renderSlot(e.$slots,"reference")],512)),t.createElementVNode("view",{class:t.normalizeClass(["fox-popover",`fox-popover--${e.theme}`,`${e.customClass}`]),style:t.normalizeStyle(e.getRootPosition)},[t.createVNode(s,{visible:e.showPopup,"onUpdate:visible":o[1]||(o[1]=i=>e.showPopup=i),"pop-class":`fox-popover-content fox-popover-content--${e.location}`,style: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:t.withCtx(()=>[t.createElementVNode("view",HS,[e.showArrow?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.popoverArrow),style:t.normalizeStyle(e.popoverArrowStyle)},null,6)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content"),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.list,(i,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass([i.className,i.disabled&&"fox-popover-menu-disabled","fox-popover-menu-item"]),onClick:t.withModifiers(u=>e.chooseItem(i,c),["stop"])},[i.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(i.icon)),{key:0,class:"fox-popover-item-img"})):t.createCommentVNode("",!0),t.createElementVNode("view",jS,t.toDisplayString(i.name),1)],10,vS))),128))],512)]),_:3},8,["visible","pop-class","style","teleport-disable","overlay","duration","overlay-style","overlay-class","close-on-click-overlay"])],6)],64)}const Wt=Q(US,[["render",WS]]),YS=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(o){const{avatarShape:l,round:n,avatarSize:a}=t.toRefs(o),r=t.computed(()=>{const c="avatarClass";return{[c]:!0,[`${c}--${l.value}`]:l.value}});return{avatarShape:l,avatarClass:r,getBlockClass:c=>({[c]:!0,[`${c}--round`]:n.value}),getStyle:()=>a.value?{width:a.value,height:a.value}:{width:"50px",height:"50px"}}}}),{create:XS}=K("skeleton"),QS=XS(YS({[vt.name]:vt})),GS={key:0},ZS={key:1,class:"fox-skeleton"},JS={key:0,class:"fox-skeleton-animation"},_S={class:"fox-skeleton-content"};function e0(e,o,l,n,a,r){const s=t.resolveComponent("fox-avatar");return e.loading?(t.openBlock(),t.createElementBlock("view",ZS,[e.animated?(t.openBlock(),t.createElementBlock("view",JS)):t.createCommentVNode("",!0),t.createElementVNode("view",_S,[e.avatar?(t.openBlock(),t.createBlock(s,{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:"fox-skeleton-content__line",style:t.normalizeStyle({width:e.width})},[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.getBlockClass("fox-skeleton-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),i=>(t.openBlock(),t.createElementBlock("view",{key:i,class:t.normalizeClass(e.getBlockClass("fox-skeleton-blockLine")),style:t.normalizeStyle({height:e.height})},null,6))),128))],4)])])):(t.openBlock(),t.createElementBlock("view",GS,[t.renderSlot(e.$slots,"default")]))}const Wl=Q(QS,[["render",e0]]),{create:t0,componentName:o0}=K("collapse"),n0=t0({props:{modelValue:{type:[String,Number,Array],default:""},accordion:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{emit:o}){const l=t.ref(null),n=t.ref(e.modelValue||(e.accordion?"":[])),a=t.computed(()=>({[o0]:!0}));t.watch(()=>e.modelValue,c=>{n.value=c});const r=(c,u,f=!0)=>{n.value=c,o("update:modelValue",c),o("change",c,u,f)},s=c=>{if(e.accordion)n.value===c?r("",c,!1):r(c,c,!0);else if(Array.isArray(n.value))if(n.value.includes(c)){const u=n.value.filter(f=>f!==c);r(u,c,!1)}else{const u=n.value.concat([c]);r(u,c,!0)}else console.warn("[FoxUI] <Collapse> 未开启手风琴模式时 v-model 应为数组")},i=c=>e.accordion?n.value===c:Array.isArray(n.value)?n.value.includes(c):!1;return t.provide("collapseParent",{updateVal:s,isExpanded:i}),{collapseDom:l,classes:a}}});function l0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"collapseDom"},[t.renderSlot(e.$slots,"default")],2)}const Yl=Q(n0,[["render",l0]]),{create:a0,componentName:r0}=K("collapse-item"),s0=a0({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:ee.DownArrow},rotate:{type:[String,Number],default:180}},setup(e){const o=t.ref(null),l=t.ref(null),n=t.inject("collapseParent"),a=t.reactive(n),r=t.computed(()=>{const h=r0;return{[h]:!0,[h+"__border"]:e.border}}),s=t.computed(()=>a?a.isExpanded(e.name):!1),i=t.ref(s.value?"auto":"0px"),c=()=>{a.updateVal(e.name)},u=()=>{s.value&&(i.value="auto")},f=()=>{i.value="0px",requestAnimationFrame(()=>{requestAnimationFrame(()=>{const h=l.value?.offsetHeight;i.value=h?`${h}px`:"auto"})})},m=()=>{const h=l.value?.offsetHeight;i.value=h?`${h}px`:"auto",requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.value="0px"})})};return t.watch(s,h=>{h?f():m()}),{classes:r,renderIcon:Qa,wrapperRef:o,contentRef:l,open:f,toggle:c,wrapperHeight:i,expanded:s,onTransitionEnd:u}}}),i0={class:"fox-collapse-item__title-main"},c0={class:"fox-collapse-item__title-main-value"},d0=["innerHTML"],u0={key:2,class:"fox-collapse-item__title-label"},f0={key:0,class:"fox-collapse-item__title-sub"},m0=["innerHTML"],p0={key:0,class:"fox-collapse__item-extraWrapper"},h0={class:"fox-collapse__item-extraWrapper__extraRender"},g0={class:"fox-collapse__item-wrapper__content",ref:"contentRef"};function y0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["fox-collapse-item__title",{"fox-collapse-item__title--disabled":e.disabled}]),onClick:o[0]||(o[0]=(...s)=>e.toggle&&e.toggle(...s))},[t.createElementVNode("view",i0,[t.createElementVNode("view",c0,[e.$slots.title?t.renderSlot(e.$slots,"title",{key:0}):(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.title,class:"fox-collapse-item__title-mtitle"},null,8,d0)),e.label?(t.openBlock(),t.createElementBlock("view",u0,t.toDisplayString(e.label),1)):t.createCommentVNode("",!0)])]),e.$slots.value?(t.openBlock(),t.createElementBlock("view",f0,[t.renderSlot(e.$slots,"value")])):(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.value,class:"fox-collapse-item__title-sub"},null,8,m0)),t.createElementVNode("view",{class:t.normalizeClass(["fox-collapse-item__title-icon",{"fox-collapse-item__title-icon--expanded":e.expanded}]),style:t.normalizeStyle({transform:"rotate("+(e.expanded?e.rotate:0)+"deg)"})},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(e.icon))))],6)],2),e.$slots.extra?(t.openBlock(),t.createElementBlock("view",p0,[t.createElementVNode("div",h0,[t.renderSlot(e.$slots,"extra")])])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-collapse__item-wrapper",ref:"wrapperRef",style:t.normalizeStyle({willChange:"height",height:e.wrapperHeight}),onTransitionend:o[1]||(o[1]=(...s)=>e.onTransitionEnd&&e.onTransitionEnd(...s))},[t.createElementVNode("view",g0,[t.renderSlot(e.$slots,"default")],512)],36)],2)}const Xl=Q(s0,[["render",y0]]),k0=t.defineComponent({setup(e){return()=>t.h("view",{},e.slots[0]?e.slots[0](e.record):e.slots[1](e.record))},props:{slots:Array,record:Object}}),{componentName:b0,create:S0,scope:C0}=K("table"),w0=S0({components:{RenderColumn:k0,DownArrow:ee.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:o,slots:l}){const{t:n}=se.useFoxI18n(C0),a=t.reactive({curData:e.data}),r=t.computed(()=>({[b0]:!0})),s=b=>({"fox-table__main__head__tr--border":e.bordered,[`fox-table__main__head__tr--align${b.align?b.align:""}`]:!0}),i=b=>b.stylehead?b.stylehead:"",c=b=>b.stylecolumn?b.stylecolumn:"",u=b=>e.columns.filter(g=>g.key===b)[0],f=b=>{const g=e.columns.filter(k=>k.key===b);return g[0].stylecolumn?g[0].stylecolumn:""},m=b=>{b.sorter&&(o("sorter",b),a.curData=typeof b.sorter=="function"?a.curData.sort(b.sorter):b.sorter==="default"?a.curData.sort():a.curData)},h=()=>e.columns.map(b=>[b.key,b.render]);return t.watch(()=>e.data,b=>{a.curData=b.slice()}),{...t.toRefs(a),classes:r,cellClasses:s,getColumnItem:u,getColumnItemStyle:f,handleSorterClick:m,sortDataItem:h,t:n,stylehead:i,stylecolumn:c}}}),N0={class:"fox-table__main__head"},B0={class:"fox-table__main__head__tr"},V0=["onClick"],A0={class:"fox-table__main__body"},E0={key:1},T0={key:0,class:"fox-table__nodata"},$0={key:0,class:"fox-table__nodata__text"},D0={key:1,class:"fox-table__summary"},I0=["innerHTML"];function z0(e,o,l,n,a,r){const s=t.resolveComponent("DownArrow"),i=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",N0,[t.createElementVNode("view",B0,[(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:u=>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(s,{key:0,width:"12px",height:"12px"})):t.createCommentVNode("",!0)],14,V0))),128))])]),t.createElementVNode("view",A0,[(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(),([u,f])=>(t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["fox-table__main__body__tr__td",e.cellClasses(e.getColumnItem(u))]),key:u,style:t.normalizeStyle(e.getColumnItemStyle(u))},[typeof c[u]=="function"||typeof f=="function"?(t.openBlock(),t.createBlock(i,{key:0,slots:[f,c[u]],record:c},null,8,["slots","record"])):(t.openBlock(),t.createElementBlock("view",E0,t.toDisplayString(c[u]),1))],6))),128))]))),128))])],2),e.curData.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",T0,[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",$0,t.toDisplayString(e.t("noData")),1))],2)])),e.summary?(t.openBlock(),t.createElementBlock("view",D0,[t.createElementVNode("span",{class:"fox-table__summary__text",innerHTML:e.summary().value},null,8,I0)])):t.createCommentVNode("",!0)],2)}const Ql=Q(w0,[["render",z0]]),{componentName:q0,create:M0}=K("ellipsis"),P0=M0({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:o}){const l=t.ref(null);let n=null,a=0;const r=t.ref(),s=t.reactive({exceeded:!1,expanded:!1}),i=t.computed(()=>({[q0]:!0}));t.watch(()=>e.content,(k,y)=>{k!=y&&c()}),t.onMounted(()=>{c()});const c=()=>{if(!l.value)return;const k=window.getComputedStyle(l.value);n=document.createElement("div"),Array.prototype.slice.apply(k).forEach(p=>{n.style.setProperty(p,k.getPropertyValue(p))}),n.style.position="fixed",n.style.left="999999px",n.style.top="999999px",n.style.zIndex="-1000",n.style.height="auto",n.style.minHeight="auto",n.style.maxHeight="auto",n.style.textOverflow="clip",n.style.whiteSpace="normal",n.style.webkitLineClamp="unset",n.style.display="block";const d=h(k.lineHeight==="normal"?e.lineHeight:k.lineHeight);a=Math.floor(d*(Number(e.rows)+.5)+h(k.paddingTop)+h(k.paddingBottom)),n.innerText=e.content,document.body.appendChild(n),u()},u=()=>{if(n.offsetHeight<=a)s.exceeded=!1,document.body.removeChild(n);else{s.exceeded=!0;const k=e.content.length,y=Math.floor((0+k)/2),d=e.direction==="middle"?m([0,y],[y,k]):f(0,k);r.value=d,document.body.removeChild(n)}},f=(k,y)=>{const d=s.expanded?e.collapseText:e.expandText,p=e.content.length;if(y-k<=1)return e.direction==="end"?{leading:e.content.slice(0,k)+e.symbol}:{tailing:e.symbol+e.content.slice(y,p)};const S=Math.round((k+y)/2);return e.direction==="end"?n.innerText=e.content.slice(0,S)+e.symbol+d:n.innerText=d+e.symbol+e.content.slice(S,p),n.offsetHeight<=a?e.direction==="end"?f(S,y):f(k,S):e.direction==="end"?f(k,S):f(S,y)},m=(k,y)=>{const d=s.expanded?e.collapseText:e.expandText,p=e.content.length;if(k[1]-k[0]<=1&&y[1]-y[0]<=1)return{leading:e.content.slice(0,k[0])+e.symbol,tailing:e.symbol+e.content.slice(y[1],p)};const S=Math.floor((k[0]+k[1])/2),w=Math.ceil((y[0]+y[1])/2);return n.innerText=e.content.slice(0,S)+e.symbol+d+e.symbol+e.content.slice(w,p),n.offsetHeight<=a?m([S,k[1]],[y[0],w]):m([k[0],S],[w,y[1]])},h=k=>{if(!k)return 0;const y=k.match(/^\d*(\.\d*)?/);return y?Number(y[0]):0},b=k=>{k==1?(s.expanded=!0,o("change","expand")):(s.expanded=!1,o("change","collapse"))},g=()=>{o("click")};return{...t.toRefs(s),root:l,ellipsis:r,classes:i,clickHandle:b,handleClick:g}}}),R0={key:0},L0={key:1},O0={key:2};function F0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[2]||(o[2]=(...s)=>e.handleClick&&e.handleClick(...s)),ref:"root"},[e.exceeded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",R0,t.toDisplayString(e.content),1)),e.exceeded&&!e.expanded?(t.openBlock(),t.createElementBlock("view",L0,[t.createTextVNode(t.toDisplayString(e.ellipsis&&e.ellipsis.leading),1),e.expandText?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-ellipsis__text",onClick:o[0]||(o[0]=t.withModifiers(s=>e.clickHandle(1),["stop"]))},t.toDisplayString(e.expandText),1)):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(e.ellipsis&&e.ellipsis.tailing),1)])):t.createCommentVNode("",!0),e.exceeded&&e.expanded?(t.openBlock(),t.createElementBlock("view",O0,[t.createTextVNode(t.toDisplayString(e.content)+" ",1),e.expandText?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-ellipsis__text",onClick:o[1]||(o[1]=t.withModifiers(s=>e.clickHandle(2),["stop"]))},t.toDisplayString(e.collapseText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2)}const Gl=Q(P0,[["render",F0]]),{componentName:x0,create:K0}=K("animate"),U0=K0({props:{type:{type:String,default:""},action:{type:String,default:"initial"},loop:{type:Boolean,default:!1},duration:{type:[String,Number]}},emits:["click"],setup(e,{emit:o}){const{type:l,loop:n,action:a}=t.toRefs(e),r=t.reactive({clicked:!1});let s=t.computed(()=>({"fox-animate__container":!0,[`${x0}-${l.value}`]:a.value==="initial"||r.clicked?l.value:!1,loop:n.value}));const i=c=>{r.clicked=!0,n.value||setTimeout(()=>{r.clicked=!1},1e3),o("click",c)};return{...t.toRefs(r),classes:s,handleClick:i}}}),H0={class:"fox-animate"};function v0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",H0,[t.createElementVNode("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=(...s)=>e.handleClick&&e.handleClick(...s)),style:t.normalizeStyle({animationDuration:e.duration?`${e.duration}ms`:void 0})},[t.renderSlot(e.$slots,"default")],6)])}const Zl=Q(U0,[["render",v0]]),{componentName:j0,create:W0}=K("watermark"),Y0=W0({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:o}){const l=t.reactive({base64Url:""}),{zIndex:n,gapX:a,gapY:r,width:s,height:i,rotate:c,image:u,imageWidth:f,imageHeight:m,content:h,fontStyle:b,fontWeight:g,fontColor:k,fontSize:y,fontFamily:d}=e,p=()=>{const w=document.createElement("canvas"),E=window.devicePixelRatio,$=w.getContext("2d"),q=`${(a+s)*E}px`,D=`${(r+i)*E}px`,z=s*E,V=i*E;if(w.setAttribute("width",q),w.setAttribute("height",D),$){if(u){$.translate(z/2,V/2),$.rotate(Math.PI/180*Number(c));const A=new Image;A.crossOrigin="anonymous",A.referrerPolicy="no-referrer",A.src=u,A.onload=()=>{$.drawImage(A,-f*E/2,-m*E/2,f*E,m*E),$.restore(),l.base64Url=w.toDataURL()}}else if(h){$.textBaseline="middle",$.textAlign="center",$.translate(z/2,V/2),$.rotate(Math.PI/180*Number(c));const A=Number(y)*E;$.font=`${b} normal ${g} ${A}px/${V}px ${d}`,$.fillStyle=k,$.fillText(h,0,0),$.restore(),l.base64Url=w.toDataURL()}}else throw new Error("当前环境不支持Canvas")};p(),t.watch(()=>[n,a,r,s,i,c,u,f,m,h,b,g,k,y,d],()=>{p()});const S=t.computed(()=>{const w=j0;return{[w]:!0,[`${w}-full-page`]:e.fullPage}});return{...t.toRefs(l),classes:S}}});function X0(e,o,l,n,a,r){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 Jl=Q(Y0,[["render",X0]]);function Q0(e,o=2){return Object.is(parseFloat(e),NaN)?console.log(`传入的值:${e}不是一个数字`):(e=parseFloat(e),(Math.round((e+Number.EPSILON)*Math.pow(10,o))/Math.pow(10,o)).toFixed(o))}const{componentName:G0,create:Z0}=K("trend-arrow"),J0=Z0({components:{TriangleUp:ee.TriangleUp,TriangleDown:ee.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 o=t.reactive({rateTrend:e.rate>0}),l=t.computed(()=>({[G0]:!0})),n=t.computed(()=>{const{rate:r,digits:s,showSign:i,showZero:c}=e;o.rateTrend=r>0;const u=Math.abs(r);return!c&&r===0?"--":`${i&&r!==0?o.rateTrend?"+":"-":""}${Q0(Number(u),s)}%`}),a=t.computed(()=>{const{dropColor:r,riseColor:s,syncTextColor:i,textColor:c,rate:u}=e;return{color:u===0?c:i?o.rateTrend?s:r:c}});return{...t.toRefs(o),classes:l,calcRate:n,calcStyle:a}}});function _0(e,o,l,n,a,r){const s=t.resolveComponent("TriangleUp"),i=t.resolveComponent("TriangleDown");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.arrowLeft?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-trend-arrow-icon-before fox-trend-arrow-rate",style:t.normalizeStyle(e.calcStyle)},t.toDisplayString(e.calcRate),5)),Number(e.rate)!==0&&e.rateTrend?t.renderSlot(e.$slots,"up-icon",{key:1},()=>[t.createVNode(s,{color:e.riseColor},null,8,["color"])]):t.createCommentVNode("",!0),Number(e.rate)!==0&&!e.rateTrend?t.renderSlot(e.$slots,"down-icon",{key:2},()=>[t.createVNode(i,{color:e.dropColor},null,8,["color"])]):t.createCommentVNode("",!0),e.arrowLeft?(t.openBlock(),t.createElementBlock("span",{key:3,class:"fox-trend-arrow-icon-after fox-trend-arrow-rate",style:t.normalizeStyle(e.calcStyle)},t.toDisplayString(e.calcRate),5)):t.createCommentVNode("",!0)],2)}const _l=Q(J0,[["render",_0]]),{create:eC}=K("tour"),tC=eC({components:{[Wt.name]:Wt,Close:ee.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:o}){const l=t.reactive({showTour:e.modelValue,showPopup:!1,active:0}),n=t.ref({}),a=t.computed(()=>"fox-tour"),r=t.computed(()=>{const{offset:f,maskWidth:m,maskHeight:h}=e,{width:b,height:g,left:k,top:y}=n.value,d=[k+b/2,y+g/2],p=Number(m||b),S=Number(h||g);return{width:`${p+ +f[1]*2}px`,height:`${S+ +f[0]*2}px`,top:`${d[1]-S/2-+f[0]}px`,left:`${d[0]-p/2-+f[1]}px`}}),s=f=>{f=="next"?l.active=l.active+1:l.active=l.active-1,l.showPopup=!1,t.nextTick(()=>{l.showPopup=!0,i()}),o("change",l.active)},i=()=>{const f=document.querySelector(`#${e.steps[l.active].target}`),m=Ae(f);n.value=m},c=()=>{l.showTour=!1,l.showPopup=!1,o("close",l.active),o("update:modelValue",!1)},u=()=>{e.closeOnClickOverlay&&c()};return t.onMounted(()=>{l.active=0,i()}),t.watch(()=>e.modelValue,f=>{f&&i(),l.active=0,l.showTour=f,l.showPopup=f}),{...t.toRefs(l),classes:a,maskStyle:r,changeStep:s,close:c,handleClickMask:u}}}),oC={key:0,class:"fox-tour-content"},nC={key:0,class:"fox-tour-content-top"},lC={class:"fox-tour-content-inner"},aC={class:"fox-tour-content-bottom"},rC={class:"fox-tour-content-bottom-init"},sC={class:"fox-tour-content-bottom-operate"},iC={key:1,class:"fox-tour-content fox-tour-content-tile"},cC={class:"fox-tour-content-inner"};function dC(e,o,l,n,a,r){const s=t.resolveComponent("Close"),i=t.resolveComponent("fox-popover");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[t.withDirectives(t.createElementVNode("div",{class:"fox-tour-masked",onClick:o[0]||(o[0]=(...c)=>e.handleClickMask&&e.handleClickMask(...c))},null,512),[[t.vShow,e.showTour]]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.steps,(c,u)=>(t.openBlock(),t.createElementBlock("div",{key:u,style:{height:"0"}},[u==e.active?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.showTour?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["fox-tour-mask",[e.mask?"":"fox-tour-mask-none"]]),style:t.normalizeStyle(e.maskStyle),id:"fox-tour-popid"},null,6)):t.createCommentVNode("",!0),t.createVNode(i,{visible:e.showPopup,"onUpdate:visible":o[5]||(o[5]=f=>e.showPopup=f),location:c.location||e.location,targetId:"fox-tour-popid",bgColor:e.bgColor,theme:e.theme,"close-on-click-outside":!1,offset:c.popoverOffset||[0,12],arrowOffset:c.arrowOffset||0},{content:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},()=>[e.type=="step"?(t.openBlock(),t.createElementBlock("div",oC,[e.showTitleBar?(t.openBlock(),t.createElementBlock("div",nC,[t.createElementVNode("div",{onClick:o[1]||(o[1]=(...f)=>e.close&&e.close(...f))},[t.createVNode(s,{class:"fox-tour-content-top-close"})])])):t.createCommentVNode("",!0),t.createElementVNode("div",lC,t.toDisplayString(c.content),1),t.createElementVNode("div",aC,[t.createElementVNode("div",rC,t.toDisplayString(e.active+1)+"/"+t.toDisplayString(e.steps.length),1),t.createElementVNode("div",sC,[t.renderSlot(e.$slots,"prev-step",{},()=>[e.active!=0&&e.showPrevStep?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-tour-content-bottom-operate-btn",onClick:o[2]||(o[2]=f=>e.changeStep("prev"))},t.toDisplayString(e.prevStepTxt),1)):t.createCommentVNode("",!0)]),e.steps.length-1==e.active?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:o[3]||(o[3]=(...f)=>e.close&&e.close(...f))},t.toDisplayString(e.completeTxt),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"next-step",{},()=>[e.steps.length-1!=e.active?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:o[4]||(o[4]=f=>e.changeStep("next"))},t.toDisplayString(e.nextStepTxt),1)):t.createCommentVNode("",!0)])])])])):t.createCommentVNode("",!0),e.type=="tile"?(t.openBlock(),t.createElementBlock("div",iC,[t.createElementVNode("div",cC,t.toDisplayString(c.content),1)])):t.createCommentVNode("",!0)])]),_:2},1032,["visible","location","bgColor","theme","offset","arrowOffset"])],64)):t.createCommentVNode("",!0)]))),128))],2)}const ea=Q(tC,[["render",dC]]),{componentName:yB,create:uC,scope:fC}=K("address"),mC=uC({components:{Location:ee.Location,Location2:ee.Location2,Check:ee.Check,Close:ee.Close,Left:ee.Left,[ce.name]:ce,[Mt.name]:Mt},inheritAttrs:!1,props:{...nt,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:""},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:o}){const{t:l}=se.useFoxI18n(fC),n=t.ref(null),a=t.ref(null),r=t.ref(e.visible),s=t.ref(e.type),i=t.ref(0),c=t.ref(0),u=t.ref(["province","city","country","town"]),f=t.ref(null),m=t.ref([0,0,0,0]),h=t.computed(()=>{switch(i.value){case 0:return e.province;case 1:return e.city;case 2:return e.country;default:return e.town}}),b=N=>{if(!Array.isArray(N))throw new TypeError("params muse be array.");if(!N.length)return[];N.forEach(B=>{if(!B.title){console.warn("[NutUI] <Address> 请检查数组选项的 title 值是否有设置 ,title 为必填项 .");return}});const I=[];return N=N.sort((B,R)=>B.title.localeCompare(R.title)),N.forEach(B=>{const R=I.findIndex(M=>M.title===B.title);R<=-1?I.push({title:B.title,list:[].concat(B)}):I[R].list.push(B)}),I};let g=t.ref([]),k=t.reactive({});const y=t.ref("self"),d=t.ref(20),p=()=>{const N=e.modelValue,I=N.length;if(I>0){if(i.value=I-1,h.value.length==0){i.value=0;return}for(let B=0;B<I;B++){let R=[];switch(B){case 0:R=e.province;break;case 1:R=e.city;break;case 2:R=e.country;break;default:R=e.town}g.value[B]=R.filter(M=>M.id==N[B])[0]}w()}},S=(N,I)=>N&&N.name||i.value<I&&N?N.name:e.columnsPlaceholder[I]||l("select"),w=()=>{q(),t.nextTick(()=>{const N=a.value&&a.value.getElementsByClassName("active")[0];if(N){const I=N.offsetLeft;d.value=I||20}})},E=N=>{const I=i.value;c.value=i.value;const B={custom:u.value[I]};g.value[I]=N;for(let R=I+2;R<4;R++)g.value.splice(R,1);I<3?(i.value=I+1,w(),B.next=u.value[i.value],B.value=N,o("change",B)):(V(),o("update:modelValue"))},$=(N,I)=>{c.value=i.value,S(N,I)&&(i.value=I,w())},q=()=>{const N=f.value,I=c.value,B=m.value[i.value];N?.scrollTop&&(m.value[I]=N?.scrollTop),t.nextTick(()=>{N?.scrollTo({top:B,behavior:"auto"})})},D=N=>{const I=e.existAddress;let B={};I.forEach(R=>{R&&R.selectedAddress&&(B=R),R.selectedAddress=!1}),N.selectedAddress=!0,k=N,o("selected",B,N,I),V()},z=()=>{g.value=[],i.value=0,w()},V=(N="self")=>{y.value=N=="cross"?"cross":"self",r.value=!1},A=()=>{y.value="mask"},L=()=>{const N={addressIdStr:"",addressStr:"",province:g.value[0],city:g.value[1],country:g.value[2],town:g.value[3]},I={data:{},type:s.value};["custom","custom2"].includes(s.value)?([0,1,2,3].forEach(B=>{const R=g.value[B];N.addressIdStr+=`${B?"_":""}${R&&R.id||0}`,N.addressStr+=R&&R.name||""}),I.data=N):I.data=k,z(),y.value=="self"?o("close",I):o("close-mask",{closeWay:y}),o("update:visible",!1)},P=()=>{const N=s.value;s.value=N=="exist"?"custom":"exist",z(),o("switch-module",{type:s.value})},T=(N,I)=>{E(I)};return t.watch(()=>e.visible,N=>{r.value=N}),t.watch(()=>r.value,N=>{N&&p()}),{showPopup:r,privateType:s,tabIndex:i,tabName:u,selectedRegion:g,switchModule:P,closeWay:y,close:L,getTabName:S,nextAreaList:E,regionLine:n,tabRegion:a,lineDistance:d,changeRegionTab:$,selectedExist:D,clickOverlay:A,handClose:V,handleElevatorItem:T,initCustomSelected:p,...t.toRefs(e),t:l,regionList:h,transformData:b,scrollDom:f}}}),pC={class:"fox-address"},hC={class:"fox-address__header"},gC={class:"fox-address__header__title"},yC={key:0,class:"fox-address__custom"},kC={class:"fox-address__region",ref:"tabRegion"},bC=["onClick"],SC={key:0,class:"active fox-address__region-item"},CC={key:0,class:"fox-address__detail"},wC={class:"fox-address__detail-list",ref:"scrollDom"},NC=["onClick"],BC={key:1,class:"fox-address__elevator-group"},VC={key:1,class:"fox-address__exist"},AC={class:"fox-address__exist-group"},EC={class:"fox-address__exist-group-list"},TC=["onClick"],$C={class:"fox-address__exist-item-info"},DC={key:0,class:"fox-address__exist-item-info-name"},IC={key:1,class:"fox-address__exist-item-info-phone"},zC={class:"fox-address__exist-item-info-bottom"},qC={class:"fox-address__exist-choose-btn"};function MC(e,o,l,n,a,r){const s=t.resolveComponent("Left"),i=t.resolveComponent("Close"),c=t.resolveComponent("Check"),u=t.resolveComponent("fox-elevator"),f=t.resolveComponent("Location2"),m=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(m,{position:"bottom","lock-scroll":e.lockScroll,onClose:e.close,onClickOverlay:e.clickOverlay,onOpen:o[3]||(o[3]=h=>e.closeWay="self"),visible:e.showPopup,"onUpdate:visible":o[4]||(o[4]=h=>e.showPopup=h),teleportDisable:e.teleportDisable,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",pC,[t.createElementVNode("view",hC,[t.createElementVNode("view",{class:"fox-address__header-back",onClick:o[0]||(o[0]=(...h)=>e.switchModule&&e.switchModule(...h))},[t.renderSlot(e.$slots,"back-icon",{},()=>[t.withDirectives(t.createVNode(s,{size:"14px"},null,512),[[t.vShow,e.type=="exist"&&e.privateType=="custom"]])])]),t.createElementVNode("view",gC,t.toDisplayString(e.privateType=="custom"?e.customAddressTitle||e.t("selectRegion"):e.existAddressTitle||e.t("deliveryTo")),1),t.createElementVNode("view",{class:"fox-address__header-close",onClick:o[1]||(o[1]=h=>e.handClose("cross"))},[t.renderSlot(e.$slots,"close-icon",{},()=>[t.createVNode(i,{color:"#cccccc",size:"14px"})])])]),["custom","custom2"].includes(e.privateType)?(t.openBlock(),t.createElementBlock("view",yC,[t.createElementVNode("view",kC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedRegion,(h,b)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-address__region-item",b==e.tabIndex?"active":""]),key:b,onClick:g=>e.changeRegionTab(h,b)},[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(h,b)),1)],10,bC))),128)),e.tabIndex==e.selectedRegion.length?(t.openBlock(),t.createElementBlock("view",SC,[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(null,e.selectedRegion.length)),1)])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-address__region-line",ref:"regionLine",style:t.normalizeStyle({left:e.lineDistance+"px"})},null,4)],512),e.privateType=="custom"?(t.openBlock(),t.createElementBlock("view",CC,[t.createElementVNode("ul",wC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.regionList,(h,b)=>(t.openBlock(),t.createElementBlock("li",{key:b,class:t.normalizeClass(["fox-address__detail-item",e.selectedRegion[e.tabIndex]?.id==h.id?"active":""]),onClick:g=>e.nextAreaList(h)},[t.createElementVNode("div",null,[e.selectedRegion[e.tabIndex]?.id==h.id?t.renderSlot(e.$slots,"icon",{key:0},()=>[t.createVNode(c,{class:"fox-address-select-icon",size:"13px"})]):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(h.name),1)])],10,NC))),128))],512)])):(t.openBlock(),t.createElementBlock("view",BC,[t.createVNode(u,{height:e.height,"index-list":e.transformData(e.regionList),onClickItem:e.handleElevatorItem},null,8,["height","index-list","onClickItem"])]))])):(t.openBlock(),t.createElementBlock("view",VC,[t.createElementVNode("div",AC,[t.createElementVNode("ul",EC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.existAddress,(h,b)=>(t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass(["fox-address__exist-group-item",h.selectedAddress?"active":""]),key:b,onClick:g=>e.selectedExist(h)},[h.selectedAddress?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"unselected-icon",{key:0},()=>[t.createVNode(f,{class:"fox-address-select-icon",size:"13px"})]),h.selectedAddress?t.renderSlot(e.$slots,"icon",{key:1},()=>[t.createVNode(c,{class:"fox-address-select-icon",size:"13px"})]):t.createCommentVNode("",!0),t.createElementVNode("div",$C,[h.name?(t.openBlock(),t.createElementBlock("div",DC,t.toDisplayString(h.name),1)):t.createCommentVNode("",!0),h.phone?(t.openBlock(),t.createElementBlock("div",IC,t.toDisplayString(h.phone),1)):t.createCommentVNode("",!0),t.createElementVNode("div",zC,[t.createElementVNode("view",null,t.toDisplayString(h.provinceName+h.cityName+h.countyName+h.townName+h.addressDetail),1)])])],10,TC))),128))])]),e.isShowCustomAddress?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-address__exist-choose",onClick:o[2]||(o[2]=(...h)=>e.switchModule&&e.switchModule(...h))},[t.createElementVNode("div",qC,t.toDisplayString(e.customAndExistTitle||e.t("chooseAnotherAddress")),1)])):t.createCommentVNode("",!0)])),t.renderSlot(e.$slots,"bottom")])]),_:3},8,["lock-scroll","onClose","onClickOverlay","visible","teleportDisable","teleport"])}const ta=Q(mC,[["render",MC]]),{componentName:PC,create:RC}=K("barrage"),LC=RC({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 o=new Date().getTime(),l=!!t.useSlots().default,n=t.computed(()=>({[PC]:!0}));let a=t.ref(document.createElement("div")),r=t.ref(document.createElement("div")),s=null;const i=t.ref(e.danmu),c=t.ref(e.rows),u=t.ref(e.top),f=t.ref(0),m=e.speeds,h=t.ref(0);t.onMounted(()=>{b(),l&&document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"?(k(),f.value=0,g("hidden")):document.visibilityState==="visible"&&b()})}),t.onUnmounted(()=>{i.value=[],k()});const b=()=>{h.value=a.value.offsetWidth,l&&g("init"),setTimeout(()=>{a.value?.style.setProperty("--move-distance",`-${h.value}px`),d()},300)},g=S=>{let E=document.getElementsByClassName("slotBody"+o)?.[0]?.children||[];const $=[];E&&Array.from(E).forEach(q=>{S=="init"?(q.style.opacity="0",$.push(q)):(q.classList="",q.style={})}),S=="init"&&(i.value=$)},k=()=>{s&&(clearTimeout(s),s=null)};t.watch(()=>e.danmu,S=>{e.danmu.length>0&&(i.value=[...S])});const y=S=>{const w=f.value%i.value.length;!e.loop&&f.value===i.value.length?i.value.splice(i.value.length,0,S):i.value.splice(w,0,S)},d=()=>{k(),s=setTimeout(()=>{p()},e.frequency)},p=()=>{const S=e.loop?f.value%i.value.length:f.value;let w=document.createElement("view");l&&typeof i.value[S]=="object"?(w=i.value[S],w?.classList?.add("fox-barrage__item")):(w.innerHTML=i.value[S],w.classList.add("fox-barrage__item"),r.value.appendChild(w)),t.nextTick(()=>{const E=w.offsetHeight;if(w?.classList?.add("move"),w.style.animationDuration=`${m}ms`,w.style.top=S%c.value*(E+u.value)+20+"px",w.style.opacity="1",!l){const $=w.offsetWidth;w.style.width=$+20+"px"}w.addEventListener("animationend",()=>{l?w.classList.remove("move"):r.value.removeChild(w)}),!(!e.loop&&f.value>=i.value.length-1)&&(f.value++,f.value>=i.value.length&&(f.value=0),w.removeEventListener("animationend",()=>{}),d())})};return{classTime:o,classes:n,danmuList:i,dmBody:a,dmContainer:r,add:y}}});function OC(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{ref:"dmBody",class:t.normalizeClass(e.classes)},[t.createElementVNode("div",{ref:"dmContainer",class:t.normalizeClass(["dmContainer",e.$slots.default&&"slotContainer"])},[e.$slots.default?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["slotBody","slotBody"+e.classTime])},[t.renderSlot(e.$slots,"default")],2)):t.createCommentVNode("",!0)],2)],2)}const oa=Q(LC,[["render",OC]]),{componentName:FC,create:xC,scope:KC}=K("signature"),UC=xC({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:{[qe.name]:qe},emits:["start","end","signing","confirm","clear"],setup(e,{emit:o}){const{toLocaleRefs:l}=se.useFoxI18n(KC),n=l(e,["unSupportTpl","reSign","confirmText"]),a=t.ref(null),r=t.ref(null),s=t.computed(()=>({[FC]:!0,[`${e.customClass}`]:e.customClass})),i=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 p=document.createElement("canvas");return!!(p.getContext&&p.getContext("2d"))},u=()=>{a.value.addEventListener(i.events[0],f,!1)},f=p=>{p.preventDefault(),i.ctx.beginPath(),i.ctx.lineWidth=e.lineWidth,i.ctx.strokeStyle=e.strokeStyle,o("start"),a.value.addEventListener(i.events[1],m,!1),a.value.addEventListener(i.events[2],h,!1),a.value.addEventListener(i.events[3],b,!1)},m=p=>{p.preventDefault();let S=i.isSupportTouch?p.touches[0]:p;o("signing",S);let w=a.value.getBoundingClientRect(),E=S.clientX-w.left,$=S.clientY-w.top;i.ctx.lineTo(E,$),i.ctx.stroke()},h=p=>{p.preventDefault(),o("end"),a.value.removeEventListener(i.events[1],m,!1),a.value.removeEventListener(i.events[2],h,!1)},b=p=>{p.preventDefault(),a.value.removeEventListener(i.events[1],m,!1),a.value.removeEventListener(i.events[2],h,!1)},g=()=>{a.value.addEventListener(i.events[2],h,!1),i.ctx.clearRect(0,0,i.canvasWidth,i.canvasHeight),i.ctx.closePath(),o("clear")},k=()=>{d(a.value)},y=p=>{if(!p)return!0;var S=document.createElement("canvas");return S.width=p.width,S.height=p.height,p?.toDataURL()==S.toDataURL()},d=p=>{let S;switch(e.type){case"png":S=p.toDataURL("image/png");break;case"jpg":S=p.toDataURL("image/jpeg",.8);break}const w=y(p)?"请绘制签名":p,E=y(p)?"":S;o("confirm",w,E)};return t.onMounted(()=>{c()&&(i.ctx=a.value.getContext("2d"),i.canvasWidth=r.value.offsetWidth,i.canvasHeight=r.value.offsetHeight,u())}),{...n,...t.toRefs(i),canvas:a,wrap:r,isCanvasSupported:c,confirm:k,clear:g,classes:s}}}),HC={class:"fox-signature-inner",ref:"wrap"},vC=["height","width"],jC={key:0,class:"fox-signature-unsopport"};function WC(e,o,l,n,a,r){const s=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[t.createElementVNode("div",HC,[t.withDirectives(t.createElementVNode("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,vC),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",jC,t.toDisplayString(e.unSupportTpl),1))],512),t.createVNode(s,{class:"fox-signature-btn",type:"default",onClick:o[0]||(o[0]=i=>e.clear())},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.reSign),1)]),_:1}),t.createVNode(s,{class:"fox-signature-btn",type:"primary",onClick:o[1]||(o[1]=i=>e.confirm())},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.confirmText),1)]),_:1})],2)}const na=Q(UC,[["render",WC]]),{componentName:YC,create:XC,scope:QC}=K("time-select"),GC=XC({components:{[ce.name]:ce},props:{visible:{type:Boolean,defalut:!1},height:{type:[String],default:"20%"},title:{type:String,default:""},currentKey:{type:[Number,String],default:0},currentTime:{type:Array,default:()=>[]},lockScroll:{type:[Boolean],default:!0},teleportDisable:{type:Boolean,default:!1}},emits:["update:visible","select"],setup:(e,o)=>{const{t:l}=se.useFoxI18n(QC),n=t.computed(()=>({[YC]:!0})),a=t.computed(()=>({width:"100%",height:e.height})),r=t.computed(()=>e.currentKey),s=t.computed(()=>e.currentTime),i=()=>{o.emit("update:visible",!1),o.emit("select",s.value)};return t.provide("currentKey",r),t.provide("currentTime",s),{classes:n,popStyle:a,props:e,close:i,t:l}}}),ZC={class:"fox-time-select__title"},JC={class:"fox-time-select__title__fixed"},_C={key:0},e1={class:"fox-time-select__content"},t1={class:"fox-time-select__content__pannel"},o1={class:"fox-time-select__content__detail"};function n1(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(s,{position:"bottom",closeable:"",round:"",teleportDisable:e.teleportDisable,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",ZC,[t.createElementVNode("view",JC,[e.$slots.title?t.renderSlot(e.$slots,"title",{key:1}):(t.openBlock(),t.createElementBlock("span",_C,t.toDisplayString(e.title||e.t("pickupTime")),1))])]),t.createElementVNode("view",e1,[t.createElementVNode("view",t1,[t.renderSlot(e.$slots,"pannel")]),t.createElementVNode("view",o1,[t.renderSlot(e.$slots,"detail")])])],2)]),_:3},8,["teleportDisable","visible","style","lock-scroll","onClickOverlay","onClickCloseIcon"])}const la=Q(GC,[["render",n1]]),{componentName:l1,create:a1}=K("time-pannel"),r1=a1({name:"timepannel",props:{name:{type:String,default:""},pannelKey:{type:[Number,String],default:0}},emits:["change"],setup:(e,o)=>{const l=t.inject("currentKey"),n=t.reactive({currentKey:l}),a=t.computed(()=>({[l1]:!0,"fox-time-pannel--curr":n.currentKey==e.pannelKey})),r=s=>{o.emit("change",s)};return{...t.toRefs(n),classes:a,handlePannel:r}}});function s1(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=s=>e.handlePannel(e.pannelKey))},t.toDisplayString(e.name),3)}const aa=Q(r1,[["render",s1]]),{componentName:i1,create:c1}=K("time-detail"),d1=c1({name:"timedetail",props:{times:{type:Array,default:()=>[]}},emits:["select"],setup:(e,o)=>{const l=t.inject("currentKey"),n=t.inject("currentTime"),a=t.reactive({currentKey:l,currentTime:n}),r=t.computed(()=>({[i1]:!0})),s=u=>{let f=a.currentTime.find(m=>m.key==a.currentKey);if(f)return{"fox-time-detail__detail__list__item":!0,"fox-time-detail__detail__list__item--curr":f.list.filter(m=>m===u).length>0}},i=t.computed(()=>e.times.find(u=>u.key==a.currentKey).list),c=u=>{o.emit("select",u)};return{classes:r,...t.toRefs(a),getClass:s,renderData:i,handleTime:c}}}),u1={class:"fox-time-detail__detail fox-time-detail__detail--moring"},f1={class:"fox-time-detail__detail__list"},m1=["onClick"];function p1(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",u1,[t.createElementVNode("view",f1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.renderData,s=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.getClass(s)),key:s,onClick:i=>e.handleTime(s)},t.toDisplayString(s),11,m1))),128))])])],2)}const ra=Q(d1,[["render",p1]]),{componentName:kB,create:h1,scope:g1}=K("sku-header"),y1=h1({props:{goods:{type:Object,default:{}}},emits:[],components:{[Ge.name]:Ge},setup(e,{emit:o,slots:l}){const{t:n}=se.useFoxI18n(g1);return{getSlots:r=>l[r],t:n}}}),k1={class:"fox-sku-header"},b1=["src"],S1={class:"fox-sku-header-right"},C1={key:3,class:"fox-sku-header-right-extra"};function w1(e,o,l,n,a,r){const s=t.resolveComponent("fox-price");return t.openBlock(),t.createElementBlock("view",k1,[t.createElementVNode("img",{class:"fox-sku-header-img",src:e.goods.imagePath},null,8,b1),t.createElementVNode("view",S1,[e.getSlots("sku-header-price")?t.renderSlot(e.$slots,"sku-header-price",{key:0}):(t.openBlock(),t.createBlock(s,{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",C1,t.toDisplayString(e.t("skuId"))+" : "+t.toDisplayString(e.goods.skuId),1)):t.createCommentVNode("",!0)])])}const N1=Q(y1,[["render",w1]]),{componentName:bB,create:B1}=K("sku-select"),V1=B1({props:{sku:{type:Array,default:()=>[]}},emits:["selectSku"],setup(e,{emit:o}){const l=t.ref([]);return t.watch(()=>e.sku,a=>{l.value=[].slice.call(a)},{deep:!0}),t.onMounted(()=>{e.sku.length>0&&(l.value=[].slice.call(e.sku))}),{skuInfo:l,changeSaleChild:(a,r,s,i)=>{a.checkFlag||a.disable||o("selectSku",{sku:a,skuIndex:r,parentSku:s,parentIndex:i})}}}}),A1={class:"fox-sku-select"},E1={class:"fox-sku-select-item-title"},T1={class:"fox-sku-select-item-skus"},$1=["onClick"];function D1(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",A1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.skuInfo,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-sku-select-item",key:s.id},[t.createElementVNode("view",E1,t.toDisplayString(s.name),1),t.createElementVNode("view",T1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.list,(c,u)=>(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,u,s,i),key:c.name},t.toDisplayString(c.name),11,$1))),128))])]))),128))])}const I1=Q(V1,[["render",D1]]),{componentName:SB,create:z1}=K("sku-stepper"),q1=z1({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"],components:{[rt.name]:rt},setup(e,{emit:o}){const l=t.ref(e.stepperMin);return t.onMounted(()=>{l.value=e.stepperMin}),{goodsCount:l,add:c=>{o("add",c)},reduce:c=>{o("reduce",c)},overlimit:(c,u)=>{o("overLimit",{action:u,value:parseInt(l.value+"")})},getExtraText:()=>{const{stepperExtraText:c}=e;return c&&_e(c)=="function"?c():""},changeStepper:c=>{l.value=c,o("changeStepper",c)}}}}),M1={class:"fox-sku-stepper"},P1={class:"fox-sku-stepper-title"},R1=["innerHTML"],L1={class:"fox-sku-stepper-count"};function O1(e,o,l,n,a,r){const s=t.resolveComponent("fox-input-number");return t.openBlock(),t.createElementBlock("view",M1,[t.createElementVNode("view",P1,t.toDisplayString(e.stepperTitle),1),t.createElementVNode("view",{class:"fox-sku-stepper-limit",innerHTML:e.getExtraText()},null,8,R1),t.createElementVNode("view",L1,[t.createVNode(s,{modelValue:e.goodsCount,"onUpdate:modelValue":o[0]||(o[0]=i=>e.goodsCount=i),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 F1=Q(q1,[["render",O1]]),{componentName:CB,create:x1}=K("sku-operate"),K1=x1({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:o,slots:l}){return{getBtnDesc:s=>({confirm:e.confirmText,cart:e.addCartText,buy:e.buyText})[s],clickBtnOperate:s=>{o("clickBtnOperate",s)},getSlots:s=>l[s]}}}),U1={key:0,class:"fox-sku-operate"},H1={key:0,class:"fox-sku-operate-desc"},v1={key:1,class:"fox-sku-operate-btn"},j1=["onClick"];function W1(e,o,l,n,a,r){return e.btnOptions.length>0?(t.openBlock(),t.createElementBlock("view",U1,[e.btnExtraText?(t.openBlock(),t.createElementBlock("view",H1,t.toDisplayString(e.btnExtraText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"operate-btn"),e.getSlots("operate-btn")?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",v1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.btnOptions,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass([`fox-sku-operate-btn-${s}`,"fox-sku-operate-btn-item"]),key:i,onClick:c=>e.clickBtnOperate(s)},t.toDisplayString(e.getBtnDesc(s)),11,j1))),128))]))])):t.createCommentVNode("",!0)}const Y1=Q(K1,[["render",W1]]),{componentName:wB,create:X1,scope:Q1}=K("sku"),G1=X1({props:{...nt,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","select-sku","change-stepper","click-btn-operate","click-close-icon","click-overlay","close","reduce","add","over-limit"],components:{SkuHeader:N1,SkuSelect:I1,SkuStepper:F1,SkuOperate:Y1,[ce.name]:ce},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=se.useFoxI18n(Q1),a=n(e,["confirmText","buyText","stepperTitle","addCartText"]),r=t.ref(e.visible),s=t.ref(e.stepperMin);t.watch(()=>e.visible,y=>{r.value=y}),t.watch(()=>r.value,y=>{y==!1&&k()}),t.onMounted(()=>{});const i=y=>l[y],c=y=>{o("select-sku",y)},u=y=>{s.value=y,o("change-stepper",y)},f=y=>{o("add",y)},m=y=>{o("reduce",y)},h=y=>{o("over-limit",y)},b=y=>{o("click-btn-operate",{type:y,value:s.value})},g=y=>{y=="icon"&&o("click-close-icon"),y=="overlay"&&o("click-overlay"),y=="close"&&o("close"),r.value=!1},k=()=>{o("update:visible",!1)};return{showPopup:r,closePopup:g,selectSku:c,changeStepper:u,stepperOverLimit:h,clickBtnOperate:b,add:f,reduce:m,getSlots:i,...a}}}),Z1={class:"fox-sku"},J1={class:"fox-sku-content"};function _1(e,o,l,n,a,r){const s=t.resolveComponent("sku-header"),i=t.resolveComponent("SkuSelect"),c=t.resolveComponent("sku-stepper"),u=t.resolveComponent("sku-operate"),f=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(f,{position:"bottom",closeable:"",round:"",visible:e.showPopup,"onUpdate:visible":o[0]||(o[0]=m=>e.showPopup=m),onClickCloseIcon:o[1]||(o[1]=m=>e.closePopup("icon")),onClickOverlay:o[2]||(o[2]=m=>e.closePopup("overlay")),onClose:o[3]||(o[3]=m=>e.closePopup("close")),style:{height:"75%"},teleportDisable:e.teleportDisable,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",Z1,[t.renderSlot(e.$slots,"sku-header"),e.getSlots("sku-header")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{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",J1,[t.renderSlot(e.$slots,"sku-select-top"),t.renderSlot(e.$slots,"sku-select"),e.getSlots("sku-select")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(i,{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(u,{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","teleportDisable","teleport"])}const sa=Q(G1,[["render",_1]]),{create:ew}=K("card"),tw=ew({components:{[Ge.name]:Ge,[jt.name]:jt},props:{imgUrl:{type:String},title:{type:String},price:{type:String},vipPrice:{type:String},shopDesc:{type:String},delivery:{type:String},shopName:{type:String},isNeedPrice:{type:Boolean,default:!0}},setup(e,{emit:o,slots:l}){return{isHaveSlot:a=>l[a]}}}),ow={class:"fox-card"},nw={class:"fox-card__left"},lw=["src"],aw={class:"fox-card__right"},rw={class:"fox-card__right__title"},sw={key:0,class:"fox-card__right__price"},iw={class:"fox-card__right__other"},cw={class:"fox-card__right__shop"},dw={class:"fox-card__right__shop__name"};function uw(e,o,l,n,a,r){const s=t.resolveComponent("fox-price"),i=t.resolveComponent("fox-tag");return t.openBlock(),t.createElementBlock("div",ow,[t.createElementVNode("div",nw,[t.createElementVNode("img",{src:e.imgUrl,alt:""},null,8,lw)]),t.createElementVNode("div",aw,[t.createElementVNode("div",rw,t.toDisplayString(e.title),1),t.renderSlot(e.$slots,"prolist"),e.isNeedPrice?(t.openBlock(),t.createElementBlock("div",sw,[e.isHaveSlot("price")?t.renderSlot(e.$slots,"price",{key:0}):(t.openBlock(),t.createBlock(s,{key:1,price:e.price},null,8,["price"])),e.isHaveSlot("origin")?t.renderSlot(e.$slots,"origin",{key:2}):(t.openBlock(),t.createBlock(s,{key:3,class:"fox-card__right__price__origin",price:e.vipPrice},null,8,["price"]))])):t.createCommentVNode("",!0),t.createElementVNode("div",iw,[e.isHaveSlot("shop-tag")?t.renderSlot(e.$slots,"shop-tag",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(i,{type:"danger"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.shopDesc),1)]),_:1}),t.createVNode(i,{plain:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.delivery),1)]),_:1})],64))]),t.createElementVNode("div",cw,[t.createElementVNode("div",dw,t.toDisplayString(e.shopName),1),t.renderSlot(e.$slots,"footer")])])])}const ia=Q(tw,[["render",uw]]),{create:fw,scope:mw}=K("ecard"),pw=fw({components:{[rt.name]:rt},props:{chooseText:{type:String,default:""},otherValueText:{type:String,default:""},dataList:{type: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:o}){const{t:l}=se.useFoxI18n(mw),n=t.ref(null),a=t.ref(null),r=t.ref(""),s=t.ref(e.cardAmountMin),i=t.ref(e.modelValue),c=(h,b)=>{n.value=b,s.value=e.cardAmountMin,a.value=h.price,o("change",h),o("update:modelValue",h.price)},u=h=>{let g=h.target.value.replace(/[^\d]/g,"");r.value=g,a.value=g,Number(g)>e.cardAmountMax&&(r.value=e.cardAmountMax,a.value=e.cardAmountMax),Number(g)<e.cardAmountMin&&(r.value=e.cardAmountMin,a.value=e.cardAmountMin),o("inputChange",Number(r.value)),o("update:modelValue",Number(r.value))},f=()=>{n.value="input",s.value=e.cardAmountMin,a.value=r.value,o("update:modelValue",r.value),o("inputClick")},m=h=>{s.value=h,o("changeStep",s.value,a.value)};return t.watch(()=>e.modelValue,h=>{i.value=h}),{handleClick:c,changeStep:m,change:u,inputClick:f,stepValue:s,currentIndex:n,inputValue:r,money:i,t:l}}}),hw={class:"fox-ecard"},gw={class:"fox-ecard__title"},yw={class:"fox-ecard__list"},kw=["onClick"],bw={class:"fox-ecard__list__input--con"},Sw=["placeholder"],Cw={class:"fox-ecard__list__step"};function ww(e,o,l,n,a,r){const s=t.resolveComponent("fox-input-number");return t.openBlock(),t.createElementBlock("view",hw,[t.createElementVNode("view",gw,t.toDisplayString(e.chooseText||e.t("chooseText")),1),t.createElementVNode("view",yw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.dataList,(i,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-ecard__list__item",e.currentIndex==c?"active":""]),onClick:u=>e.handleClick(i,c)},t.toDisplayString(i.price),11,kw))),128)),t.createElementVNode("view",{class:t.normalizeClass(["fox-ecard__list__input",e.currentIndex=="input"?"active":""]),onClick:o[2]||(o[2]=(...i)=>e.inputClick&&e.inputClick(...i))},[t.createElementVNode("view",null,t.toDisplayString(e.otherValueText||e.t("otherValueText")),1),t.createElementVNode("view",bw,[t.withDirectives(t.createElementVNode("input",{class:"fox-ecard__list__input--input",type:"text","onUpdate:modelValue":o[0]||(o[0]=i=>e.inputValue=i),onInput:o[1]||(o[1]=(...i)=>e.change&&e.change(...i)),placeholder:e.placeholder||e.t("placeholder")},null,40,Sw),[[t.vModelText,e.inputValue]]),t.createTextVNode(" "+t.toDisplayString(e.suffix),1)])],2),t.createElementVNode("view",Cw,[t.createElementVNode("view",null,t.toDisplayString(e.suffix)+t.toDisplayString(e.money),1),t.createVNode(s,{modelValue:e.stepValue,"onUpdate:modelValue":o[3]||(o[3]=i=>e.stepValue=i),min:e.cardBuyMin,max:e.cardBuyMax,onChange:e.changeStep},null,8,["modelValue","min","max","onChange"])])])])}const ca=Q(pw,[["render",ww]]),{create:Nw,scope:Bw}=K("address-list-item"),Vw=Nw({components:{Del:ee.Del,Edit:ee.Edit},props:{item:{type:Object,default:{}}},emits:["delIcon","editIcon","clickItem"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(Bw);return{delClick:s=>{o("delIcon",s,e.item),s.stopPropagation()},editClick:s=>{o("editIcon",s,e.item),s.stopPropagation()},contentsClick:s=>{o("clickItem",s,e.item),s.stopPropagation()},t:l}}}),Aw={class:"fox-address-list-item__info"},Ew={class:"fox-address-list-item__info-contact"},Tw={class:"fox-address-list-item__info-contact-name"},$w={class:"fox-address-list-item__info-contact-tel"},Dw={key:0,class:"fox-address-list-item__info-contact-default"},Iw={class:"fox-address-list-item__info-handle"},zw={class:"fox-address-list-item__addr"};function qw(e,o,l,n,a,r){const s=t.resolveComponent("Del"),i=t.resolveComponent("Edit");return t.openBlock(),t.createElementBlock("div",{class:"fox-address-list-item",onClick:o[0]||(o[0]=(...c)=>e.contentsClick&&e.contentsClick(...c))},[t.createElementVNode("div",Aw,[t.createElementVNode("div",Ew,[t.renderSlot(e.$slots,"content-top",{},()=>[t.createElementVNode("div",Tw,t.toDisplayString(e.item.addressName),1),t.createElementVNode("div",$w,t.toDisplayString(e.item.phone),1),e.item.defaultAddress?(t.openBlock(),t.createElementBlock("div",Dw,t.toDisplayString(e.t("default")),1)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Iw,[t.renderSlot(e.$slots,"content-icon",{},()=>[t.createVNode(s,{name:"del",class:"fox-address-list-item__info-handle-del",onClick:e.delClick},null,8,["onClick"]),t.createVNode(i,{name:"edit",class:"fox-address-list-item__info-handle-edit",onClick:e.editClick},null,8,["onClick"])])])]),t.createElementVNode("div",zw,[t.renderSlot(e.$slots,"content-addr",{},()=>[t.createTextVNode(t.toDisplayString(e.item.fullAddress),1)])])])}const is=Q(Vw,[["render",qw]]),{create:Mw}=K("address-list-general"),Pw=Mw({props:{item:{type:Object,default:{}},longPress:{type:Boolean,default:!1},swipeEdition:{type:Boolean,default:!1}},emits:["delIcon","editIcon","clickItem","longDown","longCopy","longSet","longDel","swipeDel"],components:{ItemContents:is,[qe.name]:qe,[Lt.name]:Lt},setup(e,{emit:o}){const l=()=>t.h(is,{item:e.item,onDelIcon(E){s(E)},onEditIcon(E){i(E)},onClickItem(E){c(E)}});let n=null;const a=t.ref(!1),r=t.ref(!1),s=E=>{o("delIcon",E,e.item),E.stopPropagation()},i=E=>{o("editIcon",E,e.item),E.stopPropagation()},c=E=>{a.value||(o("clickItem",E,e.item),E.stopPropagation())},u=E=>{o("longDel",E,e.item),E.stopPropagation()},f=E=>{n=0,r.value=!0,o("longDown",E,e.item)};return{renderCompontent:l,showMaskRef:r,clickItem:c,editClick:i,delClick:s,delLongClick:u,holddownstart:E=>{n=setTimeout(()=>{f(E)},300)},holddownmove:()=>{clearTimeout(n)},holddownend:()=>{clearTimeout(n)},copyCLick:E=>{o("longCopy",E,e.item),E.stopPropagation()},hideMaskClick:()=>{r.value=!1},setDefault:E=>{o("longSet",E,e.item),E.stopPropagation()},maskClick:E=>{n!=0&&(r.value=!1),E.stopPropagation(),E.preventDefault()},swipeDelClick:E=>{o("swipeDel",E,e.item),E.stopPropagation()},swipestart:()=>{a.value=!1},swipemove:()=>{a.value=!0}}}}),Rw={key:0,class:"fox-address-list-general"},Lw={class:"fox-address-list-swipe"};function Ow(e,o,l,n,a,r){const s=t.resolveComponent("fox-button"),i=t.resolveComponent("fox-swipe");return e.swipeEdition?(t.openBlock(),t.createBlock(i,{key:1},{right:t.withCtx(()=>[t.renderSlot(e.$slots,"swipe-right-btn",{},()=>[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",Lw,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderCompontent()),{onTouchmove:e.swipemove,onTouchstart:e.swipestart},{"content-top":t.withCtx(()=>[t.renderSlot(e.$slots,"content-info")]),"content-icon":t.withCtx(()=>[t.renderSlot(e.$slots,"content-icons")]),"content-addr":t.withCtx(()=>[t.renderSlot(e.$slots,"content-addrs")]),_:3},40,["onTouchmove","onTouchstart"]))])]),_:3})):(t.openBlock(),t.createElementBlock("div",Rw,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderCompontent()),{onTouchstart:e.holddownstart,onTouchend:e.holddownend,onTouchmove:e.holddownmove},{"content-top":t.withCtx(()=>[t.renderSlot(e.$slots,"content-info")]),"content-icon":t.withCtx(()=>[t.renderSlot(e.$slots,"content-icons")]),"content-addr":t.withCtx(()=>[t.renderSlot(e.$slots,"content-addrs")]),_:3},40,["onTouchstart","onTouchend","onTouchmove"])),e.longPress&&e.showMaskRef?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-address-list-general__mask",onClick:o[3]||(o[3]=(...c)=>e.maskClick&&e.maskClick(...c))},[t.renderSlot(e.$slots,"longpress-all",{},()=>[t.createElementVNode("div",{class:"fox-address-list-general__mask-copy",onClick:o[0]||(o[0]=(...c)=>e.copyCLick&&e.copyCLick(...c))},"复制地址"),t.createElementVNode("div",{class:"fox-address-list-general__mask-set",onClick:o[1]||(o[1]=(...c)=>e.setDefault&&e.setDefault(...c))},"设置默认"),t.createElementVNode("div",{class:"fox-address-list-general__mask-del",onClick:o[2]||(o[2]=(...c)=>e.delLongClick&&e.delLongClick(...c))},"删除地址")])])):t.createCommentVNode("",!0),e.showMaskRef?(t.openBlock(),t.createElementBlock("div",{key:1,class:"fox-address-list__mask-bottom",onClick:o[4]||(o[4]=(...c)=>e.hideMaskClick&&e.hideMaskClick(...c))})):t.createCommentVNode("",!0)]))}const Fw=Q(Pw,[["render",Ow]]),{componentName:xw,create:Kw,scope:Uw}=K("address-list"),Hw=Kw({props:{data:{type:Array,default:[]},longPress:{type:Boolean,default:!1},swipeEdition:{type:Boolean,default:!1},showBottomButton:{type:Boolean,default:!0},dataOptions:{type:Object,default:{}}},components:{GeneralShell:Fw,[qe.name]:qe},emits:["delIcon","editIcon","clickItem","longCopy","longSet","longDel","swipeDel","add"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(Uw),n=t.ref([]),a=t.reactive({id:1,addressName:"",phone:"",defaultAddress:!1,fullAddress:""}),r=t.computed(()=>({[xw]:!0})),s=()=>{Object.keys(e.dataOptions).length>0&&(n.value=e.data.map(k=>Pa(a,k,e.dataOptions)))};t.watch(()=>e.data,()=>s(),{deep:!0});const i=(k,y)=>{o("delIcon",k,y),k.stopPropagation()},c=(k,y)=>{o("editIcon",k,y),k.stopPropagation()},u=(k,y)=>{o("clickItem",k,y),k.stopPropagation()},f=(k,y)=>{o("longCopy",k,y),k.stopPropagation()},m=(k,y)=>{o("longSet",k,y),k.stopPropagation()},h=(k,y)=>{o("longDel",k,y),k.stopPropagation()},b=(k,y)=>{o("swipeDel",k,y),k.stopPropagation()},g=k=>{o("add",k),k.stopPropagation()};return t.onMounted(()=>{s()}),{classes:r,clickDelIcon:i,clickEditIcon:c,clickContentItem:u,clickLongCopy:f,clickLongSet:m,clickLongDel:h,clickSwipeDel:b,addAddress:g,dataArray:n,t:l}}});function vw(e,o,l,n,a,r){const s=t.resolveComponent("general-shell"),i=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.dataArray,(c,u)=>(t.openBlock(),t.createBlock(s,{key:u,item:c,longPress:e.longPress,swipeEdition:e.swipeEdition,onDelIcon:e.clickDelIcon,onEditIcon:e.clickEditIcon,onClickItem:e.clickContentItem,onSwipeDel:e.clickSwipeDel,onLongCopy:e.clickLongCopy,onLongSet:e.clickLongSet,onLongDel:e.clickLongDel},t.createSlots({"content-info":t.withCtx(()=>[t.renderSlot(e.$slots,"item-infos")]),"content-icons":t.withCtx(()=>[t.renderSlot(e.$slots,"item-icon")]),"content-addrs":t.withCtx(()=>[t.renderSlot(e.$slots,"item-addr")]),_:2},[e.longPress?{name:"longpress-all",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"longpress-btns")]),key:"0"}:void 0,e.swipeEdition?{name:"swipe-right-btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"swipe-right")]),key:"1"}:void 0]),1032,["item","longPress","swipeEdition","onDelIcon","onEditIcon","onClickItem","onSwipeDel","onLongCopy","onLongSet","onLongDel"]))),128)),e.showBottomButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-address-list__bottom",onClick:o[0]||(o[0]=(...c)=>e.addAddress&&e.addAddress(...c))},[t.createVNode(i,{block:"",type:"danger"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("addAddress")),1)]),_:1})])):t.createCommentVNode("",!0)],2)}const da=Q(Hw,[["render",vw]]),{componentName:NB,create:jw}=K("category"),Ww=jw({props:{type:{type:String,default:"classify"},category:{type:Array,default:[]}},setup(e,{emit:o,slots:l}){const n=t.ref(0),a=t.ref(!1);return{getChildList:s=>{n.value=s,o("change",s)},checkIndex:n,categoryLeft:a}}}),Yw={class:"fox-category"},Xw={class:"fox-category__cateList"},Qw={key:0},Gw=["onClick"];function Zw(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",Yw,[t.createElementVNode("div",Xw,[e.type=="classify"||e.type=="text"?(t.openBlock(),t.createElementBlock("div",Qw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.category,(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category__cateListLeft",key:i},[t.createElementVNode("div",{class:t.normalizeClass([e.checkIndex==i?"fox-category__cateListItemChecked":"fox-category__cateListItem"]),onClick:c=>e.getChildList(i)},t.toDisplayString(s.catName),11,Gw)]))),128))])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")])])}const ua=Q(Ww,[["render",Zw]]),{componentName:BB,create:Jw}=K("category-pane"),_w=Jw({props:{type:{type:String,default:"classify"},categoryChild:{type:Array,default:()=>[]},customCategory:{type:Array,default:()=>[]}},setup(e,{emit:o}){return{onChange:n=>{o("onChange",n)}}}}),eN={class:"fox-category-pane"},tN={key:0,class:"fox-category-pane__cateListRight"},oN={class:"fox-category-pane__childTitle"},nN={key:0,class:"fox-category-pane__childItemList"},lN=["onClick"],aN=["src"],rN={class:"fox-category-pane__skuImg"},sN={key:1,class:"fox-category-pane__cateListRight"},iN={class:"fox-category-pane__childTitle"},cN={key:0,class:"fox-category-pane__childItemList"},dN=["onClick"],uN={class:"fox-category-pane__skuName"},fN={key:2,class:"fox-category-pane__selfItemList"},mN=["onClick"];function pN(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",eN,[e.type=="classify"?(t.openBlock(),t.createElementBlock("div",tN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",oN,t.toDisplayString(s?.catName),1),s?.catType==1?(t.openBlock(),t.createElementBlock("div",nN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,u)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__childItem",key:u,onClick:f=>e.onChange(c)},[t.createElementVNode("img",{class:"fox-category-pane__childImg",src:c.backImg},null,8,aN),t.createElementVNode("div",rN,t.toDisplayString(c?.catName),1)],8,lN))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="text"?(t.openBlock(),t.createElementBlock("div",sN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",iN,t.toDisplayString(s?.catName),1),s?.catType==1?(t.openBlock(),t.createElementBlock("div",cN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,u)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__childItem",key:u,onClick:f=>e.onChange(c)},[t.createElementVNode("div",uN,t.toDisplayString(c?.catName),1)],8,dN))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="custom"?(t.openBlock(),t.createElementBlock("div",fN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.customCategory,(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__skuName",key:i,onClick:c=>e.onChange(s)},t.toDisplayString(s?.catName),9,mN))),128))])):t.createCommentVNode("",!0)])}const fa=Q(_w,[["render",pN]]),{componentName:VB,create:hN}=K("comment-header"),gN=hN({components:{[ht.name]:ht},props:{type:{type:String,default:"default"},info:{type:Object,default:()=>{}},labels:{type:Function,default:()=>""}},emits:["handleClick"],setup(e,{emit:o}){return{handleClick:()=>{o("handleClick")}}}}),yN={class:"fox-comment-header__user"},kN={class:"fox-comment-header__user-avter"},bN=["src"],SN={class:"fox-comment-header__user-score"},CN={key:0,class:"fox-comment-header__time"};function wN(e,o,l,n,a,r){const s=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:o[1]||(o[1]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.createElementVNode("view",yN,[t.createElementVNode("view",kN,[e.info.avatar?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.info.avatar},null,8,bN)):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",SN,[t.createVNode(s,{modelValue:e.info.score,"onUpdate:modelValue":o[0]||(o[0]=i=>e.info.score=i),size:"12",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",CN,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(s,{modelValue:e.info.score,"onUpdate:modelValue":o[2]||(o[2]=i=>e.info.score=i),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 NN=Q(gN,[["render",wN]]),{componentName:AB,create:BN}=K("comment-images"),VN=BN({props:{type:{type:String,default:"one"},videos:{type:Array,default:()=>[]},images:{type:Array,default:()=>[]}},components:{Right:ee.Right},emits:["click","clickImages"],setup(e,{emit:o}){const l=t.ref(!1),n=t.ref(1),a=t.ref([]);return t.watch(()=>[e.videos,e.images],s=>{s[0].length>0&&s[0].forEach(i=>{i.type="video"}),a.value=s[0].concat(s[1])},{deep:!0}),t.onMounted(()=>{e.videos.length>0&&e.videos.forEach(s=>{s.type="video"}),a.value=e.videos.concat(e.images)}),{isShowImage:l,initIndex:n,showImages:(s,i)=>{const{videos:c,images:u}=e,f=s=="img"?i-c.length:i;o("clickImages",{type:s,index:f,value:s=="img"?u[f]:c[f]})},totalImages:a}}}),AN=["onClick"],EN=["src"],TN=t.createElementVNode("view",{class:"fox-comment-images__play"},null,-1),$N=["onClick"],DN=["src"],IN={key:0,class:"fox-comment-images__mask"};function zN(e,o,l,n,a,r){const s=t.resolveComponent("Right");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,(i,c)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-comment-images__item fox-comment-images__item--video",key:i.id,onClick:u=>e.showImages("video",c)},[t.createElementVNode("img",{src:i.mainUrl},null,8,EN),TN],8,AN))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.images,(i,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:i.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:u=>e.showImages("img",c+e.videos.length)},[t.createElementVNode("img",{src:i.smallImgUrl?i.smallImgUrl:i.imgUrl},null,8,DN),e.type=="multi"&&e.totalImages.length>9&&e.videos.length+c>7?(t.openBlock(),t.createElementBlock("view",IN,[t.createElementVNode("span",null,"共 "+t.toDisplayString(e.totalImages.length)+" 张",1),t.createVNode(s,{style:{width:"12px"}})])):t.createCommentVNode("",!0)],8,$N)):t.createCommentVNode("",!0)],64))),128))],2)}const qN=Q(VN,[["render",zN]]),{componentName:EB,create:MN,scope:PN}=K("comment-bottom"),RN=MN({props:{type:{type:String,default:"base"},info:{type:Object,default:()=>({})},operation:{type:Array,default:["replay","like","more"]}},components:{Fabulous:ee.Fabulous,Comment:ee.Comment,MoreX:ee.MoreX},emits:["clickOperate","handleClick"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(PN),n=t.ref(!1),a=t.ref([]);return t.onMounted(()=>{const i=["replay","like","more"];e.operation&&e.operation.forEach(c=>{i.includes(c)&&a.value.push(c)})}),{showPopver:n,operate:i=>{i=="more"&&(n.value=!n.value),o("clickOperate",i)},mergeOp:a,handleClick:()=>{o("handleClick")},t:l}}}),LN={class:"fox-comment-bottom"},ON={key:0},FN={class:"fox-comment-bottom__cpx"},xN=["onClick"];function KN(e,o,l,n,a,r){const s=t.resolveComponent("Fabulous"),i=t.resolveComponent("Comment"),c=t.resolveComponent("MoreX");return t.openBlock(),t.createElementBlock("view",LN,[t.createElementVNode("view",{onClick:o[0]||(o[0]=(...u)=>e.handleClick&&e.handleClick(...u)),class:"fox-comment-bottom__lable"},[e.type!="complex"?(t.openBlock(),t.createElementBlock("span",ON,t.toDisplayString(e.info.size),1)):t.createCommentVNode("",!0)]),t.createElementVNode("view",FN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.mergeOp,(u,f)=>(t.openBlock(),t.createElementBlock("view",{key:f,class:t.normalizeClass(["fox-comment-bottom__cpx-item",`fox-comment-bottom__cpx-item--${u}`]),onClick:m=>e.operate(u)},[u!="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",null,t.toDisplayString(e.info[u]),1),u=="like"?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createBlock(i,{key:1}))],64)):t.createCommentVNode("",!0),u=="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(c),e.showPopver?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment-bottom__cpx-item-popover",onClick:o[1]||(o[1]=m=>e.operate("popover"))},t.toDisplayString(e.t("complaintsText")),1)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],10,xN))),128))])])}const UN=Q(RN,[["render",KN]]),{componentName:HN,create:vN,scope:jN}=K("comment"),WN=vN({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:NN,CommentImages:qN,CommentBottom:UN,Right:ee.Right},emits:["click","clickImages","clickOperate"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(jN),n=t.computed(()=>({[HN]:!0})),a=t.computed(()=>e.ellipsis?e.ellipsis:e.headerType=="complex"?6:2);return{classes:n,conEllipsis:a,clickOperate:c=>{o("clickOperate",c)},handleClick:()=>{o("click",e.info)},clickImages:c=>{o("clickImages",c)},t:l}}}),YN=["innerHTML"],XN={class:"fox-comment__follow-title"},QN={class:"fox-comment__follow-com"},GN={key:0,class:"fox-comment__follow-img"};function ZN(e,o,l,n,a,r){const s=t.resolveComponent("comment-header"),i=t.resolveComponent("comment-images"),c=t.resolveComponent("Right"),u=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(s,{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:o[0]||(o[0]=(...f)=>e.handleClick&&e.handleClick(...f)),innerHTML:e.info.content},null,12,YN),t.createVNode(i,{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:o[1]||(o[1]=(...f)=>e.handleClick&&e.handleClick(...f))},[t.createElementVNode("view",XN,t.toDisplayString(e.t("additionalReview",e.follow.days)),1),t.createElementVNode("view",QN,t.toDisplayString(e.follow.content),1),e.follow.images&&e.follow.images.length>0?(t.openBlock(),t.createElementBlock("view",GN,[t.createTextVNode(t.toDisplayString(e.t("additionalImages",e.follow.images.length))+" ",1),t.createVNode(c,{width:"12px"})])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createVNode(u,{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 ma=Q(WN,[["render",ZN]]),JN=[un,mn,pn,hn,kn,Ne,Cn,wn,Nn,Bn,An,Co,$n,zn,Rn,Fn,To,$o,xn,Io,zo,Un,vn,ot,jn,Yn,Xn,Qn,Gn,Zn,Jn,qe,_n,el,lt,ce,tl,ol,nl,ll,Tt,al,rl,sl,il,cl,dl,ul,fl,ml,Mt,pl,$t,Dt,hl,gl,yl,kl,Pt,bl,No,Eo,Ao,rt,ht,ft,Sl,Cl,wl,Lt,Nl,Bl,Vl,Ot,Al,El,Dl,Mo,kt,ql,Ml,vt,Pl,Rl,Rt,Ll,Ol,Fl,bt,xl,Kl,St,Ct,Ge,Oo,Hl,vl,jl,jt,Wt,Wl,Yl,Xl,Ql,Gl,Zl,Jl,_l,ea,ta,oa,na,la,aa,ra,sa,ia,ca,da,ua,fa,ma],_N=new Ks(JN,"4.0.0");C.ActionSheet=Nl,C.Address=ta,C.AddressList=da,C.Animate=Zl,C.Audio=ql,C.AudioOperate=Ml,C.Avatar=vt,C.AvatarGroup=Pl,C.BackTop=Bl,C.Badge=jl,C.Barrage=oa,C.Broadcast=nn,C.BroadcastKey=Se,C.Button=qe,C.Calendar=Eo,C.CalendarItem=Fn,C.Card=ia,C.Cascader=No,C.CascaderItem=zn,C.Category=ua,C.CategoryPane=fa,C.Cell=_n,C.CellGroup=el,C.Checkbox=Io,C.CheckboxGroup=zo,C.CheckboxItem=Un,C.CircleProgress=Ll,C.Col=nl,C.Collapse=Yl,C.CollapseItem=Xl,C.Comment=ma,C.Content=hn,C.CountDown=vl,C.CountUp=Hl,C.DataItemsKey=it,C.DateItem=Rn,C.DatePicker=Ao,C.DateUtils=le,C.Dialog=Ot,C.Divider=al,C.Domain=lo,C.DomainKey=Ee,C.DomainProvider=Xn,C.Drag=Vl,C.Ecard=ca,C.Elevator=Mt,C.Ellipsis=Gl,C.Empty=Fl,C.FixedNav=cl,C.FooterBar=pn,C.FoxActionSheet=Nl,C.FoxAddress=ta,C.FoxAddressList=da,C.FoxAnimate=Zl,C.FoxAudio=ql,C.FoxAudioOperate=Ml,C.FoxAvatar=vt,C.FoxAvatarGroup=Pl,C.FoxBackTop=Bl,C.FoxBadge=jl,C.FoxBarrage=oa,C.FoxButton=qe,C.FoxCalendar=Eo,C.FoxCalendarItem=Fn,C.FoxCard=ia,C.FoxCascader=No,C.FoxCascaderItem=zn,C.FoxCategory=ua,C.FoxCategoryPane=fa,C.FoxCell=_n,C.FoxCellGroup=el,C.FoxCheckbox=Io,C.FoxCheckboxGroup=zo,C.FoxCheckboxItem=Un,C.FoxCircleProgress=Ll,C.FoxCol=nl,C.FoxCollapse=Yl,C.FoxCollapseItem=Xl,C.FoxComment=ma,C.FoxContent=hn,C.FoxCountDown=vl,C.FoxCountUp=Hl,C.FoxDateItem=Rn,C.FoxDatePicker=Ao,C.FoxDialog=Ot,C.FoxDivider=al,C.FoxDomainProvider=Xn,C.FoxDrag=Vl,C.FoxEcard=ca,C.FoxElevator=Mt,C.FoxEllipsis=Gl,C.FoxEmpty=Fl,C.FoxFixedNav=cl,C.FoxFooterBar=pn,C.FoxGrid=rl,C.FoxGridItem=sl,C.FoxGroup=kn,C.FoxHeaderBar=mn,C.FoxHintText=ot,C.FoxImage=tl,C.FoxImagePreview=Oo,C.FoxIndicator=hl,C.FoxInfiniteLoading=Al,C.FoxInputItem=Nn,C.FoxInputNumber=rt,C.FoxItem=Ne,C.FoxLayout=ol,C.FoxLinkItem=jn,C.FoxList=Rl,C.FoxMenu=dl,C.FoxMenuItem=ul,C.FoxMoneyItem=Bn,C.FoxNavbar=il,C.FoxNoticeBar=Ol,C.FoxNotify=Dl,C.FoxNumberKeyboard=wl,C.FoxOverLay=lt,C.FoxPage=un,C.FoxPagination=pl,C.FoxPicker=ft,C.FoxPickerItem=$n,C.FoxPopover=Wt,C.FoxPopup=ce,C.FoxPrice=Ge,C.FoxProgress=Rt,C.FoxPullRefresh=El,C.FoxRadio=To,C.FoxRadioGroup=$o,C.FoxRadioItem=xn,C.FoxRange=Pt,C.FoxRate=ht,C.FoxRateItem=Yn,C.FoxRollingProvider=Qn,C.FoxRow=ll,C.FoxRowItem=Cn,C.FoxSearchBar=bl,C.FoxShortPassword=Sl,C.FoxSideNavBar=gl,C.FoxSideNavBarItem=yl,C.FoxSignature=na,C.FoxSkeleton=Wl,C.FoxSku=sa,C.FoxSlotItem=wn,C.FoxStep=Kl,C.FoxSteps=xl,C.FoxSticky=Tt,C.FoxSubSideNavBar=kl,C.FoxSwipe=Lt,C.FoxSwiper=St,C.FoxSwiperItem=Ct,C.FoxSwitch=Mo,C.FoxSwitchItem=vn,C.FoxTabPane=Dt,C.FoxTabbar=fl,C.FoxTabbarItem=ml,C.FoxTable=Ql,C.FoxTabs=$t,C.FoxTabsBar=Gn,C.FoxTabsContainer=Zn,C.FoxTabsPane=Jn,C.FoxTag=jt,C.FoxTextarea=Co,C.FoxTextareaItem=An,C.FoxTimeDetail=ra,C.FoxTimePannel=aa,C.FoxTimeSelect=la,C.FoxToast=kt,C.FoxTour=ea,C.FoxTrendArrow=_l,C.FoxUploader=Cl,C.FoxVideo=bt,C.FoxWaterMark=Jl,C.Grid=rl,C.GridItem=sl,C.Group=kn,C.HeaderBar=mn,C.HintText=ot,C.Image=tl,C.ImagePreview=Oo,C.Indicator=hl,C.InfiniteLoading=Al,C.InputItem=Nn,C.InputNumber=rt,C.Item=Ne,C.Layout=ol,C.LinkItem=jn,C.List=Rl,C.Menu=dl,C.MenuItem=ul,C.MoneyItem=Bn,C.Navbar=il,C.NoticeBar=Ol,C.Notify=Dl,C.NumberKeyboard=wl,C.OverLay=lt,C.Page=un,C.Pagination=pl,C.Picker=ft,C.PickerItem=$n,C.Popover=Wt,C.Popup=ce,C.Price=Ge,C.PriorityPolicy=uo,C.Progress=Rt,C.PullRefresh=El,C.Radio=To,C.RadioGroup=$o,C.RadioItem=xn,C.Range=Pt,C.Rate=ht,C.RateItem=Yn,C.RollingProvider=Qn,C.Row=ll,C.RowItem=Cn,C.SearchBar=bl,C.ShortPassword=Sl,C.SideNavBar=gl,C.SideNavBarItem=yl,C.Signature=na,C.Skeleton=Wl,C.Sku=sa,C.SlotItem=wn,C.Step=Kl,C.Steps=xl,C.Sticky=Tt,C.SubSideNavBar=kl,C.Swipe=Lt,C.Swiper=St,C.SwiperItem=Ct,C.Switch=Mo,C.SwitchItem=vn,C.TabPane=Dt,C.Tabbar=fl,C.TabbarItem=ml,C.Table=Ql,C.Tabs=$t,C.TabsBar=Gn,C.TabsContainer=Zn,C.TabsPane=Jn,C.Tag=jt,C.Textarea=Co,C.TextareaItem=An,C.TimeDetail=ra,C.TimePannel=aa,C.TimeSelect=la,C.Toast=kt,C.Tour=ea,C.TrendArrow=_l,C.UniqueID=rr,C.Uploader=Cl,C.ValidateSchema=Ka,C.ValidateSchemaKey=xe,C.Video=bt,C.WaterMark=Jl,C.cancelRaf=pa,C.clamp=Fe,C.clearNonNumber=_o,C.clone=Zo,C.compareTo=Yo,C.createBroadcast=eo,C.createValidateSchema=oo,C.debounce=st,C.debounceRef=Is,C.decimalLength=qa,C.default=_N,C.defineBroadcast=ws,C.defineConfigDomain=Ha,C.defineDataItem=ja,C.defineDomain=rn,C.defineItem=Be,C.definePageState=Wa,C.deleteGlobalValidator=As,C.disabledProperty=Ve,C.divide=Wo,C.excludeProps=en,C.extend=Je,C.floatData=Pa,C.getGlobalValidateCheckEvents=Oa,C.getGlobalValidateResetEvents=xa,C.getPageContentAreaHeight=io,C.getPageContentAreaWidth=co,C.getPageFooterAreaHeight=so,C.getPageHeaderAreaHeight=ro,C.getRootDomain=ct,C.getScrollTopRoot=on,C.hasSymbol=Aa,C.includeProps=be,C.indexOf=Ss,C.installRules=va,C.integerLength=za,C.isArray=Gt,C.isArrayLike=Ta,C.isBrowser=Ye,C.isDate=Le,C.isESModule=hs,C.isEmptyString=ke,C.isEqual=Oe,C.isFunction=Zt,C.isHidden=_t,C.isInnerPage=Ms,C.isMap=fs,C.isNil=Na,C.isNumberString=Ia,C.isObject=Ie,C.isPlainObject=Go,C.isPromise=Qo,C.isRegExp=Da,C.isSet=ms,C.isString=Ba,C.isSubPage=Ps,C.isSymbol=ps,C.isWindow=Ea,C.lastIndexOf=Cs,C.makeArray=bs,C.merge=$a,C.multiply=Sa,C.negate=Ca,C.nextTick=ys,C.numberFormat=Xo,C.objectToString=Va,C.once=zs,C.padZero=et,C.preventDefault=tn,C.property=Te,C.raf=Xe,C.readonlyProperty=$e,C.setGlobalValidateCheckEvents=Es,C.setGlobalValidateHandler=Bs,C.setGlobalValidateMessages=$s,C.setGlobalValidateResetEvents=Ts,C.setGlobalValidator=Vs,C.throttle=no,C.toBoolean=ye,C.toNumber=me,C.toPadding=Me,C.toPx=ie,C.toPxDesc=de,C.toTypeString=Jt,C.toValue=ze,C.tryTimes=ln,C.typeOf=_e,C.unNumberFormat=wa,C.updatePageState=sn,C.useBroadcast=Bt,C.useDomain=Ke,C.useExpose=De,C.useInnerSize=fn,C.usePageState=ao,C.usePosition=or,C.useRect=Ae,C.useSize=mo,C.useTouch=Ue,C.valueLength=ge,Object.defineProperties(C,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
13
|
+
`)}}});function Hp(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)}const fl=Z(Up,[["render",Hp]]),{componentName:jp,create:Wp}=j("divider"),Yp=Wp({props:{contentPosition:{type:String,default:"center"},dashed:{type:Boolean,default:!1},hairline:{type:Boolean,default:!0},direction:{type:String,default:"horizontal"}},components:{},setup(e,o){return{classes:t.computed(()=>{const n=jp;let a={[n]:!0},r={};return e.direction==="horizontal"?r={...a,[`${n}-center`]:o.slots.default,[`${n}-left`]:e.contentPosition==="left",[`${n}-right`]:e.contentPosition==="right",[`${n}-dashed`]:e.dashed,[`${n}-hairline`]:e.hairline}:r={...a,[`${n}-vertical`]:e.direction==="vertical"},r})}}});function Xp(e,o,l,n,a,r){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 ml=Z(Yp,[["render",Xp]]);function Qp(e,o){const l=[],n=a=>{Array.isArray(a)&&a.forEach(r=>{if(t.isVNode(r)){if(o){if(r.type&&r.type.name===o){l.push(r);return}}else l.push(r);r.component?.subTree&&n(r.component.subTree.children),r.children&&n(r.children)}})};return n(e),l}function Gp(e,o,l){const n=Qp(e.subTree.children,l);o.sort((a,r)=>n.indexOf(a.vnode)-n.indexOf(r.vnode))}function Zp(e,o){const l=t.shallowReactive([]),n=t.getCurrentInstance(),a=i=>{i.proxy&&(l.push(t.markRaw(i)),Gp(n,l,o))},r=i=>{l.splice(l.indexOf(t.markRaw(i)),1)},s=Object.assign;return i=>(t.provide(e,s({add:a,remove:r,internalChildren:l},i)),{internalChildren:l})}const{componentName:rs}=j("grid"),ss=Symbol("grid"),Jp={props:{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}},setup(e,{slots:o}){Zp(ss,`${rs}-item`)({props:e});const l=t.computed(()=>{const a=rs;return{[a]:!0,[`${a}--border`]:e.border&&!e.gutter}}),n=t.computed(()=>{const a={};return e.gutter&&(a.paddingLeft=fe(e.gutter)),a});return()=>t.h("view",{class:l.value,style:n.value},o.default?.())}},{create:_p}=j("grid"),pl=_p(Jp);function eh(e){const o=t.inject(e,null);if(o){const l=t.getCurrentInstance(),{add:n,remove:a,internalChildren:r}=o;n(l),t.onUnmounted(()=>a(l));const s=t.computed(()=>r.indexOf(l));return{parent:o,index:s}}return{parent:null,index:t.ref(-1)}}const{create:th,componentName:is}=j("grid-item"),oh=th({props:{text:{type:String}},emits:["click"],setup(e,{emit:o}){const l=eh(ss);if(!l.parent)return{};const n=l.index,a=l.parent.props,r=t.computed(()=>({[is]:!0})),s=t.computed(()=>{const u={flexBasis:`${100/+a.columnNum}%`};return a.square?u.paddingTop=`${100/+a.columnNum}%`:a.gutter&&(u.paddingRight=fe(a.gutter),n.value>=a.columnNum&&(u.marginTop=fe(a.gutter))),u}),i=t.computed(()=>{const u=`${is}__content`;return{[`${u}`]:!0,[`${u}--border`]:a.border,[`${u}--surround`]:a.border&&a.gutter,[`${u}--center`]:a.center,[`${u}--square`]:a.square,[`${u}--reverse`]:a.reverse,[`${u}--${a.direction}`]:!!a.direction,[`${u}--clickable`]:a.clickable}});return{rootClass:r,rootStyle:s,contentClass:i,handleClick:u=>{o("click",u)}}}}),nh={class:"fox-grid-item__text"};function lh(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.rootClass),style:t.normalizeStyle(e.rootStyle),onClick:o[0]||(o[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[t.createElementVNode("view",{class:t.normalizeClass(e.contentClass)},[t.renderSlot(e.$slots,"default"),t.createElementVNode("view",nh,[e.text?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(e.text),1)],64)):t.renderSlot(e.$slots,"text",{key:1})])],2)],6)}const hl=Z(oh,[["render",lh]]),{componentName:ah,create:rh}=j("navbar"),sh=rh({components:{Left:te.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:o}){const{border:l,fixed:n,safeAreaInsetTop:a,placeholder:r,zIndex:s}=t.toRefs(e),i=t.ref(null),c=t.ref(null);let u=t.ref();const m=t.computed(()=>{const S=ah;return{[S]:!0,[`${S}--border`]:l.value,[`${S}--fixed`]:n.value,[`${S}--safe-area-inset-top`]:a.value}}),h=t.computed(()=>({zIndex:s.value}));t.onMounted(()=>{n.value&&r.value&&t.nextTick(()=>{u.value=c?.value?.getBoundingClientRect().height,i.value.style.height=u.value+"px"})});function p(){o("on-click-back")}function k(){o("on-click-title")}function g(){o("on-click-icon")}function y(){o("on-click-right")}return{navBarWrap:i,navBarHtml:c,classes:m,styles:h,handleLeft:p,handleCenter:k,handleCenterIcon:g,handleRight:y}}}),ih={key:0,class:"fox-navbar--placeholder",ref:"navBarWrap"},ch={key:1,class:"fox-navbar__text"},dh={class:"fox-navbar__title"},uh={key:0,class:"fox-navbar__text"},fh={key:1,class:"fox-navbar__text"},mh={class:"fox-navbar__title"},ph={key:0,class:"fox-navbar__text"};function hh(e,o,l,n,a,r){const s=t.resolveComponent("Left");return e.fixed&&e.placeholder?(t.openBlock(),t.createElementBlock("view",ih,[t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),ref:"navBarHtml"},[t.createElementVNode("view",{class:"fox-navbar__left",onClick:o[0]||(o[0]=(...i)=>e.handleLeft&&e.handleLeft(...i))},[e.leftShow?t.renderSlot(e.$slots,"left-show",{key:0},()=>[t.createVNode(s,{height:"12px",color:"#979797"})]):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",ch,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",dh,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:o[1]||(o[1]=(...i)=>e.handleCenter&&e.handleCenter(...i))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titleIcon?(t.openBlock(),t.createElementBlock("view",{key:1,class:"icon",onClick:o[3]||(o[3]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))},[t.renderSlot(e.$slots,"title-icon",{onClick:o[2]||(o[2]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))})])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content")]),t.createElementVNode("view",{class:"fox-navbar__right",onClick:o[4]||(o[4]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?(t.openBlock(),t.createElementBlock("view",uh,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:o[5]||(o[5]=(...i)=>e.handleLeft&&e.handleLeft(...i))},[e.leftShow?t.renderSlot(e.$slots,"left-show",{key:0},()=>[t.createVNode(s,{height:"12px",color:"#979797"})]):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",fh,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",mh,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:o[6]||(o[6]=(...i)=>e.handleCenter&&e.handleCenter(...i))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titleIcon?(t.openBlock(),t.createElementBlock("view",{key:1,class:"icon",onClick:o[8]||(o[8]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))},[t.renderSlot(e.$slots,"title-icon",{onClick:o[7]||(o[7]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))})])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content")]),t.createElementVNode("view",{class:"fox-navbar__right",onClick:o[9]||(o[9]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?(t.openBlock(),t.createElementBlock("view",ph,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"right")])],6))}const gl=Z(sh,[["render",hh]]),gh=(e,o,l)=>({components:l,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(n,{emit:a}){const{toLocaleRefs:r}=se.useFoxI18n(o),s=r(n,["activeText","unActiveText"]),i=t.computed(()=>({[e]:!0,active:n.visible,[n.type]:!0})),c=t.ref(-1);return{...s,classes:i,updateValue:(h=!n.visible)=>{a("update:visible",h)},selected:(h,p)=>{a("selected",{item:h,event:p}),c.value=h.id},current:c}}}),{componentName:yh,create:kh,scope:bh}=j("fixednav"),Sh=kh(gh(yh,bh,{[lt.name]:lt,Left:te.Left})),Ch={class:"fox-fixednav__list"},wh=["onClick"],Nh=["src"],Bh={class:"span"},Ah={key:0,class:"b"},Vh={class:"text"};function Th(e,o,l,n,a,r){const s=t.resolveComponent("fox-overlay"),i=t.resolveComponent("Left");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.position)},[e.overlay?(t.openBlock(),t.createBlock(s,{key:0,visible:e.visible,"z-index":200,onClick:o[0]||(o[0]=c=>e.updateValue(!1))},null,8,["visible"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"list",{},()=>[t.createElementVNode("view",Ch,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.navList,(c,u)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-fixednav__list-item",{active:c.id==e.current}]),onClick:m=>e.selected(c,m),key:c.id||u},[t.createElementVNode("img",{src:c.icon},null,8,Nh),t.createElementVNode("view",Bh,t.toDisplayString(c.text),1),c.num?(t.openBlock(),t.createElementBlock("view",Ah,t.toDisplayString(c.num),1)):t.createCommentVNode("",!0)],10,wh))),128))])]),t.createElementVNode("div",{class:"fox-fixednav__btn",onClick:o[1]||(o[1]=c=>e.updateValue())},[t.renderSlot(e.$slots,"btn",{},()=>[t.createVNode(i,{color:"#fff"}),t.createElementVNode("view",Vh,t.toDisplayString(e.visible?e.activeText:e.unActiveText),1)])])],6)}const yl=Z(Sh,[["render",Th]]),{componentName:$h,create:Eh}=j("menu"),Dh=Eh({components:{ArrowUp2:te.ArrowUp2,ArrowDown2:te.ArrowDown2},props:{activeColor:{type:String,default:""},overlay:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},duration:{type:[Number,String],default:0},titleIcon:String,closeOnClickOverlay:{type:Boolean,default:!0},direction:{type:String,default:"down"},scrollFixed:{type:[Boolean,String,Number],default:!1},titleClass:[String]},setup(e,{emit:o,slots:l}){const n=t.ref(),a=t.ref(0),r=t.ref(!1),s=()=>{const S=t.reactive([]),d=t.reactive([]);return{children:S,linkChildren:b=>{const w=E=>{E.proxy&&(d.push(E),S.push(E.proxy))},V=E=>{if(E.proxy){let I=d.indexOf(E);I>-1&&d.splice(I,1);let D=S.indexOf(E.proxy);I>-1&&S.splice(D,1)}};t.provide("menuParent",Object.assign({removeLink:V,link:w,children:S,internalChildren:d},b))}}},{children:i,linkChildren:c}=s(),u=t.computed(()=>i.some(S=>S.state.showWrapper)),m=t.computed(()=>({[$h]:!0,"scroll-fixed":r.value})),h=()=>{if(n.value){const S=$e(n);e.direction==="down"?a.value=S.bottom:a.value=window.innerHeight-S.top}};c({props:e,offset:a});const p=S=>{i.forEach((d,f)=>{f===S?(h(),d.toggle()):d.state.showPopup&&d.toggle(!1,{immediate:!0})})},k=S=>Math.max(0,"scrollTop"in S?S.scrollTop:S.pageYOffset),g=()=>{const{scrollFixed:S}=e,d=k(window);r.value=d>(typeof S=="boolean"?30:Number(S))},y=S=>{let d="";const{titleClass:f}=e;return S&&(d+="active"),f&&(d+=` ${f}`),d};return t.onMounted(()=>{const{scrollFixed:S}=e;S&&window.addEventListener("scroll",g)}),t.onUnmounted(()=>{const{scrollFixed:S}=e;S&&window.removeEventListener("scroll",g)}),{toggleItem:p,children:i,opened:u,classes:m,barRef:n,getClasses:y}}}),Ih=["onClick"],qh={class:"fox-menu__title-text"},zh={class:"fox-menu__title-icon"};function Mh(e,o,l,n,a,r){const s=t.resolveComponent("ArrowUp2"),i=t.resolveComponent("ArrowDown2");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,(c,u)=>(t.openBlock(),t.createElementBlock("view",{key:u,class:t.normalizeClass(["fox-menu__item",{disabled:c.disabled,active:c.state.showPopup}]),onClick:m=>!c.disabled&&e.toggleItem(u),style:t.normalizeStyle({color:c.state.showPopup?e.activeColor:""})},[t.createElementVNode("view",{class:t.normalizeClass(["fox-menu__title",e.getClasses(c.state.showPopup)])},[t.createElementVNode("view",qh,t.toDisplayString(c.renderTitle()),1),t.createElementVNode("span",zh,[t.renderSlot(e.$slots,"icon",{},()=>[e.direction==="up"?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createBlock(i,{key:1}))])])],2)],14,Ih))),128))],2),t.renderSlot(e.$slots,"default")],2)}const kl=Z(Dh,[["render",Mh]]),{componentName:Ph,create:Rh}=j("menu-item"),xh=Rh({props:{title:String,options:{type:Array,default:[]},disabled:{type:Boolean,default:!1},modelValue:null,cols:{type:Number,default:1},activeTitleClass:String,inactiveTitleClass:String,optionIcon:{type:String,default:"Check"}},components:{[de.name]:de,Check:te.Check},emits:["update:modelValue","change","open","close"],setup(e,{emit:o,slots:l}){const n=t.reactive({showPopup:!1,transition:!0,showWrapper:!1,isShowPlaceholderElement:!1}),a=()=>{const k=t.inject("menuParent",null);if(k){const g=t.getCurrentInstance(),{link:y,removeLink:S}=k;return y(g),t.onUnmounted(()=>{S(g)}),{parent:k}}},{parent:r}=a(),s=t.computed(()=>({[Ph]:!0})),i=t.computed(()=>{const k={height:r.offset.value+"px"};return r.props.direction==="down"?k:{...k,top:"auto"}});return{classes:s,placeholderElementStyle:i,renderTitle:()=>{if(e.title)return e.title;const k=e.options?.find(g=>g.value===e.modelValue);return k?k.text:""},state:n,parent:r,toggle:(k=!n.showPopup,g={})=>{k!==n.showPopup&&(n.showPopup=k,n.isShowPlaceholderElement=k,k&&(n.showWrapper=!0,o("open")))},onClick:k=>{n.showPopup=!1,n.isShowPlaceholderElement=!1,k.value!==e.modelValue&&(o("update:modelValue",k.value),o("change",k.value))},handleClose:()=>{o("close"),n.showWrapper=!1,n.isShowPlaceholderElement=!1},handleClickOutside:()=>{n.showPopup=!1,o("close")}}}}),Lh={class:"fox-menu-item__content fox-menu-item__overflow"},Oh=["onClick"];function Fh(e,o,l,n,a,r){const s=t.resolveComponent("Check"),i=t.resolveComponent("fox-popup");return t.withDirectives((t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.withDirectives(t.createElementVNode("div",{onClick:o[0]||(o[0]=(...c)=>e.handleClickOutside&&e.handleClickOutside(...c)),class:t.normalizeClass(["fox-menu-item-placeholder-element",{up:e.parent.props.direction==="up"}]),style:t.normalizeStyle(e.placeholderElementStyle)},null,6),[[t.vShow,e.state.isShowPlaceholderElement]]),t.createVNode(i,t.mergeProps({style:e.parent.props.direction==="down"?{top:e.parent.offset.value+"px"}:{bottom:e.parent.offset.value+"px"},overlayStyle:e.parent.props.direction==="down"?{top:e.parent.offset.value+"px"}:{bottom:e.parent.offset.value+"px",top:"auto"}},e.$attrs,{visible:e.state.showPopup,"onUpdate:visible":o[1]||(o[1]=c=>e.state.showPopup=c),position:e.parent.props.direction==="down"?"top":"bottom",duration:e.parent.props.duration,"pop-class":"fox-menu__pop","destroy-on-close":!1,overlay:e.parent.props.overlay,onClosed:e.handleClose,lockScroll:e.parent.props.lockScroll,teleportDisable:!1,"close-on-click-overlay":e.parent.props.closeOnClickOverlay}),{default:t.withCtx(()=>[t.createElementVNode("view",Lh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.options,(c,u)=>(t.openBlock(),t.createElementBlock("view",{key:u,class:t.normalizeClass(["fox-menu-item__option",[{active:c.value===e.modelValue}]]),style:t.normalizeStyle({"flex-basis":100/e.cols+"%"}),onClick:m=>e.onClick(c)},[c.value===e.modelValue?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["fox-menu-item__span",[c.value===e.modelValue?e.activeTitleClass:e.inactiveTitleClass]])},[t.renderSlot(e.$slots,"icon",{},()=>[t.createVNode(s,t.mergeProps(e.$attrs,{color:e.parent.props.activeColor}),null,16,["color"])])],2)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass([c.value===e.modelValue?e.activeTitleClass:e.inactiveTitleClass]),style:t.normalizeStyle({color:c.value===e.modelValue?e.parent.props.activeColor:""})},t.toDisplayString(c.text),7)],14,Oh))),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 bl=Z(xh,[["render",Fh]]),{create:Kh}=j("tabbar"),vh=Kh({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,o){function l(a){n.value!==a&&(n.value=a,o.emit("update:modelValue",a),o.emit("change",a,n.children[a]))}const n=t.reactive({children:[],size:e.size,value:e.modelValue,inactiveColor:e.inactiveColor,activeColor:e.activeColor,changeIndex:l});return t.provide("parent",n),t.watch(()=>e.modelValue,a=>{n.value=a}),{changeIndex:l}}});function Uh(e,o,l,n,a,r){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 Sl=Z(vh,[["render",Uh]]),{create:Hh}=j("tabbar-item"),jh=Hh({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,o){const l=t.inject("parent"),n=t.reactive({size:l.size,inactiveColor:l.inactiveColor,activeColor:l.activeColor,value:l.value,index:0}),a=t.getCurrentInstance();a!==null&&(u=>{if(u.proxy){let m=l.children.length;n.index=m;let h=Object.assign(u.proxy,{index:m});l.children.push(h)}})(a);const r=t.computed(()=>n.index===n.value);function s(c){l&&typeof l.changeIndex=="function"&&l.changeIndex(c)}const i=t.computed(()=>l?l.value:null);return t.watch(i,c=>{n.value=c}),{state:n,active:r,change:s}}}),Wh={class:"fox-tabbar-item_icon-box"},Yh={key:0,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_num"},Xh={key:1,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_nums"},Qh={key:1,class:"fox-tabbar-item_icon-box_dot"},Gh={key:2},Zh={key:0};function Jh(e,o,l,n,a,r){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:o[0]||(o[0]=s=>e.change(e.state.index))},[t.createElementVNode("view",Wh,[e.dot?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.num&&e.num<=99?(t.openBlock(),t.createElementBlock("view",Yh,t.toDisplayString(e.num),1)):e.num&&e.num>100?(t.openBlock(),t.createElementBlock("view",Xh,t.toDisplayString("99+"))):t.createCommentVNode("",!0)],64)),e.dot?(t.openBlock(),t.createElementBlock("div",Qh)):t.createCommentVNode("",!0),e.icon?(t.openBlock(),t.createElementBlock("view",Gh,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.icon),{class:"fox-tabbar-item_icon-box_icon",width:e.state.size,height:e.state.size},null,8,["width","height"]))])):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",Zh,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.title?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"default",{key:1})],2)])],6)}const Cl=Z(jh,[["render",Jh]]),{componentName:_h,create:eg}=j("elevator"),tg=eg({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,o){const l=t.ref(null),n=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}),a=t.computed(()=>({[_h]:!0})),r=t.computed(()=>({transform:`translate3d(0, ${n.scrollY+n.fixedTop}px, 0)`})),s=t.computed(()=>l.value.clientHeight),i=(d,f)=>{const b="data-";return d.getAttribute(b+f)},c=d=>{t.nextTick(()=>{!n.listGroup.includes(d)&&d!=null&&n.listGroup.push(d)})},u=()=>{let d=0;n.listHeight.push(d);for(let f=0;f<n.listGroup.length;f++){let b=n.listGroup[f];d+=Math.floor(b.clientHeight),n.listHeight.push(d)}},m=d=>{!d&&d!==0||(d<0&&(d=0),d>n.listHeight.length-2&&(d=n.listHeight.length-2),n.codeIndex=d,l.value.scrollTo(0,n.listHeight[d]))},h=d=>{n.scrollStart=!0;let f=i(d.target,"index"),b=d.touches[0];n.touchState.y1=b.pageY,n.anchorIndex=+f,n.codeIndex=+f,m(+f)},p=d=>{let f=d.touches[0];n.touchState.y2=f.pageY;let b=(n.touchState.y2-n.touchState.y1)/e.spaceHeight|0;n.codeIndex=n.anchorIndex+b,m(n.codeIndex)},k=()=>{n.scrollStart=!1},g=(d,f)=>{o.emit("click-item",d,f),n.currentData=f,n.currentKey=d},y=d=>{o.emit("click-index",d)},S=d=>{let b=d.target.scrollTop;const w=n.listHeight;n.scrollY=b;for(let V=0;V<w.length-1;V++){let E=w[V],I=w[V+1];if(n.scrollY>=E&&n.scrollY<I){n.currentIndex=V,n.diff=I-n.scrollY;return}}n.currentIndex=w.length-2};return t.onMounted(()=>{l.value.addEventListener("scroll",S)}),Te({scrollTo:m}),t.watch(()=>n.listGroup.length,()=>{n.listHeight=[],t.nextTick(u)}),t.watch(()=>n.diff,d=>{const f=n.listHeight;let b=d>0&&d<e.titleHeight?d-e.titleHeight:0;n.scrollY+s.value===f[f.length-1]&&b!==0&&(b=0),n.fixedTop!==b&&(n.fixedTop=b)}),t.watch(()=>n.currentIndex,d=>{o.emit("change",d)}),{classes:a,...t.toRefs(n),fixedStyle:r,clientHeight:s,setListGroup:c,listview:l,touchStart:h,touchMove:p,touchEnd:k,handleClickItem:g,handleClickIndex:y}}}),og={class:"fox-elevator__list__item__code"},ng=["onClick"],lg=["innerHTML"],ag={class:"fox-elevator__fixed-title"},rg={class:"fox-elevator__bars__inner"},sg=["data-index","onClick"];function ig(e,o,l,n,a,r){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,s=>(t.openBlock(),t.createElementBlock("view",{class:"fox-elevator__list__item",key:s[e.acceptKey],ref_for:!0,ref:e.setListGroup},[t.createElementVNode("view",og,t.toDisplayString(s[e.acceptKey]),1),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.list,i=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-elevator__list__item__name",{"fox-elevator__list__item__name--highcolor":e.currentData.id===i.id&&e.currentKey===s[e.acceptKey]}]),key:i.id,onClick:c=>e.handleClickItem(s[e.acceptKey],i)},[e.$slots.default?t.renderSlot(e.$slots,"default",{key:1,item:i}):(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:i.name},null,8,lg))],10,ng))),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",ag,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:o[0]||(o[0]=(...s)=>e.touchStart&&e.touchStart(...s)),onTouchmove:o[1]||(o[1]=t.withModifiers((...s)=>e.touchMove&&e.touchMove(...s),["stop","prevent"])),onTouchend:o[2]||(o[2]=(...s)=>e.touchEnd&&e.touchEnd(...s))},[t.createElementVNode("view",rg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.indexList,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-elevator__bars__inner__item",{active:s[e.acceptKey]===e.indexList[e.currentIndex][e.acceptKey]}]),"data-index":i,key:s[e.acceptKey],onClick:c=>e.handleClickIndex(s[e.acceptKey])},t.toDisplayString(s[e.acceptKey]),11,sg))),128))])],32)],2)}const Pt=Z(tg,[["render",ig]]),{componentName:WB,create:cg,scope:dg}=j("pagination"),ug=cg({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:o}){const{toLocaleRefs:l}=se.useFoxI18n(dg),n=l(e,["prevText","nextText"]),{modelValue:a,mode:r,showPageSize:s,forceEllipses:i}=t.toRefs(e),c=t.computed(()=>{const{pageCount:p,totalItems:k,itemsPerPage:g}=t.toRefs(e),y=+p.value||Math.ceil(+k.value/+g.value);return Math.max(1,y)}),u=(p,k)=>{p>c.value||p<1||(p!=a.value&&o("update:modelValue",p),k&&o("change",p))},m=(p,k,g=!1)=>({number:p,text:k,active:g}),h=t.computed(()=>{if(r.value=="simple")return;let p=[];const k=c.value,g=+s.value;let y=1,S=k;const d=k>g;d&&(y=Math.max(a.value-Math.floor(g/2),1),S=y+g-1,S>k&&(S=k,y=S-g+1));for(var f=y;f<=S;f++){const b=m(f,f,a.value==f);p.push(b)}if(d&&g>0&&i.value){if(y>1){const b=m(y-1,"...");p.unshift(b)}if(S<k){const b=m(S+1,"...");p.push(b)}}return p});return t.watchEffect(()=>{u(a.value,!1)}),{...n,modelValue:a,select:u,countRef:c,mode:r,pages:h,forceEllipses:i}}}),fg={class:"fox-pagination"},mg={key:0,class:"fox-pagination-contain"},pg=["onClick"],hg={key:1,class:"fox-pagination-contain"},gg={class:"fox-pagination-simple"};function yg(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",fg,[t.createElementVNode("view",{class:t.normalizeClass(["fox-pagination-prev",e.mode=="multi"?"":"simple-border",e.modelValue==1?"disabled":""]),onClick:o[0]||(o[0]=s=>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",mg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.pages,(s,i)=>(t.openBlock(),t.createElementBlock("view",{key:i+"pagination",class:t.normalizeClass(["fox-pagination-item",s.active?"active":""]),onClick:c=>e.select(s.number,!0)},[t.renderSlot(e.$slots,"page",{item:s},()=>[t.createTextVNode(t.toDisplayString(s.text),1)])],10,pg))),128))])):t.createCommentVNode("",!0),e.mode=="simple"?(t.openBlock(),t.createElementBlock("view",hg,[t.createElementVNode("view",gg,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:o[1]||(o[1]=s=>e.select(e.modelValue+1,!0))},[t.renderSlot(e.$slots,"next-text",{},()=>[t.createTextVNode(t.toDisplayString(e.nextText),1)])],2)])}const wl=Z(ug,[["render",yg]]),{componentName:cs,create:kg}=j("indicator"),bg=kg({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:o,align:l}=t.toRefs(e);return{classes:t.computed(()=>{const a=cs;return{[a]:!0,[`${a}--block`]:o.value,[`${a}--align__${l.value}`]:o.value&&l.value}}),componentName:cs,padZero:et}}});function Sg(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.size,s=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:s},[s===e.current?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(`${e.componentName}--number`)},t.toDisplayString(e.fillZero&&e.padZero(s)||s),3)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(`${e.componentName}--dot`)},null,2))],64))),128))],2)}const Nl=Z(bg,[["render",Sg]]),{componentName:Cg,create:wg}=j("side-navbar"),Ng=wg({props:{offset:{type:[String,Number],default:15}},emits:[],setup:e=>{const o=t.ref(null),l=t.reactive({count:1,observer:null}),n=t.computed(()=>({[Cg]:!0})),a=(s,i=1)=>{for(let c=0;c<s.length;c++){let u=s[c];u?.children?.[0]&&(u.children[0].style.paddingLeft=+e.offset*i+"px",u.className.includes("fox-side-navbar-item")||a(Array.from(u.children[1].children),++l.count))}l.count--},r=()=>{let s=o.value.childNodes;s.length&&(s=Array.from(s).filter(i=>i.nodeType!==3).map(i=>i),a(s))};return t.onMounted(()=>{r(),l.observer=new MutationObserver(function(){l.count=1,r()}),l.observer.observe(o.value,{attributes:!1,childList:!0,characterData:!1,subtree:!0})}),{...t.toRefs(l),list:o,classes:n}}}),Bg={class:"fox-side-navbar__content"},Ag={class:"fox-side-navbar__content__list",ref:"list"};function Vg(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",Bg,[t.createElementVNode("view",Ag,[t.renderSlot(e.$slots,"default")],512)])],2)}const Bl=Z(Ng,[["render",Vg]]),{componentName:Tg,create:$g}=j("side-navbar-item"),Eg=$g({props:{title:{type:String,default:""},ikey:{type:String,default:""}},emits:["click"],setup:(e,o)=>({classes:t.computed(()=>({[Tg]:!0})),handleClick:()=>{o.emit("click")}})}),Dg=["ikey"],Ig={class:"fox-side-navbar-item__title"};function qg(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=t.withModifiers((...s)=>e.handleClick&&e.handleClick(...s),["stop"])),ikey:e.ikey},[t.createElementVNode("span",Ig,t.toDisplayString(e.title),1)],10,Dg)}const Al=Z(Eg,[["render",qg]]),{componentName:zg,create:Mg}=j("sub-side-navbar"),Pg=Mg({props:{title:{type:String,default:""},ikey:{type:[String,Number],default:""},open:{type:Boolean,default:!0}},components:{ArrowDown2:te.ArrowDown2,ArrowUp2:te.ArrowUp2},emits:["title-click"],setup:(e,o)=>{const l=t.reactive({direction:""}),n=t.computed(()=>({[zg]:!0})),a=t.computed(()=>({height:l.direction?"0px":"auto"})),r=()=>{o.emit("title-click"),l.direction=l.direction?"":"up"};return t.onMounted(()=>{l.direction=e.open?"":"up"}),{...t.toRefs(l),classes:n,style:a,handleClick:r}}}),Rg=["ikey"],xg={class:"fox-sub-side-navbar__title__text"},Lg={class:"fox-sub-side-navbar__title__icon"};function Og(e,o,l,n,a,r){const s=t.resolveComponent("ArrowDown2"),i=t.resolveComponent("ArrowUp2");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ikey:e.ikey},[t.createElementVNode("view",{class:"fox-sub-side-navbar__title",onClick:o[0]||(o[0]=t.withModifiers((...c)=>e.handleClick&&e.handleClick(...c),["stop"]))},[t.createElementVNode("span",xg,t.toDisplayString(e.title),1),t.createElementVNode("span",Lg,[e.direction?(t.openBlock(),t.createBlock(i,{key:1})):(t.openBlock(),t.createBlock(s,{key:0}))])]),t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(["fox-sub-side-navbar__list",e.direction?"nutFadeOut":"nutFadeIn"]),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6),[[t.vShow,!e.direction]])],10,Rg)}const Vl=Z(Pg,[["render",Og]]),{componentName:Fg,create:Kg}=j("range"),vg=Kg({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:o}){const l=t.ref(0);let n,a;const r=t.ref(),s=t.ref(),i=Ue(),c=t.computed(()=>{const{marks:$,max:T,min:q}=e;return Object.keys($).map(parseFloat).sort((x,M)=>x-M).filter(x=>x>=q&&x<=T)}),u=t.computed(()=>Number(e.max)-Number(e.min)),m=t.computed(()=>{const $=Fg;return{[$]:!0,[`${$}-disabled`]:e.disabled,[`${$}-vertical`]:e.vertical,[`${$}-show-number`]:!e.hiddenRange}}),h=t.computed(()=>{const $="fox-range-container";return{[$]:!0,[`${$}-vertical`]:e.vertical}}),p=t.computed(()=>({background:e.inactiveColor})),k=t.computed(()=>({borderColor:e.buttonColor})),g=$=>!!e.range&&Array.isArray($),y=()=>{const{modelValue:$,min:T}=e;return g($)?`${($[1]-$[0])*100/u.value}%`:`${($-Number(T))*100/u.value}%`},S=()=>{const{modelValue:$,min:T}=e;return g($)?`${($[0]-Number(T))*100/u.value}%`:"0%"},d=t.computed(()=>e.vertical?{height:y(),top:S(),background:e.activeColor,transition:s.value?"none":void 0}:{width:y(),left:S(),background:e.activeColor,transition:s.value?"none":void 0}),f=$=>{const T="fox-range-mark",{modelValue:q,max:A,min:O}=e;let x=Number(O),M=Number(A);if(e.range){const[G,Y]=q;x=G,M=Y}else M=q;let F=$<=M&&$>=x;return{[`${T}-text`]:!0,[`${T}-text-active`]:F}},b=$=>{const{min:T,vertical:q}=e;let A={left:`${($-Number(T))/u.value*100}%`};return q&&(A={top:`${($-Number(T))/u.value*100}%`}),A},w=$=>{const{modelValue:T,max:q,min:A}=e;let O=Number(A),x=Number(q);if(e.range){const[G,Y]=T;O=G,x=Y}return{background:$<=x&&$>=O?e.activeColor:e.inactiveColor}},V=$=>{const{min:T,max:q,step:A}=e;return $=Math.max(+T,Math.min($,+q)),Math.round($/+A)*+A},E=($,T)=>JSON.stringify($)===JSON.stringify(T),I=$=>$[0]>$[1]?$.slice(0).reverse():$,D=($,T)=>{g($)?$=I($).map(V):$=V($),E($,e.modelValue)||o("update:modelValue",$),T&&!E($,n)&&o("change",$)},z=$=>{if(e.disabled)return;const{min:T,modelValue:q}=e,A=$e(r);let O=$.clientX-A.left,x=A.width;e.vertical&&(O=$.clientY-A.top,x=A.height);const M=Number(T)+O/x*u.value;if(g(q)){const[F,G]=q,Y=(F+G)/2;M<=Y?D([M,G],!0):D([F,M],!0)}else D(M,!0)},N=$=>{e.disabled||(i.start($),a=e.modelValue,g(a)?n=a.map(V):n=V(a),s.value="start")},B=$=>{if(e.disabled)return;s.value==="start"&&o("drag-start"),i.move($),s.value="draging";const T=$e(r);let q=i.deltaX.value,A=T.width,O=q/A*u.value;e.vertical&&(q=i.deltaY.value,A=T.height,O=q/A*u.value),g(n)?a[l.value]=n[l.value]+O:a=n+O,D(a),$.stopPropagation(),$.preventDefault()},R=()=>{e.disabled||(s.value==="draging"&&(D(a,!0),o("drag-end")),s.value="")},L=$=>Zt(e.modelValue)&&typeof $=="number"?e.modelValue[$]:Number(e.modelValue);return{root:r,classes:m,wrapperStyle:p,buttonStyle:k,onClick:z,onTouchStart:N,onTouchMove:B,onTouchEnd:R,...t.toRefs(e),barStyle:d,curValue:L,buttonIndex:l,containerClasses:h,markClassName:f,marksStyle:b,marksList:c,tickStyle:w}}}),Ug={key:0,class:"fox-range-min"},Hg={key:0,class:"fox-range-mark"},jg=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","onTouchstart"],Wg={key:0,class:"number"},Yg=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax"],Xg={key:0,class:"number"},Qg={key:1,class:"fox-range-max"};function Gg(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.containerClasses)},[e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Ug,t.toDisplayString(+e.min),1)),t.createElementVNode("view",{ref:"root",style:t.normalizeStyle(e.wrapperStyle),class:t.normalizeClass(e.classes),onClick:o[9]||(o[9]=t.withModifiers((...s)=>e.onClick&&e.onClick(...s),["stop"]))},[e.marksList.length>0?(t.openBlock(),t.createElementBlock("view",Hg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.marksList,s=>(t.openBlock(),t.createElementBlock("span",{key:s,class:t.normalizeClass(e.markClassName(s)),style:t.normalizeStyle(e.marksStyle(s))},[t.createTextVNode(t.toDisplayString(s)+" ",1),t.createElementVNode("span",{class:"fox-range-tick",style:t.normalizeStyle(e.tickStyle(s))},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],s=>t.createElementVNode("view",{key:s,role:"slider",class:t.normalizeClass({"fox-range-button-wrapper-left":s==0,"fox-range-button-wrapper-right":s==1}),tabindex:e.disabled?-1:0,"aria-valuemin":+e.min,"aria-valuenow":e.curValue(s),"aria-valuemax":+e.max,"aria-orientation":"horizontal",onTouchstart:t.withModifiers(i=>{typeof s=="number"&&(e.buttonIndex=s),e.onTouchStart(i)},["stop","prevent"]),onTouchmove:o[0]||(o[0]=t.withModifiers((...i)=>e.onTouchMove&&e.onTouchMove(...i),["stop","prevent"])),onTouchend:o[1]||(o[1]=t.withModifiers((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onTouchcancel:o[2]||(o[2]=t.withModifiers((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onClick:o[3]||(o[3]=i=>i.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",Wg,t.toDisplayString(e.curValue(s)),1))],4))],42,jg)),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:o[4]||(o[4]=t.withModifiers(s=>{e.onTouchStart(s)},["stop","prevent"])),onTouchmove:o[5]||(o[5]=t.withModifiers((...s)=>e.onTouchMove&&e.onTouchMove(...s),["stop","prevent"])),onTouchend:o[6]||(o[6]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onTouchcancel:o[7]||(o[7]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onClick:o[8]||(o[8]=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",Xg,t.toDisplayString(e.curValue()),1))],4))],40,Yg))],4)],6),e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Qg,t.toDisplayString(+e.max),1))],2)}const Rt=Z(vg,[["render",Gg]]),{componentName:Zg,create:Jg}=j("input-number"),_g=Jg({components:{Minus:te.Minus,Plus:te.Plus},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}},emits:["update:modelValue","change","blur","focus","reduce","add","overlimit"],setup(e,{emit:o}){const l=t.computed(()=>{const k=Zg;return{[k]:!0,[`${k}--disabled`]:e.disabled}}),n=k=>Number(k).toFixed(Number(e.decimalPlaces)),a=k=>{const g=k.target;o("update:modelValue",g.valueAsNumber,k)},r=(k,g)=>{let y=n(k);o("update:modelValue",y,g),o("change",y,g)},s=(k=Number(e.modelValue))=>k<Number(e.max)&&!e.disabled,i=(k=Number(e.modelValue))=>k>Number(e.min)&&!e.disabled,c=k=>{if(o("reduce",k),i()){let g=Number(e.modelValue)-Number(e.step);r(g,k)}else o("overlimit",k,"reduce")},u=k=>{if(o("add",k),s()){let g=Number(e.modelValue)+Number(e.step);r(g,k)}else o("overlimit",k,"add")},m=k=>{e.disabled||e.readonly||o("focus",k)},h=k=>{if(e.disabled||e.readonly)return;let y=k.target.valueAsNumber;y<Number(e.min)?y=Number(e.min):y>Number(e.max)&&(y=Number(e.max)),r(y,k),o("blur",k)},p=k=>{let g=Number(k);return g<Number(e.min)?g=Number(e.min):g>Number(e.max)&&(g=Number(e.max)),g};return t.watch(()=>[e.max,e.min],()=>{Number(e.min)>Number(e.max)&&console.warn("[FoxUI] <InputNumber>","props.max < props.min");const k=p(e.modelValue);k!==Number(e.modelValue)&&r(k,{})}),{classes:l,change:a,blur:h,focus:m,add:u,addAllow:s,reduce:c,reduceAllow:i,toPxDesc:fe}}}),ey=["min","max","disabled","readonly","value"];function ty(e,o,l,n,a,r){const s=t.resolveComponent("Minus"),i=t.resolveComponent("Plus");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["fox-input-number__icon fox-input-number__left",{"fox-input-number__icon--disabled":!e.reduceAllow()}]),onClick:o[0]||(o[0]=(...c)=>e.reduce&&e.reduce(...c))},[t.renderSlot(e.$slots,"left-icon",{},()=>[t.createVNode(s,{width:e.toPxDesc(e.buttonSize),height:e.toPxDesc(e.buttonSize)},null,8,["width","height"])])],2),t.createElementVNode("input",{type:"number",min:e.min,max:e.max,style:t.normalizeStyle({width:e.toPxDesc(e.inputWidth),height:e.toPxDesc(e.buttonSize)}),disabled:e.disabled,readonly:e.readonly,value:e.modelValue,onInput:o[1]||(o[1]=(...c)=>e.change&&e.change(...c)),onBlur:o[2]||(o[2]=(...c)=>e.blur&&e.blur(...c)),onFocus:o[3]||(o[3]=(...c)=>e.focus&&e.focus(...c))},null,44,ey),t.createElementVNode("view",{class:t.normalizeClass(["fox-input-number__icon fox-input-number__right",{"fox-input-number__icon--disabled":!e.addAllow()}]),onClick:o[4]||(o[4]=(...c)=>e.add&&e.add(...c))},[t.renderSlot(e.$slots,"right-icon",{},()=>[t.createVNode(i,{width:e.toPxDesc(e.buttonSize),height:e.toPxDesc(e.buttonSize)},null,8,["width","height"])])],2)],2)}const rt=Z(_g,[["render",ty]]),{create:oy,scope:ny}=j("short-password"),ly=oy({components:{[de.name]:de,Tips:te.Tips},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:""},closeOnClickOverlay:{type:Boolean,default:!0},length:{type:[String,Number],default:6}},emits:["update:modelValue","update:visible","complete","tips","close","focus"],setup(e,{emit:o}){const{toLocaleRefs:l}=se.useFoxI18n(ny),n=l(e,["title","desc","tips"]),a=t.ref(e.modelValue),r=t.computed(()=>u(Number(e.length))),s=t.ref(e.visible),i=h=>{h.stopPropagation(),o("focus")};t.watch(()=>e.visible,h=>{s.value=h}),t.watch(()=>e.modelValue,h=>{a.value=h,String(h).length===r.value&&o("complete",h)});const c=()=>{o("update:visible",!1),o("close")},u=h=>Math.min(Math.max(4,h),6);return{comLen:r,realInput:a,onTouchStart:i,range:u,close:c,onTips:()=>{o("tips")},show:s,...n}}}),ay={class:"fox-short-password-title"},ry={class:"fox-short-password-subtitle"},sy={class:"fox-short-password-wrapper"},iy={key:0,class:"fox-short-password__item-icon"},cy={class:"fox-short-password__message"},dy={class:"fox-short-password--error"},uy={key:0,class:"fox-short-password--forget"};function fy(e,o,l,n,a,r){const s=t.resolveComponent("Tips"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",null,[t.createVNode(i,{style:{padding:"30px 24px 20px 24px",borderRadius:"12px",textAlign:"center",top:"45%"},visible:e.show,"onUpdate:visible":o[2]||(o[2]=c=>e.show=c),closeable:!0,onClickCloseIcon:e.close,"close-on-click-overlay":e.closeOnClickOverlay,onClickOverlay:e.close,teleportDisable:!1},{default:t.withCtx(()=>[t.createElementVNode("view",ay,t.toDisplayString(e.title),1),t.createElementVNode("view",ry,t.toDisplayString(e.desc),1),t.createElementVNode("div",sy,[t.createElementVNode("view",{class:"fox-short-password__list",onTouchstart:o[0]||(o[0]=(...c)=>e.onTouchStart&&e.onTouchStart(...c))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(new Array(e.comLen),(c,u)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-short-password__item",key:u},[String(e.realInput).length>u?(t.openBlock(),t.createElementBlock("view",iy)):t.createCommentVNode("",!0)]))),128))],32)]),t.createElementVNode("view",cy,[t.createElementVNode("view",dy,t.toDisplayString(e.errorMsg),1),e.tips?(t.openBlock(),t.createElementBlock("view",uy,[t.createVNode(s,{class:"icon",width:"11px",height:"11px"}),t.createElementVNode("view",{onClick:o[1]||(o[1]=(...c)=>e.onTips&&e.onTips(...c))},t.toDisplayString(e.tips),1)])):t.createCommentVNode("",!0)])]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay"])])}const Tl=Z(ly,[["render",fy]]);class my{url="";name="file";fileType="image";formData;sourceFile;method="post";xhrState=200;timeout=30*1e3;headers={};withCredentials=!1;onStart;taroFilePath;onProgress;onSuccess;onFailure;beforeXhrUpload}let py=class{options;constructor(o){this.options=o}upload(){const o=this.options,l=new XMLHttpRequest;if(l.timeout=o.timeout,l.upload){l.upload.addEventListener("progress",n=>{o.onProgress?.(n,o)},!1),l.onreadystatechange=()=>{l.readyState===4&&(l.status==o.xhrState?o.onSuccess?.(l.responseText,o):o.onFailure?.(l.responseText,o))},l.withCredentials=o.withCredentials,l.open(o.method,o.url,!0);for(const[n,a]of Object.entries(o.headers))l.setRequestHeader(n,a);o.onStart?.(o),o.beforeXhrUpload?o.beforeXhrUpload(l,o):l.send(o.formData)}else console.warn("浏览器不支持 XMLHttpRequest")}};class hy{status="ready";message="ready";uid=new Date().getTime().toString();name;url;type;path;percentage=0;formData={}}const ds=(e,{args:o=[],done:l,canceled:n})=>{if(e){const a=e.apply(null,o);_o(a)?a.then(r=>{r?l(r):n&&n()}).catch(()=>{}):a?l():n&&n()}else l()},{create:gy}=j("progress"),yy=gy({components:{Checked:te.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 o=!!t.useSlots().default,l=t.ref(e.strokeWidth+"px"),n=t.ref(),a=t.ref(),r=t.computed(()=>e.percentage>=100?100:e.percentage),s=t.computed(()=>({width:r.value+"%",background:e.strokeColor||""})),i=t.computed(()=>({color:e.textColor||""}));return t.onMounted(()=>{}),{height:l,percentage:r,bgStyle:s,textStyle:i,progressOuter:n,insideText:a,slotDefault:o}}}),ky={class:"fox-progress"},by={key:0,class:"fox-progress-text"};function Sy(e,o,l,n,a,r){const s=t.resolveComponent("Checked");return t.openBlock(),t.createElementBlock("div",ky,[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)},null,6),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),e.showText&&!e.textInside?(t.openBlock(),t.createElementBlock("div",by,[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.renderSlot(e.$slots,"icon-name",{key:1},()=>[t.createVNode(s,{width:"15px",height:"15px",color:"#439422"})]):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])}const xt=Z(yy,[["render",Sy]]),{componentName:Cy,create:wy,scope:Ny}=j("uploader"),By=wy({components:{[xt.name]:xt,Photograph:te.Photograph,Failure:te.Failure,Loading:te.Loading,Del:te.Del,Link:te.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,o)=>!0},onChange:{type:Function}},emits:["start","progress","oversize","success","failure","change","delete","update:fileList","file-item-click"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(Ny),n=t.reactive(e.fileList);let a=[];const r=t.computed(()=>({[Cy]:!0})),s=()=>{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"),t.h("input",f)},i=f=>{f.value=""},c=f=>{o("file-item-click",{fileItem:f})},u=(f,b)=>{const w=new my;w.url=e.url,w.formData=f.formData,w.timeout=e.timeout*1,w.method=e.method,w.xhrState=e.xhrState,w.headers=e.headers,w.withCredentials=e.withCredentials,w.beforeXhrUpload=e.beforeXhrUpload;try{w.sourceFile=f.formData.get(e.name)}catch{}w.onStart=E=>{f.status="ready",f.message=l("readyUpload"),m(b),o("start",E)},w.onProgress=(E,I)=>{f.status="uploading",f.message=l("uploading"),f.percentage=(E.loaded/E.total*100).toFixed(0),o("progress",{event:E,option:I,percentage:f.percentage})},w.onSuccess=(E,I)=>{f.status="success",f.message=l("success"),o("success",{responseText:E,option:I,fileItem:f}),o("update:fileList",n)},w.onFailure=(E,I)=>{f.status="error",f.message=l("error"),o("failure",{responseText:E,option:I,fileItem:f})};let V=new py(w);e.autoUpload?V.upload():a.push(new Promise((E,I)=>{E(V)}))},m=(f=-1)=>{f>-1?a.splice(f,1):(a=[],n.splice(0,n.length))},h=()=>{Promise.all(a).then(f=>{f.forEach(b=>b.upload())})},p=f=>{f.forEach((b,w)=>{const V=new FormData;for(const[I,D]of Object.entries(e.data))V.append(I,D);V.append(e.name,b);const E=t.reactive(new hy);if(E.name=b.name,E.status="ready",E.type=b.type,E.formData=V,E.message=l("waitingUpload"),u(E,w),e.isPreview&&b.type.includes("image")){const I=new FileReader;I.onload=D=>{E.url=D.target.result,n.push(E)},I.readAsDataURL(b)}else n.push(E)})},k=f=>{const b=e.maximum*1,w=e.maximize*1,V=new Array;f=f.filter(I=>I.size>w?(V.push(I),!1):!0),V.length&&o("oversize",V);let E=f.length+n.length;return E>b&&f.splice(f.length-(E-b)),f},g=(f,b)=>{n.splice(b,1),o("delete",{file:f,fileList:n,index:b})},y=(f,b)=>{m(b),ds(e.beforeDelete,{args:[f,n],done:()=>g(f,b)})},S=f=>{if(e.disabled)return;const b=f.target;let{files:w}=b;e.beforeUpload?e.beforeUpload(w).then(V=>d(V)):d(w),o("change",{fileList:n,event:f}),e.clearInput&&i(b)},d=f=>{const b=k(new Array().slice.call(f));p(b)};return{onChange:S,onDelete:y,fileList:n,classes:r,fileItemClick:c,clearUploadQueue:m,submit:h,renderInput:s}}}),Ay={key:0,class:"fox-uploader__slot"},Vy={key:0,class:"fox-uploader__preview-img"},Ty={key:0,class:"fox-uploader__preview__progress"},$y={class:"fox-uploader__preview__progress__msg"},Ey=["onClick"],Dy=["onClick","src"],Iy={key:3,class:"fox-uploader__preview-img__file"},qy=["onClick"],zy={class:"file__name_tips"},My={class:"tips"},Py={key:1,class:"fox-uploader__preview-list"},Ry=["onClick"],xy={class:"file__name_tips"};function Ly(e,o,l,n,a,r){const s=t.resolveComponent("Failure"),i=t.resolveComponent("Loading"),c=t.resolveComponent("Link"),u=t.resolveComponent("Del"),m=t.resolveComponent("fox-progress"),h=t.resolveComponent("Photograph");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.$slots.default?(t.openBlock(),t.createElementBlock("view",Ay,[t.renderSlot(e.$slots,"default"),Number(e.maximum)-e.fileList.length?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderInput),{key:0,onChange:e.onChange},null,40,["onChange"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.fileList,(p,k)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-uploader__preview",[e.listType]]),key:p.uid},[e.listType=="picture"&&!e.$slots.default?(t.openBlock(),t.createElementBlock("view",Vy,[p.status!="success"?(t.openBlock(),t.createElementBlock("view",Ty,[p.status!="ready"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.status=="error"?(t.openBlock(),t.createBlock(s,{key:0,color:"#fff"})):(t.openBlock(),t.createBlock(i,{key:1,name:"loading",color:"#fff"}))],64)):t.createCommentVNode("",!0),t.createElementVNode("view",$y,t.toDisplayString(p.message),1)])):t.createCommentVNode("",!0),e.isDeletable?(t.openBlock(),t.createElementBlock("view",{key:1,class:"close",onClick:g=>e.onDelete(p,k)},[t.renderSlot(e.$slots,"delete-icon",{},()=>[t.createVNode(s)])],8,Ey)):t.createCommentVNode("",!0),p?.type?.includes("image")&&p.url?(t.openBlock(),t.createElementBlock("img",{key:2,class:"fox-uploader__preview-img__c",onClick:g=>e.fileItemClick(p),src:p.url},null,8,Dy)):(t.openBlock(),t.createElementBlock("view",Iy,[t.createElementVNode("view",{onClick:g=>e.fileItemClick(p),class:"fox-uploader__preview-img__file__name"},[t.createElementVNode("view",zy,t.toDisplayString(p.name),1)],8,qy)])),t.createElementVNode("view",My,t.toDisplayString(p.name),1)])):e.listType=="list"?(t.openBlock(),t.createElementBlock("view",Py,[t.createElementVNode("view",{onClick:g=>e.fileItemClick(p),class:t.normalizeClass(["fox-uploader__preview-img__file__name",[p.status]])},[t.createVNode(c,{class:"fox-uploader__preview-img__file__link"}),t.createElementVNode("view",xy,t.toDisplayString(p.name),1),e.isDeletable?(t.openBlock(),t.createBlock(u,{key:0,color:"#808080",class:"fox-uploader__preview-img__file__del",onClick:g=>e.onDelete(p,k)},null,8,["onClick"])):t.createCommentVNode("",!0)],10,Ry),p.status=="uploading"?(t.openBlock(),t.createBlock(m,{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"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2))),128)),e.listType=="picture"&&!e.$slots.default&&Number(e.maximum)-e.fileList.length?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(["fox-uploader__upload",[e.listType]])},[t.renderSlot(e.$slots,"upload-icon",{},()=>[t.createVNode(h,{color:"#808080"})]),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderInput),{onChange:e.onChange},null,40,["onChange"]))],2)):t.createCommentVNode("",!0)],2)}const $l=Z(By,[["render",Ly]]),Oy="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAnCAYAAABJ0cukAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLml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DnpdajvkFLIW4AvPJcjx/WJ50x5oX/Gs75qiiKpb9XSg2NMc+r5z+KovDBD3V2pgznz/y91noevSOECBbhxtwVt7dFpfEg7aOWVXk+skTfwqZEk7Isr/ytlPIKzvnKAebc62Kx8C5CKlhqTRG2KcRO0W4Mg1ME/z6sUkNr7ThY0NqbaMHwEYyFJGSMzWJ4CCHGRBRqdPRC7QkAzrml1noWQ6lJu43XepNg/wesz3q72bzdr7kMmMeQEEKck3OhYrAs+xRDQkp5AWtDkykXi0nt+krPEa3qkPBhVdVQRzQiYBti9yTv8QRLidPKkBTrPfHYZBCTbSdhgbr5pK5Pt3nCsEoNsNmog9abZcu0QWCz2U5pWVakDQKMDWDtOjaCEAp5vm3luxr37VPrHW0KB5D/8MHTgvW93nL+vWq378uynFZF/hLOfezM0ESN2syYlzGEjlq2TbvtBPiBc0dz6XpMlu3Eah2JHA2DjvbpRKYZlqhwzl12skOHIkQ0hXOh5pOUcgnnwvTf64toRWEgAT73GtTPxMC7cARJh+o+QscDQH1e6iPkPtNJsOmpts3HpqfcNuu7hd3+J/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:Ky,scope:vy}=j("number-keyboard"),Uy=Ky({components:{[de.name]:de},props:{confirmText:{type:String,default:""},title:{type:String,default:""},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:o}){const{toLocaleRefs:l}=se.useFoxI18n(vy),n=l(e,["confirmText"]),a=t.ref(void 0),r=t.ref(e.visible),s=t.ref();function i(){const{customKey:d}=e;let f={id:"lock",type:"lock"},b=Array.isArray(d)?d:[d];return b.length===1&&(f={id:b[0],type:"custom"}),[...c(),f,{id:0,type:"number"},{id:"delete",type:"delete"}]}function c(){const d=[];for(let f=1;f<=9;f++)d.push({id:f,type:"number"});return e.randomKeys?d.sort(()=>Math.random()>.5?1:-1):d}function u(){const d=c(),{customKey:f}=e;let b=Array.isArray(f)?f:[f];return b.length>2&&(b=[b[0],b[1]]),b.length==2&&e.title&&e.type!="rightColumn"&&(b=[b[0]]),b.length===1?e.title&&e.type!="rightColumn"?d.push({id:b[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):d.push({id:0,type:"number"},{id:b[0],type:"custom"}):b.length===2&&d.push({id:b[0],type:"custom"},{id:0,type:"number"},{id:b[1],type:"custom"}),d}const m=t.computed(()=>e.type=="rightColumn"||e.title!=""?u():i()),h=()=>{e.visible&&o("blur")},p=d=>{const f=s.value;f&&!f.contains(d.target)&&h()};t.watch(()=>e.visible,d=>{r.value=d,d?window.addEventListener("touchstart",p,!1):window.removeEventListener("touchstart",p,!1)});function k(d,f){f.stopPropagation(),a.value=d.id,(d.type=="number"||d.type=="custom")&&(o("input",d.id),e.modelValue.length<Number(e.maxlength)&&o("update:modelValue",e.modelValue+d.id)),d.type=="lock"&&S(),d.type=="delete"&&(o("delete"),o("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function g(d){d.stopPropagation()}function y(d){d.preventDefault(),a.value=void 0}function S(){o("update:visible",!1),o("close")}return{...n,delImg:Oy,lockImg:Fy,clickKeyIndex:a,defaultKey:i,closeBoard:S,onTouchEnd:y,onTouchMove:g,onTouchstart:k,keysList:m,genCustomKeys:u,getBasicKeys:c,root:s,show:r}}}),Hy={ref:"root"},jy={class:"fox-number-keyboard"},Wy={key:0,class:"fox-number-keyboard__header"},Yy={class:"fox-number-keyboard__title"},Xy={class:"fox-number-keyboard__body"},Qy={class:"fox-number-keyboard__keys"},Gy=["onTouchstart"],Zy=["src"],Jy=["src"],_y={key:0,class:"fox-number-keyboard__sidebar"},ek={class:"fox-key__wrapper"},tk=["src"];function ok(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("div",Hy,[t.createVNode(s,{visible:e.show,"onUpdate:visible":o[7]||(o[7]=i=>e.show=i),position:"bottom",popClass:e.popClass,overlay:!1,teleportDisable:!1},{default:t.withCtx(()=>[t.createElementVNode("div",jy,[e.title?(t.openBlock(),t.createElementBlock("div",Wy,[t.createElementVNode("h3",Yy,t.toDisplayString(e.title),1),e.type=="default"?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-number-keyboard__close",onClick:o[0]||(o[0]=i=>e.closeBoard())},t.toDisplayString(e.confirmText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",Xy,[t.createElementVNode("div",Qy,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.keysList,i=>(t.openBlock(),t.createElementBlock("div",{key:"key"+i.id,class:t.normalizeClass(["fox-key__wrapper",{"fox-key__wrapper--wider":i.id==0&&e.type=="rightColumn"&&Array.isArray(e.customKey)&&e.customKey.length==1}])},[t.createElementVNode("div",{class:t.normalizeClass(["fox-key",{"fox-key--active":i.id==e.clickKeyIndex},{"fox-key--lock":i.type=="lock"},{"fox-key--delete":i.type=="delete"}]),onTouchstart:c=>e.onTouchstart(i,c),onTouchmove:o[1]||(o[1]=c=>e.onTouchMove(c)),onTouchend:o[2]||(o[2]=c=>e.onTouchEnd(c))},[i.type=="number"||i.type=="custom"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(i.id),1)],64)):t.createCommentVNode("",!0),i.type=="lock"?(t.openBlock(),t.createElementBlock("img",{key:1,src:e.lockImg},null,8,Zy)):t.createCommentVNode("",!0),i.type=="delete"?(t.openBlock(),t.createElementBlock("img",{key:2,src:e.delImg},null,8,Jy)):t.createCommentVNode("",!0)],42,Gy)],2))),128))]),e.type=="rightColumn"?(t.openBlock(),t.createElementBlock("div",_y,[t.createElementVNode("div",ek,[t.createElementVNode("div",{class:t.normalizeClass(["fox-key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:o[3]||(o[3]=i=>e.onTouchstart({id:"delete",type:"delete"},i)),onTouchmove:o[4]||(o[4]=i=>e.onTouchMove(i)),onTouchend:o[5]||(o[5]=(...i)=>e.onTouchEnd&&e.onTouchEnd(...i))},[t.createElementVNode("img",{src:e.delImg},null,8,tk)],34)]),t.createElementVNode("div",{class:"fox-key__wrapper fox-key__wrapper--finish",onClick:o[6]||(o[6]=i=>e.closeBoard())},[t.createElementVNode("div",{class:t.normalizeClass(["fox-key","fox-key--finish ",{activeFinsh:e.clickKeyIndex=="finish"}])},t.toDisplayString(e.confirmText),3)])])):t.createCommentVNode("",!0)])])]),_:1},8,["visible","popClass"])],512)}const El=Z(Uy,[["render",ok]]),{componentName:nk,create:lk}=j("swipe"),ak=lk({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:o}){const l=t.computed(()=>({[nk]:!0})),n=f=>f.value?.clientWidth||0,a=t.ref(),r=t.computed(()=>n(a)),s=t.ref(),i=t.computed(()=>n(s));let c=!1,u="",m="";const h=t.reactive({offset:0,moving:!1}),p=(f="")=>{c=!0,f&&(h.offset=f==="left"?-i.value:r.value),o("open",{name:e.name,position:u||f})},k=()=>{h.offset=0,c=!1,o("close",{name:e.name,position:u})},g=t.computed(()=>({transform:`translate3d(${h.offset}px, 0, 0)`})),y=f=>{u=f>0?"right":"left";let b=f;switch(u){case"left":c&&m===u?b=-i.value:b=Math.abs(f)>i.value?-i.value:f;break;case"right":c&&m===u?b=r.value:b=Math.abs(f)>r.value?r.value:f;break}h.offset=b},S=Ue();return{classes:l,touchStyle:g,...{onTouchStart(f){e.disabled||S.start(f)},onTouchMove(f){e.disabled||(S.move(f),S.isHorizontal()&&(h.moving=!0,y(S.deltaX.value),e.touchMovePreventDefault&&f.preventDefault(),e.touchMoveStopPropagation&&f.stopPropagation()))},onTouchEnd(){if(h.moving)switch(h.moving=!1,m=u,u){case"left":Math.abs(h.offset)<=i.value/2?k():(h.offset=-i.value,p());break;case"right":Math.abs(h.offset)<=r.value/2?k():(h.offset=r.value,p());break}}},leftRef:a,rightRef:s,open:p,close:k}}}),rk={class:"fox-swipe__left",ref:"leftRef"},sk={class:"fox-swipe__content"},ik={class:"fox-swipe__right",ref:"rightRef"};function ck(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.touchStyle),onTouchstart:o[0]||(o[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:o[1]||(o[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:o[2]||(o[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:o[3]||(o[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s))},[t.createElementVNode("view",rk,[t.renderSlot(e.$slots,"left")],512),t.createElementVNode("view",sk,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",ik,[t.renderSlot(e.$slots,"right")],512)],38)}const Lt=Z(ak,[["render",ck]]),{componentName:dk,create:uk}=j("action-sheet"),fk=uk({components:{[de.name]:de,Loading:te.Loading},props:{...nt,cancelTxt:{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:()=>[]},closeAbled:{type:Boolean,default:!0}},emits:["cancel","close","choose","update:visible"],setup(e,{emit:o}){const l=!!t.useSlots().default,n=t.computed(()=>({[dk]:!0}));return{slotDefault:l,isHighlight:c=>e.chooseTagValue&&e.chooseTagValue===c[e.optionTag]?e.color:"",cancelActionSheet:()=>{o("cancel"),o("update:visible",!1)},chooseItem:(c,u)=>{!c.disable&&!c.loading&&(o("choose",c,u),o("update:visible",!1))},close:c=>{o("close",c),o("update:visible",!1)},classes:n}}}),mk={key:0,class:"fox-action-sheet__title"},pk={key:1},hk={key:0,class:"fox-action-sheet__item fox-action-sheet__desc"},gk={key:1,class:"fox-action-sheet__menu"},yk=["onClick"],kk={key:1},bk={class:"fox-action-sheet__subdesc"};function Sk(e,o,l,n,a,r){const s=t.resolveComponent("Loading"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(i,{visible:e.visible,position:"bottom",round:"",onClickOverlay:e.close,closeOnClickOverlay:e.closeAbled},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(e.classes)},[e.title?(t.openBlock(),t.createElementBlock("view",mk,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",pk,[e.description?(t.openBlock(),t.createElementBlock("view",hk,t.toDisplayString(e.description),1)):t.createCommentVNode("",!0),e.menuItems.length?(t.openBlock(),t.createElementBlock("view",gk,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menuItems,(c,u)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-action-sheet__item",{"fox-action-sheet__item--disabled":c.disable,"fox-action-sheet__item--loading":c.loading}]),style:t.normalizeStyle({color:e.isHighlight(c)||c.color}),key:u,onClick:m=>e.chooseItem(c,u)},[c.loading?(t.openBlock(),t.createBlock(s,{key:0,name:"loading"})):(t.openBlock(),t.createElementBlock("view",kk,t.toDisplayString(c[e.optionTag]),1)),t.createElementVNode("view",bk,t.toDisplayString(c[e.optionSubTag]),1)],14,yk))),128))])):t.createCommentVNode("",!0),e.cancelTxt?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-action-sheet__cancel",onClick:o[0]||(o[0]=(...c)=>e.cancelActionSheet&&e.cancelActionSheet(...c))},t.toDisplayString(e.cancelTxt),1)):t.createCommentVNode("",!0)]))],2)]),_:3},8,["visible","onClickOverlay","closeOnClickOverlay"])}const Dl=Z(fk,[["render",Sk]]),{componentName:Ck,create:wk}=j("backtop"),Il=wk({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:o,slots:l}){const n=t.reactive({backTop:!1,scrollTop:0,scrollEl:window,startTime:0,keepAlive:!1}),a=t.computed(()=>({[Ck]:!0,show:n.backTop})),r=t.computed(()=>({right:`${e.right}px`,bottom:`${e.bottom}px`,zIndex:e.zIndex}));function s(){n.scrollEl instanceof Window?n.scrollTop=n.scrollEl.pageYOffset:n.scrollTop=n.scrollEl.scrollTop,n.backTop=n.scrollTop>=e.distance}function i(g=0){n.scrollEl instanceof Window?window.scrollTo(0,g):n.scrollEl.scrollTop=g}function c(){let g=We(function y(){var S=e.duration-Math.max(0,n.startTime-+new Date+e.duration),d=S*-n.scrollTop/e.duration+n.scrollTop;i(d),g=We(y),(S==e.duration||d==0)&&Sa(g)})}function u(){n.scrollEl.addEventListener("scroll",s,!1),n.scrollEl.addEventListener("resize",s,!1)}function m(){n.scrollEl.removeEventListener("scroll",s,!1),n.scrollEl.removeEventListener("resize",s,!1)}function h(g){n.startTime=+new Date,e.isAnimation&&e.duration>0?c():i(),o("click",g)}function p(){k.value?n.scrollEl=k.value.el:e.elId&&document.getElementById(e.elId)&&(n.scrollEl=document.getElementById(e.elId)),u()}t.onMounted(()=>{e.distance==0&&(n.backTop=!0),p()}),t.onUnmounted(()=>{m()}),t.onActivated(()=>{n.keepAlive&&(n.keepAlive=!1,p())}),t.onDeactivated(()=>{n.keepAlive=!0,m()});const k=t.computed(()=>{if(typeof l.content=="function"){const g=l.content();return Array.isArray(g)?g[0]:g}return null});return()=>{const g=[];k.value&&g.push(k.value);const y=[];if(typeof l.default=="function")y.push(l.default());else{const d=t.h(te.Top,{class:["fox-backtop-main"],width:"19px",height:"19px"});y.push(d)}const S=t.h("div",{class:a.value,style:r.value,onClick:h},y);return g.push(S),g}}}),{componentName:Nk,create:Bk}=j("drag"),Ak=Bk({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:o}){const l=t.ref(),n=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}}),a=t.computed(()=>({[Nk]:!0}));function r(){const h=document.documentElement;n.elWidth=l.value.offsetWidth,n.elHeight=l.value.offsetHeight,n.screenWidth=h.clientWidth,n.screenHeight=h.clientHeight}function s(h){n.boundary.left?+h.style.left.split("px")[0]>n.boundary.left?(h.style.left=+h.style.left.split("px")[0]-10+"px",Xe(()=>{s(h)})):h.style.left=`${n.boundary.left}px`:+h.style.left.split("px")[0]>10?(h.style.left=+h.style.left.split("px")[0]-10+"px",Xe(()=>{s(h)})):h.style.left="0px"}function i(h,p){p-parseInt(h.style.left.split("px")[0])>10?(h.style.left=parseInt(h.style.left.split("px")[0])+10+"px",Xe(()=>{i(h,p)})):h.style.left=p+"px"}function c(h){h.preventDefault();const p=h.currentTarget;if(h.targetTouches.length===1){const k=h.targetTouches[0];n.nx=k.clientX-n.position.x,n.ny=k.clientY-n.position.y,n.xPum=n.startLeft+n.nx,n.yPum=n.startTop+n.ny;const g=n.screenWidth-n.elWidth-n.boundary.right;Math.abs(n.xPum)>g?n.xPum=g:n.xPum<=n.boundary.left&&(n.xPum=n.boundary.left),n.yPum<n.boundary.top?n.yPum=n.boundary.top:n.yPum>n.screenHeight-n.elHeight-n.boundary.bottom&&(n.yPum=n.screenHeight-n.elHeight-n.boundary.bottom),e.direction!="y"&&(p.style.left=n.xPum+"px"),e.direction!="x"&&(p.style.top=n.yPum+"px")}}function u(h){const p=h.currentTarget;let g=h.changedTouches[0].clientX;const y=n.screenWidth-n.elWidth-n.boundary.right;g>y?g=y:g<n.boundary.left?g=n.boundary.left:g=g<n.screenWidth/2?n.boundary.left:y,e.direction!="y"&&e.attract&&(g<n.screenWidth/2?Xe(()=>{s(p)}):Xe(()=>{i(p,y)})),e.direction!="x"&&(p.style.top=n.yPum+"px")}function m(h){const p=h.currentTarget,k=h.touches[0],g=h.targetTouches[0];n.startTop=p.offsetTop,n.startLeft=p.offsetLeft,n.position.x=k.clientX,n.position.y=k.clientY,n.nx=g.clientX-n.position.x,n.ny=g.clientY-n.position.y,n.xPum=n.startLeft+n.nx,n.yPum=n.startTop+n.ny}return t.onMounted(()=>{r(),n.boundary=e.boundary}),t.onActivated(()=>{n.keepAlive&&(n.keepAlive=!1)}),t.onDeactivated(()=>{n.keepAlive=!0;const h=l;h.value.removeEventListener("touchstart",m),h.value.removeEventListener("touchmove",c),h.value.removeEventListener("touchend",u)}),{classes:a,myDrag:l,touchStart:m,touchMove:c,touchEnd:u}}});function Vk(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"myDrag",onTouchstart:o[0]||(o[0]=s=>e.touchStart(s)),onTouchmove:o[1]||(o[1]=s=>e.touchMove(s)),onTouchend:o[2]||(o[2]=s=>e.touchEnd(s))},[t.renderSlot(e.$slots,"default")],34)}const ql=Z(Ak,[["render",Vk]]),{componentName:Tk,create:$k,scope:Ek}=j("dialog"),Dk=$k({inheritAttrs:!1,components:{[de.name]:de,[ze.name]:ze},props:{...nt,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:o}){const{toLocaleRefs:l}=se.useFoxI18n(Ek),n=l(e,["confirmText","cancelText"]),a=t.ref(e.visible);t.onMounted(()=>{e.closeOnPopstate&&Ye&&window.addEventListener("popstate",function(){i("page")})}),t.watch(()=>e.visible,m=>{a.value=m,m&&o("opened")});const r=t.computed(()=>({[Tk]:!0,[e.customClass]:!0})),s=m=>{o("update",m),o("update:visible",m)},i=m=>{if(e.beforeClose){const h=e.beforeClose(m);_o(h)&&h.then(p=>{p&&(s(!1),o("closed"))})}else s(!1),o("closed")};return{...n,closed:i,classes:r,onCancel:()=>{o("cancel"),e.cancelAutoClose&&i("cancel")},onConfirm:()=>{o("confirm"),i("confirm")},showPopup:a}}}),Ik={key:0,class:"fox-dialog__header"},qk=["innerHTML"];function zk(e,o,l,n,a,r){const s=t.resolveComponent("fox-button"),i=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(i,{teleport:e.teleport,visible:e.showPopup,"onUpdate:visible":o[0]||(o[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",Ik,[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,qk)):(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(s,{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(s,{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 us=Z(Dk,[["render",zk]]);class Mk{title="";content="";cancelText="";confirmText="";textAlign="center";customClass="";overlayStyle={};overlayClass="";popStyle={};popClass="";teleport="body";id=new Date().getTime();footerDirection="horizontal";onUpdate=o=>{};onConfirm=()=>{};onCancel=()=>{};onOpened=()=>{};onClosed=()=>{};beforeClose;visible=!0;noFooter=!1;noConfirmBtn=!1;noCancelBtn=!1;confrimBtnDisabled=!1;closeOnPopstate=!1;lockScroll=!1}class Pk{options=new Mk;instance;constructor(o){let l=Object.assign(this.options,o),n=document.body,a=l.teleport;a!="body"&&(typeof a=="string"?n=document.querySelector(a):n=l.teleport);const r=document.createElement("view");r.id="dialog-"+l.id;const s={setup(){return l.onUpdate=i=>{i==!1&&n.removeChild(r)},l?.onOpened&&l?.onOpened(),l.teleport=`#${r.id}`,()=>t.h(us,l)}};this.instance=t.createVNode(s),n.appendChild(r),t.render(this.instance,r)}close=()=>{};setDefaultOptions=o=>{};resetDefaultOptions=()=>{}}const Ot=function(e){return new Pk(e)};Ot.install=e=>{e.use(us),e.config.globalProperties.$dialog=Ot};const{componentName:Rk,create:xk,scope:Lk}=j("pull-refresh"),Ok=xk({props:{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}},emits:["change","refresh","update:modelValue"],components:{Loading:te.Loading},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=se.useFoxI18n(Lk),a=n(e,["pullingText","loosingText","loadingText"]),r=Ue(),s=t.ref(),i=Mr(s),c=t.reactive({isPullRefresh:!1,distance:0,status:"normal"}),u=t.computed(()=>({[Rk]:!0})),m=t.computed(()=>{switch(c.status){case"pulling":return l.pulling?"":a.pullingText.value;case"loosing":return l.loosing?"":a.loosingText.value;case"loading":return l.loading?"":a.loadingText.value}}),h=t.computed(()=>({transitionDuration:`${e.duration}s`,transform:c.distance?`translate3d(0,${c.distance}px, 0)`:""})),p=t.computed(()=>{const w={};return e.headHeight!=50&&(w.height=fe(e.headHeight)),w}),k=w=>{const V=+(e.pullDistance||e.headHeight);let E=w;return w>V&&(w<V*2?E=(w+V)/2:E=V+w/4),Math.round(E)},g=(w,V)=>{const E=+(e.pullDistance||e.headHeight);c.distance=w,V?c.status="loading":w===0?c.status="normal":w<E?c.status="pulling":c.status="loosing",o("change",{status:c.status,distance:w})},y=()=>c.status!=="loading"&&c.status!=="complete",S=()=>i.value==window?rn()==0:i.value&&i.value.scrollTop==0,d=w=>{y()&&(S()?(r.start(w),c.isPullRefresh=!0):(c.distance=0,c.isPullRefresh=!1))},f=w=>{if(y()){r.move(w);const{deltaY:V}=r;r.isVertical()&&V.value>0&&c.isPullRefresh&&(w.cancelable&&w.preventDefault(),g(k(V.value)))}},b=()=>{c.isPullRefresh&&y()&&r.deltaY.value&&(c.status==="loosing"?(g(+e.headHeight,!0),o("update:modelValue",!0),t.nextTick(()=>o("refresh"))):g(0)),setTimeout(()=>{r.reset()},0)};return t.watch(()=>e.modelValue,w=>{w?g(+e.headHeight,!0):g(0)}),{classes:u,scroller:s,...t.toRefs(c),touchStart:d,touchMove:f,touchEnd:b,getStyle:h,slots:l,getHeightStyle:p,getPullStatus:m}}}),Fk={class:"fox-pull-refresh-container-topbox-text"};function Kk(e,o,l,n,a,r){const s=t.resolveComponent("Loading");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),ref:"scroller",onTouchstart:o[0]||(o[0]=(...i)=>e.touchStart&&e.touchStart(...i)),onTouchmove:o[1]||(o[1]=(...i)=>e.touchMove&&e.touchMove(...i)),onTouchend:o[2]||(o[2]=(...i)=>e.touchEnd&&e.touchEnd(...i))},[t.createElementVNode("div",{class:"fox-pull-refresh-container",style:t.normalizeStyle(e.getStyle)},[t.createElementVNode("div",{class:"fox-pull-refresh-container-topbox",style:t.normalizeStyle(e.getHeightStyle)},[e.status=="loading"&&!e.slots.loading?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-icon-loading fox-pull-refresh-container-topbox-icon"})):t.createCommentVNode("",!0),t.createElementVNode("div",Fk,t.toDisplayString(e.getPullStatus),1),e.status=="pulling"?t.renderSlot(e.$slots,"pulling",{key:1}):t.createCommentVNode("",!0),e.status=="loosing"?t.renderSlot(e.$slots,"loosing",{key:2}):t.createCommentVNode("",!0),e.status=="loading"?t.renderSlot(e.$slots,"loading",{key:3}):t.createCommentVNode("",!0)],4),t.renderSlot(e.$slots,"default")],4)],34)}const zl=Z(Ok,[["render",Kk]]),{create:vk}=j("notify"),Uk=vk({components:{[de.name]:de},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:o}){const l=()=>{e.onClick&&e.onClick()};let n=null;const a=()=>{n&&clearTimeout(n),n=null},r=()=>{o("update:visible",!1)},s=t.ref(!1),i=t.watch(()=>e.visible,u=>{s.value=e.visible;const m=e.duration;u&&m&&(n=setTimeout(()=>{r()},m))},{immediate:!0});return{onAfterLeave:()=>{a(),i&&i(),e.unmount&&e.unmount(e.id),e.onClose&&e.onClose()},clickCover:l,isShowPopup:s}}});function Hk(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(s,{visible:e.isShowPopup,"onUpdate:visible":o[1]||(o[1]=i=>e.isShowPopup=i),position:e.position,overlay:!1,teleportDisable:e.teleportDisable},{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:o[0]||(o[0]=(...i)=>e.clickCover&&e.clickCover(...i))},[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","teleportDisable"])}const Ml=Z(Uk,[["render",Hk]]),Pl={type:"base",visible:!0,msg:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:Function,teleport:"",unmount:new Function};let kt=[],Ft=[];const fs=e=>{if(e){const o=document.getElementById(e);Ft=Ft.filter(l=>l.id!==e),kt=kt.filter(l=>l!==e),o&&document.body.removeChild(o)}else kt.forEach(o=>{const l=document.getElementById(o);l&&document.body.removeChild(l)}),Ft=[],kt=[]},jk=e=>{const o=document.getElementById(e.id);if(o){const l=Ft.find(a=>a.id===e.id);l?e={...Pl,...l,...e}:e={...Pl,...e};const n=t.createVNode(Ml,e);return t.render(n,o),n.component.data}},Kt=e=>{e.unmount=fs;let o;if(e.id){if(o=e.id,kt.find(r=>r===e.id))return jk(e)}else o=new Date().getTime()+"";e={...Pl,...e},e.id=o,kt.push(e.id),Ft.push(e);const l=document.createElement("view");l.id="notify-"+e.id;const n={setup(){return e.teleport=`#notify-${e.id}`,t.onMounted(()=>{setTimeout(()=>{e.onClose&&e.onClose(),document.body.removeChild(l)},e.duration)}),()=>t.h(Ml,e)}},a=t.createVNode(n);document.body.appendChild(l),t.render(a,l)},vt=e=>{if(!e){console.warn("[NutUI Notify]: msg不能为空");return}},Rl={text(e,o={}){return vt(e),Kt({...o,msg:e})},primary(e,o={}){return vt(e),Kt({...o,msg:e,type:"primary"})},success(e,o={}){return vt(e),Kt({...o,msg:e,type:"success"})},danger(e,o={}){return vt(e),Kt({...o,msg:e,type:"danger"})},warn(e,o={}){return vt(e),Kt({...o,msg:e,type:"warning"})},hide(){fs()},install(e){e.use(Ml)}},{create:Wk}=j("toast"),Yk=Wk({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:o}){let l=null;const n=t.reactive({mounted:!1});t.onMounted(()=>{n.mounted=!0});const a=()=>{l&&(clearTimeout(l),l=null)},r=()=>{n.mounted=!1},s=()=>{a(),e.duration&&(l=setTimeout(()=>{r()},e.duration))},i=()=>{e.closeOnClickOverlay&&(r(),o("close"))};e.duration&&s(),t.watch(()=>e.duration,k=>{k&&s()});const c=t.computed(()=>e.type!=="text"?!0:!!e.icon),u=()=>{const k=ie(e.iconSize);return t.h(e.icon,{width:k,height:k,color:e.iconColor})},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]),h=t.computed(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:n,hide:r,clickCover:i,renderIcon:u,hasIcon:c,toastBodyClass:m,toastIconWrapperClass:h,onAfterLeave:()=>{a(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),Xk={key:1,class:"fox-toast-title"},Qk=["innerHTML"];function Gk(e,o,l,n,a,r){return t.openBlock(),t.createBlock(t.Transition,{name:"toast-fade",onAfterLeave:e.onAfterLeave},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.toastBodyClass),style:t.normalizeStyle({bottom:e.center?"auto":e.bottom,"background-color":e.coverColor}),onClick:o[0]||(o[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.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon())))],2)):t.createCommentVNode("",!0),e.title?(t.openBlock(),t.createElementBlock("div",Xk,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,Qk)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const xl=Z(Yk,[["render",Gk]]),Ll={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 bt=[],Ut=[];const ms=e=>{if(e){const o=document.getElementById(e);Ut=Ut.filter(l=>l.id!==e),bt=bt.filter(l=>l!==e),o&&document.body.removeChild(o)}else bt.forEach(o=>{const l=document.getElementById(o);l&&document.body.removeChild(l)}),Ut=[],bt=[]},Zk=e=>{const o=document.getElementById(e.id);if(o){const l=Ut.find(a=>a.id===e.id);l?e={...Ll,...l,...e}:e={...Ll,...e};const n=t.createVNode(xl,e);return t.render(n,o),St}},Ht=e=>{e.unmount=ms;let o;if(e.id){if(o=e.id,bt.find(a=>a===e.id))return Zk(e)}else o=new Date().getTime()+"";e={...Ll,...e},e.id=o,bt.push(e.id),Ut.push(e);const l=document.createElement("div");l.id=e.id;const n=t.createVNode(xl,e);return t.render(n,l),document.body.appendChild(l),St},Ko=e=>{if(!e){console.warn("[FoxUI Toast]: msg不能为空");return}},St={text(e,o={}){return Ko(e),Ht({...o,type:"text",msg:e})},success(e,o={}){return Ko(e),Ht({icon:te.Success,...o,msg:e,type:"success"})},fail(e,o={}){return Ko(e),Ht({icon:te.Failure,...o,msg:e,type:"fail"})},warn(e,o={}){return Ko(e),Ht({icon:te.Tips,...o,msg:e,type:"warn"})},loading(e,o={}){return Ht({icon:te.Loading,...o,msg:e,type:"loading"})},hide(e){ms(e)},install(e){e.use(xl),e.config.globalProperties.$toast=St}},{componentName:YB,create:Jk}=j("audio"),_k=Jk({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:te.Service,[Rt.name]:Rt},emits:["fastBack","play","forward","ended","changeProgress","mute","can-play"],setup(e,{emit:o,slots:l}){const n=t.ref(null),a=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 y=["webkitVisibilityState","visibilitychange"];try{for(let S=0;S<y.length;S++)document.addEventListener(y[S],()=>{document.hidden?n.value.pause():a.playing&&setTimeout(()=>{n.value.play()},200)})}catch(S){S.message}});const r=y=>{const S=n.value;e.autoplay&&S&&S.paused&&S.play(),a.second=S.duration,a.duration=g(S.duration),o("can-play",y)},s=y=>{a.currentTime=parseInt(y.target.currentTime)},i=()=>{a.currentTime>0&&a.currentTime--,n.value.currentTime=a.currentTime,o("fastBack",a.currentTime)},c=()=>{const y=n.value;a.playing?(y.pause(),a.handPlaying=!1):(y.play(),a.handPlaying=!0),a.playing=!a.playing,o("play",a.playing)},u=()=>{a.currentTime++,n.value.currentTime=a.currentTime,o("forward",a.currentTime)},m=y=>{a.currentDuration=g(y),a.percent=y/a.second*100},h=()=>{a.playing=!1,o("ended")},p=y=>{const S=n.value;S.currentTime=a.second*y/100,o("changeProgress",S.currentTime)},k=()=>{a.hanMuted=!a.hanMuted,o("mute",a.hanMuted)},g=y=>{if(!y)return"00:00:00";let S=parseInt(y),d=Math.floor(S/3600),f=Math.floor((S-d*3600)/60),b=S-d*3600-f*60,w="";return w+=("0"+d.toString()).slice(-2)+":",w+=("0"+f.toString()).slice(-2)+":",w+=("0"+b.toString()).slice(-2),w};return t.watch(()=>a.currentTime,y=>{m(y)}),t.provide("audioParent",{children:[],props:e,audioData:a,handleMute:k,forward:u,fastBack:i,changeStatus:c}),{...t.toRefs(e),...t.toRefs(a),audioRef:n,fastBack:i,forward:u,changeStatus:c,progressChange:p,audioEnd:h,onTimeupdate:s,handleMute:k,onCanplay:r,slots:l}}}),eb={class:"fox-audio"},tb={key:0,class:"fox-audio__progress"},ob={class:"fox-audio__time"},nb={class:"fox-audio__bar"},lb=t.createElementVNode("div",{class:"fox-audio__button--custom"},null,-1),ab={class:"fox-audio__time"},rb={key:1,class:"fox-audio__icon"},sb=["controls","src","preload","autoplay","loop","muted"];function ib(e,o,l,n,a,r){const s=t.resolveComponent("fox-range"),i=t.resolveComponent("Service");return t.openBlock(),t.createElementBlock("div",eb,[e.type=="progress"?(t.openBlock(),t.createElementBlock("div",tb,[t.createElementVNode("div",ob,t.toDisplayString(e.currentDuration),1),t.createElementVNode("div",nb,[t.createVNode(s,{modelValue:e.percent,"onUpdate:modelValue":o[0]||(o[0]=c=>e.percent=c),"hidden-range":"",onChange:e.progressChange,"inactive-color":"#cccccc","active-color":"#fa2c19"},{button:t.withCtx(()=>[lb]),_:1},8,["modelValue","onChange"])]),t.createElementVNode("div",ab,t.toDisplayString(e.duration),1)])):t.createCommentVNode("",!0),e.type=="icon"?(t.openBlock(),t.createElementBlock("div",rb,[t.createElementVNode("div",{class:t.normalizeClass(["fox-audio__icon--box",e.playing?"fox-audio__icon--play":"fox-audio__icon--stop"]),onClick:o[1]||(o[1]=(...c)=>e.changeStatus&&e.changeStatus(...c))},[e.playing?(t.openBlock(),t.createBlock(i,{key:0,class:"fox-icon-am-rotate fox-icon-am-infinite"})):(t.openBlock(),t.createBlock(i,{key:1}))],2)])):t.createCommentVNode("",!0),e.type=="none"?(t.openBlock(),t.createElementBlock("div",{key:2,onClick:o[2]||(o[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:o[3]||(o[3]=(...c)=>e.onTimeupdate&&e.onTimeupdate(...c)),onCanplay:o[4]||(o[4]=(...c)=>e.onCanplay&&e.onCanplay(...c)),onEnded:o[5]||(o[5]=(...c)=>e.audioEnd&&e.audioEnd(...c)),muted:e.hanMuted},null,40,sb)])}const Ol=Z(_k,[["render",ib]]),{componentName:XB,create:cb,scope:db}=j("audio-operate"),ub=cb({props:{type:{type:String,default:()=>"play"}},components:{},emits:["click"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(db),n=t.inject("audioParent"),a=t.reactive(n),r=t.ref(t.useSlots().default);return{...t.toRefs(e),...t.toRefs(a),customSlot:r,t:l}}}),fb={class:"fox-audio-operate"};function mb(e,o,l,n,a,r){const s=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",fb,[e.type=="back"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-audio-operate-item",onClick:o[0]||(o[0]=(...i)=>e.fastBack&&e.fastBack(...i))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{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:o[1]||(o[1]=(...i)=>e.changeStatus&&e.changeStatus(...i))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{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:o[2]||(o[2]=(...i)=>e.forward&&e.forward(...i))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{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:o[3]||(o[3]=(...i)=>e.handleMute&&e.handleMute(...i))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{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 Fl=Z(ub,[["render",mb]]),{componentName:pb,create:hb}=j("avatar"),gb=hb({props:{size:{type:String,default:""},shape:{type:String,default:"round"},bgColor:{type:String,default:"#eee"},color:{type:String,default:"#666"}},setup(e){const{size:o,shape:l,bgColor:n,color:a}=t.toRefs(e),r=["large","normal","small"],s=t.inject("avatarGroup",null),i=t.ref(null),c=t.reactive({lightTheme:!1}),u=t.reactive({index:1,showMax:!1,maxIndex:0});t.onMounted(()=>{const g=s?.avatarGroupRef?.value?.children;g&&k(g)});const m=t.computed(()=>({[pb]:!0,[`fox-avatar-${o.value||s?.props?.size||"normal"}`]:!0,[`fox-avatar-${l.value||s?.props?.shape||"normal"}`]:!0})),h=t.computed(()=>({width:r.indexOf(o.value)>-1?"":`${o.value}px`,height:r.indexOf(o.value)>-1?"":`${o.value}px`,backgroundColor:`${n.value}`,color:`${a.value}`,marginLeft:u.index!=1&&(s?.props?.span?`${s?.props?.span}px`:""),zIndex:s?.props?.zIndex=="right"?`${Math.abs(u.maxIndex-u.index)}`:""})),p=t.computed(()=>({backgroundColor:`${s?.props?.maxBgColor}`,color:`${s?.props?.maxColor}`})),k=g=>{u.maxIndex=g.length;for(let y=0;y<g.length;y++)g[y]&&g[y].classList&&g[y].classList[0]=="fox-avatar"&&g[y].setAttribute("data-index",y+1);u.index=i?.value?.dataset?.index,u.index==u.maxIndex&&u.index!=s?.props?.maxCount&&(u.showMax=!0)};return{classes:m,styles:h,maxStyles:p,avatarGroup:s,visible:c,avatarRef:i,...t.toRefs(u)}}});function yb(e,o,l,n,a,r){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),ref:"avatarRef"},[!e.avatarGroup?.props?.maxCount||e.index<=e.avatarGroup?.props?.maxCount?t.renderSlot(e.$slots,"default",{key:0}):t.createCommentVNode("",!0),e.showMax&&e.avatarGroup?.props?.maxCount?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.avatarGroup?.props?.maxContent?e.avatarGroup?.props?.maxContent:`+ ${e.maxIndex-e.avatarGroup?.props?.maxCount}`),1)],64)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0)}const jt=Z(gb,[["render",yb]]),{componentName:kb,create:bb}=j("avatar-group"),Sb=bb({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:o,slots:l}){t.toRefs(e);const n=t.ref(null),a=t.ref(0),r=t.computed(()=>({[kb]:!0}));return t.onMounted(()=>{}),t.provide("avatarGroup",{props:e,avatarGroupRef:n,index:a}),{classes:r,avatarGroupRef:n}}});function Cb(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"avatarGroupRef"},[t.renderSlot(e.$slots,"default")],2)}const Kl=Z(Sb,[["render",Cb]]);var vo=(e=>(e[e.eq=1]="eq",e[e.lt=2]="lt",e[e.gt=3]="gt",e))(vo||{});function wb(e,o,l){let n=0,a=e.length-1,r=null;for(;n<=a;){r=Math.floor((n+a)/2);const s=e[r],i=l(s,o);if(i===1)return r;i===2?n=r+1:i===3&&(a=r-1)}return r}const{componentName:Nb,create:Bb}=j("list"),ps=document.documentElement.clientHeight||document.body.clientHeight||667,Ab=Bb({props:{listData:{type:Array,default:()=>[]},bufferSize:{type:Number,default:5},containerHeight:{type:[Number],default:ps},height:{type:Number,default:80},margin:{type:Number,default:10}},emits:["scroll-up","scroll-down","scroll-bottom"],setup(e,{emit:o}){const l=t.ref(null),n=t.ref(null),a=t.ref(null),r=t.reactive({start:0,originStartIndex:0,scrollTop:0,list:e.listData.slice(),cachePositions:[],phantomHeight:e.height*e.listData.length}),s=t.computed(()=>Math.min(e.containerHeight,ps)),i=t.computed(()=>Math.ceil(s.value/e.height)),c=t.computed(()=>Math.min(r.originStartIndex+i.value+e.bufferSize,r.list.length)),u=t.computed(()=>({[Nb]:!0})),m=t.computed(()=>r.list.slice(r.start,c.value)),h=()=>{if(a.value)return`translate3d(0, ${r.start>=1?r.cachePositions[r.start-1].bottom:0}px, 0)`},p=()=>{r.cachePositions=[];for(let d=0;d<r.list.length;++d)r.cachePositions[d]={index:d,height:e.height,top:d*e.height,bottom:(d+1)*(e.height+e.margin),dValue:0}},k=()=>{let d=a.value.childNodes;d=Array.from(d).filter(I=>I.nodeType===1);const f=d[0];d.forEach((I,D)=>{if(!I)return;const z=$e(I),{height:N}=z,R=r.cachePositions[D+r.start].height-N;R&&(r.cachePositions[D+r.start].bottom-=R,r.cachePositions[D+r.start].height=N,r.cachePositions[D+r.start].dValue=R)});let b=0;f&&(b=r.start);const w=r.cachePositions.length;let V=r.cachePositions[b].dValue;r.cachePositions[b].dValue=0;for(let I=b+1;I<w;++I){const D=r.cachePositions[I];r.cachePositions[I].top=r.cachePositions[I-1].bottom,r.cachePositions[I].bottom=r.cachePositions[I].bottom-V,D.dValue!==0&&(V+=D.dValue,D.dValue=0)}const E=r.cachePositions[w-1].bottom;r.phantomHeight=E},g=(d=0)=>{let f=wb(r.cachePositions,d,(w,V)=>{const E=w.bottom;return E===V?vo.eq:E<V?vo.lt:vo.gt});return r.cachePositions[f].bottom<d&&(f+=1),f},y=()=>{r.originStartIndex=0,r.start=0,r.scrollTop=0,l.value.scrollTop=0,p(),r.phantomHeight=e.height*r.list.length},S=()=>{const d=l.value?.scrollTop,{originStartIndex:f}=r,b=g(d);b!==f&&(r.originStartIndex=b,r.start=Math.max(r.originStartIndex-e.bufferSize,0),c.value>=r.list.length-1&&o("scroll-bottom")),o(d>r.scrollTop?"scroll-up":"scroll-down",d),r.scrollTop=d};return t.watch(()=>e.listData,d=>{if(r.list=d.slice(),r.list.length===d.length)p(),k();else{y();return}}),t.watch(()=>r.start,()=>{a.value&&r.list.length>0&&k()}),{...t.toRefs(r),list:l,phantom:n,actualContent:a,getTransform:h,visibleData:m,classes:u,getContainerHeight:s,handleScrollEvent:S}}});function Vb(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle({height:`${e.getContainerHeight}px`}),onScrollPassive:o[0]||(o[0]=(...s)=>e.handleScrollEvent&&e.handleScrollEvent(...s)),ref:"list"},[t.createElementVNode("div",{class:"fox-list-phantom",style:t.normalizeStyle({height:e.phantomHeight+"px"}),ref:"phantom"},null,4),t.createElementVNode("div",{class:"fox-list-container",style:t.normalizeStyle({transform:e.getTransform()}),ref:"actualContent"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.visibleData,(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-list-item",key:s},[t.renderSlot(e.$slots,"default",{item:s,index:i+e.start})]))),128))],4)],38)}const vl=Z(Ab,[["render",Vb]]),{componentName:Tb,create:$b}=j("circleprogress"),Eb=$b({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:o}){const l=!!t.useSlots().default,n=Math.random().toString(36).slice(-8),a=t.computed(()=>({[Tb]:!0})),r=t.computed(()=>{const m=e.clockwise?1:0;return`M 50 50 m 0 -45 a 45 45 0 1 ${m} 0 90 a 45 45 0 1, ${m} 0 -90`}),s=t.computed(()=>De(e.color)?`url(#${n})`:e.color),i=t.computed(()=>{let m=283,h=m*Number(e.progress)/100;return{stroke:De(e.color)?`url(#${n})`:e.color,strokeDasharray:`${h}px ${m}px`}}),c=t.computed(()=>({stroke:e.pathColor})),u=t.computed(()=>{if(!De(e.color))return;let m=e.color;const h=Object.keys(m).sort((k,g)=>parseFloat(k)-parseFloat(g));let p=[];return h.map((k,g)=>{let y={key:"",value:""};y.key=k,y.value=m[k],p.push(y)}),p});return{classes:a,hoverStyle:i,pathStyle:c,path:r,hoverColor:s,stop:u,slotDefault:l,refRandomId:n}}}),Db={viewBox:"0 0 100 100"},Ib=["id"],qb=["offset","stop-color"],zb=["d","stroke-width"],Mb=["d","stroke","stroke-linecap","stroke-width"],Pb={class:"fox-circleprogress-text"},Rb={key:0};function xb(e,o,l,n,a,r){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",Db,[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,(s,i)=>(t.openBlock(),t.createElementBlock("stop",{key:i,offset:s.key,"stop-color":s.value},null,8,qb))),128))],8,Ib)]),t.createElementVNode("path",{class:"fox-circleprogress-path",style:t.normalizeStyle(e.pathStyle),d:e.path,fill:"none","stroke-width":e.strokeWidth}," > ",12,zb),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,Mb)])),t.createElementVNode("div",Pb,[t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Rb,t.toDisplayString(e.progress)+"%",1))])],6)}const Ul=Z(Eb,[["render",xb]]),{componentName:Lb,create:Ob}=j("noticebar"),Fb=Ob({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}},components:{ScrollItem:function(e){return e.item.props.style=e.style,e.item.key=e.key,t.h(e.item)},Notice:te.Notice,CircleClose:te.CircleClose},emits:["click","close","across-end"],setup(e,{emit:o,slots:l}){const n=t.ref(null),a=t.ref(null),r=t.reactive({wrapWidth:0,firstRound:!0,duration:0,offsetWidth:0,showNoticebar:!0,animationClass:"",animate:!1,scrollList:[],distance:0,timer:null,keepAlive:!1,isCanScroll:null,showNotica:!0}),s=t.computed(()=>({[Lb]:!0})),i=t.computed(()=>r.isCanScroll==null?e.wrapable:!r.isCanScroll&&!e.wrapable),c=t.computed(()=>({"fox-noticebar__page-wrap-content":!0,"fox-ellipsis":i.value,[r.animationClass]:!0})),u=t.computed(()=>{let I={};return e.color&&(I.color=e.color),e.background&&(I.background=e.background),e.direction=="vertical"&&(I.height=`${e.height}px`),I}),m=t.computed(()=>({animationDelay:(r.firstRound?e.delay:0)+"s",animationDuration:r.duration+"s",transform:`translateX(${r.firstRound?0:r.wrapWidth+"px"})`})),h=t.computed(()=>{let I={};if(e.complexAm)I={transform:`translateY(${r.distance}px)`};else if(r.animate){let D=~~(e.height/e.speed/4);I={transition:`all ${D==0?~~(e.height/e.speed):D}s`,"margin-top":`-${e.height}px`}}return I});t.watch(()=>e.text,I=>{p()}),t.watch(()=>e.list,I=>{r.scrollList=[...I]});const p=I=>{r.showNoticebar!=!1&&setTimeout(()=>{if(!n.value||!a.value)return;const D=n.value.getBoundingClientRect().width,z=a.value.getBoundingClientRect().width;r.isCanScroll=e.scrollable==null?z>D:e.scrollable,r.isCanScroll?(r.wrapWidth=D,r.offsetWidth=z,r.duration=z/e.speed,r.animationClass="play"):r.animationClass=""},0)},k=I=>{o("click",I)},g=I=>{e.closeMode&&(r.showNoticebar=!e.closeMode),o("close",I)},y=I=>{r.firstRound=!1,o("across-end",I),setTimeout(()=>{r.duration=(r.offsetWidth+r.wrapWidth)/e.speed,r.animationClass="play-infinite"},0)},S=()=>{d(),r.timer=setInterval(d,~~(e.height/e.speed/4*1e3)+e.standTime)},d=()=>{r.animate=!0,setTimeout(()=>{r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.animate=!1},~~(e.height/e.speed/4*1e3))},f=()=>{r.timer=setInterval(()=>{let I=100;for(let D=0;D<I;D++)b(D,!(D<I-1))},e.standTime+100*e.speed)},b=(I,D)=>{setTimeout(()=>{r.distance-=e.height/100,D&&(r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.distance=0)},I*e.speed)},w=I=>{o("click",I)},V=()=>{e.closeMode&&(r.showNoticebar=!e.closeMode),o("close",r.scrollList[0])};t.onMounted(()=>{e.direction=="vertical"?(l.default?E(l.default()):r.scrollList=[...e.list],setTimeout(()=>{e.complexAm?f():S()},e.standTime)):p(e.text)}),t.watch(()=>l.default?l.default():[],I=>{e.direction==="vertical"&&l.default&&(r.showNotica=!1,setTimeout(()=>{r.showNotica=!0}),E(I))});const E=I=>{I&&I.length>0&&(r.scrollList=I[0].children)};return t.onActivated(()=>{r.keepAlive&&(r.keepAlive=!1)}),t.onDeactivated(()=>{r.keepAlive=!0,clearInterval(r.timer)}),t.onUnmounted(()=>{clearInterval(r.timer)}),{...t.toRefs(e),...t.toRefs(r),isEllipsis:i,classes:s,barStyle:u,contentStyle:m,horseLampStyle:h,wrap:n,content:a,handleClick:k,onClickIcon:g,onAnimationEnd:y,go:w,handleClickIcon:V,slots:l,toPxDesc:fe,wrapContentClass:c}}}),Kb={class:"fox-noticebar__page-lefticon"},vb={ref:"wrap",class:"fox-noticebar__page-wrap"},Ub={class:"showNotica"},Hb=["onClick"];function jb(e,o,l,n,a,r){const s=t.resolveComponent("Notice"),i=t.resolveComponent("CircleClose"),c=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",{"fox-noticebar__page--withicon":e.closeMode,"fox-noticebar__page--close":e.closeMode,"fox-noticebar__page--wrapable":e.wrapable}]),style:t.normalizeStyle(e.barStyle),onClick:o[3]||(o[3]=(...u)=>e.handleClick&&e.handleClick(...u))},[t.createElementVNode("view",Kb,[t.renderSlot(e.$slots,"left-icon",{},()=>[e.leftIcon?(t.openBlock(),t.createBlock(s,{key:0,size:"16px"})):t.createCommentVNode("",!0)])]),t.createElementVNode("view",vb,[t.createElementVNode("view",{ref:"content",class:t.normalizeClass(e.wrapContentClass),style:t.normalizeStyle(e.contentStyle),onAnimationend:o[0]||(o[0]=(...u)=>e.onAnimationEnd&&e.onAnimationEnd(...u)),"on:webkitAnimationEnd":o[1]||(o[1]=(...u)=>e.onAnimationEnd&&e.onAnimationEnd(...u))},[t.renderSlot(e.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(e.text),1)])],38)],512),e.closeMode||e.$slots["right-icon"]?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-noticebar__page-righticon",onClick:o[2]||(o[2]=t.withModifiers((...u)=>e.onClickIcon&&e.onClickIcon(...u),["stop"]))},[e.$slots["right-icon"]?t.renderSlot(e.$slots,"right-icon",{key:0}):(t.openBlock(),t.createBlock(i,{key:1}))])):t.createCommentVNode("",!0)],6)),[[t.vShow,e.showNoticebar]]):t.createCommentVNode("",!0),e.scrollList.length>0&&e.direction=="vertical"&&e.showNoticebar?(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:"fox-noticebar__vertical-list",style:t.normalizeStyle(e.horseLampStyle)},[t.createElementVNode("div",Ub,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(u,m)=>(t.openBlock(),t.createBlock(c,{key:m,style:t.normalizeStyle({height:e.height+"px","line-height":e.height+"px"}),item:u},null,8,["style","item"]))),128))])],4)):(t.openBlock(),t.createElementBlock("ul",{key:1,class:"fox-noticebar__vertical-list",style:t.normalizeStyle(e.horseLampStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(u,m)=>(t.openBlock(),t.createElementBlock("li",{class:"fox-noticebar__vertical-item",key:m,style:t.normalizeStyle({height:e.toPxDesc(e.height),lineHeight:e.toPxDesc(e.height)}),onClick:h=>e.go(u)},[t.renderSlot(e.$slots,"item",{},()=>[t.createTextVNode(t.toDisplayString(u),1)])],12,Hb))),128))],4)),t.createElementVNode("view",{class:"go",onClick:o[4]||(o[4]=u=>!e.slots.rightIcon&&e.handleClickIcon())},[t.renderSlot(e.$slots,"right-icon",{},()=>[e.closeMode?(t.openBlock(),t.createBlock(i,{key:0,color:e.color,size:"11px"},null,8,["color"])):t.createCommentVNode("",!0)])])],4)):t.createCommentVNode("",!0)],2)}const Hl=Z(Fb,[["render",jb]]),Wb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAKoCAMAAACMZv1uAAAC+lBMVEUAAAD19fXz9PTd1tvf3t708vPx7/Dz9PTY2NjY2NjWy837+fr09/f09fU0MzX09fX08vP09fXMzMz19vbY2NgyMjLz9PT19vb29/cuLDrY2Njz6uzKw8Tx7e719vby8/PY2Nj19vb09fUrKzb09fX19vbc09X09fXLy8v19fX09PS5uLjV1dX09fXV1dXU1NT/y9X19va8vLz09vb19fXX19fSyssxLzz09fX09fX09fX19vb19fX19vbU1NQxLzz09fXY2Nj19vb19vYsKjNVVFYUFBT19fXMzMz09fX09fX09fXMzMzW1tavr6/09fX09fXY2NjX19ebm536ssD09fXMzMw1MzzY2Nj19fUyMTz/y9XMzMzMzMzR0dH09fXMzMzY2NjZ2dnY2NjExMQuLDUpJzAyMDzY2NhpaWrMzMz19vbLy8sVFRXMzMy5ubm6ubkqKTL8ws7/x9IqKjIpJy//y9X19va5uLi5uLi5uLjZ2dn09fW5uLi5u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T2zW1abtcpsZ3tqdmYEt8h9AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIC/PTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAUMS6uSWMRCGwAAAABJRU5ErkJggg==",{componentName:QB,create:Qb,scope:Gb}=j("empty"),Zb={empty:Wb,error:Yb,network:Xb},Jb=Qb({props:{image:{type:String,default:"empty"},imageSize:{type:[Number,String],default:""},description:{type:String,default:""}},setup(e){const{toLocaleRefs:o}=se.useFoxI18n(Gb),l=o(e,["description"]),{image:n,imageSize:a}=t.toRefs(e),r=t.computed(()=>a.value?typeof a.value=="number"?`width:${a.value}px;height:${a.value}px`:`width:${a.value};height:${a.value}`:""),i=n.value.startsWith("https://")||n.value.startsWith("http://")||n.value.startsWith("//")?n.value:Zb[n.value];return{...l,imageUrl:i,imgStyle:r}}}),_b={class:"fox-empty"},eS=["src"],tS={key:1,class:"fox-empty-description"};function oS(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",_b,[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,eS)):t.createCommentVNode("",!0)],64))],4),e.$slots.description?t.renderSlot(e.$slots,"description",{key:0}):(t.openBlock(),t.createElementBlock("view",tS,t.toDisplayString(e.description),1)),e.$slots.default?t.renderSlot(e.$slots,"default",{key:2}):t.createCommentVNode("",!0)])}const jl=Z(Jb,[["render",oS]]),{create:nS,scope:lS}=j("video"),aS=nS({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:o}){const{t:l}=se.useFoxI18n(lS),n=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}),a=t.ref(null),r=t.computed(()=>e.options.disabled);t.watch(()=>e.source,E=>{E.src&&t.nextTick(()=>{n.videoElm.load()})},{immediate:!0,deep:!0}),t.watch(()=>e.options,E=>{n.state.isMuted=E?E.muted:!1},{immediate:!0});const s=()=>{n.videoElm=a.value,e.options.autoplay&&setTimeout(()=>{n.videoElm.play()},200),e.options.touchPlay&&(n.showTouchMask=!0),e.options.playsinline&&(n.videoElm.setAttribute("playsinline",e.options.playsinline),n.videoElm.setAttribute("webkit-playsinline",e.options.playsinline),n.videoElm.setAttribute("x5-video-player-type","h5-page"),n.videoElm.setAttribute("x5-video-player-fullscreen",!1)),g(),n.showToolbox?i():(n.videoElm.addEventListener("play",()=>{n.state.playing=!0,o("play",n.videoElm)}),n.videoElm.addEventListener("pause",()=>{n.state.playing=!1,o("pause",n.videoElm)}),n.videoElm.addEventListener("ended",p),n.videoElm.addEventListener("timeupdate",lo(h,1e3)))},i=()=>{const E=a.value,I=a.value.getElementsByClassName("fox-video-controller__progress-value")[0];n.player.$player=E,n.progressBar.progressElm=I,n.progressBar.pos=I.getBoundingClientRect(),n.videoSet.progress.width=Math.round(I.getBoundingClientRect().width)},c=()=>{if(e.options.autoplay&&e.options.disabled)return n.state.playing=!0,!1;if(n.state.playing=!n.state.playing,n.videoElm)if(n.state.playing)try{setTimeout(()=>{n.videoElm.play()},200),n.videoElm.addEventListener("progress",()=>{m()}),n.videoElm.addEventListener("timeupdate",lo(h,1e3)),n.videoElm.addEventListener("ended",p),o("play",n.videoElm)}catch{k()}else n.videoElm.pause(),o("pause",n.videoElm)},u=E=>{var I=Math.floor(E/3600);I<10&&(I="0"+I);var D=Math.floor(E%3600/60);D<10&&(D="0"+D);var z=Math.round(E%3600%60);z<10&&(z="0"+z);var N="";return I!=0?N=I+":"+D+":"+z:N=D+":"+z,N},m=()=>{n.videoSet.loaded&&(n.videoSet.loaded=n.videoElm.buffered.end(0)/n.videoElm.duration*100)},h=()=>{const E=n.videoElm.currentTime/n.videoElm.duration;n.videoSet.progress.current=Math.round(n.videoSet.progress.width*E),n.videoSet.totalTime=u(n.videoElm.duration),n.videoSet.displayTime=u(n.videoElm.currentTime),o("time",n.videoSet.displayTime,n.videoSet.totalTime)},p=()=>{n.state.playing=!1,n.state.isEnd=!0,n.videoSet.displayTime="00:00",n.videoSet.progress.current=0,n.videoElm.currentTime=0,o("playend",n.videoElm)},k=()=>{n.state.isError=!0},g=()=>{n.state.vol=e.options.volume},y=()=>{n.state.isMuted=!n.state.isMuted,n.videoElm.muted=n.state.isMuted},S=()=>{},d=E=>{let D=E.targetTouches[0].pageX-n.progressBar.pos.left;D<=0&&(D=0),D>=n.videoSet.progress.width&&(D=n.videoSet.progress.width),n.videoSet.progress.current=D;let z=n.videoSet.progress.current/n.videoSet.progress.width;n.videoElm.duration&&b(z,n.videoElm.duration)},f=E=>{let D=E.changedTouches[0].pageX-n.progressBar.pos.left;n.videoSet.progress.current=D;let z=D/n.videoSet.progress.width;n.videoElm.duration&&b(z,n.videoElm.duration)},b=(E,I)=>{n.videoElm.currentTime=Math.floor(E*I)},w=()=>{n.state.isError=!1,s()},V=()=>{n.state.fullScreen?(n.state.fullScreen=!1,document.webkitCancelFullScreen()):(n.state.fullScreen=!0,n.videoElm.webkitRequestFullScreen())};return t.onMounted(()=>{s()}),{root:a,...t.toRefs(e),...t.toRefs(n),handleError:k,isDisabled:r,play:c,handleMuted:y,touchSlidSrart:S,touchSlidMove:d,touchSlidEnd:f,retry:w,fullScreen:V,t:l}}}),rS={class:"fox-video",ref:"videocon"},sS=["muted","autoplay","loop","poster","controls","preload"],iS=["src","type"],cS={class:"fox-video-controller__now"},dS={class:"fox-video-controller__progress"},uS={class:"fox-video-controller__progress-value",ref:"progressBar"},fS=[t.createElementVNode("div",{class:"fox-video-controller__ball-move"},null,-1)],mS={class:"fox-video-controller__played",ref:"playedBar"},pS={class:"fox-video-controller__total"},hS={class:"fox-video-error"},gS={class:"fox-video-error-tip"};function yS(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",rS,[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:o[0]||(o[0]=(...s)=>e.handleError&&e.handleError(...s))},[t.createElementVNode("source",{src:e.source.src,type:e.source.type},null,8,iS)],40,sS),e.showToolbox&&!e.isDisabled?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-video-mask",ref:"touchMask",onClick:o[1]||(o[1]=(...s)=>e.play&&e.play(...s))},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:o[2]||(o[2]=(...s)=>e.play&&e.play(...s))},null,512)),[[t.vShow,!e.state.playing]]):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(["fox-video-controller",{"fox-video-controller--show":!e.state.playing,"fox-video-controller--hide":e.state.playing}])},[t.createElementVNode("div",{class:"fox-video-controller__playbtn",onClick:o[3]||(o[3]=(...s)=>e.play&&e.play(...s))}),t.createElementVNode("div",cS,t.toDisplayString(e.videoSet.displayTime),1),t.createElementVNode("div",dS,[t.createElementVNode("div",uS,[t.createElementVNode("div",{class:"buffered",style:t.normalizeStyle({width:`${e.videoSet.loaded}%`})},null,4),t.createElementVNode("div",{class:"fox-video-controller__ball",style:t.normalizeStyle({transform:`translate3d(${e.videoSet.progress.current}px, -50%, 0)`}),onTouchmove:o[4]||(o[4]=t.withModifiers(s=>e.touchSlidMove(s),["stop","prevent"])),onTouchstart:o[5]||(o[5]=t.withModifiers(s=>e.touchSlidSrart(),["stop"])),onTouchend:o[6]||(o[6]=t.withModifiers(s=>e.touchSlidEnd(s),["stop"]))},fS,36),t.createElementVNode("div",mS,null,512)],512)]),t.createElementVNode("div",pS,t.toDisplayString(e.videoSet.totalTime),1),t.createElementVNode("div",{class:t.normalizeClass(["fox-video-controller__volume",{muted:e.state.isMuted}]),onClick:o[7]||(o[7]=(...s)=>e.handleMuted&&e.handleMuted(...s))},null,2),t.createElementVNode("div",{class:"fox-video-controller__full",onClick:o[8]||(o[8]=(...s)=>e.fullScreen&&e.fullScreen(...s))})],2),[[t.vShow,e.showToolbox&&!e.isDisabled]]),t.withDirectives(t.createElementVNode("div",hS,[t.createElementVNode("p",gS,t.toDisplayString(e.t("errorTip")),1),t.createElementVNode("p",{class:"fox-video-error-retry",onClick:o[9]||(o[9]=(...s)=>e.retry&&e.retry(...s))},t.toDisplayString(e.t("clickRetry")),1)],512),[[t.vShow,e.state.isError]])],512)}const Ct=Z(aS,[["render",yS]]),{create:kS,componentName:bS}=j("steps"),Wl=kS({props:{direction:{type:String,default:"horizontal"},current:{type:[String,Number],default:"0"},progressDot:{type:Boolean,default:!1}},emits:["click-step"],setup(e,{emit:o,slots:l}){const n=t.reactive({children:[]}),a=t.computed(()=>{const i=bS;return{[i]:!0,[`${i}-${e.direction}`]:!0,[`${i}-dot`]:!!e.progressDot}}),r=i=>{i&&n.children.push(i)},s=i=>{o("click-step",i)};return t.provide("parent",{relation:r,state:n,props:e,onEmit:s}),()=>t.h("view",{class:a.value},l.default?.())}}),{create:SS,componentName:CS}=j("step"),wS=SS({props:{title:{type:String,default:""},content:{type:String,default:""}},emits:["click-step"],setup(){const{proxy:e}=t.getCurrentInstance(),o=t.inject("parent");o.relation(e);const l=t.reactive({dot:o.props.progressDot}),n=t.computed(()=>o.state.children.indexOf(e)+1),a=()=>{const c=n.value;return c<+o.props.current?"finish":c===+o.props.current?"process":"wait"},r=t.computed(()=>a()),s=t.computed(()=>{const c=CS;return{[c]:!0,[`${c}-${r.value}`]:!0}}),i=()=>{o.onEmit(n.value)};return{...t.toRefs(l),index:n,classes:s,handleClickStep:i}}}),NS={class:"fox-step-head"},BS=t.createElementVNode("view",{class:"fox-step-line"},null,-1),AS={class:"fox-step-icon-inner"},VS={key:1,class:"fox-step-inner"},TS={class:"fox-step-main"},$S={class:"fox-step-title"},ES={key:0},DS={key:0,class:"fox-step-content"},IS=["innerHTML"];function qS(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=(...s)=>e.handleClickStep&&e.handleClickStep(...s))},[t.createElementVNode("view",NS,[BS,t.createElementVNode("view",{class:t.normalizeClass(["fox-step-icon",[e.dot?"":"is-icon"]])},[t.createElementVNode("view",AS,[t.renderSlot(e.$slots,"icon",{},()=>[e.dot?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[],64)):(t.openBlock(),t.createElementBlock("view",VS,t.toDisplayString(e.index),1))])])],2)]),t.createElementVNode("view",TS,[t.createElementVNode("view",$S,[e.$slots.title?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",ES,t.toDisplayString(e.title),1)),t.renderSlot(e.$slots,"title")]),e.content||e.$slots.content?(t.openBlock(),t.createElementBlock("view",DS,[e.$slots.content?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:e.content},null,8,IS)),t.renderSlot(e.$slots,"content")])):t.createCommentVNode("",!0)])],2)}const Yl=Z(wS,[["render",qS]]),{create:zS,componentName:Xl}=j("swiper"),MS=zS({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:o,slots:l}){const n=t.ref(),a=t.reactive({active:0,num:0,rect:null,width:0,height:0,moving:!1,offset:0,touchTime:0,autoplayTimer:null,children:[],childrenVNode:[],style:{}}),r=Ue(),s=t.computed(()=>({[Xl]:!0})),i=t.computed(()=>e.direction==="vertical"),c=t.computed(()=>{const A=Xl;return{[`${A}-inner`]:!0,[`${A}-vertical`]:i.value}}),u=t.computed(()=>{const A=Xl;return{[`${A}-pagination`]:!0,[`${A}-pagination-vertical`]:i.value}}),m=t.computed(()=>i.value?r.deltaY.value:r.deltaX.value),h=t.computed(()=>r.direction.value===e.direction),p=t.computed(()=>a.children.length),k=t.computed(()=>a[i.value?"height":"width"]),g=t.computed(()=>p.value*k.value),y=t.computed(()=>a.rect?(i.value?a.rect.height:a.rect.width)-k.value*p.value:0),S=t.computed(()=>(a.active+p.value)%p.value),d=()=>{let A=0;A=a.offset,a.style={transitionDuration:`${a.moving?0:e.duration}ms`,transform:`translate${i.value?"Y":"X"}(${A}px)`,[i.value?"height":"width"]:`${k.value*p.value}px`,[i.value?"width":"height"]:`${i.value?a.width:a.height}px`}},f=A=>{let O=[];const x=a.childrenVNode.length;let M=l?.default?.();if(M=M.filter(F=>F.children&&Array.isArray(F.children)),M.forEach(F=>{O=O.concat(F.children)}),!x)a.childrenVNode=O.slice(),A.proxy&&a.children.push(A.proxy);else if(x>O.length)a.children=a.children.filter(F=>A.proxy!==F);else if(x<O.length){for(let F=0;F<x;F++)if(O[F].key!==a.childrenVNode[F].key){A.proxy&&a.children.splice(F,0,A.proxy),A.vnode&&a.childrenVNode.splice(F,0,A.vnode);break}x!==O.length&&(A.proxy&&a.children.push(A.proxy),A.vnode&&a.childrenVNode.push(A.vnode))}else a.childrenVNode=O.slice(),A.proxy&&a.children.push(A.proxy)},b=(A,O=0)=>{let x=A*k.value;e.loop||(x=Math.min(x,-y.value));let M=O-x;return e.loop||(M=Fe(M,y.value,0)),M},w=A=>{const{active:O}=a;return A?e.loop?Fe(O+A,-1,p.value):Fe(O+A,0,p.value-1):O},V=({pace:A=0,offset:O=0,isEmit:x=!1})=>{if(p.value<=1)return;const{active:M}=a,F=w(A),G=b(F,O);if(e.loop){if(a.children[0]&&G!==y.value){const Y=G<y.value;a.children[0].setOffset(Y?g.value:0)}if(a.children[p.value-1]&&G!==0){const Y=G>0;a.children[p.value-1].setOffset(Y?-g.value:0)}}a.active=F,a.offset=G,x&&M!==a.active&&o("change",S.value),d()},E=()=>{a.moving=!0,a.active<=-1&&V({pace:p.value}),a.active>=p.value&&V({pace:-p.value})},I=()=>{a.autoplayTimer&&clearTimeout(a.autoplayTimer)},D=A=>{E(),r.reset(),We(()=>{We(()=>{a.moving=!1,V({pace:A,isEmit:!0})})})},z=()=>{D(-1)},N=()=>{D(1)},B=A=>{E(),r.reset(),We(()=>{a.moving=!1;let O;e.loop&&p.value===A?O=a.active===0?0:A:O=A%p.value,V({pace:O-a.active,isEmit:!0})})},R=()=>{e.autoPlay<=0||p.value<=1||(I(),a.autoplayTimer=setTimeout(()=>{N(),R()},Number(e.autoPlay)))},L=(A=+e.initPage)=>{I(),a.rect=n.value.getBoundingClientRect(),A=Math.min(p.value-1,A),a.width=e.width?+e.width:a.rect.width,a.height=e.height?+e.height:a.rect.height,a.active=A,a.offset=b(a.active),a.moving=!0,d(),R()},$=A=>{e.isPreventDefault&&A.preventDefault(),e.isStopPropagation&&A.stopPropagation(),e.touchable&&(r.start(A),a.touchTime=Date.now(),I(),E())},T=A=>{e.touchable&&a.moving&&(r.move(A),h.value&&V({offset:m.value}))},q=A=>{if(!e.touchable||!a.moving)return;const O=m.value/(Date.now()-a.touchTime);if((Math.abs(O)>.3||Math.abs(m.value)>+(k.value/2).toFixed(2))&&h.value){let M=0;const F=i.value?r.offsetY.value:r.offsetX.value;e.loop?M=F>0?m.value>0?-1:1:0:M=-Math[m.value>0?"ceil":"floor"](m.value/k.value),V({pace:M,isEmit:!0})}else m.value&&V({pace:0});a.moving=!1,d(),R()};return t.provide("parent",{props:e,size:k,relation:f}),Te({prev:z,next:N,to:B}),t.onDeactivated(()=>{I()}),t.onBeforeUnmount(()=>{I()}),t.watch(()=>e.initPage,A=>{t.nextTick(()=>{L(Number(A))})}),t.watch(()=>a.children.length,()=>{t.nextTick(()=>{L()})}),t.watch(()=>e.autoPlay,A=>{A>0?R():I()}),{state:a,classes:s,classesInner:c,classesPagination:u,container:n,activePagination:S,onTouchStart:$,onTouchMove:T,onTouchEnd:q}}});function PS(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{ref:"container",class:t.normalizeClass(e.classes),onTouchstart:o[0]||(o[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:o[1]||(o[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:o[2]||(o[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:o[3]||(o[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s))},[t.createElementVNode("view",{class:t.normalizeClass(e.classesInner),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.classesPagination)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.state.children.length,(s,i)=>(t.openBlock(),t.createElementBlock("i",{style:t.normalizeStyle({backgroundColor:e.activePagination===i?e.paginationColor:"#ddd"}),class:t.normalizeClass({active:e.activePagination===i}),key:i},null,6))),128))],2)):t.createCommentVNode("",!0)],34)}const wt=Z(MS,[["render",PS]]),{create:RS,componentName:xS}=j("swiper-item"),LS=RS({setup(e,{slots:o}){const l=t.inject("parent");l.relation(t.getCurrentInstance());const n=t.reactive({offset:0}),a=t.computed(()=>({[xS]:!0})),r=t.computed(()=>{const i={},c=l?.props.direction;return l?.size.value&&(i[c==="horizontal"?"width":"height"]=`${l?.size.value}px`),n.offset&&(i.transform=`translate${c==="horizontal"?"X":"Y"}(${n.offset}px)`),i}),s=i=>{n.offset=i};return t.onUnmounted(()=>{l.relation(t.getCurrentInstance(),"unmount")}),Te({setOffset:s}),{style:r,classes:a}}});function OS(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)}const Nt=Z(LS,[["render",OS]]),hs={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:FS}=j("image-preview-item"),KS=FS({props:{...hs,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:{[Ct.name]:Ct,[Nt.name]:Nt},setup(e,{emit:o}){const l=t.reactive({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}),n=Ue(),a=t.computed(()=>{const{rootWidth:z,rootHeight:N}=e,B=N/z;return l.imageRatio>B}),r=t.computed(()=>{const z=e.image;if(z&&z.src){const{scale:N,moveX:B,moveY:R,moving:L,zooming:$}=l,T={transitionDuration:$||L?"0s":".3s"};if(N!==1){const q=B/N,A=R/N;T.transform=`scale(${N}, ${N}) translate(${q}px, ${A}px)`}return T}return{}}),s=t.computed(()=>{if(l.imageRatio){const{rootWidth:z,rootHeight:N}=e,B=a.value?N/l.imageRatio:z;return Math.max(0,(l.scale*B-z)/2)}return 0}),i=t.computed(()=>{if(l.imageRatio){const{rootWidth:z,rootHeight:N}=e,B=a.value?N:z*l.imageRatio;return Math.max(0,(l.scale*B-N)/2)}return 0}),c=z=>{const{naturalWidth:N,naturalHeight:B}=z.target;l.imageRatio=B/N},u=()=>{m(1),l.moveX=0,l.moveY=0},m=z=>{z=Fe(z,+e.minZoom,+e.maxZoom+1),z!==l.scale&&(l.scale=z,o("scale",{scale:z,index:e.initNo}))},h=()=>{const z=l.scale>1?1:2;m(z),l.moveX=0,l.moveY=0},p=z=>Math.sqrt((z[0].clientX-z[1].clientX)**2+(z[0].clientY-z[1].clientY)**2);let k,g,y,S,d,f,b;const w=z=>{const{touches:N}=z,{offsetX:B}=n;n.start(z),b=N.length,k=l.moveX,g=l.moveY,f=Date.now(),l.moving=b===1&&l.scale!==1,l.zooming=b===2&&!B.value,l.zooming&&(y=l.scale,S=p(z.touches))},V=z=>{const{touches:N}=z;if(n.move(z),(l.moving||l.zooming)&&an(z,!0),l.moving){const{deltaX:B,deltaY:R}=n,L=B.value+k,$=R.value+g;l.moveX=Fe(L,-s.value,s.value),l.moveY=Fe($,-i.value,i.value)}if(l.zooming&&N.length===2){const B=p(N),R=y*B/S;m(R)}},E=()=>{if(b==1&&e.video&&e.video.source||b>1)return;const{offsetX:z,offsetY:N}=n,B=Date.now()-f,R=250,L=5;z.value<L&&N.value<L&&B<R&&(d?(clearTimeout(d),d=null,h()):d=setTimeout(()=>{e.contentClose&&o("close"),d=null},R))},I=z=>{let N=!1;(l.moving||l.zooming)&&(N=!0,l.moving&&k===l.moveX&&g===l.moveY&&(N=!1),z.touches.length||(l.zooming&&(l.moveX=Fe(l.moveX,-s.value,s.value),l.moveY=Fe(l.moveY,-i.value,i.value),l.zooming=!1),l.moving=!1,k=0,g=0,y=1,l.scale<1&&u(),l.scale>e.maxZoom&&(l.scale=+e.maxZoom))),an(z,N),E(),n.reset()},D=()=>{o("close")};return t.watch(()=>e.initNo,u),t.watch(()=>e.show,z=>{z||u()}),{...t.toRefs(l),onTouchStart:w,onTouchMove:V,onTouchEnd:I,getDistance:p,imageStyle:r,imageLoad:c,closeSwiper:D}}}),vS=["src"];function US(e,o,l,n,a,r){const s=t.resolveComponent("fox-video"),i=t.resolveComponent("fox-swiper-item");return t.openBlock(),t.createBlock(i,{onClick:e.closeSwiper},{default:t.withCtx(()=>[t.createElementVNode("view",{style:t.normalizeStyle(e.imageStyle),class:"fox-image-preview-box",onTouchstart:o[1]||(o[1]=(...c)=>e.onTouchStart&&e.onTouchStart(...c)),onTouchmove:o[2]||(o[2]=(...c)=>e.onTouchMove&&e.onTouchMove(...c)),onTouchend:o[3]||(o[3]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c)),onTouchcancel:o[4]||(o[4]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[e.image&&e.image.src?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.image.src,class:"fox-image-preview-img",onLoad:o[0]||(o[0]=(...c)=>e.imageLoad&&e.imageLoad(...c))},null,40,vS)):t.createCommentVNode("",!0),e.video&&e.video.source?(t.openBlock(),t.createBlock(s,{key:1,source:e.video.source,options:e.video.options},null,8,["source","options"])):t.createCommentVNode("",!0)],36)]),_:1},8,["onClick"])}const HS=Z(KS,[["render",US]]),{create:jS}=j("image-preview"),WS=jS({props:{...hs,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:HS,CircleClose:te.CircleClose,[de.name]:de,[wt.name]:wt},setup(e,{emit:o}){const l=t.ref(),n=t.reactive({showPop:e.show,active:0,rootWidth:0,rootHeight:0}),a=t.computed(()=>{const m="fox-image-preview-close";return`fox-image-preview-close-icon ${e.closeIconPosition=="top-right"?`${m}-right`:`${m}-left`}`}),r=t.computed(()=>Zt(e.videos)?[].concat(e.videos).concat(e.images):e.images),s=m=>{m!==n.active&&(n.active=m,o("change",n.active))},i=()=>{ds(e.beforeClose,{args:[n.active],done:()=>c()})},c=()=>{n.showPop=!1,o("close")},u=()=>{if(l.value){const m=$e(l.value);n.rootHeight=m.height,n.rootWidth=m.width}};return t.watch(()=>e.show,m=>{n.showPop=m,m&&(s(e.initNo),u())}),t.watch(()=>e.initNo,m=>{m!=n.active&&s(m)}),t.onMounted(()=>{s(e.initNo)}),{swipeRef:l,...t.toRefs(n),onClose:i,mergeImages:r,setActive:s,iconClasses:a}}}),YS={class:"fox-image-preview",ref:"swipeRef"},XS={key:0,class:"fox-image-preview-index"};function QS(e,o,l,n,a,r){const s=t.resolveComponent("image-preview-item"),i=t.resolveComponent("fox-swiper"),c=t.resolveComponent("CircleClose"),u=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(u,{"pop-class":"fox-image-preview-custom-pop",visible:e.showPop,"onUpdate:visible":o[1]||(o[1]=m=>e.showPop=m),teleportDisable:e.teleportDisable,teleport:e.teleport,onClosed:e.onClose,"lock-scroll":""},{default:t.withCtx(()=>[t.createElementVNode("view",YS,[e.showPop?(t.openBlock(),t.createBlock(i,{key:0,"auto-play":e.autoplay,class:"fox-image-preview-swiper",loop:e.isLoop,"is-preventDefault":!1,direction:"horizontal",onChange:e.setActive,"init-page":e.initNo,"pagination-visible":e.paginationVisible,"pagination-color":e.paginationColor},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.mergeImages,(m,h)=>(t.openBlock(),t.createBlock(s,{key:h,video:h<e.videos.length?m:{},image:h>=e.videos.length?m:{},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"])):t.createCommentVNode("",!0)],512),e.showIndex?(t.openBlock(),t.createElementBlock("view",XS,t.toDisplayString(e.active+1)+" / "+t.toDisplayString(e.mergeImages.length),1)):t.createCommentVNode("",!0),e.closeable?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(e.iconClasses),onClick:o[0]||(o[0]=(...m)=>e.onClose&&e.onClose(...m))},[t.renderSlot(e.$slots,"close-icon",{},()=>[t.createVNode(c,{color:"#ffffff"})])],2)):t.createCommentVNode("",!0)]),_:3},8,["visible","teleportDisable","teleport","onClosed"])}const gs=Z(WS,[["render",QS]]);class GS{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"}class ZS{options=new GS;constructor(o){const l=Object.assign(this.options,o),{unmount:n}=Zs(l,{name:"image-preview",components:[de,Ct,wt,Nt,lt],wrapper:()=>({setup(){return()=>(l.onClose=()=>{l.show=!1,t.nextTick(()=>{n()})},t.h(gs,l))}})})}}const Uo=e=>new ZS(e);Uo.install=e=>{e.use(gs)};function JS(e){const o=t.getCurrentInstance();if(o&&o.proxy){let l=o.proxy;Object.assign(l,e)}}const{componentName:ZB,create:_S}=j("countup"),e0=_S({props:{initNum:{type:Number,default:0},endNum:{type:Number,default:0},speed:{type:Number,default:1},toFixed:{type:Number,default:0},during:{type:Number,default:1e3},startFlag:{type:Boolean,default:!0},numWidth:{type:Number,default:20},numHeight:{type:Number,default:20},scrolling:{type:Boolean,default:!1},customBgImg:{type:String,default:""},customSpacNum:{type:Number,default:0},customChangeNum:{type:Number,default:1},type:{type:String,default:""},machineNum:{type:Number,default:3},machinePrizeNum:{type:Number,default:0},machinePrizeLevel:{type:Number,default:0},machineTurnMore:{type:Number,default:0}},components:{},emits:["click","scroll-end"],setup(e,{emit:o}){const l=t.ref(null),n=t.ref([]),a=D=>{D&&n.value.push(D)},r=t.reactive({valFlag:!1,current:0,sortFlag:"add",initDigit1:0,initDigit2:0,to0_10:[0,1,2,3,4,5,6,7,8,9,0],to10_0:[0,9,8,7,6,5,4,3,2,1,1],timer:null,totalCount:0,pointNum:0,numberVal:0,num_total_len:0,relNum:0,customNumber:1,prizeLevelTrun:0,prizeY:[],prizeYPrev:[],finshMachine:0,notPrize:[],typeMachine:""}),{startFlag:s,scrolling:i,customBgImg:c,type:u}=t.reactive(e);t.watch(()=>e.customChangeNum,(D,z)=>{h(),S(0)}),t.watch(()=>e.machinePrizeLevel,(D,z)=>{r.prizeLevelTrun=D}),t.watch(()=>e.initNum,(D,z)=>{r.current=D,r.valFlag=!1,m()}),t.watch(()=>e.endNum,(D,z)=>{r.current=e.initNum,r.valFlag=!1,m()});const m=()=>{if(r.valFlag)return!1;s&&(i||c?u!="machine"&&S():(y(),setTimeout(()=>{r.valFlag=!0},300)))},h=()=>{clearInterval(Number(r.timer)),r.timer=null},p=(D,z,N)=>{const B=(D.toString().split(".")[1]||"").length,R=(z.toString().split(".")[1]||"").length,L=Math.pow(10,Math.max(B,R));return N=="-"?Number((D*L-z*L).toFixed(0))/L:Number((D*L+z*L).toFixed(0))/L},k=D=>{let{num_total_len:z,pointNum:N,initDigit1:B,initDigit2:R,sortFlag:L}=r,$=L=="add"||L=="equal"?String(R)[D-(z-N)]:10-Number(String(R)[D-(z-N)]),T=L=="add"||L=="equal"?String(B)[D]:10-Number(String(B)[D]),q=D>z-N-1?-$*100+"%":D<=String(B).length-1?-T*100+"%":0;return q=="-1000%"&&(q=0),q},g=D=>{let{num_total_len:z,pointNum:N,initDigit1:B,initDigit2:R,sortFlag:L}=r,$=String(R)[D-(z-N)];return D>z-N-1?$||0:D<=String(B).length-1?String(B)[D]:0},y=()=>{let{endNum:D,initNum:z,speed:N,toFixed:B}=e,R=setInterval(()=>{if(z>D)if(r.current<=D||r.current<=N)r.current=D.toFixed(B),clearInterval(R),o("scroll-end"),r.valFlag=!1;else{let L=parseFloat(String(r.current))-parseFloat(String(N));r.current=L.toFixed(B)}else if(r.current>=D)r.current=D.toFixed(B),clearInterval(R),o("scroll-end"),r.valFlag=!1;else{let L=parseFloat(String(r.current))+parseFloat(String(N));r.current=L.toFixed(B)}},e.during)},S=D=>{let{initNum:z,endNum:N,toFixed:B,customBgImg:R}=e;R&&(z=e.customChangeNum);let L,$,T,q;z!=0?(B!=0&&(z=Number(z.toFixed(B))),String(z).indexOf(".")>-1?(L=String(z).split(".")[0].length,$=String(z).split(".")[1].length):(L=String(z).length,$=0)):(L=1,$=0),N!=0?(B!=0&&(N=Number(N.toFixed(B))),String(N).indexOf(".")>-1?(T=String(N).split(".")[0].length,q=String(N).split(".")[1].length):(T=String(N).length,q=0)):(T=1,q=0);let A=L>=T?L:T,O=$>=q?$:q;r.num_total_len=A+O,r.pointNum=O,z>N?(r.sortFlag="reduce",r.to0_10=[0,9,8,7,6,5,4,3,2,1,0],r.totalCount=p(z,N,"-"),r.numberVal=Number(String(z))):z<N?(r.sortFlag="add",r.to0_10=[0,1,2,3,4,5,6,7,8,9,0],r.totalCount=p(N,z,"-"),r.numberVal=Number(String(N))):r.sortFlag="equal";var x=1;for(let F=0;F<r.pointNum;F++)x*=10;var M=r.numberVal*x;if(r.relNum=M,B!=0&&(r.pointNum=String(r.numberVal).split(".")[1]?String(r.numberVal).split(".")[1].length:0,r.num_total_len=String(M).length),String(z).indexOf(".")>-1){let F=String(z).split(".");r.initDigit1=Number(F[0]),r.initDigit2=Number(F[1])}else r.initDigit1=z,r.initDigit2=0;i&&!R?t.nextTick(()=>{if(r.sortFlag=="equal")return!1;let F=n.value[r.num_total_len-1];d(F)}):D!==0&&w()},d=D=>{h();var z=1;r.pointNum!=0&&(z=1/Math.pow(10,r.pointNum)),r.timer=setInterval(()=>{f(D),r.totalCount=p(r.totalCount,z,"-"),r.totalCount<=0&&(h(),o("scroll-end"),r.valFlag=!1)},e.during)},f=D=>{let z=D.getAttribute("turn-number"),N;if(r.sortFlag=="add"?N=parseInt(String(z))+1:N=parseInt(String(z))-1>=0?parseInt(String(z))-1:9,D.setAttribute("turn-number",String(N)),(D.style.transition=="none 0s ease 0s"||N==1||!D.style.transition)&&(D.style.transition=`all linear ${e.during}ms`),N==10||r.sortFlag=="reduce"&&N==0){var B=null;D.style.top=`-${r.sortFlag=="add"?N*100:(10-N)*100}%`,D.setAttribute("turn-number","0"),B=setTimeout(()=>{B&&clearTimeout(B),D.style.transition="none",D.style.top="0",b(D,N)},.975*e.during)}else D.style.top=`-${r.sortFlag=="add"?N*100:(10-N)*100}%`;D.style.top=="-100%"&&r.sortFlag=="reduce"&&f(D.previousSibling)},b=(D,z)=>{setTimeout(()=>{z==10&&D.previousSibling&&f(D.previousSibling)},200)},w=()=>{r.pointNum!=0&&Math.pow(10,r.pointNum),t.nextTick(()=>{l.value.addEventListener("webkitTransitionEnd",()=>{o("scroll-end"),r.valFlag=!1})})},V=()=>{for(r.notPrize=[];r.notPrize.length<3;){var D=Math.floor(Math.random()*e.machinePrizeNum+1);r.notPrize.indexOf(D)==-1&&r.notPrize.push(D)}};JS({machineLuck:()=>{const D=e.machineTurnMore<0?0:e.machineTurnMore;let z=e.numHeight*e.machinePrizeNum;r.prizeLevelTrun<0&&V();for(let N=0;N<e.machineNum;N++)setTimeout(()=>{let B=z*(N+1+parseFloat(String(D)));r.prizeYPrev.length!=0&&(r.prizeY[N]=r.prizeYPrev[N]);let R=r.prizeYPrev[N]?r.prizeYPrev[N]:0,L=B+R+(e.machinePrizeNum-r.prizeLevelTrun+1)*e.numHeight+(z-R);r.prizeLevelTrun<0&&(L+=e.numHeight*r.notPrize[N]),I(N,L,R)},500*N)}});const I=(D,z,N)=>{let B=setInterval(()=>{if(N<=z)N+=10,r.prizeY[D]=parseFloat(String(N));else if(clearInterval(B),B=null,r.finshMachine+=1,r.prizeY[D]=z,r.finshMachine==e.machineNum){let R=e.numHeight*e.machinePrizeNum;r.prizeYPrev=[],JSON.parse(JSON.stringify(r.prizeY)).forEach($=>{let T=$;for(;T>R;)T-=R;r.prizeYPrev.push(T)}),setTimeout(()=>{r.finshMachine=0,r.prizeLevelTrun<0?(o("scroll-end",!1),r.valFlag=!1):(o("scroll-end",!0),r.valFlag=!1)},130)}},30)};return t.onMounted(()=>{r.current=e.initNum,t.nextTick(()=>{m()})}),t.onUnmounted(()=>{h(),r.timer=null}),{...t.toRefs(r),...t.toRefs(t.reactive(e)),runNumberImg:l,setRef:a,topNumber:k,turnNumber:g}}}),t0={class:"fox-countup"},o0=["turn-number"];function n0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",t0,[e.customBgImg!=""?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.type=="machine"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-countup__machine",style:t.normalizeStyle({height:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.machineNum,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-countup__machine-item",key:"mImg"+i,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionY:e.prizeY[i]+"px"})},null,4))),128))],4)):(t.openBlock(),t.createElementBlock("view",{key:1,ref:"runNumberImg",class:"fox-countup__numberimg",style:t.normalizeStyle({height:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.num_total_len,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-countup__numberimg__item",key:"cImg"+i,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",left:e.numWidth*(i>e.num_total_len-e.pointNum-1?i==e.num_total_len-e.pointNum?i*1.5:i*1.3:i)+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionX:"0",backgroundPositionY:-(+String(e.relNum)[i]*e.numHeight+e.customSpacNum*+String(e.relNum)[i])+"px",transition:"all linear "+e.during/10+"ms"})},null,4))),128)),e.pointNum>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-countup-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:"fox-countup__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,(s,i)=>(t.openBlock(),t.createElementBlock("view",{ref_for:!0,ref:c=>e.setRef(c),class:"fox-countup__number-item",key:s,style:t.normalizeStyle({top:e.topNumber(i),left:e.numWidth*(i>e.num_total_len-e.pointNum-1?i*1.1:i)+"px"}),"turn-number":e.turnNumber(i)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.to0_10,(c,u)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-countup__number-item__span",key:"dote"+u,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},t.toDisplayString(c),5))),128))],12,o0))),128)),e.pointNum>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-countup-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 Ql=Z(e0,[["render",n0]]),l0=e=>{if(!e)return Date.now();let o=Number(e),l=o>0?+o:o.toString().replace(/\-/g,"/");return new Date(l).getTime()},{componentName:a0,create:r0}=j("countdown"),s0=r0({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:o,slots:l}){const n=t.reactive({restTime:0,timer:null,counting:!e.paused&&e.autoStart,handleEndTime:Date.now(),diffTime:0}),a=t.computed(()=>({[a0]:!0})),r=t.computed(()=>c(n.restTime)),s=()=>{n.handleEndTime=e.endTime,n.diffTime=Date.now()-l0(e.startTime),n.counting||(n.counting=!0),i()},i=()=>{window!==void 0&&(n.timer=requestAnimationFrame(()=>{if(n.counting){const k=Date.now()-n.diffTime,g=Math.max(n.handleEndTime-k,0);n.restTime=g,g||(n.counting=!1,h(),o("on-end")),g>0&&i()}}))},c=(k,g)=>{const y=k;let S={d:0,h:0,m:0,s:0,ms:0};const d=1e3,f=60*d,b=60*f,w=24*b;return y>0&&(S.d=y>=d?Math.floor(y/w):0,S.h=Math.floor(y%w/b),S.m=Math.floor(y%b/f),S.s=Math.floor(y%f/d),S.ms=Math.floor(y%d)),g=="custom"?S:u({...S})},u=k=>{let{d:g,h:y,m:S,s:d,ms:f}=k,b=e.format;if(b.includes("DD")?b=b.replace("DD",et(g)):y+=Number(g)*24,b.includes("HH")?b=b.replace("HH",et(y)):S+=Number(y)*60,b.includes("mm")?b=b.replace("mm",et(S)):d+=Number(S)*60,b.includes("ss")?b=b.replace("ss",et(d)):f+=Number(d)*1e3,b.includes("S")){const w=et(f,3).toString();b.includes("SSS")?b=b.replace("SSS",w):b.includes("SS")?b=b.replace("SS",w.slice(0,2)):b.includes("S")&&(b=b.replace("SS",w.slice(0,1)))}return b},m=()=>{!n.counting&&!e.autoStart&&(n.counting=!0,n.handleEndTime=Date.now()+Number(n.restTime),i(),o("on-restart",n.restTime))},h=()=>{cancelAnimationFrame(n.timer),n.counting=!1,o("on-paused",n.restTime)},p=()=>{e.autoStart||(h(),n.restTime=e.time)};return t.onBeforeMount(()=>{e.autoStart?s():n.restTime=e.time}),t.watch(()=>n.restTime,k=>{let g=c(k,"custom");o("update:modelValue",g),o("input",g)}),t.watch(()=>e.paused,(k,g)=>{g?(n.counting||(n.counting=!0,n.handleEndTime=Date.now()+Number(n.restTime),i()),o("on-restart",n.restTime)):n.counting&&h()}),t.watch(()=>e.endTime,k=>{s()}),t.watch(()=>e.startTime,k=>{s()}),{...t.toRefs(e),slots:l,classes:a,start:m,pause:h,renderTime:r,reset:p}}}),i0=["innerHTML"];function c0(e,o,l,n,a,r){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:"fox-countdown__content",innerHTML:e.renderTime},null,8,i0))],2)}const Gl=Z(s0,[["render",c0]]),{create:d0}=j("badge"),u0=d0({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){const o=t.reactive({}),l=t.computed(()=>({top:`${e.top}px`,right:`${e.right}px`,zIndex:e.zIndex,background:e.color})),n=t.computed(()=>{if(e.dot)return;const a=e.value,r=e.max;return typeof a=="number"&&typeof r=="number"&&r<a?`${r}+`:a});return{state:o,stl:l,content:n}}}),f0={class:"fox-badge"},m0=["textContent"];function p0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",f0,[t.withDirectives(t.createElementVNode("view",{class:"fox-badge__icon",style:t.normalizeStyle(e.stl)},[t.renderSlot(e.$slots,"icon")],4),[[t.vShow,!e.hidden&&!e.dot&&e.$slots.icon]]),t.renderSlot(e.$slots,"default"),t.withDirectives(t.createElementVNode("view",{textContent:t.toDisplayString(e.content),class:t.normalizeClass(["fox-badge__content fox-badge__content--sup",{"fox-badge__content--dot":e.dot,"fox-badge__content--bubble":!e.dot&&e.bubble}]),style:t.normalizeStyle(e.stl)},null,14,m0),[[t.vShow,!e.hidden&&(e.content||e.dot)]])])}const Zl=Z(u0,[["render",p0]]),{componentName:h0,create:g0}=j("tag"),y0=g0({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}},components:{Close:te.Close},emits:["close","click"],setup(e,{emit:o}){return{classes:t.computed(()=>{const s=h0;return{[s]:!0,[`${s}--${e.type}`]:!0,[`${s}--plain`]:e.plain,[`${s}--round`]:e.round,[`${s}--mark`]:e.mark,[`${s}--symbol`]:e.symbol,[`${s}--text`]:e.text}}),getStyle:()=>{const s={};return e.textColor?s.color=e.textColor:(e.color&&e.plain||e.color&&e.text)&&(s.color=e.color),e.plain?(s.background="#fff",s["border-color"]=e.color):!e.text&&e.color&&(s.background=e.color),s},onClose:s=>{s.stopPropagation(),o("close",s)},onClick:s=>{o("click",s)}}}});function k0(e,o,l,n,a,r){const s=t.resolveComponent("Close");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.getStyle()),onClick:o[0]||(o[0]=(...i)=>e.onClick&&e.onClick(...i))},[t.renderSlot(e.$slots,"default"),e.closeable?(t.openBlock(),t.createBlock(s,{key:0,class:"fox-tag--close",onClick:e.onClose},null,8,["onClick"])):t.createCommentVNode("",!0)],6)}const Wt=Z(y0,[["render",k0]]),{create:b0}=j("popover"),S0=b0({components:{FoxPopup:de},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:o}){const l=t.ref(),n=t.ref(),a=t.ref(e.visible);let r=t.ref(),s=t.ref();const i=t.computed(()=>{const f="fox-popover-arrow",b=e.location,w=b.split("-")[0];return`${f} ${f}-${w} ${f}--${b}`}),c=t.computed(()=>{const f={},{bgColor:b,arrowOffset:w,location:V}=e,E=V.split("-")[0],I=V.split("-")[1],D=16;return b&&(f[`border${u(E)}Color`]=b),e.arrowOffset!=0&&(["bottom","top"].includes(E)&&(I||(f.left=`calc(50% + ${w}px)`),I=="start"&&(f.left=`${D+w}px`),I=="end"&&(f.right=`${D-w}px`)),["left","right"].includes(E)&&(I||(f.top=`calc(50% - ${w}px)`),I=="start"&&(f.top=`${D-w}px`),I=="end"&&(f.bottom=`${D+w}px`))),f}),u=f=>(f=f.toLowerCase(),f=f.replace(/\b\w+\b/g,b=>b.substring(0,1).toUpperCase()+b.substring(1)),f),m=t.computed(()=>{let f={};if(!r.value||!s.value)return{};const b=s.value.width,w=s.value.height,{width:V,height:E,left:I,top:D}=r.value,{location:z,offset:N}=e,B=z.split("-")[0],R=z.split("-")[1];let L=0,$=0;if(Zt(N)&&N.length==2&&(L+=Number(N[1]),$+=Number(N[0])),V){if(["bottom","top"].includes(B)){const T=B=="bottom"?E+L:-(w+L);f.top=`${D+T}px`,R||(f.left=`${-(b-V)/2+I+$}px`),R=="start"&&(f.left=`${I+$}px`),R=="end"&&(f.left=`${r.value.right+$}px`)}if(["left","right"].includes(B)){const T=B=="left"?-(b+L):V+L;f.left=`${I+T}px`,R||(f.top=`${D-w/2+E/2-4+$}px`),R=="start"&&(f.top=`${D+$}px`),R=="end"&&(f.top=`${D+E+$}px`)}}return f}),h=t.computed(()=>{const f={};return e.bgColor&&(f.background=e.bgColor),f}),p=()=>{let f=$e(l.value);e.targetId&&(f=$e(document.querySelector(`#${e.targetId}`))),r.value=f,setTimeout(()=>{s.value={height:n.value?.clientHeight,width:n.value?.clientWidth}},0)};t.onMounted(()=>{setTimeout(()=>{p()},200)}),t.watch(()=>e.visible,f=>{a.value=f,f?(window.addEventListener("touchstart",d,!0),p()):window.removeEventListener("touchstart",d,!0)});const k=f=>{o("update",f),o("update:visible",f)},g=()=>{k(!e.visible),o("open")},y=()=>{o("update:visible",!1),o("close")},S=(f,b)=>{!f.disabled&&o("choose",f,b),e.closeOnClickAction&&y()},d=f=>{const b=l.value,w=n.value;let V=b&&!b.contains(f.target);if(e.targetId){const E=document.querySelector(`#${e.targetId}`);V=E&&!E.contains(f.target)}V&&w&&!w.contains(f.target)&&e.closeOnClickOutside&&y()};return{showPopup:a,openPopover:g,popoverArrow:i,closePopover:y,chooseItem:S,popoverRef:l,popoverContentRef:n,getRootPosition:m,customStyle:h,popoverArrowStyle:c,renderIcon:tr}}}),C0={ref:"popoverContentRef",class:"fox-popover-content-group"},w0=["onClick"],N0={class:"fox-popover-menu-item-name"};function B0(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock(t.Fragment,null,[e.targetId?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,ref:"popoverRef",class:"fox-popover-wrapper",onClick:o[0]||(o[0]=(...i)=>e.openPopover&&e.openPopover(...i))},[t.renderSlot(e.$slots,"reference")],512)),t.createElementVNode("view",{class:t.normalizeClass(["fox-popover",`fox-popover--${e.theme}`,`${e.customClass}`]),style:t.normalizeStyle(e.getRootPosition)},[t.createVNode(s,{visible:e.showPopup,"onUpdate:visible":o[1]||(o[1]=i=>e.showPopup=i),"pop-class":`fox-popover-content fox-popover-content--${e.location}`,style: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:t.withCtx(()=>[t.createElementVNode("view",C0,[e.showArrow?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.popoverArrow),style:t.normalizeStyle(e.popoverArrowStyle)},null,6)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content"),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.list,(i,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass([i.className,i.disabled&&"fox-popover-menu-disabled","fox-popover-menu-item"]),onClick:t.withModifiers(u=>e.chooseItem(i,c),["stop"])},[i.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(i.icon)),{key:0,class:"fox-popover-item-img"})):t.createCommentVNode("",!0),t.createElementVNode("view",N0,t.toDisplayString(i.name),1)],10,w0))),128))],512)]),_:3},8,["visible","pop-class","style","teleport-disable","overlay","duration","overlay-style","overlay-class","close-on-click-overlay"])],6)],64)}const Yt=Z(S0,[["render",B0]]),A0=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(o){const{avatarShape:l,round:n,avatarSize:a}=t.toRefs(o),r=t.computed(()=>{const c="avatarClass";return{[c]:!0,[`${c}--${l.value}`]:l.value}});return{avatarShape:l,avatarClass:r,getBlockClass:c=>({[c]:!0,[`${c}--round`]:n.value}),getStyle:()=>a.value?{width:a.value,height:a.value}:{width:"50px",height:"50px"}}}}),{create:V0}=j("skeleton"),T0=V0(A0({[jt.name]:jt})),$0={key:0},E0={key:1,class:"fox-skeleton"},D0={key:0,class:"fox-skeleton-animation"},I0={class:"fox-skeleton-content"};function q0(e,o,l,n,a,r){const s=t.resolveComponent("fox-avatar");return e.loading?(t.openBlock(),t.createElementBlock("view",E0,[e.animated?(t.openBlock(),t.createElementBlock("view",D0)):t.createCommentVNode("",!0),t.createElementVNode("view",I0,[e.avatar?(t.openBlock(),t.createBlock(s,{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:"fox-skeleton-content__line",style:t.normalizeStyle({width:e.width})},[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.getBlockClass("fox-skeleton-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),i=>(t.openBlock(),t.createElementBlock("view",{key:i,class:t.normalizeClass(e.getBlockClass("fox-skeleton-blockLine")),style:t.normalizeStyle({height:e.height})},null,6))),128))],4)])])):(t.openBlock(),t.createElementBlock("view",$0,[t.renderSlot(e.$slots,"default")]))}const Jl=Z(T0,[["render",q0]]),{create:z0,componentName:M0}=j("collapse"),P0=z0({props:{modelValue:{type:[String,Number,Array],default:""},accordion:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{emit:o}){const l=t.ref(null),n=t.ref(e.modelValue||(e.accordion?"":[])),a=t.computed(()=>({[M0]:!0}));t.watch(()=>e.modelValue,c=>{n.value=c});const r=(c,u,m=!0)=>{n.value=c,o("update:modelValue",c),o("change",c,u,m)},s=c=>{if(e.accordion)n.value===c?r("",c,!1):r(c,c,!0);else if(Array.isArray(n.value))if(n.value.includes(c)){const u=n.value.filter(m=>m!==c);r(u,c,!1)}else{const u=n.value.concat([c]);r(u,c,!0)}else console.warn("[FoxUI] <Collapse> 未开启手风琴模式时 v-model 应为数组")},i=c=>e.accordion?n.value===c:Array.isArray(n.value)?n.value.includes(c):!1;return t.provide("collapseParent",{updateVal:s,isExpanded:i}),{collapseDom:l,classes:a}}});function R0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"collapseDom"},[t.renderSlot(e.$slots,"default")],2)}const _l=Z(P0,[["render",R0]]),{create:x0,componentName:L0}=j("collapse-item"),O0=x0({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:te.DownArrow},rotate:{type:[String,Number],default:180}},setup(e){const o=t.ref(null),l=t.ref(null),n=t.inject("collapseParent"),a=t.reactive(n),r=t.computed(()=>{const p=L0;return{[p]:!0,[p+"__border"]:e.border}}),s=t.computed(()=>a?a.isExpanded(e.name):!1),i=t.ref(s.value?"auto":"0px"),c=()=>{a.updateVal(e.name)},u=()=>{s.value&&(i.value="auto")},m=()=>{i.value="0px",requestAnimationFrame(()=>{requestAnimationFrame(()=>{const p=l.value?.offsetHeight;i.value=p?`${p}px`:"auto"})})},h=()=>{const p=l.value?.offsetHeight;i.value=p?`${p}px`:"auto",requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.value="0px"})})};return t.watch(s,p=>{p?m():h()}),{classes:r,renderIcon:tr,wrapperRef:o,contentRef:l,open:m,toggle:c,wrapperHeight:i,expanded:s,onTransitionEnd:u}}}),F0={class:"fox-collapse-item__title-main"},K0={class:"fox-collapse-item__title-main-value"},v0=["innerHTML"],U0={key:2,class:"fox-collapse-item__title-label"},H0={key:0,class:"fox-collapse-item__title-sub"},j0=["innerHTML"],W0={key:0,class:"fox-collapse__item-extraWrapper"},Y0={class:"fox-collapse__item-extraWrapper__extraRender"},X0={class:"fox-collapse__item-wrapper__content",ref:"contentRef"};function Q0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["fox-collapse-item__title",{"fox-collapse-item__title--disabled":e.disabled}]),onClick:o[0]||(o[0]=(...s)=>e.toggle&&e.toggle(...s))},[t.createElementVNode("view",F0,[t.createElementVNode("view",K0,[e.$slots.title?t.renderSlot(e.$slots,"title",{key:0}):(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.title,class:"fox-collapse-item__title-mtitle"},null,8,v0)),e.label?(t.openBlock(),t.createElementBlock("view",U0,t.toDisplayString(e.label),1)):t.createCommentVNode("",!0)])]),e.$slots.value?(t.openBlock(),t.createElementBlock("view",H0,[t.renderSlot(e.$slots,"value")])):(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.value,class:"fox-collapse-item__title-sub"},null,8,j0)),t.createElementVNode("view",{class:t.normalizeClass(["fox-collapse-item__title-icon",{"fox-collapse-item__title-icon--expanded":e.expanded}]),style:t.normalizeStyle({transform:"rotate("+(e.expanded?e.rotate:0)+"deg)"})},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon(e.icon))))],6)],2),e.$slots.extra?(t.openBlock(),t.createElementBlock("view",W0,[t.createElementVNode("div",Y0,[t.renderSlot(e.$slots,"extra")])])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-collapse__item-wrapper",ref:"wrapperRef",style:t.normalizeStyle({willChange:"height",height:e.wrapperHeight}),onTransitionend:o[1]||(o[1]=(...s)=>e.onTransitionEnd&&e.onTransitionEnd(...s))},[t.createElementVNode("view",X0,[t.renderSlot(e.$slots,"default")],512)],36)],2)}const ea=Z(O0,[["render",Q0]]),G0=t.defineComponent({setup(e){return()=>t.h("view",{},e.slots[0]?e.slots[0](e.record):e.slots[1](e.record))},props:{slots:Array,record:Object}}),{componentName:Z0,create:J0,scope:_0}=j("table"),eC=J0({components:{RenderColumn:G0,DownArrow:te.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:o,slots:l}){const{t:n}=se.useFoxI18n(_0),a=t.reactive({curData:e.data}),r=t.computed(()=>({[Z0]:!0})),s=k=>({"fox-table__main__head__tr--border":e.bordered,[`fox-table__main__head__tr--align${k.align?k.align:""}`]:!0}),i=k=>k.stylehead?k.stylehead:"",c=k=>k.stylecolumn?k.stylecolumn:"",u=k=>e.columns.filter(g=>g.key===k)[0],m=k=>{const g=e.columns.filter(y=>y.key===k);return g[0].stylecolumn?g[0].stylecolumn:""},h=k=>{k.sorter&&(o("sorter",k),a.curData=typeof k.sorter=="function"?a.curData.sort(k.sorter):k.sorter==="default"?a.curData.sort():a.curData)},p=()=>e.columns.map(k=>[k.key,k.render]);return t.watch(()=>e.data,k=>{a.curData=k.slice()}),{...t.toRefs(a),classes:r,cellClasses:s,getColumnItem:u,getColumnItemStyle:m,handleSorterClick:h,sortDataItem:p,t:n,stylehead:i,stylecolumn:c}}}),tC={class:"fox-table__main__head"},oC={class:"fox-table__main__head__tr"},nC=["onClick"],lC={class:"fox-table__main__body"},aC={key:1},rC={key:0,class:"fox-table__nodata"},sC={key:0,class:"fox-table__nodata__text"},iC={key:1,class:"fox-table__summary"},cC=["innerHTML"];function dC(e,o,l,n,a,r){const s=t.resolveComponent("DownArrow"),i=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",tC,[t.createElementVNode("view",oC,[(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:u=>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(s,{key:0,width:"12px",height:"12px"})):t.createCommentVNode("",!0)],14,nC))),128))])]),t.createElementVNode("view",lC,[(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(),([u,m])=>(t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["fox-table__main__body__tr__td",e.cellClasses(e.getColumnItem(u))]),key:u,style:t.normalizeStyle(e.getColumnItemStyle(u))},[typeof c[u]=="function"||typeof m=="function"?(t.openBlock(),t.createBlock(i,{key:0,slots:[m,c[u]],record:c},null,8,["slots","record"])):(t.openBlock(),t.createElementBlock("view",aC,t.toDisplayString(c[u]),1))],6))),128))]))),128))])],2),e.curData.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",rC,[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",sC,t.toDisplayString(e.t("noData")),1))],2)])),e.summary?(t.openBlock(),t.createElementBlock("view",iC,[t.createElementVNode("span",{class:"fox-table__summary__text",innerHTML:e.summary().value},null,8,cC)])):t.createCommentVNode("",!0)],2)}const ta=Z(eC,[["render",dC]]),{componentName:uC,create:fC}=j("ellipsis"),mC=fC({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:o}){const l=t.ref(null);let n=null,a=0;const r=t.ref(),s=t.reactive({exceeded:!1,expanded:!1}),i=t.computed(()=>({[uC]:!0}));t.watch(()=>e.content,(y,S)=>{y!=S&&c()}),t.onMounted(()=>{c()});const c=()=>{if(!l.value)return;const y=window.getComputedStyle(l.value);n=document.createElement("div"),Array.prototype.slice.apply(y).forEach(f=>{n.style.setProperty(f,y.getPropertyValue(f))}),n.style.position="fixed",n.style.left="999999px",n.style.top="999999px",n.style.zIndex="-1000",n.style.height="auto",n.style.minHeight="auto",n.style.maxHeight="auto",n.style.textOverflow="clip",n.style.whiteSpace="normal",n.style.webkitLineClamp="unset",n.style.display="block";const d=p(y.lineHeight==="normal"?e.lineHeight:y.lineHeight);a=Math.floor(d*(Number(e.rows)+.5)+p(y.paddingTop)+p(y.paddingBottom)),n.innerText=e.content,document.body.appendChild(n),u()},u=()=>{if(n.offsetHeight<=a)s.exceeded=!1,document.body.removeChild(n);else{s.exceeded=!0;const y=e.content.length,S=Math.floor((0+y)/2),d=e.direction==="middle"?h([0,S],[S,y]):m(0,y);r.value=d,document.body.removeChild(n)}},m=(y,S)=>{const d=s.expanded?e.collapseText:e.expandText,f=e.content.length;if(S-y<=1)return e.direction==="end"?{leading:e.content.slice(0,y)+e.symbol}:{tailing:e.symbol+e.content.slice(S,f)};const b=Math.round((y+S)/2);return e.direction==="end"?n.innerText=e.content.slice(0,b)+e.symbol+d:n.innerText=d+e.symbol+e.content.slice(b,f),n.offsetHeight<=a?e.direction==="end"?m(b,S):m(y,b):e.direction==="end"?m(y,b):m(b,S)},h=(y,S)=>{const d=s.expanded?e.collapseText:e.expandText,f=e.content.length;if(y[1]-y[0]<=1&&S[1]-S[0]<=1)return{leading:e.content.slice(0,y[0])+e.symbol,tailing:e.symbol+e.content.slice(S[1],f)};const b=Math.floor((y[0]+y[1])/2),w=Math.ceil((S[0]+S[1])/2);return n.innerText=e.content.slice(0,b)+e.symbol+d+e.symbol+e.content.slice(w,f),n.offsetHeight<=a?h([b,y[1]],[S[0],w]):h([y[0],b],[w,S[1]])},p=y=>{if(!y)return 0;const S=y.match(/^\d*(\.\d*)?/);return S?Number(S[0]):0},k=y=>{y==1?(s.expanded=!0,o("change","expand")):(s.expanded=!1,o("change","collapse"))},g=()=>{o("click")};return{...t.toRefs(s),root:l,ellipsis:r,classes:i,clickHandle:k,handleClick:g}}}),pC={key:0},hC={key:1},gC={key:2};function yC(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[2]||(o[2]=(...s)=>e.handleClick&&e.handleClick(...s)),ref:"root"},[e.exceeded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",pC,t.toDisplayString(e.content),1)),e.exceeded&&!e.expanded?(t.openBlock(),t.createElementBlock("view",hC,[t.createTextVNode(t.toDisplayString(e.ellipsis&&e.ellipsis.leading),1),e.expandText?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-ellipsis__text",onClick:o[0]||(o[0]=t.withModifiers(s=>e.clickHandle(1),["stop"]))},t.toDisplayString(e.expandText),1)):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(e.ellipsis&&e.ellipsis.tailing),1)])):t.createCommentVNode("",!0),e.exceeded&&e.expanded?(t.openBlock(),t.createElementBlock("view",gC,[t.createTextVNode(t.toDisplayString(e.content)+" ",1),e.expandText?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-ellipsis__text",onClick:o[1]||(o[1]=t.withModifiers(s=>e.clickHandle(2),["stop"]))},t.toDisplayString(e.collapseText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2)}const oa=Z(mC,[["render",yC]]),{componentName:kC,create:bC}=j("animate"),SC=bC({props:{type:{type:String,default:""},action:{type:String,default:"initial"},loop:{type:Boolean,default:!1},duration:{type:[String,Number]}},emits:["click"],setup(e,{emit:o}){const{type:l,loop:n,action:a}=t.toRefs(e),r=t.reactive({clicked:!1});let s=t.computed(()=>({"fox-animate__container":!0,[`${kC}-${l.value}`]:a.value==="initial"||r.clicked?l.value:!1,loop:n.value}));const i=c=>{r.clicked=!0,n.value||setTimeout(()=>{r.clicked=!1},1e3),o("click",c)};return{...t.toRefs(r),classes:s,handleClick:i}}}),CC={class:"fox-animate"};function wC(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",CC,[t.createElementVNode("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=(...s)=>e.handleClick&&e.handleClick(...s)),style:t.normalizeStyle({animationDuration:e.duration?`${e.duration}ms`:void 0})},[t.renderSlot(e.$slots,"default")],6)])}const na=Z(SC,[["render",wC]]),{componentName:NC,create:BC}=j("watermark"),AC=BC({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:o}){const l=t.reactive({base64Url:""}),{zIndex:n,gapX:a,gapY:r,width:s,height:i,rotate:c,image:u,imageWidth:m,imageHeight:h,content:p,fontStyle:k,fontWeight:g,fontColor:y,fontSize:S,fontFamily:d}=e,f=()=>{const w=document.createElement("canvas"),V=window.devicePixelRatio,E=w.getContext("2d"),I=`${(a+s)*V}px`,D=`${(r+i)*V}px`,z=s*V,N=i*V;if(w.setAttribute("width",I),w.setAttribute("height",D),E){if(u){E.translate(z/2,N/2),E.rotate(Math.PI/180*Number(c));const B=new Image;B.crossOrigin="anonymous",B.referrerPolicy="no-referrer",B.src=u,B.onload=()=>{E.drawImage(B,-m*V/2,-h*V/2,m*V,h*V),E.restore(),l.base64Url=w.toDataURL()}}else if(p){E.textBaseline="middle",E.textAlign="center",E.translate(z/2,N/2),E.rotate(Math.PI/180*Number(c));const B=Number(S)*V;E.font=`${k} normal ${g} ${B}px/${N}px ${d}`,E.fillStyle=y,E.fillText(p,0,0),E.restore(),l.base64Url=w.toDataURL()}}else throw new Error("当前环境不支持Canvas")};f(),t.watch(()=>[n,a,r,s,i,c,u,m,h,p,k,g,y,S,d],()=>{f()});const b=t.computed(()=>{const w=NC;return{[w]:!0,[`${w}-full-page`]:e.fullPage}});return{...t.toRefs(l),classes:b}}});function VC(e,o,l,n,a,r){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 la=Z(AC,[["render",VC]]);function TC(e,o=2){return Object.is(parseFloat(e),NaN)?console.log(`传入的值:${e}不是一个数字`):(e=parseFloat(e),(Math.round((e+Number.EPSILON)*Math.pow(10,o))/Math.pow(10,o)).toFixed(o))}const{componentName:$C,create:EC}=j("trend-arrow"),DC=EC({components:{TriangleUp:te.TriangleUp,TriangleDown:te.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 o=t.reactive({rateTrend:e.rate>0}),l=t.computed(()=>({[$C]:!0})),n=t.computed(()=>{const{rate:r,digits:s,showSign:i,showZero:c}=e;o.rateTrend=r>0;const u=Math.abs(r);return!c&&r===0?"--":`${i&&r!==0?o.rateTrend?"+":"-":""}${TC(Number(u),s)}%`}),a=t.computed(()=>{const{dropColor:r,riseColor:s,syncTextColor:i,textColor:c,rate:u}=e;return{color:u===0?c:i?o.rateTrend?s:r:c}});return{...t.toRefs(o),classes:l,calcRate:n,calcStyle:a}}});function IC(e,o,l,n,a,r){const s=t.resolveComponent("TriangleUp"),i=t.resolveComponent("TriangleDown");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.arrowLeft?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-trend-arrow-icon-before fox-trend-arrow-rate",style:t.normalizeStyle(e.calcStyle)},t.toDisplayString(e.calcRate),5)),Number(e.rate)!==0&&e.rateTrend?t.renderSlot(e.$slots,"up-icon",{key:1},()=>[t.createVNode(s,{color:e.riseColor},null,8,["color"])]):t.createCommentVNode("",!0),Number(e.rate)!==0&&!e.rateTrend?t.renderSlot(e.$slots,"down-icon",{key:2},()=>[t.createVNode(i,{color:e.dropColor},null,8,["color"])]):t.createCommentVNode("",!0),e.arrowLeft?(t.openBlock(),t.createElementBlock("span",{key:3,class:"fox-trend-arrow-icon-after fox-trend-arrow-rate",style:t.normalizeStyle(e.calcStyle)},t.toDisplayString(e.calcRate),5)):t.createCommentVNode("",!0)],2)}const aa=Z(DC,[["render",IC]]),{create:qC}=j("tour"),zC=qC({components:{[Yt.name]:Yt,Close:te.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:o}){const l=t.reactive({showTour:e.modelValue,showPopup:!1,active:0}),n=t.ref({}),a=t.computed(()=>"fox-tour"),r=t.computed(()=>{const{offset:m,maskWidth:h,maskHeight:p}=e,{width:k,height:g,left:y,top:S}=n.value,d=[y+k/2,S+g/2],f=Number(h||k),b=Number(p||g);return{width:`${f+ +m[1]*2}px`,height:`${b+ +m[0]*2}px`,top:`${d[1]-b/2-+m[0]}px`,left:`${d[0]-f/2-+m[1]}px`}}),s=m=>{m=="next"?l.active=l.active+1:l.active=l.active-1,l.showPopup=!1,t.nextTick(()=>{l.showPopup=!0,i()}),o("change",l.active)},i=()=>{const m=document.querySelector(`#${e.steps[l.active].target}`),h=$e(m);n.value=h},c=()=>{l.showTour=!1,l.showPopup=!1,o("close",l.active),o("update:modelValue",!1)},u=()=>{e.closeOnClickOverlay&&c()};return t.onMounted(()=>{l.active=0,i()}),t.watch(()=>e.modelValue,m=>{m&&i(),l.active=0,l.showTour=m,l.showPopup=m}),{...t.toRefs(l),classes:a,maskStyle:r,changeStep:s,close:c,handleClickMask:u}}}),MC={key:0,class:"fox-tour-content"},PC={key:0,class:"fox-tour-content-top"},RC={class:"fox-tour-content-inner"},xC={class:"fox-tour-content-bottom"},LC={class:"fox-tour-content-bottom-init"},OC={class:"fox-tour-content-bottom-operate"},FC={key:1,class:"fox-tour-content fox-tour-content-tile"},KC={class:"fox-tour-content-inner"};function vC(e,o,l,n,a,r){const s=t.resolveComponent("Close"),i=t.resolveComponent("fox-popover");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[t.withDirectives(t.createElementVNode("div",{class:"fox-tour-masked",onClick:o[0]||(o[0]=(...c)=>e.handleClickMask&&e.handleClickMask(...c))},null,512),[[t.vShow,e.showTour]]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.steps,(c,u)=>(t.openBlock(),t.createElementBlock("div",{key:u,style:{height:"0"}},[u==e.active?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.showTour?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["fox-tour-mask",[e.mask?"":"fox-tour-mask-none"]]),style:t.normalizeStyle(e.maskStyle),id:"fox-tour-popid"},null,6)):t.createCommentVNode("",!0),t.createVNode(i,{visible:e.showPopup,"onUpdate:visible":o[5]||(o[5]=m=>e.showPopup=m),location:c.location||e.location,targetId:"fox-tour-popid",bgColor:e.bgColor,theme:e.theme,"close-on-click-outside":!1,offset:c.popoverOffset||[0,12],arrowOffset:c.arrowOffset||0},{content:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},()=>[e.type=="step"?(t.openBlock(),t.createElementBlock("div",MC,[e.showTitleBar?(t.openBlock(),t.createElementBlock("div",PC,[t.createElementVNode("div",{onClick:o[1]||(o[1]=(...m)=>e.close&&e.close(...m))},[t.createVNode(s,{class:"fox-tour-content-top-close"})])])):t.createCommentVNode("",!0),t.createElementVNode("div",RC,t.toDisplayString(c.content),1),t.createElementVNode("div",xC,[t.createElementVNode("div",LC,t.toDisplayString(e.active+1)+"/"+t.toDisplayString(e.steps.length),1),t.createElementVNode("div",OC,[t.renderSlot(e.$slots,"prev-step",{},()=>[e.active!=0&&e.showPrevStep?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-tour-content-bottom-operate-btn",onClick:o[2]||(o[2]=m=>e.changeStep("prev"))},t.toDisplayString(e.prevStepTxt),1)):t.createCommentVNode("",!0)]),e.steps.length-1==e.active?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:o[3]||(o[3]=(...m)=>e.close&&e.close(...m))},t.toDisplayString(e.completeTxt),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"next-step",{},()=>[e.steps.length-1!=e.active?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:o[4]||(o[4]=m=>e.changeStep("next"))},t.toDisplayString(e.nextStepTxt),1)):t.createCommentVNode("",!0)])])])])):t.createCommentVNode("",!0),e.type=="tile"?(t.openBlock(),t.createElementBlock("div",FC,[t.createElementVNode("div",KC,t.toDisplayString(c.content),1)])):t.createCommentVNode("",!0)])]),_:2},1032,["visible","location","bgColor","theme","offset","arrowOffset"])],64)):t.createCommentVNode("",!0)]))),128))],2)}const ra=Z(zC,[["render",vC]]),{componentName:JB,create:UC,scope:HC}=j("address"),jC=UC({components:{Location:te.Location,Location2:te.Location2,Check:te.Check,Close:te.Close,Left:te.Left,[de.name]:de,[Pt.name]:Pt},inheritAttrs:!1,props:{...nt,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:""},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:o}){const{t:l}=se.useFoxI18n(HC),n=t.ref(null),a=t.ref(null),r=t.ref(e.visible),s=t.ref(e.type),i=t.ref(0),c=t.ref(0),u=t.ref(["province","city","country","town"]),m=t.ref(null),h=t.ref([0,0,0,0]),p=t.computed(()=>{switch(i.value){case 0:return e.province;case 1:return e.city;case 2:return e.country;default:return e.town}}),k=T=>{if(!Array.isArray(T))throw new TypeError("params muse be array.");if(!T.length)return[];T.forEach(A=>{if(!A.title){console.warn("[NutUI] <Address> 请检查数组选项的 title 值是否有设置 ,title 为必填项 .");return}});const q=[];return T=T.sort((A,O)=>A.title.localeCompare(O.title)),T.forEach(A=>{const O=q.findIndex(x=>x.title===A.title);O<=-1?q.push({title:A.title,list:[].concat(A)}):q[O].list.push(A)}),q};let g=t.ref([]),y=t.reactive({});const S=t.ref("self"),d=t.ref(20),f=()=>{const T=e.modelValue,q=T.length;if(q>0){if(i.value=q-1,p.value.length==0){i.value=0;return}for(let A=0;A<q;A++){let O=[];switch(A){case 0:O=e.province;break;case 1:O=e.city;break;case 2:O=e.country;break;default:O=e.town}g.value[A]=O.filter(x=>x.id==T[A])[0]}w()}},b=(T,q)=>T&&T.name||i.value<q&&T?T.name:e.columnsPlaceholder[q]||l("select"),w=()=>{I(),t.nextTick(()=>{const T=a.value&&a.value.getElementsByClassName("active")[0];if(T){const q=T.offsetLeft;d.value=q||20}})},V=T=>{const q=i.value;c.value=i.value;const A={custom:u.value[q]};g.value[q]=T;for(let O=q+2;O<4;O++)g.value.splice(O,1);q<3?(i.value=q+1,w(),A.next=u.value[i.value],A.value=T,o("change",A)):(N(),o("update:modelValue"))},E=(T,q)=>{c.value=i.value,b(T,q)&&(i.value=q,w())},I=()=>{const T=m.value,q=c.value,A=h.value[i.value];T?.scrollTop&&(h.value[q]=T?.scrollTop),t.nextTick(()=>{T?.scrollTo({top:A,behavior:"auto"})})},D=T=>{const q=e.existAddress;let A={};q.forEach(O=>{O&&O.selectedAddress&&(A=O),O.selectedAddress=!1}),T.selectedAddress=!0,y=T,o("selected",A,T,q),N()},z=()=>{g.value=[],i.value=0,w()},N=(T="self")=>{S.value=T=="cross"?"cross":"self",r.value=!1},B=()=>{S.value="mask"},R=()=>{const T={addressIdStr:"",addressStr:"",province:g.value[0],city:g.value[1],country:g.value[2],town:g.value[3]},q={data:{},type:s.value};["custom","custom2"].includes(s.value)?([0,1,2,3].forEach(A=>{const O=g.value[A];T.addressIdStr+=`${A?"_":""}${O&&O.id||0}`,T.addressStr+=O&&O.name||""}),q.data=T):q.data=y,z(),S.value=="self"?o("close",q):o("close-mask",{closeWay:S}),o("update:visible",!1)},L=()=>{const T=s.value;s.value=T=="exist"?"custom":"exist",z(),o("switch-module",{type:s.value})},$=(T,q)=>{V(q)};return t.watch(()=>e.visible,T=>{r.value=T}),t.watch(()=>r.value,T=>{T&&f()}),{showPopup:r,privateType:s,tabIndex:i,tabName:u,selectedRegion:g,switchModule:L,closeWay:S,close:R,getTabName:b,nextAreaList:V,regionLine:n,tabRegion:a,lineDistance:d,changeRegionTab:E,selectedExist:D,clickOverlay:B,handClose:N,handleElevatorItem:$,initCustomSelected:f,...t.toRefs(e),t:l,regionList:p,transformData:k,scrollDom:m}}}),WC={class:"fox-address"},YC={class:"fox-address__header"},XC={class:"fox-address__header__title"},QC={key:0,class:"fox-address__custom"},GC={class:"fox-address__region",ref:"tabRegion"},ZC=["onClick"],JC={key:0,class:"active fox-address__region-item"},_C={key:0,class:"fox-address__detail"},ew={class:"fox-address__detail-list",ref:"scrollDom"},tw=["onClick"],ow={key:1,class:"fox-address__elevator-group"},nw={key:1,class:"fox-address__exist"},lw={class:"fox-address__exist-group"},aw={class:"fox-address__exist-group-list"},rw=["onClick"],sw={class:"fox-address__exist-item-info"},iw={key:0,class:"fox-address__exist-item-info-name"},cw={key:1,class:"fox-address__exist-item-info-phone"},dw={class:"fox-address__exist-item-info-bottom"},uw={class:"fox-address__exist-choose-btn"};function fw(e,o,l,n,a,r){const s=t.resolveComponent("Left"),i=t.resolveComponent("Close"),c=t.resolveComponent("Check"),u=t.resolveComponent("fox-elevator"),m=t.resolveComponent("Location2"),h=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(h,{position:"bottom","lock-scroll":e.lockScroll,onClose:e.close,onClickOverlay:e.clickOverlay,onOpen:o[3]||(o[3]=p=>e.closeWay="self"),visible:e.showPopup,"onUpdate:visible":o[4]||(o[4]=p=>e.showPopup=p),teleportDisable:e.teleportDisable,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",WC,[t.createElementVNode("view",YC,[t.createElementVNode("view",{class:"fox-address__header-back",onClick:o[0]||(o[0]=(...p)=>e.switchModule&&e.switchModule(...p))},[t.renderSlot(e.$slots,"back-icon",{},()=>[t.withDirectives(t.createVNode(s,{size:"14px"},null,512),[[t.vShow,e.type=="exist"&&e.privateType=="custom"]])])]),t.createElementVNode("view",XC,t.toDisplayString(e.privateType=="custom"?e.customAddressTitle||e.t("selectRegion"):e.existAddressTitle||e.t("deliveryTo")),1),t.createElementVNode("view",{class:"fox-address__header-close",onClick:o[1]||(o[1]=p=>e.handClose("cross"))},[t.renderSlot(e.$slots,"close-icon",{},()=>[t.createVNode(i,{color:"#cccccc",size:"14px"})])])]),["custom","custom2"].includes(e.privateType)?(t.openBlock(),t.createElementBlock("view",QC,[t.createElementVNode("view",GC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedRegion,(p,k)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-address__region-item",k==e.tabIndex?"active":""]),key:k,onClick:g=>e.changeRegionTab(p,k)},[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(p,k)),1)],10,ZC))),128)),e.tabIndex==e.selectedRegion.length?(t.openBlock(),t.createElementBlock("view",JC,[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(null,e.selectedRegion.length)),1)])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-address__region-line",ref:"regionLine",style:t.normalizeStyle({left:e.lineDistance+"px"})},null,4)],512),e.privateType=="custom"?(t.openBlock(),t.createElementBlock("view",_C,[t.createElementVNode("ul",ew,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.regionList,(p,k)=>(t.openBlock(),t.createElementBlock("li",{key:k,class:t.normalizeClass(["fox-address__detail-item",e.selectedRegion[e.tabIndex]?.id==p.id?"active":""]),onClick:g=>e.nextAreaList(p)},[t.createElementVNode("div",null,[e.selectedRegion[e.tabIndex]?.id==p.id?t.renderSlot(e.$slots,"icon",{key:0},()=>[t.createVNode(c,{class:"fox-address-select-icon",size:"13px"})]):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(p.name),1)])],10,tw))),128))],512)])):(t.openBlock(),t.createElementBlock("view",ow,[t.createVNode(u,{height:e.height,"index-list":e.transformData(e.regionList),onClickItem:e.handleElevatorItem},null,8,["height","index-list","onClickItem"])]))])):(t.openBlock(),t.createElementBlock("view",nw,[t.createElementVNode("div",lw,[t.createElementVNode("ul",aw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.existAddress,(p,k)=>(t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass(["fox-address__exist-group-item",p.selectedAddress?"active":""]),key:k,onClick:g=>e.selectedExist(p)},[p.selectedAddress?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"unselected-icon",{key:0},()=>[t.createVNode(m,{class:"fox-address-select-icon",size:"13px"})]),p.selectedAddress?t.renderSlot(e.$slots,"icon",{key:1},()=>[t.createVNode(c,{class:"fox-address-select-icon",size:"13px"})]):t.createCommentVNode("",!0),t.createElementVNode("div",sw,[p.name?(t.openBlock(),t.createElementBlock("div",iw,t.toDisplayString(p.name),1)):t.createCommentVNode("",!0),p.phone?(t.openBlock(),t.createElementBlock("div",cw,t.toDisplayString(p.phone),1)):t.createCommentVNode("",!0),t.createElementVNode("div",dw,[t.createElementVNode("view",null,t.toDisplayString(p.provinceName+p.cityName+p.countyName+p.townName+p.addressDetail),1)])])],10,rw))),128))])]),e.isShowCustomAddress?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-address__exist-choose",onClick:o[2]||(o[2]=(...p)=>e.switchModule&&e.switchModule(...p))},[t.createElementVNode("div",uw,t.toDisplayString(e.customAndExistTitle||e.t("chooseAnotherAddress")),1)])):t.createCommentVNode("",!0)])),t.renderSlot(e.$slots,"bottom")])]),_:3},8,["lock-scroll","onClose","onClickOverlay","visible","teleportDisable","teleport"])}const sa=Z(jC,[["render",fw]]),{componentName:mw,create:pw}=j("barrage"),hw=pw({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 o=new Date().getTime(),l=!!t.useSlots().default,n=t.computed(()=>({[mw]:!0}));let a=t.ref(document.createElement("div")),r=t.ref(document.createElement("div")),s=null;const i=t.ref(e.danmu),c=t.ref(e.rows),u=t.ref(e.top),m=t.ref(0),h=e.speeds,p=t.ref(0);t.onMounted(()=>{k(),l&&document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"?(y(),m.value=0,g("hidden")):document.visibilityState==="visible"&&k()})}),t.onUnmounted(()=>{i.value=[],y()});const k=()=>{p.value=a.value.offsetWidth,l&&g("init"),setTimeout(()=>{a.value?.style.setProperty("--move-distance",`-${p.value}px`),d()},300)},g=b=>{let V=document.getElementsByClassName("slotBody"+o)?.[0]?.children||[];const E=[];V&&Array.from(V).forEach(I=>{b=="init"?(I.style.opacity="0",E.push(I)):(I.classList="",I.style={})}),b=="init"&&(i.value=E)},y=()=>{s&&(clearTimeout(s),s=null)};t.watch(()=>e.danmu,b=>{e.danmu.length>0&&(i.value=[...b])});const S=b=>{const w=m.value%i.value.length;!e.loop&&m.value===i.value.length?i.value.splice(i.value.length,0,b):i.value.splice(w,0,b)},d=()=>{y(),s=setTimeout(()=>{f()},e.frequency)},f=()=>{const b=e.loop?m.value%i.value.length:m.value;let w=document.createElement("view");l&&typeof i.value[b]=="object"?(w=i.value[b],w?.classList?.add("fox-barrage__item")):(w.innerHTML=i.value[b],w.classList.add("fox-barrage__item"),r.value.appendChild(w)),t.nextTick(()=>{const V=w.offsetHeight;if(w?.classList?.add("move"),w.style.animationDuration=`${h}ms`,w.style.top=b%c.value*(V+u.value)+20+"px",w.style.opacity="1",!l){const E=w.offsetWidth;w.style.width=E+20+"px"}w.addEventListener("animationend",()=>{l?w.classList.remove("move"):r.value.removeChild(w)}),!(!e.loop&&m.value>=i.value.length-1)&&(m.value++,m.value>=i.value.length&&(m.value=0),w.removeEventListener("animationend",()=>{}),d())})};return{classTime:o,classes:n,danmuList:i,dmBody:a,dmContainer:r,add:S}}});function gw(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",{ref:"dmBody",class:t.normalizeClass(e.classes)},[t.createElementVNode("div",{ref:"dmContainer",class:t.normalizeClass(["dmContainer",e.$slots.default&&"slotContainer"])},[e.$slots.default?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["slotBody","slotBody"+e.classTime])},[t.renderSlot(e.$slots,"default")],2)):t.createCommentVNode("",!0)],2)],2)}const ia=Z(hw,[["render",gw]]),{componentName:yw,create:kw,scope:bw}=j("signature"),Sw=kw({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:{[ze.name]:ze},emits:["start","end","signing","confirm","clear"],setup(e,{emit:o}){const{toLocaleRefs:l}=se.useFoxI18n(bw),n=l(e,["unSupportTpl","reSign","confirmText"]),a=t.ref(null),r=t.ref(null),s=t.computed(()=>({[yw]:!0,[`${e.customClass}`]:e.customClass})),i=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 f=document.createElement("canvas");return!!(f.getContext&&f.getContext("2d"))},u=()=>{a.value.addEventListener(i.events[0],m,!1)},m=f=>{f.preventDefault(),i.ctx.beginPath(),i.ctx.lineWidth=e.lineWidth,i.ctx.strokeStyle=e.strokeStyle,o("start"),a.value.addEventListener(i.events[1],h,!1),a.value.addEventListener(i.events[2],p,!1),a.value.addEventListener(i.events[3],k,!1)},h=f=>{f.preventDefault();let b=i.isSupportTouch?f.touches[0]:f;o("signing",b);let w=a.value.getBoundingClientRect(),V=b.clientX-w.left,E=b.clientY-w.top;i.ctx.lineTo(V,E),i.ctx.stroke()},p=f=>{f.preventDefault(),o("end"),a.value.removeEventListener(i.events[1],h,!1),a.value.removeEventListener(i.events[2],p,!1)},k=f=>{f.preventDefault(),a.value.removeEventListener(i.events[1],h,!1),a.value.removeEventListener(i.events[2],p,!1)},g=()=>{a.value.addEventListener(i.events[2],p,!1),i.ctx.clearRect(0,0,i.canvasWidth,i.canvasHeight),i.ctx.closePath(),o("clear")},y=()=>{d(a.value)},S=f=>{if(!f)return!0;var b=document.createElement("canvas");return b.width=f.width,b.height=f.height,f?.toDataURL()==b.toDataURL()},d=f=>{let b;switch(e.type){case"png":b=f.toDataURL("image/png");break;case"jpg":b=f.toDataURL("image/jpeg",.8);break}const w=S(f)?"请绘制签名":f,V=S(f)?"":b;o("confirm",w,V)};return t.onMounted(()=>{c()&&(i.ctx=a.value.getContext("2d"),i.canvasWidth=r.value.offsetWidth,i.canvasHeight=r.value.offsetHeight,u())}),{...n,...t.toRefs(i),canvas:a,wrap:r,isCanvasSupported:c,confirm:y,clear:g,classes:s}}}),Cw={class:"fox-signature-inner",ref:"wrap"},ww=["height","width"],Nw={key:0,class:"fox-signature-unsopport"};function Bw(e,o,l,n,a,r){const s=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[t.createElementVNode("div",Cw,[t.withDirectives(t.createElementVNode("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,ww),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",Nw,t.toDisplayString(e.unSupportTpl),1))],512),t.createVNode(s,{class:"fox-signature-btn",type:"default",onClick:o[0]||(o[0]=i=>e.clear())},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.reSign),1)]),_:1}),t.createVNode(s,{class:"fox-signature-btn",type:"primary",onClick:o[1]||(o[1]=i=>e.confirm())},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.confirmText),1)]),_:1})],2)}const ca=Z(Sw,[["render",Bw]]),{componentName:Aw,create:Vw,scope:Tw}=j("time-select"),$w=Vw({components:{[de.name]:de},props:{visible:{type:Boolean,defalut:!1},height:{type:[String],default:"20%"},title:{type:String,default:""},currentKey:{type:[Number,String],default:0},currentTime:{type:Array,default:()=>[]},lockScroll:{type:[Boolean],default:!0},teleportDisable:{type:Boolean,default:!1}},emits:["update:visible","select"],setup:(e,o)=>{const{t:l}=se.useFoxI18n(Tw),n=t.computed(()=>({[Aw]:!0})),a=t.computed(()=>({width:"100%",height:e.height})),r=t.computed(()=>e.currentKey),s=t.computed(()=>e.currentTime),i=()=>{o.emit("update:visible",!1),o.emit("select",s.value)};return t.provide("currentKey",r),t.provide("currentTime",s),{classes:n,popStyle:a,props:e,close:i,t:l}}}),Ew={class:"fox-time-select__title"},Dw={class:"fox-time-select__title__fixed"},Iw={key:0},qw={class:"fox-time-select__content"},zw={class:"fox-time-select__content__pannel"},Mw={class:"fox-time-select__content__detail"};function Pw(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(s,{position:"bottom",closeable:"",round:"",teleportDisable:e.teleportDisable,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",Ew,[t.createElementVNode("view",Dw,[e.$slots.title?t.renderSlot(e.$slots,"title",{key:1}):(t.openBlock(),t.createElementBlock("span",Iw,t.toDisplayString(e.title||e.t("pickupTime")),1))])]),t.createElementVNode("view",qw,[t.createElementVNode("view",zw,[t.renderSlot(e.$slots,"pannel")]),t.createElementVNode("view",Mw,[t.renderSlot(e.$slots,"detail")])])],2)]),_:3},8,["teleportDisable","visible","style","lock-scroll","onClickOverlay","onClickCloseIcon"])}const da=Z($w,[["render",Pw]]),{componentName:Rw,create:xw}=j("time-pannel"),Lw=xw({name:"timepannel",props:{name:{type:String,default:""},pannelKey:{type:[Number,String],default:0}},emits:["change"],setup:(e,o)=>{const l=t.inject("currentKey"),n=t.reactive({currentKey:l}),a=t.computed(()=>({[Rw]:!0,"fox-time-pannel--curr":n.currentKey==e.pannelKey})),r=s=>{o.emit("change",s)};return{...t.toRefs(n),classes:a,handlePannel:r}}});function Ow(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:o[0]||(o[0]=s=>e.handlePannel(e.pannelKey))},t.toDisplayString(e.name),3)}const ua=Z(Lw,[["render",Ow]]),{componentName:Fw,create:Kw}=j("time-detail"),vw=Kw({name:"timedetail",props:{times:{type:Array,default:()=>[]}},emits:["select"],setup:(e,o)=>{const l=t.inject("currentKey"),n=t.inject("currentTime"),a=t.reactive({currentKey:l,currentTime:n}),r=t.computed(()=>({[Fw]:!0})),s=u=>{let m=a.currentTime.find(h=>h.key==a.currentKey);if(m)return{"fox-time-detail__detail__list__item":!0,"fox-time-detail__detail__list__item--curr":m.list.filter(h=>h===u).length>0}},i=t.computed(()=>e.times.find(u=>u.key==a.currentKey).list),c=u=>{o.emit("select",u)};return{classes:r,...t.toRefs(a),getClass:s,renderData:i,handleTime:c}}}),Uw={class:"fox-time-detail__detail fox-time-detail__detail--moring"},Hw={class:"fox-time-detail__detail__list"},jw=["onClick"];function Ww(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",Uw,[t.createElementVNode("view",Hw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.renderData,s=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.getClass(s)),key:s,onClick:i=>e.handleTime(s)},t.toDisplayString(s),11,jw))),128))])])],2)}const fa=Z(vw,[["render",Ww]]),{componentName:_B,create:Yw,scope:Xw}=j("sku-header"),Qw=Yw({props:{goods:{type:Object,default:{}}},emits:[],components:{[Ge.name]:Ge},setup(e,{emit:o,slots:l}){const{t:n}=se.useFoxI18n(Xw);return{getSlots:r=>l[r],t:n}}}),Gw={class:"fox-sku-header"},Zw=["src"],Jw={class:"fox-sku-header-right"},_w={key:3,class:"fox-sku-header-right-extra"};function e1(e,o,l,n,a,r){const s=t.resolveComponent("fox-price");return t.openBlock(),t.createElementBlock("view",Gw,[t.createElementVNode("img",{class:"fox-sku-header-img",src:e.goods.imagePath},null,8,Zw),t.createElementVNode("view",Jw,[e.getSlots("sku-header-price")?t.renderSlot(e.$slots,"sku-header-price",{key:0}):(t.openBlock(),t.createBlock(s,{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",_w,t.toDisplayString(e.t("skuId"))+" : "+t.toDisplayString(e.goods.skuId),1)):t.createCommentVNode("",!0)])])}const t1=Z(Qw,[["render",e1]]),{componentName:eA,create:o1}=j("sku-select"),n1=o1({props:{sku:{type:Array,default:()=>[]}},emits:["selectSku"],setup(e,{emit:o}){const l=t.ref([]);return t.watch(()=>e.sku,a=>{l.value=[].slice.call(a)},{deep:!0}),t.onMounted(()=>{e.sku.length>0&&(l.value=[].slice.call(e.sku))}),{skuInfo:l,changeSaleChild:(a,r,s,i)=>{a.checkFlag||a.disable||o("selectSku",{sku:a,skuIndex:r,parentSku:s,parentIndex:i})}}}}),l1={class:"fox-sku-select"},a1={class:"fox-sku-select-item-title"},r1={class:"fox-sku-select-item-skus"},s1=["onClick"];function i1(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",l1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.skuInfo,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-sku-select-item",key:s.id},[t.createElementVNode("view",a1,t.toDisplayString(s.name),1),t.createElementVNode("view",r1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.list,(c,u)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-sku-select-item-skus-sku",[{active:!c.disable&&c.active},{disable:c.disable}]]),onClick:m=>e.changeSaleChild(c,u,s,i),key:c.name},t.toDisplayString(c.name),11,s1))),128))])]))),128))])}const c1=Z(n1,[["render",i1]]),{componentName:tA,create:d1}=j("sku-stepper"),u1=d1({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"],components:{[rt.name]:rt},setup(e,{emit:o}){const l=t.ref(e.stepperMin);return t.onMounted(()=>{l.value=e.stepperMin}),{goodsCount:l,add:c=>{o("add",c)},reduce:c=>{o("reduce",c)},overlimit:(c,u)=>{o("overLimit",{action:u,value:parseInt(l.value+"")})},getExtraText:()=>{const{stepperExtraText:c}=e;return c&&_e(c)=="function"?c():""},changeStepper:c=>{l.value=c,o("changeStepper",c)}}}}),f1={class:"fox-sku-stepper"},m1={class:"fox-sku-stepper-title"},p1=["innerHTML"],h1={class:"fox-sku-stepper-count"};function g1(e,o,l,n,a,r){const s=t.resolveComponent("fox-input-number");return t.openBlock(),t.createElementBlock("view",f1,[t.createElementVNode("view",m1,t.toDisplayString(e.stepperTitle),1),t.createElementVNode("view",{class:"fox-sku-stepper-limit",innerHTML:e.getExtraText()},null,8,p1),t.createElementVNode("view",h1,[t.createVNode(s,{modelValue:e.goodsCount,"onUpdate:modelValue":o[0]||(o[0]=i=>e.goodsCount=i),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 y1=Z(u1,[["render",g1]]),{componentName:oA,create:k1}=j("sku-operate"),b1=k1({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:o,slots:l}){return{getBtnDesc:s=>({confirm:e.confirmText,cart:e.addCartText,buy:e.buyText})[s],clickBtnOperate:s=>{o("clickBtnOperate",s)},getSlots:s=>l[s]}}}),S1={key:0,class:"fox-sku-operate"},C1={key:0,class:"fox-sku-operate-desc"},w1={key:1,class:"fox-sku-operate-btn"},N1=["onClick"];function B1(e,o,l,n,a,r){return e.btnOptions.length>0?(t.openBlock(),t.createElementBlock("view",S1,[e.btnExtraText?(t.openBlock(),t.createElementBlock("view",C1,t.toDisplayString(e.btnExtraText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"operate-btn"),e.getSlots("operate-btn")?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",w1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.btnOptions,(s,i)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass([`fox-sku-operate-btn-${s}`,"fox-sku-operate-btn-item"]),key:i,onClick:c=>e.clickBtnOperate(s)},t.toDisplayString(e.getBtnDesc(s)),11,N1))),128))]))])):t.createCommentVNode("",!0)}const A1=Z(b1,[["render",B1]]),{componentName:nA,create:V1,scope:T1}=j("sku"),$1=V1({props:{...nt,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","select-sku","change-stepper","click-btn-operate","click-close-icon","click-overlay","close","reduce","add","over-limit"],components:{SkuHeader:t1,SkuSelect:c1,SkuStepper:y1,SkuOperate:A1,[de.name]:de},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=se.useFoxI18n(T1),a=n(e,["confirmText","buyText","stepperTitle","addCartText"]),r=t.ref(e.visible),s=t.ref(e.stepperMin);t.watch(()=>e.visible,S=>{r.value=S}),t.watch(()=>r.value,S=>{S==!1&&y()}),t.onMounted(()=>{});const i=S=>l[S],c=S=>{o("select-sku",S)},u=S=>{s.value=S,o("change-stepper",S)},m=S=>{o("add",S)},h=S=>{o("reduce",S)},p=S=>{o("over-limit",S)},k=S=>{o("click-btn-operate",{type:S,value:s.value})},g=S=>{S=="icon"&&o("click-close-icon"),S=="overlay"&&o("click-overlay"),S=="close"&&o("close"),r.value=!1},y=()=>{o("update:visible",!1)};return{showPopup:r,closePopup:g,selectSku:c,changeStepper:u,stepperOverLimit:p,clickBtnOperate:k,add:m,reduce:h,getSlots:i,...a}}}),E1={class:"fox-sku"},D1={class:"fox-sku-content"};function I1(e,o,l,n,a,r){const s=t.resolveComponent("sku-header"),i=t.resolveComponent("SkuSelect"),c=t.resolveComponent("sku-stepper"),u=t.resolveComponent("sku-operate"),m=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(m,{position:"bottom",closeable:"",round:"",visible:e.showPopup,"onUpdate:visible":o[0]||(o[0]=h=>e.showPopup=h),onClickCloseIcon:o[1]||(o[1]=h=>e.closePopup("icon")),onClickOverlay:o[2]||(o[2]=h=>e.closePopup("overlay")),onClose:o[3]||(o[3]=h=>e.closePopup("close")),style:{height:"75%"},teleportDisable:e.teleportDisable,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",E1,[t.renderSlot(e.$slots,"sku-header"),e.getSlots("sku-header")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{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",D1,[t.renderSlot(e.$slots,"sku-select-top"),t.renderSlot(e.$slots,"sku-select"),e.getSlots("sku-select")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(i,{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(u,{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","teleportDisable","teleport"])}const ma=Z($1,[["render",I1]]),{create:q1}=j("card"),z1=q1({components:{[Ge.name]:Ge,[Wt.name]:Wt},props:{imgUrl:{type:String},title:{type:String},price:{type:String},vipPrice:{type:String},shopDesc:{type:String},delivery:{type:String},shopName:{type:String},isNeedPrice:{type:Boolean,default:!0}},setup(e,{emit:o,slots:l}){return{isHaveSlot:a=>l[a]}}}),M1={class:"fox-card"},P1={class:"fox-card__left"},R1=["src"],x1={class:"fox-card__right"},L1={class:"fox-card__right__title"},O1={key:0,class:"fox-card__right__price"},F1={class:"fox-card__right__other"},K1={class:"fox-card__right__shop"},v1={class:"fox-card__right__shop__name"};function U1(e,o,l,n,a,r){const s=t.resolveComponent("fox-price"),i=t.resolveComponent("fox-tag");return t.openBlock(),t.createElementBlock("div",M1,[t.createElementVNode("div",P1,[t.createElementVNode("img",{src:e.imgUrl,alt:""},null,8,R1)]),t.createElementVNode("div",x1,[t.createElementVNode("div",L1,t.toDisplayString(e.title),1),t.renderSlot(e.$slots,"prolist"),e.isNeedPrice?(t.openBlock(),t.createElementBlock("div",O1,[e.isHaveSlot("price")?t.renderSlot(e.$slots,"price",{key:0}):(t.openBlock(),t.createBlock(s,{key:1,price:e.price},null,8,["price"])),e.isHaveSlot("origin")?t.renderSlot(e.$slots,"origin",{key:2}):(t.openBlock(),t.createBlock(s,{key:3,class:"fox-card__right__price__origin",price:e.vipPrice},null,8,["price"]))])):t.createCommentVNode("",!0),t.createElementVNode("div",F1,[e.isHaveSlot("shop-tag")?t.renderSlot(e.$slots,"shop-tag",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(i,{type:"danger"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.shopDesc),1)]),_:1}),t.createVNode(i,{plain:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.delivery),1)]),_:1})],64))]),t.createElementVNode("div",K1,[t.createElementVNode("div",v1,t.toDisplayString(e.shopName),1),t.renderSlot(e.$slots,"footer")])])])}const pa=Z(z1,[["render",U1]]),{create:H1,scope:j1}=j("ecard"),W1=H1({components:{[rt.name]:rt},props:{chooseText:{type:String,default:""},otherValueText:{type:String,default:""},dataList:{type: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:o}){const{t:l}=se.useFoxI18n(j1),n=t.ref(null),a=t.ref(null),r=t.ref(""),s=t.ref(e.cardAmountMin),i=t.ref(e.modelValue),c=(p,k)=>{n.value=k,s.value=e.cardAmountMin,a.value=p.price,o("change",p),o("update:modelValue",p.price)},u=p=>{let g=p.target.value.replace(/[^\d]/g,"");r.value=g,a.value=g,Number(g)>e.cardAmountMax&&(r.value=e.cardAmountMax,a.value=e.cardAmountMax),Number(g)<e.cardAmountMin&&(r.value=e.cardAmountMin,a.value=e.cardAmountMin),o("inputChange",Number(r.value)),o("update:modelValue",Number(r.value))},m=()=>{n.value="input",s.value=e.cardAmountMin,a.value=r.value,o("update:modelValue",r.value),o("inputClick")},h=p=>{s.value=p,o("changeStep",s.value,a.value)};return t.watch(()=>e.modelValue,p=>{i.value=p}),{handleClick:c,changeStep:h,change:u,inputClick:m,stepValue:s,currentIndex:n,inputValue:r,money:i,t:l}}}),Y1={class:"fox-ecard"},X1={class:"fox-ecard__title"},Q1={class:"fox-ecard__list"},G1=["onClick"],Z1={class:"fox-ecard__list__input--con"},J1=["placeholder"],_1={class:"fox-ecard__list__step"};function eN(e,o,l,n,a,r){const s=t.resolveComponent("fox-input-number");return t.openBlock(),t.createElementBlock("view",Y1,[t.createElementVNode("view",X1,t.toDisplayString(e.chooseText||e.t("chooseText")),1),t.createElementVNode("view",Q1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.dataList,(i,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-ecard__list__item",e.currentIndex==c?"active":""]),onClick:u=>e.handleClick(i,c)},t.toDisplayString(i.price),11,G1))),128)),t.createElementVNode("view",{class:t.normalizeClass(["fox-ecard__list__input",e.currentIndex=="input"?"active":""]),onClick:o[2]||(o[2]=(...i)=>e.inputClick&&e.inputClick(...i))},[t.createElementVNode("view",null,t.toDisplayString(e.otherValueText||e.t("otherValueText")),1),t.createElementVNode("view",Z1,[t.withDirectives(t.createElementVNode("input",{class:"fox-ecard__list__input--input",type:"text","onUpdate:modelValue":o[0]||(o[0]=i=>e.inputValue=i),onInput:o[1]||(o[1]=(...i)=>e.change&&e.change(...i)),placeholder:e.placeholder||e.t("placeholder")},null,40,J1),[[t.vModelText,e.inputValue]]),t.createTextVNode(" "+t.toDisplayString(e.suffix),1)])],2),t.createElementVNode("view",_1,[t.createElementVNode("view",null,t.toDisplayString(e.suffix)+t.toDisplayString(e.money),1),t.createVNode(s,{modelValue:e.stepValue,"onUpdate:modelValue":o[3]||(o[3]=i=>e.stepValue=i),min:e.cardBuyMin,max:e.cardBuyMax,onChange:e.changeStep},null,8,["modelValue","min","max","onChange"])])])])}const ha=Z(W1,[["render",eN]]),{create:tN,scope:oN}=j("address-list-item"),nN=tN({components:{Del:te.Del,Edit:te.Edit},props:{item:{type:Object,default:{}}},emits:["delIcon","editIcon","clickItem"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(oN);return{delClick:s=>{o("delIcon",s,e.item),s.stopPropagation()},editClick:s=>{o("editIcon",s,e.item),s.stopPropagation()},contentsClick:s=>{o("clickItem",s,e.item),s.stopPropagation()},t:l}}}),lN={class:"fox-address-list-item__info"},aN={class:"fox-address-list-item__info-contact"},rN={class:"fox-address-list-item__info-contact-name"},sN={class:"fox-address-list-item__info-contact-tel"},iN={key:0,class:"fox-address-list-item__info-contact-default"},cN={class:"fox-address-list-item__info-handle"},dN={class:"fox-address-list-item__addr"};function uN(e,o,l,n,a,r){const s=t.resolveComponent("Del"),i=t.resolveComponent("Edit");return t.openBlock(),t.createElementBlock("div",{class:"fox-address-list-item",onClick:o[0]||(o[0]=(...c)=>e.contentsClick&&e.contentsClick(...c))},[t.createElementVNode("div",lN,[t.createElementVNode("div",aN,[t.renderSlot(e.$slots,"content-top",{},()=>[t.createElementVNode("div",rN,t.toDisplayString(e.item.addressName),1),t.createElementVNode("div",sN,t.toDisplayString(e.item.phone),1),e.item.defaultAddress?(t.openBlock(),t.createElementBlock("div",iN,t.toDisplayString(e.t("default")),1)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",cN,[t.renderSlot(e.$slots,"content-icon",{},()=>[t.createVNode(s,{name:"del",class:"fox-address-list-item__info-handle-del",onClick:e.delClick},null,8,["onClick"]),t.createVNode(i,{name:"edit",class:"fox-address-list-item__info-handle-edit",onClick:e.editClick},null,8,["onClick"])])])]),t.createElementVNode("div",dN,[t.renderSlot(e.$slots,"content-addr",{},()=>[t.createTextVNode(t.toDisplayString(e.item.fullAddress),1)])])])}const ys=Z(nN,[["render",uN]]),{create:fN}=j("address-list-general"),mN=fN({props:{item:{type:Object,default:{}},longPress:{type:Boolean,default:!1},swipeEdition:{type:Boolean,default:!1}},emits:["delIcon","editIcon","clickItem","longDown","longCopy","longSet","longDel","swipeDel"],components:{ItemContents:ys,[ze.name]:ze,[Lt.name]:Lt},setup(e,{emit:o}){const l=()=>t.h(ys,{item:e.item,onDelIcon(V){s(V)},onEditIcon(V){i(V)},onClickItem(V){c(V)}});let n=null;const a=t.ref(!1),r=t.ref(!1),s=V=>{o("delIcon",V,e.item),V.stopPropagation()},i=V=>{o("editIcon",V,e.item),V.stopPropagation()},c=V=>{a.value||(o("clickItem",V,e.item),V.stopPropagation())},u=V=>{o("longDel",V,e.item),V.stopPropagation()},m=V=>{n=0,r.value=!0,o("longDown",V,e.item)};return{renderCompontent:l,showMaskRef:r,clickItem:c,editClick:i,delClick:s,delLongClick:u,holddownstart:V=>{n=setTimeout(()=>{m(V)},300)},holddownmove:()=>{clearTimeout(n)},holddownend:()=>{clearTimeout(n)},copyCLick:V=>{o("longCopy",V,e.item),V.stopPropagation()},hideMaskClick:()=>{r.value=!1},setDefault:V=>{o("longSet",V,e.item),V.stopPropagation()},maskClick:V=>{n!=0&&(r.value=!1),V.stopPropagation(),V.preventDefault()},swipeDelClick:V=>{o("swipeDel",V,e.item),V.stopPropagation()},swipestart:()=>{a.value=!1},swipemove:()=>{a.value=!0}}}}),pN={key:0,class:"fox-address-list-general"},hN={class:"fox-address-list-swipe"};function gN(e,o,l,n,a,r){const s=t.resolveComponent("fox-button"),i=t.resolveComponent("fox-swipe");return e.swipeEdition?(t.openBlock(),t.createBlock(i,{key:1},{right:t.withCtx(()=>[t.renderSlot(e.$slots,"swipe-right-btn",{},()=>[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",hN,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderCompontent()),{onTouchmove:e.swipemove,onTouchstart:e.swipestart},{"content-top":t.withCtx(()=>[t.renderSlot(e.$slots,"content-info")]),"content-icon":t.withCtx(()=>[t.renderSlot(e.$slots,"content-icons")]),"content-addr":t.withCtx(()=>[t.renderSlot(e.$slots,"content-addrs")]),_:3},40,["onTouchmove","onTouchstart"]))])]),_:3})):(t.openBlock(),t.createElementBlock("div",pN,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderCompontent()),{onTouchstart:e.holddownstart,onTouchend:e.holddownend,onTouchmove:e.holddownmove},{"content-top":t.withCtx(()=>[t.renderSlot(e.$slots,"content-info")]),"content-icon":t.withCtx(()=>[t.renderSlot(e.$slots,"content-icons")]),"content-addr":t.withCtx(()=>[t.renderSlot(e.$slots,"content-addrs")]),_:3},40,["onTouchstart","onTouchend","onTouchmove"])),e.longPress&&e.showMaskRef?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-address-list-general__mask",onClick:o[3]||(o[3]=(...c)=>e.maskClick&&e.maskClick(...c))},[t.renderSlot(e.$slots,"longpress-all",{},()=>[t.createElementVNode("div",{class:"fox-address-list-general__mask-copy",onClick:o[0]||(o[0]=(...c)=>e.copyCLick&&e.copyCLick(...c))},"复制地址"),t.createElementVNode("div",{class:"fox-address-list-general__mask-set",onClick:o[1]||(o[1]=(...c)=>e.setDefault&&e.setDefault(...c))},"设置默认"),t.createElementVNode("div",{class:"fox-address-list-general__mask-del",onClick:o[2]||(o[2]=(...c)=>e.delLongClick&&e.delLongClick(...c))},"删除地址")])])):t.createCommentVNode("",!0),e.showMaskRef?(t.openBlock(),t.createElementBlock("div",{key:1,class:"fox-address-list__mask-bottom",onClick:o[4]||(o[4]=(...c)=>e.hideMaskClick&&e.hideMaskClick(...c))})):t.createCommentVNode("",!0)]))}const yN=Z(mN,[["render",gN]]),{componentName:kN,create:bN,scope:SN}=j("address-list"),CN=bN({props:{data:{type:Array,default:[]},longPress:{type:Boolean,default:!1},swipeEdition:{type:Boolean,default:!1},showBottomButton:{type:Boolean,default:!0},dataOptions:{type:Object,default:{}}},components:{GeneralShell:yN,[ze.name]:ze},emits:["delIcon","editIcon","clickItem","longCopy","longSet","longDel","swipeDel","add"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(SN),n=t.ref([]),a=t.reactive({id:1,addressName:"",phone:"",defaultAddress:!1,fullAddress:""}),r=t.computed(()=>({[kN]:!0})),s=()=>{Object.keys(e.dataOptions).length>0&&(n.value=e.data.map(y=>Ka(a,y,e.dataOptions)))};t.watch(()=>e.data,()=>s(),{deep:!0});const i=(y,S)=>{o("delIcon",y,S),y.stopPropagation()},c=(y,S)=>{o("editIcon",y,S),y.stopPropagation()},u=(y,S)=>{o("clickItem",y,S),y.stopPropagation()},m=(y,S)=>{o("longCopy",y,S),y.stopPropagation()},h=(y,S)=>{o("longSet",y,S),y.stopPropagation()},p=(y,S)=>{o("longDel",y,S),y.stopPropagation()},k=(y,S)=>{o("swipeDel",y,S),y.stopPropagation()},g=y=>{o("add",y),y.stopPropagation()};return t.onMounted(()=>{s()}),{classes:r,clickDelIcon:i,clickEditIcon:c,clickContentItem:u,clickLongCopy:m,clickLongSet:h,clickLongDel:p,clickSwipeDel:k,addAddress:g,dataArray:n,t:l}}});function wN(e,o,l,n,a,r){const s=t.resolveComponent("general-shell"),i=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.dataArray,(c,u)=>(t.openBlock(),t.createBlock(s,{key:u,item:c,longPress:e.longPress,swipeEdition:e.swipeEdition,onDelIcon:e.clickDelIcon,onEditIcon:e.clickEditIcon,onClickItem:e.clickContentItem,onSwipeDel:e.clickSwipeDel,onLongCopy:e.clickLongCopy,onLongSet:e.clickLongSet,onLongDel:e.clickLongDel},t.createSlots({"content-info":t.withCtx(()=>[t.renderSlot(e.$slots,"item-infos")]),"content-icons":t.withCtx(()=>[t.renderSlot(e.$slots,"item-icon")]),"content-addrs":t.withCtx(()=>[t.renderSlot(e.$slots,"item-addr")]),_:2},[e.longPress?{name:"longpress-all",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"longpress-btns")]),key:"0"}:void 0,e.swipeEdition?{name:"swipe-right-btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"swipe-right")]),key:"1"}:void 0]),1032,["item","longPress","swipeEdition","onDelIcon","onEditIcon","onClickItem","onSwipeDel","onLongCopy","onLongSet","onLongDel"]))),128)),e.showBottomButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-address-list__bottom",onClick:o[0]||(o[0]=(...c)=>e.addAddress&&e.addAddress(...c))},[t.createVNode(i,{block:"",type:"danger"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("addAddress")),1)]),_:1})])):t.createCommentVNode("",!0)],2)}const ga=Z(CN,[["render",wN]]),{componentName:lA,create:NN}=j("category"),BN=NN({props:{type:{type:String,default:"classify"},category:{type:Array,default:[]}},setup(e,{emit:o,slots:l}){const n=t.ref(0),a=t.ref(!1);return{getChildList:s=>{n.value=s,o("change",s)},checkIndex:n,categoryLeft:a}}}),AN={class:"fox-category"},VN={class:"fox-category__cateList"},TN={key:0},$N=["onClick"];function EN(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",AN,[t.createElementVNode("div",VN,[e.type=="classify"||e.type=="text"?(t.openBlock(),t.createElementBlock("div",TN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.category,(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category__cateListLeft",key:i},[t.createElementVNode("div",{class:t.normalizeClass([e.checkIndex==i?"fox-category__cateListItemChecked":"fox-category__cateListItem"]),onClick:c=>e.getChildList(i)},t.toDisplayString(s.catName),11,$N)]))),128))])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")])])}const ya=Z(BN,[["render",EN]]),{componentName:aA,create:DN}=j("category-pane"),IN=DN({props:{type:{type:String,default:"classify"},categoryChild:{type:Array,default:()=>[]},customCategory:{type:Array,default:()=>[]}},setup(e,{emit:o}){return{onChange:n=>{o("onChange",n)}}}}),qN={class:"fox-category-pane"},zN={key:0,class:"fox-category-pane__cateListRight"},MN={class:"fox-category-pane__childTitle"},PN={key:0,class:"fox-category-pane__childItemList"},RN=["onClick"],xN=["src"],LN={class:"fox-category-pane__skuImg"},ON={key:1,class:"fox-category-pane__cateListRight"},FN={class:"fox-category-pane__childTitle"},KN={key:0,class:"fox-category-pane__childItemList"},vN=["onClick"],UN={class:"fox-category-pane__skuName"},HN={key:2,class:"fox-category-pane__selfItemList"},jN=["onClick"];function WN(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",qN,[e.type=="classify"?(t.openBlock(),t.createElementBlock("div",zN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",MN,t.toDisplayString(s?.catName),1),s?.catType==1?(t.openBlock(),t.createElementBlock("div",PN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,u)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__childItem",key:u,onClick:m=>e.onChange(c)},[t.createElementVNode("img",{class:"fox-category-pane__childImg",src:c.backImg},null,8,xN),t.createElementVNode("div",LN,t.toDisplayString(c?.catName),1)],8,RN))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="text"?(t.openBlock(),t.createElementBlock("div",ON,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",FN,t.toDisplayString(s?.catName),1),s?.catType==1?(t.openBlock(),t.createElementBlock("div",KN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,u)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__childItem",key:u,onClick:m=>e.onChange(c)},[t.createElementVNode("div",UN,t.toDisplayString(c?.catName),1)],8,vN))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="custom"?(t.openBlock(),t.createElementBlock("div",HN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.customCategory,(s,i)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__skuName",key:i,onClick:c=>e.onChange(s)},t.toDisplayString(s?.catName),9,jN))),128))])):t.createCommentVNode("",!0)])}const ka=Z(IN,[["render",WN]]),{componentName:rA,create:YN}=j("comment-header"),XN=YN({components:{[yt.name]:yt},props:{type:{type:String,default:"default"},info:{type:Object,default:()=>{}},labels:{type:Function,default:()=>""}},emits:["handleClick"],setup(e,{emit:o}){return{handleClick:()=>{o("handleClick")}}}}),QN={class:"fox-comment-header__user"},GN={class:"fox-comment-header__user-avter"},ZN=["src"],JN={class:"fox-comment-header__user-score"},_N={key:0,class:"fox-comment-header__time"};function eB(e,o,l,n,a,r){const s=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:o[1]||(o[1]=(...i)=>e.handleClick&&e.handleClick(...i))},[t.createElementVNode("view",QN,[t.createElementVNode("view",GN,[e.info.avatar?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.info.avatar},null,8,ZN)):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",JN,[t.createVNode(s,{modelValue:e.info.score,"onUpdate:modelValue":o[0]||(o[0]=i=>e.info.score=i),size:"12",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",_N,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(s,{modelValue:e.info.score,"onUpdate:modelValue":o[2]||(o[2]=i=>e.info.score=i),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 tB=Z(XN,[["render",eB]]),{componentName:sA,create:oB}=j("comment-images"),nB=oB({props:{type:{type:String,default:"one"},videos:{type:Array,default:()=>[]},images:{type:Array,default:()=>[]}},components:{Right:te.Right},emits:["click","clickImages"],setup(e,{emit:o}){const l=t.ref(!1),n=t.ref(1),a=t.ref([]);return t.watch(()=>[e.videos,e.images],s=>{s[0].length>0&&s[0].forEach(i=>{i.type="video"}),a.value=s[0].concat(s[1])},{deep:!0}),t.onMounted(()=>{e.videos.length>0&&e.videos.forEach(s=>{s.type="video"}),a.value=e.videos.concat(e.images)}),{isShowImage:l,initIndex:n,showImages:(s,i)=>{const{videos:c,images:u}=e,m=s=="img"?i-c.length:i;o("clickImages",{type:s,index:m,value:s=="img"?u[m]:c[m]})},totalImages:a}}}),lB=["onClick"],aB=["src"],rB=t.createElementVNode("view",{class:"fox-comment-images__play"},null,-1),sB=["onClick"],iB=["src"],cB={key:0,class:"fox-comment-images__mask"};function dB(e,o,l,n,a,r){const s=t.resolveComponent("Right");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,(i,c)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-comment-images__item fox-comment-images__item--video",key:i.id,onClick:u=>e.showImages("video",c)},[t.createElementVNode("img",{src:i.mainUrl},null,8,aB),rB],8,lB))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.images,(i,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:i.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:u=>e.showImages("img",c+e.videos.length)},[t.createElementVNode("img",{src:i.smallImgUrl?i.smallImgUrl:i.imgUrl},null,8,iB),e.type=="multi"&&e.totalImages.length>9&&e.videos.length+c>7?(t.openBlock(),t.createElementBlock("view",cB,[t.createElementVNode("span",null,"共 "+t.toDisplayString(e.totalImages.length)+" 张",1),t.createVNode(s,{style:{width:"12px"}})])):t.createCommentVNode("",!0)],8,sB)):t.createCommentVNode("",!0)],64))),128))],2)}const uB=Z(nB,[["render",dB]]),{componentName:iA,create:fB,scope:mB}=j("comment-bottom"),pB=fB({props:{type:{type:String,default:"base"},info:{type:Object,default:()=>({})},operation:{type:Array,default:["replay","like","more"]}},components:{Fabulous:te.Fabulous,Comment:te.Comment,MoreX:te.MoreX},emits:["clickOperate","handleClick"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(mB),n=t.ref(!1),a=t.ref([]);return t.onMounted(()=>{const i=["replay","like","more"];e.operation&&e.operation.forEach(c=>{i.includes(c)&&a.value.push(c)})}),{showPopver:n,operate:i=>{i=="more"&&(n.value=!n.value),o("clickOperate",i)},mergeOp:a,handleClick:()=>{o("handleClick")},t:l}}}),hB={class:"fox-comment-bottom"},gB={key:0},yB={class:"fox-comment-bottom__cpx"},kB=["onClick"];function bB(e,o,l,n,a,r){const s=t.resolveComponent("Fabulous"),i=t.resolveComponent("Comment"),c=t.resolveComponent("MoreX");return t.openBlock(),t.createElementBlock("view",hB,[t.createElementVNode("view",{onClick:o[0]||(o[0]=(...u)=>e.handleClick&&e.handleClick(...u)),class:"fox-comment-bottom__lable"},[e.type!="complex"?(t.openBlock(),t.createElementBlock("span",gB,t.toDisplayString(e.info.size),1)):t.createCommentVNode("",!0)]),t.createElementVNode("view",yB,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.mergeOp,(u,m)=>(t.openBlock(),t.createElementBlock("view",{key:m,class:t.normalizeClass(["fox-comment-bottom__cpx-item",`fox-comment-bottom__cpx-item--${u}`]),onClick:h=>e.operate(u)},[u!="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",null,t.toDisplayString(e.info[u]),1),u=="like"?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createBlock(i,{key:1}))],64)):t.createCommentVNode("",!0),u=="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(c),e.showPopver?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment-bottom__cpx-item-popover",onClick:o[1]||(o[1]=h=>e.operate("popover"))},t.toDisplayString(e.t("complaintsText")),1)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],10,kB))),128))])])}const SB=Z(pB,[["render",bB]]),{componentName:CB,create:wB,scope:NB}=j("comment"),BB=wB({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:tB,CommentImages:uB,CommentBottom:SB,Right:te.Right},emits:["click","clickImages","clickOperate"],setup(e,{emit:o}){const{t:l}=se.useFoxI18n(NB),n=t.computed(()=>({[CB]:!0})),a=t.computed(()=>e.ellipsis?e.ellipsis:e.headerType=="complex"?6:2);return{classes:n,conEllipsis:a,clickOperate:c=>{o("clickOperate",c)},handleClick:()=>{o("click",e.info)},clickImages:c=>{o("clickImages",c)},t:l}}}),AB=["innerHTML"],VB={class:"fox-comment__follow-title"},TB={class:"fox-comment__follow-com"},$B={key:0,class:"fox-comment__follow-img"};function EB(e,o,l,n,a,r){const s=t.resolveComponent("comment-header"),i=t.resolveComponent("comment-images"),c=t.resolveComponent("Right"),u=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(s,{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:o[0]||(o[0]=(...m)=>e.handleClick&&e.handleClick(...m)),innerHTML:e.info.content},null,12,AB),t.createVNode(i,{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:o[1]||(o[1]=(...m)=>e.handleClick&&e.handleClick(...m))},[t.createElementVNode("view",VB,t.toDisplayString(e.t("additionalReview",e.follow.days)),1),t.createElementVNode("view",TB,t.toDisplayString(e.follow.content),1),e.follow.images&&e.follow.images.length>0?(t.openBlock(),t.createElementBlock("view",$B,[t.createTextVNode(t.toDisplayString(e.t("additionalImages",e.follow.images.length))+" ",1),t.createVNode(c,{width:"12px"})])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createVNode(u,{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 ba=Z(BB,[["render",EB]]),DB=[hn,yn,kn,bn,wn,Ne,An,Vn,Tn,$n,Dn,wo,zn,Rn,Fn,Un,Eo,Do,Hn,qo,zo,Wn,Xn,ot,Qn,Zn,Oo,_n,el,tl,ol,nl,ll,al,rl,ze,sl,il,lt,de,cl,dl,ul,fl,Et,ml,pl,hl,gl,yl,kl,bl,Sl,Cl,Pt,wl,Dt,It,Nl,Bl,Al,Vl,Rt,Lo,Bo,$o,To,rt,yt,pt,Tl,$l,El,Lt,Dl,Il,ql,Ot,xo,zl,Rl,Po,St,Ol,Fl,jt,Kl,vl,xt,Ul,Hl,jl,Ct,Wl,Yl,wt,Nt,Ge,Uo,Ql,Gl,Zl,Wt,Yt,Jl,_l,ea,ta,oa,na,la,aa,ra,sa,ia,ca,da,ua,fa,ma,pa,ha,ga,ya,ka,ba],IB=new Gs(DB,"4.0.0");C.ActionSheet=Dl,C.ActionsheetItem=_n,C.ActionsheetPane=Oo,C.Address=sa,C.AddressList=ga,C.Animate=na,C.Audio=Ol,C.AudioOperate=Fl,C.Avatar=jt,C.AvatarGroup=Kl,C.BackTop=Il,C.Badge=Zl,C.Barrage=ia,C.Broadcast=sn,C.BroadcastKey=Ce,C.Button=ze,C.Calendar=$o,C.CalendarItem=Un,C.Card=pa,C.Cascader=Bo,C.CascaderItem=Rn,C.Category=ya,C.CategoryPane=ka,C.Cell=sl,C.CellGroup=il,C.Checkbox=qo,C.CheckboxGroup=zo,C.CheckboxItem=Wn,C.CircleProgress=Ul,C.Col=ul,C.Collapse=_l,C.CollapseItem=ea,C.Comment=ba,C.Content=bn,C.CountDown=Gl,C.CountUp=Ql,C.DataItemsKey=ct,C.DateItem=Fn,C.DatePicker=To,C.DateUtils=le,C.Dialog=Ot,C.Divider=ml,C.Domain=ao,C.DomainKey=Ie,C.DomainProvider=el,C.Drag=ql,C.Ecard=ha,C.Elevator=Pt,C.Ellipsis=oa,C.Empty=jl,C.FixedNav=yl,C.FloatingButton=al,C.FooterBar=kn,C.FoxActionSheet=Dl,C.FoxActionsheetItem=_n,C.FoxActionsheetPane=Oo,C.FoxAddress=sa,C.FoxAddressList=ga,C.FoxAnimate=na,C.FoxAudio=Ol,C.FoxAudioOperate=Fl,C.FoxAvatar=jt,C.FoxAvatarGroup=Kl,C.FoxBackTop=Il,C.FoxBadge=Zl,C.FoxBarrage=ia,C.FoxButton=ze,C.FoxCalendar=$o,C.FoxCalendarItem=Un,C.FoxCard=pa,C.FoxCascader=Bo,C.FoxCascaderItem=Rn,C.FoxCategory=ya,C.FoxCategoryPane=ka,C.FoxCell=sl,C.FoxCellGroup=il,C.FoxCheckbox=qo,C.FoxCheckboxGroup=zo,C.FoxCheckboxItem=Wn,C.FoxCircleProgress=Ul,C.FoxCol=ul,C.FoxCollapse=_l,C.FoxCollapseItem=ea,C.FoxComment=ba,C.FoxContent=bn,C.FoxCountDown=Gl,C.FoxCountUp=Ql,C.FoxDateItem=Fn,C.FoxDatePicker=To,C.FoxDialog=Ot,C.FoxDivider=ml,C.FoxDomainProvider=el,C.FoxDrag=ql,C.FoxEcard=ha,C.FoxElevator=Pt,C.FoxEllipsis=oa,C.FoxEmpty=jl,C.FoxFixedNav=yl,C.FoxFloatingButton=al,C.FoxFooterBar=kn,C.FoxGrid=pl,C.FoxGridItem=hl,C.FoxGroup=wn,C.FoxHeaderBar=yn,C.FoxHintText=ot,C.FoxImage=cl,C.FoxImagePreview=Uo,C.FoxIndicator=Nl,C.FoxInfiniteLoading=xo,C.FoxInputItem=Tn,C.FoxInputNumber=rt,C.FoxItem=Ne,C.FoxLayout=dl,C.FoxLinkItem=Qn,C.FoxList=vl,C.FoxMenu=kl,C.FoxMenuItem=bl,C.FoxMoneyItem=$n,C.FoxNavbar=gl,C.FoxNoticeBar=Hl,C.FoxNotify=Rl,C.FoxNumberKeyboard=El,C.FoxOverLay=lt,C.FoxPage=hn,C.FoxPagination=wl,C.FoxPicker=pt,C.FoxPickerItem=zn,C.FoxPopover=Yt,C.FoxPopup=de,C.FoxPrice=Ge,C.FoxProgress=xt,C.FoxPullRefresh=zl,C.FoxRadio=Eo,C.FoxRadioGroup=Do,C.FoxRadioItem=Hn,C.FoxRange=Rt,C.FoxRate=yt,C.FoxRateItem=Zn,C.FoxRollingProvider=tl,C.FoxRow=fl,C.FoxRowItem=An,C.FoxSearchBar=Lo,C.FoxShortPassword=Tl,C.FoxSideNavBar=Bl,C.FoxSideNavBarItem=Al,C.FoxSignature=ca,C.FoxSkeleton=Jl,C.FoxSku=ma,C.FoxSlotItem=Vn,C.FoxStep=Yl,C.FoxSteps=Wl,C.FoxSticky=Et,C.FoxSubSideNavBar=Vl,C.FoxSwipe=Lt,C.FoxSwiper=wt,C.FoxSwiperItem=Nt,C.FoxSwitch=Po,C.FoxSwitchItem=Xn,C.FoxTabPane=It,C.FoxTabbar=Sl,C.FoxTabbarItem=Cl,C.FoxTable=ta,C.FoxTabs=Dt,C.FoxTabsBar=ol,C.FoxTabsContainer=nl,C.FoxTabsPane=ll,C.FoxTag=Wt,C.FoxText=rl,C.FoxTextarea=wo,C.FoxTextareaItem=Dn,C.FoxTimeDetail=fa,C.FoxTimePannel=ua,C.FoxTimeSelect=da,C.FoxToast=St,C.FoxTour=ra,C.FoxTrendArrow=aa,C.FoxUploader=$l,C.FoxVideo=Ct,C.FoxWaterMark=la,C.Grid=pl,C.GridItem=hl,C.Group=wn,C.HeaderBar=yn,C.HintText=ot,C.Image=cl,C.ImagePreview=Uo,C.Indicator=Nl,C.InfiniteLoading=xo,C.InputItem=Tn,C.InputNumber=rt,C.Item=Ne,C.Layout=dl,C.LinkItem=Qn,C.List=vl,C.Menu=kl,C.MenuItem=bl,C.MoneyItem=$n,C.Navbar=gl,C.NoticeBar=Hl,C.Notify=Rl,C.NumberKeyboard=El,C.OverLay=lt,C.Page=hn,C.Pagination=wl,C.Picker=pt,C.PickerItem=zn,C.Popover=Yt,C.Popup=de,C.Price=Ge,C.PriorityPolicy=fo,C.Progress=xt,C.PullRefresh=zl,C.Radio=Eo,C.RadioGroup=Do,C.RadioItem=Hn,C.Range=Rt,C.Rate=yt,C.RateItem=Zn,C.RollingProvider=tl,C.Row=fl,C.RowItem=An,C.SearchBar=Lo,C.ShortPassword=Tl,C.SideNavBar=Bl,C.SideNavBarItem=Al,C.Signature=ca,C.Skeleton=Jl,C.Sku=ma,C.SlotItem=Vn,C.Step=Yl,C.Steps=Wl,C.Sticky=Et,C.SubSideNavBar=Vl,C.Swipe=Lt,C.Swiper=wt,C.SwiperItem=Nt,C.Switch=Po,C.SwitchItem=Xn,C.TabPane=It,C.Tabbar=Sl,C.TabbarItem=Cl,C.Table=ta,C.Tabs=Dt,C.TabsBar=ol,C.TabsContainer=nl,C.TabsPane=ll,C.Tag=Wt,C.Text=rl,C.Textarea=wo,C.TextareaItem=Dn,C.TimeDetail=fa,C.TimePannel=ua,C.TimeSelect=da,C.Toast=St,C.Tour=ra,C.TrendArrow=aa,C.UniqueID=fr,C.Uploader=$l,C.ValidateSchema=Ya,C.ValidateSchemaKey=Ke,C.Video=Ct,C.WaterMark=la,C.cancelRaf=Sa,C.clamp=Fe,C.clearNonNumber=nn,C.clone=tn,C.compareTo=Jo,C.createBroadcast=to,C.createValidateSchema=no,C.debounce=it,C.debounceRef=Fs,C.decimalLength=Oa,C.default=IB,C.defineBroadcast=Is,C.defineConfigDomain=Qa,C.defineDataItem=Za,C.defineDomain=un,C.defineItem=Be,C.definePageState=Ja,C.deleteGlobalValidator=Ps,C.disabledProperty=Ve,C.divide=Zo,C.excludeProps=ln,C.extend=Je,C.floatData=Ka,C.getGlobalValidateCheckEvents=Ha,C.getGlobalValidateResetEvents=Wa,C.getPageContentAreaHeight=co,C.getPageContentAreaWidth=uo,C.getPageFooterAreaHeight=io,C.getPageHeaderAreaHeight=so,C.getRootDomain=dt,C.getScrollTopRoot=rn,C.hasSymbol=qa,C.includeProps=ke,C.indexOf=Es,C.installRules=Ga,C.integerLength=La,C.isArray=Zt,C.isArrayLike=Ma,C.isBrowser=Ye,C.isDate=Oe,C.isESModule=Bs,C.isEmptyString=ce,C.isEqual=Me,C.isFunction=Jt,C.isHidden=eo,C.isInnerPage=Us,C.isMap=Cs,C.isNil=Ea,C.isNumberString=xa,C.isObject=De,C.isPlainObject=en,C.isPromise=_o,C.isRegExp=Ra,C.isSet=ws,C.isString=Da,C.isSubPage=Hs,C.isSymbol=Ns,C.isWindow=za,C.lastIndexOf=Ds,C.makeArray=$s,C.merge=Pa,C.multiply=Va,C.negate=Ta,C.nextTick=Vs,C.numberFormat=Gt,C.objectToString=Ia,C.once=Ks,C.padZero=et,C.preventDefault=an,C.property=Ae,C.raf=Xe,C.readonlyProperty=Ee,C.setGlobalValidateCheckEvents=Rs,C.setGlobalValidateHandler=zs,C.setGlobalValidateMessages=Ls,C.setGlobalValidateResetEvents=xs,C.setGlobalValidator=Ms,C.throttle=lo,C.toBoolean=he,C.toNumber=pe,C.toPadding=Pe,C.toPx=ie,C.toPxDesc=fe,C.toTypeString=_t,C.toValue=qe,C.tryTimes=cn,C.typeOf=_e,C.unNumberFormat=$a,C.updatePageState=fn,C.useBroadcast=Vt,C.useDomain=ve,C.useExpose=Te,C.useInnerSize=gn,C.usePageState=ro,C.usePosition=ir,C.useRect=$e,C.useSize=po,C.useTouch=Ue,C.valueLength=ge,Object.defineProperties(C,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|