@fox-js/foxui 4.0.1-27 → 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 +3 -3
- package/dist/index.esm.js +7 -9
- package/dist/index.umd.js +3 -3
- package/dist/locale/index.esm.js +1 -1
- package/dist/locale/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";/*!
|
|
2
|
-
* @fox-js/foxui-base v4.0.0
|
|
2
|
+
* @fox-js/foxui-base v4.0.0 Thu Feb 29 2024 00:07:21 GMT+0800 (中国标准时间)
|
|
3
3
|
*/Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),Je=require("@fox-js/validator"),ee=require("@fox-js/icons-vue"),re=require("@fox-js/i18n"),Yt=window,ys=typeof window<"u";function vs(){return typeof Yt<"u"?Yt.requestAnimationFrame||Yt.webkitRequestAnimationFrame||function(e){Yt.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function ar(e){ys?cancelAnimationFrame(e):clearTimeout(e)}const We=vs();/*!
|
|
4
4
|
* @fox-js/big-decimal v4.0.1-6 Thu Aug 17 2023 21:31:19 GMT+0800 (中国标准时间)
|
|
5
|
-
*/function no(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=Se(e),o=Se(o),[e,o]=Vn(Se(e),Se(o)),l==1&&(n==1?e=Uo(e):o=Uo(o));let a=rr(e,o);return l?l==2?"-"+Se(a):e.length<a.length?Se(a.substring(1)):"-"+Se(Uo(a)):Se(a)}function Uo(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 rr(o,r)}function Se(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 Vn(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 rr(e,o){[e,o]=Vn(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 ke=(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))(ke||{});function It(e,o=0,l=ke.HALF_EVEN){if(l===ke.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=It(e,0,l),(n?"-":"")+c+new Array(o+1).join("0")}}if(o==0)return r.length,ka(a[1],r,n,l)?(n?"-":"")+Ho(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&&ka(i,s,n,l)&&(s=Ho(s),s.length>o)?(n?"-":"")+Ho(r,parseInt(s[0]))+"."+s.substring(1):(n?"-":"")+r+"."+s}function ka(e,o,l,n){if(!e||e===new Array(e.length+1).join("0")||n===ke.DOWN||!l&&n===ke.FLOOR||l&&n===ke.CEILING)return!1;if(n===ke.UP||l&&n===ke.FLOOR||!l&&n===ke.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 ke.HALF_DOWN:return!1;case ke.HALF_UP:return!0;case ke.HALF_EVEN:default:return parseInt(o[o.length-1])%2==1}}function Ho(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 _o(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=wt(e),o=wt(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=wt(e.replace(".","")),o=wt(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=[],d=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 v=o.length-1;v>=d&&v>=0;v--)c[v]>-1&&c[v]<e.length&&(p+=parseInt(e[c[v]--])*parseInt(o[v]));p+=i,i=Math.floor(p/10),m=p%10+m,d--}return m=wt(ks(m,r)),l==1&&(m="-"+m),m}function ks(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 wt(e){for(;e[0]=="0";)e=e.substr(1);if(e.indexOf(".")!=-1)for(;e[e.length-1]=="0";)e=e.substr(0,e.length-1);return e==""||e=="."?e="0":e[e.length-1]=="."&&(e=e.substr(0,e.length-1)),e[0]=="."&&(e="0"+e),e}function en(e,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=Se(o.replace(".","")),a>=0){let d=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(d==-1)e=Se(e+new Array(a+1).join("0"));else if(a>d)e=e.replace(".",""),e=Se(e+new Array(a-d+1).join("0"));else if(a<d){e=e.replace(".","");let m=e.length-d+a;e=Se(e.substring(0,m)+"."+e.substring(m))}else a==d&&(e=Se(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 d=c.length-c.indexOf(".")-1;c=c.replace(".",""),s>c.length&&(d+=s-c.length,c=c+new Array(s-c.length+1).join("0")),r=d,i="0."+new Array(d).join("0")}for(l=l+2;r<=l;){let d=0;for(;parseInt(c)>=parseInt(o);)c=no(c,"-"+o),d++;i+=d,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?"-":"")+Se(It(i,l-2))}function tn(e,o){return e=e.toString(),o=o.toString(),o=on(o),no(e,o)}function on(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function ba(e,o){if(o==0)throw new Error("Cannot divide by 0");e=e.toString(),o=o.toString(),Sa(e),Sa(o);let l="";e[0]=="-"&&(l="-",e=e.substr(1)),o[0]=="-"&&(o=o.substr(1));let n=tn(e,_o(o,It(en(e,o),0,ke.FLOOR)));return l+n}function Sa(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Ca(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]=Vn(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 ae{value;static RoundingModes=ke;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=Se(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+Se(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=ae.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=ae.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 ae.getPrettyValue(this.value,o,l)}static round(o,l=0,n=ke.HALF_EVEN){if(o=ae.validate(o),isNaN(l))throw Error("Precision is not a number: "+l);return It(o,l,n)}round(o=0,l=ke.HALF_EVEN){if(isNaN(o))throw Error("Precision is not a number: "+o);return new ae(It(this.value,o,l))}static floor(o){return o=ae.validate(o),o.indexOf(".")===-1?o:ae.round(o,0,ke.FLOOR)}floor(){return this.value.indexOf(".")===-1?new ae(this.value):new ae(this.value).round(0,ke.FLOOR)}static ceil(o){return o=ae.validate(o),o.indexOf(".")===-1?o:ae.round(o,0,ke.CEILING)}ceil(){return this.value.indexOf(".")===-1?new ae(this.value):new ae(this.value).round(0,ke.CEILING)}static add(o,l){return o=ae.validate(o),l=ae.validate(l),no(o,l)}add(o){return new ae(no(this.value,o.getValue()))}static subtract(o,l){return o=ae.validate(o),l=ae.validate(l),tn(o,l)}subtract(o){return new ae(tn(this.value,o.getValue()))}static multiply(o,l){return o=ae.validate(o),l=ae.validate(l),_o(o,l)}multiply(o){return new ae(_o(this.value,o.getValue()))}static divide(o,l,n){return o=ae.validate(o),l=ae.validate(l),en(o,l,n)}divide(o,l){return new ae(en(this.value,o.getValue(),l))}static modulus(o,l){return o=ae.validate(o),l=ae.validate(l),ba(o,l)}modulus(o){return new ae(ba(this.value,o.getValue()))}static compareTo(o,l){return o=ae.validate(o),l=ae.validate(l),Ca(o,l)}compareTo(o){return Ca(this.value,o.getValue())}static negate(o){return o=ae.validate(o),on(o)}negate(){return new ae(on(this.value))}}function sr(e,o){return ae.multiply(`${e}`,`${o}`)}function An(e,o,l=8){return ae.divide(`${e}`,`${o}`,l)}function nn(e,o){return e=`${e}`,o=`${o}`,ae.compareTo(e,o)}function ir(e){return ae.negate(e)}function mo(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="",d=r.indexOf(".");d!=-1&&(i=r.substring(0,d),c=r.substring(d+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 v=0;v<p.length;v++)h+=p[v]+((v+1)%n==0&&v+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 cr(e){let o=`${e}`,l=o.charAt(0);l=="-"?o=o.substring(1):l="";let n=o.replace(/[^\d\.-]/g,"");return`${l}${n}`}const Qe=typeof window<"u",je=We;function ur(e){return e==null}const po=Array.isArray,bs=e=>ho(e)==="[object Map]",Ss=e=>ho(e)==="[object Set]",Oe=e=>e instanceof Date,lo=e=>typeof e=="function",dr=e=>typeof e=="string",Cs=e=>typeof e=="symbol",$e=e=>e!==null&&typeof e=="object",Tn=e=>$e(e)&&lo(e.then)&&lo(e.catch),fr=Object.prototype.toString,ho=e=>fr.call(e),ln=e=>ho(e)==="[object Object]",mr=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function ws(e){return e.__esModule||mr&&e[Symbol.toStringTag]==="Module"}const Ns=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function tt(...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 d;Array.isArray(c)?d=i&&Array.isArray(i)?i:[]:d=i&&typeof i=="object"?i:{},o[s]=tt(a,d,c)}else c!==void 0&&(o[s]=c)}}return o}function an(e,o,l=!1){if(!l)tt(!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)&&!ln(s))continue;r=an(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)&&!ln(s))continue;r=an(r,s,l),e[a]=r}else{if(typeof s=="function")continue;e[a]=s}}}return e}const jo=Ns?Promise.resolve():null;function Bs(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 he(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 Vs={"[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 ot(e){let l=Object.prototype.toString.call(e);return e==null?String(e):Vs[l]||"object"}function go(e){if(!e)return!0;const{display:o}=window.getComputedStyle(e);return o==="none"}function pr(e){return e&&typeof e=="object"&&"setInterval"in e}function hr(e){let o=!!e&&"length"in e&&e.length,l=ot(e);return l==="function"||pr(e)?!1:l==="array"||o===0||typeof o=="number"&&o>0&&o-1 in e}function gr(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 As(e,o=[]){let l=o;return e!=null&&(hr(Object(e))?gr(l,typeof e=="string"?[e]:e):l.push(e)),l}function Ie(e,o){if(e==o)return!0;if(e===void 0||o===void 0)return!1;let l=ot(e),n=ot(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],d=o[i];if(!Ie(c,d))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(!Ie(r,s))return!1}return!0}return!1}function yr(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ie=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function vr(e){return ie(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ie(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function kr(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 br(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 wa(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 rn(e,o=!0,l=!0){o?e=wa(e,".",/\./g):e=e.replace(/\./g,""),l?e=wa(e,"-",/-/g):e=e.replace(/-/,"");const n=o?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(n,"")}function Ts(e,o){return typeof e=="object"||Array.isArray(e)?o.findIndex(l=>{if(Ie(e,l))return!0}):o.indexOf(e)}function Es(e,o){if(typeof e=="object"||Array.isArray(e)){let l=o.reverse().findIndex(n=>{if(Ie(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 ye(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 Sr=(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 sn(e,o){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),o&&e.stopPropagation()}const Ze=(e,o=2)=>{for(e+="";e.length<o;)e="0"+e;return e.toString()},Re=(e,o,l)=>Math.min(Math.max(e,o),l),$n=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,be=Symbol.for("BroadcastKey");class Dn{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="*"):yr(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 yo(e,o,l,n){const a=new Dn(o,e,l);if(n&&typeof n=="object")for(const r in n)a.on(r,n[r]);return a}function $s(e,o,l){const n=l;if(n[be])return n[be];const a=t.inject(be,null),r=new Dn(a,l,e);if(o&&typeof o=="object")for(const s in o)r.on(s,o[s]);return n[be]=r,t.provide(be,r),t.onUnmounted(()=>{r.destroy(),n[be]=void 0}),r}function Et(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[be]??t.inject(be,null):t.inject(be,null)}const _e=e=>e.default??e;class Ds{error(o,l){const n=l,a=Et(l);a?a.emit({name:"*",maxLevel:1},"setErrorTip",o):typeof n.setErrorTip=="function"&&n.setErrorTip(o)}reset(o){const l=o,n=Et(o);n?n.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof l.setErrorTip=="function"&&l.setErrorTip("")}success(o){const l=o,n=Et(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=Et(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 Cr=new Ds;function xs(e){Cr=e}function Is(e,o){_e(Je).setValidator(e,o)}function qs(e){_e(Je).deleteValidator(e)}let wr=["blur","clear"];function zs(e){wr=e}function Nr(){return wr}let Br=["focus","change"];function Ms(e){Br=e}function Vr(){return Br}function Ps(e){_e(Je).messages(e)}function Nt(...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 Xt(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 Le=Symbol("ValidateSchemaKey");class Ar{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=Xt(Nt(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=Xt(n);const a=Nt(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=Cr;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?_e(Je).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?_e(Je).deleteValidator(o):Reflect.deleteProperty(this.validators,o)}hasValidator(o,l=!1){if(l)return _e(Je).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=Nt(this.attrRules,this.rules);o===null?this.rules=[]:Array.isArray(o)?this.rules=Xt(o):this.rules=Xt([o]);const n=Nt(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=Nt(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=_e(Je),c=new i(a),d=this.proxy??s;return c.validate(s,{context:d}).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=d),this.error(p)}return h}).catch(h=>{const p=h.message??`${h}`;return this.error(p),h})}}return Promise.resolve({pass:!0})}}function vo(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 Ar(o,l,e)}const Na=Symbol("EventEmitterKey");class Rs{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 pt(e,o){let l=null;return function(...n){l&&clearTimeout(l),l=setTimeout(()=>{l=null,Reflect.apply(e,null,[...n])},o)}}function ao(e,o){let l=0;return function(...n){const a=new Date().getTime();a-l<o||(l=a,Reflect.apply(e,null,[...n]))}}function Ls(e,o){const l=pt((n,a)=>{e=n,a()},o);return t.customRef((n,a)=>({get(){return n(),e},set(r){l(r,a)}}))}function Os(e){let o=!1;return function(...l){o||(o=!0,Reflect.apply(e,null,[...l]))}}function xn(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"),ct=Symbol("DataItemsKey");class ko{_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 Fs=new ko;function ft(){return Fs}function Fe(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Ee]??t.inject(Ee,null):t.inject(Ee,null)}const Wo=Symbol("OriginalDateKey");function In(e,o,l=[],n){const a=t.getCurrentInstance(),r=a?.proxy;let s=t.inject(Ee,null);s===null&&(s=ft());const i=e||o.prop||o.name,c=new ko(i);c.parent=s;const d=y=>{r[Wo]||p(y),c.set("modelValue",y)},m=()=>c.getForSelf("modelValue")??null,h=()=>r[Wo]??null,p=y=>{const b={};tt(!0,b,t.toRaw(y)),r[Wo]=b};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[Ee]=c,t.provide(Ee,c);let v=null,g=null;if(a!==null){const y=t.inject(be,null);v=yo(r,y,i,n),c.broadcast=v,r[be]=v,t.provide(be,v),r.broadcast=(u,f,...k)=>Reflect.apply(v.emit,v,[u,f,...k]);const b=t.inject(Le,null);g=vo(r,b,{componentName:""}),c.validateSchema=g,r[Le]=g,t.provide(Le,g),r[ct]=new Map,r.validate=(u=!0)=>{const f=[];let k=null;const S={deep:!1};if(u===!0)k={name:"*"};else if(Array.isArray(u)&&u.length>0){const B=u;k={name:T=>T?B.indexOf(T)!==-1:!1}}else if(u!=null&&typeof u=="object"){const B=u;if(S.ignoreHidden=B.ignoreHidden,Array.isArray(B.include)&&B.include.length>0){const T=B.include;k={name:$=>$?T.indexOf($)!==-1:!1}}else if(Array.isArray(B.exclude)&&B.exclude.length>0){const T=B.exclude;k={name:$=>$?T.indexOf($)===-1:!1}}else k={name:"*"}}if(k){const B=v?.emitToChildren(k,"validate",S);B&&Reflect.apply([].push,f,B)}return f.length==1?f[0]:f.length>1?Promise.all(f).then(B=>{let T=[];return B.forEach($=>{$.pass===!1&&Array.isArray($.errors)&&(T=[...T,...$.errors])}),T.length>0?{pass:!1,errors:T}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(u,f=!0,k=!1)=>{if(k===!0){Reflect.ownKeys(u).forEach(B=>{let T=String(B);const E=$r(c,T,{componentName:"",fieldName:T,pureDataValidate:!0},v,g);r[ct].set(T,E);const x=u[T];x&&E.validateSchema.setRule(x)});return}if(f){const S=Reflect.ownKeys(u),B={name:T=>S.includes(T)};v?.emitToChildren(B,"setNameValidateRules",u,!1)}},r.clearValidate=(u=!0)=>{let f=null;if(u===!0)f={name:"*"};else if(Array.isArray(u)&&u.length>0){const k=u;f={name:S=>S?k.indexOf(S)!==-1:!1}}else if(u!=null&&typeof u=="object"){const k=u;if(Array.isArray(k.include)&&k.include.length>0){const S=k.include;f={name:B=>B?S.indexOf(B)!==-1:!1}}else if(Array.isArray(k.exclude)&&k.exclude.length>0){const S=k.exclude;f={name:B=>B?S.indexOf(B)===-1:!1}}else f={name:"*"}}f&&v?.emitToChildren(f,"clearValidate",!1)},r.resetFields=u=>{const f=m();if(!f)return;const k={};if(tt(!0,k,h()??{}),Array.isArray(u))u.forEach(S=>{f[S]=k[S]});else if(u&&Array.isArray(u.include))(u.include??[]).forEach(B=>{f[B]=k[B]});else if(u&&Array.isArray(u.exclude)){let S=u.exclude??[];Reflect.ownKeys(k).forEach(B=>{S.includes(B)||(f[B]=k[B])})}else Object.assign(f,k);r.clearValidate(u)},r.setModelValue=(u,f)=>{!f||f===i?d(u):v?.emitToChildren({name:f},"setModelValue",u)},r.getModelValue=()=>m()}return t.onUnmounted(()=>{c.destroy(),r[Ee]=void 0,r[ct]&&(r[ct].clear(),r[ct]=void 0),v!==null&&(v.destroy(),r[be]=void 0),g!==null&&(g.destroy(),r[Le]=void 0)}),c}function Tr(e,o,l=[]){const a=t.getCurrentInstance()?.proxy;let r=t.inject(Ee,null);r===null&&(r=ft());const s=e||o.prop||o.name,i=new ko(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 Er(e,o,l){const a=Fe(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(be,null),i=yo(a,s,r,l);a[be]=i,t.provide(be,i),a.broadcast=(g,y,...b)=>Reflect.apply(i.emit,i,[g,y,...b]);const c=t.inject(Le,null);e.fieldName=e.fieldName??r;const d=vo(a,c,e);a[Le]=d,t.provide(Le,d),Er(a,d,r),a.validate=(g=null)=>{const y=[];let b=!1,u=!1;if(Array.isArray(g)&&g.indexOf(r)!==-1)u=!0,b=!0;else if(g&&typeof g=="object"){const f=g;f.ignoreHidden===!0&&go(a.$el)?u=!1:(Array.isArray(f.include)&&f.include.indexOf(r)!==-1||Array.isArray(f.exclude)&&f.exclude.indexOf(r),u=!0),b=f.deep??!1}else typeof g=="boolean"&&(b=g),u=!0;if(u){const f=d?.validate();y.push(f)}if(b){let f=null;const k={deep:!1};if(g===!0)f={name:"*"};else if(Array.isArray(g)&&g.length>0){const S=g;f={name:B=>B?S.indexOf(B)!==-1:!1}}else if(g!=null&&typeof g=="object"){const S=g;if(k.ignoreHidden=S.ignoreHidden,Array.isArray(S.include)&&S.include.length>0){const B=S.include;f={name:T=>T?B.indexOf(T)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const B=S.exclude;f={name:T=>T?B.indexOf(T)===-1:!1}}else f={name:"*"}}if(f){const S=i.emitToChildren(f,"validate",k);Reflect.apply([].push,y,S)}}return y.length==1?y[0]:y.length>1?Promise.all(y).then(f=>{let k=[];return f.forEach(S=>{S.pass===!1&&Array.isArray(S.errors)&&(k=[...k,...S.errors])}),k.length>0?{pass:!1,errors:k}:{pass:!0}}):Promise.resolve({pass:!0})},a.setValidateRule=g=>d?.setRule(g),a.setNameValidateRules=(g,y=!1)=>{const b=g[r];if(b&&d?.setRule(b),y){const u={name:f=>Reflect.ownKeys(g).includes(f)};i.emitToChildren(u,"setNameValidateRules",g,!1)}},a.clearValidate=(g=null)=>{(!Array.isArray(g)||g.indexOf(o??"")!==-1)&&d?.clear();let y=null;if(g===!0)y={name:"*"};else if(Array.isArray(g)&&g.length>0){const b=g;y={name:u=>u?b.indexOf(u)!==-1:!1}}else if(g!=null&&typeof g=="object"){const b=g;if(Array.isArray(b.include)&&b.include.length>0){const u=b.include;y={name:f=>f?u.indexOf(f)!==-1:!1}}else if(Array.isArray(b.exclude)&&b.exclude.length>0){const u=b.exclude;y={name:f=>f?u.indexOf(f)===-1:!1}}else y={name:"*"}}y&&i.emitToChildren(y,"clearValidate",!1)};const m=new Rs(a);a[Na]=m;const h=pt((g="validate")=>{g==="reset"?d.clear():d.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Nr()).forEach(g=>{m.on(g,y=>{h("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Vr()).forEach(g=>{m.on(g,y=>{h("reset")})}),t.onUnmounted(()=>{i.destroy(),a[be]=void 0,d.destroy(),a[Le]=void 0,m.destroy(),a[Na]=void 0}),{broadcast:i,validateSchema:d,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 $r(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=vo({},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,v=!1;if(Array.isArray(m)&&m.indexOf(s)!==-1)v=!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),v=!0,p=g.deep??!1}else typeof m=="boolean"&&(p=m),v=!0;if(v){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 b=m;g={name:u=>u?b.indexOf(u)!==-1:!1}}else if(m!=null&&typeof m=="object"){const b=m;if(Array.isArray(b.include)&&b.include.length>0){const u=b.include;g={name:f=>f?u.indexOf(f)!==-1:!1}}else if(Array.isArray(b.exclude)&&b.exclude.length>0){const u=b.exclude;g={name:f=>f?u.indexOf(f)===-1:!1}}else g={name:"*"}}if(g){const b=d.emitToChildren(g,"validate",y);Reflect.apply([].push,h,b)}}return h.length==1?h[0]:h.length>1?Promise.all(h).then(g=>{let y=[];return g.forEach(b=>{b.pass===!1&&Array.isArray(b.errors)&&(y=[...y,...b.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 d=yo(null,n,s,r);return{broadcast:d,validateSchema:c}}const de=e=>e?`${se(e)}px`:"";function se(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(Qe){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 Ye="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=se(e.top)),e.left!==null&&e.left!==void 0&&(o.left=se(e.left)),e.bottom!==null&&e.bottom!==void 0&&(o.bottom=se(e.bottom)),e.right!==null&&e.right!==void 0&&(o.right=se(e.right))),o}function cn(e,o,l={},n=!0,a=-1,r=-1,s=0,i=0){if(e.headerHeight=se(l.headerHeight??o.headerHeight??-1),e.headerPadding=Me(l.headerPadding??o.headerPadding),e.footerHeight=se(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=se(c,r):e.height=se(r)-se(s,r)-se(i,r),e.width=se(l.width??o.width??0,a)}}function Dr(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=se(a.top),n.safeAreaBottom=se(a.bottom),n.safeAreaLeft=se(a.left),n.safeAreaRight=se(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,d=e.get("footerBarHeight")??0;cn(n,r,o,!0,s,i,c,d);const m=t.reactive(n),h=e.getForParent(Ye);h&&(n.height=ro(e,h),n.width=so(e,h),t.watch([()=>ro(e,h),()=>so(e,h)],([v,g])=>{m.height=v,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")],([v,g,y=-1,b=-1,u=0,f=0])=>{cn(m,g,o,p,y,b,u,f)}),e.set(Ye,m),m}function bo(e){return e.get(Ye)}function So(e,o){if(o=o??e.get(Ye),o&&o.headerMounted){const l=o.safeAreaTop==-1?0:o.safeAreaTop;return o.headerAllHeight??o.headerHeight+l}return 0}function Co(e,o){if(o=o??e.get(Ye),o&&o.footerMounted){const l=o.safeAreaBottom==-1?0:o.safeAreaBottom;return o.footerAllHeight??o.footerHeight+l}return 0}function ro(e,o){if(o=o??e.get(Ye),o){if(o.contentInnerHeight)return o.contentInnerHeight;const l=So(e,o),n=Co(e,o);return o.height-l-n-(o.contentPadding.top??0)-(o.contentPadding.bottom??0)}return 0}function so(e,o){return o=o??e.get(Ye),o?o.contentInnerWidth??o.width-(o.contentPadding.left??0)-(o.contentPadding.right??0):0}function Ks(e,o){const l=e.get("isInnerPage");return typeof l=="function"?Reflect.apply(l,{},[o,e]):!1}function Us(e){return!!e.getForParent(Ye)}var io=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(io||{});function Yo(e,o){return e==null?!1:typeof o=="function"?o(e):!0}function we(e,o,l=1,n){const a=Fe();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(Yo(c,n))return c}const s=e.value;return Yo(s,n)?s:null}):t.computed(()=>{const r=e.value;return Yo(r,n)?r:a?.get(o)})}function Te(e){return we(e,"readonly",0,function(l){return he(l)})}function Ne(e){return we(e,"disabled",0,function(l){return he(l)})}function De(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 xr=new Map,co=new Map;let un=null;function Hs(e){un=e}function Ir(e,o,l){if(l){let n=co.get(l);n||(n=new Map,co.set(l,n)),n.set(e,o)}else xr.set(e,o)}function St(e,o,l){!l&&un&&(l=un(e)??void 0);let n=null;if(l){let a=co.get(l);a&&(n=a.get(o))}return n||(n=xr.get(o)),n}function js(e,o){for(let l in e){const n=e[l];Ir(l,n,o)}}function Ws(e){co.delete(e)}function Ys(){return{top:0,left:0,bottom:0,right:0}}function Xs(e=0,o=0){if(Qe){const l=document.documentElement.clientWidth||document.body.clientWidth,n=document.documentElement.clientHeight||document.body.clientHeight,a={width:l,height:n-se(e,n)-se(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 Qs{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=ft();if(this.initPageLayout(l,a),l.autoAdjustPageLayout!==!1&&window.ResizeObserver){const r=ao(()=>{const i={...l},c=document.documentElement.clientWidth||document.body.clientWidth,d=document.documentElement.clientHeight||document.body.clientHeight;i.width=c,i.height=d,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=tt({},Ys(),o.safeAreaInset),s=Xs(n,a),i=tt({},s.pageLayout,o.pageLayout);l=l??ft(),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){Hs(o)}setAPI(o,l,n){Ir(o,l,n)}getAPI(o,l,n){return St(o,l,n)}batchSetAPI(o,l){js(o,l)}clearScopeAPI(o){Ws(o)}getRootDomain(){return ft()}}function H(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 Gs=(e,o)=>{let l=document.body;const n=e.teleport||"body";n!="body"&&(dr(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={};lo(o.wrapper)?i=o.wrapper(l,a):i=o.wrapper;const c=t.createApp(i,e),d=o.components;return d&&d.forEach(m=>{c.use(m)}),l.appendChild(a),{instance:c.mount(a),unmount:()=>{c.unmount(),l.removeChild(a)}}},qr=(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}},zr={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}},Mr={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}},Pr=[];for(const e in Mr)Pr.push(e);function Ae(e,o=null){if(o||(o=t.getCurrentInstance()),o&&o.proxy){let l=o.proxy;Object.assign(l,e)}}const Zs=Symbol.for("InnerPageScopeKey"),Js=(e,o)=>({inheritAttrs:!0,props:{...ue,...zr,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=In(l.name,l);if(a){const d=Dr(a,l);Ae({getPageContentHeight:()=>ro(a,d),getPageContentWidth:()=>so(a,d),getPageHeaderHeight:()=>So(a,d),getPageFooterHeight:()=>Co(a,d)});const m=t.inject(Zs,!1);d&&m&&(d.contentHeight="100%")}const r=t.computed(()=>({[e]:!0})),s=t.computed(()=>({})),i=t.getCurrentInstance(),c=(d,m=!1)=>{const h=i?.proxy;h&&typeof h.setNameValidateRules=="function"&&h.setNameValidateRules(d,!0,m)};return t.watch([()=>l.rules,()=>l.pureDataRules],([d,m],[h,p])=>{if(d&&h){const v=t.toRaw(h),g=t.toRaw(d),y=g?Reflect.ownKeys(g):[];(v?Reflect.ownKeys(v):[]).forEach(u=>{y.includes(u)||(g[u]=[])}),c(g)}if(m&&p){const v=t.toRaw(p),g=t.toRaw(m),y=g?Reflect.ownKeys(g):[];(v?Reflect.ownKeys(v):[]).forEach(u=>{y.includes(u)||(g[u]=[])}),c(g,!0)}},{deep:!0}),t.onMounted(()=>{if(l.rules){const d=t.toRaw(l.rules);c(d)}if(l.pureDataRules){const d=t.toRaw(l.pureDataRules);c(d,!0)}}),{classes:r,styles:s}}}),{componentName:_s,create:ei,scope:qN}=H("page"),ti=ei(Js(_s));function oi(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},qn=Z(ti,[["render",oi]]);function wo(e){const o=t.unref(e);return{width:o.offsetWidth,height:o.offsetHeight}}function zn(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 ni=(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=Fe(),i=s?bo(s):null;i&&(i.headerMounted=!0);const c=e,d=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?se(a.height):null,p=t.computed(()=>{const C={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(s&&i){const w=Me(a.padding??i.headerPadding);return Object.assign(C,w),h&&(i.headerHeight=h),i.headerHeight>0&&(C.height=i.headerHeight),C.safeAreaTop=i.safeAreaTop===-1?0:i.safeAreaTop,C.safeAreaTop>0&&(C.top=C.safeAreaTop+(w.top??0),C.height=(C.height??0)+C.safeAreaTop),C}if(h&&(C.height=h),a.padding){const w=Me(a.padding);Object.assign(C,w)}return C}),v=t.ref(null),g=()=>{if(i&&v.value&&!go(v.value)){if(!n){const C=wo(v.value);i.headerAllHeight=C.height}return i.headerMounted=!0,!0}return!1};let y=null;t.onMounted(()=>{i&&(xn(g,50,5,50,!0),window.ResizeObserver&&v.value&&(y=new window.ResizeObserver(()=>{g()}),y.observe(v.value)))}),t.onUnmounted(()=>{i&&(i.headerMounted=!1,y&&(y.disconnect(),y=null))});const b=t.computed(()=>{const C={};return p.value.height!==null&&p.value.height!==void 0&&(C.height=`${p.value.height}px`),p.value.top!==null&&p.value.top!==void 0&&(C.paddingTop=`${p.value.top}px`),p.value.left!==null&&p.value.left!==void 0&&(C.paddingLeft=`${p.value.left}px`),p.value.right!==null&&p.value.right!==void 0&&(C.paddingRight=`${p.value.right}px`),p.value.bottom!==null&&p.value.bottom!==void 0&&(C.paddingBottom=`${p.value.bottom}px`),C}),u=t.computed(()=>!(p.value.height!==null&&p.value.height!==void 0&&p.value.height<=0));function f(){r.emit("back")}function k(){r.emit("click-title")}function S(){r.emit("click-right")}function B(){r.emit("click-right-text")}const T=()=>{if(!a.leftShow)return null;const C=[];if(r.slots.left)C.push(r.slots.left());else{if(r.slots.leftIcon){const w=t.h("view",{class:"left-icon",onClick:f},[r.slots.leftIcon()]);C.push(w)}else if(a.leftIcon){const w=t.h("view",{class:"left-icon",onClick:f},[t.h(a.leftIcon)]);C.push(w)}if(a.leftText){const w=t.h("view",{class:"left-text",onClick:f},[a.leftText]);C.push(w)}}return C.length===0?null:t.h("view",{class:"fox-header-bar__left"},C)},$=()=>{if(!a.rightShow)return null;const C=[];if(r.slots.right)C.push(r.slots.right());else{if(a.rightText){const w=t.h("view",{class:"right-text",onClick:B},[a.rightText]);C.push(w)}if(r.slots.rightIcon){const w=t.h("view",{class:"right-icon",onClick:S},[r.slots.rightIcon()]);C.push(w)}else if(a.rightIcon){const w=t.h("view",{class:"right-icon",onClick:S},[t.h(a.rightIcon)]);C.push(w)}}return C.length===0?null:t.h("view",{class:"fox-header-bar__right"},C)},E=()=>{if(!a.titleShow)return null;const C=[],w=r.slots.default?r.slots.default():null;if(w)C.push(w);else{if(a.title){const z=t.h("view",{class:"title-text"},[a.title]);C.push(z)}if(r.slots.titleIcon){const z=t.h("view",{class:"title-icon",onClick:k},[r.slots.titleIcon()]);C.push(z)}else if(a.titleIcon){const z=t.h("view",{class:"title-icon",onClick:k},[t.h(a.titleIcon)]);C.push(z)}}return C.length===0?null:t.h("view",{class:"fox-header-bar__title"},C)},x=()=>{const C=[],w=r.slots.bottom?r.slots.bottom():null;return w&&C.push(w),C.length===0?null:t.h("view",{class:"fox-header-bar__bottom"},C)};return()=>{if(!u.value)return null;const C=[];if(r.slots.all)C.push(r.slots.all());else{const z=[],P=T();P&&z.push(P);const A=E();A&&z.push(A);const V=$();if(V&&z.push(V),z.length>0){const N=t.h("view",{class:m.value},z);C.push(N)}const D=x();D&&C.push(D)}if(C.length===0)return null;const w={class:d.value,style:b.value,ref:v};return t.h("view",w,C)}}}),{componentName:li,create:ai,scope:ri}=H("header-bar"),Mn=ai(ni(li,ri,ee.Left,!1));function si(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=Fe(),s=r?bo(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?se(n.height):null,d=t.computed(()=>{const g={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&s){const y=Me(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.height=(g.height??0)+g.safeAreaBottom,g.bottom=g.safeAreaBottom+(y.bottom??0)),g}if(c&&(g.height=c),n.padding){const y=Me(n.padding);Object.assign(g,y)}return g}),m=t.ref(null),h=()=>{if(s&&m.value&&!go(m.value)){if(!l){const g=wo(m.value);s.footerAllHeight=g.height}return s.footerMounted=!0,!0}return!1};let p=null;t.onMounted(()=>{s&&(xn(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 v=t.computed(()=>{const g={};return d.value.height!==null&&d.value.height!==void 0&&(g.height=de(d.value.height)),d.value.top!==null&&d.value.top!==void 0&&(g.paddingTop=de(d.value.top)),d.value.left!==null&&d.value.left!==void 0&&(g.paddingLeft=de(d.value.left)),d.value.right!==null&&d.value.right!==void 0&&(g.paddingRight=de(d.value.right)),d.value.bottom!==null&&d.value.bottom!==void 0&&(g.paddingBottom=de(d.value.bottom)),g});return()=>{const g=a.slots.default?a.slots.default():[],y={ref:m,class:i.value,style:v.value};return t.h("view",y,g)}}}}const{componentName:ii,create:ci,scope:ui}=H("footer-bar"),Pn=ci(si(ii,ui,!1));function di(e,o){return{props:{padding:{type:[Object],required:!1}},setup(l){const n=Fe(),a=t.computed(()=>({[e]:!0})),r=n?bo(n):null,s=t.computed(()=>{const d={};if(n&&r){if(l.padding){const u=Me(l.padding);Object.assign(r.contentPadding,u)}const m=So(n,r),h=Co(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),d.height=p;let v=(r&&r.contentPadding&&r.contentPadding.top)??-1;(v>=0||m>0)&&(v=v<0?0:v,d.paddingTop=`${m+v}px`);let g=(r&&r.contentPadding&&r.contentPadding.bottom)??-1;(g>=0||h>0)&&(g=g<0?0:g,d.paddingBottom=`${h+g}px`);const y=(r&&r.contentPadding&&r.contentPadding.left)??-1;y>=0&&(d.paddingLeft=`${y}px`);const b=(r&&r.contentPadding&&r.contentPadding.right)??-1;return b>=0&&(d.paddingRight=`${b}px`),d}if(l.padding){const m=Me(l.padding);m.left&&(d.paddingLeft=`${m.left}px`),m.top&&(d.paddingTop=`${m.top}px`),m.right&&(d.paddingRight=`${m.right}px`),m.bottom&&(d.paddingBottom=`${m.bottom}px`)}return d}),i=t.ref(null),c=pt(()=>{if(r&&i.value){const d=zn(i.value);r.contentInnerHeight=d.height,r.contentInnerWidth=d.width}},0);return t.onMounted(()=>{c()}),n&&r&&t.watch([()=>s.value,()=>a.value],([])=>{c()}),{contentRef:i,classes:a,styles:s}}}}const{componentName:fi,create:mi,scope:zN}=H("content"),pi=mi(di(fi));function hi(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 Rn=Z(pi,[["render",hi]]),ht="GroupStateKey",Rr=Symbol.for("GroupScopeKey");function No(){return t.inject(Rr,!1)}function Bo(e=!0){t.provide(Rr,e)}function gi(e,o={}){Reflect.ownKeys(o).forEach(n=>{if(typeof n!="string")return;const a=o[n];ur(a)||(e[n]=a)})}function yi(e,o={}){const n={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};gi(n,o);const a=t.shallowRef(n),r=t.markRaw({layout:a,passport:0,order:{index:0}});return e.set(ht,r),r}function Xo(e,o,l=-1,n=-1,a=!1,r,s,i){const c=e.get(ht);if(!c)return;const d=e.get("groupLayout")??{};l===-1&&(l=d.column??1),n===-1&&(n=d.gutter??0),r||(r=d.minItemWidth??-1),s||(s=d.maxItemWidth??-1);const m=se(r),h=se(s);i||(i=d.type??"grid");const p=()=>{const v=o===""||o===-1,g=se(o);let y=me(l);const b=se(n);if(!v){let k=(g-(y-1)*b)/y;for(;h!==-1&&k>h;)y++,k=(g-(y-1)*b)/y;for(;m!==-1&&y>1&&k<m;)y--,k=(g-(y-1)*b)/y}let u=!1;const f=c.layout;f.value.width=o,f.value.column!==y&&(f.value.column=y,u=!0),f.value.gutter!==b&&(f.value.gutter=b,u=!0),f.value.type!==i&&(f.value.type=i,u=!0),u&&t.triggerRef(f)};if(a)p();else{const v=++c.passport;setTimeout(()=>{v===c.passport&&p()},50)}}function Vo(e,o=!1){let l;return o?l=e.getForParent(ht):l=e.get(ht),l.layout}function Ao(e,o=!1){let l;return o?l=e.getForParent(ht):l=e.get(ht),l.order}function Ba(e,o=1){if(o==="stretch")return-1;const l=me(o);return l===-1?100:100*l/e}function To(e,o,l=1,n=0,a){const r={};let s=0;a?s=se(a):s=Ba(o.column,l),s>0&&(r.width=`${s}%`);const i=Ba(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 Eo(e,o,l=1,n=0){if(l==="stretch"){const c=e.index%o.column,d=c+(o.column-c);return e.index=e.index+(d-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 Lr=Symbol("RollingStateKey");function vi(e){t.provide(Lr,e)}function ki(){return t.inject(Lr,null)}function dn(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 bi(e){let o=dn(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=dn(l),document.body.removeChild(l)}return o}function Si(e,o,l){if(e<=0)return"1fr";const n=(e-(o-1)*l)/o;return n>0?`${n}px`:"1fr"}const Ci={...ue,...zr,...Mr};function wi(e,o,l){return{props:Ci,emits:["update:collapse"],setup(n,a){const r=In(n.name,n,Pr),s=yi(r,{type:n.type}),i=No();Bo(!0);const c=n.rollingDisplay?ki():null,d=t.ref(null),m=t.computed(()=>n.rollingDisplay?c&&!c.disabled:!1),h=t.computed(()=>i&&r?Vo(r,!0).value:null),p=t.getCurrentInstance(),v=(j,X=!1)=>{const J=p?.proxy;J&&typeof J.setNameValidateRules=="function"&&J.setNameValidateRules(j,!0,X)};t.watch([()=>n.rules,()=>n.pureDataRules],([j,X],[J,te])=>{if(j&&J){const oe=t.toRaw(J),le=t.toRaw(j),pe=le?Reflect.ownKeys(le):[];(oe?Reflect.ownKeys(oe):[]).forEach(qe=>{pe.includes(qe)||(le[qe]=[])}),v(le)}if(X&&te){const oe=t.toRaw(te),le=t.toRaw(X),pe=le?Reflect.ownKeys(le):[];(oe?Reflect.ownKeys(oe):[]).forEach(qe=>{pe.includes(qe)||(le[qe]=[])}),v(le,!0)}},{deep:!0});const g=e,y=t.computed(()=>{const j={};if(j.height=D.value,n.width)n.width!=="auto"&&(j.width=de(n.width));else{const X=i?Ao(r,!0):null;if(h.value&&X){if(h.value.type==="grid"){const J=Eo(X,h.value,n.span,n.offset);Object.assign(j,J)}else if(h.value.type==="flow"){const J=To(X,h.value,n.span,n.offset,n.width);Object.assign(j,J)}}}return j}),b=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}}),u=t.computed(()=>{if(s.layout.value.type==="grid"){let X="";if(n.columnWidth)X=`repeat(auto-fill, ${n.columnWidth})`;else{const J=Si(x.value,s.layout.value.column,s.layout.value.gutter);X=`repeat(${s.layout.value.column}, ${J})`}return{"column-gap":`${s.layout.value.gutter}px`,"grid-template-columns":X}}}),f=t.toRef(n,"title"),k=t.toRef(n,"gutter"),S=t.toRef(n,"column"),B=t.computed(()=>i||m.value?!0:he(n.isWrap)),T=[],$=j=>{T.push(j)},E=()=>{let j=T.length;T.splice(0,j)},x=t.ref(-1),C=j=>{const X=zn(j).width;X>0&&X!==x.value&&(x.value=X)};Xo(r,x.value,S.value,k.value,!0,n.minItemWidth,n.maxItemWidth,n.type),n.autoLayout&&t.watch([x,S,k],([j,X,J])=>{s.order.index=0,Xo(r,j,X,J,!1,n.minItemWidth,n.maxItemWidth,n.type)});const w=t.computed(()=>N.value?n.expandText??"":n.collapseText??""),z=t.computed(()=>({[`${e}__header-collapse-text`]:!0})),P=t.computed(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!N.value,"is-collapse":N.value})),A=t.ref(),V=t.ref(),D=t.computed(()=>R.value||de(n.height)||""),N=t.ref(!1),R=t.ref(""),M=t.ref(!1);let I=-1;const L=(j,X=!0)=>{const J=A.value;if(J&&N.value!==j){if(I=I===-1?bi(J):I,M.value=!0,X)if(J.style["will-change"]="height",J.ontransitionend=function(){J.ontransitionend=null,this.style["will-change"]="auto",j||(R.value="",M.value=!1)},j){let te=0;n.collapseHeight?te=n.collapseHeight:V.value&&V.value.classList.contains(`${e}__header`)&&(te=V.value.offsetHeight),R.value=`${I}px`,t.nextTick(()=>{R.value=`${te}px`})}else R.value=`${I}px`;else if(j){let te=0;n.collapseHeight?te=n.collapseHeight:V.value&&V.value.classList.contains(`${e}__header`)&&(te=V.value.offsetHeight),R.value=`${te}px`}else M.value=!1,R.value=`${I}px`;N.value=j,a.emit("update:collapse",j)}};t.watch(()=>n.collapse,j=>{L(j)});const Q=()=>{W()},W=j=>{j=j??!N.value,L(j)};Ae({toggleCollapse:W,doLayout:()=>{T[0]&&(C(T[0]),Xo(r,x.value,S.value,k.value,!0,n.minItemWidth,n.maxItemWidth,n.type))}});let O=null,K=!0;const q=j=>{if(n.rules){const X=t.toRaw(n.rules);v(X)}if(n.pureDataRules){const X=t.toRaw(n.pureDataRules);v(X,!0)}if(Qe&&(j&&L(he(n.collapse),!1),n.autoLayout&&Array.isArray(T)&&T.length>0)){const X=T[0];C(X),window.ResizeObserver&&(O=new window.ResizeObserver(()=>{C(X)}),O.observe(X))}},F=()=>{O?.disconnect(),O=null},U=!m.value||c?.acquire();U&&(d.value=m.value?!0:null),t.onMounted(()=>{if(U&&(q(K),K=!1),m.value&&c){let j=null,X=c.initialHeight;c.observe(A.value,J=>{if(J!==d.value)if(J)d.value=!0,N.value||(R.value=""),j=setTimeout(()=>{j=null,d.value!==!1&&(q(K),K=!1)},100);else{if(j!==null&&clearTimeout(j),d.value=!1,!N.value)if(K)R.value=c.initialHeight;else{let te=dn(A.value);te<=0?R.value=X:(R.value=`${te}px`,X=R.value)}K||F()}})}}),t.onUnmounted(()=>{O?.disconnect(),c&&c.unobserve(A.value)});const G=(j="right")=>{const X=[];if(w.value){const oe={class:z.value},le=t.h("span",oe,[w.value]);X.push(le)}const J={class:P.value},te=l(n.collapseIcon,J);return te&&X.push(te),X.length>0?t.h("div",{class:{[`${g}__header-collapse`]:!0,[`is-${j}`]:!0},onClick:Q},X):null},Y=(j,X,J,te)=>{const oe={...b.value};return X===0&&(oe[`${g}__first`]=!0),J>=te-1&&(oe[`${g}__last`]=!0),t.h("div",{ref:$,key:`${X}`,class:oe,style:u.value},j)};return()=>{if(m.value&&d.value!==!0){const oe=n.tag||"div";return t.h(oe,{ref:A,prop:n.name,class:{[`${g}`]:!0,"is-collapse":M.value},style:y.value},[])}s.order.index=0;const j=[];let X=0;if(a.slots.header){const oe={key:`${X++}`,ref:V,class:{[`${g}__header`]:!0,[`${g}__first`]:!0}},le=t.h("div",oe,[a.slots.header()]);j.push(le)}else{const oe=[],le=n.collapsePosition==="left";if(le&&n.showCollapse){const pe=G("left");pe&&oe.push(pe)}if(f.value){if(n.showMark){const ve={class:{[`${g}__header-mark`]:!0}};n.markColor&&(ve.style={background:n.markColor});const qe=t.h("div",ve);oe.push(qe)}const pe=t.h("div",{class:{[`${g}__header-title`]:!0}},[f.value]);oe.push(pe)}if(a.slots.toolbar&&oe.push(a.slots.toolbar()),!le&&n.showCollapse){const pe=G("right");pe&&oe.push(pe)}if(oe.length>0){const pe={key:`${X++}`,ref:V,class:{[`${g}__header`]:!0,[`${g}__first`]:!0}},ve=t.h("div",pe,oe);j.push(ve)}}E();const J=a.slots.default?a.slots.default():[],te=s.layout.value.type;if(te==="grid"){const oe=Y(J,X++,0,J.length);j.push(oe)}else if(te==="flow"){const oe=Y(J,X++,0,J.length);j.push(oe)}else for(let oe=0;oe<J.length;oe++){const le=J[oe],pe=Y([le],X++,oe,J.length);j.push(pe)}if(B.value){const oe=n.tag||"div";return t.h(oe,{ref:A,prop:n.name,class:{[`${g}`]:!0,"is-collapse":M.value},style:y.value},[j])}else return j}}}}const{componentName:Ni,create:Bi,scope:Vi}=H("group"),Ai=(e=ee.RectUp,o={})=>t.h(e,o),Ln=Bi(wi(Ni,Vi,Ai));function Ti(e){return e===window}const Ei=/matrix\((.+)\)/,Or=e=>{const o=t.unref(e);if(!o)return{x:0,y:0};if(Ti(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:d}=window.getComputedStyle(a);if(d){const m=Ei.exec(d);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 $i{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 Di{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 $i,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 Va=new Di,Fr={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:xi,create:Ii}=H("price"),qi=Ii({props:{...Fr},setup(e){const o=t.computed(()=>({[xi]:!0})),l=t.computed(()=>e.needSymbol?e.symbol:""),n=t.computed(()=>ge(e.price)==0?"":mo(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"],Mi=["innerHTML"];function Pi(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,Mi)):t.createCommentVNode("",!0)],2)}const Xe=Z(qi,[["render",Pi]]),{componentName:Qo,create:Ri}=H("hint-text"),Li=Ri({components:{Price:Xe},props:{...Fr,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),d=(w,z,P,A,V,D)=>{const N=document.documentElement.clientWidth||document.body.clientWidth,R=document.documentElement.clientHeight||document.body.clientHeight,M=w.split("-");let I=[];M[0]==="top"?I=["top","bottom","right","left"]:M[0]==="bottom"?I=["bottom","top","right","left"]:M[0]==="left"?I=["left","top","bottom","right"]:M[0]==="right"&&(I=["right","top","bottom","left"]);const L={top:null,right:null,bottom:null,left:null},Q=[];for(let W=0;W<I.length;W++){const _=I[W];if(Q[0]=_,M[1]&&(Q[1]=M[1]),_==="top"){const O=z.y-D-e.arrowSize-e.offset;if(O>=0){L.top=O;let K=0;M[1]==="start"?K=z.x:M[1]==="end"?K=z.x+P-V:K=z.x+P/2-V/2;const q=N-K-V;q<0?(K+=q,h.value=-q):h.value=0,L.left=K<0?0:K;break}}else if(_==="bottom"){const O=z.y+A+e.arrowSize+e.offset;if(O+D<=R){L.top=O;let K=0;M[1]==="start"?K=z.x:M[1]==="end"?K=z.x+P-V:K=z.x+P/2-V/2;const q=N-K-V;q<0?(K+=q,h.value=-q):h.value=0,L.left=K<0?0:K;break}}else if(_==="left"){const O=z.x-V-e.arrowSize-e.offset;if(O>=0){L.left=O;let K=0;M[1]==="start"?K=z.y:M[1]==="end"?K=z.y+A-D:K=z.y+A/2-D/2,L.top=K<0?0:K;break}}else if(_==="right"){const O=z.x+P+e.arrowSize+e.offset;if(O+V<=N){L.left=O;let K=0;M[1]==="start"?K=z.y:M[1]==="end"?K=z.y+A-D:K=z.y+A/2-D/2,L.top=K<0?0:K;break}}}return{bestPlacement:Q.join("-"),bestInsetRect:L}},m=(w,z,P=10)=>{if(!Qe||z===!1||!w)return;n.value=Or(e.reference),a.value=e.reference.offsetWidth,r.value=e.reference.offsetHeight;const A=c.value.offsetHeight,V=c.value.offsetWidth,{bestPlacement:D,bestInsetRect:N}=d(e.placement,n.value,a.value,r.value,V,A);s.value=D,l.value=N,i.value=!0},h=t.ref(0),p=pt(()=>{m(e.message,e.visible)},10),v=t.ref(e.visible);t.watch(()=>e.visible,w=>{v.value=w});const g=t.computed(()=>v.value&&y.value),y=t.ref(!0),b=pt(w=>{const z=w[0];z&&(y.value=z.isIntersecting)},10),u=new IntersectionObserver(b);t.watch([()=>e.message,()=>e.visible],([w,z])=>{setTimeout(()=>{m(e.message,e.visible)},0)}),t.onMounted(()=>{setTimeout(()=>{m(e.message,e.visible)},0),Va.watch(e.reference,p),u.observe(e.reference)}),t.onBeforeMount(()=>{Va.unwatch(e.reference,p),u.unobserve(e.reference),u.disconnect()});const f=t.computed(()=>{const w={[Qo]:!0};return s.value.startsWith("top")?w["is-top"]=!0:s.value.startsWith("right")?w["is-right"]=!0:s.value.startsWith("bottom")?w["is-bottom"]=!0:s.value.startsWith("right")&&(w["is-right"]=!0),e.size==="small"?w["is-small"]=!0:e.size==="large"&&(w["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(w[`${e.customClass}`]=!0),w}),k=t.computed(()=>{const w={};l.value.top!==null&&(w.top=`${l.value.top}px`),l.value.right!==null&&(w.right=`${l.value.right}px`),l.value.bottom!==null&&(w.bottom=`${l.value.bottom}px`),l.value.left!==null&&(w.left=`${l.value.left}px`),e.autoFit&&(w["min-width"]=`${a.value}px`);const z=document.documentElement.clientWidth||document.body.clientWidth;return w["max-width"]=`${z}px`,i.value&&(w.opacity="1"),e.transition||(w.transition="none"),e.zIndex&&(w["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(w,e.customStyle),w}),S=t.computed(()=>{const w=[`${Qo}__content`];return e.customTextClass&&w.push(e.customTextClass),w}),B=t.computed(()=>{const w={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(w,e.customTextStyle),w}),T=t.computed(()=>({[`${Qo}__arrow`]:!0})),$=t.computed(()=>{const w={};return e.showArrow?(w.width=`${e.arrowSize}px`,w.height=`${e.arrowSize}px`,s.value==="top"?(w.left="50%",w.bottom=`-${e.arrowSize}px`,w.transform=" translate(-50%, 0%)"):s.value==="top-start"?(w.left=`${e.arrowOffset+h.value}px`,w.bottom=`-${e.arrowSize}px`):s.value==="top-end"?(w.right=`${e.arrowOffset-h.value}px`,w.bottom=`-${e.arrowSize}px`):s.value==="right"?(w.left=`-${e.arrowSize}px`,w.top="50%",w.transform=" translate(0%, -50%)"):s.value==="right-start"?(w.left=`-${e.arrowSize}px`,w.top=`${e.arrowOffset}px`):s.value==="right-end"?(w.left=`-${e.arrowSize}px`,w.bottom=`-${e.arrowOffset}px`):s.value==="bottom"?(w.left="50%",w.top=`-${e.arrowSize}px`,w.transform=" translate(-50%, 0%)"):s.value==="bottom-start"?(w.left=`${e.arrowOffset+h.value}px`,w.top=`-${e.arrowSize}px`):s.value==="bottom-end"?(w.right=`${e.arrowOffset-h.value}px`,w.top=`-${e.arrowSize}px`):s.value==="left"?(w.right=`-${e.arrowSize}px`,w.top="50%",w.transform=" translate(0%, -50%)"):s.value==="left-start"?(w.right=`-${e.arrowSize}px`,w.top=`${e.arrowOffset}px`):s.value==="left-end"&&(w.right=`-${e.arrowSize}px`,w.bottom=`-${e.arrowOffset}px`),w):{display:"none"}}),E=t.computed(()=>g.value&&e.closeOnClick),x=t.computed(()=>{const w={};return e.zIndex&&(w["z-index"]=`${e.zIndex}`),w});return{show:g,tipRef:c,classes:f,styles:k,textClasses:S,textStyles:B,arrowClasses:T,arrowStyles:$,overlayShow:E,overlayStyle:x,onClickOverlay:()=>{v.value=!1,o.emit("update:visible",!1)}}}});function Oi(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 Kr=Z(Li,[["render",Oi]]);class Ur{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 fn={},Fi=new Ur,mt=new Map,uo=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()}},Ki=e=>{e.unmount=uo;const o=document.getElementById(e.id);if(o){const l=mt.get(e.id);l?e={...fn,...l,...e}:e={...fn,...e},e.transition=!1;const n=t.createVNode(Kr,e);return t.render(n,o),e.id}},Ui=e=>{e.unmount=uo;let o=e.id??`hinttext_${Fi.get()}`;e={...fn,...e},e.id=o,mt.set(o,e);const l=document.createElement("div");l.id=e.id;const n=t.createVNode(Kr,e);return t.render(n,l),document.body.appendChild(l),o},Hi=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},et={show(e,o,l={},n=!0){Hi(o);const a=l.id;return a&&mt.has(a)?Ki({...l,message:o,reference:e}):(n&&uo(),Ui({...l,message:o,reference:e}))},hide(e){uo(e)},install(e){e.config.globalProperties.$hintText=et}},{componentName:Aa,create:ji}=H("item"),Wi=ji({inheritAttrs:!0,props:{...ue,...fe},emits:["appear","disappear"],setup(e,o){const l=e.prop??o.attrs.name;Be({componentName:Aa,validate:!1},l);const n=Fe(),a=No();Bo(!1);const r=t.computed(()=>a&&n?Vo(n,!1).value:null),s=Aa,i=t.ref(null),c=t.computed(()=>{const Y={[s]:!0,[`${s}__gutter`]:r.value&&r.value.type!=="flow",[`${s}__stretch`]:e.span==="stretch",[`${s}__input--border`]:e.hasBorder};if(Y[e.errorMarkClass]=!!z.value,Y[e.warnMarkClass]=!!C.value,Y[e.infoMarkClass]=!!E.value,typeof i.value=="function"){const j=i.value(l);Y[j]=!0}else if(typeof i.value=="string"){const j=i.value;Y[j]=!0}return Y}),d=t.ref(null),m=t.computed(()=>{const Y={};if(e.width)e.width!=="auto"&&(Y.width=de(e.width));else{const j=a&&n?Ao(n,!1):null;if(r.value&&j){if(r.value.type==="grid"){const X=Eo(j,r.value,e.span,e.offset);Object.assign(Y,X)}else if(r.value.type==="flow"){const X=To(j,r.value,e.span,e.offset,e.width);Object.assign(Y,X)}}}if(typeof d.value=="function"){const j=d.value(l);j&&Object.assign(Y,j)}else if(d.value&&typeof d.value=="object"){const j=d.value;Object.assign(Y,j)}return Y}),h=t.ref(null),p=t.computed({get:()=>h.value??he(e.isRequired),set:Y=>{h.value=Y}}),v=t.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof o.slots.label=="function"),g=we(t.toRef(e,"labelPosition"),"labelPosition",io.Near),y=t.computed(()=>g&&g.value==="top"?"top":g&&g.value==="right"?"right":"left"),b=t.computed(()=>({[`${s}__main`]:!0,[`${s}__main--${y.value}`]:!0})),u=t.computed(()=>({label:!0,[`label--${y.value}`]:!0})),f=we(t.toRef(e,"labelWidth"),"labelWidth",io.Near),k=t.computed(()=>f&&f.value?{width:de(f.value)}:{}),S=t.computed(()=>({"label--string":!0,"label--required":p.value})),B=t.computed(()=>({content:!0,[e.contentClass]:!0})),T=t.computed(()=>({...e.contentStyle})),$=t.shallowReactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});Ae({setRequired(Y){p.value=Y},setErrorTip(Y){$.errorTip=Y},setErrorIcon(Y){$.errorIcon=Y},setWarnTip(Y){$.warnTip=Y},setWarnIcon(Y){$.warnIcon=Y},setInfoTip(Y){$.infoTip=Y},setInfoIcon(Y){$.infoIcon=Y},setCustomClassName(Y){i.value=Y},setCustomStyle(Y){d.value=Y}});const E=t.computed(()=>e.infoTip||$.infoTip),x=t.computed(()=>e.infoIcon||$.infoIcon),C=t.computed(()=>e.warnTip||$.warnTip),w=t.computed(()=>e.warnIcon||$.warnIcon),z=t.computed(()=>e.errorTip||$.errorTip),P=t.computed(()=>e.errorIcon||$.errorIcon),A=t.computed(()=>z.value?"error":C.value?"warn":E.value?"info":""),V=t.computed(()=>A.value.length>0),D=t.computed(()=>A.value==="error"?z.value:A.value==="warn"?C.value:A.value==="info"?E.value:""),N=t.computed(()=>A.value==="error"?P.value:A.value==="warn"?w.value:A.value==="info"?x.value:null),R=t.computed(()=>{let Y={[`${s}__tip`]:!0,[`${s}__tip--${A.value}`]:!0};return A.value==="error"&&e.errorClass?Y[`${e.errorClass}`]=!0:A.value==="warn"&&e.warnClass?Y[`${e.warnClass}`]=!0:A.value==="info"&&e.infoClass&&(Y[`${e.infoClass}`]=!0),Y}),M=t.computed(()=>{let Y={};return g&&g.value==="top"||!v.value?Y["padding-left"]="0px":f&&f.value&&(Y["padding-left"]=de(f.value)),Y}),I=()=>{const Y=N.value;return Y?typeof Y=="function"?t.h("div",{class:"fox-item__tip--icon"},[Y()]):t.h("div",{class:"fox-item__tip--icon"},[t.h(Y)]):null},L=()=>{const Y=D.value;return Y?typeof Y=="function"?t.h("div",{class:"fox-item__tip--text"},[Y()]):t.h("div",{class:"fox-item__tip--text"},[Y]):null},Q=t.computed(()=>o.slots.fixedPreTip),W=t.computed(()=>({[`${s}__fixed-pre-tip`]:!0})),_=t.computed(()=>o.slots.fixedTip),O=t.computed(()=>({[`${s}__fixed-tip`]:!0})),K=t.ref();let q="";t.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([Y,j,X,J])=>{K.value&&(Y&&!ie(j)?q?et.show(K.value,j,{...J,id:q,type:X},!0):q=et.show(K.value,j,{...J,type:X},!0):et.hide(q))});let F=null;const U=()=>{F||!K.value||(F=new IntersectionObserver(Y=>{let j=!1;for(let X of Y)if(X.intersectionRatio>0){j=!0,j&&o.emit("appear",X);break}j||o.emit("disappear")}),F.observe(K.value))},G=()=>{!F||!K.value||(F.unobserve(K.value),F=null)};return t.watch(()=>he(e.appearListen),Y=>{Y?U():G()}),t.onMounted(()=>{he(e.appearListen)&&U()}),t.onUnmounted(G),{classes:c,styles:m,mainClasses:b,hasLabel:v,labelClasses:u,labelStyles:k,labelStringClasses:S,contentClasses:B,contentStyles:T,contentRef:K,hasTip:V,mTip:D,mIcon:N,renderIcon:I,renderTip:L,tipClasses:R,tipStyles:M,hasFixedTip:_,fixedTipClasses:O,hasFixedPreTip:Q,fixedPreTipClasses:W}}}),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 Ce=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=Fe(),i=No();Bo(!1);const c=t.computed(()=>{const d={};if(l.width)l.width!=="auto"&&(d.width=de(l.width));else if(i&&s){const m=Vo(s,!1),h=Ao(s,!1);if(m.value&&h){if(m.value.type==="grid"){const p=Eo(h,m.value,l.span,l.offset);Object.assign(d,p)}else if(m.value.type==="flow"){const p=To(h,m.value,l.span,l.offset,l.width);Object.assign(d,p)}}}return d});return()=>{const d=[];if(n.slots.default){const h=n.slots.default();if(l.divide)for(let p=0;p<h.length;p++){if(p>0){const v=t.h("div",{class:{[`${a}__divide`]:!0}});d.push(v)}d.push(h[p])}else Reflect.apply([].push,d,h)}const m={class:r.value,style:c.value};return t.h("div",m,d)}}}}const{componentName:Gi,create:Zi,scope:MN}=H("row-item"),On=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=Fe(),r=No();Bo(!1);const s=t.computed(()=>r&&a?Vo(a,!1).value:null),i=e,c=t.computed(()=>({[i]:!0,[`${i}__gutter`]:s.value&&s.value.type!=="flow",[`${i}__stretch`]:l.span==="stretch"})),d=t.computed(()=>{const m={};if(l.width)l.width!=="auto"&&(m.width=de(l.width));else{const h=r&&a?Ao(a,!1):null;if(s.value&&h){if(s.value.type==="grid"){const p=Eo(h,s.value,l.span,l.offset);Object.assign(m,p)}else if(s.value.type==="flow"){const p=To(h,s.value,l.span,l.offset,l.width);Object.assign(m,p)}}}return m});return()=>{const m={class:c.value,style:d.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:PN}=H("slot-item"),Fn=ec(Ji(_i)),Ta={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,...fe,...Ta},emits:["change","update:modelValue","blur","focus","clear"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=Te(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),{toLocaleRefs:d}=re.useFoxI18n(o),m=d(a,["placeholder"]),h=t.ref(!1),p=De(a,"modelValue"),v=e,g=t.computed(()=>({[v]:!0,[`${v}__disabled`]:s.value,[`${v}__readonly`]:i.value})),y=we(t.computed(()=>a.textAlign),"textAlign"),b=t.computed(()=>{const V={};return y.value&&(V["text-align"]=y.value),V}),u=V=>{let N=V.target.value;a.type==="digit"&&(N=rn(N,!0)),a.type==="number"&&(N=rn(N,!1)),a.maxLength&&N.length>Number(a.maxLength)&&(N=N.slice(0,Number(a.maxLength))),p.value=N,c("update:modelValue",N,V),c("change",N,V)};let f=De(a,"hintText"),k=t.ref(!1);const S=V=>{let N=V.target.value;h.value=!0,ie(f.value)||(k.value=!0),c("focus",N,V)},B=V=>{setTimeout(()=>{k.value&&(k.value=!1),h.value=!1},0);let N=V.target.value;a.maxLength&&N.length>Number(a.maxLength)&&(N=N.slice(0,Number(a.maxLength))),c("blur",N,V)},T=t.computed(()=>({[`${v}__append`]:!0})),$=t.computed(()=>{const V={};return r.slots.append&&!E.value&&!P.value&&(V.display="none"),V}),E=t.computed(()=>ge(a.unit)>0),x=t.computed(()=>!P.value),C=t.computed(()=>({hidden:!x.value})),w=V=>{p.value="",c("update:modelValue","",V),c("change","",V),c("clear","")},z=t.computed(()=>he(a.clearable)&&!s.value&&!i.value),P=t.computed(()=>{let V=ge(p.value)>0;return he(a.clearable)&&V&&h.value}),A=t.computed(()=>({action:!0,hidden:!P.value}));return()=>{const V={class:g.value,style:b.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:u,onFocus:S,onBlur:B},D=[],N=t.h("input",V);D.push(N);const R=[];if(z.value){const O={class:["action-icon"]},K=t.h(n,O),q={class:A.value,onClick:w},F=t.h("view",q,{default:()=>[K]});R.push(F)}if(E.value){const O=t.h("view",{class:C.value},[a.unit]);R.push(O)}const M={class:T.value,style:$.value},I=t.h("view",M,{default:()=>R});D.push(I);const L={default:()=>D};L.label=r.slots.default,L.prepend=r.slots.prepend,L.append=r.slots.append,L.fixedPreTip=r.slots.fixedPreTip,L.fixedTip=r.slots.fixedTip;const W={...En(a,Ta),hintText:f.value,hintVisible:k.value};return t.h(l,W,L)}}}}const{componentName:oc,create:nc,scope:lc}=H("input-item"),Kn=nc(tc(oc,lc,Ce,ee.CircleClose));function Ea(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 $a(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=sr(`${e}`,`${o}`);return Ea(n)}else{let n=An(`${e}`,ir(`${o}`),20);return Ea(n)}}function ac(e,o=-1,l=!1,n=3,a=","){return mo(e,o,l,n,a)}function Da(e,o,l,n,a=!0){if(e=="")return"";if(e=cr(e),o=me(o),o==1)return e;if(n)e=$a(e,o),l&&(e=="0"&&a?e=`${e}.`.padEnd(me(l)+2,"0"):e=An(e,1,me(l)));else{let r=-1*o;e=$a(e,r)}return e}function xa(e,o){let l={maxValid:!0,minValid:!0,message:""};if(o.min!==void 0){let n=he(o.minInclude),a=nn(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=nn(e,o.max);(n&&a==1||!n&&(a==0||a==1))&&(l.maxValid=!1)}return l}const Ia={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,...fe,...Ia},emits:["change","update:modelValue","blur","focus","clear"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=Te(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),d=t.ref(!1),m=De(a,"modelValue"),h=t.ref("");t.watch([()=>m.value,()=>a.rates,()=>a.precision],([M,I,L])=>{if(ie(M)){h.value="";return}const Q=Da(M,I,L,!1);h.value!==Q&&(h.value=Q)},{immediate:!0});const p=t.computed(()=>{let M="";return d.value&&(M=h.value),M}),{t:v}=re.useFoxI18n(o),g=t.computed(()=>{let M=a.placeholder??"";return!d.value&&!ie(h.value)?M=ac(h.value,a.decimalLength,a.autoPadding,a.digits,a.separator):M=ie(M)?v(["placeholder"]):M,M}),y=e,b=t.computed(()=>({[y]:!0,[`${y}__disabled`]:s.value,[`${y}__placeholder`]:h.value.length>0})),u=we(t.computed(()=>a.textAlign),"textAlign"),f=t.computed(()=>{const M={};return u.value&&(M["text-align"]=u.value),M}),k=t.ref(""),S=t.computed(()=>{let M=k.value;return ie(M)&&(M=a.errorTip??""),M}),B=t.ref(""),T=t.ref(!1),$=M=>{let L=M.target.value;if(ie(L)){h.value="",m.value="",c("update:modelValue","",M),c("change","",M),he(a.showTip)&&T.value&&(T.value=!1);return}if(L.length>=2){let Q=L;if(Q.charAt(0)=="-"&&(Q=Q.substring(1)),Q.length>=2&&Q.charAt(0)=="0"&&Q.charAt(1)!="."){t.triggerRef(h);return}}if(L!="-"){if(!vr(L)){t.triggerRef(h);return}if(a.integerLength!=-1&&kr(L)>Number(a.integerLength)){t.triggerRef(h);return}if(a.decimalLength&&a.decimalLength!=-1&&br(L)>Number(a.decimalLength)){t.triggerRef(h);return}let Q=xa(L,a);if(Q.maxValid===!1){k.value=Q.message,t.triggerRef(h);return}}else if(a.min!=null&&me(a.min)>=0){t.triggerRef(h);return}B.value=L,he(a.showTip)&&(T.value=L.length>0),h.value=L,m.value=Da(L,a.rates,a.precision,!0),c("update:modelValue",m.value,M),c("change",m.value,M)},E=M=>{if(d.value=!0,he(a.showTip)){let I=h.value;ie(I)&&(I=a.hintText),ie(I)||(B.value=I,T.value=!0)}k.value="",c("focus",m.value,M)},x=M=>{if(setTimeout(()=>{d.value=!1,he(a.showTip)&&T.value===!0&&(T.value=!1)},0),!ie(h.value)){let I=xa(h.value,a);if(I.minValid===!1||I.maxValid===!1){k.value=I.message;return}}c("update:modelValue",m.value,M),c("blur",m.value,M)},C=t.computed(()=>({[`${y}__append`]:!0})),w=t.computed(()=>{const M={};return r.slots.append&&!z.value&&!N.value&&(M.display="none"),M}),z=t.computed(()=>ge(a.unit)>0),P=t.computed(()=>!N.value),A=t.computed(()=>({hidden:!P.value})),V=M=>{m.value="",c("update:modelValue","",M),c("change","",M),c("clear","")},D=t.computed(()=>he(a.clearable)&&!s.value&&!i.value),N=t.computed(()=>{let M=ge(m.value)>0;return he(a.clearable)&&M&&d.value}),R=t.computed(()=>({action:!0,hidden:!N.value}));return()=>{let M={class:b.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:$,onFocus:E,onBlur:x},I=[],L=t.h("input",M);I.push(L);let Q=[];if(D.value){const U={class:["action-icon"]},G=t.h(n,U),Y={class:R.value,onClick:V},j=t.h("view",Y,{default:()=>[G]});Q.push(j)}if(z.value){const U=t.h("view",{class:A.value},[a.unit]);Q.push(U)}const W={class:C.value,style:w.value},_=t.h("view",W,{default:()=>Q});I.push(_);const O={default:()=>I};if(r.slots.default){let U=r.slots.default();O.label=()=>U}if(r.slots.prepend){let U=r.slots.prepend();O.prepend=()=>U}if(r.slots.append){let U=r.slots.append();O.append=()=>U}let q={...En(a,Ia),errorTip:S.value,hintText:B.value,hintVisible:T.value,hintType:"number"};return t.h(l,q,O)}}}}const{componentName:sc,create:ic,scope:cc}=H("money-item"),Un=ic(rc(sc,cc,Ce,ee.CircleClose)),mn={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:uc,create:dc,scope:fc}=H("textarea"),mc=dc({props:{...mn},emits:["update:modelValue","change","blur","focus"],setup(e,{emit:o}){let{toLocaleRefs:l}=re.useFoxI18n(fc);const n=l(e,["placeholder"]),a=t.ref(),r=t.computed(()=>{const p=uc;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 v=p.scrollHeight;if(typeof e.autosize=="object"){const{maxHeight:g,minHeight:y}=e.autosize;g!==void 0&&(v=Math.min(v,g)),y!==void 0&&(v=Math.max(v,y))}v&&(p.style.height=v+"px")};t.watch(()=>e.modelValue,()=>{e.autosize&&t.nextTick(i)});const c=(p,v)=>{e.maxLength&&p.length>Number(e.maxLength)&&(p=p.substring(0,Number(e.maxLength))),o("update:modelValue",p,v),o("change",p,v)};return{...n,textareaRef:a,classes:r,styles:s,change:p=>{const v=p.target;c(v.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 $o=Z(mc,[["render",gc]]);function yc(e,o,l,n){return{props:{...ue,...fe,...mn},emits:["update:modelValue","change","blur","focus"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=Te(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),d=De(a,"modelValue"),m=y=>{d.value=y,c("update:modelValue",y,{}),c("change",y,{})};let h=De(a,"hintText"),p=t.ref(!1);const v=y=>{ie(h.value)||(p.value=!0),c("focus",d.value,y)},g=y=>{setTimeout(()=>{p.value&&(p.value=!1)},0),c("blur",d.value,y)};return()=>{const b={...ye(a,mn),disabled:s.value,readonly:i.value,value:d.value,"onUpdate:modelValue":m,onFocus:v,onBlur:g},u=[],f=t.h(n,b);u.push(f);const k={default:()=>u};k.label=r.slots.default,k.prepend=r.slots.prepend,k.append=r.slots.append,k.fixedPreTip=r.slots.fixedPreTip,k.fixedTip=r.slots.fixedTip;const S=ye(a,fe,ue);return t.h(l,S,k)}}}}const{componentName:vc,create:kc,scope:bc}=H("textarea-item"),Hn=kc(yc(vc,bc,Ce,$o));function Sc(e){return e===window}const Ve=e=>{const o=t.unref(e);if(Sc(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}},rt={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:{}}},Hr=2e3;let qa=Hr;const Cc=(e,o)=>({components:o,props:{...rt},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!==Hr&&(qa=Number(l.zIndex)),n("update:visible",!0),a.zIndex=++qa,l.destroyOnClose&&(a.showSlot=!0),n("open")},d=()=>{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)},v=y=>{n("opend",y)},g=y=>{n("closed",y)};return t.watch(()=>l.visible,y=>{l.visible?c():d()}),t.watch(()=>l.closeable,y=>{a.closed=y}),{...t.toRefs(a),popStyle:s,transitionName:i,classes:r,onClick:m,onClickCloseIcon:h,onClickOverlay:p,onOpened:v,onClosed:g}}});let Bt=0;const za="fox-overflow-hidden",Ma=()=>Qe?document.body:{classList:[]},wc=e=>[()=>{if(e())try{!Bt&&Ma().classList.add(za),Bt++}catch{}},()=>{if(e()&&Bt)try{Bt--,!Bt&&Ma().classList.remove(za)}catch{}}],Nc={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:Bc,create:Vc}=H("overlay"),Ac=Vc({props:{...Nc},emits:["click","update:visible"],setup(e,{emit:o}){const[l,n]=wc(()=>e.lockScroll),a=t.computed(()=>({[Bc]:!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 Tc(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 nt=Z(Ac,[["render",Tc]]),{componentName:Ec,create:$c}=H("popup"),Dc=$c(Cc(Ec,{FoxOverLay:nt,Close:ee.Close}));function xc(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=Z(Dc,[["render",xc]]),Pa=10;function Ic(e,o){return e>o&&e>Pa?"horizontal":o>e&&o>Pa?"vertical":""}function Ke(){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),d=t.ref(0),m=t.ref(""),h=()=>m.value==="vertical",p=()=>m.value==="horizontal",v=()=>{s.value=0,i.value=0,c.value=0,d.value=0,m.value="",l.value=0};return{move:b=>{const u=b.touches[0];s.value=u.clientX-e.value,i.value=u.clientY-o.value,a.value=u.clientX,r.value=u.clientY,c.value=Math.abs(s.value),d.value=Math.abs(i.value),n.value=Date.now()-l.value,m.value||(m.value=Ic(c.value,d.value))},start:b=>{v(),e.value=b.touches[0].clientX,o.value=b.touches[0].clientY,l.value=Date.now()},reset:v,startX:e,startY:o,startTime:l,duration:n,moveX:a,moveY:r,deltaX:s,deltaY:i,offsetX:c,offsetY:d,direction:m,isVertical:h,isHorizontal:p}}const jr={readonly:{type:Boolean,default:!1},visibleItemCount:{type:[Number,String],default:7},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},childrenKey:{type:String,required:!1,default:"children"},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3}},pn={...rt,...jr,modelValue:{type:[String,Number,Boolean,Object,Array],default:""},text:{type:[Array],default:[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},title:{type:String,default:""},cancelText:{type:String,default:""},clearText:{type:String,default:""},confirmText:{type:String,default:""}};let Wr=36;function qc(){return Wr}function zc(e){Wr=e}function ze(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function hn(e,o){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?o[e.childrenKey]:o.children??null}function Mc(e,o,l){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(o[e.childrenKey]=l),o.children=l}function lt(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function Ra(e,o){return typeof e.itemOptions=="function"?e.columnOptions(o):e.columnOptions}let Pc=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=St(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):($e(n)&&t.isReactive(n)&&(n=t.toRaw(n)),await a(l,n))}};function Rc(){const e=t.getCurrentInstance();return new Pc(e.proxy)}function La(e,o,l){const n=ze(e,o),a=ze(e,l);if(n!==a)return!1;const r=lt(e,o),s=lt(e,l);return r===s}function Lc(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 d=l[s].findIndex(m=>{if(r==="text")return ze(e,m)===i;if(r==="value"){let h=lt(e,m);return h==null&&(h=ze(e,m)),h===i}else if(r==="item")return La(e,m,i)});if(d==-1)break;a.push(d)}else{let s=l[0];for(let i=0;i<o.length;i++){const c=o[i];let d=s.findIndex(h=>{if(r==="text")return ze(e,h)===c;if(r==="value"){let p=lt(e,h);return p==null&&(p=ze(e,h)),p===c}else if(r==="item")return La(e,h,c)});if(d==-1)break;a.push(d);const m=hn(e,s[d]);if(!Array.isArray(m))break;s=m}}return a}function Oa(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 d=i[c],m=ze(e,d);if(a.texts.push(m),a.items.push(d),r==="text")a.values.push(m);else if(r==="value"){let h=lt(e,d);h==null&&(h=m),a.values.push(h)}else a.values.push(d)}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 d=s[c],m=Object.assign({},d);m.children=null;const h=ze(e,d);if(a.texts.push(h),a.items.push(m),r==="text")a.values.push(h);else if(r==="value"){let p=lt(e,d);p==null&&(p=h),a.values.push(p)}else a.values.push(m);if(!Array.isArray(d.children))break;s=d.children}}return a}function Fa(e){return{text:e,value:e}}const Oc=15,Fc=300,Kc=200,{create:Uc}=H("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},...jr},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=E=>E>=h.currIndex+8||E<=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=E=>`transform: rotate3d(1, 0, 0, ${-h.rotation*E}deg) translate3d(0px, 0px, 104px)`,d=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"),v=E=>ze(e,E),g=E=>lt(e,E),y=Ke(),b=()=>{h.transitionEndTrigger&&(h.transitionEndTrigger(),h.transitionEndTrigger=null)},u=(E,x=!1,C=!1)=>{if(h.currIndex=E,x){const w=()=>{h.moving=!1,o("update:modelValue",E),o("change",E)};C?h.transitionEndTrigger=w:w()}},f=(E,x,C)=>{let w=E+h.startDistance;if(x==="end"){const z=-(p.value.length-1)*e.itemHeight;w<z&&(w=z,(!C||C<=0)&&(C=e.swipeDuration)),w>0&&(w=0,(!C||C<=0)&&(C=e.swipeDuration));let P=Math.abs(Math.round(-w/e.itemHeight));const A=-P*e.itemHeight,V=`${(P+1)*h.rotation}deg`,D=C?C>0:!1;u(P,!0,D),k(A,x,C,V)}else{let z=(-w/e.itemHeight+1)*h.rotation;const P=(p.value.length+1)*h.rotation,A=0;if(z=Math.min(Math.max(z,A),P),e.threeDimensional&&(z<A||z>P))return;k(w,null,void 0,`${z}deg`)}},k=(E=0,x,C=Kc,w)=>{x==="end"?h.scrollTime=C:h.scrollTime=0,h.deg=w,h.scrollDistance=E},S=(E,x)=>(E=Math.abs(E/x)/.003*(E<0?-1:1),E),B=E=>{e.readonly||(h.startDistance=h.scrollDistance,y.start(E),h.transitionEndTrigger=null)},T=E=>{e.readonly||(h.moving=!0,y.move(E),y.isVertical()&&(h.moving=!0,jc(E,!0)),f(y.deltaY.value,"",0))},$=()=>{if(e.readonly)return;const E=y.deltaY.value,x=y.duration.value;if(x<Fc&&Math.abs(E)>Oc){const w=S(E,x);f(w,"end",e.swipeDuration)}else f(E,"end",0)};return t.watch(()=>e.modelValue,E=>{if(h.currIndex!==E){h.currIndex=E;const x=-E*e.itemHeight;f(x)}}),t.onMounted(()=>{const E=-e.modelValue*e.itemHeight;f(E)}),{classes:l,styles:n,contentClasses:a,source:p,itemText:v,itemValue:g,...t.toRefs(h),roller:m,getItemText:ze,onTouchStart:B,onTouchMove:T,onTouchEnd:$,isHidden:s,setRollerStyle:c,touchRollerStyle:i,touchTileStyle:d,stopMomentum:b}}}),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 Ka=Z(Wc,[["render",Xc]]),{create:Qc,componentName:Gc,scope:Zc}=H("picker"),Jc=Qc({components:{[Ka.name]:Ka,[ce.name]:ce},props:{...pn},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:o}){const{toLocaleRefs:l,t:n}=re.useFoxI18n(Zc),a=l(e,["title","cancelText","clearText","confirmText"]),r=t.ref(null),s=t.ref(qc());t.watch(()=>e.visible,C=>{C&&s.value<=0&&setTimeout(()=>{if(r.value){const w=Ve(r.value);s.value=w.height,zc(s.value)}},50)});const i=t.computed(()=>({[Gc]:!0})),c=Rc(),d=t.ref("singleColumn");let m=t.ref([]);t.watch([()=>e.source,()=>e.params],async([C,w])=>{if(C){let z=await c.load("picker",C,w);if(z.length>0){let P=z[0];if(Array.isArray(P)){if(typeof P[0]=="string"){let A=z,V=[];A.forEach(D=>{let N=D.map(R=>Fa(R));V.push(N)}),m.value=V}else m.value=z;d.value="multipleColumn"}else if(typeof P=="string"){let A=z,V=[],D=A.map(N=>Fa(N));V.push(D),m.value=V,d.value="singleColumn"}else{const A=hn(e,P);Array.isArray(A)?(d.value="cascade",m.value=[z]):(d.value="singleColumn",m.value=[z])}}else m.value=[]}},{immediate:!0});const h=t.ref([]),p=t.ref(e.modelValue),v=t.ref([]),g=t.ref([]);t.watch([()=>e.modelValue,()=>m.value],([C,w])=>{let z=Lc(e,C,w,d.value);if(!Ie(z,g.value)){g.value=z;let P=Oa(e,z,w,d.value);P&&(h.value=P.texts,o("update:text",h.value))}});const y=t.ref(e.visible);t.watch(()=>e.visible,C=>{y.value=C});const b=C=>{let w=Ra(e,C);return $e(w)?w.defaultIndex??0:0},u=C=>{if(e.readonly===!0)return!0;let w=Ra(e,C);return $e(w)?w.readonly??!1:!1},f=(C,w)=>{let z=g.value;z[C]=w;for(let A=0;A<C;A++)z[A]==null&&(z[A]=b(A));if(d.value==="cascade")for(let A=C+1;A<S.value.length;A++){let V=b(A);A<z.length?z[A]=V:z.push(V)}else for(let A=z.length;A<S.value.length;A++){let V=b(A);z.push(V)}g.value=z;let P=Oa(e,z,m.value,d.value);P&&(h.value=P.texts,p.value=P.values,v.value=P.items)},k=C=>C<g.value.length?g.value[C]:b(C),S=t.computed(()=>{if(m.value.length==0)return[];if(d.value=="singleColumn"||d.value=="multipleColumn")return m.value;let C=[],w=0,z=m.value[0],P=0;for(;;){let A=z.map(N=>{let R=Object.assign({},N);return Mc(e,R,null),R});C.push(A),w>=g.value.length?P=0:P=g.value[w],(P<0||P>=z.length)&&(P=0);let V=z[P];const D=hn(e,V);if(!Array.isArray(D))break;z=D,w++}return C}),B=t.computed(()=>me(+e.visibleItemCount-1)/2*s.value);return{...a,pickerLineRef:r,classes:i,columns:S,dataType:d,show:y,itemHeight:s,top:B,isReadonly:u,getIndex:k,change:(C,w)=>{f(C,w)},close:()=>{o("close"),o("update:visible",!1)},confirm:()=>{if(e.readonly===!0){o("update:visible",!1);return}let C=m.value.length-1;for(;C>=0&&!(g.value[C]===null||g.value[C]===void 0);C--);if(C>=0&&f(C,0),d.value==="singleColumn"){let w=p.value.length>0?p.value[0]:"",z=v.value.length>0?v.value[0]:null;e.readonly||(o("update:modelValue",w),o("update:text",h.value),o("change",w,z)),o("confirm",w)}else e.readonly||(o("update:modelValue",p.value),o("update:text",h.value),o("change",p.value,v.value)),o("confirm",p.value);o("update:visible",!1)},clear:()=>{if(e.readonly===!0){o("update:visible",!1);return}d.value==="singleColumn"?(o("update:modelValue",""),o("change","")):(o("update:modelValue",[]),o("change",[])),o("clear",""),o("update:visible",!1)}}}}),_c={class:"fox-picker__bar"},eu={class:"fox-picker__title"},tu={class:"fox-picker__bar__action"},ou={class:"fox-picker__column"};function nu(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",eu,t.toDisplayString(e.title),1),t.createElementVNode("view",tu,[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",ou,[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,d)=>(t.openBlock(),t.createElementBlock("view",{key:d,class:"fox-picker__columnitem"},[t.createVNode(s,{source:c,readonly:e.isReadonly(d),"column-index":d,modelValue:e.getIndex(d),"onUpdate:modelValue":m=>e.change(d,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 gt=Z(Jc,[["render",nu]]);function lu(e,o,l,n,a,r,s=!0){return{props:{...ue,...fe,...pn,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 d=Ne(t.computed(()=>i.disabled)),m=Te(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=re.useFoxI18n(o),v=p(i,["placeholder"]),g=t.ref(!1),y=De(i,"modelValue"),b=t.ref([]),u=t.computed(()=>Array.isArray(b.value)?b.value.join(i.separator):b.value),f="fox-input-item",k=t.computed(()=>({[f]:!0,[`${f}__disabled`]:d.value})),S=we(t.computed(()=>i.textAlign),"textAlign"),B=t.computed(()=>{const _={};return S.value&&(_["text-align"]=S.value),_}),T=t.ref(!1),$=()=>{T.value=!0},E=_=>{T.value=_},x=_=>{y.value=_,h("update:modelValue",_)},C=(_,O)=>{h("change",_,O)},w=_=>{let K=_.target.value;g.value=!0,h("focus",K,_)},z=_=>{setTimeout(()=>{g.value=!1},0);let K=_.target.value;i.maxLength&&K.length>Number(i.maxLength)&&(K=K.slice(0,Number(i.maxLength))),h("blur",K,_)},P=_=>{b.value=_,Array.isArray(_)&&_.length===0?h("update:text",_[0]):h("update:text",_)},A=t.computed(()=>({[`${f}__append`]:!0})),V=t.computed(()=>ge(i.unit)>0),D=t.computed(()=>ge(i.unit)>0&&!g.value),N=t.computed(()=>({hidden:!D.value})),R=_=>{y.value="",h("update:modelValue","",_),h("change","",_),h("clear","")},M=t.computed(()=>i.clearable&&!d.value&&!m.value),I=t.computed(()=>ge(y.value)>0&&g.value),L=_=>{I.value?R(_):$()},Q=t.computed(()=>I.value&&M.value?n:a),W=t.computed(()=>({action:!0}));return()=>{const _={class:k.value,style:B.value,type:"text",maxlength:i.maxLength,placeholder:v.placeholder.value,readonly:!0,unselectable:"on",value:u.value,onClick:$,onFocus:w,onBlur:z};s&&(_.disabled=!0);const O=[],K=t.h("input",_);O.push(K);const q=[],F={class:["action-icon"]},U=t.h(Q.value,F),G={class:W.value,onClick:L},Y=t.h("view",G,{default:()=>[U]});if(q.push(Y),V.value){const ve=t.h("view",{class:N.value},[i.unit]);q.push(ve)}const j={class:A.value},X=t.h("view",j,{default:()=>q});O.push(X);const J={default:()=>O};J.label=c.slots.default,J.prepend=c.slots.prepend,J.append=c.slots.append,J.fixedPreTip=c.slots.fixedPreTip,J.fixedTip=c.slots.fixedTip;const te=ye(i,pn);te.disabled=!1,te.readonly=d.value||m.value,te.visible=T.value,te["onUpdate:visible"]=E,te.modelValue=y.value,te["onUpdate:modelValue"]=x,te.text=b.value,te["onUpdate:text"]=P,te.onChange=C;const oe=t.h(r,te);J.hide=()=>[oe];const le=ye(i,fe,ue);return t.h(l,le,J)}}}}const{componentName:au,create:ru,scope:su}=H("picker-item"),jn=ru(lu(au,su,Ce,ee.CircleClose,ee.ArrowRight,gt,!1)),Jt=(e,o,l)=>e.map(n=>{const{value:a="value",text:r="text",children:s="children"}=l??{},{[a]:i,[r]:c,[s]:d,...m}=n,h={loading:!1,...m,level:o?(o&&o.level||0)+1:0,value:i,text:c,children:d,_parent:o};return h.children&&h.children.length&&(h.children=Jt(h.children,h,l)),h}),Yr=(e,o)=>{let l=0,n;for(;(n=e[l++])&&o(n)!==!0;)n.children&&n.children.length&&Yr(n.children,o)},iu={topId:null,idKey:"id",pidKey:"pid",sortKey:""},cu=(e,o)=>{const l={...iu,...o||{}},{topId:n,idKey:a,pidKey:r,sortKey:s}=l;let i=[],c={};return e.forEach(d=>{d={...d};const{[a]:m,[r]:h}=d,p=c[h]=c[h]||[];!i.length&&h===n&&(i=p),p.push(d),d.children=c[m]||(c[m]=[])}),s&&Object.keys(c).forEach(d=>{c[d].length>1&&c[d].sort((m,h)=>m[s]-h[s])}),c=null,i},uu=/scroll|auto|overlay/i,Xr=window;function du(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function gn(e,o=Xr){let l=e;for(;l&&l!==o&&du(l);){const{overflowY:n}=window.getComputedStyle(l);if(uu.test(n))return l;l=l.parentNode}return o}function Qr(e,o=Xr){const l=t.ref();return t.onMounted(()=>{e.value&&(l.value=gn(e.value,o))}),l}const{create:fu}=H("sticky"),mu=fu({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 d=e.container;if(!l.value&&!d)return;const m=Ve(l),h=n.value,p=Ve(h),v=Ve(d);a.height=m.height;const g=()=>{let b=!1;if(e.position==="top")b=d?r.value>m.top&&v.bottom>0:r.value>m.top;else{const u=document.documentElement.clientHeight;b=d?v.bottom>0&&u-r.value-p.height>v.top:u-r.value<m.bottom}return b},y=()=>{if(d)if(e.position==="top"){const b=v.bottom-r.value-p.height;return b<0?b:0}else{const b=document.documentElement.clientHeight,u=v.bottom-(b-r.value);return u<0?u:0}return 0};a.transform=y(),a.fixed=g()};return t.watch(()=>a.fixed,d=>{o("change",d)}),t.onMounted(()=>{c(),gn(l.value).addEventListener("scroll",c,!0)}),t.onUnmounted(()=>{gn(l.value).removeEventListener("scroll",c)}),{rootRef:l,rootStyle:s,stickyRef:n,stickyStyle:i}}});function pu(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 qt=Z(mu,[["render",pu]]),hu=(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=Ke();let d="";const m=(p,v)=>{let g=p;switch(e.direction=="horizontal"?(d=p>0?"right":"left",g=Math.abs(g)/r.value.width*100):(d=v>0?"bottom":"top",g=v,g=Math.abs(g)/r.value?.height*100),g>85&&(g=85),d){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,d){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 gu{title="";titleSlot;paneKey="";disabled=!1;constructor(){}}const{create:yu}=H("tabs"),vu=yu({components:{[qt.name]:qt,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=C=>{C.forEach((w,z)=>{let P=w.type;if(P=P.name||P,P=="fox-tab-pane"){let A=new gu;if(w.props?.title||w.props?.["pane-key"]||w.props?.paneKey){let V=ot(w.props?.["pane-key"]),D=V=="number"||V=="string"?String(w.props?.["pane-key"]):null,N=ot(w.props?.paneKey),R=N=="number"||N=="string"?String(w.props?.paneKey):null;A.title=w.props?.title,A.paneKey=D||R||String(z),A.disabled=w.props?.disabled}r.value.push(A)}else{if(w.children==" ")return;Array.isArray(w.children)&&s(w.children)}})},i=t.ref(e.modelValue||0),c=C=>{let w=r.value.findIndex(z=>z.paneKey==C);r.value.length==0||w==-1||(i.value=w)},d=t.computed(()=>e.titleScroll&&e.direction==="vertical"),m=t.ref(),h=t.ref([]),p=C=>{const w=m.value,z=h.value;if(!w||!z||!z[i.value])return;const P=z[i.value];let A=0;e.direction==="vertical"?A=P.offsetTop-w.offsetTop+10-(w.offsetHeight-P.offsetHeight)/2:A=P.offsetLeft-(w.offsetWidth-P.offsetWidth)/2,v(w,A,C?0:.3,e.direction)},v=(C,w,z,P)=>{let A=0;const V=P==="horizontal"?C.scrollLeft:C.scrollTop,D=z===0?1:Math.round(z*1e3/16);function N(){P==="horizontal"?C.scrollLeft+=(w-V)/D:C.scrollTop+=(w-V)/D,++A<D&&je(N)}N()},g=(C=l.default?.())=>{r.value=[],C=C?.filter(w=>typeof w.children!="string"),C&&C.length&&s(C),c(e.modelValue),t.nextTick(()=>{p()})},y=C=>{a=C.fixed};t.watch(()=>l.default?.(),C=>{g(C)});const b=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;t.watch(()=>e.modelValue,C=>{if(c(C),p(),a){let w=Ve(n.value).top+b(),z=Math.ceil(w-e.top);window.scrollTo({top:z,behavior:"smooth"})}}),t.onMounted(g),t.onActivated(g);const u={isBegin:()=>i.value==0,isEnd:()=>i.value==r.value.length-1,next:()=>{i.value+=1,u.updateValue(r.value[i.value])},prev:()=>{i.value-=1,u.updateValue(r.value[i.value])},updateValue:C=>{o("update:modelValue",C.paneKey),o("change",C)},tabChange:(C,w)=>{o("click",C),!(C.disabled||i.value==w)&&(i.value=w,u.updateValue(C))},setTabItemRef:(C,w)=>{h.value[w]=C}},{tabsContentRef:f,touchState:k,touchMethods:S}=hu(e,u),B=t.computed(()=>{let C=i.value*100;k.moving&&(C+=k.offset);let w={transform:e.direction=="horizontal"?`translate3d(-${C}%, 0, 0)`:`translate3d( 0,-${C}%, 0)`,transitionDuration:k.moving?void 0:`${e.animatedTime}ms`};return e.animatedTime==0&&(w={}),w}),T=t.computed(()=>({background:e.background})),$=t.computed(()=>({color:e.type=="smile"?e.color:"",background:e.type=="line"?e.color:""})),E=t.computed(()=>{if(!e.titleGutter)return{};const C=de(e.titleGutter);return e.direction==="vertical"?{marginTop:C,marginBottom:C}:{marginLeft:C,marginRight:C}}),x=t.computed(()=>l.fixedTitle);return{navRef:m,tabsContentRef:f,titles:r,contentStyle:B,tabsNavStyle:T,titleStyle:E,tabsActiveStyle:$,container:n,getScrollY:d,onStickyScroll:y,...u,...S,hasFixedTitle:x}}}),ku=["onClick"],bu={key:0,class:"fox-tabs__titles-fixed-item"},Su=["onClick"],Cu={key:0,class:"fox-tabs__titles-fixed-item"};function wu(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,d)=>(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,d),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,ku))),128)),e.hasFixedTitle?(t.openBlock(),t.createElementBlock("view",bu,[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,d)=>(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,d),key:c.paneKey,ref_for:!0,ref:m=>e.setTabItemRef(m,d)},[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,Su))),128)),e.hasFixedTitle?(t.openBlock(),t.createElementBlock("view",Cu,[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 zt=Z(vu,[["render",wu]]),{create:Nu}=H("tab-pane"),Bu=Nu({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 Vu(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 Mt=Z(Bu,[["render",Vu]]);class Ua{nodes;config;constructor(o,l){this.config={value:"value",text:"text",children:"children",...l||{}},this.nodes=Jt(o,null,this.config)}updateChildren(o,l){l?l.children=Jt(o,l,this.config):this.nodes=Jt(o,null,this.config)}getNodeByValue(o){let l;return Yr(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:Au,scope:Tu}=H("cascader-pane"),Eu=Au({components:{Loading:ee.Loading,Checklist:ee.Checklist,[zt.name]:zt,[Mt.name]:Mt},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 Ua([],{})),i=t.ref([]),c=t.computed(()=>l.value.lazy&&!!l.value.lazyLoad),d=new Map;let m;const h=async()=>{d.clear(),i.value=[],n.value=0,a.value=!1,m=null;let{options:u}=e;l.value.convertConfig&&(u=cu(u,l.value.convertConfig)),s.value=new Ua(u,{value:l.value.valueKey,text:l.value.textKey,children:l.value.childrenKey}),c.value&&!s.value.nodes.length&&await v({root:!0,loading:!0,text:"",value:""}),i.value=[{nodes:s.value.nodes,selectedNode:null}],p()},p=async()=>{const u=r.value;if(u===void 0||!s.value.nodes.length)return;if(u.length===0){n.value=0,i.value=[{nodes:s.value.nodes,selectedNode:null}];return}let f=u;if(c.value&&Array.isArray(u)&&u.length){f=[];let k=s.value.nodes.find(S=>S.value===u[0]);if(k){f=[k.value],a.value=!0;const S=await u.slice(1).reduce(async(B,T)=>{const $=await B;await v($);const E=$?.children?.find(x=>x.value===T);return E&&f.push(T),Promise.resolve(E)},Promise.resolve(k));await v(S),a.value=!1}}f.length&&u===e.modelValue&&s.value.getPathNodesByValue(f).map((S,B)=>{n.value=B,b.handleNode(S,!0)})},v=async u=>{if(!u)return;if(!l.value.lazyLoad){u.leaf=!0;return}if(s.value.isLeaf(u,c.value)||s.value.hasChildren(u,c.value))return;u.loading=!0;const f=u.root?null:u;let k=d.get(u);k||(k=new Promise(B=>{l.value.lazyLoad?.(u,B)}),d.set(u,k));const S=await k;Array.isArray(S)&&S.length>0?s.value.updateChildren(S,f):u.leaf=!0,u.loading=!1,d.delete(u)},g=u=>{const f=u.map(k=>k.value);r.value=f,o("change",f,u),o("update:modelValue",f,u)},{t:y}=re.useFoxI18n(Tu),b={async handleNode(u,f){const{disabled:k,loading:S}=u;if(!(!f&&k||!i.value[n.value])){if(s.value.isLeaf(u,c.value)){if(u.leaf=!0,i.value[n.value].selectedNode=u,i.value=i.value.slice(0,u.level+1),!f){const B=i.value.map(T=>T.selectedNode);g(B),o("pathChange",B)}return}if(s.value.hasChildren(u,c.value)){const B=u.level+1;if(i.value[n.value].selectedNode=u,i.value=i.value.slice(0,B),i.value.push({nodes:u.children||[],selectedNode:null}),n.value=B,!f){const T=i.value.map($=>$.selectedNode);o("pathChange",T)}return}m=u,!S&&(await v(u),m===u&&(i.value[n.value].selectedNode=u,b.handleNode(u,f)))}},handleTabClick(u){m=null,n.value=Number(u.paneKey)},formatTabTitle(u){return u.selectedNode?u.selectedNode.text:y("select")},isSelected(u,f){return u.selectedNode&&u.selectedNode.value===f.value}};return t.watch([l,()=>e.options],()=>{h()},{deep:!0,immediate:!0}),t.watch(()=>e.modelValue,u=>{u!==r.value&&(r.value=u,p())}),t.watch(()=>e.visible,u=>{u&&Array.isArray(r.value)&&r.value.length>0&&p()}),{panes:i,initLoading:a,tabsCursor:n,...b}}}),$u={role:"menu",class:"fox-cascader__pane"},Du=["aria-checked","aria-disabled","onClick"],xu={class:"fox-cascader__item__title"},Iu=t.createElementVNode("view",{class:"fox-cascader__pane"},null,-1);function qu(e,o,l,n,a,r){const s=t.resolveComponent("Loading"),i=t.resolveComponent("Checklist"),c=t.resolveComponent("fox-tab-pane"),d=t.resolveComponent("fox-tabs");return t.openBlock(),t.createBlock(d,{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",$u,[(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:v=>e.handleNode(p,!1)},[t.createElementVNode("view",xu,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,Du))),128))])]),_:2},1032,["title"]))),128)):(t.openBlock(),t.createBlock(c,{key:1,title:"Loading..."},{default:t.withCtx(()=>[Iu]),_:1}))]),_:1},8,["modelValue","onClick"])}const zu=Z(Eu,[["render",qu]]),{create:Mu}=H("cascader"),Pu=Mu({components:{FoxCascaderPane:zu,FoxPopup:ce},props:{...rt,modelValue:Array,visible:Boolean,title:String,options:{type:Array,default:()=>[]},lazy:Boolean,lazyLoad:Function,valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},poppable:{type:Boolean,default:!0},convertConfig:Object},emits:["update:modelValue","change","pathChange","update:visible"],setup(e,{emit: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}}}),Ru=["innerHTML"];function Lu(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,Ru)):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 Do=Z(Pu,[["render",Lu]]);function Pt(e,o){const l=e.textKey??"text";return o[l]??""}function Rt(e,o){const l=e.valueKey??"value";return o[l]}function Gr(e,o){const l=e.childrenKey??"children";return o[l]}function Qt(e,o=[]){const l={texts:[],values:[]};for(let n=0;n<o.length;n++){const a=o[n],r=Pt(e,a),s=Rt(e,a);l.texts.push(r),l.values.push(s??"")}return l}function Zr(e,o,l,n,a=[]){if(!l)return;const r=l[n];for(let s=0;s<o.length;s++)if(Pt(e,o[s])===r){const c=Rt(e,o[s])??"",d={[e.textKey]:r,[e.valueKey]:c};a.push(d);const m=Gr(e,o[s]);Array.isArray(m)&&Zr(e,m,l,n+1,a);return}}function Jr(e,o,l,n,a=[]){if(!l)return;const r=l[n];for(let s=0;s<o.length;s++)if(Rt(e,o[s])===r){const c=Pt(e,o[s])??"",d={[e.textKey]:c,[e.valueKey]:r};a.push(d);const m=Gr(e,o[s]);Array.isArray(m)&&Jr(e,m,l,n+1,a);return}}function Go(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=Pt(e,o[n]),r=Pt(e,l[n]);if(a!==r)return!1;const s=Rt(e,o[n]),i=Rt(e,l[n]);if(s!==i)return!1}return!0}let Ou=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=St(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):($e(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}};function Fu(){const e=t.getCurrentInstance();return new Ou(e.proxy)}function Ku(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 d=Ne(t.computed(()=>i.disabled)),m=Te(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=re.useFoxI18n(o),v=p(i,["placeholder"]),g=t.ref(!1),y=Fu(),b=t.ref([]);t.watch([()=>i.source,()=>i.params],async([K,q])=>{K&&(b.value=await y.load(K,q))},{immediate:!0});const u=t.ref([]),f=t.computed(()=>Array.isArray(u.value)?u.value.join(" "):u.value),k=t.ref([]),S=t.ref([]);t.watch([()=>i.modelValue],async([K])=>{if(i.lazy===!0){S.value.length==0&&(u.value=Array.isArray(K)?K:[],k.value=Array.isArray(K)?K:[]);return}if(i.valueType==="item"){let q=K;if(!Go(i,q,S.value)){S.value=q;let F=Qt(i,q);u.value=F.texts,k.value=F.values}}else if(i.valueType==="text"){let q=K,F=[];if(Zr(i,b.value,q,0,F),!Go(i,F,S.value)){S.value=F;let U=Qt(i,F);q.value=U.texts,k.value=U.values}}else{let q=[];if(Jr(i,b.value,K,0,q),!Go(i,q,S.value)){S.value=q;let F=Qt(i,q);u.value=F.texts,k.value=F.values}}},{immediate:!0});const B="fox-input-item",T=t.computed(()=>({[B]:!0,[`${B}__disabled`]:d.value})),$=we(t.computed(()=>i.textAlign),"textAlign"),E=t.computed(()=>{const K={};return $.value&&(K["text-align"]=$.value),K}),x=t.ref(!1),C=()=>{d.value===!0||m.value===!0||(x.value=!0)},w=K=>{x.value=K},z=(K,q)=>{let F=q.map(G=>{if(G==null)return G;let Y={...G};return Reflect.deleteProperty(Y,"text"),Y[i.textKey]=G.text??"",Reflect.deleteProperty(Y,"value"),Y[i.valueKey]=G.value??"",Y});S.value=F;let U=Qt(i,F);u.value=U.texts,k.value=U.values,i.valueType==="text"?(h("change",u.value,F),h("update:modelValue",u.value)):i.valueType==="item"?(h("change",F,F),h("update:modelValue",F)):(h("change",k.value,F),h("update:modelValue",k.value)),h("update:pathNodes",F)},P=K=>{let q=K.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});h("pathChange",q)},A=K=>{g.value=!0,h("focus",k.value,K)},V=K=>{setTimeout(()=>{g.value=!1},0),h("blur",k.value,K)},D=t.computed(()=>({[`${B}__append`]:!0})),N=t.computed(()=>ge(i.unit)>0),R=t.computed(()=>ge(i.unit)>0&&!g.value),M=t.computed(()=>({hidden:!R.value})),I=K=>{S.value=[],u.value=[],k.value=[],h("update:modelValue",[]),h("change",[],K),h("clear",[]),h("update:pathNodes",[])},L=t.computed(()=>i.clearable&&!d.value&&!m.value),Q=t.computed(()=>{let K=k.value&&k.value.length>0;return i.clearable&&K&&g.value}),W=K=>{Q.value?I(K):C()},_=t.computed(()=>Q.value&&L.value?n:a),O=t.computed(()=>({action:!0}));return()=>{const K={class:T.value,style:E.value,type:"text",maxlength:i.maxLength,placeholder:v.placeholder.value,readonly:!0,unselectable:"on",value:f.value,onClick:C,onFocus:A,onBlur:V};s&&(K.disabled=!0);const q=[],F=t.h("input",K);q.push(F);const U=[],G={class:["action-icon"]},Y=t.h(_.value,G),j={class:O.value,onClick:W},X=t.h("view",j,{default:()=>[Y]});if(U.push(X),N.value){const Ge=t.h("view",{class:M.value},[i.unit]);U.push(Ge)}const J={class:D.value},te=t.h("view",J,{default:()=>U});q.push(te);const oe={default:()=>q};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;let le={};le.visible=x.value,le["onUpdate:visible"]=w,le.modelValue=k.value,le.onChange=z,le.onPathChange=P,le.options=b.value,le.title=i.title,le.lazy=i.lazy,le.lazyLoad=i.lazyLoad,le.valueKey=i.valueKey,le.textKey=i.textKey,le.childrenKey=i.childrenKey,le.convertConfig=i.convertConfig;const pe=t.h(r,le);oe.hide=()=>[pe];const ve=ye(i,fe,ue);return t.h(l,ve,oe)}}}}const{componentName:Uu,create:Hu,scope:ju}=H("cascader-item"),Wn=Hu(Ku(Uu,ju,Ce,ee.CircleClose,ee.ArrowRight,Do,!1));var Ue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function He(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _r={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,function(){var l=1e3,n=6e4,a=36e5,r="millisecond",s="second",i="minute",c="hour",d="day",m="week",h="month",p="quarter",v="year",g="date",y="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|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("_")},k=function(P,A,V){var D=String(P);return!D||D.length>=A?P:""+Array(A+1-D.length).join(V)+P},S={s:k,z:function(P){var A=-P.utcOffset(),V=Math.abs(A),D=Math.floor(V/60),N=V%60;return(A<=0?"+":"-")+k(D,2,"0")+":"+k(N,2,"0")},m:function P(A,V){if(A.date()<V.date())return-P(V,A);var D=12*(V.year()-A.year())+(V.month()-A.month()),N=A.clone().add(D,h),R=V-N<0,M=A.clone().add(D+(R?-1:1),h);return+(-(D+(V-N)/(R?N-M:M-N))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:h,y:v,w:m,d,D:g,h:c,m:i,s,ms:r,Q:p}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},B="en",T={};T[B]=f;var $=function(P){return P instanceof w},E=function P(A,V,D){var N;if(!A)return B;if(typeof A=="string"){var R=A.toLowerCase();T[R]&&(N=R),V&&(T[R]=V,N=R);var M=A.split("-");if(!N&&M.length>1)return P(M[0])}else{var I=A.name;T[I]=A,N=I}return!D&&N&&(B=N),N||!D&&B},x=function(P,A){if($(P))return P.clone();var V=typeof A=="object"?A:{};return V.date=P,V.args=arguments,new w(V)},C=S;C.l=E,C.i=$,C.w=function(P,A){return x(P,{locale:A.$L,utc:A.$u,x:A.$x,$offset:A.$offset})};var w=function(){function P(V){this.$L=E(V.locale,null,!0),this.parse(V)}var A=P.prototype;return A.parse=function(V){this.$d=function(D){var N=D.date,R=D.utc;if(N===null)return new Date(NaN);if(C.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var M=N.match(b);if(M){var I=M[2]-1||0,L=(M[7]||"0").substring(0,3);return R?new Date(Date.UTC(M[1],I,M[3]||1,M[4]||0,M[5]||0,M[6]||0,L)):new Date(M[1],I,M[3]||1,M[4]||0,M[5]||0,M[6]||0,L)}}return new Date(N)}(V),this.$x=V.x||{},this.init()},A.init=function(){var V=this.$d;this.$y=V.getFullYear(),this.$M=V.getMonth(),this.$D=V.getDate(),this.$W=V.getDay(),this.$H=V.getHours(),this.$m=V.getMinutes(),this.$s=V.getSeconds(),this.$ms=V.getMilliseconds()},A.$utils=function(){return C},A.isValid=function(){return this.$d.toString()!==y},A.isSame=function(V,D){var N=x(V);return this.startOf(D)<=N&&N<=this.endOf(D)},A.isAfter=function(V,D){return x(V)<this.startOf(D)},A.isBefore=function(V,D){return this.endOf(D)<x(V)},A.$g=function(V,D,N){return C.u(V)?this[D]:this.set(N,V)},A.unix=function(){return Math.floor(this.valueOf()/1e3)},A.valueOf=function(){return this.$d.getTime()},A.startOf=function(V,D){var N=this,R=!!C.u(D)||D,M=C.p(V),I=function(F,U){var G=C.w(N.$u?Date.UTC(N.$y,U,F):new Date(N.$y,U,F),N);return R?G:G.endOf(d)},L=function(F,U){return C.w(N.toDate()[F].apply(N.toDate("s"),(R?[0,0,0,0]:[23,59,59,999]).slice(U)),N)},Q=this.$W,W=this.$M,_=this.$D,O="set"+(this.$u?"UTC":"");switch(M){case v:return R?I(1,0):I(31,11);case h:return R?I(1,W):I(0,W+1);case m:var K=this.$locale().weekStart||0,q=(Q<K?Q+7:Q)-K;return I(R?_-q:_+(6-q),W);case d:case g:return L(O+"Hours",0);case c:return L(O+"Minutes",1);case i:return L(O+"Seconds",2);case s:return L(O+"Milliseconds",3);default:return this.clone()}},A.endOf=function(V){return this.startOf(V,!1)},A.$set=function(V,D){var N,R=C.p(V),M="set"+(this.$u?"UTC":""),I=(N={},N[d]=M+"Date",N[g]=M+"Date",N[h]=M+"Month",N[v]=M+"FullYear",N[c]=M+"Hours",N[i]=M+"Minutes",N[s]=M+"Seconds",N[r]=M+"Milliseconds",N)[R],L=R===d?this.$D+(D-this.$W):D;if(R===h||R===v){var Q=this.clone().set(g,1);Q.$d[I](L),Q.init(),this.$d=Q.set(g,Math.min(this.$D,Q.daysInMonth())).$d}else I&&this.$d[I](L);return this.init(),this},A.set=function(V,D){return this.clone().$set(V,D)},A.get=function(V){return this[C.p(V)]()},A.add=function(V,D){var N,R=this;V=Number(V);var M=C.p(D),I=function(W){var _=x(R);return C.w(_.date(_.date()+Math.round(W*V)),R)};if(M===h)return this.set(h,this.$M+V);if(M===v)return this.set(v,this.$y+V);if(M===d)return I(1);if(M===m)return I(7);var L=(N={},N[i]=n,N[c]=a,N[s]=l,N)[M]||1,Q=this.$d.getTime()+V*L;return C.w(Q,this)},A.subtract=function(V,D){return this.add(-1*V,D)},A.format=function(V){var D=this,N=this.$locale();if(!this.isValid())return N.invalidDate||y;var R=V||"YYYY-MM-DDTHH:mm:ssZ",M=C.z(this),I=this.$H,L=this.$m,Q=this.$M,W=N.weekdays,_=N.months,O=function(U,G,Y,j){return U&&(U[G]||U(D,R))||Y[G].slice(0,j)},K=function(U){return C.s(I%12||12,U,"0")},q=N.meridiem||function(U,G,Y){var j=U<12?"AM":"PM";return Y?j.toLowerCase():j},F={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Q+1,MM:C.s(Q+1,2,"0"),MMM:O(N.monthsShort,Q,_,3),MMMM:O(_,Q),D:this.$D,DD:C.s(this.$D,2,"0"),d:String(this.$W),dd:O(N.weekdaysMin,this.$W,W,2),ddd:O(N.weekdaysShort,this.$W,W,3),dddd:W[this.$W],H:String(I),HH:C.s(I,2,"0"),h:K(1),hh:K(2),a:q(I,L,!0),A:q(I,L,!1),m:String(L),mm:C.s(L,2,"0"),s:String(this.$s),ss:C.s(this.$s,2,"0"),SSS:C.s(this.$ms,3,"0"),Z:M};return R.replace(u,function(U,G){return G||F[U]||M.replace(":","")})},A.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},A.diff=function(V,D,N){var R,M=C.p(D),I=x(V),L=(I.utcOffset()-this.utcOffset())*n,Q=this-I,W=C.m(this,I);return W=(R={},R[v]=W/12,R[h]=W,R[p]=W/3,R[m]=(Q-L)/6048e5,R[d]=(Q-L)/864e5,R[c]=Q/a,R[i]=Q/n,R[s]=Q/l,R)[M]||Q,N?W:C.a(W)},A.daysInMonth=function(){return this.endOf(h).$D},A.$locale=function(){return T[this.$L]},A.locale=function(V,D){if(!V)return this.$L;var N=this.clone(),R=E(V,D,!0);return R&&(N.$L=R),N},A.clone=function(){return C.w(this.$d,this)},A.toDate=function(){return new Date(this.valueOf())},A.toJSON=function(){return this.isValid()?this.toISOString():null},A.toISOString=function(){return this.$d.toISOString()},A.toString=function(){return this.$d.toUTCString()},P}(),z=w.prototype;return x.prototype=z,[["$ms",r],["$s",s],["$m",i],["$H",c],["$W",d],["$M",h],["$y",v],["$D",g]].forEach(function(P){z[P[1]]=function(A){return this.$g(A,P[0],P[1])}}),x.extend=function(P,A){return P.$i||(P(A,w,x),P.$i=!0),x},x.locale=E,x.isDayjs=$,x.unix=function(P){return x(1e3*P)},x.en=T[B],x.Ls=T,x.p={},x})})(_r);var Wu=_r.exports;const Pe=He(Wu);var es={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,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)},d=function(y){return function(b){this[y]=+b}},m=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var u=b.match(/([+-]|\d\d)/g),f=60*u[1]+(+u[2]||0);return f===0?0:u[0]==="+"?-f:f}(y)}],h=function(y){var b=i[y];return b&&(b.indexOf?b:b.s.concat(b.f))},p=function(y,b){var u,f=i.meridiem;if(f){for(var k=1;k<=24;k+=1)if(y.indexOf(f(k,0,b))>-1){u=k>12;break}}else u=y===(b?"pm":"PM");return u},v={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,d("seconds")],ss:[r,d("seconds")],m:[r,d("minutes")],mm:[r,d("minutes")],H:[r,d("hours")],h:[r,d("hours")],HH:[r,d("hours")],hh:[r,d("hours")],D:[r,d("day")],DD:[a,d("day")],Do:[s,function(y){var b=i.ordinal,u=y.match(/\d+/);if(this.day=u[0],b)for(var f=1;f<=31;f+=1)b(f).replace(/\[|\]/g,"")===y&&(this.day=f)}],M:[r,d("month")],MM:[a,d("month")],MMM:[s,function(y){var b=h("months"),u=(h("monthsShort")||b.map(function(f){return f.slice(0,3)})).indexOf(y)+1;if(u<1)throw new Error;this.month=u%12||u}],MMMM:[s,function(y){var b=h("months").indexOf(y)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,d("year")],YY:[a,function(y){this.year=c(y)}],YYYY:[/\d{4}/,d("year")],Z:m,ZZ:m};function g(y){var b,u;b=y,u=i&&i.formats;for(var f=(y=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,C,w){var z=w&&w.toUpperCase();return C||u[w]||l[w]||u[z].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,A,V){return A||V.slice(1)})})).match(n),k=f.length,S=0;S<k;S+=1){var B=f[S],T=v[B],$=T&&T[0],E=T&&T[1];f[S]=E?{regex:$,parser:E}:B.replace(/^\[|\]$/g,"")}return function(x){for(var C={},w=0,z=0;w<k;w+=1){var P=f[w];if(typeof P=="string")z+=P.length;else{var A=P.regex,V=P.parser,D=x.slice(z),N=A.exec(D)[0];V.call(C,N),x=x.replace(N,"")}}return function(R){var M=R.afternoon;if(M!==void 0){var I=R.hours;M?I<12&&(R.hours+=12):I===12&&(R.hours=0),delete R.afternoon}}(C),C}}return function(y,b,u){u.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(c=y.parseTwoDigitYear);var f=b.prototype,k=f.parse;f.parse=function(S){var B=S.date,T=S.utc,$=S.args;this.$u=T;var E=$[1];if(typeof E=="string"){var x=$[2]===!0,C=$[3]===!0,w=x||C,z=$[2];C&&(z=$[2]),i=this.$locale(),!x&&z&&(i=u.Ls[z]),this.$d=function(D,N,R){try{if(["x","X"].indexOf(N)>-1)return new Date((N==="X"?1e3:1)*D);var M=g(N)(D),I=M.year,L=M.month,Q=M.day,W=M.hours,_=M.minutes,O=M.seconds,K=M.milliseconds,q=M.zone,F=new Date,U=Q||(I||L?1:F.getDate()),G=I||F.getFullYear(),Y=0;I&&!L||(Y=L>0?L-1:F.getMonth());var j=W||0,X=_||0,J=O||0,te=K||0;return q?new Date(Date.UTC(G,Y,U,j,X,J,te+60*q.offset*1e3)):R?new Date(Date.UTC(G,Y,U,j,X,J,te)):new Date(G,Y,U,j,X,J,te)}catch{return new Date("")}}(B,E,T),this.init(),z&&z!==!0&&(this.$L=this.locale(z).$L),w&&B!=this.format(E)&&(this.$d=new Date("")),i={}}else if(E instanceof Array)for(var P=E.length,A=1;A<=P;A+=1){$[1]=E[A-1];var V=u.apply(this,$);if(V.isValid()){this.$d=V.$d,this.$L=V.$L,this.init();break}A===P&&(this.$d=new Date(""))}else k.call(this,S)}}})})(es);var Yu=es.exports;const Xu=He(Yu);var ts={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,function(){return function(l,n,a){var r=n.prototype,s=r.format;a.en.ordinal=function(i){var c=["th","st","nd","rd"],d=i%100;return"["+i+(c[(d-20)%10]||c[d]||c[0])+"]"},r.format=function(i){var c=this,d=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 d.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return d.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)}}})})(ts);var Qu=ts.exports;const Gu=He(Qu);var os={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,function(){return function(l,n,a){var r=n.prototype,s=function(h){return h&&(h.indexOf?h:h.s)},i=function(h,p,v,g,y){var b=h.name?h:h.$locale(),u=s(b[p]),f=s(b[v]),k=u||f.map(function(B){return B.slice(0,g)});if(!y)return k;var S=b.weekStart;return k.map(function(B,T){return k[(T+(S||0))%7]})},c=function(){return a.Ls[a.locale()]},d=function(h,p){return h.formats[p]||function(v){return v.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(g,y,b){return y||b.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 d(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 d(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)}}})})(os);var Zu=os.exports;const Ju=He(Zu);var ns={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,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 d=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var m=s(this).startOf(n).add(1,n).date(d),h=s(this).endOf(l);if(m.isBefore(h))return 1}var p=s(this).startOf(n).date(d).startOf(l).subtract(1,"millisecond"),v=this.diff(p,l,!0);return v<0?s(this).startOf("week").week():Math.ceil(v)},i.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(ns);var _u=ns.exports;const ed=He(_u);var ls={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,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}}})})(ls);var td=ls.exports;const od=He(td);var as={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,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")}}})})(as);var nd=as.exports;const ld=He(nd);var rs={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,function(){return function(l,n){n.prototype.isSameOrAfter=function(a,r){return this.isSame(a,r)||this.isAfter(a,r)}}})})(rs);var ad=rs.exports;const rd=He(ad);var ss={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,function(){return function(l,n){n.prototype.isSameOrBefore=function(a,r){return this.isSame(a,r)||this.isBefore(a,r)}}})})(ss);var sd=ss.exports;const id=He(sd);Pe.extend(Ju);Pe.extend(Gu);Pe.extend(Xu);Pe.extend(ed);Pe.extend(od);Pe.extend(ld);Pe.extend(rd);Pe.extend(id);const ne={format(e,o){return Pe(e).format(o)},parser(e,o){return Pe(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,d=r+(6-s)*864e5,m=this.date2Str(new Date(c)),h=this.date2Str(new Date(d));return[m,h]}else{s=s==0?7:s;const i=24*60*60*1e3,c=r-(s-1)*i,d=r+(7-s)*i,m=this.date2Str(new Date(c)),h=this.date2Str(new Date(d));return[m,h]}},formatResultDate:function(e){let o=[...e.split("-")];return o[2]=ne.getNumTwoBit(Number(o[2])),o[3]=`${o[0]}-${o[1]}-${o[2]}`,o[4]=ne.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}},Ha=new Date().getFullYear(),Yn={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"},fo=(e,o,l)=>{let n;if(Oe(o)?n=o:typeof o=="string"&&ge(o)>0?n=ne.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)},yn=(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()),ne.format(new Date(n),l)};let vn={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(Ha-10,0,1),validator:Oe},maxDate:{type:Date,default:()=>new Date(Ha+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:cd,scope:ud}=H("date-picker"),dd=cd({components:{[gt.name]:gt},props:{...vn},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:o}){const{t:l}=re.useFoxI18n(ud),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,u=>{a.value=u});function r(u,f){return new Date(u,f,0).getDate()}const s=(u,f)=>{const k=e[`${u}Date`],S=k.getFullYear();let B=1,T=1,$=0,E=0;u==="max"&&(B=12,T=r(f.getFullYear(),f.getMonth()+1),$=23,E=59);const x=E;return f.getFullYear()===S&&(B=k.getMonth()+1,f.getMonth()+1===B&&(T=k.getDate(),f.getDate()===T&&($=k.getHours(),f.getHours()===$&&(E=k.getMinutes())))),{[`${u}Year`]:S,[`${u}Month`]:B,[`${u}Date`]:T,[`${u}Hour`]:$,[`${u}Minute`]:E,[`${u}Seconds`]:x}},i=t.computed(()=>{if(!p.value)return[];const{maxYear:u,maxDate:f,maxMonth:k,maxHour:S,maxMinute:B,maxSeconds:T}=s("max",p.value),{minYear:$,minDate:E,minMonth:x,minHour:C,minMinute:w,minSeconds:z}=s("min",p.value);let P=[{type:"year",range:[$,u]},{type:"month",range:[x,k]},{type:"day",range:[E,f]},{type:"hour",range:[C,S]},{type:"minute",range:[w,B]},{type:"seconds",range:[z,T]}];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=(u,f,k)=>{if(!(f>u))return null;const S=[];for(;u<=f;)e.isShowChinese?S.push({text:u+n[k],value:u}):S.push({text:`${u}`,value:u}),k==="minute"?u+=e.minuteStep:u++;return S},d=t.computed(()=>{let u=[];return i.value.forEach(f=>{let k=c(f.range[0],f.range[1],f.type);k&&u.push(k)}),u}),m=(u,f)=>u==="year"?f.getFullYear():u==="month"?f.getMonth()+1:u==="day"?f.getDate():u==="hour"?f.getHours():u==="minute"?f.getMinutes():u==="seconds"?f.getSeconds():0,h=t.ref(),p=t.ref(null);t.watchEffect(()=>{let u,f=e.modelValue;if(typeof f=="string"?f.length==0?u=new Date:e.valueFormat?u=fo(e,e.modelValue,e.valueFormat):u=fo(e,f,Yn[e.type]):Oe(f)?u=f:u=new Date,!!u&&(!p.value||u.getTime()!==p.value.getTime())){p.value=u;let k=[];i.value.forEach(S=>{let B=m(S.type,u);k.push(B)}),h.value=k}});const v=u=>{if(e.type==="date"){let f=u;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=u;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=u,k=p.value??new Date,S=new Date(k.getFullYear(),k.getMonth(),k.getDate(),f[0],f[1],f[2]);p.value=S}else if(e.type==="year-month"){let f=u,k=new Date(f[0],f[1]-1);p.value=k}else if(e.type==="month-day"){let f=u,k=p.value??new Date,S=new Date(k.getFullYear(),f[0]-1,f[1]);p.value=S}else if(e.type==="datehour"){let f=u;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=u,k=p.value??new Date,S=new Date(k.getFullYear(),k.getMonth(),k.getDate(),f[0],f[1]);p.value=S}h.value=u};return{columns:d,dateIndexs:h,show:a,onClose:()=>{a.value=!1,o("update:visible",!1),o("update:close",!1)},onConfirm:u=>{v(u),a.value=!1;let f=p.value??new Date;if(e.valueFormat){let k=yn(e,f,e.valueFormat);o("update:modelValue",k)}else o("update:modelValue",f);o("update:visible",!1),o("confirm",u)},onClear:()=>{o("clear")}}}});function fd(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 xo=Z(dd,[["render",fd]]);function md(e){let o=e.format;if(!o){let l=e.type??"date";o=Yn[l]}return o}function pd(e,o,l,n,a,r,s=!1){return{props:{...ue,...fe,...vn,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 d=Ne(t.computed(()=>i.disabled)),m=Te(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=re.useFoxI18n(o),v=p(i,["placeholder"]),g=t.ref(!1),b=De(i,"modelValue",W=>W==null?null:typeof W=="string"?W.length==0?null:i.valueFormat?fo(i,W,i.valueFormat)??W:fo(i,W,Yn[i.type])??W:Oe(W)?W:null),u=t.computed(()=>{if(!b.value)return"";const W=md(i);return yn(i,b.value,W)}),f="fox-input-item",k=t.computed(()=>({[f]:!0,[`${f}__disabled`]:d.value})),S=we(t.computed(()=>i.textAlign),"textAlign"),B=t.computed(()=>{const W={};return S.value&&(W["text-align"]=S.value),W}),T=t.ref(!1),$=()=>{T.value=!0},E=()=>{T.value=!1};c.expose({showPicker:$,hidePicker:E});const x=W=>{T.value=W},C=W=>{if(b.value=W,i.valueFormat){let _=yn(i,W,i.valueFormat);h("update:modelValue",_,{}),h("change",_,{})}else h("update:modelValue",W,{}),h("change",W,{})},w=W=>{let O=W.target.value;g.value=!0,h("focus",O,W)},z=W=>{setTimeout(()=>{g.value=!1},0);let O=W.target.value;i.maxLength&&O.length>Number(i.maxLength)&&(O=O.slice(0,Number(i.maxLength))),h("blur",O,W)},P=t.computed(()=>({[`${f}__append`]:!0})),A=t.computed(()=>ge(i.unit)>0),V=t.computed(()=>ge(i.unit)>0&&!g.value),D=t.computed(()=>({hidden:!V.value})),N=W=>{b.value="",h("update:modelValue","",W),h("change","",W),h("clear",""),E()},R=t.computed(()=>i.clearable&&!d.value&&!m.value),M=t.computed(()=>{let W=ge(b.value)>0;return i.clearable&&W&&g.value}),I=W=>{M.value?N(W):$()},L=t.computed(()=>M.value&&R.value?n:a),Q=t.computed(()=>({action:!0}));return()=>{const W={class:k.value,style:B.value,type:"text",maxlength:i.maxLength,placeholder:v.placeholder.value,readonly:!0,unselectable:"on",value:u.value,onClick:$,onFocus:w,onBlur:z};s&&(W.disabled=!0);const _=[],O=t.h("input",W);_.push(O);const K=[],q={class:["action-icon"]},F=t.h(L.value,q),U={class:Q.value,onClick:I},G=t.h("view",U,{default:()=>[F]});if(K.push(G),A.value){const ve=t.h("view",{class:D.value},[i.unit]);K.push(ve)}const Y={class:P.value},j=t.h("view",Y,{default:()=>K});_.push(j);const X={default:()=>_};X.label=c.slots.default,X.prepend=c.slots.prepend,X.append=c.slots.append,X.fixedPreTip=c.slots.fixedPreTip,X.fixedTip=c.slots.fixedTip;const J=ye(i,vn);J.valueFormat=null,J.disabled=!1,J.readonly=d.value||m.value,J.visible=T.value,J["onUpdate:visible"]=x,J.modelValue=b.value,J["onUpdate:modelValue"]=C,J.onClear=N;const te={};if(c.slots.top){const ve=c.slots.top();te.top=()=>ve}if(c.slots.bottom){const ve=c.slots.bottom();te.default=()=>ve}const oe=t.h(r,J,te);X.hide=()=>[oe];const le=ye(i,fe,ue);return t.h(l,le,X)}}}}const{create:hd,componentName:gd,scope:yd}=H("date-item"),Xn=hd(pd(gd,yd,Ce,ee.CircleClose,ee.Date,xo,!1)),vd=39,kd=64,{create:bd,scope:Sd}=H("calendar-pane"),Cd=bd({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:ne.getDay(0)},endDate:{type:String,default:ne.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:o,slots:l}){const{toLocaleRefs:n,t:a}=re.useFoxI18n(Sd),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),d=t.ref(null),m=t.ref(null),h=t.ref(null),p=t.ref(0),v=t.computed(()=>u.monthsData.slice(u.defaultRange[0],u.defaultRange[1])),g=t.computed(()=>l.btn),y=t.computed(()=>l["top-info"]),b=t.computed(()=>l["bottom-info"]),u=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=q=>q.split("-"),k=q=>ne.isEqual(u.currDate[0],q),S=q=>ne.isEqual(u.currDate[1],q),B=q=>u.currDate?.length>0?u.currDate?.some(F=>ne.isEqual(F,q)):!1,T=(q,F)=>F.curData[0]+"-"+F.curData[1]+"-"+ne.getNumTwoBit(+q.day),$=(q,F)=>{const U=T(q,F),{type:G}=e;return q.type=="curr"?ne.isEqual(u.currDate,U)||(G=="range"||G=="week")&&(k(U)||S(U))||G=="multiple"&&B(U)?`${u.dayPrefix}--active`:u.propStartDate&&ne.compareDate(U,u.propStartDate)||u.propEndDate&&ne.compareDate(u.propEndDate,U)?`${u.dayPrefix}--disabled`:(G=="range"||G=="week")&&Array.isArray(u.currDate)&&Object.values(u.currDate).length==2&&ne.compareDate(u.currDate[0],U)&&ne.compareDate(U,u.currDate[1])?`${u.dayPrefix}--choose`:null:`${u.dayPrefix}--disabled`},E=()=>{const{type:q}=e;if(q=="range"&&u.chooseData.length==2||q!="range"){let F=u.chooseData.slice(0);q=="week"&&(F={weekDate:[C(u.chooseData[0]),C(u.chooseData[1])]}),o("choose",F),e.poppable&&o("update")}},x=(q,F,U=!1)=>{if($(q,F)!=`${u.dayPrefix}--disabled`){const{type:G}=e;let[Y,j]=F.curData,X=[...F.curData];if(X[2]=ne.getNumTwoBit(Number(q.day)),X[3]=`${X[0]}-${X[1]}-${X[2]}`,X[4]=ne.getWhatDay(+X[0],+X[1],+X[2]),G=="multiple")if(u.currDate?.length>0){let J;u.currDate?.forEach((te,oe)=>{te==X[3]&&(J=oe)}),U?u.chooseData.push([...X]):J!==void 0?(u.currDate.splice(J,1),u.chooseData.splice(J,1)):(u.currDate.push(X[3]),u.chooseData.push([...X]))}else u.currDate=[X[3]],u.chooseData=[[...X]];else if(G=="range"){let J=Object.values(u.currDate).length;J==2||J==0?u.currDate=[X[3]]:ne.compareDate(u.currDate[0],X[3])?Array.isArray(u.currDate)&&u.currDate.push(X[3]):Array.isArray(u.currDate)&&u.currDate.unshift(X[3]),u.chooseData.length==2||!u.chooseData.length?u.chooseData=[[...X]]:ne.compareDate(u.chooseData[0][3],X[3])?u.chooseData=[...u.chooseData,[...X]]:u.chooseData=[[...X],...u.chooseData]}else if(G=="week"){let J=ne.getWeekDate(Y,j,q.day,e.firstDayOfWeek);u.propStartDate&&ne.compareDate(J[0],u.propStartDate)&&J.splice(0,1,u.propStartDate),u.propEndDate&&ne.compareDate(u.propEndDate,J[1])&&J.splice(1,1,u.propEndDate),u.currDate=J,u.chooseData=[ne.formatResultDate(J[0]),ne.formatResultDate(J[1])]}else u.currDate=X[3],u.chooseData=[...X];if(!U){let J=u.chooseData;G=="week"&&(J={weekDate:[C(u.chooseData[0]),C(u.chooseData[1])]}),o("select",J),(e.isAutoBackFill||!e.poppable)&&E()}}},C=q=>{let[F,U,G]=q;return{date:q,monthWeekNum:ne.getMonthWeek(F,U,G,e.firstDayOfWeek),yearWeekNum:ne.getYearWeek(F,U,G,e.firstDayOfWeek)}},w=q=>{const F=q=="prev"?u.monthsData[0]:u.monthsData[u.monthsData.length-1];let U=parseInt(F.curData[0]),G=parseInt(F.curData[1].toString().replace(/^0/,""));switch(q){case"prev":G==1&&(U-=1),G=G==1?12:--G;break;case"next":G==12&&(U+=1),G=G==12?1:++G;break}return[U+"",ne.getNumTwoBit(G),ne.getMonthDays(String(U),String(G))+""]},z=(q,F,U)=>{let{year:G,month:Y}=U;return F=="prev"&&q>=7&&(q-=7),Array.from(Array(q),(j,X)=>({day:String(X+1),type:F,year:G,month:Y}))},P=(q,F,U,G)=>{q=q-e.firstDayOfWeek;let{year:Y,month:j}=U;return F=="prev"&&q>=7&&(q-=7),Array.from(Array(G),(J,te)=>({day:String(te+1),type:F,year:Y,month:j})).slice(G-q)},A=(q,F)=>{const U=ne.getMonthPreDay(+q[0],+q[1]);let G=Number(q[1])-1,Y=Number(q[0]);G<=0&&(G=12,Y+=1);const j=ne.getMonthDays(String(q[0]),String(q[1])),X=ne.getMonthDays(Y+"",G+""),J={year:q[0],month:q[1]},te={curData:q,title:a("monthTitle",{year:J.year,month:J.month}),monthData:[...P(U,"prev",{month:String(G),year:String(Y)},X),...z(j,"curr",J)],cssHeight:0,cssScrollHeight:0},oe=te.monthData.length>35?6:5;te.cssHeight=vd+kd*oe;let le=0;u.monthsData.length>0&&(le=u.monthsData[u.monthsData.length-1].cssScrollHeight+u.monthsData[u.monthsData.length-1].cssHeight),te.cssScrollHeight=le,F=="next"?(!u.endData||!ne.compareDate(`${u.endData[0]}-${u.endData[1]}-${ne.getMonthDays(u.endData[0],u.endData[1])}`,`${q[0]}-${q[1]}-${q[2]}`))&&u.monthsData.push(te):!u.startData||!ne.compareDate(`${q[0]}-${q[1]}-${q[2]}`,`${u.startData[0]}-${u.startData[1]}-01`)?u.monthsData.unshift(te):u.unLoadPrev=!0},V=()=>{let q=e.startDate?e.startDate:ne.getDay(0),F=e.endDate?e.endDate:ne.getDay(365);u.propStartDate=q,u.propEndDate=F,u.startData=f(q),u.endData=f(F),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(u.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const U={year:Number(u.startData[0]),month:Number(u.startData[1])},G={year:Number(u.endData[0]),month:Number(u.endData[1])};let Y=G.month-U.month;G.year-U.year>0&&(Y=Y+12*(G.year-U.year)),Y<=0&&(Y=1),A(u.startData,"next");let j=1;do A(w("next"),"next");while(j++<Y);if(u.monthsNum=Y,e.type=="range"&&Array.isArray(u.currDate))u.currDate.length>0&&(q&&ne.compareDate(u.currDate[0],q)&&u.currDate.splice(0,1,q),F&&ne.compareDate(F,u.currDate[1])&&u.currDate.splice(1,1,F),u.defaultData=[...f(u.currDate[0]),...f(u.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(u.currDate)){if(u.currDate.length>0){let X=[],J={};u.currDate.forEach(te=>{q&&!ne.compareDate(te,q)&&F&&!ne.compareDate(F,te)&&(Object.hasOwnProperty.call(J,te)||(X.push(te),J[te]=te))}),u.currDate=[...X],u.defaultData=[...f(X[0])]}}else if(e.type=="week"&&Array.isArray(u.currDate)){if(u.currDate.length>0){let[X,J,te]=f(u.currDate[0]),oe=ne.getWeekDate(X,J,te,e.firstDayOfWeek);u.currDate=oe,q&&ne.compareDate(u.currDate[0],q)&&u.currDate.splice(0,1,q),F&&ne.compareDate(F,u.currDate[1])&&u.currDate.splice(1,1,F),u.defaultData=[...f(u.currDate[0]),...f(u.currDate[1])]}}else u.currDate&&(q&&ne.compareDate(u.currDate,q)?u.currDate=q:F&&!ne.compareDate(u.currDate,F)&&(u.currDate=F),u.defaultData=[...f(u.currDate)])};Ae({scrollToDate:q=>{ne.compareDate(q,u.propStartDate)?q=u.propStartDate:ne.compareDate(q,u.propEndDate)||(q=u.propEndDate);let F=f(q);u.monthsData.forEach((U,G)=>{if(U.title==a("monthTitle",{year:F[0],month:F[1]})&&c.value){let Y=u.monthsData[G].cssScrollHeight-c.value.scrollTop;if(e.toDateAnimation){let j=0,X=setInterval(()=>{if(j++,c.value){let J=Y/10;c.value.scrollTop=c.value.scrollTop+J}j>=10&&(clearInterval(X),c.value&&(c.value.scrollTop=u.monthsData[G].cssScrollHeight))},40)}else c.value.scrollTop=u.monthsData[G].cssScrollHeight}})},initPosition:()=>{c?.value&&(c.value.scrollTop=u.monthsData[u.currentIndex].cssScrollHeight)},doLayout:()=>{let q=0,F=0;u.defaultData.length>0&&u.monthsData.forEach((Y,j)=>{Y.title==a("monthTitle",{year:u.defaultData[0],month:u.defaultData[1]})&&(q=j),(e.type=="range"||e.type=="week")&&Y.title==a("monthTitle",{year:u.defaultData[3],month:u.defaultData[4]})&&(F=j)}),M(u.monthsNum,q),u.currentIndex=q,u.yearMonthTitle=u.monthsData[u.currentIndex].title,u.defaultData.length>0&&(u.isRange?(x({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0),x({day:u.defaultData[5],type:"curr"},u.monthsData[F],!0)):e.type=="week"?x({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0):e.type=="multiple"?[...u.currDate].forEach(Y=>{let j=f(Y),X=u.currentIndex;u.monthsData.forEach((J,te)=>{J.title==a("monthTitle",{year:j[0],month:j[1]})&&(X=te)}),x({day:j[2],type:"curr"},u.monthsData[X],!0)}):x({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0));let U=u.monthsData[u.monthsData.length-1],G=U.cssHeight+U.cssScrollHeight;We(()=>{c?.value&&d?.value&&h?.value&&(p.value=c.value.clientHeight,d.value.style.height=`${G}px`,c.value.scrollTop=u.monthsData[u.currentIndex].cssScrollHeight)}),u.avgHeight=Math.floor(G/(u.monthsNum+1))}});const M=(q,F)=>{q>=3?F>0&&F<q?u.defaultRange=[F-1,F+3]:F==0?u.defaultRange=[F,F+4]:F==q&&(u.defaultRange=[F-2,F+2]):u.defaultRange=[0,q+2];let U=u.monthsData[u.defaultRange[0]].cssScrollHeight;u.translateY=U},I=(q,F)=>(e.type=="range"||e.type=="week")&&q.type=="curr"&&$(q,F)=="fox-calendar__day--active",L=(q,F)=>I(q,F)&&k(T(q,F)),Q=(q,F)=>u.currDate.length>=2&&S(T(q,F))?I(q,F):!1,W=()=>{if(u.currDate.length>=2)return ne.isEqual(u.currDate[0],u.currDate[1])},_=q=>{const F=`${q.year}-${q.month}-${Number(q.day)<10?"0"+q.day:q.day}`;return ne.isEqual(F,ne.date2Str(new Date))},O=q=>{if(u.monthsData.length<=1)return;const F=q.target.scrollTop;let U=Math.floor(F/u.avgHeight);if(U==0)F>=u.monthsData[U+1].cssScrollHeight&&(U+=1);else if(U>0&&U<u.monthsNum-1)F>=u.monthsData[U+1].cssScrollHeight&&(U+=1),F<u.monthsData[U].cssScrollHeight&&(U-=1);else{const G=Math.round(F+p.value);G<u.monthsData[U].cssScrollHeight+u.monthsData[U].cssHeight&&F>u.monthsData[U-1].cssScrollHeight&&(U-=1),U+1<=u.monthsNum&&G>=u.monthsData[U+1].cssScrollHeight+u.monthsData[U+1].cssHeight&&(U+=1),U>=1&&F<u.monthsData[U-1].cssScrollHeight&&(U-=1)}u.currentIndex!==U&&(u.currentIndex=U,M(u.monthsNum,U)),u.yearMonthTitle=u.monthsData[U].title},K=()=>{u.chooseData.splice(0),u.monthsData.splice(0),V()};return V(),t.watch(()=>e.defaultValue,q=>{q&&e.poppable&&K()}),{weeks:i,compConthsData:v,showTopBtn:g,topInfo:y,bottomInfo:b,rangeTip:W,mothsViewScroll:O,getClass:$,isStartTip:L,isEndTip:Q,chooseDay:x,isCurrDay:_,confirm:E,months:c,...t.toRefs(u),...t.toRefs(e),...r,monthsPanel:d,weeksPanel:m,viewArea:h}}}),wd={class:"fox-calendar__header"},Nd={key:0,class:"fox-calendar__header-title"},Bd={key:1,class:"fox-calendar__header-slot"},Vd={key:2,class:"fox-calendar__header-subtitle"},Ad={class:"fox-calendar__weekdays",ref:"weeksPanel"},Td={class:"fox-calendar__panel",ref:"monthsPanel"},Ed={class:"fox-calendar__month-title"},$d={class:"fox-calendar__days"},Dd=["onClick"],xd={class:"fox-calendar__day-value"},Id={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},qd={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},zd={key:2,class:"fox-calendar__day-tips--curr"},Md={key:4,class:"fox-calendar__day-tip"},Pd={key:0,class:"fox-calendar__footer"};function Rd(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",wd,[e.showTitle?(t.openBlock(),t.createElementBlock("view",Nd,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.showTopBtn?(t.openBlock(),t.createElementBlock("view",Bd,[t.renderSlot(e.$slots,"btn")])):t.createCommentVNode("",!0),e.showSubTitle?(t.openBlock(),t.createElementBlock("view",Vd,t.toDisplayString(e.yearMonthTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("view",Ad,[(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",Td,[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",Ed,t.toDisplayString(s.title),1),t.createElementVNode("view",$d,[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,d)=>(t.openBlock(),t.createElementBlock("view",{key:d,class:t.normalizeClass(["fox-calendar__day",e.getClass(c,s)]),onClick:m=>e.chooseDay(c,s)},[t.createElementVNode("view",xd,[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",Id,[t.renderSlot(e.$slots,"top-info",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),e.bottomInfo?(t.openBlock(),t.createElementBlock("view",qd,[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",zd,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",Md,t.toDisplayString(e.endText),1)):t.createCommentVNode("",!0)],10,Dd))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?(t.openBlock(),t.createElementBlock("view",Pd,[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 ja=Z(Cd,[["render",Rd]]),Ld=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:Od}=H("calendar"),Fd=Od({components:{[ja.name]:ja,[ce.name]:ce},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)},d=()=>{i.value?.initPosition()};t.watch(()=>e.visible,y=>{y&&t.nextTick(()=>{i.value?i.value.doLayout():setTimeout(()=>{i.value&&i.value.doLayout()},250)})}),Ae({scrollToDate:c,initPosition:d});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 Kd(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 Io=Z(Fd,[["render",Kd]]),Zo=(e,o)=>{let l;return Oe(e)?l=e:typeof e=="string"&&ge(e)>0?l=ne.parser(e,o):l=new Date,l},st=(e,o,l)=>(Oe(o)||(o=new Date),ne.format(o,l)),it=e=>{let o=`${e.getFullYear()}`,l=`${e.getMonth()+1}`,n=`${e.getDate()}`,a=ne.date2Str(e),r=ne.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[o,l,n,a,r]};function Ud(e,o,l,n,{CloseIcon:a,MarkIcon:r},s=!1){return{props:{...ue,...fe,...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 d=Ne(t.computed(()=>i.disabled)),m=Te(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=re.useFoxI18n(o),v=p(i,["placeholder"]),g=t.ref(!1),y=t.computed(()=>i.type==="range"),b=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),u=()=>{b.startDate!==null&&(b.startDate=null,b.endDate=null,b.startArray=[],b.endArray=[])},f=(O,K="one",q="YYYY-MM-DD")=>{if(Ld(O)){u();return}if(y.value&&Array.isArray(O)&&O.length==2){let F,U;typeof O[0]=="string"?(F=Zo(O[0],q),U=Zo(O[1],q)):(F=O[0],U=O[1]);let G=it(F),Y=it(U);(b.startDate===null||b.startDate.getTime()!==F.getTime()||b.endDate?.getTime()!==U.getTime())&&(b.startDate=F,b.startArray=G,b.endDate=U,b.endArray=Y)}else{let F;typeof O=="string"?F=Zo(O,q):F=O;let U=it(F);(b.startDate===null||b.startDate.getTime()!==F.getTime())&&(b.startDate=F,b.startArray=U)}};f(i.modelValue,i.type,i.valueFormat),t.watch(()=>i.modelValue,O=>{f(O,i.type,i.valueFormat)});const k=t.computed(()=>{if(b.startDate===null)return"";if(y.value){let O=st(i,b.startDate,i.format),K=st(i,b.endDate,i.format);return`${O} ${i.rangeSeparator} ${K}`}else{let O=st(i,b.startDate,i.format);return i.showWeek&&(O=`${O} ${b.startArray[4]}`),O}}),S=t.computed(()=>{if(b.startDate===null)return null;if(y.value){let O=ne.date2Str(b.startDate),K=ne.date2Str(b.endDate??new Date);return[O,K]}else return ne.date2Str(b.startDate)}),B="fox-input-item",T=t.computed(()=>({[B]:!0,[`${B}__disabled`]:d.value})),$=we(t.computed(()=>i.textAlign),"textAlign"),E=t.computed(()=>{const O={};return $.value&&(O["text-align"]=$.value),O}),x=t.ref(!1),C=()=>{m.value||d.value||(x.value=!0)},w=O=>{x.value=O},z=O=>{if(O){if(y.value&&Array.isArray(O)){let K=O[0],q=me(K[0]),F=me(K[1]),U=me(K[2]),G=new Date(q,F-1,U),Y=O[1];q=me(Y[0]),F=me(Y[1]),U=me(Y[2]);let j=new Date(q,F-1,U);if(b.startDate=G,b.startArray=it(G),b.endDate=j,b.endArray=it(j),i.valueFormat){let X=st(i,G,i.valueFormat),J=st(i,j,i.valueFormat);h("update:modelValue",[X,J],{})}else h("update:modelValue",[G,j],{})}else{let K=O,q=me(K[0]),F=me(K[1]),U=me(K[2]),G=new Date(q,F-1,U);if(b.startDate=G,b.startArray=it(G),i.valueFormat){let Y=st(i,G,i.valueFormat);h("update:modelValue",Y,{})}else h("update:modelValue",G,{})}h("change",O,{})}},P=O=>{let q=O.target.value;g.value=!0,h("focus",q,O)},A=O=>{setTimeout(()=>{g.value=!1},0);let q=O.target.value;i.maxLength&&q.length>Number(i.maxLength)&&(q=q.slice(0,Number(i.maxLength))),h("blur",q,O)},V=t.computed(()=>({[`${B}__append`]:!0})),D=t.computed(()=>ge(i.unit)>0),N=t.computed(()=>ge(i.unit)>0&&!g.value),R=t.computed(()=>({hidden:!N.value})),M=O=>{u(),h("update:modelValue",null,O),h("change","",O),h("clear","")},I=t.computed(()=>i.clearable&&!d.value&&!m.value),L=t.computed(()=>{let O=ge(k.value)>0;return i.clearable&&O&&g.value}),Q=O=>{L.value?M(O):C()},W=t.computed(()=>L.value&&I.value?a:r),_=t.computed(()=>({action:!0}));return()=>{const O={class:T.value,style:E.value,type:"text",maxlength:i.maxLength,placeholder:v.placeholder.value,readonly:!0,unselectable:"on",value:k.value,onClick:C,onFocus:P,onBlur:A};s&&(O.disabled=!0);const K=[],q=t.h("input",O);K.push(q);const F=[],U={class:["action-icon"]},G=t.h(W.value,U),Y={class:_.value,onClick:Q},j=t.h("view",Y,{default:()=>[G]});if(F.push(j),D.value){const Ge=t.h("view",{class:R.value},[i.unit]);F.push(Ge)}const X={class:V.value},J=t.h("view",X,{default:()=>F});K.push(J);const te={default:()=>K};te.label=c.slots.default,te.prepend=c.slots.prepend,te.append=c.slots.append,te.fixedPreTip=c.slots.fixedPreTip,te.fixedTip=c.slots.fixedTip;const oe=ye(i,kn);oe.visible=x.value,oe["onUpdate:visible"]=w,oe["default-value"]=S.value,oe.onChoose=z;const le={};if(c.slots.btn){const Ge=c.slots.btn();le.btn=()=>Ge}c.slots.day&&(le.day=c.slots.day),c.slots.topInfo&&(le.topInfo=c.slots.topInfo),c.slots.bottomInfo&&(le.bottomInfo=c.slots.bottomInfo);const pe=t.h(l,oe,le);te.hide=()=>[pe];const ve=ye(i,fe,ue);return t.h(n,ve,te)}}}}const{componentName:Hd,create:jd,scope:Wd}=H("calendar-item"),Qn=jd(Ud(Hd,Wd,Io,Ce,{CloseIcon:ee.CircleClose,MarkIcon:ee.Date},!1)),Yd={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 Xd(e,{CheckNormal:o,Checked:l}){return{props:{...Yd},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"),d=t.computed(()=>s.position),m=()=>{if(i.value){if(r.checkedIcon)return r.checkedIcon();{const y=se(n.iconSize),b=n.checkedIcon??l;return t.h(b,{width:y,height:y,class:c.value})}}else{if(r.icon)return r.icon();{const y=se(n.iconSize),b=n.icon??o;return t.h(b,{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?.()),v=()=>{i.value||n.disabled||n.readonly||s.updateValue(n.label)},g=d.value==="left";return()=>t.h("view",{class:`${e} ${e}--${n.shape} ${g?`${e}--reverse`:""}`,onClick:v},[n.shape=="button"?p():g?[h(),m()]:[m(),h()]])}}}const{componentName:Qd,create:Gd}=H("radio"),qo=Gd(Xd(Qd,{CheckNormal:ee.CheckNormal,Checked:ee.CheckChecked})),{componentName:Wa,create:Zd}=H("radio-group"),zo=Zd({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:`${Wa} ${Wa}--${e.direction}`,style:a},l.default?.())}}});function Ya(e,o,l,n="value"){for(let a=0;a<o.length;a++){let r=o[a];if(n==="text"){if(_t(e,r)===l)return a}else if(n==="item"){if(Ie(l,r))return a}else if($t(e,r)===l)return a}return-1}function _t(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function $t(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function Jd(e,o){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?o[e.disabledKey]:o.disabled??null}function _d(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=St(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):($e(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 Xa={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,...fe,...Xa,...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=Te(t.computed(()=>r.readonly)),c=Ne(t.computed(()=>r.disabled)),d=we(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([u,f])=>{if(u){const k=await h.load("radio",u,f);if(k.length>0)if(typeof k[0]=="string"){const T=k.map($=>of($));p.value=T}else p.value=k}},{immediate:!0});let v=t.ref(-1);t.watch([()=>r.modelValue,()=>p.value],async([u,f])=>{v.value=Ya(r,f,u,r.valueType)},{deep:!0});const g=t.computed(()=>{if(!r.source)return r.modelValue;if(v.value===-1)return null;const u=p.value[v.value];return $t(r,u)}),y=u=>{let f=null,k=null;if(p.value.length>0){let S=Ya(r,p.value,u,"value");v.value=S,S>=0&&(k=p.value[S],r.valueType==="text"?f=_t(r,k):r.valueType==="item"?f=k:f=$t(r,k))}else f=u;m("update:modelValue",f),m("change",f,k)},b=()=>{let u=null,f=null;if(p.value.length>0&&v.value!==-1){let k=p.value[v.value];r.valueType==="text"?u=_t(r,k):r.valueType==="item"?u=k:u=$t(r,k)}m("update:modelValue",u),m("change",u,f)};if(Ae({clear(){v.value!==-1&&(v.value=-1,b())}}),r.source){const u=()=>{const f=[],k=ye(r,Xa);return p.value.forEach((S,B)=>{const T=$t(r,S),$=Jd(r,S);let E={...k,label:T,disabled:$};const x=_d(r,S,B);E={...E,...x},c.value&&(E.disabled=!0),i.value&&(E.readonly=!0);const C={};if(s.slots.icon&&(C.icon=s.slots.icon),s.slots.checkedIcon&&(C.checkedIcon=s.slots.checkedIcon),typeof s.slots.text=="function"){const z=s.slots.text(S);C.default=()=>[z]}else{const z=_t(r,S);C.default=()=>z}let w=t.h(a,E,C);f.push(w)}),f};return()=>{const f=u(),k={class:`${e}`,direction:r.direction,textPosition:r.textPosition,textAlign:d.value,modelValue:g,"onUpdate:modelValue":y},S=t.h(n,k,{default:()=>f}),B={default:()=>S};B.label=s.slots.default,B.prepend=s.slots.prepend,B.append=s.slots.append,B.fixedPreTip=s.slots.fixedPreTip,B.fixedTip=s.slots.fixedTip;const T=ye(r,fe,ue);return t.h(l,T,B)}}else return()=>{const u=s.slots.options?.()??[];return t.h(n,{class:`${e}`,direction:r.direction,textPosition:r.textPosition,textAlign:d.value,modelValue:g,"update:modelValue":y},{default:()=>u})}}}}const{componentName:af,create:rf,scope:sf}=H("radio-item"),Gn=rf(lf(af,sf,Ce,zo,qo)),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,k=>{c.partialSelect=k});const d=t.computed(()=>!!i),m=t.computed(()=>d.value?i.value.value.includes(a.label):!!a.modelValue),h=t.computed(()=>d.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 v="";const g=(k,S)=>{v="click",r("update:modelValue",k),r("change",k,S)};t.watch(()=>a.modelValue,k=>{v=="click"?v="":r("change",k)});const y=()=>{if(c.partialSelect){if(s.indeterminateIcon)return s.indeterminateIcon();{const k=se(a.iconSize),S=a.indeterminateIcon??n;return t.h(S,{width:k,height:k,class:p.value})}}else if(m.value){if(s.checkedIcon)return s.checkedIcon();{const k=se(a.iconSize),S=a.checkedIcon??l;return t.h(S,{width:k,height:k,class:p.value})}}else{if(s.icon)return s.icon();{const k=se(a.iconSize),S=a.icon??o;return t.h(S,{width:k,height:k,class:p.value})}}},b=()=>t.h("view",{class:`${e}__label ${a.disabled?`${e}__label--disabled`:""}`},s.default?.()),u=()=>t.h("view",{class:`${e}__button ${m.value&&`${e}__button--active`} ${a.disabled?`${e}__button--disabled`:""}`},s.default?.()),f=k=>{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),d.value){const S=i.value.value,B=i.max.value,{label:T}=a,$=S.indexOf(T);$>-1?S.splice($,1):$<=-1&&(S.length<B||!B)&&S.push(T),i.updateValue(S)}}};return t.onMounted(()=>{d.value&&i.link(t.getCurrentInstance())}),t.onBeforeUnmount(()=>{d.value&&i.unlink(t.getCurrentInstance())}),()=>t.h("view",{class:`${e} ${e}--${a.shape} ${h.value==="left"?`${e}--reverse`:""}`,onClick:f},[a.shape=="button"?u():[y(),b()]])}}),{componentName:uf,create:df}=H("checkbox"),Mo=df(cf(uf,{CheckNormal:ee.CheckNormal,Checked:ee.Checked,Indeterminate:ee.CheckDisabled})),{create:ff,componentName:Qa}=H("checkbox-group"),Po=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=d=>{d.proxy&&n.children.push(d.proxy)},r=d=>{d.proxy&&(n.children=n.children.filter(m=>m!==d.proxy))},s=d=>{l("update:modelValue",d),l("change",d)},i=d=>{const m=[];d&&n.children.forEach(h=>{h?.disabled||m.push(h?.label)}),l("update:modelValue",m)},c=()=>{const d=n.children.filter(m=>m?.disabled?!1:!e.modelValue.includes(m.label)).map(m=>m.label);l("update:modelValue",d)};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,d=>{l("change",d)}),Ae({toggleAll:i,toggleReverse:c}),()=>{const d={};return e.textAlign&&(d["text-align"]=e.textAlign),t.h("view",{class:`${Qa} ${Qa}--${e.direction}`,style:d},o.default?.())}}});function Ga(e,o,l,n="value"){for(let a=0;a<o.length;a++){let r=o[a];if(n==="text"){if(bn(e,r)===l)return a}else if(n==="item"){if(Ie(l,r))return a}else if(eo(e,r)===l)return a}return-1}function bn(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function eo(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=St(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):($e(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 vf={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String},max:{type:Number,default:0}},Za={icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},shape:{type:String,default:"round"}};function kf(e,o,l,n,a){return{props:{...vf,...Za,...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=Ne(t.computed(()=>r.disabled)),c=Ne(t.computed(()=>r.readonly)),d=we(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([u,f])=>{if(u){const k=await h.load("checkbox",u,f);if(k.length>0)if(typeof k[0]=="string"){const T=k.map($=>yf($));p.value=T}else p.value=k}},{immediate:!0});const v=t.ref([]);t.watch([()=>r.modelValue,()=>p.value],async([u,f])=>{const k=[];Array.isArray(u)&&u.forEach(S=>{let B=Ga(r,f,S,r.valueType);B!==-1&&k.push(B)}),!Ie(k,v.value)&&(v.value=k)},{deep:!0});const g=t.computed(()=>{if(!r.source)return r.modelValue;let u=[];return v.value.forEach(f=>{let k=p.value[f];u.push(eo(r,k))}),u}),y=u=>{let f=[],k=[];if(p.value.length>0){const S=[];Array.isArray(u)&&u.forEach(B=>{let T=Ga(r,p.value,B,"value");T!==-1&&S.push(T);const $=p.value[T];k.push($),r.valueType==="text"?f.push(bn(r,$)):r.valueType==="item"?f.push($):f.push(eo(r,$))}),v.value=S}else f=u;m("update:modelValue",f),m("change",f,k)},b=t.ref();if(Ae({toggleAll:u=>{b.value.toggleAll(u)},toggleReverse:()=>{b.value.toggleReverse()}}),r.source){const u=()=>{const f=[],k=ye(r,Za);return p.value.forEach((S,B)=>{const T=eo(r,S),$=mf(r,S);let E={...k,label:T,disabled:$};const x=pf(r,S,B);E={...E,...x},i.value&&(E.disabled=!0),c.value&&(E.readonly=!0);const C={};if(s.slots.icon&&(C.icon=s.slots.icon),s.slots.checkedIcon&&(C.checkedIcon=s.slots.checkedIcon),s.slots.indeterminateIcon&&(C.indeterminateIcon=s.slots.indeterminateIcon),typeof s.slots.text=="function"){const z=s.slots.text(S);C.default=()=>[z]}else{const z=bn(r,S);C.default=()=>z}let w=t.h(a,E,C);f.push(w)}),f};return()=>{const f=u(),k={class:`${e}`,ref:b,direction:r.direction,max:r.max,textPosition:r.textPosition,modelValue:g.value,"onUpdate:modelValue":y},S=t.h(n,k,{default:()=>f}),B={default:()=>S};B.label=s.slots.default,B.prepend=s.slots.prepend,B.append=s.slots.append,B.fixedPreTip=s.slots.fixedPreTip,B.fixedTip=s.slots.fixedTip;const T=ye(r,fe,ue);return t.h(l,T,B)}}else return()=>{const u=s.slots.options?.()??[];return t.h("view",{class:`${e}`,ref:b,direction:r.direction,max:r.max,textPosition:r.textPosition,textAlign:d.value,modelValue:g,"onUpdate:modelValue":y},{default:()=>u})}}}}const{componentName:bf,create:Sf,scope:Cf}=H("checkbox-item"),Zn=Sf(kf(bf,Cf,Ce,Po,Mo)),Sn={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:wf,create:Nf}=H("switch"),Bf=Nf({components:{Loading1:ee.Loading1},props:{...Sn},emits:["change","update:modelValue","update:loading"],setup(e,{emit:o}){const l=t.computed(()=>e.modelValue===e.activeValue),n=t.computed(()=>{const i=wf;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 Af(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 Ro=Z(Bf,[["render",Af]]);function Tf(e,o,l,n){return{props:{...ue,...fe,...Sn},emits:["change","update:modelValue"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=Te(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),d=e,m=De(a,"modelValue"),h=p=>{m.value=p,c("update:modelValue",p,{}),c("change",p,{})};return()=>{const v={...ye(a,Sn),disabled:s.value,readonly:i.value,value:m.value,"onUpdate:modelValue":h},g=[],y=t.h(n,v);g.push(y);const b={default:()=>g};b.label=r.slots.default,b.fixedPreTip=r.slots.fixedPreTip,b.fixedTip=r.slots.fixedTip;const u=ye(a,fe,ue);return u["content-class"]=d,t.h(l,u,b)}}}}const{componentName:Ef,create:$f,scope:Df}=H("switch-item"),Jn=$f(Tf(Ef,Df,Ce,Ro));function xf(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}=re.useFoxI18n(o),c=i(a,["placeholder"]),d=Ne(t.computed(()=>a.disabled)),m=Te(t.computed(()=>a.readonly)),h=De(a,"modelValue"),p=t.computed(()=>({[`${e}`]:!0})),v=t.computed(()=>({[`${e}__main`]:!0,[`${e}__disabled`]:d.value,[`${e}__placeholder`]:!d.value&&ie(h.value)})),g=we(t.computed(()=>a.textAlign),"textAlign"),y=t.computed(()=>{const z={};return g.value&&(z["text-align"]=g.value),z}),b=t.computed(()=>!ie(a.modelValue)||r.slots.main?!0:!!ie(a.desc)),u=t.computed(()=>ie(h.value)?c.placeholder.value:h.value),f=t.computed(()=>!ie(a.desc)||r.slots.sub),k=t.computed(()=>({[`${e}__sub`]:!0})),S=t.computed(()=>{const z={};return g.value&&(z["text-align"]=g.value),z}),B=()=>{s("focus",h.value)},T=()=>{s("blur",h.value)},$=t.computed(()=>({[`${e}__append`]:!0})),E=t.computed(()=>ge(a.unit)>0),x=z=>{d.value==!0||m.value==!0||s("click")},C=t.computed(()=>a.icon??l),w=t.computed(()=>({action:!0}));return()=>{const z=[];if(typeof r.slots.content=="function"){const W=r.slots.content();z.push(W)}else{const W=[];if(b.value){const K={tabIndex:0,class:v.value,style:y.value,onFocus:B,onBlur:T,onClick:x};let q=null;r.slots.main?q=t.h("view",K,[r.slots.main(u.value)]):q=t.h("view",K,[u.value]),W.push(q)}if(f.value){const K={tabIndex:0,class:k.value,style:S.value,onFocus:B,onBlur:T,onClick:x};let q=null;r.slots.sub?q=t.h("view",K,[r.slots.sub(a.desc)]):q=t.h("view",K,[a.desc]),W.push(q)}const _={class:p.value},O=t.h("view",_,W);z.push(O)}const P=[],A=se(a.iconSize);let V=r.slots.icon;if(!V){const W={width:A,height:A,class:["action-icon"]};V=t.h(C.value,W)}const D={class:w.value,onClick:x},N=t.h("view",D,{default:()=>[V]});if(P.push(N),E.value){const W=t.h("view",{},[a.unit]);P.push(W)}const R={class:$.value},M=t.h("view",R,{default:()=>P});z.push(M);const I={default:()=>z};I.label=r.slots.default,I.prepend=r.slots.prepend,I.append=r.slots.append,I.fixedPreTip=r.slots.fixedPreTip,I.fixedTip=r.slots.fixedTip;const L=ye(a,fe,ue);return t.h(n,L,I)}}}}const{componentName:If,create:qf,scope:zf}=H("link-item"),_n=qf(xf(If,zf,ee.ArrowRight,Ce)),Cn={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:Mf,componentName:Pf}=H("rate"),Rf=Mf({props:{...Cn},emits:["update:modelValue","change"],setup(e,{emit:o,slots:l}){const n=t.ref([]),a=t.computed(()=>({[Pf]:!0})),r=v=>{o("update:modelValue",v),o("change",v)},s=(v,g)=>{if(e.disabled||e.readonly)return;let y=0;g===1&&e.modelValue===g||(y=g,e.allowHalf&&v==2&&(y-=.5)),r(y)},i=(v,g,y)=>{let b=0;for(let u=g.value.length-1;u>=0;u--){const f=g.value[u];if(v>f.offsetLeft){y?b=u+(v>f.offsetLeft+f.clientWidth/2?1:.5):b=u+1;break}}return b},c=Ke(),d={onTouchStart(v){!e.touchable||e.readonly||c.start(v)},onTouchMove(v){e.touchable&&(c.move(v),c.isHorizontal()&&n.value&&(v.preventDefault(),r(i(c.moveX.value,n,e.allowHalf))))}},m=Math.random().toString(36).slice(-8),h=t.computed(()=>e.customIcon??ee.StarFillN);return{classes:a,...d,onClick:s,toPxDesc:de,renderIcon:(v,g)=>t.h(v,g),rateRefs:n,refRandomId:m,slots:l,customIcon:h}}}),Lf=["id"],Of={class:"fox-rate-item__icon--full"},Ff={key:0,class:"fox-rate-item__icon--half"},Kf={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",Of,[(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",Ff,[(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",Kf,[(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,Lf))),128))],34)}const yt=Z(Rf,[["render",Uf]]);function Hf(e,o,l,n){return{props:{...ue,...fe,...Cn},emits:["change","update:modelValue"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=Te(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),d=e,m=De(a,"modelValue"),h=p=>{m.value=p,c("update:modelValue",p,{}),c("change",p,{})};return()=>{const v={...ye(a,Cn),disabled:s.value,readonly:i.value,value:m.value,"onUpdate:modelValue":h},g=[],y=t.h(n,v);g.push(y);const b={default:()=>g};if(r.slots.default){const k=r.slots.default();b.label=()=>k}const u=ye(a,fe,ue);return u["content-class"]=d,t.h(l,u,b)}}}}const{componentName:jf,create:Wf,scope:Yf}=H("rate-item"),el=Wf(Hf(jf,Yf,Ce,yt)),wn={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(to(e,r)===l)return a}else if(n==="item"){if(Ie(l,r))return a}else if(is(e,r)===l)return a}return-1}function to(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function Ja(e,o){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?o[e.subTextKey]:o.text}function is(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 d=l;typeof i=="function"&&(d=d.filter(i));let m=(n-1)*a,h=m+a;h>d.length&&(h=d.length);const p=d.slice(m,h);return{totalSize:d.length,page:p}}if(typeof l=="function")return await Reflect.apply(l,null,[n,a,r,s]);const c=St(this.proxy,o);return c===null?(console.error(`${o} component not found api function`),{totalSize:0,page:[]}):($e(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}=H("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:ee.Loading},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=re.useFoxI18n(tm),a=n(e,["pullText","loadText","loadMoreText"]),r=t.ref(),s=Qr(r),i=t.reactive({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),c=t.computed(()=>({[_f]:!0})),d=y=>y?y.offsetTop+d(y.offsetParent):0,m=()=>{let y=0,b=0,u="down";if(s.value==window){const f=$n();r.value&&(y=d(r.value)+r.value.offsetHeight-f-window.innerHeight),b=f}else{const{scrollHeight:f,clientHeight:k,scrollTop:S}=s.value;y=f-k-S,b=S}return i.beforeScrollTop>b?u="up":u="down",i.beforeScrollTop=b,o("scroll-change",b),y<=e.threshold&&u=="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)},v=()=>{s.value&&s.value.removeEventListener("scroll",h,e.useCapture)};t.onMounted(()=>{p()}),t.onUnmounted(()=>{v()});const g=t.ref(!1);return t.onActivated(()=>{g.value&&(g.value=!1,p())}),t.onDeactivated(()=>{g.value=!0,v()}),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 Lo=Z(om,[["render",im]]),{componentName:cm,create:um}=H("button"),dm=um({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:d,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`]:d.value,[`${g}--block`]:m.value,[`${g}--disabled`]:s.value,[`${g}--loading`]:i.value}}),v=t.computed(()=>{const g={};return c?.value&&(d.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:v}}}),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 xe=Z(dm,[["render",mm]]),{create:pm,scope:hm}=H("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:()=>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}=re.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 S=f.target.value;e.maxLength&&S.length>Number(e.maxLength)&&(S=S.slice(0,Number(e.maxLength))),o("update:modelValue",S,f),o("change",S,f)},c=t.ref({}),d=f=>{let S=f.target.value;a.active=!0,c.value=e.focusStyle,o("focus",S,f)},m=f=>{setTimeout(()=>{a.active=!1},0);let S=f.target.value;e.maxLength&&S.length>Number(e.maxLength)&&(S=S.slice(0,Number(e.maxLength))),c.value={},o("blur",S,f)},h=f=>{o("update:modelValue","",f),o("change","",f),o("clear","")},p=()=>{o("search",e.modelValue)},v=f=>{o("click-input",f)},g=f=>{o("click-left-icon",e.modelValue,f)},y=f=>{o("click-right-icon",e.modelValue,f)},b=t.computed(()=>({textAlign:e.inputAlign})),u=t.ref(null);return t.onMounted(()=>{e.autofocus&&u.value.focus()}),{...n,inputsearch:u,...t.toRefs(a),valueChange:i,valueFocus:d,valueBlur:m,handleClear:h,handleSubmit:p,searchbarStyle:r,inputSearchbarStyle:s,focusCss:c,clickInput:v,leftIconClick:g,rightIconClick:y,styleSearchbar:b}}}),ym={key:0,class:"fox-searchbar__search-label"},vm={key:1,class:"fox-searchbar__search-icon fox-searchbar__left-search-icon"},km=["type","maxlength","placeholder","value","disabled","readonly"],bm={key:1,class:"fox-searchbar__search-icon fox-searchbar__iptright-search-icon"},Sm={key:2,class:"fox-searchbar__search-icon fox-searchbar__right-search-icon"};function Cm(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",vm,[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,km)],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",bm,[t.renderSlot(e.$slots,"rightin")])):t.createCommentVNode("",!0)],2)],6),e.$slots.rightout?(t.openBlock(),t.createElementBlock("view",Sm,[t.renderSlot(e.$slots,"rightout")])):t.createCommentVNode("",!0)],4)}const Oo=Z(gm,[["render",Cm]]);function wm(e,o,l){return{props:{...wn},emits:["change","update:modelValue","update:text","loaded-data"],setup(n,{emit:a,slots:r}){const s=Jf(),i=t.ref([]),c=t.ref(1),d=t.ref(""),m=t.shallowRef(null),h=t.computed(()=>{const I={};return n.params&&Object.assign(I,n.params),ie(d.value)||(I[`${n.searchKey}`]=d.value),m.value&&Object.assign(I,m.value),I});let p=!0;const v=async(I,L,Q)=>{try{let W=null;ie(d.value)||(W=O=>{const K=to(n,O);if(typeof K=="string"&&K.includes(d.value))return!0;const q=Ja(n,O);return!!(typeof q=="string"&&q.includes(d.value))});const _=await s.load("actionsheet",I,L,Q,h.value,p,W??void 0);p=!1,_.page.length===0?z.value=!1:(Reflect.apply([].push,i.value,_.page),i.value.length>=_.totalSize?z.value=!1:c.value=i.value.length/n.pageSize),w.value=!1}catch(W){console.error("[FoxUI] Load ActionSheet Data Fail",W),i.value=[]}setTimeout(()=>{a("loaded-data")},250)};t.watch([()=>n.source,()=>n.pageSize,()=>n.params],async([I,L,Q])=>{n.source&&v(n.source,c.value,L)},{immediate:!0});const g=t.computed(()=>!n.multiple&&n.isAutoBackFill),y=t.ref([]);let b=null;const u=t.ref(n.visible);t.watch(()=>n.visible,I=>{u.value!==I&&(u.value=I),I?b=[...y.value]:b=null});const f=(I,L)=>{const Q=[];return Array.isArray(I)||(I=[I]),I.forEach(W=>{let _=Xf(n,L,W,n.valueType);_!==-1&&Q.push(_)}),Ie(Q,y.value)?!1:(y.value=Q,!0)};t.watch([()=>n.modelValue,()=>i.value],([I,L],[Q,W])=>{f(I,L)&&k()},{deep:!0});const k=()=>{const I=[],L=[],Q=[];for(let W of y.value){const _=i.value[W];L.push(_);const O=to(n,_);if(Q.push(O),n.valueType==="item")I.push(_);else if(n.valueType==="text")I.push(O);else{const K=is(n,_);I.push(K)}}n.multiple?(a("update:modelValue",I),a("update:text",Q),a("change",I,L)):(a("update:modelValue",I[0]??null),a("update:text",Q[0]??null),a("change",I[0],L[0]??null))},S=()=>{b&&(y.value=b)},B=I=>{const L=y.value.indexOf(I);n.multiple?L===-1?y.value.push(I):y.value.splice(L,1):L===-1?y.value=[I]:y.value=[],(g.value||!n.poppable&&!n.showFooter)&&(k(),$(!1))},T=t.computed(()=>({})),$=I=>{u.value=I,a("update:visible",I)},E=()=>{S(),$(!1)},x=()=>{$(!1),k()},C=()=>{i.value=[],c.value=1,n.source&&v(n.source,c.value,n.pageSize)},w=t.ref(!1),z=t.ref(!0),P=async()=>{if(!n.source){w.value=!1;return}await v(n.source,c.value,n.pageSize)};t.watch(()=>d.value,(I,L)=>{ie(I)&&!ie(L)&&P()});const A=()=>{let I=n.title??"";r.title&&(I=r.title());const L=t.h("view",{class:["fox-actionsheet__header-title"]},[I]),Q=t.h(ee.Close,{class:["fox-actionsheet__header-icon"],onClick:E});return t.h("view",{class:["fox-actionsheet__header"]},[L,Q])},V=()=>{let I=null;if(r.search)I=r.search();else{const L={onSearch:C,placeholder:n.seachPlaceholder,disabled:n.disabled,modelValue:d.value,"onUpdate:modelValue":Q=>{d.value=Q}};I=t.h(Oo,L,{leftin:()=>t.h(ee.Search2)})}return t.h("view",{class:["fox-actionsheet__searchbar"]},[I])},D=(I,L,Q)=>{if(r.optionLabel)return r.optionLabel({text:I,subText:L,item:Q});const W=[],_=t.h("view",{class:"fox-actionsheet__list-item-text"},[I]);if(W.push(_),L){const O=t.h("view",{class:"fox-actionsheet__list-item-subtext"},[L]);W.push(O)}return t.h("view",{class:["fox-actionsheet__list-item-label"]},W)},N=(I,L,Q)=>{if(r.optionIcon)return r.optionIcon({checked:I,iconSize:L,item:Q});if(I){if(r.checkedIcon)return r.checkedIcon();{const W=n.checkedIcon??ee.Checked;return t.h(W,{width:L,height:L,class:["fox-actionsheet__list-item-icon"]})}}else{if(r.icon)return r.icon();{const W=n.icon??ee.CheckNormal;return t.h(W,{width:L,height:L,class:["fox-actionsheet__list-item-icon"]})}}},R=()=>{const I=[];for(let L=0;L<i.value.length;L++){const Q=i.value[L],W=to(n,Q),_=Ja(n,Q),O=["fox-actionsheet__list-item"],K={};let q=Qf(n,Q),F=n.iconSize?se(n.iconSize):null;const U=Gf(n,Q,L);U&&(q=q||U.disabled,U.class&&O.push(U.class),U.style&&Object.assign(K,U.style)),q=!!(n.disabled||q);const G=y.value.includes(L);q&&O.push("is-disabled"),G&&O.push("is-checked");const Y={class:O,style:K,key:`${L}`,onClick:()=>{q||B(L)}};let j=[];if(r.option)j.push(r.option({item:Q}));else{const J=D(W,_,Q);j.push(J);const te=N(G,F,Q);j.push(te)}const X=t.h("view",Y,j);I.push(X)}return I},M=()=>{let I=[];if(r.buttons)I=r.buttons();else{const Q=t.h(xe,{type:"primary",block:"block",onClick:x,disabled:n.disabled},{default:()=>n.confirmText});I.push(Q)}return t.h("view",{class:"fox-actionsheet__footer"},[I])};return Ae({search:async(I=null,L=!0)=>{m.value=I&&t.toRaw(I),t.triggerRef(m),L&&(i.value=[],c.value=1),t.nextTick(()=>{P()})},clear:()=>{i.value=[],c.value=1}}),()=>{const I=[];if(n.showHeader){const G=A();I.push(G)}if(n.showSearchbar){const G=V();I.push(G)}const L=R(),Q={hasMore:z.value,loadText:n.loadText,loadMoreText:n.loadMoreText,modelValue:w.value,"onUpdate:modelValue":G=>{w.value=G},onLoadMore:P},W=t.h(Lo,Q,{default:()=>L}),_={};n.optionsHeight&&(_.height=n.optionsHeight);const O={"fox-actionsheet__list":!0};n.poppable||(O["fox-actionsheet__list--inner"]=!0);const K=t.h("view",{class:O,style:_},[W]);if(I.push(K),n.showFooter&&!g.value){const G=M();I.push(G)}const q=t.h("view",{class:"fox-actionsheet"},I);if(!n.poppable)return q;const F=["fox-actionsheet__popup"];n.popClass&&F.push(n.popClass);const U={popClass:F.join(" "),style:T.value,visible:u.value,closeable:!1,"onUpdate:visible":$,position:n.position,round:"round",onClickOverlay:E,closeOnClickOverlay:n.closeOnClickOverlay};return t.h(ce,U,{default:()=>q})}}}}const{componentName:KN,create:Nm,scope:UN}=H("actionsheet-pane"),Fo=Nm(wm()),Bm={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,...fe,...Bm,...wn},emits:["change","update:modelValue","blur","focus","clear","update:text"],setup(i,c){const d=Ne(t.computed(()=>i.disabled)),m=Te(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=re.useFoxI18n(o),v=p(i,["placeholder"]),g=t.ref(!1),y=De(i,"modelValue"),b=t.ref(""),u=t.computed(()=>Array.isArray(b.value)?b.value.join(i.separator):b.value),f="fox-input-item",k=t.computed(()=>({[f]:!0,[`${f}__disabled`]:d.value})),S=we(t.computed(()=>i.textAlign),"textAlign"),B=t.computed(()=>{const O={};return S.value&&(O["text-align"]=S.value),O}),T=t.ref(!1),$=()=>{T.value=!0},E=O=>{T.value=O},x=O=>{y.value=O,h("update:modelValue",O)},C=(O,K)=>{h("change",O,K)},w=O=>{let q=O.target.value;g.value=!0,h("focus",q,O)},z=O=>{setTimeout(()=>{g.value=!1},0);let q=O.target.value;i.maxLength&&q.length>Number(i.maxLength)&&(q=q.slice(0,Number(i.maxLength))),h("blur",q,O)},P=O=>{b.value=O,h("update:text",O)},A=t.computed(()=>({[`${f}__append`]:!0})),V=t.computed(()=>ge(i.unit)>0),D=t.computed(()=>ge(i.unit)>0&&!g.value),N=t.computed(()=>({hidden:!D.value})),R=O=>{y.value="",h("update:modelValue","",O),h("change","",O),h("clear","")},M=t.computed(()=>i.clearable&&!d.value&&!m.value),I=t.computed(()=>ge(y.value)>0&&g.value),L=O=>{I.value?R(O):$()},Q=t.computed(()=>I.value&&M.value?n:a),W=t.computed(()=>({action:!0})),_=t.ref(null);return Ae({search:O=>{_.value&&_.value.search(O)}}),()=>{const O={class:k.value,style:B.value,type:"text",maxlength:i.maxLength,placeholder:v.placeholder.value,readonly:!0,unselectable:"on",value:u.value,onClick:$,onFocus:w,onBlur:z};s&&(O.disabled=!0);const K=[],q=t.h("input",O);K.push(q);const F=[],U={class:["action-icon"]},G=t.h(Q.value,U),Y={class:W.value,onClick:L},j=t.h("view",Y,{default:()=>[G]});if(F.push(j),V.value){const Ge=t.h("view",{class:N.value},[i.unit]);F.push(Ge)}const X={class:A.value},J=t.h("view",X,{default:()=>F});K.push(J);const te={default:()=>K};te.label=c.slots.default,te.prepend=c.slots.prepend,te.append=c.slots.append,te.fixedPreTip=c.slots.fixedPreTip,te.fixedTip=c.slots.fixedTip;const oe=ye(i,wn);oe.ref=_,oe.class=i.actionsheetProps,oe.disabled=d.value||m.value,oe.visible=T.value,oe["onUpdate:visible"]=E,oe.modelValue=y.value,oe["onUpdate:modelValue"]=x,oe.text=b.value,oe["onUpdate:text"]=P,oe.onChange=C,oe.poppable=!0;const le={title:c.slots.title,search:c.slots.search,option:c.slots.option,optionLabel:c.slots.optionLabel,optionIcon:c.slots.optionIcon,buttons:c.slots.buttons},pe=t.h(r,oe,le);te.hide=()=>[pe];const ve=ye(i,fe,ue);return t.h(l,ve,te)}}}}const{componentName:Am,create:Tm,scope:Em}=H("actionsheet-item"),tl=Tm(Vm(Am,Em,Ce,ee.CircleClose,ee.ArrowRight,Fo));function $m(e,o){return{inheritAttrs:!1,props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:{}}},setup(l,{slots:n}){return Tr(l.name,()=>l.config),()=>typeof n.default=="function"?n.default():null}}}const{componentName:HN,create:Dm,scope:jN}=H("domain-provider"),ol=Dm($m()),xm={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 Im(e,o){return{inheritAttrs:!1,props:xm,setup(l,{slots:n}){if(Qe&&window.IntersectionObserver){const a=new WeakMap;let r=new Map;const s=(p,v)=>{if(m===null){r.set(p,{visible:null,callback:v});return}a.has(p)&&m.unobserve(p),a.set(p,{visible:null,callback:v}),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;vi({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,v,g)=>{m=new IntersectionObserver(y=>{for(let b of y){let u=!1;b.intersectionRatio>0&&(u=!0);const f=a.get(b.target);if(f)try{if(l.loadPolicy==="lazy"&&!u&&f.visible!==null)return;f.visible=u,f.callback(u)}catch(k){console.error(k)}}},{root:p,rootMargin:v,threshold:g}),r.forEach((y,b)=>{a.set(b,y),m?.observe(b)}),r.clear()};t.watch([()=>l.root,()=>l.disabled],([p,v])=>{if(v||!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:WN,create:qm,scope:YN}=H("rolling-provider"),nl=qm(Im()),{create:zm,componentName:Gt,scope:XN}=H("tabs-bar"),Mm=zm({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 D={};return D[`${Gt}`]=!0,D}),a=t.computed(()=>{const D={};return D[`${Gt}__titles`]=!0,D[`${e.direction}`]=!0,e.align==="left"&&(D.left=!0),e.scroll===!0&&(D.scrollable=!0),e.shape&&(D[`${e.shape}`]=!0),D}),r=t.computed(()=>({})),s=t.computed(()=>{if(!e.gutter)return 0;const D=se(e.gutter);return D<=0?0:D}),i=t.ref(e.modelValue);t.watch(()=>e.modelValue,D=>{i.value!==D&&(i.value=D,V(!1))});const c=t.ref({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),d=t.ref(),m=t.ref(!1),h=()=>{const D=!m.value;p(D)},p=D=>{const N=D;N?(m.value=N,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,d.value?d.value.addEventListener("transitionend",()=>{m.value=!1},{once:!0}):setTimeout(()=>{m.value=!1},0))},v=t.ref(),g=t.ref([]),y=(D,N)=>{g.value[N]=D},b=D=>N=>{y(N,D)},u=(D,N)=>{const R=v.value,M=g.value;if(!R||!M||!M[D])return;const I=M[D];let L=0;e.direction==="vertical"?L=I.offsetTop-(R.offsetHeight-I.offsetHeight)/2:L=I.offsetLeft-(R.offsetWidth-I.offsetWidth)/2,f(R,L,N?0:.3,e.direction)},f=(D,N,R,M)=>{let I=0;const L=M==="horizontal"?D.scrollLeft:D.scrollTop,Q=R===0?1:Math.round(R*1e3/16);function W(){M==="horizontal"?D.scrollLeft+=(N-L)/Q:D.scrollTop+=(N-L)/Q,++I<Q&&je(W)}W()},k=D=>D[e.textKey],S=D=>D[e.valueKey],B=D=>D[e.visibleKey],T=D=>D[e.disabledKey],$=(D,N)=>{const R=e.itemOptions;return typeof R=="function"?R(D,N):R||null},E=(D,N)=>{const R=S(D),M={};M[`${Gt}__titles-item`]=!0,M.disabled=T(D),M.active=R===i.value,e.shape&&(M[`${e.shape}`]=!0),e.ellipsis&&(M.ellipsis=!0);const I=$(D,N);return I&&(I.class&&(M[`${I.class}`]=!0),I.disabled===!0&&(M.disabled=I.disabled)),M},x=(D,N)=>{const R={};if(s.value>0){const I=Math.abs(s.value/2);e.direction==="vertical"?(R["margin-top"]=`${I}px`,R["margin-bottom"]=`${I}px`):(R["margin-left"]=`${I}px`,R["margin-right"]=`${I}px`)}const M=$(D,N);return M&&M.style&&Object.assign(R,M.style),R},C=(D,N)=>`${S(D)??N}`,w=(D,N)=>{const R=S(D),M={};M[`${Gt}__popup-item`]=!0,M.disabled=T(D),M.active=R===i.value,e.shape&&(M[`${e.shape}`]=!0);const I=$(D,N);return I&&I.disabled===!0&&(M.disabled=I.disabled),M},z=t.computed(()=>(e.data??[]).filter(N=>B(N)!==!1)),P=(D,N)=>{const R=S(D);i.value=R,u(N,!1),l("update:modelValue",R),l("change",D,N)},A=(D,N)=>{P(D,N),p(!1)},V=D=>{if(!Array.isArray(e.data)||!e.scroll)return;const N=e.data.findIndex(R=>S(R)===i.value);N!==-1&&u(N,D)};return t.watch(()=>e.data,()=>{setTimeout(V,0)}),t.onMounted(()=>{V(!0)}),{classes:n,titlesClasses:a,titlesStyles:r,itemClasses:E,itemStyles:x,itemKey:C,popupItemClasses:w,filterTabItems:z,getItemText:k,getItemValue:S,onTabChange:P,titlesRef:v,createItemRefs:b,togglePopupVisible:h,onQuickNavigate:A,popupClasses:c,popupVisible:m,popupRef:d}}}),Pm={class:"fox-tabs-bar"},Rm=["onClick"],Lm={class:"fox-tabs-bar__titles-item-text"},Om=t.createElementVNode("view",{class:"fox-tabs-bar__titles-item-line"},null,-1),Fm=["onClick"];function Km(e,o,l,n,a,r){const s=t.resolveComponent("MoreH");return t.openBlock(),t.createElementBlock("view",Pm,[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:d=>e.onTabChange(i,c)},[t.renderSlot(e.$slots,"item",{item:i,index:c},()=>[t.createElementVNode("view",Lm,t.toDisplayString(e.getItemText(i)),1),Om])],14,Rm))),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:d=>e.onQuickNavigate(i,c)},[t.renderSlot(e.$slots,"popup-item",{item:i,index:c},()=>[t.createTextVNode(t.toDisplayString(e.getItemText(i)),1)])],10,Fm))),128))],2),[[t.vShow,e.popupVisible]])])}const ll=Z(Mm,[["render",Km]]),cs=Symbol("TabsStatesKey"),{create:Um}=H("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(cs,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(v=>v.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 d=null;return t.onMounted(()=>{if(!r.value)return;const m=()=>{const h=wo(r.value);n.tabWidth.value=h.width,n.tabHeight.value=h.height};window.ResizeObserver&&(d=new window.ResizeObserver(m),d.observe(r.value)),m()}),t.onBeforeUnmount(()=>{d&&(d.disconnect(),d=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 al=Z(Hm,[["render",jm]]),{create:Wm}=H("tabs-pane"),Ym=Wm({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(cs);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 rl=Z(Ym,[["render",Gm]]),_a=10;function Zm(e,o){return e>o&&e>_a?"horizontal":o>e&&o>_a?"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})),d=t.computed(()=>{const f={};return ie(i.top)||(f.top=i.top),ie(i.right)||(f.right=i.right),ie(i.bottom)||(f.bottom=i.bottom),ie(i.left)||(f.left=i.left),ie(a.width)||(f.width=a.width),ie(a.height)||(f.height=a.height),ie(a.color)||(f.color=a.color),ie(a.background)||(f.background=a.background),f}),m=t.computed(()=>({[`${e}__icon`]:!0})),h=()=>{s("click")},p=t.ref(null),v=()=>{i.top=null,i.right=null,i.bottom=null,i.left=null},g={x:0,y:0},u=np(f=>{if(!p.value)return;const k=p.value;v(),i.left=k.offsetLeft,i.top=k.offsetTop,k.style.left=`${i.left}px`,k.style.top=`${i.top}px`,k.style.right=null,k.style.bottom=null,g.x=i.left,g.y=i.top},f=>{if(!p.value)return;const k=p.value;v(),i.left=g.x+f.x,i.top=g.y+f.y,k.style.left=`${i.left}px`,k.style.top=`${i.top}px`});return t.onMounted(()=>{if(a.draggable&&p.value){const f=[p.value];u.open(f)}}),t.onBeforeUnmount(()=>{a.draggable&&p.value&&u.close()}),()=>{let f=[];const k=typeof r.default=="function"?r.default():[];if(k&&k.length>0)f=k;else{const B=t.h(l,{class:m.value});f.push(B)}const S={ref:B=>{p.value=B},class:c.value,style:d.value,onClick:h};return t.h("view",S,f)}}}),{componentName:rp,create:sp,scope:ip}=H("floating-button"),sl=sp(ap(rp,ip,ee.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 up={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 dp(e,o){return{props:{...up},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={},v=l.textColor??l.color;return v&&(p.color=v),p}),c=p=>{if(p&&he(l.showOverflowTooltip)){const v=p.clientWidth;cp(p,g=>{a.value=g<=v})}};let d=null;t.onMounted(()=>{if(!he(l.showOverflowTooltip))return;const p=r.value;c(p),p&&window.ResizeObserver&&(d=new window.ResizeObserver(()=>{c(p)}),d.observe(p))}),t.onUnmounted(()=>{d?.disconnect()});const m=(p,v)=>{let g=null;if(typeof l.highlightFilter=="string"&&l.highlightFilter.length>0){const y=l.highlightFilter;if(p.indexOf(y)!==-1){const u=p.replace(new RegExp(y,"g"),`<span>${y}</span>`);v.innerHTML=u,v.class["is-highlight"]=!0,g=t.h(l.tag,v)}}else if(typeof l.highlightFilter=="function"){const y=l.highlightFilter(p);y&&(v.innerHTML=y,v.class["is-highlight"]=!0,g=t.h(l.tag,v))}return g},h=p=>{n.emit("click",p)};return()=>{const p={onClick:h,class:s.value,style:i.value,ref:r};let v=null;if(he(l.numberFormat)&&typeof n.slots.default=="function"){const u=n.slots.default();if(Array.isArray(u)&&u.length===1){const f=u[0].type.toString();if(f==="Symbol(Text)"||f==="Symbol(v-txt)"){const k=me(l.digits),S=me(l.decimalLength),B=he(l.autoPadding);let T=`${u[0].children}`,$=T.split("").reverse().join("");$=mo($,S,B,k,l.separator),T=$.split("").reverse().join(""),l.highlightFilter!==void 0&&(v=m(T,p)),v||(p.innerHTML=T,v=t.h(l.tag,p))}}}else{if(l.highlightFilter!==void 0&&typeof n.slots.default=="function"){const u=n.slots.default();if(Array.isArray(u)&&u.length===1){const f=u[0].type.toString();if(f==="Symbol(Text)"||f==="Symbol(v-txt)"){const k=`${u[0].children}`;v=m(k,p),v||(p.innerHTML=k,v=t.h(l.tag,p))}}}v||(v=t.h(l.tag,p,{default:n.slots.default}))}if(!l.mark&&!l.icon&&!n.slots.mark)return v;let y=null;if(l.icon){const u={[`${e}__mark-wrap`]:!0};l.type&&(u[`${e}__mark-wrap--${l.type}`]=!0);const f={},k=l.color;k&&(f.color=k);const S={class:u,style:f};y=t.h("view",S,t.h(l.icon))}else if(n.slots.mark){const u={[`${e}__mark-wrap`]:!0};l.type&&(u[`${e}__mark-wrap--${l.type}`]=!0);const f={},k=l.color;k&&(f.color=k);const S={class:u,style:f};y=t.h("view",S,{default:n.slots.mark})}else{const u={[`${e}__mark`]:!0};l.type&&(u[`${e}__mark--${l.type??"default"}`]=!0);const f={},k=l.color;k&&(f["background-color"]=k);const S={class:u,style:f};y=t.h("view",S)}const b={class:{"fox-text__wrap":!0,"text-left":l.textPosition==="left","text-right":l.textPosition==="right"}};return t.h("view",b,[y,v])}}}}const{componentName:fp,create:mp,scope:QN}=H("text"),il=mp(dp(fp)),{componentName:pp,create:hp}=H("cell"),gp=hp({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=pp;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}}}),yp={key:0,class:"fox-cell__icon"},vp={key:1,class:"fox-cell__title"},kp={class:"title"},bp={class:"fox-cell__title-desc"};function Sp(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",vp,[e.subTitle?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.renderSlot(e.$slots,"title",{},()=>[t.createElementVNode("view",kp,t.toDisplayString(e.title),1)]),t.createElementVNode("view",bp,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 cl=Z(gp,[["render",Sp]]),{componentName:Cp,create:wp}=H("cell-group"),Np=wp({props:{title:{type:String,default:""},desc:{type:String,default:""}},setup(){return{classes:t.computed(()=>({[Cp]:!0}))}}}),Bp={key:1,class:"fox-cell-group__title"},Vp={key:3,class:"fox-cell-group__desc"},Ap={class:"fox-cell-group__wrap"};function Tp(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",Bp,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",Ap,[t.renderSlot(e.$slots,"default")])],2)}const ul=Z(Np,[["render",Tp]]),{componentName:Ep,create:$p}=H("image"),Dp=$p({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 v=Ep;return{[v]:!0,[`${v}-round`]:e.round}}),a=t.ref(null),r=t.ref(!1),s=t.ref(null),i=()=>{const v={threshold:[0],rootMargin:"0px"};a.value=new IntersectionObserver(g=>{g.forEach(y=>{y.isIntersecting&&(r.value=!0,a.value.disconnect())})},v),s.value&&a.value.observe(s.value)};t.onMounted(()=>{e.lazyLoad&&i()}),t.onBeforeUnmount(()=>{a.value&&a.value.disconnect()});const c=t.computed(()=>{let v={};return e.width&&(v.width=de(e.width)),e.height&&(v.height=de(e.height)),e.radius!==void 0&&e.radius!==null&&(v.overflow="hidden",v.borderRadius=de(e.radius)),v}),d=t.computed(()=>({objectFit:e.fit,objectPosition:e.position}));t.watch(()=>e.src,v=>{l.isError=!1,l.loading=!0});const m=()=>{l.loading=!1,o("load")},h=()=>{l.isError=!0,l.loading=!1,o("error")},p=v=>{o("click",v)};return{...t.toRefs(l),imageClick:p,classes:n,styles:d,stylebox:c,error:h,load:m,show:r,imgRef:s}}}),xp=["src","date-src","alt"],Ip={key:0,class:"fox-img-loading"},qp={key:1,class:"fox-img-error"};function zp(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,xp),e.loading?(t.openBlock(),t.createElementBlock("div",Ip,[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",qp,[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 dl=Z(Dp,[["render",zp]]),{create:Mp}=H("layout"),fl=Mp({}),{componentName:Pp,create:Rp}=H("col"),Lp=Rp({props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},setup(e){const o=Pp,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 Op(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 ml=Z(Lp,[["render",Op]]),{componentName:Fp,create:Kp}=H("row"),Up=Kp({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=Fp;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 no(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=Se(e),o=Se(o),[e,o]=Vn(Se(e),Se(o)),l==1&&(n==1?e=Uo(e):o=Uo(o));let a=rr(e,o);return l?l==2?"-"+Se(a):e.length<a.length?Se(a.substring(1)):"-"+Se(Uo(a)):Se(a)}function Uo(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 rr(o,r)}function Se(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 Vn(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 rr(e,o){[e,o]=Vn(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 ke=(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))(ke||{});function It(e,o=0,l=ke.HALF_EVEN){if(l===ke.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=It(e,0,l),(n?"-":"")+c+new Array(o+1).join("0")}}if(o==0)return r.length,ka(a[1],r,n,l)?(n?"-":"")+Ho(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&&ka(i,s,n,l)&&(s=Ho(s),s.length>o)?(n?"-":"")+Ho(r,parseInt(s[0]))+"."+s.substring(1):(n?"-":"")+r+"."+s}function ka(e,o,l,n){if(!e||e===new Array(e.length+1).join("0")||n===ke.DOWN||!l&&n===ke.FLOOR||l&&n===ke.CEILING)return!1;if(n===ke.UP||l&&n===ke.FLOOR||!l&&n===ke.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 ke.HALF_DOWN:return!1;case ke.HALF_UP:return!0;case ke.HALF_EVEN:default:return parseInt(o[o.length-1])%2==1}}function Ho(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 _o(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=wt(e),o=wt(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=wt(e.replace(".","")),o=wt(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=[],d=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 v=o.length-1;v>=d&&v>=0;v--)c[v]>-1&&c[v]<e.length&&(p+=parseInt(e[c[v]--])*parseInt(o[v]));p+=i,i=Math.floor(p/10),m=p%10+m,d--}return m=wt(ks(m,r)),l==1&&(m="-"+m),m}function ks(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 wt(e){for(;e[0]=="0";)e=e.substr(1);if(e.indexOf(".")!=-1)for(;e[e.length-1]=="0";)e=e.substr(0,e.length-1);return e==""||e=="."?e="0":e[e.length-1]=="."&&(e=e.substr(0,e.length-1)),e[0]=="."&&(e="0"+e),e}function en(e,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=Se(o.replace(".","")),a>=0){let d=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(d==-1)e=Se(e+new Array(a+1).join("0"));else if(a>d)e=e.replace(".",""),e=Se(e+new Array(a-d+1).join("0"));else if(a<d){e=e.replace(".","");let m=e.length-d+a;e=Se(e.substring(0,m)+"."+e.substring(m))}else a==d&&(e=Se(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 d=c.length-c.indexOf(".")-1;c=c.replace(".",""),s>c.length&&(d+=s-c.length,c=c+new Array(s-c.length+1).join("0")),r=d,i="0."+new Array(d).join("0")}for(l=l+2;r<=l;){let d=0;for(;parseInt(c)>=parseInt(o);)c=no(c,"-"+o),d++;i+=d,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?"-":"")+Se(It(i,l-2))}function tn(e,o){return e=e.toString(),o=o.toString(),o=on(o),no(e,o)}function on(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function ba(e,o){if(o==0)throw new Error("Cannot divide by 0");e=e.toString(),o=o.toString(),Sa(e),Sa(o);let l="";e[0]=="-"&&(l="-",e=e.substr(1)),o[0]=="-"&&(o=o.substr(1));let n=tn(e,_o(o,It(en(e,o),0,ke.FLOOR)));return l+n}function Sa(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Ca(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]=Vn(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 ae{value;static RoundingModes=ke;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=Se(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+Se(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=ae.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=ae.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 ae.getPrettyValue(this.value,o,l)}static round(o,l=0,n=ke.HALF_EVEN){if(o=ae.validate(o),isNaN(l))throw Error("Precision is not a number: "+l);return It(o,l,n)}round(o=0,l=ke.HALF_EVEN){if(isNaN(o))throw Error("Precision is not a number: "+o);return new ae(It(this.value,o,l))}static floor(o){return o=ae.validate(o),o.indexOf(".")===-1?o:ae.round(o,0,ke.FLOOR)}floor(){return this.value.indexOf(".")===-1?new ae(this.value):new ae(this.value).round(0,ke.FLOOR)}static ceil(o){return o=ae.validate(o),o.indexOf(".")===-1?o:ae.round(o,0,ke.CEILING)}ceil(){return this.value.indexOf(".")===-1?new ae(this.value):new ae(this.value).round(0,ke.CEILING)}static add(o,l){return o=ae.validate(o),l=ae.validate(l),no(o,l)}add(o){return new ae(no(this.value,o.getValue()))}static subtract(o,l){return o=ae.validate(o),l=ae.validate(l),tn(o,l)}subtract(o){return new ae(tn(this.value,o.getValue()))}static multiply(o,l){return o=ae.validate(o),l=ae.validate(l),_o(o,l)}multiply(o){return new ae(_o(this.value,o.getValue()))}static divide(o,l,n){return o=ae.validate(o),l=ae.validate(l),en(o,l,n)}divide(o,l){return new ae(en(this.value,o.getValue(),l))}static modulus(o,l){return o=ae.validate(o),l=ae.validate(l),ba(o,l)}modulus(o){return new ae(ba(this.value,o.getValue()))}static compareTo(o,l){return o=ae.validate(o),l=ae.validate(l),Ca(o,l)}compareTo(o){return Ca(this.value,o.getValue())}static negate(o){return o=ae.validate(o),on(o)}negate(){return new ae(on(this.value))}}function sr(e,o){return ae.multiply(`${e}`,`${o}`)}function An(e,o,l=8){return ae.divide(`${e}`,`${o}`,l)}function nn(e,o){return e=`${e}`,o=`${o}`,ae.compareTo(e,o)}function ir(e){return ae.negate(e)}function mo(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="",d=r.indexOf(".");d!=-1&&(i=r.substring(0,d),c=r.substring(d+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 v=0;v<p.length;v++)h+=p[v]+((v+1)%n==0&&v+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 cr(e){let o=`${e}`,l=o.charAt(0);l=="-"?o=o.substring(1):l="";let n=o.replace(/[^\d\.-]/g,"");return`${l}${n}`}const Qe=typeof window<"u",je=We;function ur(e){return e==null}const po=Array.isArray,bs=e=>ho(e)==="[object Map]",Ss=e=>ho(e)==="[object Set]",Oe=e=>e instanceof Date,lo=e=>typeof e=="function",dr=e=>typeof e=="string",Cs=e=>typeof e=="symbol",$e=e=>e!==null&&typeof e=="object",Tn=e=>$e(e)&&lo(e.then)&&lo(e.catch),fr=Object.prototype.toString,ho=e=>fr.call(e),ln=e=>ho(e)==="[object Object]",mr=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function ws(e){return e.__esModule||mr&&e[Symbol.toStringTag]==="Module"}const Ns=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function tt(...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 d;Array.isArray(c)?d=i&&Array.isArray(i)?i:[]:d=i&&typeof i=="object"?i:{},o[s]=tt(a,d,c)}else c!==void 0&&(o[s]=c)}}return o}function an(e,o,l=!1){if(!l)tt(!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)&&!ln(s))continue;r=an(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)&&!ln(s))continue;r=an(r,s,l),e[a]=r}else{if(typeof s=="function")continue;e[a]=s}}}return e}const jo=Ns?Promise.resolve():null;function Bs(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 he(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 Vs={"[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 ot(e){let l=Object.prototype.toString.call(e);return e==null?String(e):Vs[l]||"object"}function go(e){if(!e)return!0;const{display:o}=window.getComputedStyle(e);return o==="none"}function pr(e){return e&&typeof e=="object"&&"setInterval"in e}function hr(e){let o=!!e&&"length"in e&&e.length,l=ot(e);return l==="function"||pr(e)?!1:l==="array"||o===0||typeof o=="number"&&o>0&&o-1 in e}function gr(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 As(e,o=[]){let l=o;return e!=null&&(hr(Object(e))?gr(l,typeof e=="string"?[e]:e):l.push(e)),l}function Ie(e,o){if(e==o)return!0;if(e===void 0||o===void 0)return!1;let l=ot(e),n=ot(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],d=o[i];if(!Ie(c,d))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(!Ie(r,s))return!1}return!0}return!1}function yr(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ie=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function vr(e){return ie(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ie(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function kr(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 br(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 wa(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 rn(e,o=!0,l=!0){o?e=wa(e,".",/\./g):e=e.replace(/\./g,""),l?e=wa(e,"-",/-/g):e=e.replace(/-/,"");const n=o?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(n,"")}function Ts(e,o){return typeof e=="object"||Array.isArray(e)?o.findIndex(l=>{if(Ie(e,l))return!0}):o.indexOf(e)}function Es(e,o){if(typeof e=="object"||Array.isArray(e)){let l=o.reverse().findIndex(n=>{if(Ie(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 ye(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 Sr=(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 sn(e,o){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),o&&e.stopPropagation()}const Ze=(e,o=2)=>{for(e+="";e.length<o;)e="0"+e;return e.toString()},Re=(e,o,l)=>Math.min(Math.max(e,o),l),$n=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,be=Symbol.for("BroadcastKey");class Dn{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="*"):yr(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 yo(e,o,l,n){const a=new Dn(o,e,l);if(n&&typeof n=="object")for(const r in n)a.on(r,n[r]);return a}function $s(e,o,l){const n=l;if(n[be])return n[be];const a=t.inject(be,null),r=new Dn(a,l,e);if(o&&typeof o=="object")for(const s in o)r.on(s,o[s]);return n[be]=r,t.provide(be,r),t.onUnmounted(()=>{r.destroy(),n[be]=void 0}),r}function Et(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[be]??t.inject(be,null):t.inject(be,null)}const _e=e=>e.default??e;class Ds{error(o,l){const n=l,a=Et(l);a?a.emit({name:"*",maxLevel:1},"setErrorTip",o):typeof n.setErrorTip=="function"&&n.setErrorTip(o)}reset(o){const l=o,n=Et(o);n?n.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof l.setErrorTip=="function"&&l.setErrorTip("")}success(o){const l=o,n=Et(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=Et(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 Cr=new Ds;function xs(e){Cr=e}function Is(e,o){_e(Je).setValidator(e,o)}function qs(e){_e(Je).deleteValidator(e)}let wr=["blur","clear"];function zs(e){wr=e}function Nr(){return wr}let Br=["focus","change"];function Ms(e){Br=e}function Vr(){return Br}function Ps(e){_e(Je).messages(e)}function Nt(...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 Xt(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 Le=Symbol("ValidateSchemaKey");class Ar{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=Xt(Nt(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=Xt(n);const a=Nt(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=Cr;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?_e(Je).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?_e(Je).deleteValidator(o):Reflect.deleteProperty(this.validators,o)}hasValidator(o,l=!1){if(l)return _e(Je).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=Nt(this.attrRules,this.rules);o===null?this.rules=[]:Array.isArray(o)?this.rules=Xt(o):this.rules=Xt([o]);const n=Nt(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=Nt(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=_e(Je),c=new i(a),d=this.proxy??s;return c.validate(s,{context:d}).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=d),this.error(p)}return h}).catch(h=>{const p=h.message??`${h}`;return this.error(p),h})}}return Promise.resolve({pass:!0})}}function vo(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 Ar(o,l,e)}const Na=Symbol("EventEmitterKey");class Rs{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 pt(e,o){let l=null;return function(...n){l&&clearTimeout(l),l=setTimeout(()=>{l=null,Reflect.apply(e,null,[...n])},o)}}function ao(e,o){let l=0;return function(...n){const a=new Date().getTime();a-l<o||(l=a,Reflect.apply(e,null,[...n]))}}function Ls(e,o){const l=pt((n,a)=>{e=n,a()},o);return t.customRef((n,a)=>({get(){return n(),e},set(r){l(r,a)}}))}function Os(e){let o=!1;return function(...l){o||(o=!0,Reflect.apply(e,null,[...l]))}}function xn(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"),ct=Symbol("DataItemsKey");class ko{_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 Fs=new ko;function ft(){return Fs}function Fe(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Ee]??t.inject(Ee,null):t.inject(Ee,null)}const Wo=Symbol("OriginalDateKey");function In(e,o,l=[],n){const a=t.getCurrentInstance(),r=a?.proxy;let s=t.inject(Ee,null);s===null&&(s=ft());const i=e||o.prop||o.name,c=new ko(i);c.parent=s;const d=y=>{r[Wo]||p(y),c.set("modelValue",y)},m=()=>c.getForSelf("modelValue")??null,h=()=>r[Wo]??null,p=y=>{const b={};tt(!0,b,t.toRaw(y)),r[Wo]=b};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[Ee]=c,t.provide(Ee,c);let v=null,g=null;if(a!==null){const y=t.inject(be,null);v=yo(r,y,i,n),c.broadcast=v,r[be]=v,t.provide(be,v),r.broadcast=(u,f,...k)=>Reflect.apply(v.emit,v,[u,f,...k]);const b=t.inject(Le,null);g=vo(r,b,{componentName:""}),c.validateSchema=g,r[Le]=g,t.provide(Le,g),r[ct]=new Map,r.validate=(u=!0)=>{const f=[];let k=null;const S={deep:!1};if(u===!0)k={name:"*"};else if(Array.isArray(u)&&u.length>0){const B=u;k={name:T=>T?B.indexOf(T)!==-1:!1}}else if(u!=null&&typeof u=="object"){const B=u;if(S.ignoreHidden=B.ignoreHidden,Array.isArray(B.include)&&B.include.length>0){const T=B.include;k={name:$=>$?T.indexOf($)!==-1:!1}}else if(Array.isArray(B.exclude)&&B.exclude.length>0){const T=B.exclude;k={name:$=>$?T.indexOf($)===-1:!1}}else k={name:"*"}}if(k){const B=v?.emitToChildren(k,"validate",S);B&&Reflect.apply([].push,f,B)}return f.length==1?f[0]:f.length>1?Promise.all(f).then(B=>{let T=[];return B.forEach($=>{$.pass===!1&&Array.isArray($.errors)&&(T=[...T,...$.errors])}),T.length>0?{pass:!1,errors:T}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(u,f=!0,k=!1)=>{if(k===!0){Reflect.ownKeys(u).forEach(B=>{let T=String(B);const E=$r(c,T,{componentName:"",fieldName:T,pureDataValidate:!0},v,g);r[ct].set(T,E);const x=u[T];x&&E.validateSchema.setRule(x)});return}if(f){const S=Reflect.ownKeys(u),B={name:T=>S.includes(T)};v?.emitToChildren(B,"setNameValidateRules",u,!1)}},r.clearValidate=(u=!0)=>{let f=null;if(u===!0)f={name:"*"};else if(Array.isArray(u)&&u.length>0){const k=u;f={name:S=>S?k.indexOf(S)!==-1:!1}}else if(u!=null&&typeof u=="object"){const k=u;if(Array.isArray(k.include)&&k.include.length>0){const S=k.include;f={name:B=>B?S.indexOf(B)!==-1:!1}}else if(Array.isArray(k.exclude)&&k.exclude.length>0){const S=k.exclude;f={name:B=>B?S.indexOf(B)===-1:!1}}else f={name:"*"}}f&&v?.emitToChildren(f,"clearValidate",!1)},r.resetFields=u=>{const f=m();if(!f)return;const k={};if(tt(!0,k,h()??{}),Array.isArray(u))u.forEach(S=>{f[S]=k[S]});else if(u&&Array.isArray(u.include))(u.include??[]).forEach(B=>{f[B]=k[B]});else if(u&&Array.isArray(u.exclude)){let S=u.exclude??[];Reflect.ownKeys(k).forEach(B=>{S.includes(B)||(f[B]=k[B])})}else Object.assign(f,k);r.clearValidate(u)},r.setModelValue=(u,f)=>{!f||f===i?d(u):v?.emitToChildren({name:f},"setModelValue",u)},r.getModelValue=()=>m()}return t.onUnmounted(()=>{c.destroy(),r[Ee]=void 0,r[ct]&&(r[ct].clear(),r[ct]=void 0),v!==null&&(v.destroy(),r[be]=void 0),g!==null&&(g.destroy(),r[Le]=void 0)}),c}function Tr(e,o,l=[]){const a=t.getCurrentInstance()?.proxy;let r=t.inject(Ee,null);r===null&&(r=ft());const s=e||o.prop||o.name,i=new ko(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 Er(e,o,l){const a=Fe(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(be,null),i=yo(a,s,r,l);a[be]=i,t.provide(be,i),a.broadcast=(g,y,...b)=>Reflect.apply(i.emit,i,[g,y,...b]);const c=t.inject(Le,null);e.fieldName=e.fieldName??r;const d=vo(a,c,e);a[Le]=d,t.provide(Le,d),Er(a,d,r),a.validate=(g=null)=>{const y=[];let b=!1,u=!1;if(Array.isArray(g)&&g.indexOf(r)!==-1)u=!0,b=!0;else if(g&&typeof g=="object"){const f=g;f.ignoreHidden===!0&&go(a.$el)?u=!1:(Array.isArray(f.include)&&f.include.indexOf(r)!==-1||Array.isArray(f.exclude)&&f.exclude.indexOf(r),u=!0),b=f.deep??!1}else typeof g=="boolean"&&(b=g),u=!0;if(u){const f=d?.validate();y.push(f)}if(b){let f=null;const k={deep:!1};if(g===!0)f={name:"*"};else if(Array.isArray(g)&&g.length>0){const S=g;f={name:B=>B?S.indexOf(B)!==-1:!1}}else if(g!=null&&typeof g=="object"){const S=g;if(k.ignoreHidden=S.ignoreHidden,Array.isArray(S.include)&&S.include.length>0){const B=S.include;f={name:T=>T?B.indexOf(T)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const B=S.exclude;f={name:T=>T?B.indexOf(T)===-1:!1}}else f={name:"*"}}if(f){const S=i.emitToChildren(f,"validate",k);Reflect.apply([].push,y,S)}}return y.length==1?y[0]:y.length>1?Promise.all(y).then(f=>{let k=[];return f.forEach(S=>{S.pass===!1&&Array.isArray(S.errors)&&(k=[...k,...S.errors])}),k.length>0?{pass:!1,errors:k}:{pass:!0}}):Promise.resolve({pass:!0})},a.setValidateRule=g=>d?.setRule(g),a.setNameValidateRules=(g,y=!1)=>{const b=g[r];if(b&&d?.setRule(b),y){const u={name:f=>Reflect.ownKeys(g).includes(f)};i.emitToChildren(u,"setNameValidateRules",g,!1)}},a.clearValidate=(g=null)=>{(!Array.isArray(g)||g.indexOf(o??"")!==-1)&&d?.clear();let y=null;if(g===!0)y={name:"*"};else if(Array.isArray(g)&&g.length>0){const b=g;y={name:u=>u?b.indexOf(u)!==-1:!1}}else if(g!=null&&typeof g=="object"){const b=g;if(Array.isArray(b.include)&&b.include.length>0){const u=b.include;y={name:f=>f?u.indexOf(f)!==-1:!1}}else if(Array.isArray(b.exclude)&&b.exclude.length>0){const u=b.exclude;y={name:f=>f?u.indexOf(f)===-1:!1}}else y={name:"*"}}y&&i.emitToChildren(y,"clearValidate",!1)};const m=new Rs(a);a[Na]=m;const h=pt((g="validate")=>{g==="reset"?d.clear():d.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Nr()).forEach(g=>{m.on(g,y=>{h("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Vr()).forEach(g=>{m.on(g,y=>{h("reset")})}),t.onUnmounted(()=>{i.destroy(),a[be]=void 0,d.destroy(),a[Le]=void 0,m.destroy(),a[Na]=void 0}),{broadcast:i,validateSchema:d,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 $r(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=vo({},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,v=!1;if(Array.isArray(m)&&m.indexOf(s)!==-1)v=!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),v=!0,p=g.deep??!1}else typeof m=="boolean"&&(p=m),v=!0;if(v){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 b=m;g={name:u=>u?b.indexOf(u)!==-1:!1}}else if(m!=null&&typeof m=="object"){const b=m;if(Array.isArray(b.include)&&b.include.length>0){const u=b.include;g={name:f=>f?u.indexOf(f)!==-1:!1}}else if(Array.isArray(b.exclude)&&b.exclude.length>0){const u=b.exclude;g={name:f=>f?u.indexOf(f)===-1:!1}}else g={name:"*"}}if(g){const b=d.emitToChildren(g,"validate",y);Reflect.apply([].push,h,b)}}return h.length==1?h[0]:h.length>1?Promise.all(h).then(g=>{let y=[];return g.forEach(b=>{b.pass===!1&&Array.isArray(b.errors)&&(y=[...y,...b.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 d=yo(null,n,s,r);return{broadcast:d,validateSchema:c}}const de=e=>e?`${se(e)}px`:"";function se(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(Qe){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 Ye="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=se(e.top)),e.left!==null&&e.left!==void 0&&(o.left=se(e.left)),e.bottom!==null&&e.bottom!==void 0&&(o.bottom=se(e.bottom)),e.right!==null&&e.right!==void 0&&(o.right=se(e.right))),o}function cn(e,o,l={},n=!0,a=-1,r=-1,s=0,i=0){if(e.headerHeight=se(l.headerHeight??o.headerHeight??-1),e.headerPadding=Me(l.headerPadding??o.headerPadding),e.footerHeight=se(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=se(c,r):e.height=se(r)-se(s,r)-se(i,r),e.width=se(l.width??o.width??0,a)}}function Dr(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=se(a.top),n.safeAreaBottom=se(a.bottom),n.safeAreaLeft=se(a.left),n.safeAreaRight=se(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,d=e.get("footerBarHeight")??0;cn(n,r,o,!0,s,i,c,d);const m=t.reactive(n),h=e.getForParent(Ye);h&&(n.height=ro(e,h),n.width=so(e,h),t.watch([()=>ro(e,h),()=>so(e,h)],([v,g])=>{m.height=v,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")],([v,g,y=-1,b=-1,u=0,f=0])=>{cn(m,g,o,p,y,b,u,f)}),e.set(Ye,m),m}function bo(e){return e.get(Ye)}function So(e,o){if(o=o??e.get(Ye),o&&o.headerMounted){const l=o.safeAreaTop==-1?0:o.safeAreaTop;return o.headerAllHeight??o.headerHeight+l}return 0}function Co(e,o){if(o=o??e.get(Ye),o&&o.footerMounted){const l=o.safeAreaBottom==-1?0:o.safeAreaBottom;return o.footerAllHeight??o.footerHeight+l}return 0}function ro(e,o){if(o=o??e.get(Ye),o){if(o.contentInnerHeight)return o.contentInnerHeight;const l=So(e,o),n=Co(e,o);return o.height-l-n-(o.contentPadding.top??0)-(o.contentPadding.bottom??0)}return 0}function so(e,o){return o=o??e.get(Ye),o?o.contentInnerWidth??o.width-(o.contentPadding.left??0)-(o.contentPadding.right??0):0}function Ks(e,o){const l=e.get("isInnerPage");return typeof l=="function"?Reflect.apply(l,{},[o,e]):!1}function Us(e){return!!e.getForParent(Ye)}var io=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(io||{});function Yo(e,o){return e==null?!1:typeof o=="function"?o(e):!0}function we(e,o,l=1,n){const a=Fe();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(Yo(c,n))return c}const s=e.value;return Yo(s,n)?s:null}):t.computed(()=>{const r=e.value;return Yo(r,n)?r:a?.get(o)})}function Te(e){return we(e,"readonly",0,function(l){return he(l)})}function Ne(e){return we(e,"disabled",0,function(l){return he(l)})}function De(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 xr=new Map,co=new Map;let un=null;function Hs(e){un=e}function Ir(e,o,l){if(l){let n=co.get(l);n||(n=new Map,co.set(l,n)),n.set(e,o)}else xr.set(e,o)}function St(e,o,l){!l&&un&&(l=un(e)??void 0);let n=null;if(l){let a=co.get(l);a&&(n=a.get(o))}return n||(n=xr.get(o)),n}function js(e,o){for(let l in e){const n=e[l];Ir(l,n,o)}}function Ws(e){co.delete(e)}function Ys(){return{top:0,left:0,bottom:0,right:0}}function Xs(e=0,o=0){if(Qe){const l=document.documentElement.clientWidth||document.body.clientWidth,n=document.documentElement.clientHeight||document.body.clientHeight,a={width:l,height:n-se(e,n)-se(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 Qs{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=ft();if(this.initPageLayout(l,a),l.autoAdjustPageLayout!==!1&&window.ResizeObserver){const r=ao(()=>{const i={...l},c=document.documentElement.clientWidth||document.body.clientWidth,d=document.documentElement.clientHeight||document.body.clientHeight;i.width=c,i.height=d,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=tt({},Ys(),o.safeAreaInset),s=Xs(n,a),i=tt({},s.pageLayout,o.pageLayout);l=l??ft(),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){Hs(o)}setAPI(o,l,n){Ir(o,l,n)}getAPI(o,l,n){return St(o,l,n)}batchSetAPI(o,l){js(o,l)}clearScopeAPI(o){Ws(o)}getRootDomain(){return ft()}}function H(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 Gs=(e,o)=>{let l=document.body;const n=e.teleport||"body";n!="body"&&(dr(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={};lo(o.wrapper)?i=o.wrapper(l,a):i=o.wrapper;const c=t.createApp(i,e),d=o.components;return d&&d.forEach(m=>{c.use(m)}),l.appendChild(a),{instance:c.mount(a),unmount:()=>{c.unmount(),l.removeChild(a)}}},qr=(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}},zr={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}},Mr={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}},Pr=[];for(const e in Mr)Pr.push(e);function Ae(e,o=null){if(o||(o=t.getCurrentInstance()),o&&o.proxy){let l=o.proxy;Object.assign(l,e)}}const Zs=Symbol.for("InnerPageScopeKey"),Js=(e,o)=>({inheritAttrs:!0,props:{...ue,...zr,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=In(l.name,l);if(a){const d=Dr(a,l);Ae({getPageContentHeight:()=>ro(a,d),getPageContentWidth:()=>so(a,d),getPageHeaderHeight:()=>So(a,d),getPageFooterHeight:()=>Co(a,d)});const m=t.inject(Zs,!1);d&&m&&(d.contentHeight="100%")}const r=t.computed(()=>({[e]:!0})),s=t.computed(()=>({})),i=t.getCurrentInstance(),c=(d,m=!1)=>{const h=i?.proxy;h&&typeof h.setNameValidateRules=="function"&&h.setNameValidateRules(d,!0,m)};return t.watch([()=>l.rules,()=>l.pureDataRules],([d,m],[h,p])=>{if(d&&h){const v=t.toRaw(h),g=t.toRaw(d),y=g?Reflect.ownKeys(g):[];(v?Reflect.ownKeys(v):[]).forEach(u=>{y.includes(u)||(g[u]=[])}),c(g)}if(m&&p){const v=t.toRaw(p),g=t.toRaw(m),y=g?Reflect.ownKeys(g):[];(v?Reflect.ownKeys(v):[]).forEach(u=>{y.includes(u)||(g[u]=[])}),c(g,!0)}},{deep:!0}),t.onMounted(()=>{if(l.rules){const d=t.toRaw(l.rules);c(d)}if(l.pureDataRules){const d=t.toRaw(l.pureDataRules);c(d,!0)}}),{classes:r,styles:s}}}),{componentName:_s,create:ei,scope:qN}=H("page"),ti=ei(Js(_s));function oi(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},qn=Z(ti,[["render",oi]]);function wo(e){const o=t.unref(e);return{width:o.offsetWidth,height:o.offsetHeight}}function zn(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 ni=(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=Fe(),i=s?bo(s):null;i&&(i.headerMounted=!0);const c=e,d=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?se(a.height):null,p=t.computed(()=>{const C={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(s&&i){const w=Me(a.padding??i.headerPadding);return Object.assign(C,w),h&&(i.headerHeight=h),i.headerHeight>0&&(C.height=i.headerHeight),C.safeAreaTop=i.safeAreaTop===-1?0:i.safeAreaTop,C.safeAreaTop>0&&(C.top=C.safeAreaTop+(w.top??0),C.height&&C.height>0&&(C.height=C.height+C.safeAreaTop)),C}if(h&&(C.height=h),a.padding){const w=Me(a.padding);Object.assign(C,w)}return C}),v=t.ref(null),g=()=>{if(i&&v.value&&!go(v.value)){if(!n){const C=wo(v.value);i.headerAllHeight=C.height}return i.headerMounted=!0,!0}return!1};let y=null;t.onMounted(()=>{i&&(xn(g,50,5,50,!0),window.ResizeObserver&&v.value&&(y=new window.ResizeObserver(()=>{g()}),y.observe(v.value)))}),t.onUnmounted(()=>{i&&(i.headerMounted=!1,y&&(y.disconnect(),y=null))});const b=t.computed(()=>{const C={};return p.value.height!==null&&p.value.height!==void 0&&(C.height=`${p.value.height}px`),p.value.top!==null&&p.value.top!==void 0&&(C.paddingTop=`${p.value.top}px`),p.value.left!==null&&p.value.left!==void 0&&(C.paddingLeft=`${p.value.left}px`),p.value.right!==null&&p.value.right!==void 0&&(C.paddingRight=`${p.value.right}px`),p.value.bottom!==null&&p.value.bottom!==void 0&&(C.paddingBottom=`${p.value.bottom}px`),C}),u=t.computed(()=>!(p.value.height!==null&&p.value.height!==void 0&&p.value.height<=0));function f(){r.emit("back")}function k(){r.emit("click-title")}function S(){r.emit("click-right")}function B(){r.emit("click-right-text")}const T=()=>{if(!a.leftShow)return null;const C=[];if(r.slots.left)C.push(r.slots.left());else{if(r.slots.leftIcon){const w=t.h("view",{class:"left-icon",onClick:f},[r.slots.leftIcon()]);C.push(w)}else if(a.leftIcon){const w=t.h("view",{class:"left-icon",onClick:f},[t.h(a.leftIcon)]);C.push(w)}if(a.leftText){const w=t.h("view",{class:"left-text",onClick:f},[a.leftText]);C.push(w)}}return C.length===0?null:t.h("view",{class:"fox-header-bar__left"},C)},$=()=>{if(!a.rightShow)return null;const C=[];if(r.slots.right)C.push(r.slots.right());else{if(a.rightText){const w=t.h("view",{class:"right-text",onClick:B},[a.rightText]);C.push(w)}if(r.slots.rightIcon){const w=t.h("view",{class:"right-icon",onClick:S},[r.slots.rightIcon()]);C.push(w)}else if(a.rightIcon){const w=t.h("view",{class:"right-icon",onClick:S},[t.h(a.rightIcon)]);C.push(w)}}return C.length===0?null:t.h("view",{class:"fox-header-bar__right"},C)},E=()=>{if(!a.titleShow)return null;const C=[],w=r.slots.default?r.slots.default():null;if(w)C.push(w);else{if(a.title){const z=t.h("view",{class:"title-text"},[a.title]);C.push(z)}if(r.slots.titleIcon){const z=t.h("view",{class:"title-icon",onClick:k},[r.slots.titleIcon()]);C.push(z)}else if(a.titleIcon){const z=t.h("view",{class:"title-icon",onClick:k},[t.h(a.titleIcon)]);C.push(z)}}return C.length===0?null:t.h("view",{class:"fox-header-bar__title"},C)},x=()=>{const C=[],w=r.slots.bottom?r.slots.bottom():null;return w&&C.push(w),C.length===0?null:t.h("view",{class:"fox-header-bar__bottom"},C)};return()=>{if(!u.value)return null;const C=[];if(r.slots.all)C.push(r.slots.all());else{const z=[],P=T();P&&z.push(P);const A=E();A&&z.push(A);const V=$();if(V&&z.push(V),z.length>0){const N=t.h("view",{class:m.value},z);C.push(N)}const D=x();D&&C.push(D)}if(C.length===0)return null;const w={class:d.value,style:b.value,ref:v};return t.h("view",w,C)}}}),{componentName:li,create:ai,scope:ri}=H("header-bar"),Mn=ai(ni(li,ri,ee.Left,!1));function si(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=Fe(),s=r?bo(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?se(n.height):null,d=t.computed(()=>{const g={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&s){const y=Me(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=Me(n.padding);Object.assign(g,y)}return g}),m=t.ref(null),h=()=>{if(s&&m.value&&!go(m.value)){if(!l){const g=wo(m.value);s.footerAllHeight=g.height}return s.footerMounted=!0,!0}return!1};let p=null;t.onMounted(()=>{s&&(xn(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 v=t.computed(()=>{const g={};return d.value.height!==null&&d.value.height!==void 0&&(g.height=de(d.value.height)),d.value.top!==null&&d.value.top!==void 0&&(g.paddingTop=de(d.value.top)),d.value.left!==null&&d.value.left!==void 0&&(g.paddingLeft=de(d.value.left)),d.value.right!==null&&d.value.right!==void 0&&(g.paddingRight=de(d.value.right)),d.value.bottom!==null&&d.value.bottom!==void 0&&(g.paddingBottom=de(d.value.bottom)),g});return()=>{const g=a.slots.default?a.slots.default():[],y={ref:m,class:i.value,style:v.value};return t.h("view",y,g)}}}}const{componentName:ii,create:ci,scope:ui}=H("footer-bar"),Pn=ci(si(ii,ui,!1));function di(e,o){return{props:{padding:{type:[Object],required:!1}},setup(l){const n=Fe(),a=t.computed(()=>({[e]:!0})),r=n?bo(n):null,s=t.computed(()=>{const d={};if(n&&r){if(l.padding){const u=Me(l.padding);Object.assign(r.contentPadding,u)}const m=So(n,r),h=Co(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),d.height=p;let v=(r&&r.contentPadding&&r.contentPadding.top)??-1;(v>=0||m>0)&&(v=v<0?0:v,d.paddingTop=`${m+v}px`);let g=(r&&r.contentPadding&&r.contentPadding.bottom)??-1;(g>=0||h>0)&&(g=g<0?0:g,d.paddingBottom=`${h+g}px`);const y=(r&&r.contentPadding&&r.contentPadding.left)??-1;y>=0&&(d.paddingLeft=`${y}px`);const b=(r&&r.contentPadding&&r.contentPadding.right)??-1;return b>=0&&(d.paddingRight=`${b}px`),d}if(l.padding){const m=Me(l.padding);m.left&&(d.paddingLeft=`${m.left}px`),m.top&&(d.paddingTop=`${m.top}px`),m.right&&(d.paddingRight=`${m.right}px`),m.bottom&&(d.paddingBottom=`${m.bottom}px`)}return d}),i=t.ref(null),c=pt(()=>{if(r&&i.value){const d=zn(i.value);r.contentInnerHeight=d.height,r.contentInnerWidth=d.width}},0);return t.onMounted(()=>{c()}),n&&r&&t.watch([()=>s.value,()=>a.value],([])=>{c()}),{contentRef:i,classes:a,styles:s}}}}const{componentName:fi,create:mi,scope:zN}=H("content"),pi=mi(di(fi));function hi(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 Rn=Z(pi,[["render",hi]]),ht="GroupStateKey",Rr=Symbol.for("GroupScopeKey");function No(){return t.inject(Rr,!1)}function Bo(e=!0){t.provide(Rr,e)}function gi(e,o={}){Reflect.ownKeys(o).forEach(n=>{if(typeof n!="string")return;const a=o[n];ur(a)||(e[n]=a)})}function yi(e,o={}){const n={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};gi(n,o);const a=t.shallowRef(n),r=t.markRaw({layout:a,passport:0,order:{index:0}});return e.set(ht,r),r}function Xo(e,o,l=-1,n=-1,a=!1,r,s,i){const c=e.get(ht);if(!c)return;const d=e.get("groupLayout")??{};l===-1&&(l=d.column??1),n===-1&&(n=d.gutter??0),r||(r=d.minItemWidth??-1),s||(s=d.maxItemWidth??-1);const m=se(r),h=se(s);i||(i=d.type??"grid");const p=()=>{const v=o===""||o===-1,g=se(o);let y=me(l);const b=se(n);if(!v){let k=(g-(y-1)*b)/y;for(;h!==-1&&k>h;)y++,k=(g-(y-1)*b)/y;for(;m!==-1&&y>1&&k<m;)y--,k=(g-(y-1)*b)/y}let u=!1;const f=c.layout;f.value.width=o,f.value.column!==y&&(f.value.column=y,u=!0),f.value.gutter!==b&&(f.value.gutter=b,u=!0),f.value.type!==i&&(f.value.type=i,u=!0),u&&t.triggerRef(f)};if(a)p();else{const v=++c.passport;setTimeout(()=>{v===c.passport&&p()},50)}}function Vo(e,o=!1){let l;return o?l=e.getForParent(ht):l=e.get(ht),l.layout}function Ao(e,o=!1){let l;return o?l=e.getForParent(ht):l=e.get(ht),l.order}function Ba(e,o=1){if(o==="stretch")return-1;const l=me(o);return l===-1?100:100*l/e}function To(e,o,l=1,n=0,a){const r={};let s=0;a?s=se(a):s=Ba(o.column,l),s>0&&(r.width=`${s}%`);const i=Ba(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 Eo(e,o,l=1,n=0){if(l==="stretch"){const c=e.index%o.column,d=c+(o.column-c);return e.index=e.index+(d-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 Lr=Symbol("RollingStateKey");function vi(e){t.provide(Lr,e)}function ki(){return t.inject(Lr,null)}function dn(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 bi(e){let o=dn(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=dn(l),document.body.removeChild(l)}return o}function Si(e,o,l){if(e<=0)return"1fr";const n=(e-(o-1)*l)/o;return n>0?`${n}px`:"1fr"}const Ci={...ue,...zr,...Mr};function wi(e,o,l){return{props:Ci,emits:["update:collapse"],setup(n,a){const r=In(n.name,n,Pr),s=yi(r,{type:n.type}),i=No();Bo(!0);const c=n.rollingDisplay?ki():null,d=t.ref(null),m=t.computed(()=>n.rollingDisplay?c&&!c.disabled:!1),h=t.computed(()=>i&&r?Vo(r,!0).value:null),p=t.getCurrentInstance(),v=(j,X=!1)=>{const J=p?.proxy;J&&typeof J.setNameValidateRules=="function"&&J.setNameValidateRules(j,!0,X)};t.watch([()=>n.rules,()=>n.pureDataRules],([j,X],[J,te])=>{if(j&&J){const oe=t.toRaw(J),le=t.toRaw(j),pe=le?Reflect.ownKeys(le):[];(oe?Reflect.ownKeys(oe):[]).forEach(qe=>{pe.includes(qe)||(le[qe]=[])}),v(le)}if(X&&te){const oe=t.toRaw(te),le=t.toRaw(X),pe=le?Reflect.ownKeys(le):[];(oe?Reflect.ownKeys(oe):[]).forEach(qe=>{pe.includes(qe)||(le[qe]=[])}),v(le,!0)}},{deep:!0});const g=e,y=t.computed(()=>{const j={};if(j.height=D.value,n.width)n.width!=="auto"&&(j.width=de(n.width));else{const X=i?Ao(r,!0):null;if(h.value&&X){if(h.value.type==="grid"){const J=Eo(X,h.value,n.span,n.offset);Object.assign(j,J)}else if(h.value.type==="flow"){const J=To(X,h.value,n.span,n.offset,n.width);Object.assign(j,J)}}}return j}),b=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}}),u=t.computed(()=>{if(s.layout.value.type==="grid"){let X="";if(n.columnWidth)X=`repeat(auto-fill, ${n.columnWidth})`;else{const J=Si(x.value,s.layout.value.column,s.layout.value.gutter);X=`repeat(${s.layout.value.column}, ${J})`}return{"column-gap":`${s.layout.value.gutter}px`,"grid-template-columns":X}}}),f=t.toRef(n,"title"),k=t.toRef(n,"gutter"),S=t.toRef(n,"column"),B=t.computed(()=>i||m.value?!0:he(n.isWrap)),T=[],$=j=>{T.push(j)},E=()=>{let j=T.length;T.splice(0,j)},x=t.ref(-1),C=j=>{const X=zn(j).width;X>0&&X!==x.value&&(x.value=X)};Xo(r,x.value,S.value,k.value,!0,n.minItemWidth,n.maxItemWidth,n.type),n.autoLayout&&t.watch([x,S,k],([j,X,J])=>{s.order.index=0,Xo(r,j,X,J,!1,n.minItemWidth,n.maxItemWidth,n.type)});const w=t.computed(()=>N.value?n.expandText??"":n.collapseText??""),z=t.computed(()=>({[`${e}__header-collapse-text`]:!0})),P=t.computed(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!N.value,"is-collapse":N.value})),A=t.ref(),V=t.ref(),D=t.computed(()=>R.value||de(n.height)||""),N=t.ref(!1),R=t.ref(""),M=t.ref(!1);let I=-1;const L=(j,X=!0)=>{const J=A.value;if(J&&N.value!==j){if(I=I===-1?bi(J):I,M.value=!0,X)if(J.style["will-change"]="height",J.ontransitionend=function(){J.ontransitionend=null,this.style["will-change"]="auto",j||(R.value="",M.value=!1)},j){let te=0;n.collapseHeight?te=n.collapseHeight:V.value&&V.value.classList.contains(`${e}__header`)&&(te=V.value.offsetHeight),R.value=`${I}px`,t.nextTick(()=>{R.value=`${te}px`})}else R.value=`${I}px`;else if(j){let te=0;n.collapseHeight?te=n.collapseHeight:V.value&&V.value.classList.contains(`${e}__header`)&&(te=V.value.offsetHeight),R.value=`${te}px`}else M.value=!1,R.value=`${I}px`;N.value=j,a.emit("update:collapse",j)}};t.watch(()=>n.collapse,j=>{L(j)});const Q=()=>{W()},W=j=>{j=j??!N.value,L(j)};Ae({toggleCollapse:W,doLayout:()=>{T[0]&&(C(T[0]),Xo(r,x.value,S.value,k.value,!0,n.minItemWidth,n.maxItemWidth,n.type))}});let O=null,K=!0;const q=j=>{if(n.rules){const X=t.toRaw(n.rules);v(X)}if(n.pureDataRules){const X=t.toRaw(n.pureDataRules);v(X,!0)}if(Qe&&(j&&L(he(n.collapse),!1),n.autoLayout&&Array.isArray(T)&&T.length>0)){const X=T[0];C(X),window.ResizeObserver&&(O=new window.ResizeObserver(()=>{C(X)}),O.observe(X))}},F=()=>{O?.disconnect(),O=null},U=!m.value||c?.acquire();U&&(d.value=m.value?!0:null),t.onMounted(()=>{if(U&&(q(K),K=!1),m.value&&c){let j=null,X=c.initialHeight;c.observe(A.value,J=>{if(J!==d.value)if(J)d.value=!0,N.value||(R.value=""),j=setTimeout(()=>{j=null,d.value!==!1&&(q(K),K=!1)},100);else{if(j!==null&&clearTimeout(j),d.value=!1,!N.value)if(K)R.value=c.initialHeight;else{let te=dn(A.value);te<=0?R.value=X:(R.value=`${te}px`,X=R.value)}K||F()}})}}),t.onUnmounted(()=>{O?.disconnect(),c&&c.unobserve(A.value)});const G=(j="right")=>{const X=[];if(w.value){const oe={class:z.value},le=t.h("span",oe,[w.value]);X.push(le)}const J={class:P.value},te=l(n.collapseIcon,J);return te&&X.push(te),X.length>0?t.h("div",{class:{[`${g}__header-collapse`]:!0,[`is-${j}`]:!0},onClick:Q},X):null},Y=(j,X,J,te)=>{const oe={...b.value};return X===0&&(oe[`${g}__first`]=!0),J>=te-1&&(oe[`${g}__last`]=!0),t.h("div",{ref:$,key:`${X}`,class:oe,style:u.value},j)};return()=>{if(m.value&&d.value!==!0){const oe=n.tag||"div";return t.h(oe,{ref:A,prop:n.name,class:{[`${g}`]:!0,"is-collapse":M.value},style:y.value},[])}s.order.index=0;const j=[];let X=0;if(a.slots.header){const oe={key:`${X++}`,ref:V,class:{[`${g}__header`]:!0,[`${g}__first`]:!0}},le=t.h("div",oe,[a.slots.header()]);j.push(le)}else{const oe=[],le=n.collapsePosition==="left";if(le&&n.showCollapse){const pe=G("left");pe&&oe.push(pe)}if(f.value){if(n.showMark){const ve={class:{[`${g}__header-mark`]:!0}};n.markColor&&(ve.style={background:n.markColor});const qe=t.h("div",ve);oe.push(qe)}const pe=t.h("div",{class:{[`${g}__header-title`]:!0}},[f.value]);oe.push(pe)}if(a.slots.toolbar&&oe.push(a.slots.toolbar()),!le&&n.showCollapse){const pe=G("right");pe&&oe.push(pe)}if(oe.length>0){const pe={key:`${X++}`,ref:V,class:{[`${g}__header`]:!0,[`${g}__first`]:!0}},ve=t.h("div",pe,oe);j.push(ve)}}E();const J=a.slots.default?a.slots.default():[],te=s.layout.value.type;if(te==="grid"){const oe=Y(J,X++,0,J.length);j.push(oe)}else if(te==="flow"){const oe=Y(J,X++,0,J.length);j.push(oe)}else for(let oe=0;oe<J.length;oe++){const le=J[oe],pe=Y([le],X++,oe,J.length);j.push(pe)}if(B.value){const oe=n.tag||"div";return t.h(oe,{ref:A,prop:n.name,class:{[`${g}`]:!0,"is-collapse":M.value},style:y.value},[j])}else return j}}}}const{componentName:Ni,create:Bi,scope:Vi}=H("group"),Ai=(e=ee.RectUp,o={})=>t.h(e,o),Ln=Bi(wi(Ni,Vi,Ai));function Ti(e){return e===window}const Ei=/matrix\((.+)\)/,Or=e=>{const o=t.unref(e);if(!o)return{x:0,y:0};if(Ti(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:d}=window.getComputedStyle(a);if(d){const m=Ei.exec(d);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 $i{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 Di{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 $i,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 Va=new Di,Fr={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:xi,create:Ii}=H("price"),qi=Ii({props:{...Fr},setup(e){const o=t.computed(()=>({[xi]:!0})),l=t.computed(()=>e.needSymbol?e.symbol:""),n=t.computed(()=>ge(e.price)==0?"":mo(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"],Mi=["innerHTML"];function Pi(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,Mi)):t.createCommentVNode("",!0)],2)}const Xe=Z(qi,[["render",Pi]]),{componentName:Qo,create:Ri}=H("hint-text"),Li=Ri({components:{Price:Xe},props:{...Fr,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),d=(w,z,P,A,V,D)=>{const N=document.documentElement.clientWidth||document.body.clientWidth,R=document.documentElement.clientHeight||document.body.clientHeight,M=w.split("-");let I=[];M[0]==="top"?I=["top","bottom","right","left"]:M[0]==="bottom"?I=["bottom","top","right","left"]:M[0]==="left"?I=["left","top","bottom","right"]:M[0]==="right"&&(I=["right","top","bottom","left"]);const L={top:null,right:null,bottom:null,left:null},Q=[];for(let W=0;W<I.length;W++){const _=I[W];if(Q[0]=_,M[1]&&(Q[1]=M[1]),_==="top"){const O=z.y-D-e.arrowSize-e.offset;if(O>=0){L.top=O;let K=0;M[1]==="start"?K=z.x:M[1]==="end"?K=z.x+P-V:K=z.x+P/2-V/2;const q=N-K-V;q<0?(K+=q,h.value=-q):h.value=0,L.left=K<0?0:K;break}}else if(_==="bottom"){const O=z.y+A+e.arrowSize+e.offset;if(O+D<=R){L.top=O;let K=0;M[1]==="start"?K=z.x:M[1]==="end"?K=z.x+P-V:K=z.x+P/2-V/2;const q=N-K-V;q<0?(K+=q,h.value=-q):h.value=0,L.left=K<0?0:K;break}}else if(_==="left"){const O=z.x-V-e.arrowSize-e.offset;if(O>=0){L.left=O;let K=0;M[1]==="start"?K=z.y:M[1]==="end"?K=z.y+A-D:K=z.y+A/2-D/2,L.top=K<0?0:K;break}}else if(_==="right"){const O=z.x+P+e.arrowSize+e.offset;if(O+V<=N){L.left=O;let K=0;M[1]==="start"?K=z.y:M[1]==="end"?K=z.y+A-D:K=z.y+A/2-D/2,L.top=K<0?0:K;break}}}return{bestPlacement:Q.join("-"),bestInsetRect:L}},m=(w,z,P=10)=>{if(!Qe||z===!1||!w)return;n.value=Or(e.reference),a.value=e.reference.offsetWidth,r.value=e.reference.offsetHeight;const A=c.value.offsetHeight,V=c.value.offsetWidth,{bestPlacement:D,bestInsetRect:N}=d(e.placement,n.value,a.value,r.value,V,A);s.value=D,l.value=N,i.value=!0},h=t.ref(0),p=pt(()=>{m(e.message,e.visible)},10),v=t.ref(e.visible);t.watch(()=>e.visible,w=>{v.value=w});const g=t.computed(()=>v.value&&y.value),y=t.ref(!0),b=pt(w=>{const z=w[0];z&&(y.value=z.isIntersecting)},10),u=new IntersectionObserver(b);t.watch([()=>e.message,()=>e.visible],([w,z])=>{setTimeout(()=>{m(e.message,e.visible)},0)}),t.onMounted(()=>{setTimeout(()=>{m(e.message,e.visible)},0),Va.watch(e.reference,p),u.observe(e.reference)}),t.onBeforeMount(()=>{Va.unwatch(e.reference,p),u.unobserve(e.reference),u.disconnect()});const f=t.computed(()=>{const w={[Qo]:!0};return s.value.startsWith("top")?w["is-top"]=!0:s.value.startsWith("right")?w["is-right"]=!0:s.value.startsWith("bottom")?w["is-bottom"]=!0:s.value.startsWith("right")&&(w["is-right"]=!0),e.size==="small"?w["is-small"]=!0:e.size==="large"&&(w["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(w[`${e.customClass}`]=!0),w}),k=t.computed(()=>{const w={};l.value.top!==null&&(w.top=`${l.value.top}px`),l.value.right!==null&&(w.right=`${l.value.right}px`),l.value.bottom!==null&&(w.bottom=`${l.value.bottom}px`),l.value.left!==null&&(w.left=`${l.value.left}px`),e.autoFit&&(w["min-width"]=`${a.value}px`);const z=document.documentElement.clientWidth||document.body.clientWidth;return w["max-width"]=`${z}px`,i.value&&(w.opacity="1"),e.transition||(w.transition="none"),e.zIndex&&(w["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(w,e.customStyle),w}),S=t.computed(()=>{const w=[`${Qo}__content`];return e.customTextClass&&w.push(e.customTextClass),w}),B=t.computed(()=>{const w={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(w,e.customTextStyle),w}),T=t.computed(()=>({[`${Qo}__arrow`]:!0})),$=t.computed(()=>{const w={};return e.showArrow?(w.width=`${e.arrowSize}px`,w.height=`${e.arrowSize}px`,s.value==="top"?(w.left="50%",w.bottom=`-${e.arrowSize}px`,w.transform=" translate(-50%, 0%)"):s.value==="top-start"?(w.left=`${e.arrowOffset+h.value}px`,w.bottom=`-${e.arrowSize}px`):s.value==="top-end"?(w.right=`${e.arrowOffset-h.value}px`,w.bottom=`-${e.arrowSize}px`):s.value==="right"?(w.left=`-${e.arrowSize}px`,w.top="50%",w.transform=" translate(0%, -50%)"):s.value==="right-start"?(w.left=`-${e.arrowSize}px`,w.top=`${e.arrowOffset}px`):s.value==="right-end"?(w.left=`-${e.arrowSize}px`,w.bottom=`-${e.arrowOffset}px`):s.value==="bottom"?(w.left="50%",w.top=`-${e.arrowSize}px`,w.transform=" translate(-50%, 0%)"):s.value==="bottom-start"?(w.left=`${e.arrowOffset+h.value}px`,w.top=`-${e.arrowSize}px`):s.value==="bottom-end"?(w.right=`${e.arrowOffset-h.value}px`,w.top=`-${e.arrowSize}px`):s.value==="left"?(w.right=`-${e.arrowSize}px`,w.top="50%",w.transform=" translate(0%, -50%)"):s.value==="left-start"?(w.right=`-${e.arrowSize}px`,w.top=`${e.arrowOffset}px`):s.value==="left-end"&&(w.right=`-${e.arrowSize}px`,w.bottom=`-${e.arrowOffset}px`),w):{display:"none"}}),E=t.computed(()=>g.value&&e.closeOnClick),x=t.computed(()=>{const w={};return e.zIndex&&(w["z-index"]=`${e.zIndex}`),w});return{show:g,tipRef:c,classes:f,styles:k,textClasses:S,textStyles:B,arrowClasses:T,arrowStyles:$,overlayShow:E,overlayStyle:x,onClickOverlay:()=>{v.value=!1,o.emit("update:visible",!1)}}}});function Oi(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 Kr=Z(Li,[["render",Oi]]);class Ur{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 fn={},Fi=new Ur,mt=new Map,uo=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()}},Ki=e=>{e.unmount=uo;const o=document.getElementById(e.id);if(o){const l=mt.get(e.id);l?e={...fn,...l,...e}:e={...fn,...e},e.transition=!1;const n=t.createVNode(Kr,e);return t.render(n,o),e.id}},Ui=e=>{e.unmount=uo;let o=e.id??`hinttext_${Fi.get()}`;e={...fn,...e},e.id=o,mt.set(o,e);const l=document.createElement("div");l.id=e.id;const n=t.createVNode(Kr,e);return t.render(n,l),document.body.appendChild(l),o},Hi=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},et={show(e,o,l={},n=!0){Hi(o);const a=l.id;return a&&mt.has(a)?Ki({...l,message:o,reference:e}):(n&&uo(),Ui({...l,message:o,reference:e}))},hide(e){uo(e)},install(e){e.config.globalProperties.$hintText=et}},{componentName:Aa,create:ji}=H("item"),Wi=ji({inheritAttrs:!0,props:{...ue,...fe},emits:["appear","disappear"],setup(e,o){const l=e.prop??o.attrs.name;Be({componentName:Aa,validate:!1},l);const n=Fe(),a=No();Bo(!1);const r=t.computed(()=>a&&n?Vo(n,!1).value:null),s=Aa,i=t.ref(null),c=t.computed(()=>{const Y={[s]:!0,[`${s}__gutter`]:r.value&&r.value.type!=="flow",[`${s}__stretch`]:e.span==="stretch",[`${s}__input--border`]:e.hasBorder};if(Y[e.errorMarkClass]=!!z.value,Y[e.warnMarkClass]=!!C.value,Y[e.infoMarkClass]=!!E.value,typeof i.value=="function"){const j=i.value(l);Y[j]=!0}else if(typeof i.value=="string"){const j=i.value;Y[j]=!0}return Y}),d=t.ref(null),m=t.computed(()=>{const Y={};if(e.width)e.width!=="auto"&&(Y.width=de(e.width));else{const j=a&&n?Ao(n,!1):null;if(r.value&&j){if(r.value.type==="grid"){const X=Eo(j,r.value,e.span,e.offset);Object.assign(Y,X)}else if(r.value.type==="flow"){const X=To(j,r.value,e.span,e.offset,e.width);Object.assign(Y,X)}}}if(typeof d.value=="function"){const j=d.value(l);j&&Object.assign(Y,j)}else if(d.value&&typeof d.value=="object"){const j=d.value;Object.assign(Y,j)}return Y}),h=t.ref(null),p=t.computed({get:()=>h.value??he(e.isRequired),set:Y=>{h.value=Y}}),v=t.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof o.slots.label=="function"),g=we(t.toRef(e,"labelPosition"),"labelPosition",io.Near),y=t.computed(()=>g&&g.value==="top"?"top":g&&g.value==="right"?"right":"left"),b=t.computed(()=>({[`${s}__main`]:!0,[`${s}__main--${y.value}`]:!0})),u=t.computed(()=>({label:!0,[`label--${y.value}`]:!0})),f=we(t.toRef(e,"labelWidth"),"labelWidth",io.Near),k=t.computed(()=>f&&f.value?{width:de(f.value)}:{}),S=t.computed(()=>({"label--string":!0,"label--required":p.value})),B=t.computed(()=>({content:!0,[e.contentClass]:!0})),T=t.computed(()=>({...e.contentStyle})),$=t.shallowReactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});Ae({setRequired(Y){p.value=Y},setErrorTip(Y){$.errorTip=Y},setErrorIcon(Y){$.errorIcon=Y},setWarnTip(Y){$.warnTip=Y},setWarnIcon(Y){$.warnIcon=Y},setInfoTip(Y){$.infoTip=Y},setInfoIcon(Y){$.infoIcon=Y},setCustomClassName(Y){i.value=Y},setCustomStyle(Y){d.value=Y}});const E=t.computed(()=>e.infoTip||$.infoTip),x=t.computed(()=>e.infoIcon||$.infoIcon),C=t.computed(()=>e.warnTip||$.warnTip),w=t.computed(()=>e.warnIcon||$.warnIcon),z=t.computed(()=>e.errorTip||$.errorTip),P=t.computed(()=>e.errorIcon||$.errorIcon),A=t.computed(()=>z.value?"error":C.value?"warn":E.value?"info":""),V=t.computed(()=>A.value.length>0),D=t.computed(()=>A.value==="error"?z.value:A.value==="warn"?C.value:A.value==="info"?E.value:""),N=t.computed(()=>A.value==="error"?P.value:A.value==="warn"?w.value:A.value==="info"?x.value:null),R=t.computed(()=>{let Y={[`${s}__tip`]:!0,[`${s}__tip--${A.value}`]:!0};return A.value==="error"&&e.errorClass?Y[`${e.errorClass}`]=!0:A.value==="warn"&&e.warnClass?Y[`${e.warnClass}`]=!0:A.value==="info"&&e.infoClass&&(Y[`${e.infoClass}`]=!0),Y}),M=t.computed(()=>{let Y={};return g&&g.value==="top"||!v.value?Y["padding-left"]="0px":f&&f.value&&(Y["padding-left"]=de(f.value)),Y}),I=()=>{const Y=N.value;return Y?typeof Y=="function"?t.h("div",{class:"fox-item__tip--icon"},[Y()]):t.h("div",{class:"fox-item__tip--icon"},[t.h(Y)]):null},L=()=>{const Y=D.value;return Y?typeof Y=="function"?t.h("div",{class:"fox-item__tip--text"},[Y()]):t.h("div",{class:"fox-item__tip--text"},[Y]):null},Q=t.computed(()=>o.slots.fixedPreTip),W=t.computed(()=>({[`${s}__fixed-pre-tip`]:!0})),_=t.computed(()=>o.slots.fixedTip),O=t.computed(()=>({[`${s}__fixed-tip`]:!0})),K=t.ref();let q="";t.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([Y,j,X,J])=>{K.value&&(Y&&!ie(j)?q?et.show(K.value,j,{...J,id:q,type:X},!0):q=et.show(K.value,j,{...J,type:X},!0):et.hide(q))});let F=null;const U=()=>{F||!K.value||(F=new IntersectionObserver(Y=>{let j=!1;for(let X of Y)if(X.intersectionRatio>0){j=!0,j&&o.emit("appear",X);break}j||o.emit("disappear")}),F.observe(K.value))},G=()=>{!F||!K.value||(F.unobserve(K.value),F=null)};return t.watch(()=>he(e.appearListen),Y=>{Y?U():G()}),t.onMounted(()=>{he(e.appearListen)&&U()}),t.onUnmounted(G),{classes:c,styles:m,mainClasses:b,hasLabel:v,labelClasses:u,labelStyles:k,labelStringClasses:S,contentClasses:B,contentStyles:T,contentRef:K,hasTip:V,mTip:D,mIcon:N,renderIcon:I,renderTip:L,tipClasses:R,tipStyles:M,hasFixedTip:_,fixedTipClasses:O,hasFixedPreTip:Q,fixedPreTipClasses:W}}}),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 Ce=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=Fe(),i=No();Bo(!1);const c=t.computed(()=>{const d={};if(l.width)l.width!=="auto"&&(d.width=de(l.width));else if(i&&s){const m=Vo(s,!1),h=Ao(s,!1);if(m.value&&h){if(m.value.type==="grid"){const p=Eo(h,m.value,l.span,l.offset);Object.assign(d,p)}else if(m.value.type==="flow"){const p=To(h,m.value,l.span,l.offset,l.width);Object.assign(d,p)}}}return d});return()=>{const d=[];if(n.slots.default){const h=n.slots.default();if(l.divide)for(let p=0;p<h.length;p++){if(p>0){const v=t.h("div",{class:{[`${a}__divide`]:!0}});d.push(v)}d.push(h[p])}else Reflect.apply([].push,d,h)}const m={class:r.value,style:c.value};return t.h("div",m,d)}}}}const{componentName:Gi,create:Zi,scope:MN}=H("row-item"),On=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=Fe(),r=No();Bo(!1);const s=t.computed(()=>r&&a?Vo(a,!1).value:null),i=e,c=t.computed(()=>({[i]:!0,[`${i}__gutter`]:s.value&&s.value.type!=="flow",[`${i}__stretch`]:l.span==="stretch"})),d=t.computed(()=>{const m={};if(l.width)l.width!=="auto"&&(m.width=de(l.width));else{const h=r&&a?Ao(a,!1):null;if(s.value&&h){if(s.value.type==="grid"){const p=Eo(h,s.value,l.span,l.offset);Object.assign(m,p)}else if(s.value.type==="flow"){const p=To(h,s.value,l.span,l.offset,l.width);Object.assign(m,p)}}}return m});return()=>{const m={class:c.value,style:d.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:PN}=H("slot-item"),Fn=ec(Ji(_i)),Ta={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,...fe,...Ta},emits:["change","update:modelValue","blur","focus","clear"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=Te(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),{toLocaleRefs:d}=re.useFoxI18n(o),m=d(a,["placeholder"]),h=t.ref(!1),p=De(a,"modelValue"),v=e,g=t.computed(()=>({[v]:!0,[`${v}__disabled`]:s.value,[`${v}__readonly`]:i.value})),y=we(t.computed(()=>a.textAlign),"textAlign"),b=t.computed(()=>{const V={};return y.value&&(V["text-align"]=y.value),V}),u=V=>{let N=V.target.value;a.type==="digit"&&(N=rn(N,!0)),a.type==="number"&&(N=rn(N,!1)),a.maxLength&&N.length>Number(a.maxLength)&&(N=N.slice(0,Number(a.maxLength))),p.value=N,c("update:modelValue",N,V),c("change",N,V)};let f=De(a,"hintText"),k=t.ref(!1);const S=V=>{let N=V.target.value;h.value=!0,ie(f.value)||(k.value=!0),c("focus",N,V)},B=V=>{setTimeout(()=>{k.value&&(k.value=!1),h.value=!1},0);let N=V.target.value;a.maxLength&&N.length>Number(a.maxLength)&&(N=N.slice(0,Number(a.maxLength))),c("blur",N,V)},T=t.computed(()=>({[`${v}__append`]:!0})),$=t.computed(()=>{const V={};return r.slots.append&&!E.value&&!P.value&&(V.display="none"),V}),E=t.computed(()=>ge(a.unit)>0),x=t.computed(()=>!P.value),C=t.computed(()=>({hidden:!x.value})),w=V=>{p.value="",c("update:modelValue","",V),c("change","",V),c("clear","")},z=t.computed(()=>he(a.clearable)&&!s.value&&!i.value),P=t.computed(()=>{let V=ge(p.value)>0;return he(a.clearable)&&V&&h.value}),A=t.computed(()=>({action:!0,hidden:!P.value}));return()=>{const V={class:g.value,style:b.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:u,onFocus:S,onBlur:B},D=[],N=t.h("input",V);D.push(N);const R=[];if(z.value){const O={class:["action-icon"]},K=t.h(n,O),q={class:A.value,onClick:w},F=t.h("view",q,{default:()=>[K]});R.push(F)}if(E.value){const O=t.h("view",{class:C.value},[a.unit]);R.push(O)}const M={class:T.value,style:$.value},I=t.h("view",M,{default:()=>R});D.push(I);const L={default:()=>D};L.label=r.slots.default,L.prepend=r.slots.prepend,L.append=r.slots.append,L.fixedPreTip=r.slots.fixedPreTip,L.fixedTip=r.slots.fixedTip;const W={...En(a,Ta),hintText:f.value,hintVisible:k.value};return t.h(l,W,L)}}}}const{componentName:oc,create:nc,scope:lc}=H("input-item"),Kn=nc(tc(oc,lc,Ce,ee.CircleClose));function Ea(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 $a(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=sr(`${e}`,`${o}`);return Ea(n)}else{let n=An(`${e}`,ir(`${o}`),20);return Ea(n)}}function ac(e,o=-1,l=!1,n=3,a=","){return mo(e,o,l,n,a)}function Da(e,o,l,n,a=!0){if(e=="")return"";if(e=cr(e),o=me(o),o==1)return e;if(n)e=$a(e,o),l&&(e=="0"&&a?e=`${e}.`.padEnd(me(l)+2,"0"):e=An(e,1,me(l)));else{let r=-1*o;e=$a(e,r)}return e}function xa(e,o){let l={maxValid:!0,minValid:!0,message:""};if(o.min!==void 0){let n=he(o.minInclude),a=nn(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=nn(e,o.max);(n&&a==1||!n&&(a==0||a==1))&&(l.maxValid=!1)}return l}const Ia={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,...fe,...Ia},emits:["change","update:modelValue","blur","focus","clear"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=Te(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),d=t.ref(!1),m=De(a,"modelValue"),h=t.ref("");t.watch([()=>m.value,()=>a.rates,()=>a.precision],([M,I,L])=>{if(ie(M)){h.value="";return}const Q=Da(M,I,L,!1);h.value!==Q&&(h.value=Q)},{immediate:!0});const p=t.computed(()=>{let M="";return d.value&&(M=h.value),M}),{t:v}=re.useFoxI18n(o),g=t.computed(()=>{let M=a.placeholder??"";return!d.value&&!ie(h.value)?M=ac(h.value,a.decimalLength,a.autoPadding,a.digits,a.separator):M=ie(M)?v(["placeholder"]):M,M}),y=e,b=t.computed(()=>({[y]:!0,[`${y}__disabled`]:s.value,[`${y}__placeholder`]:h.value.length>0})),u=we(t.computed(()=>a.textAlign),"textAlign"),f=t.computed(()=>{const M={};return u.value&&(M["text-align"]=u.value),M}),k=t.ref(""),S=t.computed(()=>{let M=k.value;return ie(M)&&(M=a.errorTip??""),M}),B=t.ref(""),T=t.ref(!1),$=M=>{let L=M.target.value;if(ie(L)){h.value="",m.value="",c("update:modelValue","",M),c("change","",M),he(a.showTip)&&T.value&&(T.value=!1);return}if(L.length>=2){let Q=L;if(Q.charAt(0)=="-"&&(Q=Q.substring(1)),Q.length>=2&&Q.charAt(0)=="0"&&Q.charAt(1)!="."){t.triggerRef(h);return}}if(L!="-"){if(!vr(L)){t.triggerRef(h);return}if(a.integerLength!=-1&&kr(L)>Number(a.integerLength)){t.triggerRef(h);return}if(a.decimalLength&&a.decimalLength!=-1&&br(L)>Number(a.decimalLength)){t.triggerRef(h);return}let Q=xa(L,a);if(Q.maxValid===!1){k.value=Q.message,t.triggerRef(h);return}}else if(a.min!=null&&me(a.min)>=0){t.triggerRef(h);return}B.value=L,he(a.showTip)&&(T.value=L.length>0),h.value=L,m.value=Da(L,a.rates,a.precision,!0),c("update:modelValue",m.value,M),c("change",m.value,M)},E=M=>{if(d.value=!0,he(a.showTip)){let I=h.value;ie(I)&&(I=a.hintText),ie(I)||(B.value=I,T.value=!0)}k.value="",c("focus",m.value,M)},x=M=>{if(setTimeout(()=>{d.value=!1,he(a.showTip)&&T.value===!0&&(T.value=!1)},0),!ie(h.value)){let I=xa(h.value,a);if(I.minValid===!1||I.maxValid===!1){k.value=I.message;return}}c("update:modelValue",m.value,M),c("blur",m.value,M)},C=t.computed(()=>({[`${y}__append`]:!0})),w=t.computed(()=>{const M={};return r.slots.append&&!z.value&&!N.value&&(M.display="none"),M}),z=t.computed(()=>ge(a.unit)>0),P=t.computed(()=>!N.value),A=t.computed(()=>({hidden:!P.value})),V=M=>{m.value="",c("update:modelValue","",M),c("change","",M),c("clear","")},D=t.computed(()=>he(a.clearable)&&!s.value&&!i.value),N=t.computed(()=>{let M=ge(m.value)>0;return he(a.clearable)&&M&&d.value}),R=t.computed(()=>({action:!0,hidden:!N.value}));return()=>{let M={class:b.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:$,onFocus:E,onBlur:x},I=[],L=t.h("input",M);I.push(L);let Q=[];if(D.value){const U={class:["action-icon"]},G=t.h(n,U),Y={class:R.value,onClick:V},j=t.h("view",Y,{default:()=>[G]});Q.push(j)}if(z.value){const U=t.h("view",{class:A.value},[a.unit]);Q.push(U)}const W={class:C.value,style:w.value},_=t.h("view",W,{default:()=>Q});I.push(_);const O={default:()=>I};if(r.slots.default){let U=r.slots.default();O.label=()=>U}if(r.slots.prepend){let U=r.slots.prepend();O.prepend=()=>U}if(r.slots.append){let U=r.slots.append();O.append=()=>U}let q={...En(a,Ia),errorTip:S.value,hintText:B.value,hintVisible:T.value,hintType:"number"};return t.h(l,q,O)}}}}const{componentName:sc,create:ic,scope:cc}=H("money-item"),Un=ic(rc(sc,cc,Ce,ee.CircleClose)),mn={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:uc,create:dc,scope:fc}=H("textarea"),mc=dc({props:{...mn},emits:["update:modelValue","change","blur","focus"],setup(e,{emit:o}){let{toLocaleRefs:l}=re.useFoxI18n(fc);const n=l(e,["placeholder"]),a=t.ref(),r=t.computed(()=>{const p=uc;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 v=p.scrollHeight;if(typeof e.autosize=="object"){const{maxHeight:g,minHeight:y}=e.autosize;g!==void 0&&(v=Math.min(v,g)),y!==void 0&&(v=Math.max(v,y))}v&&(p.style.height=v+"px")};t.watch(()=>e.modelValue,()=>{e.autosize&&t.nextTick(i)});const c=(p,v)=>{e.maxLength&&p.length>Number(e.maxLength)&&(p=p.substring(0,Number(e.maxLength))),o("update:modelValue",p,v),o("change",p,v)};return{...n,textareaRef:a,classes:r,styles:s,change:p=>{const v=p.target;c(v.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 $o=Z(mc,[["render",gc]]);function yc(e,o,l,n){return{props:{...ue,...fe,...mn},emits:["update:modelValue","change","blur","focus"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=Te(t.computed(()=>a.readonly)),{emitEvent:c}=Be({componentName:e,get validate(){return!s.value&&!i.value}},a.prop??r.attrs.name),d=De(a,"modelValue"),m=y=>{d.value=y,c("update:modelValue",y,{}),c("change",y,{})};let h=De(a,"hintText"),p=t.ref(!1);const v=y=>{ie(h.value)||(p.value=!0),c("focus",d.value,y)},g=y=>{setTimeout(()=>{p.value&&(p.value=!1)},0),c("blur",d.value,y)};return()=>{const b={...ye(a,mn),disabled:s.value,readonly:i.value,value:d.value,"onUpdate:modelValue":m,onFocus:v,onBlur:g},u=[],f=t.h(n,b);u.push(f);const k={default:()=>u};k.label=r.slots.default,k.prepend=r.slots.prepend,k.append=r.slots.append,k.fixedPreTip=r.slots.fixedPreTip,k.fixedTip=r.slots.fixedTip;const S=ye(a,fe,ue);return t.h(l,S,k)}}}}const{componentName:vc,create:kc,scope:bc}=H("textarea-item"),Hn=kc(yc(vc,bc,Ce,$o));function Sc(e){return e===window}const Ve=e=>{const o=t.unref(e);if(Sc(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}},rt={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:{}}},Hr=2e3;let qa=Hr;const Cc=(e,o)=>({components:o,props:{...rt},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!==Hr&&(qa=Number(l.zIndex)),n("update:visible",!0),a.zIndex=++qa,l.destroyOnClose&&(a.showSlot=!0),n("open")},d=()=>{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)},v=y=>{n("opend",y)},g=y=>{n("closed",y)};return t.watch(()=>l.visible,y=>{l.visible?c():d()}),t.watch(()=>l.closeable,y=>{a.closed=y}),{...t.toRefs(a),popStyle:s,transitionName:i,classes:r,onClick:m,onClickCloseIcon:h,onClickOverlay:p,onOpened:v,onClosed:g}}});let Bt=0;const za="fox-overflow-hidden",Ma=()=>Qe?document.body:{classList:[]},wc=e=>[()=>{if(e())try{!Bt&&Ma().classList.add(za),Bt++}catch{}},()=>{if(e()&&Bt)try{Bt--,!Bt&&Ma().classList.remove(za)}catch{}}],Nc={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:Bc,create:Vc}=H("overlay"),Ac=Vc({props:{...Nc},emits:["click","update:visible"],setup(e,{emit:o}){const[l,n]=wc(()=>e.lockScroll),a=t.computed(()=>({[Bc]:!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 Tc(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 nt=Z(Ac,[["render",Tc]]),{componentName:Ec,create:$c}=H("popup"),Dc=$c(Cc(Ec,{FoxOverLay:nt,Close:ee.Close}));function xc(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=Z(Dc,[["render",xc]]),Pa=10;function Ic(e,o){return e>o&&e>Pa?"horizontal":o>e&&o>Pa?"vertical":""}function Ke(){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),d=t.ref(0),m=t.ref(""),h=()=>m.value==="vertical",p=()=>m.value==="horizontal",v=()=>{s.value=0,i.value=0,c.value=0,d.value=0,m.value="",l.value=0};return{move:b=>{const u=b.touches[0];s.value=u.clientX-e.value,i.value=u.clientY-o.value,a.value=u.clientX,r.value=u.clientY,c.value=Math.abs(s.value),d.value=Math.abs(i.value),n.value=Date.now()-l.value,m.value||(m.value=Ic(c.value,d.value))},start:b=>{v(),e.value=b.touches[0].clientX,o.value=b.touches[0].clientY,l.value=Date.now()},reset:v,startX:e,startY:o,startTime:l,duration:n,moveX:a,moveY:r,deltaX:s,deltaY:i,offsetX:c,offsetY:d,direction:m,isVertical:h,isHorizontal:p}}const jr={readonly:{type:Boolean,default:!1},visibleItemCount:{type:[Number,String],default:7},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},childrenKey:{type:String,required:!1,default:"children"},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3}},pn={...rt,...jr,modelValue:{type:[String,Number,Boolean,Object,Array],default:""},text:{type:[Array],default:[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},title:{type:String,default:""},cancelText:{type:String,default:""},clearText:{type:String,default:""},confirmText:{type:String,default:""}};let Wr=36;function qc(){return Wr}function zc(e){Wr=e}function ze(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function hn(e,o){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?o[e.childrenKey]:o.children??null}function Mc(e,o,l){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(o[e.childrenKey]=l),o.children=l}function lt(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function Ra(e,o){return typeof e.itemOptions=="function"?e.columnOptions(o):e.columnOptions}let Pc=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=St(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):($e(n)&&t.isReactive(n)&&(n=t.toRaw(n)),await a(l,n))}};function Rc(){const e=t.getCurrentInstance();return new Pc(e.proxy)}function La(e,o,l){const n=ze(e,o),a=ze(e,l);if(n!==a)return!1;const r=lt(e,o),s=lt(e,l);return r===s}function Lc(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 d=l[s].findIndex(m=>{if(r==="text")return ze(e,m)===i;if(r==="value"){let h=lt(e,m);return h==null&&(h=ze(e,m)),h===i}else if(r==="item")return La(e,m,i)});if(d==-1)break;a.push(d)}else{let s=l[0];for(let i=0;i<o.length;i++){const c=o[i];let d=s.findIndex(h=>{if(r==="text")return ze(e,h)===c;if(r==="value"){let p=lt(e,h);return p==null&&(p=ze(e,h)),p===c}else if(r==="item")return La(e,h,c)});if(d==-1)break;a.push(d);const m=hn(e,s[d]);if(!Array.isArray(m))break;s=m}}return a}function Oa(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 d=i[c],m=ze(e,d);if(a.texts.push(m),a.items.push(d),r==="text")a.values.push(m);else if(r==="value"){let h=lt(e,d);h==null&&(h=m),a.values.push(h)}else a.values.push(d)}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 d=s[c],m=Object.assign({},d);m.children=null;const h=ze(e,d);if(a.texts.push(h),a.items.push(m),r==="text")a.values.push(h);else if(r==="value"){let p=lt(e,d);p==null&&(p=h),a.values.push(p)}else a.values.push(m);if(!Array.isArray(d.children))break;s=d.children}}return a}function Fa(e){return{text:e,value:e}}const Oc=15,Fc=300,Kc=200,{create:Uc}=H("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},...jr},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=E=>E>=h.currIndex+8||E<=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=E=>`transform: rotate3d(1, 0, 0, ${-h.rotation*E}deg) translate3d(0px, 0px, 104px)`,d=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"),v=E=>ze(e,E),g=E=>lt(e,E),y=Ke(),b=()=>{h.transitionEndTrigger&&(h.transitionEndTrigger(),h.transitionEndTrigger=null)},u=(E,x=!1,C=!1)=>{if(h.currIndex=E,x){const w=()=>{h.moving=!1,o("update:modelValue",E),o("change",E)};C?h.transitionEndTrigger=w:w()}},f=(E,x,C)=>{let w=E+h.startDistance;if(x==="end"){const z=-(p.value.length-1)*e.itemHeight;w<z&&(w=z,(!C||C<=0)&&(C=e.swipeDuration)),w>0&&(w=0,(!C||C<=0)&&(C=e.swipeDuration));let P=Math.abs(Math.round(-w/e.itemHeight));const A=-P*e.itemHeight,V=`${(P+1)*h.rotation}deg`,D=C?C>0:!1;u(P,!0,D),k(A,x,C,V)}else{let z=(-w/e.itemHeight+1)*h.rotation;const P=(p.value.length+1)*h.rotation,A=0;if(z=Math.min(Math.max(z,A),P),e.threeDimensional&&(z<A||z>P))return;k(w,null,void 0,`${z}deg`)}},k=(E=0,x,C=Kc,w)=>{x==="end"?h.scrollTime=C:h.scrollTime=0,h.deg=w,h.scrollDistance=E},S=(E,x)=>(E=Math.abs(E/x)/.003*(E<0?-1:1),E),B=E=>{e.readonly||(h.startDistance=h.scrollDistance,y.start(E),h.transitionEndTrigger=null)},T=E=>{e.readonly||(h.moving=!0,y.move(E),y.isVertical()&&(h.moving=!0,jc(E,!0)),f(y.deltaY.value,"",0))},$=()=>{if(e.readonly)return;const E=y.deltaY.value,x=y.duration.value;if(x<Fc&&Math.abs(E)>Oc){const w=S(E,x);f(w,"end",e.swipeDuration)}else f(E,"end",0)};return t.watch(()=>e.modelValue,E=>{if(h.currIndex!==E){h.currIndex=E;const x=-E*e.itemHeight;f(x)}}),t.onMounted(()=>{const E=-e.modelValue*e.itemHeight;f(E)}),{classes:l,styles:n,contentClasses:a,source:p,itemText:v,itemValue:g,...t.toRefs(h),roller:m,getItemText:ze,onTouchStart:B,onTouchMove:T,onTouchEnd:$,isHidden:s,setRollerStyle:c,touchRollerStyle:i,touchTileStyle:d,stopMomentum:b}}}),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 Ka=Z(Wc,[["render",Xc]]),{create:Qc,componentName:Gc,scope:Zc}=H("picker"),Jc=Qc({components:{[Ka.name]:Ka,[ce.name]:ce},props:{...pn},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:o}){const{toLocaleRefs:l,t:n}=re.useFoxI18n(Zc),a=l(e,["title","cancelText","clearText","confirmText"]),r=t.ref(null),s=t.ref(qc());t.watch(()=>e.visible,C=>{C&&s.value<=0&&setTimeout(()=>{if(r.value){const w=Ve(r.value);s.value=w.height,zc(s.value)}},50)});const i=t.computed(()=>({[Gc]:!0})),c=Rc(),d=t.ref("singleColumn");let m=t.ref([]);t.watch([()=>e.source,()=>e.params],async([C,w])=>{if(C){let z=await c.load("picker",C,w);if(z.length>0){let P=z[0];if(Array.isArray(P)){if(typeof P[0]=="string"){let A=z,V=[];A.forEach(D=>{let N=D.map(R=>Fa(R));V.push(N)}),m.value=V}else m.value=z;d.value="multipleColumn"}else if(typeof P=="string"){let A=z,V=[],D=A.map(N=>Fa(N));V.push(D),m.value=V,d.value="singleColumn"}else{const A=hn(e,P);Array.isArray(A)?(d.value="cascade",m.value=[z]):(d.value="singleColumn",m.value=[z])}}else m.value=[]}},{immediate:!0});const h=t.ref([]),p=t.ref(e.modelValue),v=t.ref([]),g=t.ref([]);t.watch([()=>e.modelValue,()=>m.value],([C,w])=>{let z=Lc(e,C,w,d.value);if(!Ie(z,g.value)){g.value=z;let P=Oa(e,z,w,d.value);P&&(h.value=P.texts,o("update:text",h.value))}});const y=t.ref(e.visible);t.watch(()=>e.visible,C=>{y.value=C});const b=C=>{let w=Ra(e,C);return $e(w)?w.defaultIndex??0:0},u=C=>{if(e.readonly===!0)return!0;let w=Ra(e,C);return $e(w)?w.readonly??!1:!1},f=(C,w)=>{let z=g.value;z[C]=w;for(let A=0;A<C;A++)z[A]==null&&(z[A]=b(A));if(d.value==="cascade")for(let A=C+1;A<S.value.length;A++){let V=b(A);A<z.length?z[A]=V:z.push(V)}else for(let A=z.length;A<S.value.length;A++){let V=b(A);z.push(V)}g.value=z;let P=Oa(e,z,m.value,d.value);P&&(h.value=P.texts,p.value=P.values,v.value=P.items)},k=C=>C<g.value.length?g.value[C]:b(C),S=t.computed(()=>{if(m.value.length==0)return[];if(d.value=="singleColumn"||d.value=="multipleColumn")return m.value;let C=[],w=0,z=m.value[0],P=0;for(;;){let A=z.map(N=>{let R=Object.assign({},N);return Mc(e,R,null),R});C.push(A),w>=g.value.length?P=0:P=g.value[w],(P<0||P>=z.length)&&(P=0);let V=z[P];const D=hn(e,V);if(!Array.isArray(D))break;z=D,w++}return C}),B=t.computed(()=>me(+e.visibleItemCount-1)/2*s.value);return{...a,pickerLineRef:r,classes:i,columns:S,dataType:d,show:y,itemHeight:s,top:B,isReadonly:u,getIndex:k,change:(C,w)=>{f(C,w)},close:()=>{o("close"),o("update:visible",!1)},confirm:()=>{if(e.readonly===!0){o("update:visible",!1);return}let C=m.value.length-1;for(;C>=0&&!(g.value[C]===null||g.value[C]===void 0);C--);if(C>=0&&f(C,0),d.value==="singleColumn"){let w=p.value.length>0?p.value[0]:"",z=v.value.length>0?v.value[0]:null;e.readonly||(o("update:modelValue",w),o("update:text",h.value),o("change",w,z)),o("confirm",w)}else e.readonly||(o("update:modelValue",p.value),o("update:text",h.value),o("change",p.value,v.value)),o("confirm",p.value);o("update:visible",!1)},clear:()=>{if(e.readonly===!0){o("update:visible",!1);return}d.value==="singleColumn"?(o("update:modelValue",""),o("change","")):(o("update:modelValue",[]),o("change",[])),o("clear",""),o("update:visible",!1)}}}}),_c={class:"fox-picker__bar"},eu={class:"fox-picker__title"},tu={class:"fox-picker__bar__action"},ou={class:"fox-picker__column"};function nu(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",eu,t.toDisplayString(e.title),1),t.createElementVNode("view",tu,[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",ou,[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,d)=>(t.openBlock(),t.createElementBlock("view",{key:d,class:"fox-picker__columnitem"},[t.createVNode(s,{source:c,readonly:e.isReadonly(d),"column-index":d,modelValue:e.getIndex(d),"onUpdate:modelValue":m=>e.change(d,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 gt=Z(Jc,[["render",nu]]);function lu(e,o,l,n,a,r,s=!0){return{props:{...ue,...fe,...pn,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 d=Ne(t.computed(()=>i.disabled)),m=Te(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=re.useFoxI18n(o),v=p(i,["placeholder"]),g=t.ref(!1),y=De(i,"modelValue"),b=t.ref([]),u=t.computed(()=>Array.isArray(b.value)?b.value.join(i.separator):b.value),f="fox-input-item",k=t.computed(()=>({[f]:!0,[`${f}__disabled`]:d.value})),S=we(t.computed(()=>i.textAlign),"textAlign"),B=t.computed(()=>{const _={};return S.value&&(_["text-align"]=S.value),_}),T=t.ref(!1),$=()=>{T.value=!0},E=_=>{T.value=_},x=_=>{y.value=_,h("update:modelValue",_)},C=(_,O)=>{h("change",_,O)},w=_=>{let K=_.target.value;g.value=!0,h("focus",K,_)},z=_=>{setTimeout(()=>{g.value=!1},0);let K=_.target.value;i.maxLength&&K.length>Number(i.maxLength)&&(K=K.slice(0,Number(i.maxLength))),h("blur",K,_)},P=_=>{b.value=_,Array.isArray(_)&&_.length===0?h("update:text",_[0]):h("update:text",_)},A=t.computed(()=>({[`${f}__append`]:!0})),V=t.computed(()=>ge(i.unit)>0),D=t.computed(()=>ge(i.unit)>0&&!g.value),N=t.computed(()=>({hidden:!D.value})),R=_=>{y.value="",h("update:modelValue","",_),h("change","",_),h("clear","")},M=t.computed(()=>i.clearable&&!d.value&&!m.value),I=t.computed(()=>ge(y.value)>0&&g.value),L=_=>{I.value?R(_):$()},Q=t.computed(()=>I.value&&M.value?n:a),W=t.computed(()=>({action:!0}));return()=>{const _={class:k.value,style:B.value,type:"text",maxlength:i.maxLength,placeholder:v.placeholder.value,readonly:!0,unselectable:"on",value:u.value,onClick:$,onFocus:w,onBlur:z};s&&(_.disabled=!0);const O=[],K=t.h("input",_);O.push(K);const q=[],F={class:["action-icon"]},U=t.h(Q.value,F),G={class:W.value,onClick:L},Y=t.h("view",G,{default:()=>[U]});if(q.push(Y),V.value){const ve=t.h("view",{class:N.value},[i.unit]);q.push(ve)}const j={class:A.value},X=t.h("view",j,{default:()=>q});O.push(X);const J={default:()=>O};J.label=c.slots.default,J.prepend=c.slots.prepend,J.append=c.slots.append,J.fixedPreTip=c.slots.fixedPreTip,J.fixedTip=c.slots.fixedTip;const te=ye(i,pn);te.disabled=!1,te.readonly=d.value||m.value,te.visible=T.value,te["onUpdate:visible"]=E,te.modelValue=y.value,te["onUpdate:modelValue"]=x,te.text=b.value,te["onUpdate:text"]=P,te.onChange=C;const oe=t.h(r,te);J.hide=()=>[oe];const le=ye(i,fe,ue);return t.h(l,le,J)}}}}const{componentName:au,create:ru,scope:su}=H("picker-item"),jn=ru(lu(au,su,Ce,ee.CircleClose,ee.ArrowRight,gt,!1)),Jt=(e,o,l)=>e.map(n=>{const{value:a="value",text:r="text",children:s="children"}=l??{},{[a]:i,[r]:c,[s]:d,...m}=n,h={loading:!1,...m,level:o?(o&&o.level||0)+1:0,value:i,text:c,children:d,_parent:o};return h.children&&h.children.length&&(h.children=Jt(h.children,h,l)),h}),Yr=(e,o)=>{let l=0,n;for(;(n=e[l++])&&o(n)!==!0;)n.children&&n.children.length&&Yr(n.children,o)},iu={topId:null,idKey:"id",pidKey:"pid",sortKey:""},cu=(e,o)=>{const l={...iu,...o||{}},{topId:n,idKey:a,pidKey:r,sortKey:s}=l;let i=[],c={};return e.forEach(d=>{d={...d};const{[a]:m,[r]:h}=d,p=c[h]=c[h]||[];!i.length&&h===n&&(i=p),p.push(d),d.children=c[m]||(c[m]=[])}),s&&Object.keys(c).forEach(d=>{c[d].length>1&&c[d].sort((m,h)=>m[s]-h[s])}),c=null,i},uu=/scroll|auto|overlay/i,Xr=window;function du(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function gn(e,o=Xr){let l=e;for(;l&&l!==o&&du(l);){const{overflowY:n}=window.getComputedStyle(l);if(uu.test(n))return l;l=l.parentNode}return o}function Qr(e,o=Xr){const l=t.ref();return t.onMounted(()=>{e.value&&(l.value=gn(e.value,o))}),l}const{create:fu}=H("sticky"),mu=fu({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 d=e.container;if(!l.value&&!d)return;const m=Ve(l),h=n.value,p=Ve(h),v=Ve(d);a.height=m.height;const g=()=>{let b=!1;if(e.position==="top")b=d?r.value>m.top&&v.bottom>0:r.value>m.top;else{const u=document.documentElement.clientHeight;b=d?v.bottom>0&&u-r.value-p.height>v.top:u-r.value<m.bottom}return b},y=()=>{if(d)if(e.position==="top"){const b=v.bottom-r.value-p.height;return b<0?b:0}else{const b=document.documentElement.clientHeight,u=v.bottom-(b-r.value);return u<0?u:0}return 0};a.transform=y(),a.fixed=g()};return t.watch(()=>a.fixed,d=>{o("change",d)}),t.onMounted(()=>{c(),gn(l.value).addEventListener("scroll",c,!0)}),t.onUnmounted(()=>{gn(l.value).removeEventListener("scroll",c)}),{rootRef:l,rootStyle:s,stickyRef:n,stickyStyle:i}}});function pu(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 qt=Z(mu,[["render",pu]]),hu=(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=Ke();let d="";const m=(p,v)=>{let g=p;switch(e.direction=="horizontal"?(d=p>0?"right":"left",g=Math.abs(g)/r.value.width*100):(d=v>0?"bottom":"top",g=v,g=Math.abs(g)/r.value?.height*100),g>85&&(g=85),d){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,d){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 gu{title="";titleSlot;paneKey="";disabled=!1;constructor(){}}const{create:yu}=H("tabs"),vu=yu({components:{[qt.name]:qt,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=C=>{C.forEach((w,z)=>{let P=w.type;if(P=P.name||P,P=="fox-tab-pane"){let A=new gu;if(w.props?.title||w.props?.["pane-key"]||w.props?.paneKey){let V=ot(w.props?.["pane-key"]),D=V=="number"||V=="string"?String(w.props?.["pane-key"]):null,N=ot(w.props?.paneKey),R=N=="number"||N=="string"?String(w.props?.paneKey):null;A.title=w.props?.title,A.paneKey=D||R||String(z),A.disabled=w.props?.disabled}r.value.push(A)}else{if(w.children==" ")return;Array.isArray(w.children)&&s(w.children)}})},i=t.ref(e.modelValue||0),c=C=>{let w=r.value.findIndex(z=>z.paneKey==C);r.value.length==0||w==-1||(i.value=w)},d=t.computed(()=>e.titleScroll&&e.direction==="vertical"),m=t.ref(),h=t.ref([]),p=C=>{const w=m.value,z=h.value;if(!w||!z||!z[i.value])return;const P=z[i.value];let A=0;e.direction==="vertical"?A=P.offsetTop-w.offsetTop+10-(w.offsetHeight-P.offsetHeight)/2:A=P.offsetLeft-(w.offsetWidth-P.offsetWidth)/2,v(w,A,C?0:.3,e.direction)},v=(C,w,z,P)=>{let A=0;const V=P==="horizontal"?C.scrollLeft:C.scrollTop,D=z===0?1:Math.round(z*1e3/16);function N(){P==="horizontal"?C.scrollLeft+=(w-V)/D:C.scrollTop+=(w-V)/D,++A<D&&je(N)}N()},g=(C=l.default?.())=>{r.value=[],C=C?.filter(w=>typeof w.children!="string"),C&&C.length&&s(C),c(e.modelValue),t.nextTick(()=>{p()})},y=C=>{a=C.fixed};t.watch(()=>l.default?.(),C=>{g(C)});const b=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;t.watch(()=>e.modelValue,C=>{if(c(C),p(),a){let w=Ve(n.value).top+b(),z=Math.ceil(w-e.top);window.scrollTo({top:z,behavior:"smooth"})}}),t.onMounted(g),t.onActivated(g);const u={isBegin:()=>i.value==0,isEnd:()=>i.value==r.value.length-1,next:()=>{i.value+=1,u.updateValue(r.value[i.value])},prev:()=>{i.value-=1,u.updateValue(r.value[i.value])},updateValue:C=>{o("update:modelValue",C.paneKey),o("change",C)},tabChange:(C,w)=>{o("click",C),!(C.disabled||i.value==w)&&(i.value=w,u.updateValue(C))},setTabItemRef:(C,w)=>{h.value[w]=C}},{tabsContentRef:f,touchState:k,touchMethods:S}=hu(e,u),B=t.computed(()=>{let C=i.value*100;k.moving&&(C+=k.offset);let w={transform:e.direction=="horizontal"?`translate3d(-${C}%, 0, 0)`:`translate3d( 0,-${C}%, 0)`,transitionDuration:k.moving?void 0:`${e.animatedTime}ms`};return e.animatedTime==0&&(w={}),w}),T=t.computed(()=>({background:e.background})),$=t.computed(()=>({color:e.type=="smile"?e.color:"",background:e.type=="line"?e.color:""})),E=t.computed(()=>{if(!e.titleGutter)return{};const C=de(e.titleGutter);return e.direction==="vertical"?{marginTop:C,marginBottom:C}:{marginLeft:C,marginRight:C}}),x=t.computed(()=>l.fixedTitle);return{navRef:m,tabsContentRef:f,titles:r,contentStyle:B,tabsNavStyle:T,titleStyle:E,tabsActiveStyle:$,container:n,getScrollY:d,onStickyScroll:y,...u,...S,hasFixedTitle:x}}}),ku=["onClick"],bu={key:0,class:"fox-tabs__titles-fixed-item"},Su=["onClick"],Cu={key:0,class:"fox-tabs__titles-fixed-item"};function wu(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,d)=>(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,d),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,ku))),128)),e.hasFixedTitle?(t.openBlock(),t.createElementBlock("view",bu,[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,d)=>(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,d),key:c.paneKey,ref_for:!0,ref:m=>e.setTabItemRef(m,d)},[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,Su))),128)),e.hasFixedTitle?(t.openBlock(),t.createElementBlock("view",Cu,[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 zt=Z(vu,[["render",wu]]),{create:Nu}=H("tab-pane"),Bu=Nu({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 Vu(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 Mt=Z(Bu,[["render",Vu]]);class Ua{nodes;config;constructor(o,l){this.config={value:"value",text:"text",children:"children",...l||{}},this.nodes=Jt(o,null,this.config)}updateChildren(o,l){l?l.children=Jt(o,l,this.config):this.nodes=Jt(o,null,this.config)}getNodeByValue(o){let l;return Yr(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:Au,scope:Tu}=H("cascader-pane"),Eu=Au({components:{Loading:ee.Loading,Checklist:ee.Checklist,[zt.name]:zt,[Mt.name]:Mt},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 Ua([],{})),i=t.ref([]),c=t.computed(()=>l.value.lazy&&!!l.value.lazyLoad),d=new Map;let m;const h=async()=>{d.clear(),i.value=[],n.value=0,a.value=!1,m=null;let{options:u}=e;l.value.convertConfig&&(u=cu(u,l.value.convertConfig)),s.value=new Ua(u,{value:l.value.valueKey,text:l.value.textKey,children:l.value.childrenKey}),c.value&&!s.value.nodes.length&&await v({root:!0,loading:!0,text:"",value:""}),i.value=[{nodes:s.value.nodes,selectedNode:null}],p()},p=async()=>{const u=r.value;if(u===void 0||!s.value.nodes.length)return;if(u.length===0){n.value=0,i.value=[{nodes:s.value.nodes,selectedNode:null}];return}let f=u;if(c.value&&Array.isArray(u)&&u.length){f=[];let k=s.value.nodes.find(S=>S.value===u[0]);if(k){f=[k.value],a.value=!0;const S=await u.slice(1).reduce(async(B,T)=>{const $=await B;await v($);const E=$?.children?.find(x=>x.value===T);return E&&f.push(T),Promise.resolve(E)},Promise.resolve(k));await v(S),a.value=!1}}f.length&&u===e.modelValue&&s.value.getPathNodesByValue(f).map((S,B)=>{n.value=B,b.handleNode(S,!0)})},v=async u=>{if(!u)return;if(!l.value.lazyLoad){u.leaf=!0;return}if(s.value.isLeaf(u,c.value)||s.value.hasChildren(u,c.value))return;u.loading=!0;const f=u.root?null:u;let k=d.get(u);k||(k=new Promise(B=>{l.value.lazyLoad?.(u,B)}),d.set(u,k));const S=await k;Array.isArray(S)&&S.length>0?s.value.updateChildren(S,f):u.leaf=!0,u.loading=!1,d.delete(u)},g=u=>{const f=u.map(k=>k.value);r.value=f,o("change",f,u),o("update:modelValue",f,u)},{t:y}=re.useFoxI18n(Tu),b={async handleNode(u,f){const{disabled:k,loading:S}=u;if(!(!f&&k||!i.value[n.value])){if(s.value.isLeaf(u,c.value)){if(u.leaf=!0,i.value[n.value].selectedNode=u,i.value=i.value.slice(0,u.level+1),!f){const B=i.value.map(T=>T.selectedNode);g(B),o("pathChange",B)}return}if(s.value.hasChildren(u,c.value)){const B=u.level+1;if(i.value[n.value].selectedNode=u,i.value=i.value.slice(0,B),i.value.push({nodes:u.children||[],selectedNode:null}),n.value=B,!f){const T=i.value.map($=>$.selectedNode);o("pathChange",T)}return}m=u,!S&&(await v(u),m===u&&(i.value[n.value].selectedNode=u,b.handleNode(u,f)))}},handleTabClick(u){m=null,n.value=Number(u.paneKey)},formatTabTitle(u){return u.selectedNode?u.selectedNode.text:y("select")},isSelected(u,f){return u.selectedNode&&u.selectedNode.value===f.value}};return t.watch([l,()=>e.options],()=>{h()},{deep:!0,immediate:!0}),t.watch(()=>e.modelValue,u=>{u!==r.value&&(r.value=u,p())}),t.watch(()=>e.visible,u=>{u&&Array.isArray(r.value)&&r.value.length>0&&p()}),{panes:i,initLoading:a,tabsCursor:n,...b}}}),$u={role:"menu",class:"fox-cascader__pane"},Du=["aria-checked","aria-disabled","onClick"],xu={class:"fox-cascader__item__title"},Iu=t.createElementVNode("view",{class:"fox-cascader__pane"},null,-1);function qu(e,o,l,n,a,r){const s=t.resolveComponent("Loading"),i=t.resolveComponent("Checklist"),c=t.resolveComponent("fox-tab-pane"),d=t.resolveComponent("fox-tabs");return t.openBlock(),t.createBlock(d,{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",$u,[(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:v=>e.handleNode(p,!1)},[t.createElementVNode("view",xu,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,Du))),128))])]),_:2},1032,["title"]))),128)):(t.openBlock(),t.createBlock(c,{key:1,title:"Loading..."},{default:t.withCtx(()=>[Iu]),_:1}))]),_:1},8,["modelValue","onClick"])}const zu=Z(Eu,[["render",qu]]),{create:Mu}=H("cascader"),Pu=Mu({components:{FoxCascaderPane:zu,FoxPopup:ce},props:{...rt,modelValue:Array,visible:Boolean,title:String,options:{type:Array,default:()=>[]},lazy:Boolean,lazyLoad:Function,valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},poppable:{type:Boolean,default:!0},convertConfig:Object},emits:["update:modelValue","change","pathChange","update:visible"],setup(e,{emit: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}}}),Ru=["innerHTML"];function Lu(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,Ru)):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 Do=Z(Pu,[["render",Lu]]);function Pt(e,o){const l=e.textKey??"text";return o[l]??""}function Rt(e,o){const l=e.valueKey??"value";return o[l]}function Gr(e,o){const l=e.childrenKey??"children";return o[l]}function Qt(e,o=[]){const l={texts:[],values:[]};for(let n=0;n<o.length;n++){const a=o[n],r=Pt(e,a),s=Rt(e,a);l.texts.push(r),l.values.push(s??"")}return l}function Zr(e,o,l,n,a=[]){if(!l)return;const r=l[n];for(let s=0;s<o.length;s++)if(Pt(e,o[s])===r){const c=Rt(e,o[s])??"",d={[e.textKey]:r,[e.valueKey]:c};a.push(d);const m=Gr(e,o[s]);Array.isArray(m)&&Zr(e,m,l,n+1,a);return}}function Jr(e,o,l,n,a=[]){if(!l)return;const r=l[n];for(let s=0;s<o.length;s++)if(Rt(e,o[s])===r){const c=Pt(e,o[s])??"",d={[e.textKey]:c,[e.valueKey]:r};a.push(d);const m=Gr(e,o[s]);Array.isArray(m)&&Jr(e,m,l,n+1,a);return}}function Go(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=Pt(e,o[n]),r=Pt(e,l[n]);if(a!==r)return!1;const s=Rt(e,o[n]),i=Rt(e,l[n]);if(s!==i)return!1}return!0}let Ou=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=St(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):($e(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}};function Fu(){const e=t.getCurrentInstance();return new Ou(e.proxy)}function Ku(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 d=Ne(t.computed(()=>i.disabled)),m=Te(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=re.useFoxI18n(o),v=p(i,["placeholder"]),g=t.ref(!1),y=Fu(),b=t.ref([]);t.watch([()=>i.source,()=>i.params],async([K,q])=>{K&&(b.value=await y.load(K,q))},{immediate:!0});const u=t.ref([]),f=t.computed(()=>Array.isArray(u.value)?u.value.join(" "):u.value),k=t.ref([]),S=t.ref([]);t.watch([()=>i.modelValue],async([K])=>{if(i.lazy===!0){S.value.length==0&&(u.value=Array.isArray(K)?K:[],k.value=Array.isArray(K)?K:[]);return}if(i.valueType==="item"){let q=K;if(!Go(i,q,S.value)){S.value=q;let F=Qt(i,q);u.value=F.texts,k.value=F.values}}else if(i.valueType==="text"){let q=K,F=[];if(Zr(i,b.value,q,0,F),!Go(i,F,S.value)){S.value=F;let U=Qt(i,F);q.value=U.texts,k.value=U.values}}else{let q=[];if(Jr(i,b.value,K,0,q),!Go(i,q,S.value)){S.value=q;let F=Qt(i,q);u.value=F.texts,k.value=F.values}}},{immediate:!0});const B="fox-input-item",T=t.computed(()=>({[B]:!0,[`${B}__disabled`]:d.value})),$=we(t.computed(()=>i.textAlign),"textAlign"),E=t.computed(()=>{const K={};return $.value&&(K["text-align"]=$.value),K}),x=t.ref(!1),C=()=>{d.value===!0||m.value===!0||(x.value=!0)},w=K=>{x.value=K},z=(K,q)=>{let F=q.map(G=>{if(G==null)return G;let Y={...G};return Reflect.deleteProperty(Y,"text"),Y[i.textKey]=G.text??"",Reflect.deleteProperty(Y,"value"),Y[i.valueKey]=G.value??"",Y});S.value=F;let U=Qt(i,F);u.value=U.texts,k.value=U.values,i.valueType==="text"?(h("change",u.value,F),h("update:modelValue",u.value)):i.valueType==="item"?(h("change",F,F),h("update:modelValue",F)):(h("change",k.value,F),h("update:modelValue",k.value)),h("update:pathNodes",F)},P=K=>{let q=K.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});h("pathChange",q)},A=K=>{g.value=!0,h("focus",k.value,K)},V=K=>{setTimeout(()=>{g.value=!1},0),h("blur",k.value,K)},D=t.computed(()=>({[`${B}__append`]:!0})),N=t.computed(()=>ge(i.unit)>0),R=t.computed(()=>ge(i.unit)>0&&!g.value),M=t.computed(()=>({hidden:!R.value})),I=K=>{S.value=[],u.value=[],k.value=[],h("update:modelValue",[]),h("change",[],K),h("clear",[]),h("update:pathNodes",[])},L=t.computed(()=>i.clearable&&!d.value&&!m.value),Q=t.computed(()=>{let K=k.value&&k.value.length>0;return i.clearable&&K&&g.value}),W=K=>{Q.value?I(K):C()},_=t.computed(()=>Q.value&&L.value?n:a),O=t.computed(()=>({action:!0}));return()=>{const K={class:T.value,style:E.value,type:"text",maxlength:i.maxLength,placeholder:v.placeholder.value,readonly:!0,unselectable:"on",value:f.value,onClick:C,onFocus:A,onBlur:V};s&&(K.disabled=!0);const q=[],F=t.h("input",K);q.push(F);const U=[],G={class:["action-icon"]},Y=t.h(_.value,G),j={class:O.value,onClick:W},X=t.h("view",j,{default:()=>[Y]});if(U.push(X),N.value){const Ge=t.h("view",{class:M.value},[i.unit]);U.push(Ge)}const J={class:D.value},te=t.h("view",J,{default:()=>U});q.push(te);const oe={default:()=>q};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;let le={};le.visible=x.value,le["onUpdate:visible"]=w,le.modelValue=k.value,le.onChange=z,le.onPathChange=P,le.options=b.value,le.title=i.title,le.lazy=i.lazy,le.lazyLoad=i.lazyLoad,le.valueKey=i.valueKey,le.textKey=i.textKey,le.childrenKey=i.childrenKey,le.convertConfig=i.convertConfig;const pe=t.h(r,le);oe.hide=()=>[pe];const ve=ye(i,fe,ue);return t.h(l,ve,oe)}}}}const{componentName:Uu,create:Hu,scope:ju}=H("cascader-item"),Wn=Hu(Ku(Uu,ju,Ce,ee.CircleClose,ee.ArrowRight,Do,!1));var Ue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function He(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _r={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,function(){var l=1e3,n=6e4,a=36e5,r="millisecond",s="second",i="minute",c="hour",d="day",m="week",h="month",p="quarter",v="year",g="date",y="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|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("_")},k=function(P,A,V){var D=String(P);return!D||D.length>=A?P:""+Array(A+1-D.length).join(V)+P},S={s:k,z:function(P){var A=-P.utcOffset(),V=Math.abs(A),D=Math.floor(V/60),N=V%60;return(A<=0?"+":"-")+k(D,2,"0")+":"+k(N,2,"0")},m:function P(A,V){if(A.date()<V.date())return-P(V,A);var D=12*(V.year()-A.year())+(V.month()-A.month()),N=A.clone().add(D,h),R=V-N<0,M=A.clone().add(D+(R?-1:1),h);return+(-(D+(V-N)/(R?N-M:M-N))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:h,y:v,w:m,d,D:g,h:c,m:i,s,ms:r,Q:p}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},B="en",T={};T[B]=f;var $=function(P){return P instanceof w},E=function P(A,V,D){var N;if(!A)return B;if(typeof A=="string"){var R=A.toLowerCase();T[R]&&(N=R),V&&(T[R]=V,N=R);var M=A.split("-");if(!N&&M.length>1)return P(M[0])}else{var I=A.name;T[I]=A,N=I}return!D&&N&&(B=N),N||!D&&B},x=function(P,A){if($(P))return P.clone();var V=typeof A=="object"?A:{};return V.date=P,V.args=arguments,new w(V)},C=S;C.l=E,C.i=$,C.w=function(P,A){return x(P,{locale:A.$L,utc:A.$u,x:A.$x,$offset:A.$offset})};var w=function(){function P(V){this.$L=E(V.locale,null,!0),this.parse(V)}var A=P.prototype;return A.parse=function(V){this.$d=function(D){var N=D.date,R=D.utc;if(N===null)return new Date(NaN);if(C.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var M=N.match(b);if(M){var I=M[2]-1||0,L=(M[7]||"0").substring(0,3);return R?new Date(Date.UTC(M[1],I,M[3]||1,M[4]||0,M[5]||0,M[6]||0,L)):new Date(M[1],I,M[3]||1,M[4]||0,M[5]||0,M[6]||0,L)}}return new Date(N)}(V),this.$x=V.x||{},this.init()},A.init=function(){var V=this.$d;this.$y=V.getFullYear(),this.$M=V.getMonth(),this.$D=V.getDate(),this.$W=V.getDay(),this.$H=V.getHours(),this.$m=V.getMinutes(),this.$s=V.getSeconds(),this.$ms=V.getMilliseconds()},A.$utils=function(){return C},A.isValid=function(){return this.$d.toString()!==y},A.isSame=function(V,D){var N=x(V);return this.startOf(D)<=N&&N<=this.endOf(D)},A.isAfter=function(V,D){return x(V)<this.startOf(D)},A.isBefore=function(V,D){return this.endOf(D)<x(V)},A.$g=function(V,D,N){return C.u(V)?this[D]:this.set(N,V)},A.unix=function(){return Math.floor(this.valueOf()/1e3)},A.valueOf=function(){return this.$d.getTime()},A.startOf=function(V,D){var N=this,R=!!C.u(D)||D,M=C.p(V),I=function(F,U){var G=C.w(N.$u?Date.UTC(N.$y,U,F):new Date(N.$y,U,F),N);return R?G:G.endOf(d)},L=function(F,U){return C.w(N.toDate()[F].apply(N.toDate("s"),(R?[0,0,0,0]:[23,59,59,999]).slice(U)),N)},Q=this.$W,W=this.$M,_=this.$D,O="set"+(this.$u?"UTC":"");switch(M){case v:return R?I(1,0):I(31,11);case h:return R?I(1,W):I(0,W+1);case m:var K=this.$locale().weekStart||0,q=(Q<K?Q+7:Q)-K;return I(R?_-q:_+(6-q),W);case d:case g:return L(O+"Hours",0);case c:return L(O+"Minutes",1);case i:return L(O+"Seconds",2);case s:return L(O+"Milliseconds",3);default:return this.clone()}},A.endOf=function(V){return this.startOf(V,!1)},A.$set=function(V,D){var N,R=C.p(V),M="set"+(this.$u?"UTC":""),I=(N={},N[d]=M+"Date",N[g]=M+"Date",N[h]=M+"Month",N[v]=M+"FullYear",N[c]=M+"Hours",N[i]=M+"Minutes",N[s]=M+"Seconds",N[r]=M+"Milliseconds",N)[R],L=R===d?this.$D+(D-this.$W):D;if(R===h||R===v){var Q=this.clone().set(g,1);Q.$d[I](L),Q.init(),this.$d=Q.set(g,Math.min(this.$D,Q.daysInMonth())).$d}else I&&this.$d[I](L);return this.init(),this},A.set=function(V,D){return this.clone().$set(V,D)},A.get=function(V){return this[C.p(V)]()},A.add=function(V,D){var N,R=this;V=Number(V);var M=C.p(D),I=function(W){var _=x(R);return C.w(_.date(_.date()+Math.round(W*V)),R)};if(M===h)return this.set(h,this.$M+V);if(M===v)return this.set(v,this.$y+V);if(M===d)return I(1);if(M===m)return I(7);var L=(N={},N[i]=n,N[c]=a,N[s]=l,N)[M]||1,Q=this.$d.getTime()+V*L;return C.w(Q,this)},A.subtract=function(V,D){return this.add(-1*V,D)},A.format=function(V){var D=this,N=this.$locale();if(!this.isValid())return N.invalidDate||y;var R=V||"YYYY-MM-DDTHH:mm:ssZ",M=C.z(this),I=this.$H,L=this.$m,Q=this.$M,W=N.weekdays,_=N.months,O=function(U,G,Y,j){return U&&(U[G]||U(D,R))||Y[G].slice(0,j)},K=function(U){return C.s(I%12||12,U,"0")},q=N.meridiem||function(U,G,Y){var j=U<12?"AM":"PM";return Y?j.toLowerCase():j},F={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Q+1,MM:C.s(Q+1,2,"0"),MMM:O(N.monthsShort,Q,_,3),MMMM:O(_,Q),D:this.$D,DD:C.s(this.$D,2,"0"),d:String(this.$W),dd:O(N.weekdaysMin,this.$W,W,2),ddd:O(N.weekdaysShort,this.$W,W,3),dddd:W[this.$W],H:String(I),HH:C.s(I,2,"0"),h:K(1),hh:K(2),a:q(I,L,!0),A:q(I,L,!1),m:String(L),mm:C.s(L,2,"0"),s:String(this.$s),ss:C.s(this.$s,2,"0"),SSS:C.s(this.$ms,3,"0"),Z:M};return R.replace(u,function(U,G){return G||F[U]||M.replace(":","")})},A.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},A.diff=function(V,D,N){var R,M=C.p(D),I=x(V),L=(I.utcOffset()-this.utcOffset())*n,Q=this-I,W=C.m(this,I);return W=(R={},R[v]=W/12,R[h]=W,R[p]=W/3,R[m]=(Q-L)/6048e5,R[d]=(Q-L)/864e5,R[c]=Q/a,R[i]=Q/n,R[s]=Q/l,R)[M]||Q,N?W:C.a(W)},A.daysInMonth=function(){return this.endOf(h).$D},A.$locale=function(){return T[this.$L]},A.locale=function(V,D){if(!V)return this.$L;var N=this.clone(),R=E(V,D,!0);return R&&(N.$L=R),N},A.clone=function(){return C.w(this.$d,this)},A.toDate=function(){return new Date(this.valueOf())},A.toJSON=function(){return this.isValid()?this.toISOString():null},A.toISOString=function(){return this.$d.toISOString()},A.toString=function(){return this.$d.toUTCString()},P}(),z=w.prototype;return x.prototype=z,[["$ms",r],["$s",s],["$m",i],["$H",c],["$W",d],["$M",h],["$y",v],["$D",g]].forEach(function(P){z[P[1]]=function(A){return this.$g(A,P[0],P[1])}}),x.extend=function(P,A){return P.$i||(P(A,w,x),P.$i=!0),x},x.locale=E,x.isDayjs=$,x.unix=function(P){return x(1e3*P)},x.en=T[B],x.Ls=T,x.p={},x})})(_r);var Wu=_r.exports;const Pe=He(Wu);var es={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,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)},d=function(y){return function(b){this[y]=+b}},m=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var u=b.match(/([+-]|\d\d)/g),f=60*u[1]+(+u[2]||0);return f===0?0:u[0]==="+"?-f:f}(y)}],h=function(y){var b=i[y];return b&&(b.indexOf?b:b.s.concat(b.f))},p=function(y,b){var u,f=i.meridiem;if(f){for(var k=1;k<=24;k+=1)if(y.indexOf(f(k,0,b))>-1){u=k>12;break}}else u=y===(b?"pm":"PM");return u},v={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,d("seconds")],ss:[r,d("seconds")],m:[r,d("minutes")],mm:[r,d("minutes")],H:[r,d("hours")],h:[r,d("hours")],HH:[r,d("hours")],hh:[r,d("hours")],D:[r,d("day")],DD:[a,d("day")],Do:[s,function(y){var b=i.ordinal,u=y.match(/\d+/);if(this.day=u[0],b)for(var f=1;f<=31;f+=1)b(f).replace(/\[|\]/g,"")===y&&(this.day=f)}],M:[r,d("month")],MM:[a,d("month")],MMM:[s,function(y){var b=h("months"),u=(h("monthsShort")||b.map(function(f){return f.slice(0,3)})).indexOf(y)+1;if(u<1)throw new Error;this.month=u%12||u}],MMMM:[s,function(y){var b=h("months").indexOf(y)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,d("year")],YY:[a,function(y){this.year=c(y)}],YYYY:[/\d{4}/,d("year")],Z:m,ZZ:m};function g(y){var b,u;b=y,u=i&&i.formats;for(var f=(y=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,C,w){var z=w&&w.toUpperCase();return C||u[w]||l[w]||u[z].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,A,V){return A||V.slice(1)})})).match(n),k=f.length,S=0;S<k;S+=1){var B=f[S],T=v[B],$=T&&T[0],E=T&&T[1];f[S]=E?{regex:$,parser:E}:B.replace(/^\[|\]$/g,"")}return function(x){for(var C={},w=0,z=0;w<k;w+=1){var P=f[w];if(typeof P=="string")z+=P.length;else{var A=P.regex,V=P.parser,D=x.slice(z),N=A.exec(D)[0];V.call(C,N),x=x.replace(N,"")}}return function(R){var M=R.afternoon;if(M!==void 0){var I=R.hours;M?I<12&&(R.hours+=12):I===12&&(R.hours=0),delete R.afternoon}}(C),C}}return function(y,b,u){u.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(c=y.parseTwoDigitYear);var f=b.prototype,k=f.parse;f.parse=function(S){var B=S.date,T=S.utc,$=S.args;this.$u=T;var E=$[1];if(typeof E=="string"){var x=$[2]===!0,C=$[3]===!0,w=x||C,z=$[2];C&&(z=$[2]),i=this.$locale(),!x&&z&&(i=u.Ls[z]),this.$d=function(D,N,R){try{if(["x","X"].indexOf(N)>-1)return new Date((N==="X"?1e3:1)*D);var M=g(N)(D),I=M.year,L=M.month,Q=M.day,W=M.hours,_=M.minutes,O=M.seconds,K=M.milliseconds,q=M.zone,F=new Date,U=Q||(I||L?1:F.getDate()),G=I||F.getFullYear(),Y=0;I&&!L||(Y=L>0?L-1:F.getMonth());var j=W||0,X=_||0,J=O||0,te=K||0;return q?new Date(Date.UTC(G,Y,U,j,X,J,te+60*q.offset*1e3)):R?new Date(Date.UTC(G,Y,U,j,X,J,te)):new Date(G,Y,U,j,X,J,te)}catch{return new Date("")}}(B,E,T),this.init(),z&&z!==!0&&(this.$L=this.locale(z).$L),w&&B!=this.format(E)&&(this.$d=new Date("")),i={}}else if(E instanceof Array)for(var P=E.length,A=1;A<=P;A+=1){$[1]=E[A-1];var V=u.apply(this,$);if(V.isValid()){this.$d=V.$d,this.$L=V.$L,this.init();break}A===P&&(this.$d=new Date(""))}else k.call(this,S)}}})})(es);var Yu=es.exports;const Xu=He(Yu);var ts={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,function(){return function(l,n,a){var r=n.prototype,s=r.format;a.en.ordinal=function(i){var c=["th","st","nd","rd"],d=i%100;return"["+i+(c[(d-20)%10]||c[d]||c[0])+"]"},r.format=function(i){var c=this,d=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 d.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return d.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)}}})})(ts);var Qu=ts.exports;const Gu=He(Qu);var os={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,function(){return function(l,n,a){var r=n.prototype,s=function(h){return h&&(h.indexOf?h:h.s)},i=function(h,p,v,g,y){var b=h.name?h:h.$locale(),u=s(b[p]),f=s(b[v]),k=u||f.map(function(B){return B.slice(0,g)});if(!y)return k;var S=b.weekStart;return k.map(function(B,T){return k[(T+(S||0))%7]})},c=function(){return a.Ls[a.locale()]},d=function(h,p){return h.formats[p]||function(v){return v.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(g,y,b){return y||b.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 d(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 d(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)}}})})(os);var Zu=os.exports;const Ju=He(Zu);var ns={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,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 d=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var m=s(this).startOf(n).add(1,n).date(d),h=s(this).endOf(l);if(m.isBefore(h))return 1}var p=s(this).startOf(n).date(d).startOf(l).subtract(1,"millisecond"),v=this.diff(p,l,!0);return v<0?s(this).startOf("week").week():Math.ceil(v)},i.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(ns);var _u=ns.exports;const ed=He(_u);var ls={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,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}}})})(ls);var td=ls.exports;const od=He(td);var as={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,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")}}})})(as);var nd=as.exports;const ld=He(nd);var rs={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,function(){return function(l,n){n.prototype.isSameOrAfter=function(a,r){return this.isSame(a,r)||this.isAfter(a,r)}}})})(rs);var ad=rs.exports;const rd=He(ad);var ss={exports:{}};(function(e,o){(function(l,n){e.exports=n()})(Ue,function(){return function(l,n){n.prototype.isSameOrBefore=function(a,r){return this.isSame(a,r)||this.isBefore(a,r)}}})})(ss);var sd=ss.exports;const id=He(sd);Pe.extend(Ju);Pe.extend(Gu);Pe.extend(Xu);Pe.extend(ed);Pe.extend(od);Pe.extend(ld);Pe.extend(rd);Pe.extend(id);const ne={format(e,o){return Pe(e).format(o)},parser(e,o){return Pe(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,d=r+(6-s)*864e5,m=this.date2Str(new Date(c)),h=this.date2Str(new Date(d));return[m,h]}else{s=s==0?7:s;const i=24*60*60*1e3,c=r-(s-1)*i,d=r+(7-s)*i,m=this.date2Str(new Date(c)),h=this.date2Str(new Date(d));return[m,h]}},formatResultDate:function(e){let o=[...e.split("-")];return o[2]=ne.getNumTwoBit(Number(o[2])),o[3]=`${o[0]}-${o[1]}-${o[2]}`,o[4]=ne.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}},Ha=new Date().getFullYear(),Yn={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"},fo=(e,o,l)=>{let n;if(Oe(o)?n=o:typeof o=="string"&&ge(o)>0?n=ne.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)},yn=(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()),ne.format(new Date(n),l)};let vn={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(Ha-10,0,1),validator:Oe},maxDate:{type:Date,default:()=>new Date(Ha+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:cd,scope:ud}=H("date-picker"),dd=cd({components:{[gt.name]:gt},props:{...vn},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:o}){const{t:l}=re.useFoxI18n(ud),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,u=>{a.value=u});function r(u,f){return new Date(u,f,0).getDate()}const s=(u,f)=>{const k=e[`${u}Date`],S=k.getFullYear();let B=1,T=1,$=0,E=0;u==="max"&&(B=12,T=r(f.getFullYear(),f.getMonth()+1),$=23,E=59);const x=E;return f.getFullYear()===S&&(B=k.getMonth()+1,f.getMonth()+1===B&&(T=k.getDate(),f.getDate()===T&&($=k.getHours(),f.getHours()===$&&(E=k.getMinutes())))),{[`${u}Year`]:S,[`${u}Month`]:B,[`${u}Date`]:T,[`${u}Hour`]:$,[`${u}Minute`]:E,[`${u}Seconds`]:x}},i=t.computed(()=>{if(!p.value)return[];const{maxYear:u,maxDate:f,maxMonth:k,maxHour:S,maxMinute:B,maxSeconds:T}=s("max",p.value),{minYear:$,minDate:E,minMonth:x,minHour:C,minMinute:w,minSeconds:z}=s("min",p.value);let P=[{type:"year",range:[$,u]},{type:"month",range:[x,k]},{type:"day",range:[E,f]},{type:"hour",range:[C,S]},{type:"minute",range:[w,B]},{type:"seconds",range:[z,T]}];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=(u,f,k)=>{if(!(f>u))return null;const S=[];for(;u<=f;)e.isShowChinese?S.push({text:u+n[k],value:u}):S.push({text:`${u}`,value:u}),k==="minute"?u+=e.minuteStep:u++;return S},d=t.computed(()=>{let u=[];return i.value.forEach(f=>{let k=c(f.range[0],f.range[1],f.type);k&&u.push(k)}),u}),m=(u,f)=>u==="year"?f.getFullYear():u==="month"?f.getMonth()+1:u==="day"?f.getDate():u==="hour"?f.getHours():u==="minute"?f.getMinutes():u==="seconds"?f.getSeconds():0,h=t.ref(),p=t.ref(null);t.watchEffect(()=>{let u,f=e.modelValue;if(typeof f=="string"?f.length==0?u=new Date:e.valueFormat?u=fo(e,e.modelValue,e.valueFormat):u=fo(e,f,Yn[e.type]):Oe(f)?u=f:u=new Date,!!u&&(!p.value||u.getTime()!==p.value.getTime())){p.value=u;let k=[];i.value.forEach(S=>{let B=m(S.type,u);k.push(B)}),h.value=k}});const v=u=>{if(e.type==="date"){let f=u;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=u;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=u,k=p.value??new Date,S=new Date(k.getFullYear(),k.getMonth(),k.getDate(),f[0],f[1],f[2]);p.value=S}else if(e.type==="year-month"){let f=u,k=new Date(f[0],f[1]-1);p.value=k}else if(e.type==="month-day"){let f=u,k=p.value??new Date,S=new Date(k.getFullYear(),f[0]-1,f[1]);p.value=S}else if(e.type==="datehour"){let f=u;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=u,k=p.value??new Date,S=new Date(k.getFullYear(),k.getMonth(),k.getDate(),f[0],f[1]);p.value=S}h.value=u};return{columns:d,dateIndexs:h,show:a,onClose:()=>{a.value=!1,o("update:visible",!1),o("update:close",!1)},onConfirm:u=>{v(u),a.value=!1;let f=p.value??new Date;if(e.valueFormat){let k=yn(e,f,e.valueFormat);o("update:modelValue",k)}else o("update:modelValue",f);o("update:visible",!1),o("confirm",u)},onClear:()=>{o("clear")}}}});function fd(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 xo=Z(dd,[["render",fd]]);function md(e){let o=e.format;if(!o){let l=e.type??"date";o=Yn[l]}return o}function pd(e,o,l,n,a,r,s=!1){return{props:{...ue,...fe,...vn,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 d=Ne(t.computed(()=>i.disabled)),m=Te(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=re.useFoxI18n(o),v=p(i,["placeholder"]),g=t.ref(!1),b=De(i,"modelValue",W=>W==null?null:typeof W=="string"?W.length==0?null:i.valueFormat?fo(i,W,i.valueFormat)??W:fo(i,W,Yn[i.type])??W:Oe(W)?W:null),u=t.computed(()=>{if(!b.value)return"";const W=md(i);return yn(i,b.value,W)}),f="fox-input-item",k=t.computed(()=>({[f]:!0,[`${f}__disabled`]:d.value})),S=we(t.computed(()=>i.textAlign),"textAlign"),B=t.computed(()=>{const W={};return S.value&&(W["text-align"]=S.value),W}),T=t.ref(!1),$=()=>{T.value=!0},E=()=>{T.value=!1};c.expose({showPicker:$,hidePicker:E});const x=W=>{T.value=W},C=W=>{if(b.value=W,i.valueFormat){let _=yn(i,W,i.valueFormat);h("update:modelValue",_,{}),h("change",_,{})}else h("update:modelValue",W,{}),h("change",W,{})},w=W=>{let O=W.target.value;g.value=!0,h("focus",O,W)},z=W=>{setTimeout(()=>{g.value=!1},0);let O=W.target.value;i.maxLength&&O.length>Number(i.maxLength)&&(O=O.slice(0,Number(i.maxLength))),h("blur",O,W)},P=t.computed(()=>({[`${f}__append`]:!0})),A=t.computed(()=>ge(i.unit)>0),V=t.computed(()=>ge(i.unit)>0&&!g.value),D=t.computed(()=>({hidden:!V.value})),N=W=>{b.value="",h("update:modelValue","",W),h("change","",W),h("clear",""),E()},R=t.computed(()=>i.clearable&&!d.value&&!m.value),M=t.computed(()=>{let W=ge(b.value)>0;return i.clearable&&W&&g.value}),I=W=>{M.value?N(W):$()},L=t.computed(()=>M.value&&R.value?n:a),Q=t.computed(()=>({action:!0}));return()=>{const W={class:k.value,style:B.value,type:"text",maxlength:i.maxLength,placeholder:v.placeholder.value,readonly:!0,unselectable:"on",value:u.value,onClick:$,onFocus:w,onBlur:z};s&&(W.disabled=!0);const _=[],O=t.h("input",W);_.push(O);const K=[],q={class:["action-icon"]},F=t.h(L.value,q),U={class:Q.value,onClick:I},G=t.h("view",U,{default:()=>[F]});if(K.push(G),A.value){const ve=t.h("view",{class:D.value},[i.unit]);K.push(ve)}const Y={class:P.value},j=t.h("view",Y,{default:()=>K});_.push(j);const X={default:()=>_};X.label=c.slots.default,X.prepend=c.slots.prepend,X.append=c.slots.append,X.fixedPreTip=c.slots.fixedPreTip,X.fixedTip=c.slots.fixedTip;const J=ye(i,vn);J.valueFormat=null,J.disabled=!1,J.readonly=d.value||m.value,J.visible=T.value,J["onUpdate:visible"]=x,J.modelValue=b.value,J["onUpdate:modelValue"]=C,J.onClear=N;const te={};if(c.slots.top){const ve=c.slots.top();te.top=()=>ve}if(c.slots.bottom){const ve=c.slots.bottom();te.default=()=>ve}const oe=t.h(r,J,te);X.hide=()=>[oe];const le=ye(i,fe,ue);return t.h(l,le,X)}}}}const{create:hd,componentName:gd,scope:yd}=H("date-item"),Xn=hd(pd(gd,yd,Ce,ee.CircleClose,ee.Date,xo,!1)),vd=39,kd=64,{create:bd,scope:Sd}=H("calendar-pane"),Cd=bd({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:ne.getDay(0)},endDate:{type:String,default:ne.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:o,slots:l}){const{toLocaleRefs:n,t:a}=re.useFoxI18n(Sd),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),d=t.ref(null),m=t.ref(null),h=t.ref(null),p=t.ref(0),v=t.computed(()=>u.monthsData.slice(u.defaultRange[0],u.defaultRange[1])),g=t.computed(()=>l.btn),y=t.computed(()=>l["top-info"]),b=t.computed(()=>l["bottom-info"]),u=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=q=>q.split("-"),k=q=>ne.isEqual(u.currDate[0],q),S=q=>ne.isEqual(u.currDate[1],q),B=q=>u.currDate?.length>0?u.currDate?.some(F=>ne.isEqual(F,q)):!1,T=(q,F)=>F.curData[0]+"-"+F.curData[1]+"-"+ne.getNumTwoBit(+q.day),$=(q,F)=>{const U=T(q,F),{type:G}=e;return q.type=="curr"?ne.isEqual(u.currDate,U)||(G=="range"||G=="week")&&(k(U)||S(U))||G=="multiple"&&B(U)?`${u.dayPrefix}--active`:u.propStartDate&&ne.compareDate(U,u.propStartDate)||u.propEndDate&&ne.compareDate(u.propEndDate,U)?`${u.dayPrefix}--disabled`:(G=="range"||G=="week")&&Array.isArray(u.currDate)&&Object.values(u.currDate).length==2&&ne.compareDate(u.currDate[0],U)&&ne.compareDate(U,u.currDate[1])?`${u.dayPrefix}--choose`:null:`${u.dayPrefix}--disabled`},E=()=>{const{type:q}=e;if(q=="range"&&u.chooseData.length==2||q!="range"){let F=u.chooseData.slice(0);q=="week"&&(F={weekDate:[C(u.chooseData[0]),C(u.chooseData[1])]}),o("choose",F),e.poppable&&o("update")}},x=(q,F,U=!1)=>{if($(q,F)!=`${u.dayPrefix}--disabled`){const{type:G}=e;let[Y,j]=F.curData,X=[...F.curData];if(X[2]=ne.getNumTwoBit(Number(q.day)),X[3]=`${X[0]}-${X[1]}-${X[2]}`,X[4]=ne.getWhatDay(+X[0],+X[1],+X[2]),G=="multiple")if(u.currDate?.length>0){let J;u.currDate?.forEach((te,oe)=>{te==X[3]&&(J=oe)}),U?u.chooseData.push([...X]):J!==void 0?(u.currDate.splice(J,1),u.chooseData.splice(J,1)):(u.currDate.push(X[3]),u.chooseData.push([...X]))}else u.currDate=[X[3]],u.chooseData=[[...X]];else if(G=="range"){let J=Object.values(u.currDate).length;J==2||J==0?u.currDate=[X[3]]:ne.compareDate(u.currDate[0],X[3])?Array.isArray(u.currDate)&&u.currDate.push(X[3]):Array.isArray(u.currDate)&&u.currDate.unshift(X[3]),u.chooseData.length==2||!u.chooseData.length?u.chooseData=[[...X]]:ne.compareDate(u.chooseData[0][3],X[3])?u.chooseData=[...u.chooseData,[...X]]:u.chooseData=[[...X],...u.chooseData]}else if(G=="week"){let J=ne.getWeekDate(Y,j,q.day,e.firstDayOfWeek);u.propStartDate&&ne.compareDate(J[0],u.propStartDate)&&J.splice(0,1,u.propStartDate),u.propEndDate&&ne.compareDate(u.propEndDate,J[1])&&J.splice(1,1,u.propEndDate),u.currDate=J,u.chooseData=[ne.formatResultDate(J[0]),ne.formatResultDate(J[1])]}else u.currDate=X[3],u.chooseData=[...X];if(!U){let J=u.chooseData;G=="week"&&(J={weekDate:[C(u.chooseData[0]),C(u.chooseData[1])]}),o("select",J),(e.isAutoBackFill||!e.poppable)&&E()}}},C=q=>{let[F,U,G]=q;return{date:q,monthWeekNum:ne.getMonthWeek(F,U,G,e.firstDayOfWeek),yearWeekNum:ne.getYearWeek(F,U,G,e.firstDayOfWeek)}},w=q=>{const F=q=="prev"?u.monthsData[0]:u.monthsData[u.monthsData.length-1];let U=parseInt(F.curData[0]),G=parseInt(F.curData[1].toString().replace(/^0/,""));switch(q){case"prev":G==1&&(U-=1),G=G==1?12:--G;break;case"next":G==12&&(U+=1),G=G==12?1:++G;break}return[U+"",ne.getNumTwoBit(G),ne.getMonthDays(String(U),String(G))+""]},z=(q,F,U)=>{let{year:G,month:Y}=U;return F=="prev"&&q>=7&&(q-=7),Array.from(Array(q),(j,X)=>({day:String(X+1),type:F,year:G,month:Y}))},P=(q,F,U,G)=>{q=q-e.firstDayOfWeek;let{year:Y,month:j}=U;return F=="prev"&&q>=7&&(q-=7),Array.from(Array(G),(J,te)=>({day:String(te+1),type:F,year:Y,month:j})).slice(G-q)},A=(q,F)=>{const U=ne.getMonthPreDay(+q[0],+q[1]);let G=Number(q[1])-1,Y=Number(q[0]);G<=0&&(G=12,Y+=1);const j=ne.getMonthDays(String(q[0]),String(q[1])),X=ne.getMonthDays(Y+"",G+""),J={year:q[0],month:q[1]},te={curData:q,title:a("monthTitle",{year:J.year,month:J.month}),monthData:[...P(U,"prev",{month:String(G),year:String(Y)},X),...z(j,"curr",J)],cssHeight:0,cssScrollHeight:0},oe=te.monthData.length>35?6:5;te.cssHeight=vd+kd*oe;let le=0;u.monthsData.length>0&&(le=u.monthsData[u.monthsData.length-1].cssScrollHeight+u.monthsData[u.monthsData.length-1].cssHeight),te.cssScrollHeight=le,F=="next"?(!u.endData||!ne.compareDate(`${u.endData[0]}-${u.endData[1]}-${ne.getMonthDays(u.endData[0],u.endData[1])}`,`${q[0]}-${q[1]}-${q[2]}`))&&u.monthsData.push(te):!u.startData||!ne.compareDate(`${q[0]}-${q[1]}-${q[2]}`,`${u.startData[0]}-${u.startData[1]}-01`)?u.monthsData.unshift(te):u.unLoadPrev=!0},V=()=>{let q=e.startDate?e.startDate:ne.getDay(0),F=e.endDate?e.endDate:ne.getDay(365);u.propStartDate=q,u.propEndDate=F,u.startData=f(q),u.endData=f(F),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(u.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const U={year:Number(u.startData[0]),month:Number(u.startData[1])},G={year:Number(u.endData[0]),month:Number(u.endData[1])};let Y=G.month-U.month;G.year-U.year>0&&(Y=Y+12*(G.year-U.year)),Y<=0&&(Y=1),A(u.startData,"next");let j=1;do A(w("next"),"next");while(j++<Y);if(u.monthsNum=Y,e.type=="range"&&Array.isArray(u.currDate))u.currDate.length>0&&(q&&ne.compareDate(u.currDate[0],q)&&u.currDate.splice(0,1,q),F&&ne.compareDate(F,u.currDate[1])&&u.currDate.splice(1,1,F),u.defaultData=[...f(u.currDate[0]),...f(u.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(u.currDate)){if(u.currDate.length>0){let X=[],J={};u.currDate.forEach(te=>{q&&!ne.compareDate(te,q)&&F&&!ne.compareDate(F,te)&&(Object.hasOwnProperty.call(J,te)||(X.push(te),J[te]=te))}),u.currDate=[...X],u.defaultData=[...f(X[0])]}}else if(e.type=="week"&&Array.isArray(u.currDate)){if(u.currDate.length>0){let[X,J,te]=f(u.currDate[0]),oe=ne.getWeekDate(X,J,te,e.firstDayOfWeek);u.currDate=oe,q&&ne.compareDate(u.currDate[0],q)&&u.currDate.splice(0,1,q),F&&ne.compareDate(F,u.currDate[1])&&u.currDate.splice(1,1,F),u.defaultData=[...f(u.currDate[0]),...f(u.currDate[1])]}}else u.currDate&&(q&&ne.compareDate(u.currDate,q)?u.currDate=q:F&&!ne.compareDate(u.currDate,F)&&(u.currDate=F),u.defaultData=[...f(u.currDate)])};Ae({scrollToDate:q=>{ne.compareDate(q,u.propStartDate)?q=u.propStartDate:ne.compareDate(q,u.propEndDate)||(q=u.propEndDate);let F=f(q);u.monthsData.forEach((U,G)=>{if(U.title==a("monthTitle",{year:F[0],month:F[1]})&&c.value){let Y=u.monthsData[G].cssScrollHeight-c.value.scrollTop;if(e.toDateAnimation){let j=0,X=setInterval(()=>{if(j++,c.value){let J=Y/10;c.value.scrollTop=c.value.scrollTop+J}j>=10&&(clearInterval(X),c.value&&(c.value.scrollTop=u.monthsData[G].cssScrollHeight))},40)}else c.value.scrollTop=u.monthsData[G].cssScrollHeight}})},initPosition:()=>{c?.value&&(c.value.scrollTop=u.monthsData[u.currentIndex].cssScrollHeight)},doLayout:()=>{let q=0,F=0;u.defaultData.length>0&&u.monthsData.forEach((Y,j)=>{Y.title==a("monthTitle",{year:u.defaultData[0],month:u.defaultData[1]})&&(q=j),(e.type=="range"||e.type=="week")&&Y.title==a("monthTitle",{year:u.defaultData[3],month:u.defaultData[4]})&&(F=j)}),M(u.monthsNum,q),u.currentIndex=q,u.yearMonthTitle=u.monthsData[u.currentIndex].title,u.defaultData.length>0&&(u.isRange?(x({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0),x({day:u.defaultData[5],type:"curr"},u.monthsData[F],!0)):e.type=="week"?x({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0):e.type=="multiple"?[...u.currDate].forEach(Y=>{let j=f(Y),X=u.currentIndex;u.monthsData.forEach((J,te)=>{J.title==a("monthTitle",{year:j[0],month:j[1]})&&(X=te)}),x({day:j[2],type:"curr"},u.monthsData[X],!0)}):x({day:u.defaultData[2],type:"curr"},u.monthsData[u.currentIndex],!0));let U=u.monthsData[u.monthsData.length-1],G=U.cssHeight+U.cssScrollHeight;We(()=>{c?.value&&d?.value&&h?.value&&(p.value=c.value.clientHeight,d.value.style.height=`${G}px`,c.value.scrollTop=u.monthsData[u.currentIndex].cssScrollHeight)}),u.avgHeight=Math.floor(G/(u.monthsNum+1))}});const M=(q,F)=>{q>=3?F>0&&F<q?u.defaultRange=[F-1,F+3]:F==0?u.defaultRange=[F,F+4]:F==q&&(u.defaultRange=[F-2,F+2]):u.defaultRange=[0,q+2];let U=u.monthsData[u.defaultRange[0]].cssScrollHeight;u.translateY=U},I=(q,F)=>(e.type=="range"||e.type=="week")&&q.type=="curr"&&$(q,F)=="fox-calendar__day--active",L=(q,F)=>I(q,F)&&k(T(q,F)),Q=(q,F)=>u.currDate.length>=2&&S(T(q,F))?I(q,F):!1,W=()=>{if(u.currDate.length>=2)return ne.isEqual(u.currDate[0],u.currDate[1])},_=q=>{const F=`${q.year}-${q.month}-${Number(q.day)<10?"0"+q.day:q.day}`;return ne.isEqual(F,ne.date2Str(new Date))},O=q=>{if(u.monthsData.length<=1)return;const F=q.target.scrollTop;let U=Math.floor(F/u.avgHeight);if(U==0)F>=u.monthsData[U+1].cssScrollHeight&&(U+=1);else if(U>0&&U<u.monthsNum-1)F>=u.monthsData[U+1].cssScrollHeight&&(U+=1),F<u.monthsData[U].cssScrollHeight&&(U-=1);else{const G=Math.round(F+p.value);G<u.monthsData[U].cssScrollHeight+u.monthsData[U].cssHeight&&F>u.monthsData[U-1].cssScrollHeight&&(U-=1),U+1<=u.monthsNum&&G>=u.monthsData[U+1].cssScrollHeight+u.monthsData[U+1].cssHeight&&(U+=1),U>=1&&F<u.monthsData[U-1].cssScrollHeight&&(U-=1)}u.currentIndex!==U&&(u.currentIndex=U,M(u.monthsNum,U)),u.yearMonthTitle=u.monthsData[U].title},K=()=>{u.chooseData.splice(0),u.monthsData.splice(0),V()};return V(),t.watch(()=>e.defaultValue,q=>{q&&e.poppable&&K()}),{weeks:i,compConthsData:v,showTopBtn:g,topInfo:y,bottomInfo:b,rangeTip:W,mothsViewScroll:O,getClass:$,isStartTip:L,isEndTip:Q,chooseDay:x,isCurrDay:_,confirm:E,months:c,...t.toRefs(u),...t.toRefs(e),...r,monthsPanel:d,weeksPanel:m,viewArea:h}}}),wd={class:"fox-calendar__header"},Nd={key:0,class:"fox-calendar__header-title"},Bd={key:1,class:"fox-calendar__header-slot"},Vd={key:2,class:"fox-calendar__header-subtitle"},Ad={class:"fox-calendar__weekdays",ref:"weeksPanel"},Td={class:"fox-calendar__panel",ref:"monthsPanel"},Ed={class:"fox-calendar__month-title"},$d={class:"fox-calendar__days"},Dd=["onClick"],xd={class:"fox-calendar__day-value"},Id={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},qd={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},zd={key:2,class:"fox-calendar__day-tips--curr"},Md={key:4,class:"fox-calendar__day-tip"},Pd={key:0,class:"fox-calendar__footer"};function Rd(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",wd,[e.showTitle?(t.openBlock(),t.createElementBlock("view",Nd,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.showTopBtn?(t.openBlock(),t.createElementBlock("view",Bd,[t.renderSlot(e.$slots,"btn")])):t.createCommentVNode("",!0),e.showSubTitle?(t.openBlock(),t.createElementBlock("view",Vd,t.toDisplayString(e.yearMonthTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("view",Ad,[(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",Td,[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",Ed,t.toDisplayString(s.title),1),t.createElementVNode("view",$d,[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,d)=>(t.openBlock(),t.createElementBlock("view",{key:d,class:t.normalizeClass(["fox-calendar__day",e.getClass(c,s)]),onClick:m=>e.chooseDay(c,s)},[t.createElementVNode("view",xd,[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",Id,[t.renderSlot(e.$slots,"top-info",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),e.bottomInfo?(t.openBlock(),t.createElementBlock("view",qd,[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",zd,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",Md,t.toDisplayString(e.endText),1)):t.createCommentVNode("",!0)],10,Dd))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?(t.openBlock(),t.createElementBlock("view",Pd,[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 ja=Z(Cd,[["render",Rd]]),Ld=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:Od}=H("calendar"),Fd=Od({components:{[ja.name]:ja,[ce.name]:ce},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)},d=()=>{i.value?.initPosition()};t.watch(()=>e.visible,y=>{y&&t.nextTick(()=>{i.value?i.value.doLayout():setTimeout(()=>{i.value&&i.value.doLayout()},250)})}),Ae({scrollToDate:c,initPosition:d});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 Kd(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 Io=Z(Fd,[["render",Kd]]),Zo=(e,o)=>{let l;return Oe(e)?l=e:typeof e=="string"&&ge(e)>0?l=ne.parser(e,o):l=new Date,l},st=(e,o,l)=>(Oe(o)||(o=new Date),ne.format(o,l)),it=e=>{let o=`${e.getFullYear()}`,l=`${e.getMonth()+1}`,n=`${e.getDate()}`,a=ne.date2Str(e),r=ne.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[o,l,n,a,r]};function Ud(e,o,l,n,{CloseIcon:a,MarkIcon:r},s=!1){return{props:{...ue,...fe,...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 d=Ne(t.computed(()=>i.disabled)),m=Te(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=re.useFoxI18n(o),v=p(i,["placeholder"]),g=t.ref(!1),y=t.computed(()=>i.type==="range"),b=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),u=()=>{b.startDate!==null&&(b.startDate=null,b.endDate=null,b.startArray=[],b.endArray=[])},f=(O,K="one",q="YYYY-MM-DD")=>{if(Ld(O)){u();return}if(y.value&&Array.isArray(O)&&O.length==2){let F,U;typeof O[0]=="string"?(F=Zo(O[0],q),U=Zo(O[1],q)):(F=O[0],U=O[1]);let G=it(F),Y=it(U);(b.startDate===null||b.startDate.getTime()!==F.getTime()||b.endDate?.getTime()!==U.getTime())&&(b.startDate=F,b.startArray=G,b.endDate=U,b.endArray=Y)}else{let F;typeof O=="string"?F=Zo(O,q):F=O;let U=it(F);(b.startDate===null||b.startDate.getTime()!==F.getTime())&&(b.startDate=F,b.startArray=U)}};f(i.modelValue,i.type,i.valueFormat),t.watch(()=>i.modelValue,O=>{f(O,i.type,i.valueFormat)});const k=t.computed(()=>{if(b.startDate===null)return"";if(y.value){let O=st(i,b.startDate,i.format),K=st(i,b.endDate,i.format);return`${O} ${i.rangeSeparator} ${K}`}else{let O=st(i,b.startDate,i.format);return i.showWeek&&(O=`${O} ${b.startArray[4]}`),O}}),S=t.computed(()=>{if(b.startDate===null)return null;if(y.value){let O=ne.date2Str(b.startDate),K=ne.date2Str(b.endDate??new Date);return[O,K]}else return ne.date2Str(b.startDate)}),B="fox-input-item",T=t.computed(()=>({[B]:!0,[`${B}__disabled`]:d.value})),$=we(t.computed(()=>i.textAlign),"textAlign"),E=t.computed(()=>{const O={};return $.value&&(O["text-align"]=$.value),O}),x=t.ref(!1),C=()=>{m.value||d.value||(x.value=!0)},w=O=>{x.value=O},z=O=>{if(O){if(y.value&&Array.isArray(O)){let K=O[0],q=me(K[0]),F=me(K[1]),U=me(K[2]),G=new Date(q,F-1,U),Y=O[1];q=me(Y[0]),F=me(Y[1]),U=me(Y[2]);let j=new Date(q,F-1,U);if(b.startDate=G,b.startArray=it(G),b.endDate=j,b.endArray=it(j),i.valueFormat){let X=st(i,G,i.valueFormat),J=st(i,j,i.valueFormat);h("update:modelValue",[X,J],{})}else h("update:modelValue",[G,j],{})}else{let K=O,q=me(K[0]),F=me(K[1]),U=me(K[2]),G=new Date(q,F-1,U);if(b.startDate=G,b.startArray=it(G),i.valueFormat){let Y=st(i,G,i.valueFormat);h("update:modelValue",Y,{})}else h("update:modelValue",G,{})}h("change",O,{})}},P=O=>{let q=O.target.value;g.value=!0,h("focus",q,O)},A=O=>{setTimeout(()=>{g.value=!1},0);let q=O.target.value;i.maxLength&&q.length>Number(i.maxLength)&&(q=q.slice(0,Number(i.maxLength))),h("blur",q,O)},V=t.computed(()=>({[`${B}__append`]:!0})),D=t.computed(()=>ge(i.unit)>0),N=t.computed(()=>ge(i.unit)>0&&!g.value),R=t.computed(()=>({hidden:!N.value})),M=O=>{u(),h("update:modelValue",null,O),h("change","",O),h("clear","")},I=t.computed(()=>i.clearable&&!d.value&&!m.value),L=t.computed(()=>{let O=ge(k.value)>0;return i.clearable&&O&&g.value}),Q=O=>{L.value?M(O):C()},W=t.computed(()=>L.value&&I.value?a:r),_=t.computed(()=>({action:!0}));return()=>{const O={class:T.value,style:E.value,type:"text",maxlength:i.maxLength,placeholder:v.placeholder.value,readonly:!0,unselectable:"on",value:k.value,onClick:C,onFocus:P,onBlur:A};s&&(O.disabled=!0);const K=[],q=t.h("input",O);K.push(q);const F=[],U={class:["action-icon"]},G=t.h(W.value,U),Y={class:_.value,onClick:Q},j=t.h("view",Y,{default:()=>[G]});if(F.push(j),D.value){const Ge=t.h("view",{class:R.value},[i.unit]);F.push(Ge)}const X={class:V.value},J=t.h("view",X,{default:()=>F});K.push(J);const te={default:()=>K};te.label=c.slots.default,te.prepend=c.slots.prepend,te.append=c.slots.append,te.fixedPreTip=c.slots.fixedPreTip,te.fixedTip=c.slots.fixedTip;const oe=ye(i,kn);oe.visible=x.value,oe["onUpdate:visible"]=w,oe["default-value"]=S.value,oe.onChoose=z;const le={};if(c.slots.btn){const Ge=c.slots.btn();le.btn=()=>Ge}c.slots.day&&(le.day=c.slots.day),c.slots.topInfo&&(le.topInfo=c.slots.topInfo),c.slots.bottomInfo&&(le.bottomInfo=c.slots.bottomInfo);const pe=t.h(l,oe,le);te.hide=()=>[pe];const ve=ye(i,fe,ue);return t.h(n,ve,te)}}}}const{componentName:Hd,create:jd,scope:Wd}=H("calendar-item"),Qn=jd(Ud(Hd,Wd,Io,Ce,{CloseIcon:ee.CircleClose,MarkIcon:ee.Date},!1)),Yd={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 Xd(e,{CheckNormal:o,Checked:l}){return{props:{...Yd},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"),d=t.computed(()=>s.position),m=()=>{if(i.value){if(r.checkedIcon)return r.checkedIcon();{const y=se(n.iconSize),b=n.checkedIcon??l;return t.h(b,{width:y,height:y,class:c.value})}}else{if(r.icon)return r.icon();{const y=se(n.iconSize),b=n.icon??o;return t.h(b,{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?.()),v=()=>{i.value||n.disabled||n.readonly||s.updateValue(n.label)},g=d.value==="left";return()=>t.h("view",{class:`${e} ${e}--${n.shape} ${g?`${e}--reverse`:""}`,onClick:v},[n.shape=="button"?p():g?[h(),m()]:[m(),h()]])}}}const{componentName:Qd,create:Gd}=H("radio"),qo=Gd(Xd(Qd,{CheckNormal:ee.CheckNormal,Checked:ee.CheckChecked})),{componentName:Wa,create:Zd}=H("radio-group"),zo=Zd({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:`${Wa} ${Wa}--${e.direction}`,style:a},l.default?.())}}});function Ya(e,o,l,n="value"){for(let a=0;a<o.length;a++){let r=o[a];if(n==="text"){if(_t(e,r)===l)return a}else if(n==="item"){if(Ie(l,r))return a}else if($t(e,r)===l)return a}return-1}function _t(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function $t(e,o){return typeof e.valueKey=="string"&&e.valueKey.length>0?o[e.valueKey]:o.value}function Jd(e,o){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?o[e.disabledKey]:o.disabled??null}function _d(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=St(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):($e(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 Xa={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,...fe,...Xa,...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=Te(t.computed(()=>r.readonly)),c=Ne(t.computed(()=>r.disabled)),d=we(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([u,f])=>{if(u){const k=await h.load("radio",u,f);if(k.length>0)if(typeof k[0]=="string"){const T=k.map($=>of($));p.value=T}else p.value=k}},{immediate:!0});let v=t.ref(-1);t.watch([()=>r.modelValue,()=>p.value],async([u,f])=>{v.value=Ya(r,f,u,r.valueType)},{deep:!0});const g=t.computed(()=>{if(!r.source)return r.modelValue;if(v.value===-1)return null;const u=p.value[v.value];return $t(r,u)}),y=u=>{let f=null,k=null;if(p.value.length>0){let S=Ya(r,p.value,u,"value");v.value=S,S>=0&&(k=p.value[S],r.valueType==="text"?f=_t(r,k):r.valueType==="item"?f=k:f=$t(r,k))}else f=u;m("update:modelValue",f),m("change",f,k)},b=()=>{let u=null,f=null;if(p.value.length>0&&v.value!==-1){let k=p.value[v.value];r.valueType==="text"?u=_t(r,k):r.valueType==="item"?u=k:u=$t(r,k)}m("update:modelValue",u),m("change",u,f)};if(Ae({clear(){v.value!==-1&&(v.value=-1,b())}}),r.source){const u=()=>{const f=[],k=ye(r,Xa);return p.value.forEach((S,B)=>{const T=$t(r,S),$=Jd(r,S);let E={...k,label:T,disabled:$};const x=_d(r,S,B);E={...E,...x},c.value&&(E.disabled=!0),i.value&&(E.readonly=!0);const C={};if(s.slots.icon&&(C.icon=s.slots.icon),s.slots.checkedIcon&&(C.checkedIcon=s.slots.checkedIcon),typeof s.slots.text=="function"){const z=s.slots.text(S);C.default=()=>[z]}else{const z=_t(r,S);C.default=()=>z}let w=t.h(a,E,C);f.push(w)}),f};return()=>{const f=u(),k={class:`${e}`,direction:r.direction,textPosition:r.textPosition,textAlign:d.value,modelValue:g,"onUpdate:modelValue":y},S=t.h(n,k,{default:()=>f}),B={default:()=>S};B.label=s.slots.default,B.prepend=s.slots.prepend,B.append=s.slots.append,B.fixedPreTip=s.slots.fixedPreTip,B.fixedTip=s.slots.fixedTip;const T=ye(r,fe,ue);return t.h(l,T,B)}}else return()=>{const u=s.slots.options?.()??[];return t.h(n,{class:`${e}`,direction:r.direction,textPosition:r.textPosition,textAlign:d.value,modelValue:g,"update:modelValue":y},{default:()=>u})}}}}const{componentName:af,create:rf,scope:sf}=H("radio-item"),Gn=rf(lf(af,sf,Ce,zo,qo)),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,k=>{c.partialSelect=k});const d=t.computed(()=>!!i),m=t.computed(()=>d.value?i.value.value.includes(a.label):!!a.modelValue),h=t.computed(()=>d.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 v="";const g=(k,S)=>{v="click",r("update:modelValue",k),r("change",k,S)};t.watch(()=>a.modelValue,k=>{v=="click"?v="":r("change",k)});const y=()=>{if(c.partialSelect){if(s.indeterminateIcon)return s.indeterminateIcon();{const k=se(a.iconSize),S=a.indeterminateIcon??n;return t.h(S,{width:k,height:k,class:p.value})}}else if(m.value){if(s.checkedIcon)return s.checkedIcon();{const k=se(a.iconSize),S=a.checkedIcon??l;return t.h(S,{width:k,height:k,class:p.value})}}else{if(s.icon)return s.icon();{const k=se(a.iconSize),S=a.icon??o;return t.h(S,{width:k,height:k,class:p.value})}}},b=()=>t.h("view",{class:`${e}__label ${a.disabled?`${e}__label--disabled`:""}`},s.default?.()),u=()=>t.h("view",{class:`${e}__button ${m.value&&`${e}__button--active`} ${a.disabled?`${e}__button--disabled`:""}`},s.default?.()),f=k=>{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),d.value){const S=i.value.value,B=i.max.value,{label:T}=a,$=S.indexOf(T);$>-1?S.splice($,1):$<=-1&&(S.length<B||!B)&&S.push(T),i.updateValue(S)}}};return t.onMounted(()=>{d.value&&i.link(t.getCurrentInstance())}),t.onBeforeUnmount(()=>{d.value&&i.unlink(t.getCurrentInstance())}),()=>t.h("view",{class:`${e} ${e}--${a.shape} ${h.value==="left"?`${e}--reverse`:""}`,onClick:f},[a.shape=="button"?u():[y(),b()]])}}),{componentName:uf,create:df}=H("checkbox"),Mo=df(cf(uf,{CheckNormal:ee.CheckNormal,Checked:ee.Checked,Indeterminate:ee.CheckDisabled})),{create:ff,componentName:Qa}=H("checkbox-group"),Po=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=d=>{d.proxy&&n.children.push(d.proxy)},r=d=>{d.proxy&&(n.children=n.children.filter(m=>m!==d.proxy))},s=d=>{l("update:modelValue",d),l("change",d)},i=d=>{const m=[];d&&n.children.forEach(h=>{h?.disabled||m.push(h?.label)}),l("update:modelValue",m)},c=()=>{const d=n.children.filter(m=>m?.disabled?!1:!e.modelValue.includes(m.label)).map(m=>m.label);l("update:modelValue",d)};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,d=>{l("change",d)}),Ae({toggleAll:i,toggleReverse:c}),()=>{const d={};return e.textAlign&&(d["text-align"]=e.textAlign),t.h("view",{class:`${Qa} ${Qa}--${e.direction}`,style:d},o.default?.())}}});function Ga(e,o,l,n="value"){for(let a=0;a<o.length;a++){let r=o[a];if(n==="text"){if(bn(e,r)===l)return a}else if(n==="item"){if(Ie(l,r))return a}else if(eo(e,r)===l)return a}return-1}function bn(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function eo(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=St(this.proxy,o);return a===null?(console.error(`${o} component not found api function`),[]):($e(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 vf={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String},max:{type:Number,default:0}},Za={icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},shape:{type:String,default:"round"}};function kf(e,o,l,n,a){return{props:{...vf,...Za,...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=Ne(t.computed(()=>r.disabled)),c=Ne(t.computed(()=>r.readonly)),d=we(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([u,f])=>{if(u){const k=await h.load("checkbox",u,f);if(k.length>0)if(typeof k[0]=="string"){const T=k.map($=>yf($));p.value=T}else p.value=k}},{immediate:!0});const v=t.ref([]);t.watch([()=>r.modelValue,()=>p.value],async([u,f])=>{const k=[];Array.isArray(u)&&u.forEach(S=>{let B=Ga(r,f,S,r.valueType);B!==-1&&k.push(B)}),!Ie(k,v.value)&&(v.value=k)},{deep:!0});const g=t.computed(()=>{if(!r.source)return r.modelValue;let u=[];return v.value.forEach(f=>{let k=p.value[f];u.push(eo(r,k))}),u}),y=u=>{let f=[],k=[];if(p.value.length>0){const S=[];Array.isArray(u)&&u.forEach(B=>{let T=Ga(r,p.value,B,"value");T!==-1&&S.push(T);const $=p.value[T];k.push($),r.valueType==="text"?f.push(bn(r,$)):r.valueType==="item"?f.push($):f.push(eo(r,$))}),v.value=S}else f=u;m("update:modelValue",f),m("change",f,k)},b=t.ref();if(Ae({toggleAll:u=>{b.value.toggleAll(u)},toggleReverse:()=>{b.value.toggleReverse()}}),r.source){const u=()=>{const f=[],k=ye(r,Za);return p.value.forEach((S,B)=>{const T=eo(r,S),$=mf(r,S);let E={...k,label:T,disabled:$};const x=pf(r,S,B);E={...E,...x},i.value&&(E.disabled=!0),c.value&&(E.readonly=!0);const C={};if(s.slots.icon&&(C.icon=s.slots.icon),s.slots.checkedIcon&&(C.checkedIcon=s.slots.checkedIcon),s.slots.indeterminateIcon&&(C.indeterminateIcon=s.slots.indeterminateIcon),typeof s.slots.text=="function"){const z=s.slots.text(S);C.default=()=>[z]}else{const z=bn(r,S);C.default=()=>z}let w=t.h(a,E,C);f.push(w)}),f};return()=>{const f=u(),k={class:`${e}`,ref:b,direction:r.direction,max:r.max,textPosition:r.textPosition,modelValue:g.value,"onUpdate:modelValue":y},S=t.h(n,k,{default:()=>f}),B={default:()=>S};B.label=s.slots.default,B.prepend=s.slots.prepend,B.append=s.slots.append,B.fixedPreTip=s.slots.fixedPreTip,B.fixedTip=s.slots.fixedTip;const T=ye(r,fe,ue);return t.h(l,T,B)}}else return()=>{const u=s.slots.options?.()??[];return t.h("view",{class:`${e}`,ref:b,direction:r.direction,max:r.max,textPosition:r.textPosition,textAlign:d.value,modelValue:g,"onUpdate:modelValue":y},{default:()=>u})}}}}const{componentName:bf,create:Sf,scope:Cf}=H("checkbox-item"),Zn=Sf(kf(bf,Cf,Ce,Po,Mo)),Sn={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:wf,create:Nf}=H("switch"),Bf=Nf({components:{Loading1:ee.Loading1},props:{...Sn},emits:["change","update:modelValue","update:loading"],setup(e,{emit:o}){const l=t.computed(()=>e.modelValue===e.activeValue),n=t.computed(()=>{const i=wf;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 Af(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 Ro=Z(Bf,[["render",Af]]);function Tf(e,o,l,n){return{props:{...ue,...fe,...Sn},emits:["change","update:modelValue"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=Te(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),d=e,m=De(a,"modelValue"),h=p=>{m.value=p,c("update:modelValue",p,{}),c("change",p,{})};return()=>{const v={...ye(a,Sn),disabled:s.value,readonly:i.value,value:m.value,"onUpdate:modelValue":h},g=[],y=t.h(n,v);g.push(y);const b={default:()=>g};b.label=r.slots.default,b.fixedPreTip=r.slots.fixedPreTip,b.fixedTip=r.slots.fixedTip;const u=ye(a,fe,ue);return u["content-class"]=d,t.h(l,u,b)}}}}const{componentName:Ef,create:$f,scope:Df}=H("switch-item"),Jn=$f(Tf(Ef,Df,Ce,Ro));function xf(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}=re.useFoxI18n(o),c=i(a,["placeholder"]),d=Ne(t.computed(()=>a.disabled)),m=Te(t.computed(()=>a.readonly)),h=De(a,"modelValue"),p=t.computed(()=>({[`${e}`]:!0})),v=t.computed(()=>({[`${e}__main`]:!0,[`${e}__disabled`]:d.value,[`${e}__placeholder`]:!d.value&&ie(h.value)})),g=we(t.computed(()=>a.textAlign),"textAlign"),y=t.computed(()=>{const z={};return g.value&&(z["text-align"]=g.value),z}),b=t.computed(()=>!ie(a.modelValue)||r.slots.main?!0:!!ie(a.desc)),u=t.computed(()=>ie(h.value)?c.placeholder.value:h.value),f=t.computed(()=>!ie(a.desc)||r.slots.sub),k=t.computed(()=>({[`${e}__sub`]:!0})),S=t.computed(()=>{const z={};return g.value&&(z["text-align"]=g.value),z}),B=()=>{s("focus",h.value)},T=()=>{s("blur",h.value)},$=t.computed(()=>({[`${e}__append`]:!0})),E=t.computed(()=>ge(a.unit)>0),x=z=>{d.value==!0||m.value==!0||s("click")},C=t.computed(()=>a.icon??l),w=t.computed(()=>({action:!0}));return()=>{const z=[];if(typeof r.slots.content=="function"){const W=r.slots.content();z.push(W)}else{const W=[];if(b.value){const K={tabIndex:0,class:v.value,style:y.value,onFocus:B,onBlur:T,onClick:x};let q=null;r.slots.main?q=t.h("view",K,[r.slots.main(u.value)]):q=t.h("view",K,[u.value]),W.push(q)}if(f.value){const K={tabIndex:0,class:k.value,style:S.value,onFocus:B,onBlur:T,onClick:x};let q=null;r.slots.sub?q=t.h("view",K,[r.slots.sub(a.desc)]):q=t.h("view",K,[a.desc]),W.push(q)}const _={class:p.value},O=t.h("view",_,W);z.push(O)}const P=[],A=se(a.iconSize);let V=r.slots.icon;if(!V){const W={width:A,height:A,class:["action-icon"]};V=t.h(C.value,W)}const D={class:w.value,onClick:x},N=t.h("view",D,{default:()=>[V]});if(P.push(N),E.value){const W=t.h("view",{},[a.unit]);P.push(W)}const R={class:$.value},M=t.h("view",R,{default:()=>P});z.push(M);const I={default:()=>z};I.label=r.slots.default,I.prepend=r.slots.prepend,I.append=r.slots.append,I.fixedPreTip=r.slots.fixedPreTip,I.fixedTip=r.slots.fixedTip;const L=ye(a,fe,ue);return t.h(n,L,I)}}}}const{componentName:If,create:qf,scope:zf}=H("link-item"),_n=qf(xf(If,zf,ee.ArrowRight,Ce)),Cn={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:Mf,componentName:Pf}=H("rate"),Rf=Mf({props:{...Cn},emits:["update:modelValue","change"],setup(e,{emit:o,slots:l}){const n=t.ref([]),a=t.computed(()=>({[Pf]:!0})),r=v=>{o("update:modelValue",v),o("change",v)},s=(v,g)=>{if(e.disabled||e.readonly)return;let y=0;g===1&&e.modelValue===g||(y=g,e.allowHalf&&v==2&&(y-=.5)),r(y)},i=(v,g,y)=>{let b=0;for(let u=g.value.length-1;u>=0;u--){const f=g.value[u];if(v>f.offsetLeft){y?b=u+(v>f.offsetLeft+f.clientWidth/2?1:.5):b=u+1;break}}return b},c=Ke(),d={onTouchStart(v){!e.touchable||e.readonly||c.start(v)},onTouchMove(v){e.touchable&&(c.move(v),c.isHorizontal()&&n.value&&(v.preventDefault(),r(i(c.moveX.value,n,e.allowHalf))))}},m=Math.random().toString(36).slice(-8),h=t.computed(()=>e.customIcon??ee.StarFillN);return{classes:a,...d,onClick:s,toPxDesc:de,renderIcon:(v,g)=>t.h(v,g),rateRefs:n,refRandomId:m,slots:l,customIcon:h}}}),Lf=["id"],Of={class:"fox-rate-item__icon--full"},Ff={key:0,class:"fox-rate-item__icon--half"},Kf={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",Of,[(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",Ff,[(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",Kf,[(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,Lf))),128))],34)}const yt=Z(Rf,[["render",Uf]]);function Hf(e,o,l,n){return{props:{...ue,...fe,...Cn},emits:["change","update:modelValue"],setup(a,r){const s=Ne(t.computed(()=>a.disabled)),i=Te(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),d=e,m=De(a,"modelValue"),h=p=>{m.value=p,c("update:modelValue",p,{}),c("change",p,{})};return()=>{const v={...ye(a,Cn),disabled:s.value,readonly:i.value,value:m.value,"onUpdate:modelValue":h},g=[],y=t.h(n,v);g.push(y);const b={default:()=>g};if(r.slots.default){const k=r.slots.default();b.label=()=>k}const u=ye(a,fe,ue);return u["content-class"]=d,t.h(l,u,b)}}}}const{componentName:jf,create:Wf,scope:Yf}=H("rate-item"),el=Wf(Hf(jf,Yf,Ce,yt)),wn={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(to(e,r)===l)return a}else if(n==="item"){if(Ie(l,r))return a}else if(is(e,r)===l)return a}return-1}function to(e,o){return typeof e.textKey=="string"&&e.textKey.length>0?o[e.textKey]:o.text}function Ja(e,o){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?o[e.subTextKey]:o.text}function is(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 d=l;typeof i=="function"&&(d=d.filter(i));let m=(n-1)*a,h=m+a;h>d.length&&(h=d.length);const p=d.slice(m,h);return{totalSize:d.length,page:p}}if(typeof l=="function")return await Reflect.apply(l,null,[n,a,r,s]);const c=St(this.proxy,o);return c===null?(console.error(`${o} component not found api function`),{totalSize:0,page:[]}):($e(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}=H("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:ee.Loading},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=re.useFoxI18n(tm),a=n(e,["pullText","loadText","loadMoreText"]),r=t.ref(),s=Qr(r),i=t.reactive({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),c=t.computed(()=>({[_f]:!0})),d=y=>y?y.offsetTop+d(y.offsetParent):0,m=()=>{let y=0,b=0,u="down";if(s.value==window){const f=$n();r.value&&(y=d(r.value)+r.value.offsetHeight-f-window.innerHeight),b=f}else{const{scrollHeight:f,clientHeight:k,scrollTop:S}=s.value;y=f-k-S,b=S}return i.beforeScrollTop>b?u="up":u="down",i.beforeScrollTop=b,o("scroll-change",b),y<=e.threshold&&u=="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)},v=()=>{s.value&&s.value.removeEventListener("scroll",h,e.useCapture)};t.onMounted(()=>{p()}),t.onUnmounted(()=>{v()});const g=t.ref(!1);return t.onActivated(()=>{g.value&&(g.value=!1,p())}),t.onDeactivated(()=>{g.value=!0,v()}),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 Lo=Z(om,[["render",im]]),{componentName:cm,create:um}=H("button"),dm=um({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:d,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`]:d.value,[`${g}--block`]:m.value,[`${g}--disabled`]:s.value,[`${g}--loading`]:i.value}}),v=t.computed(()=>{const g={};return c?.value&&(d.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:v}}}),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 xe=Z(dm,[["render",mm]]),{create:pm,scope:hm}=H("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:()=>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}=re.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 S=f.target.value;e.maxLength&&S.length>Number(e.maxLength)&&(S=S.slice(0,Number(e.maxLength))),o("update:modelValue",S,f),o("change",S,f)},c=t.ref({}),d=f=>{let S=f.target.value;a.active=!0,c.value=e.focusStyle,o("focus",S,f)},m=f=>{setTimeout(()=>{a.active=!1},0);let S=f.target.value;e.maxLength&&S.length>Number(e.maxLength)&&(S=S.slice(0,Number(e.maxLength))),c.value={},o("blur",S,f)},h=f=>{o("update:modelValue","",f),o("change","",f),o("clear","")},p=()=>{o("search",e.modelValue)},v=f=>{o("click-input",f)},g=f=>{o("click-left-icon",e.modelValue,f)},y=f=>{o("click-right-icon",e.modelValue,f)},b=t.computed(()=>({textAlign:e.inputAlign})),u=t.ref(null);return t.onMounted(()=>{e.autofocus&&u.value.focus()}),{...n,inputsearch:u,...t.toRefs(a),valueChange:i,valueFocus:d,valueBlur:m,handleClear:h,handleSubmit:p,searchbarStyle:r,inputSearchbarStyle:s,focusCss:c,clickInput:v,leftIconClick:g,rightIconClick:y,styleSearchbar:b}}}),ym={key:0,class:"fox-searchbar__search-label"},vm={key:1,class:"fox-searchbar__search-icon fox-searchbar__left-search-icon"},km=["type","maxlength","placeholder","value","disabled","readonly"],bm={key:1,class:"fox-searchbar__search-icon fox-searchbar__iptright-search-icon"},Sm={key:2,class:"fox-searchbar__search-icon fox-searchbar__right-search-icon"};function Cm(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",vm,[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,km)],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",bm,[t.renderSlot(e.$slots,"rightin")])):t.createCommentVNode("",!0)],2)],6),e.$slots.rightout?(t.openBlock(),t.createElementBlock("view",Sm,[t.renderSlot(e.$slots,"rightout")])):t.createCommentVNode("",!0)],4)}const Oo=Z(gm,[["render",Cm]]);function wm(e,o,l){return{props:{...wn},emits:["change","update:modelValue","update:text","loaded-data"],setup(n,{emit:a,slots:r}){const s=Jf(),i=t.ref([]),c=t.ref(1),d=t.ref(""),m=t.shallowRef(null),h=t.computed(()=>{const I={};return n.params&&Object.assign(I,n.params),ie(d.value)||(I[`${n.searchKey}`]=d.value),m.value&&Object.assign(I,m.value),I});let p=!0;const v=async(I,L,Q)=>{try{let W=null;ie(d.value)||(W=O=>{const K=to(n,O);if(typeof K=="string"&&K.includes(d.value))return!0;const q=Ja(n,O);return!!(typeof q=="string"&&q.includes(d.value))});const _=await s.load("actionsheet",I,L,Q,h.value,p,W??void 0);p=!1,_.page.length===0?z.value=!1:(Reflect.apply([].push,i.value,_.page),i.value.length>=_.totalSize?z.value=!1:c.value=i.value.length/n.pageSize),w.value=!1}catch(W){console.error("[FoxUI] Load ActionSheet Data Fail",W),i.value=[]}setTimeout(()=>{a("loaded-data")},250)};t.watch([()=>n.source,()=>n.pageSize,()=>n.params],async([I,L,Q])=>{n.source&&v(n.source,c.value,L)},{immediate:!0});const g=t.computed(()=>!n.multiple&&n.isAutoBackFill),y=t.ref([]);let b=null;const u=t.ref(n.visible);t.watch(()=>n.visible,I=>{u.value!==I&&(u.value=I),I?b=[...y.value]:b=null});const f=(I,L)=>{const Q=[];return Array.isArray(I)||(I=[I]),I.forEach(W=>{let _=Xf(n,L,W,n.valueType);_!==-1&&Q.push(_)}),Ie(Q,y.value)?!1:(y.value=Q,!0)};t.watch([()=>n.modelValue,()=>i.value],([I,L],[Q,W])=>{f(I,L)&&k()},{deep:!0});const k=()=>{const I=[],L=[],Q=[];for(let W of y.value){const _=i.value[W];L.push(_);const O=to(n,_);if(Q.push(O),n.valueType==="item")I.push(_);else if(n.valueType==="text")I.push(O);else{const K=is(n,_);I.push(K)}}n.multiple?(a("update:modelValue",I),a("update:text",Q),a("change",I,L)):(a("update:modelValue",I[0]??null),a("update:text",Q[0]??null),a("change",I[0],L[0]??null))},S=()=>{b&&(y.value=b)},B=I=>{const L=y.value.indexOf(I);n.multiple?L===-1?y.value.push(I):y.value.splice(L,1):L===-1?y.value=[I]:y.value=[],(g.value||!n.poppable&&!n.showFooter)&&(k(),$(!1))},T=t.computed(()=>({})),$=I=>{u.value=I,a("update:visible",I)},E=()=>{S(),$(!1)},x=()=>{$(!1),k()},C=()=>{i.value=[],c.value=1,n.source&&v(n.source,c.value,n.pageSize)},w=t.ref(!1),z=t.ref(!0),P=async()=>{if(!n.source){w.value=!1;return}await v(n.source,c.value,n.pageSize)};t.watch(()=>d.value,(I,L)=>{ie(I)&&!ie(L)&&P()});const A=()=>{let I=n.title??"";r.title&&(I=r.title());const L=t.h("view",{class:["fox-actionsheet__header-title"]},[I]),Q=t.h(ee.Close,{class:["fox-actionsheet__header-icon"],onClick:E});return t.h("view",{class:["fox-actionsheet__header"]},[L,Q])},V=()=>{let I=null;if(r.search)I=r.search();else{const L={onSearch:C,placeholder:n.seachPlaceholder,disabled:n.disabled,modelValue:d.value,"onUpdate:modelValue":Q=>{d.value=Q}};I=t.h(Oo,L,{leftin:()=>t.h(ee.Search2)})}return t.h("view",{class:["fox-actionsheet__searchbar"]},[I])},D=(I,L,Q)=>{if(r.optionLabel)return r.optionLabel({text:I,subText:L,item:Q});const W=[],_=t.h("view",{class:"fox-actionsheet__list-item-text"},[I]);if(W.push(_),L){const O=t.h("view",{class:"fox-actionsheet__list-item-subtext"},[L]);W.push(O)}return t.h("view",{class:["fox-actionsheet__list-item-label"]},W)},N=(I,L,Q)=>{if(r.optionIcon)return r.optionIcon({checked:I,iconSize:L,item:Q});if(I){if(r.checkedIcon)return r.checkedIcon();{const W=n.checkedIcon??ee.Checked;return t.h(W,{width:L,height:L,class:["fox-actionsheet__list-item-icon"]})}}else{if(r.icon)return r.icon();{const W=n.icon??ee.CheckNormal;return t.h(W,{width:L,height:L,class:["fox-actionsheet__list-item-icon"]})}}},R=()=>{const I=[];for(let L=0;L<i.value.length;L++){const Q=i.value[L],W=to(n,Q),_=Ja(n,Q),O=["fox-actionsheet__list-item"],K={};let q=Qf(n,Q),F=n.iconSize?se(n.iconSize):null;const U=Gf(n,Q,L);U&&(q=q||U.disabled,U.class&&O.push(U.class),U.style&&Object.assign(K,U.style)),q=!!(n.disabled||q);const G=y.value.includes(L);q&&O.push("is-disabled"),G&&O.push("is-checked");const Y={class:O,style:K,key:`${L}`,onClick:()=>{q||B(L)}};let j=[];if(r.option)j.push(r.option({item:Q}));else{const J=D(W,_,Q);j.push(J);const te=N(G,F,Q);j.push(te)}const X=t.h("view",Y,j);I.push(X)}return I},M=()=>{let I=[];if(r.buttons)I=r.buttons();else{const Q=t.h(xe,{type:"primary",block:"block",onClick:x,disabled:n.disabled},{default:()=>n.confirmText});I.push(Q)}return t.h("view",{class:"fox-actionsheet__footer"},[I])};return Ae({search:async(I=null,L=!0)=>{m.value=I&&t.toRaw(I),t.triggerRef(m),L&&(i.value=[],c.value=1),t.nextTick(()=>{P()})},clear:()=>{i.value=[],c.value=1}}),()=>{const I=[];if(n.showHeader){const G=A();I.push(G)}if(n.showSearchbar){const G=V();I.push(G)}const L=R(),Q={hasMore:z.value,loadText:n.loadText,loadMoreText:n.loadMoreText,modelValue:w.value,"onUpdate:modelValue":G=>{w.value=G},onLoadMore:P},W=t.h(Lo,Q,{default:()=>L}),_={};n.optionsHeight&&(_.height=n.optionsHeight);const O={"fox-actionsheet__list":!0};n.poppable||(O["fox-actionsheet__list--inner"]=!0);const K=t.h("view",{class:O,style:_},[W]);if(I.push(K),n.showFooter&&!g.value){const G=M();I.push(G)}const q=t.h("view",{class:"fox-actionsheet"},I);if(!n.poppable)return q;const F=["fox-actionsheet__popup"];n.popClass&&F.push(n.popClass);const U={popClass:F.join(" "),style:T.value,visible:u.value,closeable:!1,"onUpdate:visible":$,position:n.position,round:"round",onClickOverlay:E,closeOnClickOverlay:n.closeOnClickOverlay};return t.h(ce,U,{default:()=>q})}}}}const{componentName:KN,create:Nm,scope:UN}=H("actionsheet-pane"),Fo=Nm(wm()),Bm={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,...fe,...Bm,...wn},emits:["change","update:modelValue","blur","focus","clear","update:text"],setup(i,c){const d=Ne(t.computed(()=>i.disabled)),m=Te(t.computed(()=>i.readonly)),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"],get validate(){return!d.value&&!m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=re.useFoxI18n(o),v=p(i,["placeholder"]),g=t.ref(!1),y=De(i,"modelValue"),b=t.ref(""),u=t.computed(()=>Array.isArray(b.value)?b.value.join(i.separator):b.value),f="fox-input-item",k=t.computed(()=>({[f]:!0,[`${f}__disabled`]:d.value})),S=we(t.computed(()=>i.textAlign),"textAlign"),B=t.computed(()=>{const O={};return S.value&&(O["text-align"]=S.value),O}),T=t.ref(!1),$=()=>{T.value=!0},E=O=>{T.value=O},x=O=>{y.value=O,h("update:modelValue",O)},C=(O,K)=>{h("change",O,K)},w=O=>{let q=O.target.value;g.value=!0,h("focus",q,O)},z=O=>{setTimeout(()=>{g.value=!1},0);let q=O.target.value;i.maxLength&&q.length>Number(i.maxLength)&&(q=q.slice(0,Number(i.maxLength))),h("blur",q,O)},P=O=>{b.value=O,h("update:text",O)},A=t.computed(()=>({[`${f}__append`]:!0})),V=t.computed(()=>ge(i.unit)>0),D=t.computed(()=>ge(i.unit)>0&&!g.value),N=t.computed(()=>({hidden:!D.value})),R=O=>{y.value="",h("update:modelValue","",O),h("change","",O),h("clear","")},M=t.computed(()=>i.clearable&&!d.value&&!m.value),I=t.computed(()=>ge(y.value)>0&&g.value),L=O=>{I.value?R(O):$()},Q=t.computed(()=>I.value&&M.value?n:a),W=t.computed(()=>({action:!0})),_=t.ref(null);return Ae({search:O=>{_.value&&_.value.search(O)}}),()=>{const O={class:k.value,style:B.value,type:"text",maxlength:i.maxLength,placeholder:v.placeholder.value,readonly:!0,unselectable:"on",value:u.value,onClick:$,onFocus:w,onBlur:z};s&&(O.disabled=!0);const K=[],q=t.h("input",O);K.push(q);const F=[],U={class:["action-icon"]},G=t.h(Q.value,U),Y={class:W.value,onClick:L},j=t.h("view",Y,{default:()=>[G]});if(F.push(j),V.value){const Ge=t.h("view",{class:N.value},[i.unit]);F.push(Ge)}const X={class:A.value},J=t.h("view",X,{default:()=>F});K.push(J);const te={default:()=>K};te.label=c.slots.default,te.prepend=c.slots.prepend,te.append=c.slots.append,te.fixedPreTip=c.slots.fixedPreTip,te.fixedTip=c.slots.fixedTip;const oe=ye(i,wn);oe.ref=_,oe.class=i.actionsheetProps,oe.disabled=d.value||m.value,oe.visible=T.value,oe["onUpdate:visible"]=E,oe.modelValue=y.value,oe["onUpdate:modelValue"]=x,oe.text=b.value,oe["onUpdate:text"]=P,oe.onChange=C,oe.poppable=!0;const le={title:c.slots.title,search:c.slots.search,option:c.slots.option,optionLabel:c.slots.optionLabel,optionIcon:c.slots.optionIcon,buttons:c.slots.buttons},pe=t.h(r,oe,le);te.hide=()=>[pe];const ve=ye(i,fe,ue);return t.h(l,ve,te)}}}}const{componentName:Am,create:Tm,scope:Em}=H("actionsheet-item"),tl=Tm(Vm(Am,Em,Ce,ee.CircleClose,ee.ArrowRight,Fo));function $m(e,o){return{inheritAttrs:!1,props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:{}}},setup(l,{slots:n}){return Tr(l.name,()=>l.config),()=>typeof n.default=="function"?n.default():null}}}const{componentName:HN,create:Dm,scope:jN}=H("domain-provider"),ol=Dm($m()),xm={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 Im(e,o){return{inheritAttrs:!1,props:xm,setup(l,{slots:n}){if(Qe&&window.IntersectionObserver){const a=new WeakMap;let r=new Map;const s=(p,v)=>{if(m===null){r.set(p,{visible:null,callback:v});return}a.has(p)&&m.unobserve(p),a.set(p,{visible:null,callback:v}),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;vi({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,v,g)=>{m=new IntersectionObserver(y=>{for(let b of y){let u=!1;b.intersectionRatio>0&&(u=!0);const f=a.get(b.target);if(f)try{if(l.loadPolicy==="lazy"&&!u&&f.visible!==null)return;f.visible=u,f.callback(u)}catch(k){console.error(k)}}},{root:p,rootMargin:v,threshold:g}),r.forEach((y,b)=>{a.set(b,y),m?.observe(b)}),r.clear()};t.watch([()=>l.root,()=>l.disabled],([p,v])=>{if(v||!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:WN,create:qm,scope:YN}=H("rolling-provider"),nl=qm(Im()),{create:zm,componentName:Gt,scope:XN}=H("tabs-bar"),Mm=zm({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 D={};return D[`${Gt}`]=!0,D}),a=t.computed(()=>{const D={};return D[`${Gt}__titles`]=!0,D[`${e.direction}`]=!0,e.align==="left"&&(D.left=!0),e.scroll===!0&&(D.scrollable=!0),e.shape&&(D[`${e.shape}`]=!0),D}),r=t.computed(()=>({})),s=t.computed(()=>{if(!e.gutter)return 0;const D=se(e.gutter);return D<=0?0:D}),i=t.ref(e.modelValue);t.watch(()=>e.modelValue,D=>{i.value!==D&&(i.value=D,V(!1))});const c=t.ref({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),d=t.ref(),m=t.ref(!1),h=()=>{const D=!m.value;p(D)},p=D=>{const N=D;N?(m.value=N,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,d.value?d.value.addEventListener("transitionend",()=>{m.value=!1},{once:!0}):setTimeout(()=>{m.value=!1},0))},v=t.ref(),g=t.ref([]),y=(D,N)=>{g.value[N]=D},b=D=>N=>{y(N,D)},u=(D,N)=>{const R=v.value,M=g.value;if(!R||!M||!M[D])return;const I=M[D];let L=0;e.direction==="vertical"?L=I.offsetTop-(R.offsetHeight-I.offsetHeight)/2:L=I.offsetLeft-(R.offsetWidth-I.offsetWidth)/2,f(R,L,N?0:.3,e.direction)},f=(D,N,R,M)=>{let I=0;const L=M==="horizontal"?D.scrollLeft:D.scrollTop,Q=R===0?1:Math.round(R*1e3/16);function W(){M==="horizontal"?D.scrollLeft+=(N-L)/Q:D.scrollTop+=(N-L)/Q,++I<Q&&je(W)}W()},k=D=>D[e.textKey],S=D=>D[e.valueKey],B=D=>D[e.visibleKey],T=D=>D[e.disabledKey],$=(D,N)=>{const R=e.itemOptions;return typeof R=="function"?R(D,N):R||null},E=(D,N)=>{const R=S(D),M={};M[`${Gt}__titles-item`]=!0,M.disabled=T(D),M.active=R===i.value,e.shape&&(M[`${e.shape}`]=!0),e.ellipsis&&(M.ellipsis=!0);const I=$(D,N);return I&&(I.class&&(M[`${I.class}`]=!0),I.disabled===!0&&(M.disabled=I.disabled)),M},x=(D,N)=>{const R={};if(s.value>0){const I=Math.abs(s.value/2);e.direction==="vertical"?(R["margin-top"]=`${I}px`,R["margin-bottom"]=`${I}px`):(R["margin-left"]=`${I}px`,R["margin-right"]=`${I}px`)}const M=$(D,N);return M&&M.style&&Object.assign(R,M.style),R},C=(D,N)=>`${S(D)??N}`,w=(D,N)=>{const R=S(D),M={};M[`${Gt}__popup-item`]=!0,M.disabled=T(D),M.active=R===i.value,e.shape&&(M[`${e.shape}`]=!0);const I=$(D,N);return I&&I.disabled===!0&&(M.disabled=I.disabled),M},z=t.computed(()=>(e.data??[]).filter(N=>B(N)!==!1)),P=(D,N)=>{const R=S(D);i.value=R,u(N,!1),l("update:modelValue",R),l("change",D,N)},A=(D,N)=>{P(D,N),p(!1)},V=D=>{if(!Array.isArray(e.data)||!e.scroll)return;const N=e.data.findIndex(R=>S(R)===i.value);N!==-1&&u(N,D)};return t.watch(()=>e.data,()=>{setTimeout(V,0)}),t.onMounted(()=>{V(!0)}),{classes:n,titlesClasses:a,titlesStyles:r,itemClasses:E,itemStyles:x,itemKey:C,popupItemClasses:w,filterTabItems:z,getItemText:k,getItemValue:S,onTabChange:P,titlesRef:v,createItemRefs:b,togglePopupVisible:h,onQuickNavigate:A,popupClasses:c,popupVisible:m,popupRef:d}}}),Pm={class:"fox-tabs-bar"},Rm=["onClick"],Lm={class:"fox-tabs-bar__titles-item-text"},Om=t.createElementVNode("view",{class:"fox-tabs-bar__titles-item-line"},null,-1),Fm=["onClick"];function Km(e,o,l,n,a,r){const s=t.resolveComponent("MoreH");return t.openBlock(),t.createElementBlock("view",Pm,[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:d=>e.onTabChange(i,c)},[t.renderSlot(e.$slots,"item",{item:i,index:c},()=>[t.createElementVNode("view",Lm,t.toDisplayString(e.getItemText(i)),1),Om])],14,Rm))),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:d=>e.onQuickNavigate(i,c)},[t.renderSlot(e.$slots,"popup-item",{item:i,index:c},()=>[t.createTextVNode(t.toDisplayString(e.getItemText(i)),1)])],10,Fm))),128))],2),[[t.vShow,e.popupVisible]])])}const ll=Z(Mm,[["render",Km]]),cs=Symbol("TabsStatesKey"),{create:Um}=H("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(cs,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(v=>v.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 d=null;return t.onMounted(()=>{if(!r.value)return;const m=()=>{const h=wo(r.value);n.tabWidth.value=h.width,n.tabHeight.value=h.height};window.ResizeObserver&&(d=new window.ResizeObserver(m),d.observe(r.value)),m()}),t.onBeforeUnmount(()=>{d&&(d.disconnect(),d=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 al=Z(Hm,[["render",jm]]),{create:Wm}=H("tabs-pane"),Ym=Wm({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(cs);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 rl=Z(Ym,[["render",Gm]]),_a=10;function Zm(e,o){return e>o&&e>_a?"horizontal":o>e&&o>_a?"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})),d=t.computed(()=>{const f={};return ie(i.top)||(f.top=i.top),ie(i.right)||(f.right=i.right),ie(i.bottom)||(f.bottom=i.bottom),ie(i.left)||(f.left=i.left),ie(a.width)||(f.width=a.width),ie(a.height)||(f.height=a.height),ie(a.color)||(f.color=a.color),ie(a.background)||(f.background=a.background),f}),m=t.computed(()=>({[`${e}__icon`]:!0})),h=()=>{s("click")},p=t.ref(null),v=()=>{i.top=null,i.right=null,i.bottom=null,i.left=null},g={x:0,y:0},u=np(f=>{if(!p.value)return;const k=p.value;v(),i.left=k.offsetLeft,i.top=k.offsetTop,k.style.left=`${i.left}px`,k.style.top=`${i.top}px`,k.style.right=null,k.style.bottom=null,g.x=i.left,g.y=i.top},f=>{if(!p.value)return;const k=p.value;v(),i.left=g.x+f.x,i.top=g.y+f.y,k.style.left=`${i.left}px`,k.style.top=`${i.top}px`});return t.onMounted(()=>{if(a.draggable&&p.value){const f=[p.value];u.open(f)}}),t.onBeforeUnmount(()=>{a.draggable&&p.value&&u.close()}),()=>{let f=[];const k=typeof r.default=="function"?r.default():[];if(k&&k.length>0)f=k;else{const B=t.h(l,{class:m.value});f.push(B)}const S={ref:B=>{p.value=B},class:c.value,style:d.value,onClick:h};return t.h("view",S,f)}}}),{componentName:rp,create:sp,scope:ip}=H("floating-button"),sl=sp(ap(rp,ip,ee.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 up={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 dp(e,o){return{props:{...up},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={},v=l.textColor??l.color;return v&&(p.color=v),p}),c=p=>{if(p&&he(l.showOverflowTooltip)){const v=p.clientWidth;cp(p,g=>{a.value=g<=v})}};let d=null;t.onMounted(()=>{if(!he(l.showOverflowTooltip))return;const p=r.value;c(p),p&&window.ResizeObserver&&(d=new window.ResizeObserver(()=>{c(p)}),d.observe(p))}),t.onUnmounted(()=>{d?.disconnect()});const m=(p,v)=>{let g=null;if(typeof l.highlightFilter=="string"&&l.highlightFilter.length>0){const y=l.highlightFilter;if(p.indexOf(y)!==-1){const u=p.replace(new RegExp(y,"g"),`<span>${y}</span>`);v.innerHTML=u,v.class["is-highlight"]=!0,g=t.h(l.tag,v)}}else if(typeof l.highlightFilter=="function"){const y=l.highlightFilter(p);y&&(v.innerHTML=y,v.class["is-highlight"]=!0,g=t.h(l.tag,v))}return g},h=p=>{n.emit("click",p)};return()=>{const p={onClick:h,class:s.value,style:i.value,ref:r};let v=null;if(he(l.numberFormat)&&typeof n.slots.default=="function"){const u=n.slots.default();if(Array.isArray(u)&&u.length===1){const f=u[0].type.toString();if(f==="Symbol(Text)"||f==="Symbol(v-txt)"){const k=me(l.digits),S=me(l.decimalLength),B=he(l.autoPadding);let T=`${u[0].children}`,$=T.split("").reverse().join("");$=mo($,S,B,k,l.separator),T=$.split("").reverse().join(""),l.highlightFilter!==void 0&&(v=m(T,p)),v||(p.innerHTML=T,v=t.h(l.tag,p))}}}else{if(l.highlightFilter!==void 0&&typeof n.slots.default=="function"){const u=n.slots.default();if(Array.isArray(u)&&u.length===1){const f=u[0].type.toString();if(f==="Symbol(Text)"||f==="Symbol(v-txt)"){const k=`${u[0].children}`;v=m(k,p),v||(p.innerHTML=k,v=t.h(l.tag,p))}}}v||(v=t.h(l.tag,p,{default:n.slots.default}))}if(!l.mark&&!l.icon&&!n.slots.mark)return v;let y=null;if(l.icon){const u={[`${e}__mark-wrap`]:!0};l.type&&(u[`${e}__mark-wrap--${l.type}`]=!0);const f={},k=l.color;k&&(f.color=k);const S={class:u,style:f};y=t.h("view",S,t.h(l.icon))}else if(n.slots.mark){const u={[`${e}__mark-wrap`]:!0};l.type&&(u[`${e}__mark-wrap--${l.type}`]=!0);const f={},k=l.color;k&&(f.color=k);const S={class:u,style:f};y=t.h("view",S,{default:n.slots.mark})}else{const u={[`${e}__mark`]:!0};l.type&&(u[`${e}__mark--${l.type??"default"}`]=!0);const f={},k=l.color;k&&(f["background-color"]=k);const S={class:u,style:f};y=t.h("view",S)}const b={class:{"fox-text__wrap":!0,"text-left":l.textPosition==="left","text-right":l.textPosition==="right"}};return t.h("view",b,[y,v])}}}}const{componentName:fp,create:mp,scope:QN}=H("text"),il=mp(dp(fp)),{componentName:pp,create:hp}=H("cell"),gp=hp({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=pp;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}}}),yp={key:0,class:"fox-cell__icon"},vp={key:1,class:"fox-cell__title"},kp={class:"title"},bp={class:"fox-cell__title-desc"};function Sp(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",vp,[e.subTitle?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.renderSlot(e.$slots,"title",{},()=>[t.createElementVNode("view",kp,t.toDisplayString(e.title),1)]),t.createElementVNode("view",bp,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 cl=Z(gp,[["render",Sp]]),{componentName:Cp,create:wp}=H("cell-group"),Np=wp({props:{title:{type:String,default:""},desc:{type:String,default:""}},setup(){return{classes:t.computed(()=>({[Cp]:!0}))}}}),Bp={key:1,class:"fox-cell-group__title"},Vp={key:3,class:"fox-cell-group__desc"},Ap={class:"fox-cell-group__wrap"};function Tp(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",Bp,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",Ap,[t.renderSlot(e.$slots,"default")])],2)}const ul=Z(Np,[["render",Tp]]),{componentName:Ep,create:$p}=H("image"),Dp=$p({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 v=Ep;return{[v]:!0,[`${v}-round`]:e.round}}),a=t.ref(null),r=t.ref(!1),s=t.ref(null),i=()=>{const v={threshold:[0],rootMargin:"0px"};a.value=new IntersectionObserver(g=>{g.forEach(y=>{y.isIntersecting&&(r.value=!0,a.value.disconnect())})},v),s.value&&a.value.observe(s.value)};t.onMounted(()=>{e.lazyLoad&&i()}),t.onBeforeUnmount(()=>{a.value&&a.value.disconnect()});const c=t.computed(()=>{let v={};return e.width&&(v.width=de(e.width)),e.height&&(v.height=de(e.height)),e.radius!==void 0&&e.radius!==null&&(v.overflow="hidden",v.borderRadius=de(e.radius)),v}),d=t.computed(()=>({objectFit:e.fit,objectPosition:e.position}));t.watch(()=>e.src,v=>{l.isError=!1,l.loading=!0});const m=()=>{l.loading=!1,o("load")},h=()=>{l.isError=!0,l.loading=!1,o("error")},p=v=>{o("click",v)};return{...t.toRefs(l),imageClick:p,classes:n,styles:d,stylebox:c,error:h,load:m,show:r,imgRef:s}}}),xp=["src","date-src","alt"],Ip={key:0,class:"fox-img-loading"},qp={key:1,class:"fox-img-error"};function zp(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,xp),e.loading?(t.openBlock(),t.createElementBlock("div",Ip,[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",qp,[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 dl=Z(Dp,[["render",zp]]),{create:Mp}=H("layout"),fl=Mp({}),{componentName:Pp,create:Rp}=H("col"),Lp=Rp({props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},setup(e){const o=Pp,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 Op(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 ml=Z(Lp,[["render",Op]]),{componentName:Fp,create:Kp}=H("row"),Up=Kp({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=Fp;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 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 pl=Z(Up,[["render",Hp]]),{componentName:jp,create:Wp}=H("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 hl=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:er}=H("grid"),us=Symbol("grid"),Jp={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}},_p={props:Jp,setup(e,{slots:o}){Zp(us,`${er}-item`)({props:e});const l=t.computed(()=>{const a=er;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:eh}=H("grid"),gl=eh(_p);function th(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:oh,componentName:tr}=H("grid-item"),nh=oh({props:{text:{type:String}},emits:["click"],setup(e,{emit:o}){const l=th(us);if(!l.parent)return{};const n=l.index,a=l.parent.props,r=t.computed(()=>({[tr]:!0})),s=t.computed(()=>{const d={flexBasis:`${100/+a.columnNum}%`};return a.square?d.paddingTop=`${100/+a.columnNum}%`:a.gutter&&(d.paddingRight=de(a.gutter),n.value>=a.columnNum&&(d.marginTop=de(a.gutter))),d}),i=t.computed(()=>{const d=`${tr}__content`;return{[`${d}`]:!0,[`${d}--border`]:a.border,[`${d}--surround`]:a.border&&a.gutter,[`${d}--center`]:a.center,[`${d}--square`]:a.square,[`${d}--reverse`]:a.reverse,[`${d}--${a.direction}`]:!!a.direction,[`${d}--clickable`]:a.clickable}});return{rootClass:r,rootStyle:s,contentClass:i,handleClick:d=>{o("click",d)}}}}),lh={class:"fox-grid-item__text"};function ah(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",lh,[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 yl=Z(nh,[["render",ah]]),{componentName:rh,create:sh}=H("navbar"),ih=sh({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 d=t.ref();const m=t.computed(()=>{const b=rh;return{[b]:!0,[`${b}--border`]:l.value,[`${b}--fixed`]:n.value,[`${b}--safe-area-inset-top`]:a.value}}),h=t.computed(()=>({zIndex:s.value}));t.onMounted(()=>{n.value&&r.value&&t.nextTick(()=>{d.value=c?.value?.getBoundingClientRect().height,i.value.style.height=d.value+"px"})});function p(){o("on-click-back")}function v(){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:v,handleCenterIcon:g,handleRight:y}}}),ch={key:0,class:"fox-navbar--placeholder",ref:"navBarWrap"},uh={key:1,class:"fox-navbar__text"},dh={class:"fox-navbar__title"},fh={key:0,class:"fox-navbar__text"},mh={key:1,class:"fox-navbar__text"},ph={class:"fox-navbar__title"},hh={key:0,class:"fox-navbar__text"};function gh(e,o,l,n,a,r){const s=t.resolveComponent("Left");return e.fixed&&e.placeholder?(t.openBlock(),t.createElementBlock("view",ch,[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",uh,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",fh,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",mh,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",ph,[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",hh,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"right")])],6))}const vl=Z(ih,[["render",gh]]),yh=(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}=re.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:vh,create:kh,scope:bh}=H("fixednav"),Sh=kh(yh(vh,bh,{[nt.name]:nt,Left:ee.Left})),Ch={class:"fox-fixednav__list"},wh=["onClick"],Nh=["src"],Bh={class:"span"},Vh={key:0,class:"b"},Ah={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,d)=>(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||d},[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",Vh,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",Ah,t.toDisplayString(e.visible?e.activeText:e.unActiveText),1)])])],6)}const kl=Z(Sh,[["render",Th]]),{componentName:Eh,create:$h}=H("menu"),Dh=$h({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 b=t.reactive([]),u=t.reactive([]);return{children:b,linkChildren:k=>{const S=T=>{T.proxy&&(u.push(T),b.push(T.proxy))},B=T=>{if(T.proxy){let $=u.indexOf(T);$>-1&&u.splice($,1);let E=b.indexOf(T.proxy);$>-1&&b.splice(E,1)}};t.provide("menuParent",Object.assign({removeLink:B,link:S,children:b,internalChildren:u},k))}}},{children:i,linkChildren:c}=s(),d=t.computed(()=>i.some(b=>b.state.showWrapper)),m=t.computed(()=>({[Eh]:!0,"scroll-fixed":r.value})),h=()=>{if(n.value){const b=Ve(n);e.direction==="down"?a.value=b.bottom:a.value=window.innerHeight-b.top}};c({props:e,offset:a});const p=b=>{i.forEach((u,f)=>{f===b?(h(),u.toggle()):u.state.showPopup&&u.toggle(!1,{immediate:!0})})},v=b=>Math.max(0,"scrollTop"in b?b.scrollTop:b.pageYOffset),g=()=>{const{scrollFixed:b}=e,u=v(window);r.value=u>(typeof b=="boolean"?30:Number(b))},y=b=>{let u="";const{titleClass:f}=e;return b&&(u+="active"),f&&(u+=` ${f}`),u};return t.onMounted(()=>{const{scrollFixed:b}=e;b&&window.addEventListener("scroll",g)}),t.onUnmounted(()=>{const{scrollFixed:b}=e;b&&window.removeEventListener("scroll",g)}),{toggleItem:p,children:i,opened:d,classes:m,barRef:n,getClasses:y}}}),xh=["onClick"],Ih={class:"fox-menu__title-text"},qh={class:"fox-menu__title-icon"};function zh(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,d)=>(t.openBlock(),t.createElementBlock("view",{key:d,class:t.normalizeClass(["fox-menu__item",{disabled:c.disabled,active:c.state.showPopup}]),onClick:m=>!c.disabled&&e.toggleItem(d),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",Ih,t.toDisplayString(c.renderTitle()),1),t.createElementVNode("span",qh,[t.renderSlot(e.$slots,"icon",{},()=>[e.direction==="up"?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createBlock(i,{key:1}))])])],2)],14,xh))),128))],2),t.renderSlot(e.$slots,"default")],2)}const bl=Z(Dh,[["render",zh]]),{componentName:Mh,create:Ph}=H("menu-item"),Rh=Ph({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 v=t.inject("menuParent",null);if(v){const g=t.getCurrentInstance(),{link:y,removeLink:b}=v;return y(g),t.onUnmounted(()=>{b(g)}),{parent:v}}},{parent:r}=a(),s=t.computed(()=>({[Mh]:!0})),i=t.computed(()=>{const v={height:r.offset.value+"px"};return r.props.direction==="down"?v:{...v,top:"auto"}});return{classes:s,placeholderElementStyle:i,renderTitle:()=>{if(e.title)return e.title;const v=e.options?.find(g=>g.value===e.modelValue);return v?v.text:""},state:n,parent:r,toggle:(v=!n.showPopup,g={})=>{v!==n.showPopup&&(n.showPopup=v,n.isShowPlaceholderElement=v,v&&(n.showWrapper=!0,o("open")))},onClick:v=>{n.showPopup=!1,n.isShowPlaceholderElement=!1,v.value!==e.modelValue&&(o("update:modelValue",v.value),o("change",v.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,d)=>(t.openBlock(),t.createElementBlock("view",{key:d,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 Sl=Z(Rh,[["render",Fh]]),{create:Kh}=H("tabbar"),Uh=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 Hh(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 Cl=Z(Uh,[["render",Hh]]),{create:jh}=H("tabbar-item"),Wh=jh({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&&(d=>{if(d.proxy){let m=l.children.length;n.index=m;let h=Object.assign(d.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}}}),Yh={class:"fox-tabbar-item_icon-box"},Xh={key:0,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_num"},Qh={key:1,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_nums"},Gh={key:1,class:"fox-tabbar-item_icon-box_dot"},Zh={key:2},Jh={key:0};function _h(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",Yh,[e.dot?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.num&&e.num<=99?(t.openBlock(),t.createElementBlock("view",Xh,t.toDisplayString(e.num),1)):e.num&&e.num>100?(t.openBlock(),t.createElementBlock("view",Qh,t.toDisplayString("99+"))):t.createCommentVNode("",!0)],64)),e.dot?(t.openBlock(),t.createElementBlock("div",Gh)):t.createCommentVNode("",!0),e.icon?(t.openBlock(),t.createElementBlock("view",Zh,[(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",Jh,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.title?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"default",{key:1})],2)])],6)}const wl=Z(Wh,[["render",_h]]),{componentName:eg,create:tg}=H("elevator"),og=tg({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(()=>({[eg]:!0})),r=t.computed(()=>({transform:`translate3d(0, ${n.scrollY+n.fixedTop}px, 0)`})),s=t.computed(()=>l.value.clientHeight),i=(u,f)=>{const k="data-";return u.getAttribute(k+f)},c=u=>{t.nextTick(()=>{!n.listGroup.includes(u)&&u!=null&&n.listGroup.push(u)})},d=()=>{let u=0;n.listHeight.push(u);for(let f=0;f<n.listGroup.length;f++){let k=n.listGroup[f];u+=Math.floor(k.clientHeight),n.listHeight.push(u)}},m=u=>{!u&&u!==0||(u<0&&(u=0),u>n.listHeight.length-2&&(u=n.listHeight.length-2),n.codeIndex=u,l.value.scrollTo(0,n.listHeight[u]))},h=u=>{n.scrollStart=!0;let f=i(u.target,"index"),k=u.touches[0];n.touchState.y1=k.pageY,n.anchorIndex=+f,n.codeIndex=+f,m(+f)},p=u=>{let f=u.touches[0];n.touchState.y2=f.pageY;let k=(n.touchState.y2-n.touchState.y1)/e.spaceHeight|0;n.codeIndex=n.anchorIndex+k,m(n.codeIndex)},v=()=>{n.scrollStart=!1},g=(u,f)=>{o.emit("click-item",u,f),n.currentData=f,n.currentKey=u},y=u=>{o.emit("click-index",u)},b=u=>{let k=u.target.scrollTop;const S=n.listHeight;n.scrollY=k;for(let B=0;B<S.length-1;B++){let T=S[B],$=S[B+1];if(n.scrollY>=T&&n.scrollY<$){n.currentIndex=B,n.diff=$-n.scrollY;return}}n.currentIndex=S.length-2};return t.onMounted(()=>{l.value.addEventListener("scroll",b)}),Ae({scrollTo:m}),t.watch(()=>n.listGroup.length,()=>{n.listHeight=[],t.nextTick(d)}),t.watch(()=>n.diff,u=>{const f=n.listHeight;let k=u>0&&u<e.titleHeight?u-e.titleHeight:0;n.scrollY+s.value===f[f.length-1]&&k!==0&&(k=0),n.fixedTop!==k&&(n.fixedTop=k)}),t.watch(()=>n.currentIndex,u=>{o.emit("change",u)}),{classes:a,...t.toRefs(n),fixedStyle:r,clientHeight:s,setListGroup:c,listview:l,touchStart:h,touchMove:p,touchEnd:v,handleClickItem:g,handleClickIndex:y}}}),ng={class:"fox-elevator__list__item__code"},lg=["onClick"],ag=["innerHTML"],rg={class:"fox-elevator__fixed-title"},sg={class:"fox-elevator__bars__inner"},ig=["data-index","onClick"];function cg(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",ng,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,ag))],10,lg))),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",rg,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",sg,[(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,ig))),128))])],32)],2)}const Lt=Z(og,[["render",cg]]),{componentName:GN,create:ug,scope:dg}=H("pagination"),fg=ug({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}=re.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:v,itemsPerPage:g}=t.toRefs(e),y=+p.value||Math.ceil(+v.value/+g.value);return Math.max(1,y)}),d=(p,v)=>{p>c.value||p<1||(p!=a.value&&o("update:modelValue",p),v&&o("change",p))},m=(p,v,g=!1)=>({number:p,text:v,active:g}),h=t.computed(()=>{if(r.value=="simple")return;let p=[];const v=c.value,g=+s.value;let y=1,b=v;const u=v>g;u&&(y=Math.max(a.value-Math.floor(g/2),1),b=y+g-1,b>v&&(b=v,y=b-g+1));for(var f=y;f<=b;f++){const k=m(f,f,a.value==f);p.push(k)}if(u&&g>0&&i.value){if(y>1){const k=m(y-1,"...");p.unshift(k)}if(b<v){const k=m(b+1,"...");p.push(k)}}return p});return t.watchEffect(()=>{d(a.value,!1)}),{...n,modelValue:a,select:d,countRef:c,mode:r,pages:h,forceEllipses:i}}}),mg={class:"fox-pagination"},pg={key:0,class:"fox-pagination-contain"},hg=["onClick"],gg={key:1,class:"fox-pagination-contain"},yg={class:"fox-pagination-simple"};function vg(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",mg,[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",pg,[(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,hg))),128))])):t.createCommentVNode("",!0),e.mode=="simple"?(t.openBlock(),t.createElementBlock("view",gg,[t.createElementVNode("view",yg,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 Nl=Z(fg,[["render",vg]]),{componentName:or,create:kg}=H("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=or;return{[a]:!0,[`${a}--block`]:o.value,[`${a}--align__${l.value}`]:o.value&&l.value}}),componentName:or,padZero:Ze}}});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 Bl=Z(bg,[["render",Sg]]),{componentName:Cg,create:wg}=H("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 d=s[c];d?.children?.[0]&&(d.children[0].style.paddingLeft=+e.offset*i+"px",d.className.includes("fox-side-navbar-item")||a(Array.from(d.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"},Vg={class:"fox-side-navbar__content__list",ref:"list"};function Ag(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",Bg,[t.createElementVNode("view",Vg,[t.renderSlot(e.$slots,"default")],512)])],2)}const Vl=Z(Ng,[["render",Ag]]),{componentName:Tg,create:Eg}=H("side-navbar-item"),$g=Eg({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"],xg={class:"fox-side-navbar-item__title"};function Ig(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",xg,t.toDisplayString(e.title),1)],10,Dg)}const Al=Z($g,[["render",Ig]]),{componentName:qg,create:zg}=H("sub-side-navbar"),Mg=zg({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(()=>({[qg]:!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}}}),Pg=["ikey"],Rg={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",Rg,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,Pg)}const Tl=Z(Mg,[["render",Og]]),{componentName:Fg,create:Kg}=H("range"),Ug=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=Ke(),c=t.computed(()=>{const{marks:A,max:V,min:D}=e;return Object.keys(A).map(parseFloat).sort((M,I)=>M-I).filter(M=>M>=D&&M<=V)}),d=t.computed(()=>Number(e.max)-Number(e.min)),m=t.computed(()=>{const A=Fg;return{[A]:!0,[`${A}-disabled`]:e.disabled,[`${A}-vertical`]:e.vertical,[`${A}-show-number`]:!e.hiddenRange}}),h=t.computed(()=>{const A="fox-range-container";return{[A]:!0,[`${A}-vertical`]:e.vertical}}),p=t.computed(()=>({background:e.inactiveColor})),v=t.computed(()=>({borderColor:e.buttonColor})),g=A=>!!e.range&&Array.isArray(A),y=()=>{const{modelValue:A,min:V}=e;return g(A)?`${(A[1]-A[0])*100/d.value}%`:`${(A-Number(V))*100/d.value}%`},b=()=>{const{modelValue:A,min:V}=e;return g(A)?`${(A[0]-Number(V))*100/d.value}%`:"0%"},u=t.computed(()=>e.vertical?{height:y(),top:b(),background:e.activeColor,transition:s.value?"none":void 0}:{width:y(),left:b(),background:e.activeColor,transition:s.value?"none":void 0}),f=A=>{const V="fox-range-mark",{modelValue:D,max:N,min:R}=e;let M=Number(R),I=Number(N);if(e.range){const[Q,W]=D;M=Q,I=W}else I=D;let L=A<=I&&A>=M;return{[`${V}-text`]:!0,[`${V}-text-active`]:L}},k=A=>{const{min:V,vertical:D}=e;let N={left:`${(A-Number(V))/d.value*100}%`};return D&&(N={top:`${(A-Number(V))/d.value*100}%`}),N},S=A=>{const{modelValue:V,max:D,min:N}=e;let R=Number(N),M=Number(D);if(e.range){const[Q,W]=V;R=Q,M=W}return{background:A<=M&&A>=R?e.activeColor:e.inactiveColor}},B=A=>{const{min:V,max:D,step:N}=e;return A=Math.max(+V,Math.min(A,+D)),Math.round(A/+N)*+N},T=(A,V)=>JSON.stringify(A)===JSON.stringify(V),$=A=>A[0]>A[1]?A.slice(0).reverse():A,E=(A,V)=>{g(A)?A=$(A).map(B):A=B(A),T(A,e.modelValue)||o("update:modelValue",A),V&&!T(A,n)&&o("change",A)},x=A=>{if(e.disabled)return;const{min:V,modelValue:D}=e,N=Ve(r);let R=A.clientX-N.left,M=N.width;e.vertical&&(R=A.clientY-N.top,M=N.height);const I=Number(V)+R/M*d.value;if(g(D)){const[L,Q]=D,W=(L+Q)/2;I<=W?E([I,Q],!0):E([L,I],!0)}else E(I,!0)},C=A=>{e.disabled||(i.start(A),a=e.modelValue,g(a)?n=a.map(B):n=B(a),s.value="start")},w=A=>{if(e.disabled)return;s.value==="start"&&o("drag-start"),i.move(A),s.value="draging";const V=Ve(r);let D=i.deltaX.value,N=V.width,R=D/N*d.value;e.vertical&&(D=i.deltaY.value,N=V.height,R=D/N*d.value),g(n)?a[l.value]=n[l.value]+R:a=n+R,E(a),A.stopPropagation(),A.preventDefault()},z=()=>{e.disabled||(s.value==="draging"&&(E(a,!0),o("drag-end")),s.value="")},P=A=>po(e.modelValue)&&typeof A=="number"?e.modelValue[A]:Number(e.modelValue);return{root:r,classes:m,wrapperStyle:p,buttonStyle:v,onClick:x,onTouchStart:C,onTouchMove:w,onTouchEnd:z,...t.toRefs(e),barStyle:u,curValue:P,buttonIndex:l,containerClasses:h,markClassName:f,marksStyle:k,marksList:c,tickStyle:S}}}),Hg={key:0,class:"fox-range-min"},jg={key:0,class:"fox-range-mark"},Wg=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","onTouchstart"],Yg={key:0,class:"number"},Xg=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax"],Qg={key:0,class:"number"},Gg={key:1,class:"fox-range-max"};function Zg(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",Hg,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",jg,[(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",Yg,t.toDisplayString(e.curValue(s)),1))],4))],42,Wg)),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",Qg,t.toDisplayString(e.curValue()),1))],4))],40,Xg))],4)],6),e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Gg,t.toDisplayString(+e.max),1))],2)}const Ot=Z(Ug,[["render",Zg]]),{componentName:Jg,create:_g}=H("input-number"),ey=_g({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 v=Jg;return{[v]:!0,[`${v}--disabled`]:e.disabled}}),n=v=>Number(v).toFixed(Number(e.decimalPlaces)),a=v=>{const g=v.target;o("update:modelValue",g.valueAsNumber,v)},r=(v,g)=>{let y=n(v);o("update:modelValue",y,g),o("change",y,g)},s=(v=Number(e.modelValue))=>v<Number(e.max)&&!e.disabled,i=(v=Number(e.modelValue))=>v>Number(e.min)&&!e.disabled,c=v=>{if(o("reduce",v),i()){let g=Number(e.modelValue)-Number(e.step);r(g,v)}else o("overlimit",v,"reduce")},d=v=>{if(o("add",v),s()){let g=Number(e.modelValue)+Number(e.step);r(g,v)}else o("overlimit",v,"add")},m=v=>{e.disabled||e.readonly||o("focus",v)},h=v=>{if(e.disabled||e.readonly)return;let y=v.target.valueAsNumber;y<Number(e.min)?y=Number(e.min):y>Number(e.max)&&(y=Number(e.max)),r(y,v),o("blur",v)},p=v=>{let g=Number(v);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 v=p(e.modelValue);v!==Number(e.modelValue)&&r(v,{})}),{classes:l,change:a,blur:h,focus:m,add:d,addAllow:s,reduce:c,reduceAllow:i,toPxDesc:de}}}),ty=["min","max","disabled","readonly","value"];function oy(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,ty),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 at=Z(ey,[["render",oy]]),{create:ny,scope:ly}=H("short-password"),ay=ny({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}=re.useFoxI18n(ly),n=l(e,["title","desc","tips"]),a=t.ref(e.modelValue),r=t.computed(()=>d(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")},d=h=>Math.min(Math.max(4,h),6);return{comLen:r,realInput:a,onTouchStart:i,range:d,close:c,onTips:()=>{o("tips")},show:s,...n}}}),ry={class:"fox-short-password-title"},sy={class:"fox-short-password-subtitle"},iy={class:"fox-short-password-wrapper"},cy={key:0,class:"fox-short-password__item-icon"},uy={class:"fox-short-password__message"},dy={class:"fox-short-password--error"},fy={key:0,class:"fox-short-password--forget"};function my(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",ry,t.toDisplayString(e.title),1),t.createElementVNode("view",sy,t.toDisplayString(e.desc),1),t.createElementVNode("div",iy,[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,d)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-short-password__item",key:d},[String(e.realInput).length>d?(t.openBlock(),t.createElementBlock("view",cy)):t.createCommentVNode("",!0)]))),128))],32)]),t.createElementVNode("view",uy,[t.createElementVNode("view",dy,t.toDisplayString(e.errorMsg),1),e.tips?(t.openBlock(),t.createElementBlock("view",fy,[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 El=Z(ay,[["render",my]]);class py{url="";name="file";fileType="image";formData;sourceFile;method="post";xhrState=200;timeout=30*1e3;headers={};withCredentials=!1;onStart;taroFilePath;onProgress;onSuccess;onFailure;beforeXhrUpload}let hy=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 gy{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);Tn(a)?a.then(r=>{r?l(r):n&&n()}).catch(()=>{}):a?l():n&&n()}else l()},{create:yy}=H("progress"),vy=yy({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}}}),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 Ft=Z(vy,[["render",Sy]]),{componentName:Cy,create:wy,scope:Ny}=H("uploader"),By=wy({components:{[Ft.name]:Ft,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}=re.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})},d=(f,k)=>{const S=new py;S.url=e.url,S.formData=f.formData,S.timeout=e.timeout*1,S.method=e.method,S.xhrState=e.xhrState,S.headers=e.headers,S.withCredentials=e.withCredentials,S.beforeXhrUpload=e.beforeXhrUpload;try{S.sourceFile=f.formData.get(e.name)}catch{}S.onStart=T=>{f.status="ready",f.message=l("readyUpload"),m(k),o("start",T)},S.onProgress=(T,$)=>{f.status="uploading",f.message=l("uploading"),f.percentage=(T.loaded/T.total*100).toFixed(0),o("progress",{event:T,option:$,percentage:f.percentage})},S.onSuccess=(T,$)=>{f.status="success",f.message=l("success"),o("success",{responseText:T,option:$,fileItem:f}),o("update:fileList",n)},S.onFailure=(T,$)=>{f.status="error",f.message=l("error"),o("failure",{responseText:T,option:$,fileItem:f})};let B=new hy(S);e.autoUpload?B.upload():a.push(new Promise((T,$)=>{T(B)}))},m=(f=-1)=>{f>-1?a.splice(f,1):(a=[],n.splice(0,n.length))},h=()=>{Promise.all(a).then(f=>{f.forEach(k=>k.upload())})},p=f=>{f.forEach((k,S)=>{const B=new FormData;for(const[$,E]of Object.entries(e.data))B.append($,E);B.append(e.name,k);const T=t.reactive(new gy);if(T.name=k.name,T.status="ready",T.type=k.type,T.formData=B,T.message=l("waitingUpload"),d(T,S),e.isPreview&&k.type.includes("image")){const $=new FileReader;$.onload=E=>{T.url=E.target.result,n.push(T)},$.readAsDataURL(k)}else n.push(T)})},v=f=>{const k=e.maximum*1,S=e.maximize*1,B=new Array;f=f.filter($=>$.size>S?(B.push($),!1):!0),B.length&&o("oversize",B);let T=f.length+n.length;return T>k&&f.splice(f.length-(T-k)),f},g=(f,k)=>{n.splice(k,1),o("delete",{file:f,fileList:n,index:k})},y=(f,k)=>{m(k),ds(e.beforeDelete,{args:[f,n],done:()=>g(f,k)})},b=f=>{if(e.disabled)return;const k=f.target;let{files:S}=k;e.beforeUpload?e.beforeUpload(S).then(B=>u(B)):u(S),o("change",{fileList:n,event:f}),e.clearInput&&i(k)},u=f=>{const k=v(new Array().slice.call(f));p(k)};return{onChange:b,onDelete:y,fileList:n,classes:r,fileItemClick:c,clearUploadQueue:m,submit:h,renderInput:s}}}),Vy={key:0,class:"fox-uploader__slot"},Ay={key:0,class:"fox-uploader__preview-img"},Ty={key:0,class:"fox-uploader__preview__progress"},Ey={class:"fox-uploader__preview__progress__msg"},$y=["onClick"],Dy=["onClick","src"],xy={key:3,class:"fox-uploader__preview-img__file"},Iy=["onClick"],qy={class:"file__name_tips"},zy={class:"tips"},My={key:1,class:"fox-uploader__preview-list"},Py=["onClick"],Ry={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"),d=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",Vy,[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,v)=>(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",Ay,[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",Ey,t.toDisplayString(p.message),1)])):t.createCommentVNode("",!0),e.isDeletable?(t.openBlock(),t.createElementBlock("view",{key:1,class:"close",onClick:g=>e.onDelete(p,v)},[t.renderSlot(e.$slots,"delete-icon",{},()=>[t.createVNode(s)])],8,$y)):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",xy,[t.createElementVNode("view",{onClick:g=>e.fileItemClick(p),class:"fox-uploader__preview-img__file__name"},[t.createElementVNode("view",qy,t.toDisplayString(p.name),1)],8,Iy)])),t.createElementVNode("view",zy,t.toDisplayString(p.name),1)])):e.listType=="list"?(t.openBlock(),t.createElementBlock("view",My,[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",Ry,t.toDisplayString(p.name),1),e.isDeletable?(t.openBlock(),t.createBlock(d,{key:0,color:"#808080",class:"fox-uploader__preview-img__file__del",onClick:g=>e.onDelete(p,v)},null,8,["onClick"])):t.createCommentVNode("",!0)],10,Py),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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRv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xMC7cARJh+o+QscDQH1e6iPkPtNJsOmpts3HpqfcNuu7hd3+J/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:Ky,scope:Uy}=H("number-keyboard"),Hy=Ky({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}=re.useFoxI18n(Uy),n=l(e,["confirmText"]),a=t.ref(void 0),r=t.ref(e.visible),s=t.ref();function i(){const{customKey:u}=e;let f={id:"lock",type:"lock"},k=Array.isArray(u)?u:[u];return k.length===1&&(f={id:k[0],type:"custom"}),[...c(),f,{id:0,type:"number"},{id:"delete",type:"delete"}]}function c(){const u=[];for(let f=1;f<=9;f++)u.push({id:f,type:"number"});return e.randomKeys?u.sort(()=>Math.random()>.5?1:-1):u}function d(){const u=c(),{customKey:f}=e;let k=Array.isArray(f)?f:[f];return k.length>2&&(k=[k[0],k[1]]),k.length==2&&e.title&&e.type!="rightColumn"&&(k=[k[0]]),k.length===1?e.title&&e.type!="rightColumn"?u.push({id:k[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):u.push({id:0,type:"number"},{id:k[0],type:"custom"}):k.length===2&&u.push({id:k[0],type:"custom"},{id:0,type:"number"},{id:k[1],type:"custom"}),u}const m=t.computed(()=>e.type=="rightColumn"||e.title!=""?d():i()),h=()=>{e.visible&&o("blur")},p=u=>{const f=s.value;f&&!f.contains(u.target)&&h()};t.watch(()=>e.visible,u=>{r.value=u,u?window.addEventListener("touchstart",p,!1):window.removeEventListener("touchstart",p,!1)});function v(u,f){f.stopPropagation(),a.value=u.id,(u.type=="number"||u.type=="custom")&&(o("input",u.id),e.modelValue.length<Number(e.maxlength)&&o("update:modelValue",e.modelValue+u.id)),u.type=="lock"&&b(),u.type=="delete"&&(o("delete"),o("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function g(u){u.stopPropagation()}function y(u){u.preventDefault(),a.value=void 0}function b(){o("update:visible",!1),o("close")}return{...n,delImg:Oy,lockImg:Fy,clickKeyIndex:a,defaultKey:i,closeBoard:b,onTouchEnd:y,onTouchMove:g,onTouchstart:v,keysList:m,genCustomKeys:d,getBasicKeys:c,root:s,show:r}}}),jy={ref:"root"},Wy={class:"fox-number-keyboard"},Yy={key:0,class:"fox-number-keyboard__header"},Xy={class:"fox-number-keyboard__title"},Qy={class:"fox-number-keyboard__body"},Gy={class:"fox-number-keyboard__keys"},Zy=["onTouchstart"],Jy=["src"],_y=["src"],ev={key:0,class:"fox-number-keyboard__sidebar"},tv={class:"fox-key__wrapper"},ov=["src"];function nv(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("div",jy,[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",Wy,[e.title?(t.openBlock(),t.createElementBlock("div",Yy,[t.createElementVNode("h3",Xy,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",Qy,[t.createElementVNode("div",Gy,[(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,Jy)):t.createCommentVNode("",!0),i.type=="delete"?(t.openBlock(),t.createElementBlock("img",{key:2,src:e.delImg},null,8,_y)):t.createCommentVNode("",!0)],42,Zy)],2))),128))]),e.type=="rightColumn"?(t.openBlock(),t.createElementBlock("div",ev,[t.createElementVNode("div",tv,[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,ov)],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 Dl=Z(Hy,[["render",nv]]),{componentName:lv,create:av}=H("swipe"),rv=av({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(()=>({[lv]:!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,d="",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:d||f})},v=()=>{h.offset=0,c=!1,o("close",{name:e.name,position:d})},g=t.computed(()=>({transform:`translate3d(${h.offset}px, 0, 0)`})),y=f=>{d=f>0?"right":"left";let k=f;switch(d){case"left":c&&m===d?k=-i.value:k=Math.abs(f)>i.value?-i.value:f;break;case"right":c&&m===d?k=r.value:k=Math.abs(f)>r.value?r.value:f;break}h.offset=k},b=Ke();return{classes:l,touchStyle:g,...{onTouchStart(f){e.disabled||b.start(f)},onTouchMove(f){e.disabled||(b.move(f),b.isHorizontal()&&(h.moving=!0,y(b.deltaX.value),e.touchMovePreventDefault&&f.preventDefault(),e.touchMoveStopPropagation&&f.stopPropagation()))},onTouchEnd(){if(h.moving)switch(h.moving=!1,m=d,d){case"left":Math.abs(h.offset)<=i.value/2?v():(h.offset=-i.value,p());break;case"right":Math.abs(h.offset)<=r.value/2?v():(h.offset=r.value,p());break}}},leftRef:a,rightRef:s,open:p,close:v}}}),sv={class:"fox-swipe__left",ref:"leftRef"},iv={class:"fox-swipe__content"},cv={class:"fox-swipe__right",ref:"rightRef"};function uv(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",sv,[t.renderSlot(e.$slots,"left")],512),t.createElementVNode("view",iv,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",cv,[t.renderSlot(e.$slots,"right")],512)],38)}const Kt=Z(rv,[["render",uv]]),{componentName:dv,create:fv}=H("action-sheet"),mv=fv({components:{[ce.name]:ce,Loading:ee.Loading},props:{...rt,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(()=>({[dv]:!0}));return{slotDefault:l,isHighlight:c=>e.chooseTagValue&&e.chooseTagValue===c[e.optionTag]?e.color:"",cancelActionSheet:()=>{o("cancel"),o("update:visible",!1)},chooseItem:(c,d)=>{!c.disable&&!c.loading&&(o("choose",c,d),o("update:visible",!1))},close:c=>{o("close",c),o("update:visible",!1)},classes:n}}}),pv={key:0,class:"fox-action-sheet__title"},hv={key:1},gv={key:0,class:"fox-action-sheet__item fox-action-sheet__desc"},yv={key:1,class:"fox-action-sheet__menu"},vv=["onClick"],kv={key:1},bv={class:"fox-action-sheet__subdesc"};function Sv(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",pv,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",hv,[e.description?(t.openBlock(),t.createElementBlock("view",gv,t.toDisplayString(e.description),1)):t.createCommentVNode("",!0),e.menuItems.length?(t.openBlock(),t.createElementBlock("view",yv,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menuItems,(c,d)=>(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:d,onClick:m=>e.chooseItem(c,d)},[c.loading?(t.openBlock(),t.createBlock(s,{key:0,name:"loading"})):(t.openBlock(),t.createElementBlock("view",kv,t.toDisplayString(c[e.optionTag]),1)),t.createElementVNode("view",bv,t.toDisplayString(c[e.optionSubTag]),1)],14,vv))),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 xl=Z(mv,[["render",Sv]]),{componentName:Cv,create:wv}=H("backtop"),Il=wv({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(()=>({[Cv]:!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 b=e.duration-Math.max(0,n.startTime-+new Date+e.duration),u=b*-n.scrollTop/e.duration+n.scrollTop;i(u),g=We(y),(b==e.duration||u==0)&&ar(g)})}function d(){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(){v.value?n.scrollEl=v.value.el:e.elId&&document.getElementById(e.elId)&&(n.scrollEl=document.getElementById(e.elId)),d()}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 v=t.computed(()=>{if(typeof l.content=="function"){const g=l.content();return Array.isArray(g)?g[0]:g}return null});return()=>{const g=[];v.value&&g.push(v.value);const y=[];if(typeof l.default=="function")y.push(l.default());else{const u=t.h(ee.Top,{class:["fox-backtop-main"],width:"19px",height:"19px"});y.push(u)}const b=t.h("div",{class:a.value,style:r.value,onClick:h},y);return g.push(b),g}}}),{componentName:Nv,create:Bv}=H("drag"),Vv=Bv({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(()=>({[Nv]:!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",je(()=>{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",je(()=>{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",je(()=>{i(h,p)})):h.style.left=p+"px"}function c(h){h.preventDefault();const p=h.currentTarget;if(h.targetTouches.length===1){const v=h.targetTouches[0];n.nx=v.clientX-n.position.x,n.ny=v.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 d(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?je(()=>{s(p)}):je(()=>{i(p,y)})),e.direction!="x"&&(p.style.top=n.yPum+"px")}function m(h){const p=h.currentTarget,v=h.touches[0],g=h.targetTouches[0];n.startTop=p.offsetTop,n.startLeft=p.offsetLeft,n.position.x=v.clientX,n.position.y=v.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",d)}),{classes:a,myDrag:l,touchStart:m,touchMove:c,touchEnd:d}}});function Av(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(Vv,[["render",Av]]),{componentName:Tv,create:Ev,scope:$v}=H("dialog"),Dv=Ev({inheritAttrs:!1,components:{[ce.name]:ce,[xe.name]:xe},props:{...rt,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}=re.useFoxI18n($v),n=l(e,["confirmText","cancelText"]),a=t.ref(e.visible);t.onMounted(()=>{e.closeOnPopstate&&Qe&&window.addEventListener("popstate",function(){i("page")})}),t.watch(()=>e.visible,m=>{a.value=m,m&&o("opened")});const r=t.computed(()=>({[Tv]:!0,[e.customClass]:!0})),s=m=>{o("update",m),o("update:visible",m)},i=m=>{if(e.beforeClose){const h=e.beforeClose(m);Tn(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}}}),xv={key:0,class:"fox-dialog__header"},Iv=["innerHTML"];function qv(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",xv,[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,Iv)):(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 fs=Z(Dv,[["render",qv]]);class zv{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 Mv{options=new zv;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(fs,l)}};this.instance=t.createVNode(s),n.appendChild(r),t.render(this.instance,r)}close=()=>{};setDefaultOptions=o=>{};resetDefaultOptions=()=>{}}const Ut=function(e){return new Mv(e)};Ut.install=e=>{e.use(fs),e.config.globalProperties.$dialog=Ut};const{componentName:Pv,create:Rv,scope:Lv}=H("pull-refresh"),Ov=Rv({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}=re.useFoxI18n(Lv),a=n(e,["pullingText","loosingText","loadingText"]),r=Ke(),s=t.ref(),i=Qr(s),c=t.reactive({isPullRefresh:!1,distance:0,status:"normal"}),d=t.computed(()=>({[Pv]:!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 S={};return e.headHeight!=50&&(S.height=de(e.headHeight)),S}),v=S=>{const B=+(e.pullDistance||e.headHeight);let T=S;return S>B&&(S<B*2?T=(S+B)/2:T=B+S/4),Math.round(T)},g=(S,B)=>{const T=+(e.pullDistance||e.headHeight);c.distance=S,B?c.status="loading":S===0?c.status="normal":S<T?c.status="pulling":c.status="loosing",o("change",{status:c.status,distance:S})},y=()=>c.status!=="loading"&&c.status!=="complete",b=()=>i.value==window?$n()==0:i.value&&i.value.scrollTop==0,u=S=>{y()&&(b()?(r.start(S),c.isPullRefresh=!0):(c.distance=0,c.isPullRefresh=!1))},f=S=>{if(y()){r.move(S);const{deltaY:B}=r;r.isVertical()&&B.value>0&&c.isPullRefresh&&(S.preventDefault(),g(v(B.value)))}},k=()=>{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,S=>{S?g(+e.headHeight,!0):g(0)}),{classes:d,scroller:s,...t.toRefs(c),touchStart:u,touchMove:f,touchEnd:k,getStyle:h,slots:l,getHeightStyle:p,getPullStatus:m}}}),Fv={class:"fox-pull-refresh-container-topbox-text"};function Kv(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",Fv,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(Ov,[["render",Kv]]),{create:Uv}=H("notify"),Hv=Uv({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,d=>{s.value=e.visible;const m=e.duration;d&&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 jv(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(Hv,[["render",jv]]),Nn={type:"base",visible:!0,msg:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:Function,teleport:"",unmount:new Function};let ut=[],Dt=[];const ms=e=>{if(e){const o=document.getElementById(e);Dt=Dt.filter(l=>l.id!==e),ut=ut.filter(l=>l!==e),o&&document.body.removeChild(o)}else ut.forEach(o=>{const l=document.getElementById(o);l&&document.body.removeChild(l)}),Dt=[],ut=[]},Wv=e=>{const o=document.getElementById(e.id);if(o){const l=Dt.find(a=>a.id===e.id);l?e={...Nn,...l,...e}:e={...Nn,...e};const n=t.createVNode(Ml,e);return t.render(n,o),n.component.data}},Vt=e=>{e.unmount=ms;let o;if(e.id){if(o=e.id,ut.find(r=>r===e.id))return Wv(e)}else o=new Date().getTime()+"";e={...Nn,...e},e.id=o,ut.push(e.id),Dt.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)},At=e=>{if(!e){console.warn("[NutUI Notify]: msg不能为空");return}},Pl={text(e,o={}){return At(e),Vt({...o,msg:e})},primary(e,o={}){return At(e),Vt({...o,msg:e,type:"primary"})},success(e,o={}){return At(e),Vt({...o,msg:e,type:"success"})},danger(e,o={}){return At(e),Vt({...o,msg:e,type:"danger"})},warn(e,o={}){return At(e),Vt({...o,msg:e,type:"warning"})},hide(){ms()},install(e){e.use(Ml)}},{create:Yv}=H("toast"),Xv=Yv({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,v=>{v&&s()});const c=t.computed(()=>e.type!=="text"?!0:!!e.icon),d=()=>{const v=se(e.iconSize);return t.h(e.icon,{width:v,height:v,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:d,hasIcon:c,toastBodyClass:m,toastIconWrapperClass:h,onAfterLeave:()=>{a(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),Qv={key:1,class:"fox-toast-title"},Gv=["innerHTML"];function Zv(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",Qv,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,Gv)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const Rl=Z(Xv,[["render",Zv]]),Bn={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 dt=[],xt=[];const ps=e=>{if(e){const o=document.getElementById(e);xt=xt.filter(l=>l.id!==e),dt=dt.filter(l=>l!==e),o&&document.body.removeChild(o)}else dt.forEach(o=>{const l=document.getElementById(o);l&&document.body.removeChild(l)}),xt=[],dt=[]},Jv=e=>{const o=document.getElementById(e.id);if(o){const l=xt.find(a=>a.id===e.id);l?e={...Bn,...l,...e}:e={...Bn,...e};const n=t.createVNode(Rl,e);return t.render(n,o),Ct}},Tt=e=>{e.unmount=ps;let o;if(e.id){if(o=e.id,dt.find(a=>a===e.id))return Jv(e)}else o=new Date().getTime()+"";e={...Bn,...e},e.id=o,dt.push(e.id),xt.push(e);const l=document.createElement("div");l.id=e.id;const n=t.createVNode(Rl,e);return t.render(n,l),document.body.appendChild(l),Ct},Zt=e=>{if(!e){console.warn("[FoxUI Toast]: msg不能为空");return}},Ct={text(e,o={}){return Zt(e),Tt({...o,type:"text",msg:e})},success(e,o={}){return Zt(e),Tt({icon:ee.Success,...o,msg:e,type:"success"})},fail(e,o={}){return Zt(e),Tt({icon:ee.Failure,...o,msg:e,type:"fail"})},warn(e,o={}){return Zt(e),Tt({icon:ee.Tips,...o,msg:e,type:"warn"})},loading(e,o={}){return Tt({icon:ee.Loading,...o,msg:e,type:"loading"})},hide(e){ps(e)},install(e){e.use(Rl),e.config.globalProperties.$toast=Ct}},{componentName:JN,create:_v}=H("audio"),ek=_v({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,[Ot.name]:Ot},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 b=0;b<y.length;b++)document.addEventListener(y[b],()=>{document.hidden?n.value.pause():a.playing&&setTimeout(()=>{n.value.play()},200)})}catch(b){b.message}});const r=y=>{const b=n.value;e.autoplay&&b&&b.paused&&b.play(),a.second=b.duration,a.duration=g(b.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)},d=()=>{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 b=n.value;b.currentTime=a.second*y/100,o("changeProgress",b.currentTime)},v=()=>{a.hanMuted=!a.hanMuted,o("mute",a.hanMuted)},g=y=>{if(!y)return"00:00:00";let b=parseInt(y),u=Math.floor(b/3600),f=Math.floor((b-u*3600)/60),k=b-u*3600-f*60,S="";return S+=("0"+u.toString()).slice(-2)+":",S+=("0"+f.toString()).slice(-2)+":",S+=("0"+k.toString()).slice(-2),S};return t.watch(()=>a.currentTime,y=>{m(y)}),t.provide("audioParent",{children:[],props:e,audioData:a,handleMute:v,forward:d,fastBack:i,changeStatus:c}),{...t.toRefs(e),...t.toRefs(a),audioRef:n,fastBack:i,forward:d,changeStatus:c,progressChange:p,audioEnd:h,onTimeupdate:s,handleMute:v,onCanplay:r,slots:l}}}),tk={class:"fox-audio"},ok={key:0,class:"fox-audio__progress"},nk={class:"fox-audio__time"},lk={class:"fox-audio__bar"},ak=t.createElementVNode("div",{class:"fox-audio__button--custom"},null,-1),rk={class:"fox-audio__time"},sk={key:1,class:"fox-audio__icon"},ik=["controls","src","preload","autoplay","loop","muted"];function ck(e,o,l,n,a,r){const s=t.resolveComponent("fox-range"),i=t.resolveComponent("Service");return t.openBlock(),t.createElementBlock("div",tk,[e.type=="progress"?(t.openBlock(),t.createElementBlock("div",ok,[t.createElementVNode("div",nk,t.toDisplayString(e.currentDuration),1),t.createElementVNode("div",lk,[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",rk,t.toDisplayString(e.duration),1)])):t.createCommentVNode("",!0),e.type=="icon"?(t.openBlock(),t.createElementBlock("div",sk,[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,ik)])}const Ll=Z(ek,[["render",ck]]),{componentName:_N,create:uk,scope:dk}=H("audio-operate"),fk=uk({props:{type:{type:String,default:()=>"play"}},components:{},emits:["click"],setup(e,{emit:o}){const{t:l}=re.useFoxI18n(dk),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 Ol=Z(fk,[["render",pk]]),{componentName:hk,create:gk}=H("avatar"),yk=gk({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}),d=t.reactive({index:1,showMax:!1,maxIndex:0});t.onMounted(()=>{const g=s?.avatarGroupRef?.value?.children;g&&v(g)});const m=t.computed(()=>({[hk]:!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:d.index!=1&&(s?.props?.span?`${s?.props?.span}px`:""),zIndex:s?.props?.zIndex=="right"?`${Math.abs(d.maxIndex-d.index)}`:""})),p=t.computed(()=>({backgroundColor:`${s?.props?.maxBgColor}`,color:`${s?.props?.maxColor}`})),v=g=>{d.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);d.index=i?.value?.dataset?.index,d.index==d.maxIndex&&d.index!=s?.props?.maxCount&&(d.showMax=!0)};return{classes:m,styles:h,maxStyles:p,avatarGroup:s,visible:c,avatarRef:i,...t.toRefs(d)}}});function vk(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 Ht=Z(yk,[["render",vk]]),{componentName:kk,create:bk}=H("avatar-group"),Sk=bk({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(()=>({[kk]:!0}));return t.onMounted(()=>{}),t.provide("avatarGroup",{props:e,avatarGroupRef:n,index:a}),{classes:r,avatarGroupRef:n}}});function Ck(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 Fl=Z(Sk,[["render",Ck]]);var oo=(e=>(e[e.eq=1]="eq",e[e.lt=2]="lt",e[e.gt=3]="gt",e))(oo||{});function wk(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:Nk,create:Bk}=H("list"),nr=document.documentElement.clientHeight||document.body.clientHeight||667,Vk=Bk({props:{listData:{type:Array,default:()=>[]},bufferSize:{type:Number,default:5},containerHeight:{type:[Number],default:nr},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,nr)),i=t.computed(()=>Math.ceil(s.value/e.height)),c=t.computed(()=>Math.min(r.originStartIndex+i.value+e.bufferSize,r.list.length)),d=t.computed(()=>({[Nk]:!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 u=0;u<r.list.length;++u)r.cachePositions[u]={index:u,height:e.height,top:u*e.height,bottom:(u+1)*(e.height+e.margin),dValue:0}},v=()=>{let u=a.value.childNodes;u=Array.from(u).filter($=>$.nodeType===1);const f=u[0];u.forEach(($,E)=>{if(!$)return;const x=Ve($),{height:C}=x,z=r.cachePositions[E+r.start].height-C;z&&(r.cachePositions[E+r.start].bottom-=z,r.cachePositions[E+r.start].height=C,r.cachePositions[E+r.start].dValue=z)});let k=0;f&&(k=r.start);const S=r.cachePositions.length;let B=r.cachePositions[k].dValue;r.cachePositions[k].dValue=0;for(let $=k+1;$<S;++$){const E=r.cachePositions[$];r.cachePositions[$].top=r.cachePositions[$-1].bottom,r.cachePositions[$].bottom=r.cachePositions[$].bottom-B,E.dValue!==0&&(B+=E.dValue,E.dValue=0)}const T=r.cachePositions[S-1].bottom;r.phantomHeight=T},g=(u=0)=>{let f=wk(r.cachePositions,u,(S,B)=>{const T=S.bottom;return T===B?oo.eq:T<B?oo.lt:oo.gt});return r.cachePositions[f].bottom<u&&(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},b=()=>{const u=l.value?.scrollTop,{originStartIndex:f}=r,k=g(u);k!==f&&(r.originStartIndex=k,r.start=Math.max(r.originStartIndex-e.bufferSize,0),c.value>=r.list.length-1&&o("scroll-bottom")),o(u>r.scrollTop?"scroll-up":"scroll-down",u),r.scrollTop=u};return t.watch(()=>e.listData,u=>{if(r.list=u.slice(),r.list.length===u.length)p(),v();else{y();return}}),t.watch(()=>r.start,()=>{a.value&&r.list.length>0&&v()}),{...t.toRefs(r),list:l,phantom:n,actualContent:a,getTransform:h,visibleData:m,classes:d,getContainerHeight:s,handleScrollEvent:b}}});function Ak(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 Kl=Z(Vk,[["render",Ak]]),{componentName:Tk,create:Ek}=H("circleprogress"),$k=Ek({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(()=>({[Tk]:!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(()=>$e(e.color)?`url(#${n})`:e.color),i=t.computed(()=>{let m=283,h=m*Number(e.progress)/100;return{stroke:$e(e.color)?`url(#${n})`:e.color,strokeDasharray:`${h}px ${m}px`}}),c=t.computed(()=>({stroke:e.pathColor})),d=t.computed(()=>{if(!$e(e.color))return;let m=e.color;const h=Object.keys(m).sort((v,g)=>parseFloat(v)-parseFloat(g));let p=[];return h.map((v,g)=>{let y={key:"",value:""};y.key=v,y.value=m[v],p.push(y)}),p});return{classes:a,hoverStyle:i,pathStyle:c,path:r,hoverColor:s,stop:d,slotDefault:l,refRandomId:n}}}),Dk={viewBox:"0 0 100 100"},xk=["id"],Ik=["offset","stop-color"],qk=["d","stroke-width"],zk=["d","stroke","stroke-linecap","stroke-width"],Mk={class:"fox-circleprogress-text"},Pk={key:0};function Rk(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",Dk,[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,Ik))),128))],8,xk)]),t.createElementVNode("path",{class:"fox-circleprogress-path",style:t.normalizeStyle(e.pathStyle),d:e.path,fill:"none","stroke-width":e.strokeWidth}," > ",12,qk),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,zk)])),t.createElementVNode("div",Mk,[t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Pk,t.toDisplayString(e.progress)+"%",1))])],6)}const Ul=Z($k,[["render",Rk]]),{componentName:Lk,create:Ok}=H("noticebar"),Fk=Ok({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(()=>({[Lk]:!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})),d=t.computed(()=>{let $={};return e.color&&($.color=e.color),e.background&&($.background=e.background),e.direction=="vertical"&&($.height=`${e.height}px`),$}),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 $={};if(e.complexAm)$={transform:`translateY(${r.distance}px)`};else if(r.animate){let E=~~(e.height/e.speed/4);$={transition:`all ${E==0?~~(e.height/e.speed):E}s`,"margin-top":`-${e.height}px`}}return $});t.watch(()=>e.text,$=>{p()}),t.watch(()=>e.list,$=>{r.scrollList=[...$]});const p=$=>{r.showNoticebar!=!1&&setTimeout(()=>{if(!n.value||!a.value)return;const E=n.value.getBoundingClientRect().width,x=a.value.getBoundingClientRect().width;r.isCanScroll=e.scrollable==null?x>E:e.scrollable,r.isCanScroll?(r.wrapWidth=E,r.offsetWidth=x,r.duration=x/e.speed,r.animationClass="play"):r.animationClass=""},0)},v=$=>{o("click",$)},g=$=>{e.closeMode&&(r.showNoticebar=!e.closeMode),o("close",$)},y=$=>{r.firstRound=!1,o("across-end",$),setTimeout(()=>{r.duration=(r.offsetWidth+r.wrapWidth)/e.speed,r.animationClass="play-infinite"},0)},b=()=>{u(),r.timer=setInterval(u,~~(e.height/e.speed/4*1e3)+e.standTime)},u=()=>{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 $=100;for(let E=0;E<$;E++)k(E,!(E<$-1))},e.standTime+100*e.speed)},k=($,E)=>{setTimeout(()=>{r.distance-=e.height/100,E&&(r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.distance=0)},$*e.speed)},S=$=>{o("click",$)},B=()=>{e.closeMode&&(r.showNoticebar=!e.closeMode),o("close",r.scrollList[0])};t.onMounted(()=>{e.direction=="vertical"?(l.default?T(l.default()):r.scrollList=[...e.list],setTimeout(()=>{e.complexAm?f():b()},e.standTime)):p(e.text)}),t.watch(()=>l.default?l.default():[],$=>{e.direction==="vertical"&&l.default&&(r.showNotica=!1,setTimeout(()=>{r.showNotica=!0}),T($))});const T=$=>{$&&$.length>0&&(r.scrollList=$[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:d,contentStyle:m,horseLampStyle:h,wrap:n,content:a,handleClick:v,onClickIcon:g,onAnimationEnd:y,go:S,handleClickIcon:B,slots:l,toPxDesc:de,wrapContentClass:c}}}),Kk={class:"fox-noticebar__page-lefticon"},Uk={ref:"wrap",class:"fox-noticebar__page-wrap"},Hk={class:"showNotica"},jk=["onClick"];function Wk(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]=(...d)=>e.handleClick&&e.handleClick(...d))},[t.createElementVNode("view",Kk,[t.renderSlot(e.$slots,"left-icon",{},()=>[e.leftIcon?(t.openBlock(),t.createBlock(s,{key:0,size:"16px"})):t.createCommentVNode("",!0)])]),t.createElementVNode("view",Uk,[t.createElementVNode("view",{ref:"content",class:t.normalizeClass(e.wrapContentClass),style:t.normalizeStyle(e.contentStyle),onAnimationend:o[0]||(o[0]=(...d)=>e.onAnimationEnd&&e.onAnimationEnd(...d)),"on:webkitAnimationEnd":o[1]||(o[1]=(...d)=>e.onAnimationEnd&&e.onAnimationEnd(...d))},[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((...d)=>e.onClickIcon&&e.onClickIcon(...d),["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",Hk,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(d,m)=>(t.openBlock(),t.createBlock(c,{key:m,style:t.normalizeStyle({height:e.height+"px","line-height":e.height+"px"}),item:d},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,(d,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(d)},[t.renderSlot(e.$slots,"item",{},()=>[t.createTextVNode(t.toDisplayString(d),1)])],12,jk))),128))],4)),t.createElementVNode("view",{class:"go",onClick:o[4]||(o[4]=d=>!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(Fk,[["render",Wk]]),Y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lRZxs8VoK5WMy6lTjT/gRak1QKlFFxO9FKsBZzZZZSWQBY3nNKllAOdG70CtDcP9/s4DHtSzEDOqdONf4OQ+Kn1qWWOINqh1ZBjUXjxsoJs9GbAZpmvCgFnxvLOg1vFzwilYCioZUXMwnV+CIcMwQB151N/pIseoLCXcCR/HcCEv8qj/w1eMsSoQEjE9HMOzIF/HOlFS259e4gCrASGRsY1Uy4KcnXzx89vH3tcvOMSOAiF8ip/EGm7+XYxxChFDHKCpKRkyEkFljufOyZal5WhQJxNdna04jCeUMcevuGXLgDlRZpjUBEL+MEpl+7zrnrft8lnLNGDONJGCSvRneJjEbCBEK6klqm8BIVo5ymhBJfNAE0X0Kymip7QStUE3fqKblBLVpxMpRDs1hiMcmvMT/biJnNKYn+jHqFNOyTxgNiinZB4oOZRTMg/IvZRPfRTRk40Cj37S95s9OyYCGIShALrVQIVgBAMVUQsdGBgqgKGHCRz2GEBDhvc05PJzPwTVxpa6np+o+lhK9jclqt1OpSr2iWsN6ntZp0T2zW1abtcpsZ3tqdmYEt8h9AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIC/PTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAUMS6uSWMRCGwAAAABJRU5ErkJggg==",{componentName:eB,create:Gk,scope:Zk}=H("empty"),Jk={empty:Yk,error:Xk,network:Qk},_k=Gk({props:{image:{type:String,default:"empty"},imageSize:{type:[Number,String],default:""},description:{type:String,default:""}},setup(e){const{toLocaleRefs:o}=re.useFoxI18n(Zk),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:Jk[n.value];return{...l,imageUrl:i,imgStyle:r}}}),eb={class:"fox-empty"},tb=["src"],ob={key:1,class:"fox-empty-description"};function nb(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",eb,[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,tb)):t.createCommentVNode("",!0)],64))],4),e.$slots.description?t.renderSlot(e.$slots,"description",{key:0}):(t.openBlock(),t.createElementBlock("view",ob,t.toDisplayString(e.description),1)),e.$slots.default?t.renderSlot(e.$slots,"default",{key:2}):t.createCommentVNode("",!0)])}const jl=Z(_k,[["render",nb]]),{create:lb,scope:ab}=H("video"),rb=lb({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}=re.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,T=>{T.src&&t.nextTick(()=>{n.videoElm.load()})},{immediate:!0,deep:!0}),t.watch(()=>e.options,T=>{n.state.isMuted=T?T.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",ao(h,1e3)))},i=()=>{const T=a.value,$=a.value.getElementsByClassName("fox-video-controller__progress-value")[0];n.player.$player=T,n.progressBar.progressElm=$,n.progressBar.pos=$.getBoundingClientRect(),n.videoSet.progress.width=Math.round($.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",ao(h,1e3)),n.videoElm.addEventListener("ended",p),o("play",n.videoElm)}catch{v()}else n.videoElm.pause(),o("pause",n.videoElm)},d=T=>{var $=Math.floor(T/3600);$<10&&($="0"+$);var E=Math.floor(T%3600/60);E<10&&(E="0"+E);var x=Math.round(T%3600%60);x<10&&(x="0"+x);var C="";return $!=0?C=$+":"+E+":"+x:C=E+":"+x,C},m=()=>{n.videoSet.loaded&&(n.videoSet.loaded=n.videoElm.buffered.end(0)/n.videoElm.duration*100)},h=()=>{const T=n.videoElm.currentTime/n.videoElm.duration;n.videoSet.progress.current=Math.round(n.videoSet.progress.width*T),n.videoSet.totalTime=d(n.videoElm.duration),n.videoSet.displayTime=d(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)},v=()=>{n.state.isError=!0},g=()=>{n.state.vol=e.options.volume},y=()=>{n.state.isMuted=!n.state.isMuted,n.videoElm.muted=n.state.isMuted},b=()=>{},u=T=>{let E=T.targetTouches[0].pageX-n.progressBar.pos.left;E<=0&&(E=0),E>=n.videoSet.progress.width&&(E=n.videoSet.progress.width),n.videoSet.progress.current=E;let x=n.videoSet.progress.current/n.videoSet.progress.width;n.videoElm.duration&&k(x,n.videoElm.duration)},f=T=>{let E=T.changedTouches[0].pageX-n.progressBar.pos.left;n.videoSet.progress.current=E;let x=E/n.videoSet.progress.width;n.videoElm.duration&&k(x,n.videoElm.duration)},k=(T,$)=>{n.videoElm.currentTime=Math.floor(T*$)},S=()=>{n.state.isError=!1,s()},B=()=>{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:v,isDisabled:r,play:c,handleMuted:y,touchSlidSrart:b,touchSlidMove:u,touchSlidEnd:f,retry:S,fullScreen:B,t:l}}}),sb={class:"fox-video",ref:"videocon"},ib=["muted","autoplay","loop","poster","controls","preload"],cb=["src","type"],ub={class:"fox-video-controller__now"},db={class:"fox-video-controller__progress"},fb={class:"fox-video-controller__progress-value",ref:"progressBar"},mb=t.createElementVNode("div",{class:"fox-video-controller__ball-move"},null,-1),pb=[mb],hb={class:"fox-video-controller__played",ref:"playedBar"},gb={class:"fox-video-controller__total"},yb={class:"fox-video-error"},vb={class:"fox-video-error-tip"};function kb(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",sb,[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,cb)],40,ib),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",ub,t.toDisplayString(e.videoSet.displayTime),1),t.createElementVNode("div",db,[t.createElementVNode("div",fb,[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"]))},pb,36),t.createElementVNode("div",hb,null,512)],512)]),t.createElementVNode("div",gb,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",yb,[t.createElementVNode("p",vb,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 vt=Z(rb,[["render",kb]]),{create:bb,componentName:Sb}=H("steps"),Wl=bb({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=Sb;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:Cb,componentName:wb}=H("step"),Nb=Cb({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=wb;return{[c]:!0,[`${c}-${r.value}`]:!0}}),i=()=>{o.onEmit(n.value)};return{...t.toRefs(l),index:n,classes:s,handleClickStep:i}}}),Bb={class:"fox-step-head"},Vb=t.createElementVNode("view",{class:"fox-step-line"},null,-1),Ab={class:"fox-step-icon-inner"},Tb={key:1,class:"fox-step-inner"},Eb={class:"fox-step-main"},$b={class:"fox-step-title"},Db={key:0},xb={key:0,class:"fox-step-content"},Ib=["innerHTML"];function qb(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",Bb,[Vb,t.createElementVNode("view",{class:t.normalizeClass(["fox-step-icon",[e.dot?"":"is-icon"]])},[t.createElementVNode("view",Ab,[t.renderSlot(e.$slots,"icon",{},()=>[e.dot?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[],64)):(t.openBlock(),t.createElementBlock("view",Tb,t.toDisplayString(e.index),1))])])],2)]),t.createElementVNode("view",Eb,[t.createElementVNode("view",$b,[e.$slots.title?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",Db,t.toDisplayString(e.title),1)),t.renderSlot(e.$slots,"title")]),e.content||e.$slots.content?(t.openBlock(),t.createElementBlock("view",xb,[e.$slots.content?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:e.content},null,8,Ib)),t.renderSlot(e.$slots,"content")])):t.createCommentVNode("",!0)])],2)}const Yl=Z(Nb,[["render",qb]]),{create:zb,componentName:Jo}=H("swiper"),Mb=zb({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=Ke(),s=t.computed(()=>({[Jo]:!0})),i=t.computed(()=>e.direction==="vertical"),c=t.computed(()=>{const N=Jo;return{[`${N}-inner`]:!0,[`${N}-vertical`]:i.value}}),d=t.computed(()=>{const N=Jo;return{[`${N}-pagination`]:!0,[`${N}-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),v=t.computed(()=>a[i.value?"height":"width"]),g=t.computed(()=>p.value*v.value),y=t.computed(()=>a.rect?(i.value?a.rect.height:a.rect.width)-v.value*p.value:0),b=t.computed(()=>(a.active+p.value)%p.value),u=()=>{let N=0;N=a.offset,a.style={transitionDuration:`${a.moving?0:e.duration}ms`,transform:`translate${i.value?"Y":"X"}(${N}px)`,[i.value?"height":"width"]:`${v.value*p.value}px`,[i.value?"width":"height"]:`${i.value?a.width:a.height}px`}},f=N=>{let R=[];const M=a.childrenVNode.length;let I=l?.default?.();if(I=I.filter(L=>L.children&&Array.isArray(L.children)),I.forEach(L=>{R=R.concat(L.children)}),!M)a.childrenVNode=R.slice(),N.proxy&&a.children.push(N.proxy);else if(M>R.length)a.children=a.children.filter(L=>N.proxy!==L);else if(M<R.length){for(let L=0;L<M;L++)if(R[L].key!==a.childrenVNode[L].key){N.proxy&&a.children.splice(L,0,N.proxy),N.vnode&&a.childrenVNode.splice(L,0,N.vnode);break}M!==R.length&&(N.proxy&&a.children.push(N.proxy),N.vnode&&a.childrenVNode.push(N.vnode))}else a.childrenVNode=R.slice(),N.proxy&&a.children.push(N.proxy)},k=(N,R=0)=>{let M=N*v.value;e.loop||(M=Math.min(M,-y.value));let I=R-M;return e.loop||(I=Re(I,y.value,0)),I},S=N=>{const{active:R}=a;return N?e.loop?Re(R+N,-1,p.value):Re(R+N,0,p.value-1):R},B=({pace:N=0,offset:R=0,isEmit:M=!1})=>{if(p.value<=1)return;const{active:I}=a,L=S(N),Q=k(L,R);if(e.loop){if(a.children[0]&&Q!==y.value){const W=Q<y.value;a.children[0].setOffset(W?g.value:0)}if(a.children[p.value-1]&&Q!==0){const W=Q>0;a.children[p.value-1].setOffset(W?-g.value:0)}}a.active=L,a.offset=Q,M&&I!==a.active&&o("change",b.value),u()},T=()=>{a.moving=!0,a.active<=-1&&B({pace:p.value}),a.active>=p.value&&B({pace:-p.value})},$=()=>{a.autoplayTimer&&clearTimeout(a.autoplayTimer)},E=N=>{T(),r.reset(),We(()=>{We(()=>{a.moving=!1,B({pace:N,isEmit:!0})})})},x=()=>{E(-1)},C=()=>{E(1)},w=N=>{T(),r.reset(),We(()=>{a.moving=!1;let R;e.loop&&p.value===N?R=a.active===0?0:N:R=N%p.value,B({pace:R-a.active,isEmit:!0})})},z=()=>{e.autoPlay<=0||p.value<=1||($(),a.autoplayTimer=setTimeout(()=>{C(),z()},Number(e.autoPlay)))},P=(N=+e.initPage)=>{$(),a.rect=n.value.getBoundingClientRect(),N=Math.min(p.value-1,N),a.width=e.width?+e.width:a.rect.width,a.height=e.height?+e.height:a.rect.height,a.active=N,a.offset=k(a.active),a.moving=!0,u(),z()},A=N=>{e.isPreventDefault&&N.preventDefault(),e.isStopPropagation&&N.stopPropagation(),e.touchable&&(r.start(N),a.touchTime=Date.now(),$(),T())},V=N=>{e.touchable&&a.moving&&(r.move(N),h.value&&B({offset:m.value}))},D=N=>{if(!e.touchable||!a.moving)return;const R=m.value/(Date.now()-a.touchTime);if((Math.abs(R)>.3||Math.abs(m.value)>+(v.value/2).toFixed(2))&&h.value){let I=0;const L=i.value?r.offsetY.value:r.offsetX.value;e.loop?I=L>0?m.value>0?-1:1:0:I=-Math[m.value>0?"ceil":"floor"](m.value/v.value),B({pace:I,isEmit:!0})}else m.value&&B({pace:0});a.moving=!1,u(),z()};return t.provide("parent",{props:e,size:v,relation:f}),Ae({prev:x,next:C,to:w}),t.onDeactivated(()=>{$()}),t.onBeforeUnmount(()=>{$()}),t.watch(()=>e.initPage,N=>{t.nextTick(()=>{P(Number(N))})}),t.watch(()=>a.children.length,()=>{t.nextTick(()=>{P()})}),t.watch(()=>e.autoPlay,N=>{N>0?z():$()}),{state:a,classes:s,classesInner:c,classesPagination:d,container:n,activePagination:b,onTouchStart:A,onTouchMove:V,onTouchEnd:D}}});function Pb(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 kt=Z(Mb,[["render",Pb]]),{create:Rb,componentName:Lb}=H("swiper-item"),Ob=Rb({setup(e,{slots:o}){const l=t.inject("parent");l.relation(t.getCurrentInstance());const n=t.reactive({offset:0}),a=t.computed(()=>({[Lb]:!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")}),Ae({setOffset:s}),{style:r,classes:a}}});function Fb(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 bt=Z(Ob,[["render",Fb]]),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:Kb}=H("image-preview-item"),Ub=Kb({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:{[vt.name]:vt,[bt.name]:bt},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=Ke(),a=t.computed(()=>{const{rootWidth:x,rootHeight:C}=e,w=C/x;return l.imageRatio>w}),r=t.computed(()=>{const x=e.image;if(x&&x.src){const{scale:C,moveX:w,moveY:z,moving:P,zooming:A}=l,V={transitionDuration:A||P?"0s":".3s"};if(C!==1){const D=w/C,N=z/C;V.transform=`scale(${C}, ${C}) translate(${D}px, ${N}px)`}return V}return{}}),s=t.computed(()=>{if(l.imageRatio){const{rootWidth:x,rootHeight:C}=e,w=a.value?C/l.imageRatio:x;return Math.max(0,(l.scale*w-x)/2)}return 0}),i=t.computed(()=>{if(l.imageRatio){const{rootWidth:x,rootHeight:C}=e,w=a.value?C:x*l.imageRatio;return Math.max(0,(l.scale*w-C)/2)}return 0}),c=x=>{const{naturalWidth:C,naturalHeight:w}=x.target;l.imageRatio=w/C},d=()=>{m(1),l.moveX=0,l.moveY=0},m=x=>{x=Re(x,+e.minZoom,+e.maxZoom+1),x!==l.scale&&(l.scale=x,o("scale",{scale:x,index:e.initNo}))},h=()=>{const x=l.scale>1?1:2;m(x),l.moveX=0,l.moveY=0},p=x=>Math.sqrt((x[0].clientX-x[1].clientX)**2+(x[0].clientY-x[1].clientY)**2);let v,g,y,b,u,f,k;const S=x=>{const{touches:C}=x,{offsetX:w}=n;n.start(x),k=C.length,v=l.moveX,g=l.moveY,f=Date.now(),l.moving=k===1&&l.scale!==1,l.zooming=k===2&&!w.value,l.zooming&&(y=l.scale,b=p(x.touches))},B=x=>{const{touches:C}=x;if(n.move(x),(l.moving||l.zooming)&&sn(x,!0),l.moving){const{deltaX:w,deltaY:z}=n,P=w.value+v,A=z.value+g;l.moveX=Re(P,-s.value,s.value),l.moveY=Re(A,-i.value,i.value)}if(l.zooming&&C.length===2){const w=p(C),z=y*w/b;m(z)}},T=()=>{if(k==1&&e.video&&e.video.source||k>1)return;const{offsetX:x,offsetY:C}=n,w=Date.now()-f,z=250,P=5;x.value<P&&C.value<P&&w<z&&(u?(clearTimeout(u),u=null,h()):u=setTimeout(()=>{e.contentClose&&o("close"),u=null},z))},$=x=>{let C=!1;(l.moving||l.zooming)&&(C=!0,l.moving&&v===l.moveX&&g===l.moveY&&(C=!1),x.touches.length||(l.zooming&&(l.moveX=Re(l.moveX,-s.value,s.value),l.moveY=Re(l.moveY,-i.value,i.value),l.zooming=!1),l.moving=!1,v=0,g=0,y=1,l.scale<1&&d(),l.scale>e.maxZoom&&(l.scale=+e.maxZoom))),sn(x,C),T(),n.reset()},E=()=>{o("close")};return t.watch(()=>e.initNo,d),t.watch(()=>e.show,x=>{x||d()}),{...t.toRefs(l),onTouchStart:S,onTouchMove:B,onTouchEnd:$,getDistance:p,imageStyle:r,imageLoad:c,closeSwiper:E}}}),Hb=["src"];function jb(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,Hb)):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 Wb=Z(Ub,[["render",jb]]),{create:Yb}=H("image-preview"),Xb=Yb({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:Wb,CircleClose:ee.CircleClose,[ce.name]:ce,[kt.name]:kt},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(()=>po(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")},d=()=>{if(l.value){const m=Ve(l.value);n.rootHeight=m.height,n.rootWidth=m.width}};return t.watch(()=>e.show,m=>{n.showPop=m,m&&(s(e.initNo),d())}),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}}}),Qb={class:"fox-image-preview",ref:"swipeRef"},Gb={key:0,class:"fox-image-preview-index"};function Zb(e,o,l,n,a,r){const s=t.resolveComponent("image-preview-item"),i=t.resolveComponent("fox-swiper"),c=t.resolveComponent("CircleClose"),d=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(d,{"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",Qb,[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",Gb,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(Xb,[["render",Zb]]);class Jb{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 _b{options=new Jb;constructor(o){const l=Object.assign(this.options,o),{unmount:n}=Gs(l,{name:"image-preview",components:[ce,vt,kt,bt,nt],wrapper:()=>({setup(){return()=>(l.onClose=()=>{l.show=!1,t.nextTick(()=>{n()})},t.h(gs,l))}})})}}const Ko=e=>new _b(e);Ko.install=e=>{e.use(gs)};function eS(e){const o=t.getCurrentInstance();if(o&&o.proxy){let l=o.proxy;Object.assign(l,e)}}const{componentName:tB,create:tS}=H("countup"),oS=tS({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=E=>{E&&n.value.push(E)},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:d}=t.reactive(e);t.watch(()=>e.customChangeNum,(E,x)=>{h(),b(0)}),t.watch(()=>e.machinePrizeLevel,(E,x)=>{r.prizeLevelTrun=E}),t.watch(()=>e.initNum,(E,x)=>{r.current=E,r.valFlag=!1,m()}),t.watch(()=>e.endNum,(E,x)=>{r.current=e.initNum,r.valFlag=!1,m()});const m=()=>{if(r.valFlag)return!1;s&&(i||c?d!="machine"&&b():(y(),setTimeout(()=>{r.valFlag=!0},300)))},h=()=>{clearInterval(Number(r.timer)),r.timer=null},p=(E,x,C)=>{const w=(E.toString().split(".")[1]||"").length,z=(x.toString().split(".")[1]||"").length,P=Math.pow(10,Math.max(w,z));return C=="-"?Number((E*P-x*P).toFixed(0))/P:Number((E*P+x*P).toFixed(0))/P},v=E=>{let{num_total_len:x,pointNum:C,initDigit1:w,initDigit2:z,sortFlag:P}=r,A=P=="add"||P=="equal"?String(z)[E-(x-C)]:10-Number(String(z)[E-(x-C)]),V=P=="add"||P=="equal"?String(w)[E]:10-Number(String(w)[E]),D=E>x-C-1?-A*100+"%":E<=String(w).length-1?-V*100+"%":0;return D=="-1000%"&&(D=0),D},g=E=>{let{num_total_len:x,pointNum:C,initDigit1:w,initDigit2:z,sortFlag:P}=r,A=String(z)[E-(x-C)];return E>x-C-1?A||0:E<=String(w).length-1?String(w)[E]:0},y=()=>{let{endNum:E,initNum:x,speed:C,toFixed:w}=e,z=setInterval(()=>{if(x>E)if(r.current<=E||r.current<=C)r.current=E.toFixed(w),clearInterval(z),o("scroll-end"),r.valFlag=!1;else{let P=parseFloat(String(r.current))-parseFloat(String(C));r.current=P.toFixed(w)}else if(r.current>=E)r.current=E.toFixed(w),clearInterval(z),o("scroll-end"),r.valFlag=!1;else{let P=parseFloat(String(r.current))+parseFloat(String(C));r.current=P.toFixed(w)}},e.during)},b=E=>{let{initNum:x,endNum:C,toFixed:w,customBgImg:z}=e;z&&(x=e.customChangeNum);let P,A,V,D;x!=0?(w!=0&&(x=Number(x.toFixed(w))),String(x).indexOf(".")>-1?(P=String(x).split(".")[0].length,A=String(x).split(".")[1].length):(P=String(x).length,A=0)):(P=1,A=0),C!=0?(w!=0&&(C=Number(C.toFixed(w))),String(C).indexOf(".")>-1?(V=String(C).split(".")[0].length,D=String(C).split(".")[1].length):(V=String(C).length,D=0)):(V=1,D=0);let N=P>=V?P:V,R=A>=D?A:D;r.num_total_len=N+R,r.pointNum=R,x>C?(r.sortFlag="reduce",r.to0_10=[0,9,8,7,6,5,4,3,2,1,0],r.totalCount=p(x,C,"-"),r.numberVal=Number(String(x))):x<C?(r.sortFlag="add",r.to0_10=[0,1,2,3,4,5,6,7,8,9,0],r.totalCount=p(C,x,"-"),r.numberVal=Number(String(C))):r.sortFlag="equal";var M=1;for(let L=0;L<r.pointNum;L++)M*=10;var I=r.numberVal*M;if(r.relNum=I,w!=0&&(r.pointNum=String(r.numberVal).split(".")[1]?String(r.numberVal).split(".")[1].length:0,r.num_total_len=String(I).length),String(x).indexOf(".")>-1){let L=String(x).split(".");r.initDigit1=Number(L[0]),r.initDigit2=Number(L[1])}else r.initDigit1=x,r.initDigit2=0;i&&!z?t.nextTick(()=>{if(r.sortFlag=="equal")return!1;let L=n.value[r.num_total_len-1];u(L)}):E!==0&&S()},u=E=>{h();var x=1;r.pointNum!=0&&(x=1/Math.pow(10,r.pointNum)),r.timer=setInterval(()=>{f(E),r.totalCount=p(r.totalCount,x,"-"),r.totalCount<=0&&(h(),o("scroll-end"),r.valFlag=!1)},e.during)},f=E=>{let x=E.getAttribute("turn-number"),C;if(r.sortFlag=="add"?C=parseInt(String(x))+1:C=parseInt(String(x))-1>=0?parseInt(String(x))-1:9,E.setAttribute("turn-number",String(C)),(E.style.transition=="none 0s ease 0s"||C==1||!E.style.transition)&&(E.style.transition=`all linear ${e.during}ms`),C==10||r.sortFlag=="reduce"&&C==0){var w=null;E.style.top=`-${r.sortFlag=="add"?C*100:(10-C)*100}%`,E.setAttribute("turn-number","0"),w=setTimeout(()=>{w&&clearTimeout(w),E.style.transition="none",E.style.top="0",k(E,C)},.975*e.during)}else E.style.top=`-${r.sortFlag=="add"?C*100:(10-C)*100}%`;E.style.top=="-100%"&&r.sortFlag=="reduce"&&f(E.previousSibling)},k=(E,x)=>{setTimeout(()=>{x==10&&E.previousSibling&&f(E.previousSibling)},200)},S=()=>{r.pointNum!=0&&Math.pow(10,r.pointNum),t.nextTick(()=>{l.value.addEventListener("webkitTransitionEnd",()=>{o("scroll-end"),r.valFlag=!1})})},B=()=>{for(r.notPrize=[];r.notPrize.length<3;){var E=Math.floor(Math.random()*e.machinePrizeNum+1);r.notPrize.indexOf(E)==-1&&r.notPrize.push(E)}};eS({machineLuck:()=>{const E=e.machineTurnMore<0?0:e.machineTurnMore;let x=e.numHeight*e.machinePrizeNum;r.prizeLevelTrun<0&&B();for(let C=0;C<e.machineNum;C++)setTimeout(()=>{let w=x*(C+1+parseFloat(String(E)));r.prizeYPrev.length!=0&&(r.prizeY[C]=r.prizeYPrev[C]);let z=r.prizeYPrev[C]?r.prizeYPrev[C]:0,P=w+z+(e.machinePrizeNum-r.prizeLevelTrun+1)*e.numHeight+(x-z);r.prizeLevelTrun<0&&(P+=e.numHeight*r.notPrize[C]),$(C,P,z)},500*C)}});const $=(E,x,C)=>{let w=setInterval(()=>{if(C<=x)C+=10,r.prizeY[E]=parseFloat(String(C));else if(clearInterval(w),w=null,r.finshMachine+=1,r.prizeY[E]=x,r.finshMachine==e.machineNum){let z=e.numHeight*e.machinePrizeNum;r.prizeYPrev=[],JSON.parse(JSON.stringify(r.prizeY)).forEach(A=>{let V=A;for(;V>z;)V-=z;r.prizeYPrev.push(V)}),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:v,turnNumber:g}}}),nS={class:"fox-countup"},lS=["turn-number"];function aS(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,d)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-countup__number-item__span",key:"dote"+d,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},t.toDisplayString(c),5))),128))],12,lS))),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 Xl=Z(oS,[["render",aS]]),rS=e=>{if(!e)return Date.now();let o=Number(e),l=o>0?+o:o.toString().replace(/\-/g,"/");return new Date(l).getTime()},{componentName:sS,create:iS}=H("countdown"),cS=iS({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(()=>({[sS]:!0})),r=t.computed(()=>c(n.restTime)),s=()=>{n.handleEndTime=e.endTime,n.diffTime=Date.now()-rS(e.startTime),n.counting||(n.counting=!0),i()},i=()=>{window!==void 0&&(n.timer=requestAnimationFrame(()=>{if(n.counting){const v=Date.now()-n.diffTime,g=Math.max(n.handleEndTime-v,0);n.restTime=g,g||(n.counting=!1,h(),o("on-end")),g>0&&i()}}))},c=(v,g)=>{const y=v;let b={d:0,h:0,m:0,s:0,ms:0};const u=1e3,f=60*u,k=60*f,S=24*k;return y>0&&(b.d=y>=u?Math.floor(y/S):0,b.h=Math.floor(y%S/k),b.m=Math.floor(y%k/f),b.s=Math.floor(y%f/u),b.ms=Math.floor(y%u)),g=="custom"?b:d({...b})},d=v=>{let{d:g,h:y,m:b,s:u,ms:f}=v,k=e.format;if(k.includes("DD")?k=k.replace("DD",Ze(g)):y+=Number(g)*24,k.includes("HH")?k=k.replace("HH",Ze(y)):b+=Number(y)*60,k.includes("mm")?k=k.replace("mm",Ze(b)):u+=Number(b)*60,k.includes("ss")?k=k.replace("ss",Ze(u)):f+=Number(u)*1e3,k.includes("S")){const S=Ze(f,3).toString();k.includes("SSS")?k=k.replace("SSS",S):k.includes("SS")?k=k.replace("SS",S.slice(0,2)):k.includes("S")&&(k=k.replace("SS",S.slice(0,1)))}return k},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,v=>{let g=c(v,"custom");o("update:modelValue",g),o("input",g)}),t.watch(()=>e.paused,(v,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,v=>{s()}),t.watch(()=>e.startTime,v=>{s()}),{...t.toRefs(e),slots:l,classes:a,start:m,pause:h,renderTime:r,reset:p}}}),uS=["innerHTML"];function dS(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,uS))],2)}const Ql=Z(cS,[["render",dS]]),{create:fS}=H("badge"),mS=fS({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}}}),pS={class:"fox-badge"},hS=["textContent"];function gS(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",pS,[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,hS),[[t.vShow,!e.hidden&&(e.content||e.dot)]])])}const Gl=Z(mS,[["render",gS]]),{componentName:yS,create:vS}=H("tag"),kS=vS({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:ee.Close},emits:["close","click"],setup(e,{emit:o}){return{classes:t.computed(()=>{const s=yS;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 bS(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 jt=Z(kS,[["render",bS]]),{create:SS}=H("popover"),CS=SS({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 f="fox-popover-arrow",k=e.location,S=k.split("-")[0];return`${f} ${f}-${S} ${f}--${k}`}),c=t.computed(()=>{const f={},{bgColor:k,arrowOffset:S,location:B}=e,T=B.split("-")[0],$=B.split("-")[1],E=16;return k&&(f[`border${d(T)}Color`]=k),e.arrowOffset!=0&&(["bottom","top"].includes(T)&&($||(f.left=`calc(50% + ${S}px)`),$=="start"&&(f.left=`${E+S}px`),$=="end"&&(f.right=`${E-S}px`)),["left","right"].includes(T)&&($||(f.top=`calc(50% - ${S}px)`),$=="start"&&(f.top=`${E-S}px`),$=="end"&&(f.bottom=`${E+S}px`))),f}),d=f=>(f=f.toLowerCase(),f=f.replace(/\b\w+\b/g,k=>k.substring(0,1).toUpperCase()+k.substring(1)),f),m=t.computed(()=>{let f={};if(!r.value||!s.value)return{};const k=s.value.width,S=s.value.height,{width:B,height:T,left:$,top:E}=r.value,{location:x,offset:C}=e,w=x.split("-")[0],z=x.split("-")[1];let P=0,A=0;if(po(C)&&C.length==2&&(P+=Number(C[1]),A+=Number(C[0])),B){if(["bottom","top"].includes(w)){const V=w=="bottom"?T+P:-(S+P);f.top=`${E+V}px`,z||(f.left=`${-(k-B)/2+$+A}px`),z=="start"&&(f.left=`${$+A}px`),z=="end"&&(f.left=`${r.value.right+A}px`)}if(["left","right"].includes(w)){const V=w=="left"?-(k+P):B+P;f.left=`${$+V}px`,z||(f.top=`${E-S/2+T/2-4+A}px`),z=="start"&&(f.top=`${E+A}px`),z=="end"&&(f.top=`${E+T+A}px`)}}return f}),h=t.computed(()=>{const f={};return e.bgColor&&(f.background=e.bgColor),f}),p=()=>{let f=Ve(l.value);e.targetId&&(f=Ve(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",u,!0),p()):window.removeEventListener("touchstart",u,!0)});const v=f=>{o("update",f),o("update:visible",f)},g=()=>{v(!e.visible),o("open")},y=()=>{o("update:visible",!1),o("close")},b=(f,k)=>{!f.disabled&&o("choose",f,k),e.closeOnClickAction&&y()},u=f=>{const k=l.value,S=n.value;let B=k&&!k.contains(f.target);if(e.targetId){const T=document.querySelector(`#${e.targetId}`);B=T&&!T.contains(f.target)}B&&S&&!S.contains(f.target)&&e.closeOnClickOutside&&y()};return{showPopup:a,openPopover:g,popoverArrow:i,closePopover:y,chooseItem:b,popoverRef:l,popoverContentRef:n,getRootPosition:m,customStyle:h,popoverArrowStyle:c,renderIcon:qr}}}),wS={ref:"popoverContentRef",class:"fox-popover-content-group"},NS=["onClick"],BS={class:"fox-popover-menu-item-name"};function VS(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",wS,[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(d=>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",BS,t.toDisplayString(i.name),1)],10,NS))),128))],512)]),_:3},8,["visible","pop-class","style","teleport-disable","overlay","duration","overlay-style","overlay-class","close-on-click-overlay"])],6)],64)}const Wt=Z(CS,[["render",VS]]),AS=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:TS}=H("skeleton"),ES=TS(AS({[Ht.name]:Ht})),$S={key:0},DS={key:1,class:"fox-skeleton"},xS={key:0,class:"fox-skeleton-animation"},IS={class:"fox-skeleton-content"};function qS(e,o,l,n,a,r){const s=t.resolveComponent("fox-avatar");return e.loading?(t.openBlock(),t.createElementBlock("view",DS,[e.animated?(t.openBlock(),t.createElementBlock("view",xS)):t.createCommentVNode("",!0),t.createElementVNode("view",IS,[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",$S,[t.renderSlot(e.$slots,"default")]))}const Zl=Z(ES,[["render",qS]]),{create:zS,componentName:MS}=H("collapse"),PS=zS({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(()=>({[MS]:!0}));t.watch(()=>e.modelValue,c=>{n.value=c});const r=(c,d,m=!0)=>{n.value=c,o("update:modelValue",c),o("change",c,d,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 d=n.value.filter(m=>m!==c);r(d,c,!1)}else{const d=n.value.concat([c]);r(d,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 RS(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 Jl=Z(PS,[["render",RS]]),{create:LS,componentName:OS}=H("collapse-item"),FS=LS({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 p=OS;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)},d=()=>{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:qr,wrapperRef:o,contentRef:l,open:m,toggle:c,wrapperHeight:i,expanded:s,onTransitionEnd:d}}}),KS={class:"fox-collapse-item__title-main"},US={class:"fox-collapse-item__title-main-value"},HS=["innerHTML"],jS={key:2,class:"fox-collapse-item__title-label"},WS={key:0,class:"fox-collapse-item__title-sub"},YS=["innerHTML"],XS={key:0,class:"fox-collapse__item-extraWrapper"},QS={class:"fox-collapse__item-extraWrapper__extraRender"},GS={class:"fox-collapse__item-wrapper__content",ref:"contentRef"};function ZS(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",KS,[t.createElementVNode("view",US,[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,HS)),e.label?(t.openBlock(),t.createElementBlock("view",jS,t.toDisplayString(e.label),1)):t.createCommentVNode("",!0)])]),e.$slots.value?(t.openBlock(),t.createElementBlock("view",WS,[t.renderSlot(e.$slots,"value")])):(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.value,class:"fox-collapse-item__title-sub"},null,8,YS)),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",XS,[t.createElementVNode("div",QS,[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",GS,[t.renderSlot(e.$slots,"default")],512)],36)],2)}const _l=Z(FS,[["render",ZS]]),JS=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:_S,create:e0,scope:t0}=H("table"),o0=e0({components:{RenderColumn:JS,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}=re.useFoxI18n(t0),a=t.reactive({curData:e.data}),r=t.computed(()=>({[_S]:!0})),s=v=>({"fox-table__main__head__tr--border":e.bordered,[`fox-table__main__head__tr--align${v.align?v.align:""}`]:!0}),i=v=>v.stylehead?v.stylehead:"",c=v=>v.stylecolumn?v.stylecolumn:"",d=v=>e.columns.filter(g=>g.key===v)[0],m=v=>{const g=e.columns.filter(y=>y.key===v);return g[0].stylecolumn?g[0].stylecolumn:""},h=v=>{v.sorter&&(o("sorter",v),a.curData=typeof v.sorter=="function"?a.curData.sort(v.sorter):v.sorter==="default"?a.curData.sort():a.curData)},p=()=>e.columns.map(v=>[v.key,v.render]);return t.watch(()=>e.data,v=>{a.curData=v.slice()}),{...t.toRefs(a),classes:r,cellClasses:s,getColumnItem:d,getColumnItemStyle:m,handleSorterClick:h,sortDataItem:p,t:n,stylehead:i,stylecolumn:c}}}),n0={class:"fox-table__main__head"},l0={class:"fox-table__main__head__tr"},a0=["onClick"],r0={class:"fox-table__main__body"},s0={key:1},i0={key:0,class:"fox-table__nodata"},c0={key:0,class:"fox-table__nodata__text"},u0={key:1,class:"fox-table__summary"},d0=["innerHTML"];function f0(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",l0,[(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:d=>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,a0))),128))])]),t.createElementVNode("view",r0,[(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(),([d,m])=>(t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["fox-table__main__body__tr__td",e.cellClasses(e.getColumnItem(d))]),key:d,style:t.normalizeStyle(e.getColumnItemStyle(d))},[typeof c[d]=="function"||typeof m=="function"?(t.openBlock(),t.createBlock(i,{key:0,slots:[m,c[d]],record:c},null,8,["slots","record"])):(t.openBlock(),t.createElementBlock("view",s0,t.toDisplayString(c[d]),1))],6))),128))]))),128))])],2),e.curData.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",i0,[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",c0,t.toDisplayString(e.t("noData")),1))],2)])),e.summary?(t.openBlock(),t.createElementBlock("view",u0,[t.createElementVNode("span",{class:"fox-table__summary__text",innerHTML:e.summary().value},null,8,d0)])):t.createCommentVNode("",!0)],2)}const ea=Z(o0,[["render",f0]]),{componentName:m0,create:p0}=H("ellipsis"),h0=p0({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(()=>({[m0]:!0}));t.watch(()=>e.content,(y,b)=>{y!=b&&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 u=p(y.lineHeight==="normal"?e.lineHeight:y.lineHeight);a=Math.floor(u*(Number(e.rows)+.5)+p(y.paddingTop)+p(y.paddingBottom)),n.innerText=e.content,document.body.appendChild(n),d()},d=()=>{if(n.offsetHeight<=a)s.exceeded=!1,document.body.removeChild(n);else{s.exceeded=!0;const y=e.content.length,b=Math.floor((0+y)/2),u=e.direction==="middle"?h([0,b],[b,y]):m(0,y);r.value=u,document.body.removeChild(n)}},m=(y,b)=>{const u=s.expanded?e.collapseText:e.expandText,f=e.content.length;if(b-y<=1)return e.direction==="end"?{leading:e.content.slice(0,y)+e.symbol}:{tailing:e.symbol+e.content.slice(b,f)};const k=Math.round((y+b)/2);return e.direction==="end"?n.innerText=e.content.slice(0,k)+e.symbol+u:n.innerText=u+e.symbol+e.content.slice(k,f),n.offsetHeight<=a?e.direction==="end"?m(k,b):m(y,k):e.direction==="end"?m(y,k):m(k,b)},h=(y,b)=>{const u=s.expanded?e.collapseText:e.expandText,f=e.content.length;if(y[1]-y[0]<=1&&b[1]-b[0]<=1)return{leading:e.content.slice(0,y[0])+e.symbol,tailing:e.symbol+e.content.slice(b[1],f)};const k=Math.floor((y[0]+y[1])/2),S=Math.ceil((b[0]+b[1])/2);return n.innerText=e.content.slice(0,k)+e.symbol+u+e.symbol+e.content.slice(S,f),n.offsetHeight<=a?h([k,y[1]],[b[0],S]):h([y[0],k],[S,b[1]])},p=y=>{if(!y)return 0;const b=y.match(/^\d*(\.\d*)?/);return b?Number(b[0]):0},v=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:v,handleClick:g}}}),g0={key:0},y0={key:1},v0={key:2};function k0(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",g0,t.toDisplayString(e.content),1)),e.exceeded&&!e.expanded?(t.openBlock(),t.createElementBlock("view",y0,[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",v0,[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 ta=Z(h0,[["render",k0]]),{componentName:b0,create:S0}=H("animate"),C0=S0({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,[`${b0}-${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}}}),w0={class:"fox-animate"};function N0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",w0,[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 oa=Z(C0,[["render",N0]]),{componentName:B0,create:V0}=H("watermark"),A0=V0({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:d,imageWidth:m,imageHeight:h,content:p,fontStyle:v,fontWeight:g,fontColor:y,fontSize:b,fontFamily:u}=e,f=()=>{const S=document.createElement("canvas"),B=window.devicePixelRatio,T=S.getContext("2d"),$=`${(a+s)*B}px`,E=`${(r+i)*B}px`,x=s*B,C=i*B;if(S.setAttribute("width",$),S.setAttribute("height",E),T){if(d){T.translate(x/2,C/2),T.rotate(Math.PI/180*Number(c));const w=new Image;w.crossOrigin="anonymous",w.referrerPolicy="no-referrer",w.src=d,w.onload=()=>{T.drawImage(w,-m*B/2,-h*B/2,m*B,h*B),T.restore(),l.base64Url=S.toDataURL()}}else if(p){T.textBaseline="middle",T.textAlign="center",T.translate(x/2,C/2),T.rotate(Math.PI/180*Number(c));const w=Number(b)*B;T.font=`${v} normal ${g} ${w}px/${C}px ${u}`,T.fillStyle=y,T.fillText(p,0,0),T.restore(),l.base64Url=S.toDataURL()}}else throw new Error("当前环境不支持Canvas")};f(),t.watch(()=>[n,a,r,s,i,c,d,m,h,p,v,g,y,b,u],()=>{f()});const k=t.computed(()=>{const S=B0;return{[S]:!0,[`${S}-full-page`]:e.fullPage}});return{...t.toRefs(l),classes:k}}});function T0(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 na=Z(A0,[["render",T0]]);function E0(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:$0,create:D0}=H("trend-arrow"),x0=D0({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(()=>({[$0]:!0})),n=t.computed(()=>{const{rate:r,digits:s,showSign:i,showZero:c}=e;o.rateTrend=r>0;const d=Math.abs(r);return!c&&r===0?"--":`${i&&r!==0?o.rateTrend?"+":"-":""}${E0(Number(d),s)}%`}),a=t.computed(()=>{const{dropColor:r,riseColor:s,syncTextColor:i,textColor:c,rate:d}=e;return{color:d===0?c:i?o.rateTrend?s:r:c}});return{...t.toRefs(o),classes:l,calcRate:n,calcStyle:a}}});function I0(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 la=Z(x0,[["render",I0]]),{create:q0}=H("tour"),z0=q0({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:m,maskWidth:h,maskHeight:p}=e,{width:v,height:g,left:y,top:b}=n.value,u=[y+v/2,b+g/2],f=Number(h||v),k=Number(p||g);return{width:`${f+ +m[1]*2}px`,height:`${k+ +m[0]*2}px`,top:`${u[1]-k/2-+m[0]}px`,left:`${u[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=Ve(m);n.value=h},c=()=>{l.showTour=!1,l.showPopup=!1,o("close",l.active),o("update:modelValue",!1)},d=()=>{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:d}}}),M0={key:0,class:"fox-tour-content"},P0={key:0,class:"fox-tour-content-top"},R0={class:"fox-tour-content-inner"},L0={class:"fox-tour-content-bottom"},O0={class:"fox-tour-content-bottom-init"},F0={class:"fox-tour-content-bottom-operate"},K0={key:1,class:"fox-tour-content fox-tour-content-tile"},U0={class:"fox-tour-content-inner"};function H0(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,d)=>(t.openBlock(),t.createElementBlock("div",{key:d,style:{height:"0"}},[d==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",M0,[e.showTitleBar?(t.openBlock(),t.createElementBlock("div",P0,[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",R0,t.toDisplayString(c.content),1),t.createElementVNode("div",L0,[t.createElementVNode("div",O0,t.toDisplayString(e.active+1)+"/"+t.toDisplayString(e.steps.length),1),t.createElementVNode("div",F0,[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",K0,[t.createElementVNode("div",U0,t.toDisplayString(c.content),1)])):t.createCommentVNode("",!0)])]),_:2},1032,["visible","location","bgColor","theme","offset","arrowOffset"])],64)):t.createCommentVNode("",!0)]))),128))],2)}const aa=Z(z0,[["render",H0]]),{componentName:oB,create:j0,scope:W0}=H("address"),Y0=j0({components:{Location:ee.Location,Location2:ee.Location2,Check:ee.Check,Close:ee.Close,Left:ee.Left,[ce.name]:ce,[Lt.name]:Lt},inheritAttrs:!1,props:{...rt,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}=re.useFoxI18n(W0),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),d=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}}),v=V=>{if(!Array.isArray(V))throw new TypeError("params muse be array.");if(!V.length)return[];V.forEach(N=>{if(!N.title){console.warn("[NutUI] <Address> 请检查数组选项的 title 值是否有设置 ,title 为必填项 .");return}});const D=[];return V=V.sort((N,R)=>N.title.localeCompare(R.title)),V.forEach(N=>{const R=D.findIndex(M=>M.title===N.title);R<=-1?D.push({title:N.title,list:[].concat(N)}):D[R].list.push(N)}),D};let g=t.ref([]),y=t.reactive({});const b=t.ref("self"),u=t.ref(20),f=()=>{const V=e.modelValue,D=V.length;if(D>0){if(i.value=D-1,p.value.length==0){i.value=0;return}for(let N=0;N<D;N++){let R=[];switch(N){case 0:R=e.province;break;case 1:R=e.city;break;case 2:R=e.country;break;default:R=e.town}g.value[N]=R.filter(M=>M.id==V[N])[0]}S()}},k=(V,D)=>V&&V.name||i.value<D&&V?V.name:e.columnsPlaceholder[D]||l("select"),S=()=>{$(),t.nextTick(()=>{const V=a.value&&a.value.getElementsByClassName("active")[0];if(V){const D=V.offsetLeft;u.value=D||20}})},B=V=>{const D=i.value;c.value=i.value;const N={custom:d.value[D]};g.value[D]=V;for(let R=D+2;R<4;R++)g.value.splice(R,1);D<3?(i.value=D+1,S(),N.next=d.value[i.value],N.value=V,o("change",N)):(C(),o("update:modelValue"))},T=(V,D)=>{c.value=i.value,k(V,D)&&(i.value=D,S())},$=()=>{const V=m.value,D=c.value,N=h.value[i.value];V?.scrollTop&&(h.value[D]=V?.scrollTop),t.nextTick(()=>{V?.scrollTo({top:N,behavior:"auto"})})},E=V=>{const D=e.existAddress;let N={};D.forEach(R=>{R&&R.selectedAddress&&(N=R),R.selectedAddress=!1}),V.selectedAddress=!0,y=V,o("selected",N,V,D),C()},x=()=>{g.value=[],i.value=0,S()},C=(V="self")=>{b.value=V=="cross"?"cross":"self",r.value=!1},w=()=>{b.value="mask"},z=()=>{const V={addressIdStr:"",addressStr:"",province:g.value[0],city:g.value[1],country:g.value[2],town:g.value[3]},D={data:{},type:s.value};["custom","custom2"].includes(s.value)?([0,1,2,3].forEach(N=>{const R=g.value[N];V.addressIdStr+=`${N?"_":""}${R&&R.id||0}`,V.addressStr+=R&&R.name||""}),D.data=V):D.data=y,x(),b.value=="self"?o("close",D):o("close-mask",{closeWay:b}),o("update:visible",!1)},P=()=>{const V=s.value;s.value=V=="exist"?"custom":"exist",x(),o("switch-module",{type:s.value})},A=(V,D)=>{B(D)};return t.watch(()=>e.visible,V=>{r.value=V}),t.watch(()=>r.value,V=>{V&&f()}),{showPopup:r,privateType:s,tabIndex:i,tabName:d,selectedRegion:g,switchModule:P,closeWay:b,close:z,getTabName:k,nextAreaList:B,regionLine:n,tabRegion:a,lineDistance:u,changeRegionTab:T,selectedExist:E,clickOverlay:w,handClose:C,handleElevatorItem:A,initCustomSelected:f,...t.toRefs(e),t:l,regionList:p,transformData:v,scrollDom:m}}}),X0={class:"fox-address"},Q0={class:"fox-address__header"},G0={class:"fox-address__header__title"},Z0={key:0,class:"fox-address__custom"},J0={class:"fox-address__region",ref:"tabRegion"},_0=["onClick"],eC={key:0,class:"active fox-address__region-item"},tC={key:0,class:"fox-address__detail"},oC={class:"fox-address__detail-list",ref:"scrollDom"},nC=["onClick"],lC={key:1,class:"fox-address__elevator-group"},aC={key:1,class:"fox-address__exist"},rC={class:"fox-address__exist-group"},sC={class:"fox-address__exist-group-list"},iC=["onClick"],cC={class:"fox-address__exist-item-info"},uC={key:0,class:"fox-address__exist-item-info-name"},dC={key:1,class:"fox-address__exist-item-info-phone"},fC={class:"fox-address__exist-item-info-bottom"},mC={class:"fox-address__exist-choose-btn"};function pC(e,o,l,n,a,r){const s=t.resolveComponent("Left"),i=t.resolveComponent("Close"),c=t.resolveComponent("Check"),d=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",X0,[t.createElementVNode("view",Q0,[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",G0,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",Z0,[t.createElementVNode("view",J0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedRegion,(p,v)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-address__region-item",v==e.tabIndex?"active":""]),key:v,onClick:g=>e.changeRegionTab(p,v)},[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(p,v)),1)],10,_0))),128)),e.tabIndex==e.selectedRegion.length?(t.openBlock(),t.createElementBlock("view",eC,[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",tC,[t.createElementVNode("ul",oC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.regionList,(p,v)=>(t.openBlock(),t.createElementBlock("li",{key:v,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,nC))),128))],512)])):(t.openBlock(),t.createElementBlock("view",lC,[t.createVNode(d,{height:e.height,"index-list":e.transformData(e.regionList),onClickItem:e.handleElevatorItem},null,8,["height","index-list","onClickItem"])]))])):(t.openBlock(),t.createElementBlock("view",aC,[t.createElementVNode("div",rC,[t.createElementVNode("ul",sC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.existAddress,(p,v)=>(t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass(["fox-address__exist-group-item",p.selectedAddress?"active":""]),key:v,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",cC,[p.name?(t.openBlock(),t.createElementBlock("div",uC,t.toDisplayString(p.name),1)):t.createCommentVNode("",!0),p.phone?(t.openBlock(),t.createElementBlock("div",dC,t.toDisplayString(p.phone),1)):t.createCommentVNode("",!0),t.createElementVNode("div",fC,[t.createElementVNode("view",null,t.toDisplayString(p.provinceName+p.cityName+p.countyName+p.townName+p.addressDetail),1)])])],10,iC))),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",mC,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 ra=Z(Y0,[["render",pC]]),{componentName:hC,create:gC}=H("barrage"),yC=gC({name:"barrage",props:{danmu:{type:Array,default:()=>[]},frequency:{type:Number,default:500},speeds:{type:Number,default:5e3},rows:{type:Number,default:3},top:{type:Number,default:10},loop:{type:Boolean,default:!0}},setup(e){const o=new Date().getTime(),l=!!t.useSlots().default,n=t.computed(()=>({[hC]:!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),d=t.ref(e.top),m=t.ref(0),h=e.speeds,p=t.ref(0);t.onMounted(()=>{v(),l&&document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"?(y(),m.value=0,g("hidden")):document.visibilityState==="visible"&&v()})}),t.onUnmounted(()=>{i.value=[],y()});const v=()=>{p.value=a.value.offsetWidth,l&&g("init"),setTimeout(()=>{a.value?.style.setProperty("--move-distance",`-${p.value}px`),u()},300)},g=k=>{let B=document.getElementsByClassName("slotBody"+o)?.[0]?.children||[];const T=[];B&&Array.from(B).forEach($=>{k=="init"?($.style.opacity="0",T.push($)):($.classList="",$.style={})}),k=="init"&&(i.value=T)},y=()=>{s&&(clearTimeout(s),s=null)};t.watch(()=>e.danmu,k=>{e.danmu.length>0&&(i.value=[...k])});const b=k=>{const S=m.value%i.value.length;!e.loop&&m.value===i.value.length?i.value.splice(i.value.length,0,k):i.value.splice(S,0,k)},u=()=>{y(),s=setTimeout(()=>{f()},e.frequency)},f=()=>{const k=e.loop?m.value%i.value.length:m.value;let S=document.createElement("view");l&&typeof i.value[k]=="object"?(S=i.value[k],S?.classList?.add("fox-barrage__item")):(S.innerHTML=i.value[k],S.classList.add("fox-barrage__item"),r.value.appendChild(S)),t.nextTick(()=>{const B=S.offsetHeight;if(S?.classList?.add("move"),S.style.animationDuration=`${h}ms`,S.style.top=k%c.value*(B+d.value)+20+"px",S.style.opacity="1",!l){const T=S.offsetWidth;S.style.width=T+20+"px"}S.addEventListener("animationend",()=>{l?S.classList.remove("move"):r.value.removeChild(S)}),!(!e.loop&&m.value>=i.value.length-1)&&(m.value++,m.value>=i.value.length&&(m.value=0),S.removeEventListener("animationend",()=>{}),u())})};return{classTime:o,classes:n,danmuList:i,dmBody:a,dmContainer:r,add:b}}});function vC(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 sa=Z(yC,[["render",vC]]),{componentName:kC,create:bC,scope:SC}=H("signature"),CC=bC({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:{[xe.name]:xe},emits:["start","end","signing","confirm","clear"],setup(e,{emit:o}){const{toLocaleRefs:l}=re.useFoxI18n(SC),n=l(e,["unSupportTpl","reSign","confirmText"]),a=t.ref(null),r=t.ref(null),s=t.computed(()=>({[kC]:!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"))},d=()=>{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],v,!1)},h=f=>{f.preventDefault();let k=i.isSupportTouch?f.touches[0]:f;o("signing",k);let S=a.value.getBoundingClientRect(),B=k.clientX-S.left,T=k.clientY-S.top;i.ctx.lineTo(B,T),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)},v=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=()=>{u(a.value)},b=f=>{if(!f)return!0;var k=document.createElement("canvas");return k.width=f.width,k.height=f.height,f?.toDataURL()==k.toDataURL()},u=f=>{let k;switch(e.type){case"png":k=f.toDataURL("image/png");break;case"jpg":k=f.toDataURL("image/jpeg",.8);break}const S=b(f)?"请绘制签名":f,B=b(f)?"":k;o("confirm",S,B)};return t.onMounted(()=>{c()&&(i.ctx=a.value.getContext("2d"),i.canvasWidth=r.value.offsetWidth,i.canvasHeight=r.value.offsetHeight,d())}),{...n,...t.toRefs(i),canvas:a,wrap:r,isCanvasSupported:c,confirm:y,clear:g,classes:s}}}),wC={class:"fox-signature-inner",ref:"wrap"},NC=["height","width"],BC={key:0,class:"fox-signature-unsopport"};function VC(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",wC,[t.withDirectives(t.createElementVNode("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,NC),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",BC,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 ia=Z(CC,[["render",VC]]),{componentName:AC,create:TC,scope:EC}=H("time-select"),$C=TC({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}=re.useFoxI18n(EC),n=t.computed(()=>({[AC]:!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}}}),DC={class:"fox-time-select__title"},xC={class:"fox-time-select__title__fixed"},IC={key:0},qC={class:"fox-time-select__content"},zC={class:"fox-time-select__content__pannel"},MC={class:"fox-time-select__content__detail"};function PC(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",DC,[t.createElementVNode("view",xC,[e.$slots.title?t.renderSlot(e.$slots,"title",{key:1}):(t.openBlock(),t.createElementBlock("span",IC,t.toDisplayString(e.title||e.t("pickupTime")),1))])]),t.createElementVNode("view",qC,[t.createElementVNode("view",zC,[t.renderSlot(e.$slots,"pannel")]),t.createElementVNode("view",MC,[t.renderSlot(e.$slots,"detail")])])],2)]),_:3},8,["teleportDisable","visible","style","lock-scroll","onClickOverlay","onClickCloseIcon"])}const ca=Z($C,[["render",PC]]),{componentName:RC,create:LC}=H("time-pannel"),OC=LC({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(()=>({[RC]:!0,"fox-time-pannel--curr":n.currentKey==e.pannelKey})),r=s=>{o.emit("change",s)};return{...t.toRefs(n),classes:a,handlePannel:r}}});function FC(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(OC,[["render",FC]]),{componentName:KC,create:UC}=H("time-detail"),HC=UC({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(()=>({[KC]:!0})),s=d=>{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===d).length>0}},i=t.computed(()=>e.times.find(d=>d.key==a.currentKey).list),c=d=>{o.emit("select",d)};return{classes:r,...t.toRefs(a),getClass:s,renderData:i,handleTime:c}}}),jC={class:"fox-time-detail__detail fox-time-detail__detail--moring"},WC={class:"fox-time-detail__detail__list"},YC=["onClick"];function XC(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",jC,[t.createElementVNode("view",WC,[(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,YC))),128))])])],2)}const da=Z(HC,[["render",XC]]),{componentName:nB,create:QC,scope:GC}=H("sku-header"),ZC=QC({props:{goods:{type:Object,default:{}}},emits:[],components:{[Xe.name]:Xe},setup(e,{emit:o,slots:l}){const{t:n}=re.useFoxI18n(GC);return{getSlots:r=>l[r],t:n}}}),JC={class:"fox-sku-header"},_C=["src"],e1={class:"fox-sku-header-right"},t1={key:3,class:"fox-sku-header-right-extra"};function o1(e,o,l,n,a,r){const s=t.resolveComponent("fox-price");return t.openBlock(),t.createElementBlock("view",JC,[t.createElementVNode("img",{class:"fox-sku-header-img",src:e.goods.imagePath},null,8,_C),t.createElementVNode("view",e1,[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",t1,t.toDisplayString(e.t("skuId"))+" : "+t.toDisplayString(e.goods.skuId),1)):t.createCommentVNode("",!0)])])}const n1=Z(ZC,[["render",o1]]),{componentName:lB,create:l1}=H("sku-select"),a1=l1({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})}}}}),r1={class:"fox-sku-select"},s1={class:"fox-sku-select-item-title"},i1={class:"fox-sku-select-item-skus"},c1=["onClick"];function u1(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",r1,[(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",s1,t.toDisplayString(s.name),1),t.createElementVNode("view",i1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.list,(c,d)=>(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,d,s,i),key:c.name},t.toDisplayString(c.name),11,c1))),128))])]))),128))])}const d1=Z(a1,[["render",u1]]),{componentName:aB,create:f1}=H("sku-stepper"),m1=f1({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:{[at.name]:at},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,d)=>{o("overLimit",{action:d,value:parseInt(l.value+"")})},getExtraText:()=>{const{stepperExtraText:c}=e;return c&&ot(c)=="function"?c():""},changeStepper:c=>{l.value=c,o("changeStepper",c)}}}}),p1={class:"fox-sku-stepper"},h1={class:"fox-sku-stepper-title"},g1=["innerHTML"],y1={class:"fox-sku-stepper-count"};function v1(e,o,l,n,a,r){const s=t.resolveComponent("fox-input-number");return t.openBlock(),t.createElementBlock("view",p1,[t.createElementVNode("view",h1,t.toDisplayString(e.stepperTitle),1),t.createElementVNode("view",{class:"fox-sku-stepper-limit",innerHTML:e.getExtraText()},null,8,g1),t.createElementVNode("view",y1,[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 k1=Z(m1,[["render",v1]]),{componentName:rB,create:b1}=H("sku-operate"),S1=b1({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]}}}),C1={key:0,class:"fox-sku-operate"},w1={key:0,class:"fox-sku-operate-desc"},N1={key:1,class:"fox-sku-operate-btn"},B1=["onClick"];function V1(e,o,l,n,a,r){return e.btnOptions.length>0?(t.openBlock(),t.createElementBlock("view",C1,[e.btnExtraText?(t.openBlock(),t.createElementBlock("view",w1,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",N1,[(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,B1))),128))]))])):t.createCommentVNode("",!0)}const A1=Z(S1,[["render",V1]]),{componentName:sB,create:T1,scope:E1}=H("sku"),$1=T1({props:{...rt,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:d1,SkuStepper:k1,SkuOperate:A1,[ce.name]:ce},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=re.useFoxI18n(E1),a=n(e,["confirmText","buyText","stepperTitle","addCartText"]),r=t.ref(e.visible),s=t.ref(e.stepperMin);t.watch(()=>e.visible,b=>{r.value=b}),t.watch(()=>r.value,b=>{b==!1&&y()}),t.onMounted(()=>{});const i=b=>l[b],c=b=>{o("select-sku",b)},d=b=>{s.value=b,o("change-stepper",b)},m=b=>{o("add",b)},h=b=>{o("reduce",b)},p=b=>{o("over-limit",b)},v=b=>{o("click-btn-operate",{type:b,value:s.value})},g=b=>{b=="icon"&&o("click-close-icon"),b=="overlay"&&o("click-overlay"),b=="close"&&o("close"),r.value=!1},y=()=>{o("update:visible",!1)};return{showPopup:r,closePopup:g,selectSku:c,changeStepper:d,stepperOverLimit:p,clickBtnOperate:v,add:m,reduce:h,getSlots:i,...a}}}),D1={class:"fox-sku"},x1={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"),d=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",D1,[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",x1,[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(d,{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 fa=Z($1,[["render",I1]]),{create:q1}=H("card"),z1=q1({components:{[Xe.name]:Xe,[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]}}}),M1={class:"fox-card"},P1={class:"fox-card__left"},R1=["src"],L1={class:"fox-card__right"},O1={class:"fox-card__right__title"},F1={key:0,class:"fox-card__right__price"},K1={class:"fox-card__right__other"},U1={class:"fox-card__right__shop"},H1={class:"fox-card__right__shop__name"};function j1(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",L1,[t.createElementVNode("div",O1,t.toDisplayString(e.title),1),t.renderSlot(e.$slots,"prolist"),e.isNeedPrice?(t.openBlock(),t.createElementBlock("div",F1,[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",K1,[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",U1,[t.createElementVNode("div",H1,t.toDisplayString(e.shopName),1),t.renderSlot(e.$slots,"footer")])])])}const ma=Z(z1,[["render",j1]]),{create:W1,scope:Y1}=H("ecard"),X1=W1({components:{[at.name]:at},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}=re.useFoxI18n(Y1),n=t.ref(null),a=t.ref(null),r=t.ref(""),s=t.ref(e.cardAmountMin),i=t.ref(e.modelValue),c=(p,v)=>{n.value=v,s.value=e.cardAmountMin,a.value=p.price,o("change",p),o("update:modelValue",p.price)},d=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:d,inputClick:m,stepValue:s,currentIndex:n,inputValue:r,money:i,t:l}}}),Q1={class:"fox-ecard"},G1={class:"fox-ecard__title"},Z1={class:"fox-ecard__list"},J1=["onClick"],_1={class:"fox-ecard__list__input--con"},ew=["placeholder"],tw={class:"fox-ecard__list__step"};function ow(e,o,l,n,a,r){const s=t.resolveComponent("fox-input-number");return t.openBlock(),t.createElementBlock("view",Q1,[t.createElementVNode("view",G1,t.toDisplayString(e.chooseText||e.t("chooseText")),1),t.createElementVNode("view",Z1,[(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:d=>e.handleClick(i,c)},t.toDisplayString(i.price),11,J1))),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",_1,[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,ew),[[t.vModelText,e.inputValue]]),t.createTextVNode(" "+t.toDisplayString(e.suffix),1)])],2),t.createElementVNode("view",tw,[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 pa=Z(X1,[["render",ow]]),{create:nw,scope:lw}=H("address-list-item"),aw=nw({components:{Del:ee.Del,Edit:ee.Edit},props:{item:{type:Object,default:{}}},emits:["delIcon","editIcon","clickItem"],setup(e,{emit:o}){const{t:l}=re.useFoxI18n(lw);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}}}),rw={class:"fox-address-list-item__info"},sw={class:"fox-address-list-item__info-contact"},iw={class:"fox-address-list-item__info-contact-name"},cw={class:"fox-address-list-item__info-contact-tel"},uw={key:0,class:"fox-address-list-item__info-contact-default"},dw={class:"fox-address-list-item__info-handle"},fw={class:"fox-address-list-item__addr"};function mw(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",rw,[t.createElementVNode("div",sw,[t.renderSlot(e.$slots,"content-top",{},()=>[t.createElementVNode("div",iw,t.toDisplayString(e.item.addressName),1),t.createElementVNode("div",cw,t.toDisplayString(e.item.phone),1),e.item.defaultAddress?(t.openBlock(),t.createElementBlock("div",uw,t.toDisplayString(e.t("default")),1)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",dw,[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",fw,[t.renderSlot(e.$slots,"content-addr",{},()=>[t.createTextVNode(t.toDisplayString(e.item.fullAddress),1)])])])}const lr=Z(aw,[["render",mw]]),{create:pw}=H("address-list-general"),hw=pw({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:lr,[xe.name]:xe,[Kt.name]:Kt},setup(e,{emit:o}){const l=()=>t.h(lr,{item:e.item,onDelIcon(B){s(B)},onEditIcon(B){i(B)},onClickItem(B){c(B)}});let n=null;const a=t.ref(!1),r=t.ref(!1),s=B=>{o("delIcon",B,e.item),B.stopPropagation()},i=B=>{o("editIcon",B,e.item),B.stopPropagation()},c=B=>{a.value||(o("clickItem",B,e.item),B.stopPropagation())},d=B=>{o("longDel",B,e.item),B.stopPropagation()},m=B=>{n=0,r.value=!0,o("longDown",B,e.item)};return{renderCompontent:l,showMaskRef:r,clickItem:c,editClick:i,delClick:s,delLongClick:d,holddownstart:B=>{n=setTimeout(()=>{m(B)},300)},holddownmove:()=>{clearTimeout(n)},holddownend:()=>{clearTimeout(n)},copyCLick:B=>{o("longCopy",B,e.item),B.stopPropagation()},hideMaskClick:()=>{r.value=!1},setDefault:B=>{o("longSet",B,e.item),B.stopPropagation()},maskClick:B=>{n!=0&&(r.value=!1),B.stopPropagation(),B.preventDefault()},swipeDelClick:B=>{o("swipeDel",B,e.item),B.stopPropagation()},swipestart:()=>{a.value=!1},swipemove:()=>{a.value=!0}}}}),gw={key:0,class:"fox-address-list-general"},yw={class:"fox-address-list-swipe"};function vw(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",yw,[(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",gw,[(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 kw=Z(hw,[["render",vw]]),{componentName:bw,create:Sw,scope:Cw}=H("address-list"),ww=Sw({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:kw,[xe.name]:xe},emits:["delIcon","editIcon","clickItem","longCopy","longSet","longDel","swipeDel","add"],setup(e,{emit:o}){const{t:l}=re.useFoxI18n(Cw),n=t.ref([]),a=t.reactive({id:1,addressName:"",phone:"",defaultAddress:!1,fullAddress:""}),r=t.computed(()=>({[bw]:!0})),s=()=>{Object.keys(e.dataOptions).length>0&&(n.value=e.data.map(y=>Sr(a,y,e.dataOptions)))};t.watch(()=>e.data,()=>s(),{deep:!0});const i=(y,b)=>{o("delIcon",y,b),y.stopPropagation()},c=(y,b)=>{o("editIcon",y,b),y.stopPropagation()},d=(y,b)=>{o("clickItem",y,b),y.stopPropagation()},m=(y,b)=>{o("longCopy",y,b),y.stopPropagation()},h=(y,b)=>{o("longSet",y,b),y.stopPropagation()},p=(y,b)=>{o("longDel",y,b),y.stopPropagation()},v=(y,b)=>{o("swipeDel",y,b),y.stopPropagation()},g=y=>{o("add",y),y.stopPropagation()};return t.onMounted(()=>{s()}),{classes:r,clickDelIcon:i,clickEditIcon:c,clickContentItem:d,clickLongCopy:m,clickLongSet:h,clickLongDel:p,clickSwipeDel:v,addAddress:g,dataArray:n,t:l}}});function Nw(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,d)=>(t.openBlock(),t.createBlock(s,{key:d,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 ha=Z(ww,[["render",Nw]]),{componentName:iB,create:Bw}=H("category"),Vw=Bw({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}}}),Aw={class:"fox-category"},Tw={class:"fox-category__cateList"},Ew={key:0},$w=["onClick"];function Dw(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",Aw,[t.createElementVNode("div",Tw,[e.type=="classify"||e.type=="text"?(t.openBlock(),t.createElementBlock("div",Ew,[(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,$w)]))),128))])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")])])}const ga=Z(Vw,[["render",Dw]]),{componentName:cB,create:xw}=H("category-pane"),Iw=xw({props:{type:{type:String,default:"classify"},categoryChild:{type:Array,default:()=>[]},customCategory:{type:Array,default:()=>[]}},setup(e,{emit:o}){return{onChange:n=>{o("onChange",n)}}}}),qw={class:"fox-category-pane"},zw={key:0,class:"fox-category-pane__cateListRight"},Mw={class:"fox-category-pane__childTitle"},Pw={key:0,class:"fox-category-pane__childItemList"},Rw=["onClick"],Lw=["src"],Ow={class:"fox-category-pane__skuImg"},Fw={key:1,class:"fox-category-pane__cateListRight"},Kw={class:"fox-category-pane__childTitle"},Uw={key:0,class:"fox-category-pane__childItemList"},Hw=["onClick"],jw={class:"fox-category-pane__skuName"},Ww={key:2,class:"fox-category-pane__selfItemList"},Yw=["onClick"];function Xw(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",qw,[e.type=="classify"?(t.openBlock(),t.createElementBlock("div",zw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",Mw,t.toDisplayString(s?.catName),1),s?.catType==1?(t.openBlock(),t.createElementBlock("div",Pw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,d)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__childItem",key:d,onClick:m=>e.onChange(c)},[t.createElementVNode("img",{class:"fox-category-pane__childImg",src:c.backImg},null,8,Lw),t.createElementVNode("div",Ow,t.toDisplayString(c?.catName),1)],8,Rw))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="text"?(t.openBlock(),t.createElementBlock("div",Fw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",Kw,t.toDisplayString(s?.catName),1),s?.catType==1?(t.openBlock(),t.createElementBlock("div",Uw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,d)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__childItem",key:d,onClick:m=>e.onChange(c)},[t.createElementVNode("div",jw,t.toDisplayString(c?.catName),1)],8,Hw))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="custom"?(t.openBlock(),t.createElementBlock("div",Ww,[(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,Yw))),128))])):t.createCommentVNode("",!0)])}const ya=Z(Iw,[["render",Xw]]),{componentName:uB,create:Qw}=H("comment-header"),Gw=Qw({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")}}}}),Zw={class:"fox-comment-header__user"},Jw={class:"fox-comment-header__user-avter"},_w=["src"],eN={class:"fox-comment-header__user-score"},tN={key:0,class:"fox-comment-header__time"};function oN(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",Zw,[t.createElementVNode("view",Jw,[e.info.avatar?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.info.avatar},null,8,_w)):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",eN,[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",tN,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=Z(Gw,[["render",oN]]),{componentName:dB,create:lN}=H("comment-images"),aN=lN({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:d}=e,m=s=="img"?i-c.length:i;o("clickImages",{type:s,index:m,value:s=="img"?d[m]:c[m]})},totalImages:a}}}),rN=["onClick"],sN=["src"],iN=t.createElementVNode("view",{class:"fox-comment-images__play"},null,-1),cN=["onClick"],uN=["src"],dN={key:0,class:"fox-comment-images__mask"};function fN(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:d=>e.showImages("video",c)},[t.createElementVNode("img",{src:i.mainUrl},null,8,sN),iN],8,rN))),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:d=>e.showImages("img",c+e.videos.length)},[t.createElementVNode("img",{src:i.smallImgUrl?i.smallImgUrl:i.imgUrl},null,8,uN),e.type=="multi"&&e.totalImages.length>9&&e.videos.length+c>7?(t.openBlock(),t.createElementBlock("view",dN,[t.createElementVNode("span",null,"共 "+t.toDisplayString(e.totalImages.length)+" 张",1),t.createVNode(s,{style:{width:"12px"}})])):t.createCommentVNode("",!0)],8,cN)):t.createCommentVNode("",!0)],64))),128))],2)}const mN=Z(aN,[["render",fN]]),{componentName:fB,create:pN,scope:hN}=H("comment-bottom"),gN=pN({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}=re.useFoxI18n(hN),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}}}),yN={class:"fox-comment-bottom"},vN={key:0},kN={class:"fox-comment-bottom__cpx"},bN=["onClick"];function SN(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",yN,[t.createElementVNode("view",{onClick:o[0]||(o[0]=(...d)=>e.handleClick&&e.handleClick(...d)),class:"fox-comment-bottom__lable"},[e.type!="complex"?(t.openBlock(),t.createElementBlock("span",vN,t.toDisplayString(e.info.size),1)):t.createCommentVNode("",!0)]),t.createElementVNode("view",kN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.mergeOp,(d,m)=>(t.openBlock(),t.createElementBlock("view",{key:m,class:t.normalizeClass(["fox-comment-bottom__cpx-item",`fox-comment-bottom__cpx-item--${d}`]),onClick:h=>e.operate(d)},[d!="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",null,t.toDisplayString(e.info[d]),1),d=="like"?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createBlock(i,{key:1}))],64)):t.createCommentVNode("",!0),d=="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,bN))),128))])])}const CN=Z(gN,[["render",SN]]),{componentName:wN,create:NN,scope:BN}=H("comment"),VN=NN({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:mN,CommentBottom:CN,Right:ee.Right},emits:["click","clickImages","clickOperate"],setup(e,{emit:o}){const{t:l}=re.useFoxI18n(BN),n=t.computed(()=>({[wN]:!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}}}),AN=["innerHTML"],TN={class:"fox-comment__follow-title"},EN={class:"fox-comment__follow-com"},$N={key:0,class:"fox-comment__follow-img"};function DN(e,o,l,n,a,r){const s=t.resolveComponent("comment-header"),i=t.resolveComponent("comment-images"),c=t.resolveComponent("Right"),d=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,AN),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",TN,t.toDisplayString(e.t("additionalReview",e.follow.days)),1),t.createElementVNode("view",EN,t.toDisplayString(e.follow.content),1),e.follow.images&&e.follow.images.length>0?(t.openBlock(),t.createElementBlock("view",$N,[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(d,{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 va=Z(VN,[["render",DN]]),xN=[qn,Mn,Pn,Rn,Ln,Ce,On,Fn,Kn,Un,Hn,$o,jn,Wn,Xn,Qn,qo,zo,Gn,Mo,Po,Zn,Jn,et,_n,el,Fo,tl,ol,nl,ll,al,rl,sl,il,xe,cl,ul,nt,ce,dl,fl,ml,pl,qt,hl,gl,yl,vl,kl,bl,Sl,Cl,wl,Lt,Nl,zt,Mt,Bl,Vl,Al,Tl,Ot,Oo,Do,Io,xo,at,yt,gt,El,$l,Dl,Kt,xl,Il,ql,Ut,Lo,zl,Pl,Ro,Ct,Ll,Ol,Ht,Fl,Kl,Ft,Ul,Hl,jl,vt,Wl,Yl,kt,bt,Xe,Ko,Xl,Ql,Gl,jt,Wt,Zl,Jl,_l,ea,ta,oa,na,la,aa,ra,sa,ia,ca,ua,da,fa,ma,pa,ha,ga,ya,va],IN=new Qs(xN,"4.0.0");exports.ActionSheet=xl;exports.ActionsheetItem=tl;exports.ActionsheetPane=Fo;exports.Address=ra;exports.AddressList=ha;exports.Animate=oa;exports.Audio=Ll;exports.AudioOperate=Ol;exports.Avatar=Ht;exports.AvatarGroup=Fl;exports.BackTop=Il;exports.Badge=Gl;exports.Barrage=sa;exports.Broadcast=Dn;exports.BroadcastKey=be;exports.Button=xe;exports.Calendar=Io;exports.CalendarItem=Qn;exports.Card=ma;exports.Cascader=Do;exports.CascaderItem=Wn;exports.Category=ga;exports.CategoryPane=ya;exports.Cell=cl;exports.CellGroup=ul;exports.Checkbox=Mo;exports.CheckboxGroup=Po;exports.CheckboxItem=Zn;exports.CircleProgress=Ul;exports.Col=ml;exports.Collapse=Jl;exports.CollapseItem=_l;exports.Comment=va;exports.Content=Rn;exports.CountDown=Ql;exports.CountUp=Xl;exports.DataItemsKey=ct;exports.DateItem=Xn;exports.DatePicker=xo;exports.DateUtils=ne;exports.Dialog=Ut;exports.Divider=hl;exports.Domain=ko;exports.DomainKey=Ee;exports.DomainProvider=ol;exports.Drag=ql;exports.Ecard=pa;exports.Elevator=Lt;exports.Ellipsis=ta;exports.Empty=jl;exports.FixedNav=kl;exports.FloatingButton=sl;exports.FooterBar=Pn;exports.FoxActionSheet=xl;exports.FoxActionsheetItem=tl;exports.FoxActionsheetPane=Fo;exports.FoxAddress=ra;exports.FoxAddressList=ha;exports.FoxAnimate=oa;exports.FoxAudio=Ll;exports.FoxAudioOperate=Ol;exports.FoxAvatar=Ht;exports.FoxAvatarGroup=Fl;exports.FoxBackTop=Il;exports.FoxBadge=Gl;exports.FoxBarrage=sa;exports.FoxButton=xe;exports.FoxCalendar=Io;exports.FoxCalendarItem=Qn;exports.FoxCard=ma;exports.FoxCascader=Do;exports.FoxCascaderItem=Wn;exports.FoxCategory=ga;exports.FoxCategoryPane=ya;exports.FoxCell=cl;exports.FoxCellGroup=ul;exports.FoxCheckbox=Mo;exports.FoxCheckboxGroup=Po;exports.FoxCheckboxItem=Zn;exports.FoxCircleProgress=Ul;exports.FoxCol=ml;exports.FoxCollapse=Jl;exports.FoxCollapseItem=_l;exports.FoxComment=va;exports.FoxContent=Rn;exports.FoxCountDown=Ql;exports.FoxCountUp=Xl;exports.FoxDateItem=Xn;exports.FoxDatePicker=xo;exports.FoxDialog=Ut;exports.FoxDivider=hl;exports.FoxDomainProvider=ol;exports.FoxDrag=ql;exports.FoxEcard=pa;exports.FoxElevator=Lt;exports.FoxEllipsis=ta;exports.FoxEmpty=jl;exports.FoxFixedNav=kl;exports.FoxFloatingButton=sl;exports.FoxFooterBar=Pn;exports.FoxGrid=gl;exports.FoxGridItem=yl;exports.FoxGroup=Ln;exports.FoxHeaderBar=Mn;exports.FoxHintText=et;exports.FoxImage=dl;exports.FoxImagePreview=Ko;exports.FoxIndicator=Bl;exports.FoxInfiniteLoading=Lo;exports.FoxInputItem=Kn;exports.FoxInputNumber=at;exports.FoxItem=Ce;exports.FoxLayout=fl;exports.FoxLinkItem=_n;exports.FoxList=Kl;exports.FoxMenu=bl;exports.FoxMenuItem=Sl;exports.FoxMoneyItem=Un;exports.FoxNavbar=vl;exports.FoxNoticeBar=Hl;exports.FoxNotify=Pl;exports.FoxNumberKeyboard=Dl;exports.FoxOverLay=nt;exports.FoxPage=qn;exports.FoxPagination=Nl;exports.FoxPicker=gt;exports.FoxPickerItem=jn;exports.FoxPopover=Wt;exports.FoxPopup=ce;exports.FoxPrice=Xe;exports.FoxProgress=Ft;exports.FoxPullRefresh=zl;exports.FoxRadio=qo;exports.FoxRadioGroup=zo;exports.FoxRadioItem=Gn;exports.FoxRange=Ot;exports.FoxRate=yt;exports.FoxRateItem=el;exports.FoxRollingProvider=nl;exports.FoxRow=pl;exports.FoxRowItem=On;exports.FoxSearchBar=Oo;exports.FoxShortPassword=El;exports.FoxSideNavBar=Vl;exports.FoxSideNavBarItem=Al;exports.FoxSignature=ia;exports.FoxSkeleton=Zl;exports.FoxSku=fa;exports.FoxSlotItem=Fn;exports.FoxStep=Yl;exports.FoxSteps=Wl;exports.FoxSticky=qt;exports.FoxSubSideNavBar=Tl;exports.FoxSwipe=Kt;exports.FoxSwiper=kt;exports.FoxSwiperItem=bt;exports.FoxSwitch=Ro;exports.FoxSwitchItem=Jn;exports.FoxTabPane=Mt;exports.FoxTabbar=Cl;exports.FoxTabbarItem=wl;exports.FoxTable=ea;exports.FoxTabs=zt;exports.FoxTabsBar=ll;exports.FoxTabsContainer=al;exports.FoxTabsPane=rl;exports.FoxTag=jt;exports.FoxText=il;exports.FoxTextarea=$o;exports.FoxTextareaItem=Hn;exports.FoxTimeDetail=da;exports.FoxTimePannel=ua;exports.FoxTimeSelect=ca;exports.FoxToast=Ct;exports.FoxTour=aa;exports.FoxTrendArrow=la;exports.FoxUploader=$l;exports.FoxVideo=vt;exports.FoxWaterMark=na;exports.Grid=gl;exports.GridItem=yl;exports.Group=Ln;exports.HeaderBar=Mn;exports.HintText=et;exports.Image=dl;exports.ImagePreview=Ko;exports.Indicator=Bl;exports.InfiniteLoading=Lo;exports.InputItem=Kn;exports.InputNumber=at;exports.Item=Ce;exports.Layout=fl;exports.LinkItem=_n;exports.List=Kl;exports.Menu=bl;exports.MenuItem=Sl;exports.MoneyItem=Un;exports.Navbar=vl;exports.NoticeBar=Hl;exports.Notify=Pl;exports.NumberKeyboard=Dl;exports.OverLay=nt;exports.Page=qn;exports.Pagination=Nl;exports.Picker=gt;exports.PickerItem=jn;exports.Popover=Wt;exports.Popup=ce;exports.Price=Xe;exports.PriorityPolicy=io;exports.Progress=Ft;exports.PullRefresh=zl;exports.Radio=qo;exports.RadioGroup=zo;exports.RadioItem=Gn;exports.Range=Ot;exports.Rate=yt;exports.RateItem=el;exports.RollingProvider=nl;exports.Row=pl;exports.RowItem=On;exports.SearchBar=Oo;exports.ShortPassword=El;exports.SideNavBar=Vl;exports.SideNavBarItem=Al;exports.Signature=ia;exports.Skeleton=Zl;exports.Sku=fa;exports.SlotItem=Fn;exports.Step=Yl;exports.Steps=Wl;exports.Sticky=qt;exports.SubSideNavBar=Tl;exports.Swipe=Kt;exports.Swiper=kt;exports.SwiperItem=bt;exports.Switch=Ro;exports.SwitchItem=Jn;exports.TabPane=Mt;exports.Tabbar=Cl;exports.TabbarItem=wl;exports.Table=ea;exports.Tabs=zt;exports.TabsBar=ll;exports.TabsContainer=al;exports.TabsPane=rl;exports.Tag=jt;exports.Text=il;exports.Textarea=$o;exports.TextareaItem=Hn;exports.TimeDetail=da;exports.TimePannel=ua;exports.TimeSelect=ca;exports.Toast=Ct;exports.Tour=aa;exports.TrendArrow=la;exports.UniqueID=Ur;exports.Uploader=$l;exports.ValidateSchema=Ar;exports.ValidateSchemaKey=Le;exports.Video=vt;exports.WaterMark=na;exports.cancelRaf=ar;exports.clamp=Re;exports.clearNonNumber=rn;exports.clone=an;exports.compareTo=nn;exports.createBroadcast=yo;exports.createValidateSchema=vo;exports.debounce=pt;exports.debounceRef=Ls;exports.decimalLength=br;exports.default=IN;exports.defineBroadcast=$s;exports.defineConfigDomain=Tr;exports.defineDataItem=$r;exports.defineDomain=In;exports.defineItem=Be;exports.definePageState=Dr;exports.deleteGlobalValidator=qs;exports.disabledProperty=Ne;exports.divide=An;exports.excludeProps=En;exports.extend=tt;exports.floatData=Sr;exports.getGlobalValidateCheckEvents=Nr;exports.getGlobalValidateResetEvents=Vr;exports.getPageContentAreaHeight=ro;exports.getPageContentAreaWidth=so;exports.getPageFooterAreaHeight=Co;exports.getPageHeaderAreaHeight=So;exports.getRootDomain=ft;exports.getScrollTopRoot=$n;exports.hasSymbol=mr;exports.includeProps=ye;exports.indexOf=Ts;exports.installRules=Er;exports.integerLength=kr;exports.isArray=po;exports.isArrayLike=hr;exports.isBrowser=Qe;exports.isDate=Oe;exports.isESModule=ws;exports.isEmptyString=ie;exports.isEqual=Ie;exports.isFunction=lo;exports.isHidden=go;exports.isInnerPage=Ks;exports.isMap=bs;exports.isNil=ur;exports.isNumberString=vr;exports.isObject=$e;exports.isPlainObject=ln;exports.isPromise=Tn;exports.isRegExp=yr;exports.isSet=Ss;exports.isString=dr;exports.isSubPage=Us;exports.isSymbol=Cs;exports.isWindow=pr;exports.lastIndexOf=Es;exports.makeArray=As;exports.merge=gr;exports.multiply=sr;exports.negate=ir;exports.nextTick=Bs;exports.numberFormat=mo;exports.objectToString=fr;exports.once=Os;exports.padZero=Ze;exports.preventDefault=sn;exports.property=we;exports.raf=je;exports.readonlyProperty=Te;exports.setGlobalValidateCheckEvents=zs;exports.setGlobalValidateHandler=xs;exports.setGlobalValidateMessages=Ps;exports.setGlobalValidateResetEvents=Ms;exports.setGlobalValidator=Is;exports.throttle=ao;exports.toBoolean=he;exports.toNumber=me;exports.toPadding=Me;exports.toPx=se;exports.toPxDesc=de;exports.toTypeString=ho;exports.toValue=De;exports.tryTimes=xn;exports.typeOf=ot;exports.unNumberFormat=cr;exports.updatePageState=cn;exports.useBroadcast=Et;exports.useDomain=Fe;exports.useExpose=Ae;exports.useInnerSize=zn;exports.usePageState=bo;exports.usePosition=Or;exports.useRect=Ve;exports.useSize=wo;exports.useTouch=Ke;exports.valueLength=ge;
|
|
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 pl=Z(Up,[["render",Hp]]),{componentName:jp,create:Wp}=H("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 hl=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:er}=H("grid"),us=Symbol("grid"),Jp={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}},_p={props:Jp,setup(e,{slots:o}){Zp(us,`${er}-item`)({props:e});const l=t.computed(()=>{const a=er;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:eh}=H("grid"),gl=eh(_p);function th(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:oh,componentName:tr}=H("grid-item"),nh=oh({props:{text:{type:String}},emits:["click"],setup(e,{emit:o}){const l=th(us);if(!l.parent)return{};const n=l.index,a=l.parent.props,r=t.computed(()=>({[tr]:!0})),s=t.computed(()=>{const d={flexBasis:`${100/+a.columnNum}%`};return a.square?d.paddingTop=`${100/+a.columnNum}%`:a.gutter&&(d.paddingRight=de(a.gutter),n.value>=a.columnNum&&(d.marginTop=de(a.gutter))),d}),i=t.computed(()=>{const d=`${tr}__content`;return{[`${d}`]:!0,[`${d}--border`]:a.border,[`${d}--surround`]:a.border&&a.gutter,[`${d}--center`]:a.center,[`${d}--square`]:a.square,[`${d}--reverse`]:a.reverse,[`${d}--${a.direction}`]:!!a.direction,[`${d}--clickable`]:a.clickable}});return{rootClass:r,rootStyle:s,contentClass:i,handleClick:d=>{o("click",d)}}}}),lh={class:"fox-grid-item__text"};function ah(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",lh,[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 yl=Z(nh,[["render",ah]]),{componentName:rh,create:sh}=H("navbar"),ih=sh({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 d=t.ref();const m=t.computed(()=>{const b=rh;return{[b]:!0,[`${b}--border`]:l.value,[`${b}--fixed`]:n.value,[`${b}--safe-area-inset-top`]:a.value}}),h=t.computed(()=>({zIndex:s.value}));t.onMounted(()=>{n.value&&r.value&&t.nextTick(()=>{d.value=c?.value?.getBoundingClientRect().height,i.value.style.height=d.value+"px"})});function p(){o("on-click-back")}function v(){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:v,handleCenterIcon:g,handleRight:y}}}),ch={key:0,class:"fox-navbar--placeholder",ref:"navBarWrap"},uh={key:1,class:"fox-navbar__text"},dh={class:"fox-navbar__title"},fh={key:0,class:"fox-navbar__text"},mh={key:1,class:"fox-navbar__text"},ph={class:"fox-navbar__title"},hh={key:0,class:"fox-navbar__text"};function gh(e,o,l,n,a,r){const s=t.resolveComponent("Left");return e.fixed&&e.placeholder?(t.openBlock(),t.createElementBlock("view",ch,[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",uh,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",fh,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",mh,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",ph,[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",hh,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"right")])],6))}const vl=Z(ih,[["render",gh]]),yh=(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}=re.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:vh,create:kh,scope:bh}=H("fixednav"),Sh=kh(yh(vh,bh,{[nt.name]:nt,Left:ee.Left})),Ch={class:"fox-fixednav__list"},wh=["onClick"],Nh=["src"],Bh={class:"span"},Vh={key:0,class:"b"},Ah={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,d)=>(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||d},[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",Vh,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",Ah,t.toDisplayString(e.visible?e.activeText:e.unActiveText),1)])])],6)}const kl=Z(Sh,[["render",Th]]),{componentName:Eh,create:$h}=H("menu"),Dh=$h({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 b=t.reactive([]),u=t.reactive([]);return{children:b,linkChildren:k=>{const S=T=>{T.proxy&&(u.push(T),b.push(T.proxy))},B=T=>{if(T.proxy){let $=u.indexOf(T);$>-1&&u.splice($,1);let E=b.indexOf(T.proxy);$>-1&&b.splice(E,1)}};t.provide("menuParent",Object.assign({removeLink:B,link:S,children:b,internalChildren:u},k))}}},{children:i,linkChildren:c}=s(),d=t.computed(()=>i.some(b=>b.state.showWrapper)),m=t.computed(()=>({[Eh]:!0,"scroll-fixed":r.value})),h=()=>{if(n.value){const b=Ve(n);e.direction==="down"?a.value=b.bottom:a.value=window.innerHeight-b.top}};c({props:e,offset:a});const p=b=>{i.forEach((u,f)=>{f===b?(h(),u.toggle()):u.state.showPopup&&u.toggle(!1,{immediate:!0})})},v=b=>Math.max(0,"scrollTop"in b?b.scrollTop:b.pageYOffset),g=()=>{const{scrollFixed:b}=e,u=v(window);r.value=u>(typeof b=="boolean"?30:Number(b))},y=b=>{let u="";const{titleClass:f}=e;return b&&(u+="active"),f&&(u+=` ${f}`),u};return t.onMounted(()=>{const{scrollFixed:b}=e;b&&window.addEventListener("scroll",g)}),t.onUnmounted(()=>{const{scrollFixed:b}=e;b&&window.removeEventListener("scroll",g)}),{toggleItem:p,children:i,opened:d,classes:m,barRef:n,getClasses:y}}}),xh=["onClick"],Ih={class:"fox-menu__title-text"},qh={class:"fox-menu__title-icon"};function zh(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,d)=>(t.openBlock(),t.createElementBlock("view",{key:d,class:t.normalizeClass(["fox-menu__item",{disabled:c.disabled,active:c.state.showPopup}]),onClick:m=>!c.disabled&&e.toggleItem(d),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",Ih,t.toDisplayString(c.renderTitle()),1),t.createElementVNode("span",qh,[t.renderSlot(e.$slots,"icon",{},()=>[e.direction==="up"?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createBlock(i,{key:1}))])])],2)],14,xh))),128))],2),t.renderSlot(e.$slots,"default")],2)}const bl=Z(Dh,[["render",zh]]),{componentName:Mh,create:Ph}=H("menu-item"),Rh=Ph({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 v=t.inject("menuParent",null);if(v){const g=t.getCurrentInstance(),{link:y,removeLink:b}=v;return y(g),t.onUnmounted(()=>{b(g)}),{parent:v}}},{parent:r}=a(),s=t.computed(()=>({[Mh]:!0})),i=t.computed(()=>{const v={height:r.offset.value+"px"};return r.props.direction==="down"?v:{...v,top:"auto"}});return{classes:s,placeholderElementStyle:i,renderTitle:()=>{if(e.title)return e.title;const v=e.options?.find(g=>g.value===e.modelValue);return v?v.text:""},state:n,parent:r,toggle:(v=!n.showPopup,g={})=>{v!==n.showPopup&&(n.showPopup=v,n.isShowPlaceholderElement=v,v&&(n.showWrapper=!0,o("open")))},onClick:v=>{n.showPopup=!1,n.isShowPlaceholderElement=!1,v.value!==e.modelValue&&(o("update:modelValue",v.value),o("change",v.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,d)=>(t.openBlock(),t.createElementBlock("view",{key:d,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 Sl=Z(Rh,[["render",Fh]]),{create:Kh}=H("tabbar"),Uh=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 Hh(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 Cl=Z(Uh,[["render",Hh]]),{create:jh}=H("tabbar-item"),Wh=jh({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&&(d=>{if(d.proxy){let m=l.children.length;n.index=m;let h=Object.assign(d.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}}}),Yh={class:"fox-tabbar-item_icon-box"},Xh={key:0,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_num"},Qh={key:1,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_nums"},Gh={key:1,class:"fox-tabbar-item_icon-box_dot"},Zh={key:2},Jh={key:0};function _h(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",Yh,[e.dot?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.num&&e.num<=99?(t.openBlock(),t.createElementBlock("view",Xh,t.toDisplayString(e.num),1)):e.num&&e.num>100?(t.openBlock(),t.createElementBlock("view",Qh,t.toDisplayString("99+"))):t.createCommentVNode("",!0)],64)),e.dot?(t.openBlock(),t.createElementBlock("div",Gh)):t.createCommentVNode("",!0),e.icon?(t.openBlock(),t.createElementBlock("view",Zh,[(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",Jh,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.title?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"default",{key:1})],2)])],6)}const wl=Z(Wh,[["render",_h]]),{componentName:eg,create:tg}=H("elevator"),og=tg({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(()=>({[eg]:!0})),r=t.computed(()=>({transform:`translate3d(0, ${n.scrollY+n.fixedTop}px, 0)`})),s=t.computed(()=>l.value.clientHeight),i=(u,f)=>{const k="data-";return u.getAttribute(k+f)},c=u=>{t.nextTick(()=>{!n.listGroup.includes(u)&&u!=null&&n.listGroup.push(u)})},d=()=>{let u=0;n.listHeight.push(u);for(let f=0;f<n.listGroup.length;f++){let k=n.listGroup[f];u+=Math.floor(k.clientHeight),n.listHeight.push(u)}},m=u=>{!u&&u!==0||(u<0&&(u=0),u>n.listHeight.length-2&&(u=n.listHeight.length-2),n.codeIndex=u,l.value.scrollTo(0,n.listHeight[u]))},h=u=>{n.scrollStart=!0;let f=i(u.target,"index"),k=u.touches[0];n.touchState.y1=k.pageY,n.anchorIndex=+f,n.codeIndex=+f,m(+f)},p=u=>{let f=u.touches[0];n.touchState.y2=f.pageY;let k=(n.touchState.y2-n.touchState.y1)/e.spaceHeight|0;n.codeIndex=n.anchorIndex+k,m(n.codeIndex)},v=()=>{n.scrollStart=!1},g=(u,f)=>{o.emit("click-item",u,f),n.currentData=f,n.currentKey=u},y=u=>{o.emit("click-index",u)},b=u=>{let k=u.target.scrollTop;const S=n.listHeight;n.scrollY=k;for(let B=0;B<S.length-1;B++){let T=S[B],$=S[B+1];if(n.scrollY>=T&&n.scrollY<$){n.currentIndex=B,n.diff=$-n.scrollY;return}}n.currentIndex=S.length-2};return t.onMounted(()=>{l.value.addEventListener("scroll",b)}),Ae({scrollTo:m}),t.watch(()=>n.listGroup.length,()=>{n.listHeight=[],t.nextTick(d)}),t.watch(()=>n.diff,u=>{const f=n.listHeight;let k=u>0&&u<e.titleHeight?u-e.titleHeight:0;n.scrollY+s.value===f[f.length-1]&&k!==0&&(k=0),n.fixedTop!==k&&(n.fixedTop=k)}),t.watch(()=>n.currentIndex,u=>{o.emit("change",u)}),{classes:a,...t.toRefs(n),fixedStyle:r,clientHeight:s,setListGroup:c,listview:l,touchStart:h,touchMove:p,touchEnd:v,handleClickItem:g,handleClickIndex:y}}}),ng={class:"fox-elevator__list__item__code"},lg=["onClick"],ag=["innerHTML"],rg={class:"fox-elevator__fixed-title"},sg={class:"fox-elevator__bars__inner"},ig=["data-index","onClick"];function cg(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",ng,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,ag))],10,lg))),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",rg,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",sg,[(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,ig))),128))])],32)],2)}const Lt=Z(og,[["render",cg]]),{componentName:GN,create:ug,scope:dg}=H("pagination"),fg=ug({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}=re.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:v,itemsPerPage:g}=t.toRefs(e),y=+p.value||Math.ceil(+v.value/+g.value);return Math.max(1,y)}),d=(p,v)=>{p>c.value||p<1||(p!=a.value&&o("update:modelValue",p),v&&o("change",p))},m=(p,v,g=!1)=>({number:p,text:v,active:g}),h=t.computed(()=>{if(r.value=="simple")return;let p=[];const v=c.value,g=+s.value;let y=1,b=v;const u=v>g;u&&(y=Math.max(a.value-Math.floor(g/2),1),b=y+g-1,b>v&&(b=v,y=b-g+1));for(var f=y;f<=b;f++){const k=m(f,f,a.value==f);p.push(k)}if(u&&g>0&&i.value){if(y>1){const k=m(y-1,"...");p.unshift(k)}if(b<v){const k=m(b+1,"...");p.push(k)}}return p});return t.watchEffect(()=>{d(a.value,!1)}),{...n,modelValue:a,select:d,countRef:c,mode:r,pages:h,forceEllipses:i}}}),mg={class:"fox-pagination"},pg={key:0,class:"fox-pagination-contain"},hg=["onClick"],gg={key:1,class:"fox-pagination-contain"},yg={class:"fox-pagination-simple"};function vg(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",mg,[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",pg,[(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,hg))),128))])):t.createCommentVNode("",!0),e.mode=="simple"?(t.openBlock(),t.createElementBlock("view",gg,[t.createElementVNode("view",yg,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 Nl=Z(fg,[["render",vg]]),{componentName:or,create:kg}=H("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=or;return{[a]:!0,[`${a}--block`]:o.value,[`${a}--align__${l.value}`]:o.value&&l.value}}),componentName:or,padZero:Ze}}});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 Bl=Z(bg,[["render",Sg]]),{componentName:Cg,create:wg}=H("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 d=s[c];d?.children?.[0]&&(d.children[0].style.paddingLeft=+e.offset*i+"px",d.className.includes("fox-side-navbar-item")||a(Array.from(d.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"},Vg={class:"fox-side-navbar__content__list",ref:"list"};function Ag(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",Bg,[t.createElementVNode("view",Vg,[t.renderSlot(e.$slots,"default")],512)])],2)}const Vl=Z(Ng,[["render",Ag]]),{componentName:Tg,create:Eg}=H("side-navbar-item"),$g=Eg({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"],xg={class:"fox-side-navbar-item__title"};function Ig(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",xg,t.toDisplayString(e.title),1)],10,Dg)}const Al=Z($g,[["render",Ig]]),{componentName:qg,create:zg}=H("sub-side-navbar"),Mg=zg({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(()=>({[qg]:!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}}}),Pg=["ikey"],Rg={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",Rg,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,Pg)}const Tl=Z(Mg,[["render",Og]]),{componentName:Fg,create:Kg}=H("range"),Ug=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=Ke(),c=t.computed(()=>{const{marks:A,max:V,min:D}=e;return Object.keys(A).map(parseFloat).sort((M,I)=>M-I).filter(M=>M>=D&&M<=V)}),d=t.computed(()=>Number(e.max)-Number(e.min)),m=t.computed(()=>{const A=Fg;return{[A]:!0,[`${A}-disabled`]:e.disabled,[`${A}-vertical`]:e.vertical,[`${A}-show-number`]:!e.hiddenRange}}),h=t.computed(()=>{const A="fox-range-container";return{[A]:!0,[`${A}-vertical`]:e.vertical}}),p=t.computed(()=>({background:e.inactiveColor})),v=t.computed(()=>({borderColor:e.buttonColor})),g=A=>!!e.range&&Array.isArray(A),y=()=>{const{modelValue:A,min:V}=e;return g(A)?`${(A[1]-A[0])*100/d.value}%`:`${(A-Number(V))*100/d.value}%`},b=()=>{const{modelValue:A,min:V}=e;return g(A)?`${(A[0]-Number(V))*100/d.value}%`:"0%"},u=t.computed(()=>e.vertical?{height:y(),top:b(),background:e.activeColor,transition:s.value?"none":void 0}:{width:y(),left:b(),background:e.activeColor,transition:s.value?"none":void 0}),f=A=>{const V="fox-range-mark",{modelValue:D,max:N,min:R}=e;let M=Number(R),I=Number(N);if(e.range){const[Q,W]=D;M=Q,I=W}else I=D;let L=A<=I&&A>=M;return{[`${V}-text`]:!0,[`${V}-text-active`]:L}},k=A=>{const{min:V,vertical:D}=e;let N={left:`${(A-Number(V))/d.value*100}%`};return D&&(N={top:`${(A-Number(V))/d.value*100}%`}),N},S=A=>{const{modelValue:V,max:D,min:N}=e;let R=Number(N),M=Number(D);if(e.range){const[Q,W]=V;R=Q,M=W}return{background:A<=M&&A>=R?e.activeColor:e.inactiveColor}},B=A=>{const{min:V,max:D,step:N}=e;return A=Math.max(+V,Math.min(A,+D)),Math.round(A/+N)*+N},T=(A,V)=>JSON.stringify(A)===JSON.stringify(V),$=A=>A[0]>A[1]?A.slice(0).reverse():A,E=(A,V)=>{g(A)?A=$(A).map(B):A=B(A),T(A,e.modelValue)||o("update:modelValue",A),V&&!T(A,n)&&o("change",A)},x=A=>{if(e.disabled)return;const{min:V,modelValue:D}=e,N=Ve(r);let R=A.clientX-N.left,M=N.width;e.vertical&&(R=A.clientY-N.top,M=N.height);const I=Number(V)+R/M*d.value;if(g(D)){const[L,Q]=D,W=(L+Q)/2;I<=W?E([I,Q],!0):E([L,I],!0)}else E(I,!0)},C=A=>{e.disabled||(i.start(A),a=e.modelValue,g(a)?n=a.map(B):n=B(a),s.value="start")},w=A=>{if(e.disabled)return;s.value==="start"&&o("drag-start"),i.move(A),s.value="draging";const V=Ve(r);let D=i.deltaX.value,N=V.width,R=D/N*d.value;e.vertical&&(D=i.deltaY.value,N=V.height,R=D/N*d.value),g(n)?a[l.value]=n[l.value]+R:a=n+R,E(a),A.stopPropagation(),A.preventDefault()},z=()=>{e.disabled||(s.value==="draging"&&(E(a,!0),o("drag-end")),s.value="")},P=A=>po(e.modelValue)&&typeof A=="number"?e.modelValue[A]:Number(e.modelValue);return{root:r,classes:m,wrapperStyle:p,buttonStyle:v,onClick:x,onTouchStart:C,onTouchMove:w,onTouchEnd:z,...t.toRefs(e),barStyle:u,curValue:P,buttonIndex:l,containerClasses:h,markClassName:f,marksStyle:k,marksList:c,tickStyle:S}}}),Hg={key:0,class:"fox-range-min"},jg={key:0,class:"fox-range-mark"},Wg=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","onTouchstart"],Yg={key:0,class:"number"},Xg=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax"],Qg={key:0,class:"number"},Gg={key:1,class:"fox-range-max"};function Zg(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",Hg,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",jg,[(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",Yg,t.toDisplayString(e.curValue(s)),1))],4))],42,Wg)),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",Qg,t.toDisplayString(e.curValue()),1))],4))],40,Xg))],4)],6),e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Gg,t.toDisplayString(+e.max),1))],2)}const Ot=Z(Ug,[["render",Zg]]),{componentName:Jg,create:_g}=H("input-number"),ey=_g({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 v=Jg;return{[v]:!0,[`${v}--disabled`]:e.disabled}}),n=v=>Number(v).toFixed(Number(e.decimalPlaces)),a=v=>{const g=v.target;o("update:modelValue",g.valueAsNumber,v)},r=(v,g)=>{let y=n(v);o("update:modelValue",y,g),o("change",y,g)},s=(v=Number(e.modelValue))=>v<Number(e.max)&&!e.disabled,i=(v=Number(e.modelValue))=>v>Number(e.min)&&!e.disabled,c=v=>{if(o("reduce",v),i()){let g=Number(e.modelValue)-Number(e.step);r(g,v)}else o("overlimit",v,"reduce")},d=v=>{if(o("add",v),s()){let g=Number(e.modelValue)+Number(e.step);r(g,v)}else o("overlimit",v,"add")},m=v=>{e.disabled||e.readonly||o("focus",v)},h=v=>{if(e.disabled||e.readonly)return;let y=v.target.valueAsNumber;y<Number(e.min)?y=Number(e.min):y>Number(e.max)&&(y=Number(e.max)),r(y,v),o("blur",v)},p=v=>{let g=Number(v);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 v=p(e.modelValue);v!==Number(e.modelValue)&&r(v,{})}),{classes:l,change:a,blur:h,focus:m,add:d,addAllow:s,reduce:c,reduceAllow:i,toPxDesc:de}}}),ty=["min","max","disabled","readonly","value"];function oy(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,ty),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 at=Z(ey,[["render",oy]]),{create:ny,scope:ly}=H("short-password"),ay=ny({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}=re.useFoxI18n(ly),n=l(e,["title","desc","tips"]),a=t.ref(e.modelValue),r=t.computed(()=>d(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")},d=h=>Math.min(Math.max(4,h),6);return{comLen:r,realInput:a,onTouchStart:i,range:d,close:c,onTips:()=>{o("tips")},show:s,...n}}}),ry={class:"fox-short-password-title"},sy={class:"fox-short-password-subtitle"},iy={class:"fox-short-password-wrapper"},cy={key:0,class:"fox-short-password__item-icon"},uy={class:"fox-short-password__message"},dy={class:"fox-short-password--error"},fy={key:0,class:"fox-short-password--forget"};function my(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",ry,t.toDisplayString(e.title),1),t.createElementVNode("view",sy,t.toDisplayString(e.desc),1),t.createElementVNode("div",iy,[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,d)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-short-password__item",key:d},[String(e.realInput).length>d?(t.openBlock(),t.createElementBlock("view",cy)):t.createCommentVNode("",!0)]))),128))],32)]),t.createElementVNode("view",uy,[t.createElementVNode("view",dy,t.toDisplayString(e.errorMsg),1),e.tips?(t.openBlock(),t.createElementBlock("view",fy,[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 El=Z(ay,[["render",my]]);class py{url="";name="file";fileType="image";formData;sourceFile;method="post";xhrState=200;timeout=30*1e3;headers={};withCredentials=!1;onStart;taroFilePath;onProgress;onSuccess;onFailure;beforeXhrUpload}let hy=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 gy{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);Tn(a)?a.then(r=>{r?l(r):n&&n()}).catch(()=>{}):a?l():n&&n()}else l()},{create:yy}=H("progress"),vy=yy({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}}}),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 Ft=Z(vy,[["render",Sy]]),{componentName:Cy,create:wy,scope:Ny}=H("uploader"),By=wy({components:{[Ft.name]:Ft,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}=re.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})},d=(f,k)=>{const S=new py;S.url=e.url,S.formData=f.formData,S.timeout=e.timeout*1,S.method=e.method,S.xhrState=e.xhrState,S.headers=e.headers,S.withCredentials=e.withCredentials,S.beforeXhrUpload=e.beforeXhrUpload;try{S.sourceFile=f.formData.get(e.name)}catch{}S.onStart=T=>{f.status="ready",f.message=l("readyUpload"),m(k),o("start",T)},S.onProgress=(T,$)=>{f.status="uploading",f.message=l("uploading"),f.percentage=(T.loaded/T.total*100).toFixed(0),o("progress",{event:T,option:$,percentage:f.percentage})},S.onSuccess=(T,$)=>{f.status="success",f.message=l("success"),o("success",{responseText:T,option:$,fileItem:f}),o("update:fileList",n)},S.onFailure=(T,$)=>{f.status="error",f.message=l("error"),o("failure",{responseText:T,option:$,fileItem:f})};let B=new hy(S);e.autoUpload?B.upload():a.push(new Promise((T,$)=>{T(B)}))},m=(f=-1)=>{f>-1?a.splice(f,1):(a=[],n.splice(0,n.length))},h=()=>{Promise.all(a).then(f=>{f.forEach(k=>k.upload())})},p=f=>{f.forEach((k,S)=>{const B=new FormData;for(const[$,E]of Object.entries(e.data))B.append($,E);B.append(e.name,k);const T=t.reactive(new gy);if(T.name=k.name,T.status="ready",T.type=k.type,T.formData=B,T.message=l("waitingUpload"),d(T,S),e.isPreview&&k.type.includes("image")){const $=new FileReader;$.onload=E=>{T.url=E.target.result,n.push(T)},$.readAsDataURL(k)}else n.push(T)})},v=f=>{const k=e.maximum*1,S=e.maximize*1,B=new Array;f=f.filter($=>$.size>S?(B.push($),!1):!0),B.length&&o("oversize",B);let T=f.length+n.length;return T>k&&f.splice(f.length-(T-k)),f},g=(f,k)=>{n.splice(k,1),o("delete",{file:f,fileList:n,index:k})},y=(f,k)=>{m(k),ds(e.beforeDelete,{args:[f,n],done:()=>g(f,k)})},b=f=>{if(e.disabled)return;const k=f.target;let{files:S}=k;e.beforeUpload?e.beforeUpload(S).then(B=>u(B)):u(S),o("change",{fileList:n,event:f}),e.clearInput&&i(k)},u=f=>{const k=v(new Array().slice.call(f));p(k)};return{onChange:b,onDelete:y,fileList:n,classes:r,fileItemClick:c,clearUploadQueue:m,submit:h,renderInput:s}}}),Vy={key:0,class:"fox-uploader__slot"},Ay={key:0,class:"fox-uploader__preview-img"},Ty={key:0,class:"fox-uploader__preview__progress"},Ey={class:"fox-uploader__preview__progress__msg"},$y=["onClick"],Dy=["onClick","src"],xy={key:3,class:"fox-uploader__preview-img__file"},Iy=["onClick"],qy={class:"file__name_tips"},zy={class:"tips"},My={key:1,class:"fox-uploader__preview-list"},Py=["onClick"],Ry={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"),d=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",Vy,[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,v)=>(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",Ay,[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",Ey,t.toDisplayString(p.message),1)])):t.createCommentVNode("",!0),e.isDeletable?(t.openBlock(),t.createElementBlock("view",{key:1,class:"close",onClick:g=>e.onDelete(p,v)},[t.renderSlot(e.$slots,"delete-icon",{},()=>[t.createVNode(s)])],8,$y)):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",xy,[t.createElementVNode("view",{onClick:g=>e.fileItemClick(p),class:"fox-uploader__preview-img__file__name"},[t.createElementVNode("view",qy,t.toDisplayString(p.name),1)],8,Iy)])),t.createElementVNode("view",zy,t.toDisplayString(p.name),1)])):e.listType=="list"?(t.openBlock(),t.createElementBlock("view",My,[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",Ry,t.toDisplayString(p.name),1),e.isDeletable?(t.openBlock(),t.createBlock(d,{key:0,color:"#808080",class:"fox-uploader__preview-img__file__del",onClick:g=>e.onDelete(p,v)},null,8,["onClick"])):t.createCommentVNode("",!0)],10,Py),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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3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/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:Ky,scope:Uy}=H("number-keyboard"),Hy=Ky({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}=re.useFoxI18n(Uy),n=l(e,["confirmText"]),a=t.ref(void 0),r=t.ref(e.visible),s=t.ref();function i(){const{customKey:u}=e;let f={id:"lock",type:"lock"},k=Array.isArray(u)?u:[u];return k.length===1&&(f={id:k[0],type:"custom"}),[...c(),f,{id:0,type:"number"},{id:"delete",type:"delete"}]}function c(){const u=[];for(let f=1;f<=9;f++)u.push({id:f,type:"number"});return e.randomKeys?u.sort(()=>Math.random()>.5?1:-1):u}function d(){const u=c(),{customKey:f}=e;let k=Array.isArray(f)?f:[f];return k.length>2&&(k=[k[0],k[1]]),k.length==2&&e.title&&e.type!="rightColumn"&&(k=[k[0]]),k.length===1?e.title&&e.type!="rightColumn"?u.push({id:k[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):u.push({id:0,type:"number"},{id:k[0],type:"custom"}):k.length===2&&u.push({id:k[0],type:"custom"},{id:0,type:"number"},{id:k[1],type:"custom"}),u}const m=t.computed(()=>e.type=="rightColumn"||e.title!=""?d():i()),h=()=>{e.visible&&o("blur")},p=u=>{const f=s.value;f&&!f.contains(u.target)&&h()};t.watch(()=>e.visible,u=>{r.value=u,u?window.addEventListener("touchstart",p,!1):window.removeEventListener("touchstart",p,!1)});function v(u,f){f.stopPropagation(),a.value=u.id,(u.type=="number"||u.type=="custom")&&(o("input",u.id),e.modelValue.length<Number(e.maxlength)&&o("update:modelValue",e.modelValue+u.id)),u.type=="lock"&&b(),u.type=="delete"&&(o("delete"),o("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function g(u){u.stopPropagation()}function y(u){u.preventDefault(),a.value=void 0}function b(){o("update:visible",!1),o("close")}return{...n,delImg:Oy,lockImg:Fy,clickKeyIndex:a,defaultKey:i,closeBoard:b,onTouchEnd:y,onTouchMove:g,onTouchstart:v,keysList:m,genCustomKeys:d,getBasicKeys:c,root:s,show:r}}}),jy={ref:"root"},Wy={class:"fox-number-keyboard"},Yy={key:0,class:"fox-number-keyboard__header"},Xy={class:"fox-number-keyboard__title"},Qy={class:"fox-number-keyboard__body"},Gy={class:"fox-number-keyboard__keys"},Zy=["onTouchstart"],Jy=["src"],_y=["src"],ev={key:0,class:"fox-number-keyboard__sidebar"},tv={class:"fox-key__wrapper"},ov=["src"];function nv(e,o,l,n,a,r){const s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("div",jy,[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",Wy,[e.title?(t.openBlock(),t.createElementBlock("div",Yy,[t.createElementVNode("h3",Xy,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",Qy,[t.createElementVNode("div",Gy,[(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,Jy)):t.createCommentVNode("",!0),i.type=="delete"?(t.openBlock(),t.createElementBlock("img",{key:2,src:e.delImg},null,8,_y)):t.createCommentVNode("",!0)],42,Zy)],2))),128))]),e.type=="rightColumn"?(t.openBlock(),t.createElementBlock("div",ev,[t.createElementVNode("div",tv,[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,ov)],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 Dl=Z(Hy,[["render",nv]]),{componentName:lv,create:av}=H("swipe"),rv=av({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(()=>({[lv]:!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,d="",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:d||f})},v=()=>{h.offset=0,c=!1,o("close",{name:e.name,position:d})},g=t.computed(()=>({transform:`translate3d(${h.offset}px, 0, 0)`})),y=f=>{d=f>0?"right":"left";let k=f;switch(d){case"left":c&&m===d?k=-i.value:k=Math.abs(f)>i.value?-i.value:f;break;case"right":c&&m===d?k=r.value:k=Math.abs(f)>r.value?r.value:f;break}h.offset=k},b=Ke();return{classes:l,touchStyle:g,...{onTouchStart(f){e.disabled||b.start(f)},onTouchMove(f){e.disabled||(b.move(f),b.isHorizontal()&&(h.moving=!0,y(b.deltaX.value),e.touchMovePreventDefault&&f.preventDefault(),e.touchMoveStopPropagation&&f.stopPropagation()))},onTouchEnd(){if(h.moving)switch(h.moving=!1,m=d,d){case"left":Math.abs(h.offset)<=i.value/2?v():(h.offset=-i.value,p());break;case"right":Math.abs(h.offset)<=r.value/2?v():(h.offset=r.value,p());break}}},leftRef:a,rightRef:s,open:p,close:v}}}),sv={class:"fox-swipe__left",ref:"leftRef"},iv={class:"fox-swipe__content"},cv={class:"fox-swipe__right",ref:"rightRef"};function uv(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",sv,[t.renderSlot(e.$slots,"left")],512),t.createElementVNode("view",iv,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",cv,[t.renderSlot(e.$slots,"right")],512)],38)}const Kt=Z(rv,[["render",uv]]),{componentName:dv,create:fv}=H("action-sheet"),mv=fv({components:{[ce.name]:ce,Loading:ee.Loading},props:{...rt,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(()=>({[dv]:!0}));return{slotDefault:l,isHighlight:c=>e.chooseTagValue&&e.chooseTagValue===c[e.optionTag]?e.color:"",cancelActionSheet:()=>{o("cancel"),o("update:visible",!1)},chooseItem:(c,d)=>{!c.disable&&!c.loading&&(o("choose",c,d),o("update:visible",!1))},close:c=>{o("close",c),o("update:visible",!1)},classes:n}}}),pv={key:0,class:"fox-action-sheet__title"},hv={key:1},gv={key:0,class:"fox-action-sheet__item fox-action-sheet__desc"},yv={key:1,class:"fox-action-sheet__menu"},vv=["onClick"],kv={key:1},bv={class:"fox-action-sheet__subdesc"};function Sv(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",pv,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",hv,[e.description?(t.openBlock(),t.createElementBlock("view",gv,t.toDisplayString(e.description),1)):t.createCommentVNode("",!0),e.menuItems.length?(t.openBlock(),t.createElementBlock("view",yv,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menuItems,(c,d)=>(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:d,onClick:m=>e.chooseItem(c,d)},[c.loading?(t.openBlock(),t.createBlock(s,{key:0,name:"loading"})):(t.openBlock(),t.createElementBlock("view",kv,t.toDisplayString(c[e.optionTag]),1)),t.createElementVNode("view",bv,t.toDisplayString(c[e.optionSubTag]),1)],14,vv))),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 xl=Z(mv,[["render",Sv]]),{componentName:Cv,create:wv}=H("backtop"),Il=wv({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(()=>({[Cv]:!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 b=e.duration-Math.max(0,n.startTime-+new Date+e.duration),u=b*-n.scrollTop/e.duration+n.scrollTop;i(u),g=We(y),(b==e.duration||u==0)&&ar(g)})}function d(){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(){v.value?n.scrollEl=v.value.el:e.elId&&document.getElementById(e.elId)&&(n.scrollEl=document.getElementById(e.elId)),d()}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 v=t.computed(()=>{if(typeof l.content=="function"){const g=l.content();return Array.isArray(g)?g[0]:g}return null});return()=>{const g=[];v.value&&g.push(v.value);const y=[];if(typeof l.default=="function")y.push(l.default());else{const u=t.h(ee.Top,{class:["fox-backtop-main"],width:"19px",height:"19px"});y.push(u)}const b=t.h("div",{class:a.value,style:r.value,onClick:h},y);return g.push(b),g}}}),{componentName:Nv,create:Bv}=H("drag"),Vv=Bv({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(()=>({[Nv]:!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",je(()=>{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",je(()=>{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",je(()=>{i(h,p)})):h.style.left=p+"px"}function c(h){h.preventDefault();const p=h.currentTarget;if(h.targetTouches.length===1){const v=h.targetTouches[0];n.nx=v.clientX-n.position.x,n.ny=v.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 d(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?je(()=>{s(p)}):je(()=>{i(p,y)})),e.direction!="x"&&(p.style.top=n.yPum+"px")}function m(h){const p=h.currentTarget,v=h.touches[0],g=h.targetTouches[0];n.startTop=p.offsetTop,n.startLeft=p.offsetLeft,n.position.x=v.clientX,n.position.y=v.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",d)}),{classes:a,myDrag:l,touchStart:m,touchMove:c,touchEnd:d}}});function Av(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(Vv,[["render",Av]]),{componentName:Tv,create:Ev,scope:$v}=H("dialog"),Dv=Ev({inheritAttrs:!1,components:{[ce.name]:ce,[xe.name]:xe},props:{...rt,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}=re.useFoxI18n($v),n=l(e,["confirmText","cancelText"]),a=t.ref(e.visible);t.onMounted(()=>{e.closeOnPopstate&&Qe&&window.addEventListener("popstate",function(){i("page")})}),t.watch(()=>e.visible,m=>{a.value=m,m&&o("opened")});const r=t.computed(()=>({[Tv]:!0,[e.customClass]:!0})),s=m=>{o("update",m),o("update:visible",m)},i=m=>{if(e.beforeClose){const h=e.beforeClose(m);Tn(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}}}),xv={key:0,class:"fox-dialog__header"},Iv=["innerHTML"];function qv(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",xv,[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,Iv)):(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 fs=Z(Dv,[["render",qv]]);class zv{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 Mv{options=new zv;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(fs,l)}};this.instance=t.createVNode(s),n.appendChild(r),t.render(this.instance,r)}close=()=>{};setDefaultOptions=o=>{};resetDefaultOptions=()=>{}}const Ut=function(e){return new Mv(e)};Ut.install=e=>{e.use(fs),e.config.globalProperties.$dialog=Ut};const{componentName:Pv,create:Rv,scope:Lv}=H("pull-refresh"),Ov=Rv({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}=re.useFoxI18n(Lv),a=n(e,["pullingText","loosingText","loadingText"]),r=Ke(),s=t.ref(),i=Qr(s),c=t.reactive({isPullRefresh:!1,distance:0,status:"normal"}),d=t.computed(()=>({[Pv]:!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 S={};return e.headHeight!=50&&(S.height=de(e.headHeight)),S}),v=S=>{const B=+(e.pullDistance||e.headHeight);let T=S;return S>B&&(S<B*2?T=(S+B)/2:T=B+S/4),Math.round(T)},g=(S,B)=>{const T=+(e.pullDistance||e.headHeight);c.distance=S,B?c.status="loading":S===0?c.status="normal":S<T?c.status="pulling":c.status="loosing",o("change",{status:c.status,distance:S})},y=()=>c.status!=="loading"&&c.status!=="complete",b=()=>i.value==window?$n()==0:i.value&&i.value.scrollTop==0,u=S=>{y()&&(b()?(r.start(S),c.isPullRefresh=!0):(c.distance=0,c.isPullRefresh=!1))},f=S=>{if(y()){r.move(S);const{deltaY:B}=r;r.isVertical()&&B.value>0&&c.isPullRefresh&&(S.cancelable&&S.preventDefault(),g(v(B.value)))}},k=()=>{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,S=>{S?g(+e.headHeight,!0):g(0)}),{classes:d,scroller:s,...t.toRefs(c),touchStart:u,touchMove:f,touchEnd:k,getStyle:h,slots:l,getHeightStyle:p,getPullStatus:m}}}),Fv={class:"fox-pull-refresh-container-topbox-text"};function Kv(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",Fv,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(Ov,[["render",Kv]]),{create:Uv}=H("notify"),Hv=Uv({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,d=>{s.value=e.visible;const m=e.duration;d&&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 jv(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(Hv,[["render",jv]]),Nn={type:"base",visible:!0,msg:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:Function,teleport:"",unmount:new Function};let ut=[],Dt=[];const ms=e=>{if(e){const o=document.getElementById(e);Dt=Dt.filter(l=>l.id!==e),ut=ut.filter(l=>l!==e),o&&document.body.removeChild(o)}else ut.forEach(o=>{const l=document.getElementById(o);l&&document.body.removeChild(l)}),Dt=[],ut=[]},Wv=e=>{const o=document.getElementById(e.id);if(o){const l=Dt.find(a=>a.id===e.id);l?e={...Nn,...l,...e}:e={...Nn,...e};const n=t.createVNode(Ml,e);return t.render(n,o),n.component.data}},Vt=e=>{e.unmount=ms;let o;if(e.id){if(o=e.id,ut.find(r=>r===e.id))return Wv(e)}else o=new Date().getTime()+"";e={...Nn,...e},e.id=o,ut.push(e.id),Dt.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)},At=e=>{if(!e){console.warn("[NutUI Notify]: msg不能为空");return}},Pl={text(e,o={}){return At(e),Vt({...o,msg:e})},primary(e,o={}){return At(e),Vt({...o,msg:e,type:"primary"})},success(e,o={}){return At(e),Vt({...o,msg:e,type:"success"})},danger(e,o={}){return At(e),Vt({...o,msg:e,type:"danger"})},warn(e,o={}){return At(e),Vt({...o,msg:e,type:"warning"})},hide(){ms()},install(e){e.use(Ml)}},{create:Yv}=H("toast"),Xv=Yv({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,v=>{v&&s()});const c=t.computed(()=>e.type!=="text"?!0:!!e.icon),d=()=>{const v=se(e.iconSize);return t.h(e.icon,{width:v,height:v,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:d,hasIcon:c,toastBodyClass:m,toastIconWrapperClass:h,onAfterLeave:()=>{a(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),Qv={key:1,class:"fox-toast-title"},Gv=["innerHTML"];function Zv(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",Qv,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,Gv)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const Rl=Z(Xv,[["render",Zv]]),Bn={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 dt=[],xt=[];const ps=e=>{if(e){const o=document.getElementById(e);xt=xt.filter(l=>l.id!==e),dt=dt.filter(l=>l!==e),o&&document.body.removeChild(o)}else dt.forEach(o=>{const l=document.getElementById(o);l&&document.body.removeChild(l)}),xt=[],dt=[]},Jv=e=>{const o=document.getElementById(e.id);if(o){const l=xt.find(a=>a.id===e.id);l?e={...Bn,...l,...e}:e={...Bn,...e};const n=t.createVNode(Rl,e);return t.render(n,o),Ct}},Tt=e=>{e.unmount=ps;let o;if(e.id){if(o=e.id,dt.find(a=>a===e.id))return Jv(e)}else o=new Date().getTime()+"";e={...Bn,...e},e.id=o,dt.push(e.id),xt.push(e);const l=document.createElement("div");l.id=e.id;const n=t.createVNode(Rl,e);return t.render(n,l),document.body.appendChild(l),Ct},Zt=e=>{if(!e){console.warn("[FoxUI Toast]: msg不能为空");return}},Ct={text(e,o={}){return Zt(e),Tt({...o,type:"text",msg:e})},success(e,o={}){return Zt(e),Tt({icon:ee.Success,...o,msg:e,type:"success"})},fail(e,o={}){return Zt(e),Tt({icon:ee.Failure,...o,msg:e,type:"fail"})},warn(e,o={}){return Zt(e),Tt({icon:ee.Tips,...o,msg:e,type:"warn"})},loading(e,o={}){return Tt({icon:ee.Loading,...o,msg:e,type:"loading"})},hide(e){ps(e)},install(e){e.use(Rl),e.config.globalProperties.$toast=Ct}},{componentName:JN,create:_v}=H("audio"),ek=_v({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,[Ot.name]:Ot},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 b=0;b<y.length;b++)document.addEventListener(y[b],()=>{document.hidden?n.value.pause():a.playing&&setTimeout(()=>{n.value.play()},200)})}catch(b){b.message}});const r=y=>{const b=n.value;e.autoplay&&b&&b.paused&&b.play(),a.second=b.duration,a.duration=g(b.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)},d=()=>{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 b=n.value;b.currentTime=a.second*y/100,o("changeProgress",b.currentTime)},v=()=>{a.hanMuted=!a.hanMuted,o("mute",a.hanMuted)},g=y=>{if(!y)return"00:00:00";let b=parseInt(y),u=Math.floor(b/3600),f=Math.floor((b-u*3600)/60),k=b-u*3600-f*60,S="";return S+=("0"+u.toString()).slice(-2)+":",S+=("0"+f.toString()).slice(-2)+":",S+=("0"+k.toString()).slice(-2),S};return t.watch(()=>a.currentTime,y=>{m(y)}),t.provide("audioParent",{children:[],props:e,audioData:a,handleMute:v,forward:d,fastBack:i,changeStatus:c}),{...t.toRefs(e),...t.toRefs(a),audioRef:n,fastBack:i,forward:d,changeStatus:c,progressChange:p,audioEnd:h,onTimeupdate:s,handleMute:v,onCanplay:r,slots:l}}}),tk={class:"fox-audio"},ok={key:0,class:"fox-audio__progress"},nk={class:"fox-audio__time"},lk={class:"fox-audio__bar"},ak=t.createElementVNode("div",{class:"fox-audio__button--custom"},null,-1),rk={class:"fox-audio__time"},sk={key:1,class:"fox-audio__icon"},ik=["controls","src","preload","autoplay","loop","muted"];function ck(e,o,l,n,a,r){const s=t.resolveComponent("fox-range"),i=t.resolveComponent("Service");return t.openBlock(),t.createElementBlock("div",tk,[e.type=="progress"?(t.openBlock(),t.createElementBlock("div",ok,[t.createElementVNode("div",nk,t.toDisplayString(e.currentDuration),1),t.createElementVNode("div",lk,[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",rk,t.toDisplayString(e.duration),1)])):t.createCommentVNode("",!0),e.type=="icon"?(t.openBlock(),t.createElementBlock("div",sk,[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,ik)])}const Ll=Z(ek,[["render",ck]]),{componentName:_N,create:uk,scope:dk}=H("audio-operate"),fk=uk({props:{type:{type:String,default:()=>"play"}},components:{},emits:["click"],setup(e,{emit:o}){const{t:l}=re.useFoxI18n(dk),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 Ol=Z(fk,[["render",pk]]),{componentName:hk,create:gk}=H("avatar"),yk=gk({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}),d=t.reactive({index:1,showMax:!1,maxIndex:0});t.onMounted(()=>{const g=s?.avatarGroupRef?.value?.children;g&&v(g)});const m=t.computed(()=>({[hk]:!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:d.index!=1&&(s?.props?.span?`${s?.props?.span}px`:""),zIndex:s?.props?.zIndex=="right"?`${Math.abs(d.maxIndex-d.index)}`:""})),p=t.computed(()=>({backgroundColor:`${s?.props?.maxBgColor}`,color:`${s?.props?.maxColor}`})),v=g=>{d.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);d.index=i?.value?.dataset?.index,d.index==d.maxIndex&&d.index!=s?.props?.maxCount&&(d.showMax=!0)};return{classes:m,styles:h,maxStyles:p,avatarGroup:s,visible:c,avatarRef:i,...t.toRefs(d)}}});function vk(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 Ht=Z(yk,[["render",vk]]),{componentName:kk,create:bk}=H("avatar-group"),Sk=bk({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(()=>({[kk]:!0}));return t.onMounted(()=>{}),t.provide("avatarGroup",{props:e,avatarGroupRef:n,index:a}),{classes:r,avatarGroupRef:n}}});function Ck(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 Fl=Z(Sk,[["render",Ck]]);var oo=(e=>(e[e.eq=1]="eq",e[e.lt=2]="lt",e[e.gt=3]="gt",e))(oo||{});function wk(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:Nk,create:Bk}=H("list"),nr=document.documentElement.clientHeight||document.body.clientHeight||667,Vk=Bk({props:{listData:{type:Array,default:()=>[]},bufferSize:{type:Number,default:5},containerHeight:{type:[Number],default:nr},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,nr)),i=t.computed(()=>Math.ceil(s.value/e.height)),c=t.computed(()=>Math.min(r.originStartIndex+i.value+e.bufferSize,r.list.length)),d=t.computed(()=>({[Nk]:!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 u=0;u<r.list.length;++u)r.cachePositions[u]={index:u,height:e.height,top:u*e.height,bottom:(u+1)*(e.height+e.margin),dValue:0}},v=()=>{let u=a.value.childNodes;u=Array.from(u).filter($=>$.nodeType===1);const f=u[0];u.forEach(($,E)=>{if(!$)return;const x=Ve($),{height:C}=x,z=r.cachePositions[E+r.start].height-C;z&&(r.cachePositions[E+r.start].bottom-=z,r.cachePositions[E+r.start].height=C,r.cachePositions[E+r.start].dValue=z)});let k=0;f&&(k=r.start);const S=r.cachePositions.length;let B=r.cachePositions[k].dValue;r.cachePositions[k].dValue=0;for(let $=k+1;$<S;++$){const E=r.cachePositions[$];r.cachePositions[$].top=r.cachePositions[$-1].bottom,r.cachePositions[$].bottom=r.cachePositions[$].bottom-B,E.dValue!==0&&(B+=E.dValue,E.dValue=0)}const T=r.cachePositions[S-1].bottom;r.phantomHeight=T},g=(u=0)=>{let f=wk(r.cachePositions,u,(S,B)=>{const T=S.bottom;return T===B?oo.eq:T<B?oo.lt:oo.gt});return r.cachePositions[f].bottom<u&&(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},b=()=>{const u=l.value?.scrollTop,{originStartIndex:f}=r,k=g(u);k!==f&&(r.originStartIndex=k,r.start=Math.max(r.originStartIndex-e.bufferSize,0),c.value>=r.list.length-1&&o("scroll-bottom")),o(u>r.scrollTop?"scroll-up":"scroll-down",u),r.scrollTop=u};return t.watch(()=>e.listData,u=>{if(r.list=u.slice(),r.list.length===u.length)p(),v();else{y();return}}),t.watch(()=>r.start,()=>{a.value&&r.list.length>0&&v()}),{...t.toRefs(r),list:l,phantom:n,actualContent:a,getTransform:h,visibleData:m,classes:d,getContainerHeight:s,handleScrollEvent:b}}});function Ak(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 Kl=Z(Vk,[["render",Ak]]),{componentName:Tk,create:Ek}=H("circleprogress"),$k=Ek({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(()=>({[Tk]:!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(()=>$e(e.color)?`url(#${n})`:e.color),i=t.computed(()=>{let m=283,h=m*Number(e.progress)/100;return{stroke:$e(e.color)?`url(#${n})`:e.color,strokeDasharray:`${h}px ${m}px`}}),c=t.computed(()=>({stroke:e.pathColor})),d=t.computed(()=>{if(!$e(e.color))return;let m=e.color;const h=Object.keys(m).sort((v,g)=>parseFloat(v)-parseFloat(g));let p=[];return h.map((v,g)=>{let y={key:"",value:""};y.key=v,y.value=m[v],p.push(y)}),p});return{classes:a,hoverStyle:i,pathStyle:c,path:r,hoverColor:s,stop:d,slotDefault:l,refRandomId:n}}}),Dk={viewBox:"0 0 100 100"},xk=["id"],Ik=["offset","stop-color"],qk=["d","stroke-width"],zk=["d","stroke","stroke-linecap","stroke-width"],Mk={class:"fox-circleprogress-text"},Pk={key:0};function Rk(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",Dk,[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,Ik))),128))],8,xk)]),t.createElementVNode("path",{class:"fox-circleprogress-path",style:t.normalizeStyle(e.pathStyle),d:e.path,fill:"none","stroke-width":e.strokeWidth}," > ",12,qk),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,zk)])),t.createElementVNode("div",Mk,[t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Pk,t.toDisplayString(e.progress)+"%",1))])],6)}const Ul=Z($k,[["render",Rk]]),{componentName:Lk,create:Ok}=H("noticebar"),Fk=Ok({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(()=>({[Lk]:!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})),d=t.computed(()=>{let $={};return e.color&&($.color=e.color),e.background&&($.background=e.background),e.direction=="vertical"&&($.height=`${e.height}px`),$}),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 $={};if(e.complexAm)$={transform:`translateY(${r.distance}px)`};else if(r.animate){let E=~~(e.height/e.speed/4);$={transition:`all ${E==0?~~(e.height/e.speed):E}s`,"margin-top":`-${e.height}px`}}return $});t.watch(()=>e.text,$=>{p()}),t.watch(()=>e.list,$=>{r.scrollList=[...$]});const p=$=>{r.showNoticebar!=!1&&setTimeout(()=>{if(!n.value||!a.value)return;const E=n.value.getBoundingClientRect().width,x=a.value.getBoundingClientRect().width;r.isCanScroll=e.scrollable==null?x>E:e.scrollable,r.isCanScroll?(r.wrapWidth=E,r.offsetWidth=x,r.duration=x/e.speed,r.animationClass="play"):r.animationClass=""},0)},v=$=>{o("click",$)},g=$=>{e.closeMode&&(r.showNoticebar=!e.closeMode),o("close",$)},y=$=>{r.firstRound=!1,o("across-end",$),setTimeout(()=>{r.duration=(r.offsetWidth+r.wrapWidth)/e.speed,r.animationClass="play-infinite"},0)},b=()=>{u(),r.timer=setInterval(u,~~(e.height/e.speed/4*1e3)+e.standTime)},u=()=>{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 $=100;for(let E=0;E<$;E++)k(E,!(E<$-1))},e.standTime+100*e.speed)},k=($,E)=>{setTimeout(()=>{r.distance-=e.height/100,E&&(r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.distance=0)},$*e.speed)},S=$=>{o("click",$)},B=()=>{e.closeMode&&(r.showNoticebar=!e.closeMode),o("close",r.scrollList[0])};t.onMounted(()=>{e.direction=="vertical"?(l.default?T(l.default()):r.scrollList=[...e.list],setTimeout(()=>{e.complexAm?f():b()},e.standTime)):p(e.text)}),t.watch(()=>l.default?l.default():[],$=>{e.direction==="vertical"&&l.default&&(r.showNotica=!1,setTimeout(()=>{r.showNotica=!0}),T($))});const T=$=>{$&&$.length>0&&(r.scrollList=$[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:d,contentStyle:m,horseLampStyle:h,wrap:n,content:a,handleClick:v,onClickIcon:g,onAnimationEnd:y,go:S,handleClickIcon:B,slots:l,toPxDesc:de,wrapContentClass:c}}}),Kk={class:"fox-noticebar__page-lefticon"},Uk={ref:"wrap",class:"fox-noticebar__page-wrap"},Hk={class:"showNotica"},jk=["onClick"];function Wk(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]=(...d)=>e.handleClick&&e.handleClick(...d))},[t.createElementVNode("view",Kk,[t.renderSlot(e.$slots,"left-icon",{},()=>[e.leftIcon?(t.openBlock(),t.createBlock(s,{key:0,size:"16px"})):t.createCommentVNode("",!0)])]),t.createElementVNode("view",Uk,[t.createElementVNode("view",{ref:"content",class:t.normalizeClass(e.wrapContentClass),style:t.normalizeStyle(e.contentStyle),onAnimationend:o[0]||(o[0]=(...d)=>e.onAnimationEnd&&e.onAnimationEnd(...d)),"on:webkitAnimationEnd":o[1]||(o[1]=(...d)=>e.onAnimationEnd&&e.onAnimationEnd(...d))},[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((...d)=>e.onClickIcon&&e.onClickIcon(...d),["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",Hk,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(d,m)=>(t.openBlock(),t.createBlock(c,{key:m,style:t.normalizeStyle({height:e.height+"px","line-height":e.height+"px"}),item:d},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,(d,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(d)},[t.renderSlot(e.$slots,"item",{},()=>[t.createTextVNode(t.toDisplayString(d),1)])],12,jk))),128))],4)),t.createElementVNode("view",{class:"go",onClick:o[4]||(o[4]=d=>!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(Fk,[["render",Wk]]),Yk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAA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ZZSWQBY3nNKllAOdG70CtDcP9/s4DHtSzEDOqdONf4OQ+Kn1qWWOINqh1ZBjUXjxsoJs9GbAZpmvCgFnxvLOg1vFzwilYCioZUXMwnV+CIcMwQB151N/pIseoLCXcCR/HcCEv8qj/w1eMsSoQEjE9HMOzIF/HOlFS259e4gCrASGRsY1Uy4KcnXzx89vH3tcvOMSOAiF8ip/EGm7+XYxxChFDHKCpKRkyEkFljufOyZal5WhQJxNdna04jCeUMcevuGXLgDlRZpjUBEL+MEpl+7zrnrft8lnLNGDONJGCSvRneJjEbCBEK6klqm8BIVo5ymhBJfNAE0X0Kymip7QStUE3fqKblBLVpxMpRDs1hiMcmvMT/biJnNKYn+jHqFNOyTxgNiinZB4oOZRTMg/IvZRPfRTRk40Cj37S95s9OyYCGIShALrVQIVgBAMVUQsdGBgqgKGHCRz2GEBDhvc05PJzPwTVxpa6np+o+lhK9jclqt1OpSr2iWsN6ntZp0T2zW1abtcpsZ3tqdmYEt8h9AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIC/PTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAUMS6uSWMRCGwAAAABJRU5ErkJggg==",{componentName:eB,create:Gk,scope:Zk}=H("empty"),Jk={empty:Yk,error:Xk,network:Qk},_k=Gk({props:{image:{type:String,default:"empty"},imageSize:{type:[Number,String],default:""},description:{type:String,default:""}},setup(e){const{toLocaleRefs:o}=re.useFoxI18n(Zk),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:Jk[n.value];return{...l,imageUrl:i,imgStyle:r}}}),eb={class:"fox-empty"},tb=["src"],ob={key:1,class:"fox-empty-description"};function nb(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",eb,[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,tb)):t.createCommentVNode("",!0)],64))],4),e.$slots.description?t.renderSlot(e.$slots,"description",{key:0}):(t.openBlock(),t.createElementBlock("view",ob,t.toDisplayString(e.description),1)),e.$slots.default?t.renderSlot(e.$slots,"default",{key:2}):t.createCommentVNode("",!0)])}const jl=Z(_k,[["render",nb]]),{create:lb,scope:ab}=H("video"),rb=lb({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}=re.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,T=>{T.src&&t.nextTick(()=>{n.videoElm.load()})},{immediate:!0,deep:!0}),t.watch(()=>e.options,T=>{n.state.isMuted=T?T.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",ao(h,1e3)))},i=()=>{const T=a.value,$=a.value.getElementsByClassName("fox-video-controller__progress-value")[0];n.player.$player=T,n.progressBar.progressElm=$,n.progressBar.pos=$.getBoundingClientRect(),n.videoSet.progress.width=Math.round($.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",ao(h,1e3)),n.videoElm.addEventListener("ended",p),o("play",n.videoElm)}catch{v()}else n.videoElm.pause(),o("pause",n.videoElm)},d=T=>{var $=Math.floor(T/3600);$<10&&($="0"+$);var E=Math.floor(T%3600/60);E<10&&(E="0"+E);var x=Math.round(T%3600%60);x<10&&(x="0"+x);var C="";return $!=0?C=$+":"+E+":"+x:C=E+":"+x,C},m=()=>{n.videoSet.loaded&&(n.videoSet.loaded=n.videoElm.buffered.end(0)/n.videoElm.duration*100)},h=()=>{const T=n.videoElm.currentTime/n.videoElm.duration;n.videoSet.progress.current=Math.round(n.videoSet.progress.width*T),n.videoSet.totalTime=d(n.videoElm.duration),n.videoSet.displayTime=d(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)},v=()=>{n.state.isError=!0},g=()=>{n.state.vol=e.options.volume},y=()=>{n.state.isMuted=!n.state.isMuted,n.videoElm.muted=n.state.isMuted},b=()=>{},u=T=>{let E=T.targetTouches[0].pageX-n.progressBar.pos.left;E<=0&&(E=0),E>=n.videoSet.progress.width&&(E=n.videoSet.progress.width),n.videoSet.progress.current=E;let x=n.videoSet.progress.current/n.videoSet.progress.width;n.videoElm.duration&&k(x,n.videoElm.duration)},f=T=>{let E=T.changedTouches[0].pageX-n.progressBar.pos.left;n.videoSet.progress.current=E;let x=E/n.videoSet.progress.width;n.videoElm.duration&&k(x,n.videoElm.duration)},k=(T,$)=>{n.videoElm.currentTime=Math.floor(T*$)},S=()=>{n.state.isError=!1,s()},B=()=>{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:v,isDisabled:r,play:c,handleMuted:y,touchSlidSrart:b,touchSlidMove:u,touchSlidEnd:f,retry:S,fullScreen:B,t:l}}}),sb={class:"fox-video",ref:"videocon"},ib=["muted","autoplay","loop","poster","controls","preload"],cb=["src","type"],ub={class:"fox-video-controller__now"},db={class:"fox-video-controller__progress"},fb={class:"fox-video-controller__progress-value",ref:"progressBar"},mb=t.createElementVNode("div",{class:"fox-video-controller__ball-move"},null,-1),pb=[mb],hb={class:"fox-video-controller__played",ref:"playedBar"},gb={class:"fox-video-controller__total"},yb={class:"fox-video-error"},vb={class:"fox-video-error-tip"};function kb(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",sb,[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,cb)],40,ib),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",ub,t.toDisplayString(e.videoSet.displayTime),1),t.createElementVNode("div",db,[t.createElementVNode("div",fb,[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"]))},pb,36),t.createElementVNode("div",hb,null,512)],512)]),t.createElementVNode("div",gb,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",yb,[t.createElementVNode("p",vb,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 vt=Z(rb,[["render",kb]]),{create:bb,componentName:Sb}=H("steps"),Wl=bb({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=Sb;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:Cb,componentName:wb}=H("step"),Nb=Cb({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=wb;return{[c]:!0,[`${c}-${r.value}`]:!0}}),i=()=>{o.onEmit(n.value)};return{...t.toRefs(l),index:n,classes:s,handleClickStep:i}}}),Bb={class:"fox-step-head"},Vb=t.createElementVNode("view",{class:"fox-step-line"},null,-1),Ab={class:"fox-step-icon-inner"},Tb={key:1,class:"fox-step-inner"},Eb={class:"fox-step-main"},$b={class:"fox-step-title"},Db={key:0},xb={key:0,class:"fox-step-content"},Ib=["innerHTML"];function qb(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",Bb,[Vb,t.createElementVNode("view",{class:t.normalizeClass(["fox-step-icon",[e.dot?"":"is-icon"]])},[t.createElementVNode("view",Ab,[t.renderSlot(e.$slots,"icon",{},()=>[e.dot?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[],64)):(t.openBlock(),t.createElementBlock("view",Tb,t.toDisplayString(e.index),1))])])],2)]),t.createElementVNode("view",Eb,[t.createElementVNode("view",$b,[e.$slots.title?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",Db,t.toDisplayString(e.title),1)),t.renderSlot(e.$slots,"title")]),e.content||e.$slots.content?(t.openBlock(),t.createElementBlock("view",xb,[e.$slots.content?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:e.content},null,8,Ib)),t.renderSlot(e.$slots,"content")])):t.createCommentVNode("",!0)])],2)}const Yl=Z(Nb,[["render",qb]]),{create:zb,componentName:Jo}=H("swiper"),Mb=zb({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=Ke(),s=t.computed(()=>({[Jo]:!0})),i=t.computed(()=>e.direction==="vertical"),c=t.computed(()=>{const N=Jo;return{[`${N}-inner`]:!0,[`${N}-vertical`]:i.value}}),d=t.computed(()=>{const N=Jo;return{[`${N}-pagination`]:!0,[`${N}-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),v=t.computed(()=>a[i.value?"height":"width"]),g=t.computed(()=>p.value*v.value),y=t.computed(()=>a.rect?(i.value?a.rect.height:a.rect.width)-v.value*p.value:0),b=t.computed(()=>(a.active+p.value)%p.value),u=()=>{let N=0;N=a.offset,a.style={transitionDuration:`${a.moving?0:e.duration}ms`,transform:`translate${i.value?"Y":"X"}(${N}px)`,[i.value?"height":"width"]:`${v.value*p.value}px`,[i.value?"width":"height"]:`${i.value?a.width:a.height}px`}},f=N=>{let R=[];const M=a.childrenVNode.length;let I=l?.default?.();if(I=I.filter(L=>L.children&&Array.isArray(L.children)),I.forEach(L=>{R=R.concat(L.children)}),!M)a.childrenVNode=R.slice(),N.proxy&&a.children.push(N.proxy);else if(M>R.length)a.children=a.children.filter(L=>N.proxy!==L);else if(M<R.length){for(let L=0;L<M;L++)if(R[L].key!==a.childrenVNode[L].key){N.proxy&&a.children.splice(L,0,N.proxy),N.vnode&&a.childrenVNode.splice(L,0,N.vnode);break}M!==R.length&&(N.proxy&&a.children.push(N.proxy),N.vnode&&a.childrenVNode.push(N.vnode))}else a.childrenVNode=R.slice(),N.proxy&&a.children.push(N.proxy)},k=(N,R=0)=>{let M=N*v.value;e.loop||(M=Math.min(M,-y.value));let I=R-M;return e.loop||(I=Re(I,y.value,0)),I},S=N=>{const{active:R}=a;return N?e.loop?Re(R+N,-1,p.value):Re(R+N,0,p.value-1):R},B=({pace:N=0,offset:R=0,isEmit:M=!1})=>{if(p.value<=1)return;const{active:I}=a,L=S(N),Q=k(L,R);if(e.loop){if(a.children[0]&&Q!==y.value){const W=Q<y.value;a.children[0].setOffset(W?g.value:0)}if(a.children[p.value-1]&&Q!==0){const W=Q>0;a.children[p.value-1].setOffset(W?-g.value:0)}}a.active=L,a.offset=Q,M&&I!==a.active&&o("change",b.value),u()},T=()=>{a.moving=!0,a.active<=-1&&B({pace:p.value}),a.active>=p.value&&B({pace:-p.value})},$=()=>{a.autoplayTimer&&clearTimeout(a.autoplayTimer)},E=N=>{T(),r.reset(),We(()=>{We(()=>{a.moving=!1,B({pace:N,isEmit:!0})})})},x=()=>{E(-1)},C=()=>{E(1)},w=N=>{T(),r.reset(),We(()=>{a.moving=!1;let R;e.loop&&p.value===N?R=a.active===0?0:N:R=N%p.value,B({pace:R-a.active,isEmit:!0})})},z=()=>{e.autoPlay<=0||p.value<=1||($(),a.autoplayTimer=setTimeout(()=>{C(),z()},Number(e.autoPlay)))},P=(N=+e.initPage)=>{$(),a.rect=n.value.getBoundingClientRect(),N=Math.min(p.value-1,N),a.width=e.width?+e.width:a.rect.width,a.height=e.height?+e.height:a.rect.height,a.active=N,a.offset=k(a.active),a.moving=!0,u(),z()},A=N=>{e.isPreventDefault&&N.preventDefault(),e.isStopPropagation&&N.stopPropagation(),e.touchable&&(r.start(N),a.touchTime=Date.now(),$(),T())},V=N=>{e.touchable&&a.moving&&(r.move(N),h.value&&B({offset:m.value}))},D=N=>{if(!e.touchable||!a.moving)return;const R=m.value/(Date.now()-a.touchTime);if((Math.abs(R)>.3||Math.abs(m.value)>+(v.value/2).toFixed(2))&&h.value){let I=0;const L=i.value?r.offsetY.value:r.offsetX.value;e.loop?I=L>0?m.value>0?-1:1:0:I=-Math[m.value>0?"ceil":"floor"](m.value/v.value),B({pace:I,isEmit:!0})}else m.value&&B({pace:0});a.moving=!1,u(),z()};return t.provide("parent",{props:e,size:v,relation:f}),Ae({prev:x,next:C,to:w}),t.onDeactivated(()=>{$()}),t.onBeforeUnmount(()=>{$()}),t.watch(()=>e.initPage,N=>{t.nextTick(()=>{P(Number(N))})}),t.watch(()=>a.children.length,()=>{t.nextTick(()=>{P()})}),t.watch(()=>e.autoPlay,N=>{N>0?z():$()}),{state:a,classes:s,classesInner:c,classesPagination:d,container:n,activePagination:b,onTouchStart:A,onTouchMove:V,onTouchEnd:D}}});function Pb(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 kt=Z(Mb,[["render",Pb]]),{create:Rb,componentName:Lb}=H("swiper-item"),Ob=Rb({setup(e,{slots:o}){const l=t.inject("parent");l.relation(t.getCurrentInstance());const n=t.reactive({offset:0}),a=t.computed(()=>({[Lb]:!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")}),Ae({setOffset:s}),{style:r,classes:a}}});function Fb(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 bt=Z(Ob,[["render",Fb]]),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:Kb}=H("image-preview-item"),Ub=Kb({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:{[vt.name]:vt,[bt.name]:bt},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=Ke(),a=t.computed(()=>{const{rootWidth:x,rootHeight:C}=e,w=C/x;return l.imageRatio>w}),r=t.computed(()=>{const x=e.image;if(x&&x.src){const{scale:C,moveX:w,moveY:z,moving:P,zooming:A}=l,V={transitionDuration:A||P?"0s":".3s"};if(C!==1){const D=w/C,N=z/C;V.transform=`scale(${C}, ${C}) translate(${D}px, ${N}px)`}return V}return{}}),s=t.computed(()=>{if(l.imageRatio){const{rootWidth:x,rootHeight:C}=e,w=a.value?C/l.imageRatio:x;return Math.max(0,(l.scale*w-x)/2)}return 0}),i=t.computed(()=>{if(l.imageRatio){const{rootWidth:x,rootHeight:C}=e,w=a.value?C:x*l.imageRatio;return Math.max(0,(l.scale*w-C)/2)}return 0}),c=x=>{const{naturalWidth:C,naturalHeight:w}=x.target;l.imageRatio=w/C},d=()=>{m(1),l.moveX=0,l.moveY=0},m=x=>{x=Re(x,+e.minZoom,+e.maxZoom+1),x!==l.scale&&(l.scale=x,o("scale",{scale:x,index:e.initNo}))},h=()=>{const x=l.scale>1?1:2;m(x),l.moveX=0,l.moveY=0},p=x=>Math.sqrt((x[0].clientX-x[1].clientX)**2+(x[0].clientY-x[1].clientY)**2);let v,g,y,b,u,f,k;const S=x=>{const{touches:C}=x,{offsetX:w}=n;n.start(x),k=C.length,v=l.moveX,g=l.moveY,f=Date.now(),l.moving=k===1&&l.scale!==1,l.zooming=k===2&&!w.value,l.zooming&&(y=l.scale,b=p(x.touches))},B=x=>{const{touches:C}=x;if(n.move(x),(l.moving||l.zooming)&&sn(x,!0),l.moving){const{deltaX:w,deltaY:z}=n,P=w.value+v,A=z.value+g;l.moveX=Re(P,-s.value,s.value),l.moveY=Re(A,-i.value,i.value)}if(l.zooming&&C.length===2){const w=p(C),z=y*w/b;m(z)}},T=()=>{if(k==1&&e.video&&e.video.source||k>1)return;const{offsetX:x,offsetY:C}=n,w=Date.now()-f,z=250,P=5;x.value<P&&C.value<P&&w<z&&(u?(clearTimeout(u),u=null,h()):u=setTimeout(()=>{e.contentClose&&o("close"),u=null},z))},$=x=>{let C=!1;(l.moving||l.zooming)&&(C=!0,l.moving&&v===l.moveX&&g===l.moveY&&(C=!1),x.touches.length||(l.zooming&&(l.moveX=Re(l.moveX,-s.value,s.value),l.moveY=Re(l.moveY,-i.value,i.value),l.zooming=!1),l.moving=!1,v=0,g=0,y=1,l.scale<1&&d(),l.scale>e.maxZoom&&(l.scale=+e.maxZoom))),sn(x,C),T(),n.reset()},E=()=>{o("close")};return t.watch(()=>e.initNo,d),t.watch(()=>e.show,x=>{x||d()}),{...t.toRefs(l),onTouchStart:S,onTouchMove:B,onTouchEnd:$,getDistance:p,imageStyle:r,imageLoad:c,closeSwiper:E}}}),Hb=["src"];function jb(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,Hb)):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 Wb=Z(Ub,[["render",jb]]),{create:Yb}=H("image-preview"),Xb=Yb({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:Wb,CircleClose:ee.CircleClose,[ce.name]:ce,[kt.name]:kt},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(()=>po(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")},d=()=>{if(l.value){const m=Ve(l.value);n.rootHeight=m.height,n.rootWidth=m.width}};return t.watch(()=>e.show,m=>{n.showPop=m,m&&(s(e.initNo),d())}),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}}}),Qb={class:"fox-image-preview",ref:"swipeRef"},Gb={key:0,class:"fox-image-preview-index"};function Zb(e,o,l,n,a,r){const s=t.resolveComponent("image-preview-item"),i=t.resolveComponent("fox-swiper"),c=t.resolveComponent("CircleClose"),d=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(d,{"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",Qb,[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",Gb,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(Xb,[["render",Zb]]);class Jb{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 _b{options=new Jb;constructor(o){const l=Object.assign(this.options,o),{unmount:n}=Gs(l,{name:"image-preview",components:[ce,vt,kt,bt,nt],wrapper:()=>({setup(){return()=>(l.onClose=()=>{l.show=!1,t.nextTick(()=>{n()})},t.h(gs,l))}})})}}const Ko=e=>new _b(e);Ko.install=e=>{e.use(gs)};function eS(e){const o=t.getCurrentInstance();if(o&&o.proxy){let l=o.proxy;Object.assign(l,e)}}const{componentName:tB,create:tS}=H("countup"),oS=tS({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=E=>{E&&n.value.push(E)},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:d}=t.reactive(e);t.watch(()=>e.customChangeNum,(E,x)=>{h(),b(0)}),t.watch(()=>e.machinePrizeLevel,(E,x)=>{r.prizeLevelTrun=E}),t.watch(()=>e.initNum,(E,x)=>{r.current=E,r.valFlag=!1,m()}),t.watch(()=>e.endNum,(E,x)=>{r.current=e.initNum,r.valFlag=!1,m()});const m=()=>{if(r.valFlag)return!1;s&&(i||c?d!="machine"&&b():(y(),setTimeout(()=>{r.valFlag=!0},300)))},h=()=>{clearInterval(Number(r.timer)),r.timer=null},p=(E,x,C)=>{const w=(E.toString().split(".")[1]||"").length,z=(x.toString().split(".")[1]||"").length,P=Math.pow(10,Math.max(w,z));return C=="-"?Number((E*P-x*P).toFixed(0))/P:Number((E*P+x*P).toFixed(0))/P},v=E=>{let{num_total_len:x,pointNum:C,initDigit1:w,initDigit2:z,sortFlag:P}=r,A=P=="add"||P=="equal"?String(z)[E-(x-C)]:10-Number(String(z)[E-(x-C)]),V=P=="add"||P=="equal"?String(w)[E]:10-Number(String(w)[E]),D=E>x-C-1?-A*100+"%":E<=String(w).length-1?-V*100+"%":0;return D=="-1000%"&&(D=0),D},g=E=>{let{num_total_len:x,pointNum:C,initDigit1:w,initDigit2:z,sortFlag:P}=r,A=String(z)[E-(x-C)];return E>x-C-1?A||0:E<=String(w).length-1?String(w)[E]:0},y=()=>{let{endNum:E,initNum:x,speed:C,toFixed:w}=e,z=setInterval(()=>{if(x>E)if(r.current<=E||r.current<=C)r.current=E.toFixed(w),clearInterval(z),o("scroll-end"),r.valFlag=!1;else{let P=parseFloat(String(r.current))-parseFloat(String(C));r.current=P.toFixed(w)}else if(r.current>=E)r.current=E.toFixed(w),clearInterval(z),o("scroll-end"),r.valFlag=!1;else{let P=parseFloat(String(r.current))+parseFloat(String(C));r.current=P.toFixed(w)}},e.during)},b=E=>{let{initNum:x,endNum:C,toFixed:w,customBgImg:z}=e;z&&(x=e.customChangeNum);let P,A,V,D;x!=0?(w!=0&&(x=Number(x.toFixed(w))),String(x).indexOf(".")>-1?(P=String(x).split(".")[0].length,A=String(x).split(".")[1].length):(P=String(x).length,A=0)):(P=1,A=0),C!=0?(w!=0&&(C=Number(C.toFixed(w))),String(C).indexOf(".")>-1?(V=String(C).split(".")[0].length,D=String(C).split(".")[1].length):(V=String(C).length,D=0)):(V=1,D=0);let N=P>=V?P:V,R=A>=D?A:D;r.num_total_len=N+R,r.pointNum=R,x>C?(r.sortFlag="reduce",r.to0_10=[0,9,8,7,6,5,4,3,2,1,0],r.totalCount=p(x,C,"-"),r.numberVal=Number(String(x))):x<C?(r.sortFlag="add",r.to0_10=[0,1,2,3,4,5,6,7,8,9,0],r.totalCount=p(C,x,"-"),r.numberVal=Number(String(C))):r.sortFlag="equal";var M=1;for(let L=0;L<r.pointNum;L++)M*=10;var I=r.numberVal*M;if(r.relNum=I,w!=0&&(r.pointNum=String(r.numberVal).split(".")[1]?String(r.numberVal).split(".")[1].length:0,r.num_total_len=String(I).length),String(x).indexOf(".")>-1){let L=String(x).split(".");r.initDigit1=Number(L[0]),r.initDigit2=Number(L[1])}else r.initDigit1=x,r.initDigit2=0;i&&!z?t.nextTick(()=>{if(r.sortFlag=="equal")return!1;let L=n.value[r.num_total_len-1];u(L)}):E!==0&&S()},u=E=>{h();var x=1;r.pointNum!=0&&(x=1/Math.pow(10,r.pointNum)),r.timer=setInterval(()=>{f(E),r.totalCount=p(r.totalCount,x,"-"),r.totalCount<=0&&(h(),o("scroll-end"),r.valFlag=!1)},e.during)},f=E=>{let x=E.getAttribute("turn-number"),C;if(r.sortFlag=="add"?C=parseInt(String(x))+1:C=parseInt(String(x))-1>=0?parseInt(String(x))-1:9,E.setAttribute("turn-number",String(C)),(E.style.transition=="none 0s ease 0s"||C==1||!E.style.transition)&&(E.style.transition=`all linear ${e.during}ms`),C==10||r.sortFlag=="reduce"&&C==0){var w=null;E.style.top=`-${r.sortFlag=="add"?C*100:(10-C)*100}%`,E.setAttribute("turn-number","0"),w=setTimeout(()=>{w&&clearTimeout(w),E.style.transition="none",E.style.top="0",k(E,C)},.975*e.during)}else E.style.top=`-${r.sortFlag=="add"?C*100:(10-C)*100}%`;E.style.top=="-100%"&&r.sortFlag=="reduce"&&f(E.previousSibling)},k=(E,x)=>{setTimeout(()=>{x==10&&E.previousSibling&&f(E.previousSibling)},200)},S=()=>{r.pointNum!=0&&Math.pow(10,r.pointNum),t.nextTick(()=>{l.value.addEventListener("webkitTransitionEnd",()=>{o("scroll-end"),r.valFlag=!1})})},B=()=>{for(r.notPrize=[];r.notPrize.length<3;){var E=Math.floor(Math.random()*e.machinePrizeNum+1);r.notPrize.indexOf(E)==-1&&r.notPrize.push(E)}};eS({machineLuck:()=>{const E=e.machineTurnMore<0?0:e.machineTurnMore;let x=e.numHeight*e.machinePrizeNum;r.prizeLevelTrun<0&&B();for(let C=0;C<e.machineNum;C++)setTimeout(()=>{let w=x*(C+1+parseFloat(String(E)));r.prizeYPrev.length!=0&&(r.prizeY[C]=r.prizeYPrev[C]);let z=r.prizeYPrev[C]?r.prizeYPrev[C]:0,P=w+z+(e.machinePrizeNum-r.prizeLevelTrun+1)*e.numHeight+(x-z);r.prizeLevelTrun<0&&(P+=e.numHeight*r.notPrize[C]),$(C,P,z)},500*C)}});const $=(E,x,C)=>{let w=setInterval(()=>{if(C<=x)C+=10,r.prizeY[E]=parseFloat(String(C));else if(clearInterval(w),w=null,r.finshMachine+=1,r.prizeY[E]=x,r.finshMachine==e.machineNum){let z=e.numHeight*e.machinePrizeNum;r.prizeYPrev=[],JSON.parse(JSON.stringify(r.prizeY)).forEach(A=>{let V=A;for(;V>z;)V-=z;r.prizeYPrev.push(V)}),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:v,turnNumber:g}}}),nS={class:"fox-countup"},lS=["turn-number"];function aS(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,d)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-countup__number-item__span",key:"dote"+d,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},t.toDisplayString(c),5))),128))],12,lS))),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 Xl=Z(oS,[["render",aS]]),rS=e=>{if(!e)return Date.now();let o=Number(e),l=o>0?+o:o.toString().replace(/\-/g,"/");return new Date(l).getTime()},{componentName:sS,create:iS}=H("countdown"),cS=iS({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(()=>({[sS]:!0})),r=t.computed(()=>c(n.restTime)),s=()=>{n.handleEndTime=e.endTime,n.diffTime=Date.now()-rS(e.startTime),n.counting||(n.counting=!0),i()},i=()=>{window!==void 0&&(n.timer=requestAnimationFrame(()=>{if(n.counting){const v=Date.now()-n.diffTime,g=Math.max(n.handleEndTime-v,0);n.restTime=g,g||(n.counting=!1,h(),o("on-end")),g>0&&i()}}))},c=(v,g)=>{const y=v;let b={d:0,h:0,m:0,s:0,ms:0};const u=1e3,f=60*u,k=60*f,S=24*k;return y>0&&(b.d=y>=u?Math.floor(y/S):0,b.h=Math.floor(y%S/k),b.m=Math.floor(y%k/f),b.s=Math.floor(y%f/u),b.ms=Math.floor(y%u)),g=="custom"?b:d({...b})},d=v=>{let{d:g,h:y,m:b,s:u,ms:f}=v,k=e.format;if(k.includes("DD")?k=k.replace("DD",Ze(g)):y+=Number(g)*24,k.includes("HH")?k=k.replace("HH",Ze(y)):b+=Number(y)*60,k.includes("mm")?k=k.replace("mm",Ze(b)):u+=Number(b)*60,k.includes("ss")?k=k.replace("ss",Ze(u)):f+=Number(u)*1e3,k.includes("S")){const S=Ze(f,3).toString();k.includes("SSS")?k=k.replace("SSS",S):k.includes("SS")?k=k.replace("SS",S.slice(0,2)):k.includes("S")&&(k=k.replace("SS",S.slice(0,1)))}return k},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,v=>{let g=c(v,"custom");o("update:modelValue",g),o("input",g)}),t.watch(()=>e.paused,(v,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,v=>{s()}),t.watch(()=>e.startTime,v=>{s()}),{...t.toRefs(e),slots:l,classes:a,start:m,pause:h,renderTime:r,reset:p}}}),uS=["innerHTML"];function dS(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,uS))],2)}const Ql=Z(cS,[["render",dS]]),{create:fS}=H("badge"),mS=fS({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}}}),pS={class:"fox-badge"},hS=["textContent"];function gS(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",pS,[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,hS),[[t.vShow,!e.hidden&&(e.content||e.dot)]])])}const Gl=Z(mS,[["render",gS]]),{componentName:yS,create:vS}=H("tag"),kS=vS({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:ee.Close},emits:["close","click"],setup(e,{emit:o}){return{classes:t.computed(()=>{const s=yS;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 bS(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 jt=Z(kS,[["render",bS]]),{create:SS}=H("popover"),CS=SS({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 f="fox-popover-arrow",k=e.location,S=k.split("-")[0];return`${f} ${f}-${S} ${f}--${k}`}),c=t.computed(()=>{const f={},{bgColor:k,arrowOffset:S,location:B}=e,T=B.split("-")[0],$=B.split("-")[1],E=16;return k&&(f[`border${d(T)}Color`]=k),e.arrowOffset!=0&&(["bottom","top"].includes(T)&&($||(f.left=`calc(50% + ${S}px)`),$=="start"&&(f.left=`${E+S}px`),$=="end"&&(f.right=`${E-S}px`)),["left","right"].includes(T)&&($||(f.top=`calc(50% - ${S}px)`),$=="start"&&(f.top=`${E-S}px`),$=="end"&&(f.bottom=`${E+S}px`))),f}),d=f=>(f=f.toLowerCase(),f=f.replace(/\b\w+\b/g,k=>k.substring(0,1).toUpperCase()+k.substring(1)),f),m=t.computed(()=>{let f={};if(!r.value||!s.value)return{};const k=s.value.width,S=s.value.height,{width:B,height:T,left:$,top:E}=r.value,{location:x,offset:C}=e,w=x.split("-")[0],z=x.split("-")[1];let P=0,A=0;if(po(C)&&C.length==2&&(P+=Number(C[1]),A+=Number(C[0])),B){if(["bottom","top"].includes(w)){const V=w=="bottom"?T+P:-(S+P);f.top=`${E+V}px`,z||(f.left=`${-(k-B)/2+$+A}px`),z=="start"&&(f.left=`${$+A}px`),z=="end"&&(f.left=`${r.value.right+A}px`)}if(["left","right"].includes(w)){const V=w=="left"?-(k+P):B+P;f.left=`${$+V}px`,z||(f.top=`${E-S/2+T/2-4+A}px`),z=="start"&&(f.top=`${E+A}px`),z=="end"&&(f.top=`${E+T+A}px`)}}return f}),h=t.computed(()=>{const f={};return e.bgColor&&(f.background=e.bgColor),f}),p=()=>{let f=Ve(l.value);e.targetId&&(f=Ve(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",u,!0),p()):window.removeEventListener("touchstart",u,!0)});const v=f=>{o("update",f),o("update:visible",f)},g=()=>{v(!e.visible),o("open")},y=()=>{o("update:visible",!1),o("close")},b=(f,k)=>{!f.disabled&&o("choose",f,k),e.closeOnClickAction&&y()},u=f=>{const k=l.value,S=n.value;let B=k&&!k.contains(f.target);if(e.targetId){const T=document.querySelector(`#${e.targetId}`);B=T&&!T.contains(f.target)}B&&S&&!S.contains(f.target)&&e.closeOnClickOutside&&y()};return{showPopup:a,openPopover:g,popoverArrow:i,closePopover:y,chooseItem:b,popoverRef:l,popoverContentRef:n,getRootPosition:m,customStyle:h,popoverArrowStyle:c,renderIcon:qr}}}),wS={ref:"popoverContentRef",class:"fox-popover-content-group"},NS=["onClick"],BS={class:"fox-popover-menu-item-name"};function VS(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",wS,[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(d=>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",BS,t.toDisplayString(i.name),1)],10,NS))),128))],512)]),_:3},8,["visible","pop-class","style","teleport-disable","overlay","duration","overlay-style","overlay-class","close-on-click-overlay"])],6)],64)}const Wt=Z(CS,[["render",VS]]),AS=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:TS}=H("skeleton"),ES=TS(AS({[Ht.name]:Ht})),$S={key:0},DS={key:1,class:"fox-skeleton"},xS={key:0,class:"fox-skeleton-animation"},IS={class:"fox-skeleton-content"};function qS(e,o,l,n,a,r){const s=t.resolveComponent("fox-avatar");return e.loading?(t.openBlock(),t.createElementBlock("view",DS,[e.animated?(t.openBlock(),t.createElementBlock("view",xS)):t.createCommentVNode("",!0),t.createElementVNode("view",IS,[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",$S,[t.renderSlot(e.$slots,"default")]))}const Zl=Z(ES,[["render",qS]]),{create:zS,componentName:MS}=H("collapse"),PS=zS({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(()=>({[MS]:!0}));t.watch(()=>e.modelValue,c=>{n.value=c});const r=(c,d,m=!0)=>{n.value=c,o("update:modelValue",c),o("change",c,d,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 d=n.value.filter(m=>m!==c);r(d,c,!1)}else{const d=n.value.concat([c]);r(d,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 RS(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 Jl=Z(PS,[["render",RS]]),{create:LS,componentName:OS}=H("collapse-item"),FS=LS({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 p=OS;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)},d=()=>{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:qr,wrapperRef:o,contentRef:l,open:m,toggle:c,wrapperHeight:i,expanded:s,onTransitionEnd:d}}}),KS={class:"fox-collapse-item__title-main"},US={class:"fox-collapse-item__title-main-value"},HS=["innerHTML"],jS={key:2,class:"fox-collapse-item__title-label"},WS={key:0,class:"fox-collapse-item__title-sub"},YS=["innerHTML"],XS={key:0,class:"fox-collapse__item-extraWrapper"},QS={class:"fox-collapse__item-extraWrapper__extraRender"},GS={class:"fox-collapse__item-wrapper__content",ref:"contentRef"};function ZS(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",KS,[t.createElementVNode("view",US,[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,HS)),e.label?(t.openBlock(),t.createElementBlock("view",jS,t.toDisplayString(e.label),1)):t.createCommentVNode("",!0)])]),e.$slots.value?(t.openBlock(),t.createElementBlock("view",WS,[t.renderSlot(e.$slots,"value")])):(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.value,class:"fox-collapse-item__title-sub"},null,8,YS)),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",XS,[t.createElementVNode("div",QS,[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",GS,[t.renderSlot(e.$slots,"default")],512)],36)],2)}const _l=Z(FS,[["render",ZS]]),JS=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:_S,create:e0,scope:t0}=H("table"),o0=e0({components:{RenderColumn:JS,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}=re.useFoxI18n(t0),a=t.reactive({curData:e.data}),r=t.computed(()=>({[_S]:!0})),s=v=>({"fox-table__main__head__tr--border":e.bordered,[`fox-table__main__head__tr--align${v.align?v.align:""}`]:!0}),i=v=>v.stylehead?v.stylehead:"",c=v=>v.stylecolumn?v.stylecolumn:"",d=v=>e.columns.filter(g=>g.key===v)[0],m=v=>{const g=e.columns.filter(y=>y.key===v);return g[0].stylecolumn?g[0].stylecolumn:""},h=v=>{v.sorter&&(o("sorter",v),a.curData=typeof v.sorter=="function"?a.curData.sort(v.sorter):v.sorter==="default"?a.curData.sort():a.curData)},p=()=>e.columns.map(v=>[v.key,v.render]);return t.watch(()=>e.data,v=>{a.curData=v.slice()}),{...t.toRefs(a),classes:r,cellClasses:s,getColumnItem:d,getColumnItemStyle:m,handleSorterClick:h,sortDataItem:p,t:n,stylehead:i,stylecolumn:c}}}),n0={class:"fox-table__main__head"},l0={class:"fox-table__main__head__tr"},a0=["onClick"],r0={class:"fox-table__main__body"},s0={key:1},i0={key:0,class:"fox-table__nodata"},c0={key:0,class:"fox-table__nodata__text"},u0={key:1,class:"fox-table__summary"},d0=["innerHTML"];function f0(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",l0,[(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:d=>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,a0))),128))])]),t.createElementVNode("view",r0,[(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(),([d,m])=>(t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["fox-table__main__body__tr__td",e.cellClasses(e.getColumnItem(d))]),key:d,style:t.normalizeStyle(e.getColumnItemStyle(d))},[typeof c[d]=="function"||typeof m=="function"?(t.openBlock(),t.createBlock(i,{key:0,slots:[m,c[d]],record:c},null,8,["slots","record"])):(t.openBlock(),t.createElementBlock("view",s0,t.toDisplayString(c[d]),1))],6))),128))]))),128))])],2),e.curData.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",i0,[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",c0,t.toDisplayString(e.t("noData")),1))],2)])),e.summary?(t.openBlock(),t.createElementBlock("view",u0,[t.createElementVNode("span",{class:"fox-table__summary__text",innerHTML:e.summary().value},null,8,d0)])):t.createCommentVNode("",!0)],2)}const ea=Z(o0,[["render",f0]]),{componentName:m0,create:p0}=H("ellipsis"),h0=p0({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(()=>({[m0]:!0}));t.watch(()=>e.content,(y,b)=>{y!=b&&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 u=p(y.lineHeight==="normal"?e.lineHeight:y.lineHeight);a=Math.floor(u*(Number(e.rows)+.5)+p(y.paddingTop)+p(y.paddingBottom)),n.innerText=e.content,document.body.appendChild(n),d()},d=()=>{if(n.offsetHeight<=a)s.exceeded=!1,document.body.removeChild(n);else{s.exceeded=!0;const y=e.content.length,b=Math.floor((0+y)/2),u=e.direction==="middle"?h([0,b],[b,y]):m(0,y);r.value=u,document.body.removeChild(n)}},m=(y,b)=>{const u=s.expanded?e.collapseText:e.expandText,f=e.content.length;if(b-y<=1)return e.direction==="end"?{leading:e.content.slice(0,y)+e.symbol}:{tailing:e.symbol+e.content.slice(b,f)};const k=Math.round((y+b)/2);return e.direction==="end"?n.innerText=e.content.slice(0,k)+e.symbol+u:n.innerText=u+e.symbol+e.content.slice(k,f),n.offsetHeight<=a?e.direction==="end"?m(k,b):m(y,k):e.direction==="end"?m(y,k):m(k,b)},h=(y,b)=>{const u=s.expanded?e.collapseText:e.expandText,f=e.content.length;if(y[1]-y[0]<=1&&b[1]-b[0]<=1)return{leading:e.content.slice(0,y[0])+e.symbol,tailing:e.symbol+e.content.slice(b[1],f)};const k=Math.floor((y[0]+y[1])/2),S=Math.ceil((b[0]+b[1])/2);return n.innerText=e.content.slice(0,k)+e.symbol+u+e.symbol+e.content.slice(S,f),n.offsetHeight<=a?h([k,y[1]],[b[0],S]):h([y[0],k],[S,b[1]])},p=y=>{if(!y)return 0;const b=y.match(/^\d*(\.\d*)?/);return b?Number(b[0]):0},v=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:v,handleClick:g}}}),g0={key:0},y0={key:1},v0={key:2};function k0(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",g0,t.toDisplayString(e.content),1)),e.exceeded&&!e.expanded?(t.openBlock(),t.createElementBlock("view",y0,[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",v0,[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 ta=Z(h0,[["render",k0]]),{componentName:b0,create:S0}=H("animate"),C0=S0({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,[`${b0}-${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}}}),w0={class:"fox-animate"};function N0(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",w0,[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 oa=Z(C0,[["render",N0]]),{componentName:B0,create:V0}=H("watermark"),A0=V0({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:d,imageWidth:m,imageHeight:h,content:p,fontStyle:v,fontWeight:g,fontColor:y,fontSize:b,fontFamily:u}=e,f=()=>{const S=document.createElement("canvas"),B=window.devicePixelRatio,T=S.getContext("2d"),$=`${(a+s)*B}px`,E=`${(r+i)*B}px`,x=s*B,C=i*B;if(S.setAttribute("width",$),S.setAttribute("height",E),T){if(d){T.translate(x/2,C/2),T.rotate(Math.PI/180*Number(c));const w=new Image;w.crossOrigin="anonymous",w.referrerPolicy="no-referrer",w.src=d,w.onload=()=>{T.drawImage(w,-m*B/2,-h*B/2,m*B,h*B),T.restore(),l.base64Url=S.toDataURL()}}else if(p){T.textBaseline="middle",T.textAlign="center",T.translate(x/2,C/2),T.rotate(Math.PI/180*Number(c));const w=Number(b)*B;T.font=`${v} normal ${g} ${w}px/${C}px ${u}`,T.fillStyle=y,T.fillText(p,0,0),T.restore(),l.base64Url=S.toDataURL()}}else throw new Error("当前环境不支持Canvas")};f(),t.watch(()=>[n,a,r,s,i,c,d,m,h,p,v,g,y,b,u],()=>{f()});const k=t.computed(()=>{const S=B0;return{[S]:!0,[`${S}-full-page`]:e.fullPage}});return{...t.toRefs(l),classes:k}}});function T0(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 na=Z(A0,[["render",T0]]);function E0(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:$0,create:D0}=H("trend-arrow"),x0=D0({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(()=>({[$0]:!0})),n=t.computed(()=>{const{rate:r,digits:s,showSign:i,showZero:c}=e;o.rateTrend=r>0;const d=Math.abs(r);return!c&&r===0?"--":`${i&&r!==0?o.rateTrend?"+":"-":""}${E0(Number(d),s)}%`}),a=t.computed(()=>{const{dropColor:r,riseColor:s,syncTextColor:i,textColor:c,rate:d}=e;return{color:d===0?c:i?o.rateTrend?s:r:c}});return{...t.toRefs(o),classes:l,calcRate:n,calcStyle:a}}});function I0(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 la=Z(x0,[["render",I0]]),{create:q0}=H("tour"),z0=q0({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:m,maskWidth:h,maskHeight:p}=e,{width:v,height:g,left:y,top:b}=n.value,u=[y+v/2,b+g/2],f=Number(h||v),k=Number(p||g);return{width:`${f+ +m[1]*2}px`,height:`${k+ +m[0]*2}px`,top:`${u[1]-k/2-+m[0]}px`,left:`${u[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=Ve(m);n.value=h},c=()=>{l.showTour=!1,l.showPopup=!1,o("close",l.active),o("update:modelValue",!1)},d=()=>{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:d}}}),M0={key:0,class:"fox-tour-content"},P0={key:0,class:"fox-tour-content-top"},R0={class:"fox-tour-content-inner"},L0={class:"fox-tour-content-bottom"},O0={class:"fox-tour-content-bottom-init"},F0={class:"fox-tour-content-bottom-operate"},K0={key:1,class:"fox-tour-content fox-tour-content-tile"},U0={class:"fox-tour-content-inner"};function H0(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,d)=>(t.openBlock(),t.createElementBlock("div",{key:d,style:{height:"0"}},[d==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",M0,[e.showTitleBar?(t.openBlock(),t.createElementBlock("div",P0,[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",R0,t.toDisplayString(c.content),1),t.createElementVNode("div",L0,[t.createElementVNode("div",O0,t.toDisplayString(e.active+1)+"/"+t.toDisplayString(e.steps.length),1),t.createElementVNode("div",F0,[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",K0,[t.createElementVNode("div",U0,t.toDisplayString(c.content),1)])):t.createCommentVNode("",!0)])]),_:2},1032,["visible","location","bgColor","theme","offset","arrowOffset"])],64)):t.createCommentVNode("",!0)]))),128))],2)}const aa=Z(z0,[["render",H0]]),{componentName:oB,create:j0,scope:W0}=H("address"),Y0=j0({components:{Location:ee.Location,Location2:ee.Location2,Check:ee.Check,Close:ee.Close,Left:ee.Left,[ce.name]:ce,[Lt.name]:Lt},inheritAttrs:!1,props:{...rt,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}=re.useFoxI18n(W0),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),d=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}}),v=V=>{if(!Array.isArray(V))throw new TypeError("params muse be array.");if(!V.length)return[];V.forEach(N=>{if(!N.title){console.warn("[NutUI] <Address> 请检查数组选项的 title 值是否有设置 ,title 为必填项 .");return}});const D=[];return V=V.sort((N,R)=>N.title.localeCompare(R.title)),V.forEach(N=>{const R=D.findIndex(M=>M.title===N.title);R<=-1?D.push({title:N.title,list:[].concat(N)}):D[R].list.push(N)}),D};let g=t.ref([]),y=t.reactive({});const b=t.ref("self"),u=t.ref(20),f=()=>{const V=e.modelValue,D=V.length;if(D>0){if(i.value=D-1,p.value.length==0){i.value=0;return}for(let N=0;N<D;N++){let R=[];switch(N){case 0:R=e.province;break;case 1:R=e.city;break;case 2:R=e.country;break;default:R=e.town}g.value[N]=R.filter(M=>M.id==V[N])[0]}S()}},k=(V,D)=>V&&V.name||i.value<D&&V?V.name:e.columnsPlaceholder[D]||l("select"),S=()=>{$(),t.nextTick(()=>{const V=a.value&&a.value.getElementsByClassName("active")[0];if(V){const D=V.offsetLeft;u.value=D||20}})},B=V=>{const D=i.value;c.value=i.value;const N={custom:d.value[D]};g.value[D]=V;for(let R=D+2;R<4;R++)g.value.splice(R,1);D<3?(i.value=D+1,S(),N.next=d.value[i.value],N.value=V,o("change",N)):(C(),o("update:modelValue"))},T=(V,D)=>{c.value=i.value,k(V,D)&&(i.value=D,S())},$=()=>{const V=m.value,D=c.value,N=h.value[i.value];V?.scrollTop&&(h.value[D]=V?.scrollTop),t.nextTick(()=>{V?.scrollTo({top:N,behavior:"auto"})})},E=V=>{const D=e.existAddress;let N={};D.forEach(R=>{R&&R.selectedAddress&&(N=R),R.selectedAddress=!1}),V.selectedAddress=!0,y=V,o("selected",N,V,D),C()},x=()=>{g.value=[],i.value=0,S()},C=(V="self")=>{b.value=V=="cross"?"cross":"self",r.value=!1},w=()=>{b.value="mask"},z=()=>{const V={addressIdStr:"",addressStr:"",province:g.value[0],city:g.value[1],country:g.value[2],town:g.value[3]},D={data:{},type:s.value};["custom","custom2"].includes(s.value)?([0,1,2,3].forEach(N=>{const R=g.value[N];V.addressIdStr+=`${N?"_":""}${R&&R.id||0}`,V.addressStr+=R&&R.name||""}),D.data=V):D.data=y,x(),b.value=="self"?o("close",D):o("close-mask",{closeWay:b}),o("update:visible",!1)},P=()=>{const V=s.value;s.value=V=="exist"?"custom":"exist",x(),o("switch-module",{type:s.value})},A=(V,D)=>{B(D)};return t.watch(()=>e.visible,V=>{r.value=V}),t.watch(()=>r.value,V=>{V&&f()}),{showPopup:r,privateType:s,tabIndex:i,tabName:d,selectedRegion:g,switchModule:P,closeWay:b,close:z,getTabName:k,nextAreaList:B,regionLine:n,tabRegion:a,lineDistance:u,changeRegionTab:T,selectedExist:E,clickOverlay:w,handClose:C,handleElevatorItem:A,initCustomSelected:f,...t.toRefs(e),t:l,regionList:p,transformData:v,scrollDom:m}}}),X0={class:"fox-address"},Q0={class:"fox-address__header"},G0={class:"fox-address__header__title"},Z0={key:0,class:"fox-address__custom"},J0={class:"fox-address__region",ref:"tabRegion"},_0=["onClick"],eC={key:0,class:"active fox-address__region-item"},tC={key:0,class:"fox-address__detail"},oC={class:"fox-address__detail-list",ref:"scrollDom"},nC=["onClick"],lC={key:1,class:"fox-address__elevator-group"},aC={key:1,class:"fox-address__exist"},rC={class:"fox-address__exist-group"},sC={class:"fox-address__exist-group-list"},iC=["onClick"],cC={class:"fox-address__exist-item-info"},uC={key:0,class:"fox-address__exist-item-info-name"},dC={key:1,class:"fox-address__exist-item-info-phone"},fC={class:"fox-address__exist-item-info-bottom"},mC={class:"fox-address__exist-choose-btn"};function pC(e,o,l,n,a,r){const s=t.resolveComponent("Left"),i=t.resolveComponent("Close"),c=t.resolveComponent("Check"),d=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",X0,[t.createElementVNode("view",Q0,[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",G0,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",Z0,[t.createElementVNode("view",J0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedRegion,(p,v)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-address__region-item",v==e.tabIndex?"active":""]),key:v,onClick:g=>e.changeRegionTab(p,v)},[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(p,v)),1)],10,_0))),128)),e.tabIndex==e.selectedRegion.length?(t.openBlock(),t.createElementBlock("view",eC,[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",tC,[t.createElementVNode("ul",oC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.regionList,(p,v)=>(t.openBlock(),t.createElementBlock("li",{key:v,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,nC))),128))],512)])):(t.openBlock(),t.createElementBlock("view",lC,[t.createVNode(d,{height:e.height,"index-list":e.transformData(e.regionList),onClickItem:e.handleElevatorItem},null,8,["height","index-list","onClickItem"])]))])):(t.openBlock(),t.createElementBlock("view",aC,[t.createElementVNode("div",rC,[t.createElementVNode("ul",sC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.existAddress,(p,v)=>(t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass(["fox-address__exist-group-item",p.selectedAddress?"active":""]),key:v,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",cC,[p.name?(t.openBlock(),t.createElementBlock("div",uC,t.toDisplayString(p.name),1)):t.createCommentVNode("",!0),p.phone?(t.openBlock(),t.createElementBlock("div",dC,t.toDisplayString(p.phone),1)):t.createCommentVNode("",!0),t.createElementVNode("div",fC,[t.createElementVNode("view",null,t.toDisplayString(p.provinceName+p.cityName+p.countyName+p.townName+p.addressDetail),1)])])],10,iC))),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",mC,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 ra=Z(Y0,[["render",pC]]),{componentName:hC,create:gC}=H("barrage"),yC=gC({name:"barrage",props:{danmu:{type:Array,default:()=>[]},frequency:{type:Number,default:500},speeds:{type:Number,default:5e3},rows:{type:Number,default:3},top:{type:Number,default:10},loop:{type:Boolean,default:!0}},setup(e){const o=new Date().getTime(),l=!!t.useSlots().default,n=t.computed(()=>({[hC]:!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),d=t.ref(e.top),m=t.ref(0),h=e.speeds,p=t.ref(0);t.onMounted(()=>{v(),l&&document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"?(y(),m.value=0,g("hidden")):document.visibilityState==="visible"&&v()})}),t.onUnmounted(()=>{i.value=[],y()});const v=()=>{p.value=a.value.offsetWidth,l&&g("init"),setTimeout(()=>{a.value?.style.setProperty("--move-distance",`-${p.value}px`),u()},300)},g=k=>{let B=document.getElementsByClassName("slotBody"+o)?.[0]?.children||[];const T=[];B&&Array.from(B).forEach($=>{k=="init"?($.style.opacity="0",T.push($)):($.classList="",$.style={})}),k=="init"&&(i.value=T)},y=()=>{s&&(clearTimeout(s),s=null)};t.watch(()=>e.danmu,k=>{e.danmu.length>0&&(i.value=[...k])});const b=k=>{const S=m.value%i.value.length;!e.loop&&m.value===i.value.length?i.value.splice(i.value.length,0,k):i.value.splice(S,0,k)},u=()=>{y(),s=setTimeout(()=>{f()},e.frequency)},f=()=>{const k=e.loop?m.value%i.value.length:m.value;let S=document.createElement("view");l&&typeof i.value[k]=="object"?(S=i.value[k],S?.classList?.add("fox-barrage__item")):(S.innerHTML=i.value[k],S.classList.add("fox-barrage__item"),r.value.appendChild(S)),t.nextTick(()=>{const B=S.offsetHeight;if(S?.classList?.add("move"),S.style.animationDuration=`${h}ms`,S.style.top=k%c.value*(B+d.value)+20+"px",S.style.opacity="1",!l){const T=S.offsetWidth;S.style.width=T+20+"px"}S.addEventListener("animationend",()=>{l?S.classList.remove("move"):r.value.removeChild(S)}),!(!e.loop&&m.value>=i.value.length-1)&&(m.value++,m.value>=i.value.length&&(m.value=0),S.removeEventListener("animationend",()=>{}),u())})};return{classTime:o,classes:n,danmuList:i,dmBody:a,dmContainer:r,add:b}}});function vC(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 sa=Z(yC,[["render",vC]]),{componentName:kC,create:bC,scope:SC}=H("signature"),CC=bC({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:{[xe.name]:xe},emits:["start","end","signing","confirm","clear"],setup(e,{emit:o}){const{toLocaleRefs:l}=re.useFoxI18n(SC),n=l(e,["unSupportTpl","reSign","confirmText"]),a=t.ref(null),r=t.ref(null),s=t.computed(()=>({[kC]:!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"))},d=()=>{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],v,!1)},h=f=>{f.preventDefault();let k=i.isSupportTouch?f.touches[0]:f;o("signing",k);let S=a.value.getBoundingClientRect(),B=k.clientX-S.left,T=k.clientY-S.top;i.ctx.lineTo(B,T),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)},v=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=()=>{u(a.value)},b=f=>{if(!f)return!0;var k=document.createElement("canvas");return k.width=f.width,k.height=f.height,f?.toDataURL()==k.toDataURL()},u=f=>{let k;switch(e.type){case"png":k=f.toDataURL("image/png");break;case"jpg":k=f.toDataURL("image/jpeg",.8);break}const S=b(f)?"请绘制签名":f,B=b(f)?"":k;o("confirm",S,B)};return t.onMounted(()=>{c()&&(i.ctx=a.value.getContext("2d"),i.canvasWidth=r.value.offsetWidth,i.canvasHeight=r.value.offsetHeight,d())}),{...n,...t.toRefs(i),canvas:a,wrap:r,isCanvasSupported:c,confirm:y,clear:g,classes:s}}}),wC={class:"fox-signature-inner",ref:"wrap"},NC=["height","width"],BC={key:0,class:"fox-signature-unsopport"};function VC(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",wC,[t.withDirectives(t.createElementVNode("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,NC),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",BC,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 ia=Z(CC,[["render",VC]]),{componentName:AC,create:TC,scope:EC}=H("time-select"),$C=TC({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}=re.useFoxI18n(EC),n=t.computed(()=>({[AC]:!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}}}),DC={class:"fox-time-select__title"},xC={class:"fox-time-select__title__fixed"},IC={key:0},qC={class:"fox-time-select__content"},zC={class:"fox-time-select__content__pannel"},MC={class:"fox-time-select__content__detail"};function PC(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",DC,[t.createElementVNode("view",xC,[e.$slots.title?t.renderSlot(e.$slots,"title",{key:1}):(t.openBlock(),t.createElementBlock("span",IC,t.toDisplayString(e.title||e.t("pickupTime")),1))])]),t.createElementVNode("view",qC,[t.createElementVNode("view",zC,[t.renderSlot(e.$slots,"pannel")]),t.createElementVNode("view",MC,[t.renderSlot(e.$slots,"detail")])])],2)]),_:3},8,["teleportDisable","visible","style","lock-scroll","onClickOverlay","onClickCloseIcon"])}const ca=Z($C,[["render",PC]]),{componentName:RC,create:LC}=H("time-pannel"),OC=LC({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(()=>({[RC]:!0,"fox-time-pannel--curr":n.currentKey==e.pannelKey})),r=s=>{o.emit("change",s)};return{...t.toRefs(n),classes:a,handlePannel:r}}});function FC(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(OC,[["render",FC]]),{componentName:KC,create:UC}=H("time-detail"),HC=UC({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(()=>({[KC]:!0})),s=d=>{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===d).length>0}},i=t.computed(()=>e.times.find(d=>d.key==a.currentKey).list),c=d=>{o.emit("select",d)};return{classes:r,...t.toRefs(a),getClass:s,renderData:i,handleTime:c}}}),jC={class:"fox-time-detail__detail fox-time-detail__detail--moring"},WC={class:"fox-time-detail__detail__list"},YC=["onClick"];function XC(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",jC,[t.createElementVNode("view",WC,[(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,YC))),128))])])],2)}const da=Z(HC,[["render",XC]]),{componentName:nB,create:QC,scope:GC}=H("sku-header"),ZC=QC({props:{goods:{type:Object,default:{}}},emits:[],components:{[Xe.name]:Xe},setup(e,{emit:o,slots:l}){const{t:n}=re.useFoxI18n(GC);return{getSlots:r=>l[r],t:n}}}),JC={class:"fox-sku-header"},_C=["src"],e1={class:"fox-sku-header-right"},t1={key:3,class:"fox-sku-header-right-extra"};function o1(e,o,l,n,a,r){const s=t.resolveComponent("fox-price");return t.openBlock(),t.createElementBlock("view",JC,[t.createElementVNode("img",{class:"fox-sku-header-img",src:e.goods.imagePath},null,8,_C),t.createElementVNode("view",e1,[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",t1,t.toDisplayString(e.t("skuId"))+" : "+t.toDisplayString(e.goods.skuId),1)):t.createCommentVNode("",!0)])])}const n1=Z(ZC,[["render",o1]]),{componentName:lB,create:l1}=H("sku-select"),a1=l1({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})}}}}),r1={class:"fox-sku-select"},s1={class:"fox-sku-select-item-title"},i1={class:"fox-sku-select-item-skus"},c1=["onClick"];function u1(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("view",r1,[(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",s1,t.toDisplayString(s.name),1),t.createElementVNode("view",i1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.list,(c,d)=>(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,d,s,i),key:c.name},t.toDisplayString(c.name),11,c1))),128))])]))),128))])}const d1=Z(a1,[["render",u1]]),{componentName:aB,create:f1}=H("sku-stepper"),m1=f1({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:{[at.name]:at},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,d)=>{o("overLimit",{action:d,value:parseInt(l.value+"")})},getExtraText:()=>{const{stepperExtraText:c}=e;return c&&ot(c)=="function"?c():""},changeStepper:c=>{l.value=c,o("changeStepper",c)}}}}),p1={class:"fox-sku-stepper"},h1={class:"fox-sku-stepper-title"},g1=["innerHTML"],y1={class:"fox-sku-stepper-count"};function v1(e,o,l,n,a,r){const s=t.resolveComponent("fox-input-number");return t.openBlock(),t.createElementBlock("view",p1,[t.createElementVNode("view",h1,t.toDisplayString(e.stepperTitle),1),t.createElementVNode("view",{class:"fox-sku-stepper-limit",innerHTML:e.getExtraText()},null,8,g1),t.createElementVNode("view",y1,[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 k1=Z(m1,[["render",v1]]),{componentName:rB,create:b1}=H("sku-operate"),S1=b1({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]}}}),C1={key:0,class:"fox-sku-operate"},w1={key:0,class:"fox-sku-operate-desc"},N1={key:1,class:"fox-sku-operate-btn"},B1=["onClick"];function V1(e,o,l,n,a,r){return e.btnOptions.length>0?(t.openBlock(),t.createElementBlock("view",C1,[e.btnExtraText?(t.openBlock(),t.createElementBlock("view",w1,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",N1,[(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,B1))),128))]))])):t.createCommentVNode("",!0)}const A1=Z(S1,[["render",V1]]),{componentName:sB,create:T1,scope:E1}=H("sku"),$1=T1({props:{...rt,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:d1,SkuStepper:k1,SkuOperate:A1,[ce.name]:ce},setup(e,{emit:o,slots:l}){const{toLocaleRefs:n}=re.useFoxI18n(E1),a=n(e,["confirmText","buyText","stepperTitle","addCartText"]),r=t.ref(e.visible),s=t.ref(e.stepperMin);t.watch(()=>e.visible,b=>{r.value=b}),t.watch(()=>r.value,b=>{b==!1&&y()}),t.onMounted(()=>{});const i=b=>l[b],c=b=>{o("select-sku",b)},d=b=>{s.value=b,o("change-stepper",b)},m=b=>{o("add",b)},h=b=>{o("reduce",b)},p=b=>{o("over-limit",b)},v=b=>{o("click-btn-operate",{type:b,value:s.value})},g=b=>{b=="icon"&&o("click-close-icon"),b=="overlay"&&o("click-overlay"),b=="close"&&o("close"),r.value=!1},y=()=>{o("update:visible",!1)};return{showPopup:r,closePopup:g,selectSku:c,changeStepper:d,stepperOverLimit:p,clickBtnOperate:v,add:m,reduce:h,getSlots:i,...a}}}),D1={class:"fox-sku"},x1={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"),d=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",D1,[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",x1,[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(d,{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 fa=Z($1,[["render",I1]]),{create:q1}=H("card"),z1=q1({components:{[Xe.name]:Xe,[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]}}}),M1={class:"fox-card"},P1={class:"fox-card__left"},R1=["src"],L1={class:"fox-card__right"},O1={class:"fox-card__right__title"},F1={key:0,class:"fox-card__right__price"},K1={class:"fox-card__right__other"},U1={class:"fox-card__right__shop"},H1={class:"fox-card__right__shop__name"};function j1(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",L1,[t.createElementVNode("div",O1,t.toDisplayString(e.title),1),t.renderSlot(e.$slots,"prolist"),e.isNeedPrice?(t.openBlock(),t.createElementBlock("div",F1,[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",K1,[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",U1,[t.createElementVNode("div",H1,t.toDisplayString(e.shopName),1),t.renderSlot(e.$slots,"footer")])])])}const ma=Z(z1,[["render",j1]]),{create:W1,scope:Y1}=H("ecard"),X1=W1({components:{[at.name]:at},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}=re.useFoxI18n(Y1),n=t.ref(null),a=t.ref(null),r=t.ref(""),s=t.ref(e.cardAmountMin),i=t.ref(e.modelValue),c=(p,v)=>{n.value=v,s.value=e.cardAmountMin,a.value=p.price,o("change",p),o("update:modelValue",p.price)},d=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:d,inputClick:m,stepValue:s,currentIndex:n,inputValue:r,money:i,t:l}}}),Q1={class:"fox-ecard"},G1={class:"fox-ecard__title"},Z1={class:"fox-ecard__list"},J1=["onClick"],_1={class:"fox-ecard__list__input--con"},ew=["placeholder"],tw={class:"fox-ecard__list__step"};function ow(e,o,l,n,a,r){const s=t.resolveComponent("fox-input-number");return t.openBlock(),t.createElementBlock("view",Q1,[t.createElementVNode("view",G1,t.toDisplayString(e.chooseText||e.t("chooseText")),1),t.createElementVNode("view",Z1,[(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:d=>e.handleClick(i,c)},t.toDisplayString(i.price),11,J1))),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",_1,[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,ew),[[t.vModelText,e.inputValue]]),t.createTextVNode(" "+t.toDisplayString(e.suffix),1)])],2),t.createElementVNode("view",tw,[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 pa=Z(X1,[["render",ow]]),{create:nw,scope:lw}=H("address-list-item"),aw=nw({components:{Del:ee.Del,Edit:ee.Edit},props:{item:{type:Object,default:{}}},emits:["delIcon","editIcon","clickItem"],setup(e,{emit:o}){const{t:l}=re.useFoxI18n(lw);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}}}),rw={class:"fox-address-list-item__info"},sw={class:"fox-address-list-item__info-contact"},iw={class:"fox-address-list-item__info-contact-name"},cw={class:"fox-address-list-item__info-contact-tel"},uw={key:0,class:"fox-address-list-item__info-contact-default"},dw={class:"fox-address-list-item__info-handle"},fw={class:"fox-address-list-item__addr"};function mw(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",rw,[t.createElementVNode("div",sw,[t.renderSlot(e.$slots,"content-top",{},()=>[t.createElementVNode("div",iw,t.toDisplayString(e.item.addressName),1),t.createElementVNode("div",cw,t.toDisplayString(e.item.phone),1),e.item.defaultAddress?(t.openBlock(),t.createElementBlock("div",uw,t.toDisplayString(e.t("default")),1)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",dw,[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",fw,[t.renderSlot(e.$slots,"content-addr",{},()=>[t.createTextVNode(t.toDisplayString(e.item.fullAddress),1)])])])}const lr=Z(aw,[["render",mw]]),{create:pw}=H("address-list-general"),hw=pw({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:lr,[xe.name]:xe,[Kt.name]:Kt},setup(e,{emit:o}){const l=()=>t.h(lr,{item:e.item,onDelIcon(B){s(B)},onEditIcon(B){i(B)},onClickItem(B){c(B)}});let n=null;const a=t.ref(!1),r=t.ref(!1),s=B=>{o("delIcon",B,e.item),B.stopPropagation()},i=B=>{o("editIcon",B,e.item),B.stopPropagation()},c=B=>{a.value||(o("clickItem",B,e.item),B.stopPropagation())},d=B=>{o("longDel",B,e.item),B.stopPropagation()},m=B=>{n=0,r.value=!0,o("longDown",B,e.item)};return{renderCompontent:l,showMaskRef:r,clickItem:c,editClick:i,delClick:s,delLongClick:d,holddownstart:B=>{n=setTimeout(()=>{m(B)},300)},holddownmove:()=>{clearTimeout(n)},holddownend:()=>{clearTimeout(n)},copyCLick:B=>{o("longCopy",B,e.item),B.stopPropagation()},hideMaskClick:()=>{r.value=!1},setDefault:B=>{o("longSet",B,e.item),B.stopPropagation()},maskClick:B=>{n!=0&&(r.value=!1),B.stopPropagation(),B.preventDefault()},swipeDelClick:B=>{o("swipeDel",B,e.item),B.stopPropagation()},swipestart:()=>{a.value=!1},swipemove:()=>{a.value=!0}}}}),gw={key:0,class:"fox-address-list-general"},yw={class:"fox-address-list-swipe"};function vw(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",yw,[(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",gw,[(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 kw=Z(hw,[["render",vw]]),{componentName:bw,create:Sw,scope:Cw}=H("address-list"),ww=Sw({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:kw,[xe.name]:xe},emits:["delIcon","editIcon","clickItem","longCopy","longSet","longDel","swipeDel","add"],setup(e,{emit:o}){const{t:l}=re.useFoxI18n(Cw),n=t.ref([]),a=t.reactive({id:1,addressName:"",phone:"",defaultAddress:!1,fullAddress:""}),r=t.computed(()=>({[bw]:!0})),s=()=>{Object.keys(e.dataOptions).length>0&&(n.value=e.data.map(y=>Sr(a,y,e.dataOptions)))};t.watch(()=>e.data,()=>s(),{deep:!0});const i=(y,b)=>{o("delIcon",y,b),y.stopPropagation()},c=(y,b)=>{o("editIcon",y,b),y.stopPropagation()},d=(y,b)=>{o("clickItem",y,b),y.stopPropagation()},m=(y,b)=>{o("longCopy",y,b),y.stopPropagation()},h=(y,b)=>{o("longSet",y,b),y.stopPropagation()},p=(y,b)=>{o("longDel",y,b),y.stopPropagation()},v=(y,b)=>{o("swipeDel",y,b),y.stopPropagation()},g=y=>{o("add",y),y.stopPropagation()};return t.onMounted(()=>{s()}),{classes:r,clickDelIcon:i,clickEditIcon:c,clickContentItem:d,clickLongCopy:m,clickLongSet:h,clickLongDel:p,clickSwipeDel:v,addAddress:g,dataArray:n,t:l}}});function Nw(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,d)=>(t.openBlock(),t.createBlock(s,{key:d,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 ha=Z(ww,[["render",Nw]]),{componentName:iB,create:Bw}=H("category"),Vw=Bw({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}}}),Aw={class:"fox-category"},Tw={class:"fox-category__cateList"},Ew={key:0},$w=["onClick"];function Dw(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",Aw,[t.createElementVNode("div",Tw,[e.type=="classify"||e.type=="text"?(t.openBlock(),t.createElementBlock("div",Ew,[(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,$w)]))),128))])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")])])}const ga=Z(Vw,[["render",Dw]]),{componentName:cB,create:xw}=H("category-pane"),Iw=xw({props:{type:{type:String,default:"classify"},categoryChild:{type:Array,default:()=>[]},customCategory:{type:Array,default:()=>[]}},setup(e,{emit:o}){return{onChange:n=>{o("onChange",n)}}}}),qw={class:"fox-category-pane"},zw={key:0,class:"fox-category-pane__cateListRight"},Mw={class:"fox-category-pane__childTitle"},Pw={key:0,class:"fox-category-pane__childItemList"},Rw=["onClick"],Lw=["src"],Ow={class:"fox-category-pane__skuImg"},Fw={key:1,class:"fox-category-pane__cateListRight"},Kw={class:"fox-category-pane__childTitle"},Uw={key:0,class:"fox-category-pane__childItemList"},Hw=["onClick"],jw={class:"fox-category-pane__skuName"},Ww={key:2,class:"fox-category-pane__selfItemList"},Yw=["onClick"];function Xw(e,o,l,n,a,r){return t.openBlock(),t.createElementBlock("div",qw,[e.type=="classify"?(t.openBlock(),t.createElementBlock("div",zw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",Mw,t.toDisplayString(s?.catName),1),s?.catType==1?(t.openBlock(),t.createElementBlock("div",Pw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,d)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__childItem",key:d,onClick:m=>e.onChange(c)},[t.createElementVNode("img",{class:"fox-category-pane__childImg",src:c.backImg},null,8,Lw),t.createElementVNode("div",Ow,t.toDisplayString(c?.catName),1)],8,Rw))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="text"?(t.openBlock(),t.createElementBlock("div",Fw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(s,i)=>(t.openBlock(),t.createElementBlock("div",{key:i},[t.createElementVNode("div",Kw,t.toDisplayString(s?.catName),1),s?.catType==1?(t.openBlock(),t.createElementBlock("div",Uw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.childCateList,(c,d)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category-pane__childItem",key:d,onClick:m=>e.onChange(c)},[t.createElementVNode("div",jw,t.toDisplayString(c?.catName),1)],8,Hw))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="custom"?(t.openBlock(),t.createElementBlock("div",Ww,[(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,Yw))),128))])):t.createCommentVNode("",!0)])}const ya=Z(Iw,[["render",Xw]]),{componentName:uB,create:Qw}=H("comment-header"),Gw=Qw({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")}}}}),Zw={class:"fox-comment-header__user"},Jw={class:"fox-comment-header__user-avter"},_w=["src"],eN={class:"fox-comment-header__user-score"},tN={key:0,class:"fox-comment-header__time"};function oN(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",Zw,[t.createElementVNode("view",Jw,[e.info.avatar?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.info.avatar},null,8,_w)):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",eN,[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",tN,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=Z(Gw,[["render",oN]]),{componentName:dB,create:lN}=H("comment-images"),aN=lN({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:d}=e,m=s=="img"?i-c.length:i;o("clickImages",{type:s,index:m,value:s=="img"?d[m]:c[m]})},totalImages:a}}}),rN=["onClick"],sN=["src"],iN=t.createElementVNode("view",{class:"fox-comment-images__play"},null,-1),cN=["onClick"],uN=["src"],dN={key:0,class:"fox-comment-images__mask"};function fN(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:d=>e.showImages("video",c)},[t.createElementVNode("img",{src:i.mainUrl},null,8,sN),iN],8,rN))),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:d=>e.showImages("img",c+e.videos.length)},[t.createElementVNode("img",{src:i.smallImgUrl?i.smallImgUrl:i.imgUrl},null,8,uN),e.type=="multi"&&e.totalImages.length>9&&e.videos.length+c>7?(t.openBlock(),t.createElementBlock("view",dN,[t.createElementVNode("span",null,"共 "+t.toDisplayString(e.totalImages.length)+" 张",1),t.createVNode(s,{style:{width:"12px"}})])):t.createCommentVNode("",!0)],8,cN)):t.createCommentVNode("",!0)],64))),128))],2)}const mN=Z(aN,[["render",fN]]),{componentName:fB,create:pN,scope:hN}=H("comment-bottom"),gN=pN({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}=re.useFoxI18n(hN),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}}}),yN={class:"fox-comment-bottom"},vN={key:0},kN={class:"fox-comment-bottom__cpx"},bN=["onClick"];function SN(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",yN,[t.createElementVNode("view",{onClick:o[0]||(o[0]=(...d)=>e.handleClick&&e.handleClick(...d)),class:"fox-comment-bottom__lable"},[e.type!="complex"?(t.openBlock(),t.createElementBlock("span",vN,t.toDisplayString(e.info.size),1)):t.createCommentVNode("",!0)]),t.createElementVNode("view",kN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.mergeOp,(d,m)=>(t.openBlock(),t.createElementBlock("view",{key:m,class:t.normalizeClass(["fox-comment-bottom__cpx-item",`fox-comment-bottom__cpx-item--${d}`]),onClick:h=>e.operate(d)},[d!="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",null,t.toDisplayString(e.info[d]),1),d=="like"?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createBlock(i,{key:1}))],64)):t.createCommentVNode("",!0),d=="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,bN))),128))])])}const CN=Z(gN,[["render",SN]]),{componentName:wN,create:NN,scope:BN}=H("comment"),VN=NN({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:mN,CommentBottom:CN,Right:ee.Right},emits:["click","clickImages","clickOperate"],setup(e,{emit:o}){const{t:l}=re.useFoxI18n(BN),n=t.computed(()=>({[wN]:!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}}}),AN=["innerHTML"],TN={class:"fox-comment__follow-title"},EN={class:"fox-comment__follow-com"},$N={key:0,class:"fox-comment__follow-img"};function DN(e,o,l,n,a,r){const s=t.resolveComponent("comment-header"),i=t.resolveComponent("comment-images"),c=t.resolveComponent("Right"),d=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,AN),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",TN,t.toDisplayString(e.t("additionalReview",e.follow.days)),1),t.createElementVNode("view",EN,t.toDisplayString(e.follow.content),1),e.follow.images&&e.follow.images.length>0?(t.openBlock(),t.createElementBlock("view",$N,[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(d,{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 va=Z(VN,[["render",DN]]),xN=[qn,Mn,Pn,Rn,Ln,Ce,On,Fn,Kn,Un,Hn,$o,jn,Wn,Xn,Qn,qo,zo,Gn,Mo,Po,Zn,Jn,et,_n,el,Fo,tl,ol,nl,ll,al,rl,sl,il,xe,cl,ul,nt,ce,dl,fl,ml,pl,qt,hl,gl,yl,vl,kl,bl,Sl,Cl,wl,Lt,Nl,zt,Mt,Bl,Vl,Al,Tl,Ot,Oo,Do,Io,xo,at,yt,gt,El,$l,Dl,Kt,xl,Il,ql,Ut,Lo,zl,Pl,Ro,Ct,Ll,Ol,Ht,Fl,Kl,Ft,Ul,Hl,jl,vt,Wl,Yl,kt,bt,Xe,Ko,Xl,Ql,Gl,jt,Wt,Zl,Jl,_l,ea,ta,oa,na,la,aa,ra,sa,ia,ca,ua,da,fa,ma,pa,ha,ga,ya,va],IN=new Qs(xN,"4.0.0");exports.ActionSheet=xl;exports.ActionsheetItem=tl;exports.ActionsheetPane=Fo;exports.Address=ra;exports.AddressList=ha;exports.Animate=oa;exports.Audio=Ll;exports.AudioOperate=Ol;exports.Avatar=Ht;exports.AvatarGroup=Fl;exports.BackTop=Il;exports.Badge=Gl;exports.Barrage=sa;exports.Broadcast=Dn;exports.BroadcastKey=be;exports.Button=xe;exports.Calendar=Io;exports.CalendarItem=Qn;exports.Card=ma;exports.Cascader=Do;exports.CascaderItem=Wn;exports.Category=ga;exports.CategoryPane=ya;exports.Cell=cl;exports.CellGroup=ul;exports.Checkbox=Mo;exports.CheckboxGroup=Po;exports.CheckboxItem=Zn;exports.CircleProgress=Ul;exports.Col=ml;exports.Collapse=Jl;exports.CollapseItem=_l;exports.Comment=va;exports.Content=Rn;exports.CountDown=Ql;exports.CountUp=Xl;exports.DataItemsKey=ct;exports.DateItem=Xn;exports.DatePicker=xo;exports.DateUtils=ne;exports.Dialog=Ut;exports.Divider=hl;exports.Domain=ko;exports.DomainKey=Ee;exports.DomainProvider=ol;exports.Drag=ql;exports.Ecard=pa;exports.Elevator=Lt;exports.Ellipsis=ta;exports.Empty=jl;exports.FixedNav=kl;exports.FloatingButton=sl;exports.FooterBar=Pn;exports.FoxActionSheet=xl;exports.FoxActionsheetItem=tl;exports.FoxActionsheetPane=Fo;exports.FoxAddress=ra;exports.FoxAddressList=ha;exports.FoxAnimate=oa;exports.FoxAudio=Ll;exports.FoxAudioOperate=Ol;exports.FoxAvatar=Ht;exports.FoxAvatarGroup=Fl;exports.FoxBackTop=Il;exports.FoxBadge=Gl;exports.FoxBarrage=sa;exports.FoxButton=xe;exports.FoxCalendar=Io;exports.FoxCalendarItem=Qn;exports.FoxCard=ma;exports.FoxCascader=Do;exports.FoxCascaderItem=Wn;exports.FoxCategory=ga;exports.FoxCategoryPane=ya;exports.FoxCell=cl;exports.FoxCellGroup=ul;exports.FoxCheckbox=Mo;exports.FoxCheckboxGroup=Po;exports.FoxCheckboxItem=Zn;exports.FoxCircleProgress=Ul;exports.FoxCol=ml;exports.FoxCollapse=Jl;exports.FoxCollapseItem=_l;exports.FoxComment=va;exports.FoxContent=Rn;exports.FoxCountDown=Ql;exports.FoxCountUp=Xl;exports.FoxDateItem=Xn;exports.FoxDatePicker=xo;exports.FoxDialog=Ut;exports.FoxDivider=hl;exports.FoxDomainProvider=ol;exports.FoxDrag=ql;exports.FoxEcard=pa;exports.FoxElevator=Lt;exports.FoxEllipsis=ta;exports.FoxEmpty=jl;exports.FoxFixedNav=kl;exports.FoxFloatingButton=sl;exports.FoxFooterBar=Pn;exports.FoxGrid=gl;exports.FoxGridItem=yl;exports.FoxGroup=Ln;exports.FoxHeaderBar=Mn;exports.FoxHintText=et;exports.FoxImage=dl;exports.FoxImagePreview=Ko;exports.FoxIndicator=Bl;exports.FoxInfiniteLoading=Lo;exports.FoxInputItem=Kn;exports.FoxInputNumber=at;exports.FoxItem=Ce;exports.FoxLayout=fl;exports.FoxLinkItem=_n;exports.FoxList=Kl;exports.FoxMenu=bl;exports.FoxMenuItem=Sl;exports.FoxMoneyItem=Un;exports.FoxNavbar=vl;exports.FoxNoticeBar=Hl;exports.FoxNotify=Pl;exports.FoxNumberKeyboard=Dl;exports.FoxOverLay=nt;exports.FoxPage=qn;exports.FoxPagination=Nl;exports.FoxPicker=gt;exports.FoxPickerItem=jn;exports.FoxPopover=Wt;exports.FoxPopup=ce;exports.FoxPrice=Xe;exports.FoxProgress=Ft;exports.FoxPullRefresh=zl;exports.FoxRadio=qo;exports.FoxRadioGroup=zo;exports.FoxRadioItem=Gn;exports.FoxRange=Ot;exports.FoxRate=yt;exports.FoxRateItem=el;exports.FoxRollingProvider=nl;exports.FoxRow=pl;exports.FoxRowItem=On;exports.FoxSearchBar=Oo;exports.FoxShortPassword=El;exports.FoxSideNavBar=Vl;exports.FoxSideNavBarItem=Al;exports.FoxSignature=ia;exports.FoxSkeleton=Zl;exports.FoxSku=fa;exports.FoxSlotItem=Fn;exports.FoxStep=Yl;exports.FoxSteps=Wl;exports.FoxSticky=qt;exports.FoxSubSideNavBar=Tl;exports.FoxSwipe=Kt;exports.FoxSwiper=kt;exports.FoxSwiperItem=bt;exports.FoxSwitch=Ro;exports.FoxSwitchItem=Jn;exports.FoxTabPane=Mt;exports.FoxTabbar=Cl;exports.FoxTabbarItem=wl;exports.FoxTable=ea;exports.FoxTabs=zt;exports.FoxTabsBar=ll;exports.FoxTabsContainer=al;exports.FoxTabsPane=rl;exports.FoxTag=jt;exports.FoxText=il;exports.FoxTextarea=$o;exports.FoxTextareaItem=Hn;exports.FoxTimeDetail=da;exports.FoxTimePannel=ua;exports.FoxTimeSelect=ca;exports.FoxToast=Ct;exports.FoxTour=aa;exports.FoxTrendArrow=la;exports.FoxUploader=$l;exports.FoxVideo=vt;exports.FoxWaterMark=na;exports.Grid=gl;exports.GridItem=yl;exports.Group=Ln;exports.HeaderBar=Mn;exports.HintText=et;exports.Image=dl;exports.ImagePreview=Ko;exports.Indicator=Bl;exports.InfiniteLoading=Lo;exports.InputItem=Kn;exports.InputNumber=at;exports.Item=Ce;exports.Layout=fl;exports.LinkItem=_n;exports.List=Kl;exports.Menu=bl;exports.MenuItem=Sl;exports.MoneyItem=Un;exports.Navbar=vl;exports.NoticeBar=Hl;exports.Notify=Pl;exports.NumberKeyboard=Dl;exports.OverLay=nt;exports.Page=qn;exports.Pagination=Nl;exports.Picker=gt;exports.PickerItem=jn;exports.Popover=Wt;exports.Popup=ce;exports.Price=Xe;exports.PriorityPolicy=io;exports.Progress=Ft;exports.PullRefresh=zl;exports.Radio=qo;exports.RadioGroup=zo;exports.RadioItem=Gn;exports.Range=Ot;exports.Rate=yt;exports.RateItem=el;exports.RollingProvider=nl;exports.Row=pl;exports.RowItem=On;exports.SearchBar=Oo;exports.ShortPassword=El;exports.SideNavBar=Vl;exports.SideNavBarItem=Al;exports.Signature=ia;exports.Skeleton=Zl;exports.Sku=fa;exports.SlotItem=Fn;exports.Step=Yl;exports.Steps=Wl;exports.Sticky=qt;exports.SubSideNavBar=Tl;exports.Swipe=Kt;exports.Swiper=kt;exports.SwiperItem=bt;exports.Switch=Ro;exports.SwitchItem=Jn;exports.TabPane=Mt;exports.Tabbar=Cl;exports.TabbarItem=wl;exports.Table=ea;exports.Tabs=zt;exports.TabsBar=ll;exports.TabsContainer=al;exports.TabsPane=rl;exports.Tag=jt;exports.Text=il;exports.Textarea=$o;exports.TextareaItem=Hn;exports.TimeDetail=da;exports.TimePannel=ua;exports.TimeSelect=ca;exports.Toast=Ct;exports.Tour=aa;exports.TrendArrow=la;exports.UniqueID=Ur;exports.Uploader=$l;exports.ValidateSchema=Ar;exports.ValidateSchemaKey=Le;exports.Video=vt;exports.WaterMark=na;exports.cancelRaf=ar;exports.clamp=Re;exports.clearNonNumber=rn;exports.clone=an;exports.compareTo=nn;exports.createBroadcast=yo;exports.createValidateSchema=vo;exports.debounce=pt;exports.debounceRef=Ls;exports.decimalLength=br;exports.default=IN;exports.defineBroadcast=$s;exports.defineConfigDomain=Tr;exports.defineDataItem=$r;exports.defineDomain=In;exports.defineItem=Be;exports.definePageState=Dr;exports.deleteGlobalValidator=qs;exports.disabledProperty=Ne;exports.divide=An;exports.excludeProps=En;exports.extend=tt;exports.floatData=Sr;exports.getGlobalValidateCheckEvents=Nr;exports.getGlobalValidateResetEvents=Vr;exports.getPageContentAreaHeight=ro;exports.getPageContentAreaWidth=so;exports.getPageFooterAreaHeight=Co;exports.getPageHeaderAreaHeight=So;exports.getRootDomain=ft;exports.getScrollTopRoot=$n;exports.hasSymbol=mr;exports.includeProps=ye;exports.indexOf=Ts;exports.installRules=Er;exports.integerLength=kr;exports.isArray=po;exports.isArrayLike=hr;exports.isBrowser=Qe;exports.isDate=Oe;exports.isESModule=ws;exports.isEmptyString=ie;exports.isEqual=Ie;exports.isFunction=lo;exports.isHidden=go;exports.isInnerPage=Ks;exports.isMap=bs;exports.isNil=ur;exports.isNumberString=vr;exports.isObject=$e;exports.isPlainObject=ln;exports.isPromise=Tn;exports.isRegExp=yr;exports.isSet=Ss;exports.isString=dr;exports.isSubPage=Us;exports.isSymbol=Cs;exports.isWindow=pr;exports.lastIndexOf=Es;exports.makeArray=As;exports.merge=gr;exports.multiply=sr;exports.negate=ir;exports.nextTick=Bs;exports.numberFormat=mo;exports.objectToString=fr;exports.once=Os;exports.padZero=Ze;exports.preventDefault=sn;exports.property=we;exports.raf=je;exports.readonlyProperty=Te;exports.setGlobalValidateCheckEvents=zs;exports.setGlobalValidateHandler=xs;exports.setGlobalValidateMessages=Ps;exports.setGlobalValidateResetEvents=Ms;exports.setGlobalValidator=Is;exports.throttle=ao;exports.toBoolean=he;exports.toNumber=me;exports.toPadding=Me;exports.toPx=se;exports.toPxDesc=de;exports.toTypeString=ho;exports.toValue=De;exports.tryTimes=xn;exports.typeOf=ot;exports.unNumberFormat=cr;exports.updatePageState=cn;exports.useBroadcast=Et;exports.useDomain=Fe;exports.useExpose=Ae;exports.useInnerSize=zn;exports.usePageState=bo;exports.usePosition=Or;exports.useRect=Ve;exports.useSize=wo;exports.useTouch=Ke;exports.valueLength=ge;
|