You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
vite-vue3-lowcode/assets/index.7b4f7ca9.js

1 lines
157 KiB

import{b as e,e as t,f as l,Z as a,_ as n,u as r,$ as o,a0 as i,a1 as u,a2 as s,r as c,E as d,a3 as f,a4 as v,a5 as p,a6 as m,o as b,K as h,a7 as g,y,a8 as w,q as x,d as V,c as S,p as _,i as z,D as k,a9 as C,aa as M,F as j,w as $,ab as O,T,z as B,A,ac as P,ad as I,C as H,H as D,ae as L,af as N,ag as E,ah as Y,M as F,ai as W,aj as R,ak as q,al as U,am as X,an as Z,ao as K,ap as G,aq as J,x as Q,a as ee,R as te,ar as le,g as ae,as as ne,at as re,au as oe}from"./preload-helper.fde915ab.js";var ie="object"==typeof global&&global&&global.Object===Object&&global,ue="object"==typeof self&&self&&self.Object===Object&&self,se=ie||ue||Function("return this")(),ce=se.Symbol,de=Object.prototype,fe=de.hasOwnProperty,ve=de.toString,pe=ce?ce.toStringTag:void 0;var me=Object.prototype.toString;var be=ce?ce.toStringTag:void 0;function he(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":be&&be in Object(e)?function(e){var t=fe.call(e,pe),l=e[pe];try{e[pe]=void 0;var a=!0}catch(r){}var n=ve.call(e);return a&&(t?e[pe]=l:delete e[pe]),n}(e):function(e){return me.call(e)}(e)}function ge(e){return null!=e&&"object"==typeof e}function ye(e){return"symbol"==typeof e||ge(e)&&"[object Symbol]"==he(e)}function we(e,t){for(var l=-1,a=null==e?0:e.length,n=Array(a);++l<a;)n[l]=t(e[l],l,e);return n}var xe=Array.isArray,Ve=ce?ce.prototype:void 0,Se=Ve?Ve.toString:void 0;function _e(e){if("string"==typeof e)return e;if(xe(e))return we(e,_e)+"";if(ye(e))return Se?Se.call(e):"";var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}function ze(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ke(e){if(!ze(e))return!1;var t=he(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var Ce,Me=se["__core-js_shared__"],je=(Ce=/[^.]+$/.exec(Me&&Me.keys&&Me.keys.IE_PROTO||""))?"Symbol(src)_1."+Ce:"";var $e=Function.prototype.toString;function Oe(e){if(null!=e){try{return $e.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Te=/^\[object .+?Constructor\]$/,Be=Function.prototype,Ae=Object.prototype,Pe=Be.toString,Ie=Ae.hasOwnProperty,He=RegExp("^"+Pe.call(Ie).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function De(e){return!(!ze(e)||(t=e,je&&je in t))&&(ke(e)?He:Te).test(Oe(e));var t}function Le(e,t){var l=function(e,t){return null==e?void 0:e[t]}(e,t);return De(l)?l:void 0}var Ne=Le(se,"WeakMap"),Ee=Object.create,Ye=function(){function e(){}return function(t){if(!ze(t))return{};if(Ee)return Ee(t);e.prototype=t;var l=new e;return e.prototype=void 0,l}}();function Fe(e,t,l){switch(l.length){case 0:return e.call(t);case 1:return e.call(t,l[0]);case 2:return e.call(t,l[0],l[1]);case 3:return e.call(t,l[0],l[1],l[2])}return e.apply(t,l)}var We=Date.now;var Re,qe,Ue,Xe=function(){try{var e=Le(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Ze=Xe,Ke=Ze?function(e,t){return Ze(e,"toString",{configurable:!0,enumerable:!1,value:(l=t,function(){return l}),writable:!0});var l}:function(e){return e},Ge=(Re=Ke,qe=0,Ue=0,function(){var e=We(),t=16-(e-Ue);if(Ue=e,t>0){if(++qe>=800)return arguments[0]}else qe=0;return Re.apply(void 0,arguments)});var Je=/^(?:0|[1-9]\d*)$/;function Qe(e,t){var l=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==l||"symbol"!=l&&Je.test(e))&&e>-1&&e%1==0&&e<t}function et(e,t,l){"__proto__"==t&&Ze?Ze(e,t,{configurable:!0,enumerable:!0,value:l,writable:!0}):e[t]=l}function tt(e,t){return e===t||e!=e&&t!=t}var lt=Object.prototype.hasOwnProperty;function at(e,t,l){var a=e[t];lt.call(e,t)&&tt(a,l)&&(void 0!==l||t in e)||et(e,t,l)}function nt(e,t,l,a){var n=!l;l||(l={});for(var r=-1,o=t.length;++r<o;){var i=t[r],u=a?a(l[i],e[i],i,l,e):void 0;void 0===u&&(u=e[i]),n?et(l,i,u):at(l,i,u)}return l}var rt=Math.max;function ot(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function it(e){return null!=e&&ot(e.length)&&!ke(e)}var ut=Object.prototype;function st(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ut)}function ct(e){return ge(e)&&"[object Arguments]"==he(e)}var dt=Object.prototype,ft=dt.hasOwnProperty,vt=dt.propertyIsEnumerable,pt=ct(function(){return arguments}())?ct:function(e){return ge(e)&&ft.call(e,"callee")&&!vt.call(e,"callee")};var mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,bt=mt&&"object"==typeof module&&module&&!module.nodeType&&module,ht=bt&&bt.exports===mt?se.Buffer:void 0,gt=(ht?ht.isBuffer:void 0)||function(){return!1},yt={};function wt(e){return function(t){return e(t)}}yt["[object Float32Array]"]=yt["[object Float64Array]"]=yt["[object Int8Array]"]=yt["[object Int16Array]"]=yt["[object Int32Array]"]=yt["[object Uint8Array]"]=yt["[object Uint8ClampedArray]"]=yt["[object Uint16Array]"]=yt["[object Uint32Array]"]=!0,yt["[object Arguments]"]=yt["[object Array]"]=yt["[object ArrayBuffer]"]=yt["[object Boolean]"]=yt["[object DataView]"]=yt["[object Date]"]=yt["[object Error]"]=yt["[object Function]"]=yt["[object Map]"]=yt["[object Number]"]=yt["[object Object]"]=yt["[object RegExp]"]=yt["[object Set]"]=yt["[object String]"]=yt["[object WeakMap]"]=!1;var xt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Vt=xt&&"object"==typeof module&&module&&!module.nodeType&&module,St=Vt&&Vt.exports===xt&&ie.process,_t=function(){try{var e=Vt&&Vt.require&&Vt.require("util").types;return e||St&&St.binding&&St.binding("util")}catch(t){}}(),zt=_t&&_t.isTypedArray,kt=zt?wt(zt):function(e){return ge(e)&&ot(e.length)&&!!yt[he(e)]},Ct=Object.prototype.hasOwnProperty;function Mt(e,t){var l=xe(e),a=!l&&pt(e),n=!l&&!a&&gt(e),r=!l&&!a&&!n&&kt(e),o=l||a||n||r,i=o?function(e,t){for(var l=-1,a=Array(e);++l<e;)a[l]=t(l);return a}(e.length,String):[],u=i.length;for(var s in e)!t&&!Ct.call(e,s)||o&&("length"==s||n&&("offset"==s||"parent"==s)||r&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||Qe(s,u))||i.push(s);return i}function jt(e,t){return function(l){return e(t(l))}}var $t=jt(Object.keys,Object),Ot=Object.prototype.hasOwnProperty;function Tt(e){return it(e)?Mt(e):function(e){if(!st(e))return $t(e);var t=[];for(var l in Object(e))Ot.call(e,l)&&"constructor"!=l&&t.push(l);return t}(e)}var Bt=Object.prototype.hasOwnProperty;function At(e){if(!ze(e))return function(e){var t=[];if(null!=e)for(var l in Object(e))t.push(l);return t}(e);var t=st(e),l=[];for(var a in e)("constructor"!=a||!t&&Bt.call(e,a))&&l.push(a);return l}function Pt(e){return it(e)?Mt(e,!0):At(e)}var It=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ht=/^\w*$/;var Dt=Le(Object,"create");var Lt=Object.prototype.hasOwnProperty;var Nt=Object.prototype.hasOwnProperty;function Et(e){var t=-1,l=null==e?0:e.length;for(this.clear();++t<l;){var a=e[t];this.set(a[0],a[1])}}function Yt(e,t){for(var l=e.length;l--;)if(tt(e[l][0],t))return l;return-1}Et.prototype.clear=function(){this.__data__=Dt?Dt(null):{},this.size=0},Et.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Et.prototype.get=function(e){var t=this.__data__;if(Dt){var l=t[e];return"__lodash_hash_undefined__"===l?void 0:l}return Lt.call(t,e)?t[e]:void 0},Et.prototype.has=function(e){var t=this.__data__;return Dt?void 0!==t[e]:Nt.call(t,e)},Et.prototype.set=function(e,t){var l=this.__data__;return this.size+=this.has(e)?0:1,l[e]=Dt&&void 0===t?"__lodash_hash_undefined__":t,this};var Ft=Array.prototype.splice;function Wt(e){var t=-1,l=null==e?0:e.length;for(this.clear();++t<l;){var a=e[t];this.set(a[0],a[1])}}Wt.prototype.clear=function(){this.__data__=[],this.size=0},Wt.prototype.delete=function(e){var t=this.__data__,l=Yt(t,e);return!(l<0)&&(l==t.length-1?t.pop():Ft.call(t,l,1),--this.size,!0)},Wt.prototype.get=function(e){var t=this.__data__,l=Yt(t,e);return l<0?void 0:t[l][1]},Wt.prototype.has=function(e){return Yt(this.__data__,e)>-1},Wt.prototype.set=function(e,t){var l=this.__data__,a=Yt(l,e);return a<0?(++this.size,l.push([e,t])):l[a][1]=t,this};var Rt=Le(se,"Map");function qt(e,t){var l,a,n=e.__data__;return("string"==(a=typeof(l=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==l:null===l)?n["string"==typeof t?"string":"hash"]:n.map}function Ut(e){var t=-1,l=null==e?0:e.length;for(this.clear();++t<l;){var a=e[t];this.set(a[0],a[1])}}Ut.prototype.clear=function(){this.size=0,this.__data__={hash:new Et,map:new(Rt||Wt),string:new Et}},Ut.prototype.delete=function(e){var t=qt(this,e).delete(e);return this.size-=t?1:0,t},Ut.prototype.get=function(e){return qt(this,e).get(e)},Ut.prototype.has=function(e){return qt(this,e).has(e)},Ut.prototype.set=function(e,t){var l=qt(this,e),a=l.size;return l.set(e,t),this.size+=l.size==a?0:1,this};function Xt(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var l=function(){var a=arguments,n=t?t.apply(this,a):a[0],r=l.cache;if(r.has(n))return r.get(n);var o=e.apply(this,a);return l.cache=r.set(n,o)||r,o};return l.cache=new(Xt.Cache||Ut),l}Xt.Cache=Ut;var Zt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Kt=/\\(\\)?/g,Gt=function(e){var t=Xt(e,(function(e){return 500===l.size&&l.clear(),e})),l=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Zt,(function(e,l,a,n){t.push(a?n.replace(Kt,"$1"):l||e)})),t})),Jt=Gt;function Qt(e,t){return xe(e)?e:function(e,t){if(xe(e))return!1;var l=typeof e;return!("number"!=l&&"symbol"!=l&&"boolean"!=l&&null!=e&&!ye(e))||Ht.test(e)||!It.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:Jt(function(e){return null==e?"":_e(e)}(e))}function el(e){if("string"==typeof e||ye(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}function tl(e,t){for(var l=0,a=(t=Qt(t,e)).length;null!=e&&l<a;)e=e[el(t[l++])];return l&&l==a?e:void 0}function ll(e,t){for(var l=-1,a=t.length,n=e.length;++l<a;)e[n+l]=t[l];return e}var al=ce?ce.isConcatSpreadable:void 0;function nl(e){return xe(e)||pt(e)||!!(al&&e&&e[al])}function rl(e,t,l,a,n){var r=-1,o=e.length;for(l||(l=nl),n||(n=[]);++r<o;){var i=e[r];t>0&&l(i)?t>1?rl(i,t-1,l,a,n):ll(n,i):a||(n[n.length]=i)}return n}function ol(e){return(null==e?0:e.length)?rl(e,1):[]}var il=jt(Object.getPrototypeOf,Object),ul=Function.prototype,sl=Object.prototype,cl=ul.toString,dl=sl.hasOwnProperty,fl=cl.call(Object);function vl(e){var t=this.__data__=new Wt(e);this.size=t.size}vl.prototype.clear=function(){this.__data__=new Wt,this.size=0},vl.prototype.delete=function(e){var t=this.__data__,l=t.delete(e);return this.size=t.size,l},vl.prototype.get=function(e){return this.__data__.get(e)},vl.prototype.has=function(e){return this.__data__.has(e)},vl.prototype.set=function(e,t){var l=this.__data__;if(l instanceof Wt){var a=l.__data__;if(!Rt||a.length<199)return a.push([e,t]),this.size=++l.size,this;l=this.__data__=new Ut(a)}return l.set(e,t),this.size=l.size,this};var pl="object"==typeof exports&&exports&&!exports.nodeType&&exports,ml=pl&&"object"==typeof module&&module&&!module.nodeType&&module,bl=ml&&ml.exports===pl?se.Buffer:void 0,hl=bl?bl.allocUnsafe:void 0;function gl(){return[]}var yl=Object.prototype.propertyIsEnumerable,wl=Object.getOwnPropertySymbols,xl=wl?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var l=-1,a=null==e?0:e.length,n=0,r=[];++l<a;){var o=e[l];t(o,l,e)&&(r[n++]=o)}return r}(wl(e),(function(t){return yl.call(e,t)})))}:gl;var Vl=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)ll(t,xl(e)),e=il(e);return t}:gl;function Sl(e,t,l){var a=t(e);return xe(e)?a:ll(a,l(e))}function _l(e){return Sl(e,Tt,xl)}function zl(e){return Sl(e,Pt,Vl)}var kl=Le(se,"DataView"),Cl=Le(se,"Promise"),Ml=Le(se,"Set"),jl=Oe(kl),$l=Oe(Rt),Ol=Oe(Cl),Tl=Oe(Ml),Bl=Oe(Ne),Al=he;(kl&&"[object DataView]"!=Al(new kl(new ArrayBuffer(1)))||Rt&&"[object Map]"!=Al(new Rt)||Cl&&"[object Promise]"!=Al(Cl.resolve())||Ml&&"[object Set]"!=Al(new Ml)||Ne&&"[object WeakMap]"!=Al(new Ne))&&(Al=function(e){var t=he(e),l="[object Object]"==t?e.constructor:void 0,a=l?Oe(l):"";if(a)switch(a){case jl:return"[object DataView]";case $l:return"[object Map]";case Ol:return"[object Promise]";case Tl:return"[object Set]";case Bl:return"[object WeakMap]"}return t});var Pl=Al,Il=Object.prototype.hasOwnProperty;var Hl=se.Uint8Array;function Dl(e){var t=new e.constructor(e.byteLength);return new Hl(t).set(new Hl(e)),t}var Ll=/\w*$/;var Nl=ce?ce.prototype:void 0,El=Nl?Nl.valueOf:void 0;function Yl(e,t,l){var a,n,r,o=e.constructor;switch(t){case"[object ArrayBuffer]":return Dl(e);case"[object Boolean]":case"[object Date]":return new o(+e);case"[object DataView]":return function(e,t){var l=t?Dl(e.buffer):e.buffer;return new e.constructor(l,e.byteOffset,e.byteLength)}(e,l);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var l=t?Dl(e.buffer):e.buffer;return new e.constructor(l,e.byteOffset,e.length)}(e,l);case"[object Map]":case"[object Set]":return new o;case"[object Number]":case"[object String]":return new o(e);case"[object RegExp]":return(r=new(n=e).constructor(n.source,Ll.exec(n))).lastIndex=n.lastIndex,r;case"[object Symbol]":return a=e,El?Object(El.call(a)):{}}}var Fl=_t&&_t.isMap,Wl=Fl?wt(Fl):function(e){return ge(e)&&"[object Map]"==Pl(e)};var Rl=_t&&_t.isSet,ql=Rl?wt(Rl):function(e){return ge(e)&&"[object Set]"==Pl(e)},Ul={};function Xl(e,t,l,a,n,r){var o,i=1&t,u=2&t,s=4&t;if(l&&(o=n?l(e,a,n,r):l(e)),void 0!==o)return o;if(!ze(e))return e;var c=xe(e);if(c){if(o=function(e){var t=e.length,l=new e.constructor(t);return t&&"string"==typeof e[0]&&Il.call(e,"index")&&(l.index=e.index,l.input=e.input),l}(e),!i)return function(e,t){var l=-1,a=e.length;for(t||(t=Array(a));++l<a;)t[l]=e[l];return t}(e,o)}else{var d=Pl(e),f="[object Function]"==d||"[object GeneratorFunction]"==d;if(gt(e))return function(e,t){if(t)return e.slice();var l=e.length,a=hl?hl(l):new e.constructor(l);return e.copy(a),a}(e,i);if("[object Object]"==d||"[object Arguments]"==d||f&&!n){if(o=u||f?{}:function(e){return"function"!=typeof e.constructor||st(e)?{}:Ye(il(e))}(e),!i)return u?function(e,t){return nt(e,Vl(e),t)}(e,function(e,t){return e&&nt(t,Pt(t),e)}(o,e)):function(e,t){return nt(e,xl(e),t)}(e,function(e,t){return e&&nt(t,Tt(t),e)}(o,e))}else{if(!Ul[d])return n?e:{};o=Yl(e,d,i)}}r||(r=new vl);var v=r.get(e);if(v)return v;r.set(e,o),ql(e)?e.forEach((function(a){o.add(Xl(a,t,l,a,e,r))})):Wl(e)&&e.forEach((function(a,n){o.set(n,Xl(a,t,l,n,e,r))}));var p=c?void 0:(s?u?zl:_l:u?Pt:Tt)(e);return function(e,t){for(var l=-1,a=null==e?0:e.length;++l<a&&!1!==t(e[l],l,e););}(p||e,(function(a,n){p&&(a=e[n=a]),at(o,n,Xl(a,t,l,n,e,r))})),o}function Zl(e,t){return t.length<2?e:tl(e,function(e,t,l){var a=-1,n=e.length;t<0&&(t=-t>n?0:n+t),(l=l>n?n:l)<0&&(l+=n),n=t>l?0:l-t>>>0,t>>>=0;for(var r=Array(n);++a<n;)r[a]=e[a+t];return r}(t,0,-1))}function Kl(e,t){return null==(e=Zl(e,t=Qt(t,e)))||delete e[el((l=t,a=null==l?0:l.length,a?l[a-1]:void 0))];var l,a}function Gl(e){return function(e){if(!ge(e)||"[object Object]"!=he(e))return!1;var t=il(e);if(null===t)return!0;var l=dl.call(t,"constructor")&&t.constructor;return"function"==typeof l&&l instanceof l&&cl.call(l)==fl}(e)?void 0:e}Ul["[object Arguments]"]=Ul["[object Array]"]=Ul["[object ArrayBuffer]"]=Ul["[object DataView]"]=Ul["[object Boolean]"]=Ul["[object Date]"]=Ul["[object Float32Array]"]=Ul["[object Float64Array]"]=Ul["[object Int8Array]"]=Ul["[object Int16Array]"]=Ul["[object Int32Array]"]=Ul["[object Map]"]=Ul["[object Number]"]=Ul["[object Object]"]=Ul["[object RegExp]"]=Ul["[object Set]"]=Ul["[object String]"]=Ul["[object Symbol]"]=Ul["[object Uint8Array]"]=Ul["[object Uint8ClampedArray]"]=Ul["[object Uint16Array]"]=Ul["[object Uint32Array]"]=!0,Ul["[object Error]"]=Ul["[object Function]"]=Ul["[object WeakMap]"]=!1;var Jl=function(e){return Ge(function(e,t,l){return t=rt(void 0===t?e.length-1:t,0),function(){for(var a=arguments,n=-1,r=rt(a.length-t,0),o=Array(r);++n<r;)o[n]=a[t+n];n=-1;for(var i=Array(t+1);++n<t;)i[n]=a[n];return i[t]=l(o),Fe(e,this,i)}}(e,void 0,ol),e+"")}((function(e,t){var l={};if(null==e)return l;var a=!1;t=we(t,(function(t){return t=Qt(t,e),a||(a=t.length>1),t})),nt(e,zl(e),l),a&&(l=Xl(l,7,Gl));for(var n=t.length;n--;)Kl(l,t[n]);return l})),Ql=Jl,ea=(e,t)=>{let l=e.__vccOpts||e;for(let[a,n]of t)l[a]=n;return l},ta={name:"ArrowDown"},la={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},aa=[l("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1)];var na=ea(ta,[["render",function(l,a,n,r,o,i){return e(),t("svg",la,aa)}],["__file","arrow-down.vue"]]),ra={name:"ArrowLeft"},oa={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ia=[l("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"},null,-1)];var ua=ea(ra,[["render",function(l,a,n,r,o,i){return e(),t("svg",oa,ia)}],["__file","arrow-left.vue"]]),sa={name:"ArrowRight"},ca={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},da=[l("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1)];var fa=ea(sa,[["render",function(l,a,n,r,o,i){return e(),t("svg",ca,da)}],["__file","arrow-right.vue"]]),va={name:"ArrowUp"},pa={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ma=[l("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0z"},null,-1)];var ba=ea(va,[["render",function(l,a,n,r,o,i){return e(),t("svg",pa,ma)}],["__file","arrow-up.vue"]]),ha={name:"CaretRight"},ga={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ya=[l("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"},null,-1)];var wa=ea(ha,[["render",function(l,a,n,r,o,i){return e(),t("svg",ga,ya)}],["__file","caret-right.vue"]]),xa={name:"Cellphone"},Va={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Sa=[l("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64H256zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64zm128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64zm128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128z"},null,-1)];var _a=ea(xa,[["render",function(l,a,n,r,o,i){return e(),t("svg",Va,Sa)}],["__file","cellphone.vue"]]),za={name:"ChatLineSquare"},ka={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Ca=[l("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128H296z"},null,-1),l("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32zm0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32z"},null,-1)];var Ma=ea(za,[["render",function(l,a,n,r,o,i){return e(),t("svg",ka,Ca)}],["__file","chat-line-square.vue"]]),ja={name:"Check"},$a={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Oa=[l("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"},null,-1)];var Ta=ea(ja,[["render",function(l,a,n,r,o,i){return e(),t("svg",$a,Oa)}],["__file","check.vue"]]),Ba={name:"CircleCheck"},Aa={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Pa=[l("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),l("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1)];var Ia=ea(Ba,[["render",function(l,a,n,r,o,i){return e(),t("svg",Aa,Pa)}],["__file","circle-check.vue"]]),Ha={name:"CircleCloseFilled"},Da={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},La=[l("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"},null,-1)];var Na=ea(Ha,[["render",function(l,a,n,r,o,i){return e(),t("svg",Da,La)}],["__file","circle-close-filled.vue"]]),Ea={name:"CircleClose"},Ya={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Fa=[l("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),l("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1)];var Wa=ea(Ea,[["render",function(l,a,n,r,o,i){return e(),t("svg",Ya,Fa)}],["__file","circle-close.vue"]]),Ra={name:"CirclePlus"},qa={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Ua=[l("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64z"},null,-1),l("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0z"},null,-1),l("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1)];var Xa=ea(Ra,[["render",function(l,a,n,r,o,i){return e(),t("svg",qa,Ua)}],["__file","circle-plus.vue"]]),Za={name:"Close"},Ka={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Ga=[l("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1)];var Ja=ea(Za,[["render",function(l,a,n,r,o,i){return e(),t("svg",Ka,Ga)}],["__file","close.vue"]]),Qa={name:"DArrowLeft"},en={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},tn=[l("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"},null,-1)];var ln=ea(Qa,[["render",function(l,a,n,r,o,i){return e(),t("svg",en,tn)}],["__file","d-arrow-left.vue"]]),an={name:"DArrowRight"},nn={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},rn=[l("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688zm-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"},null,-1)];var on=ea(an,[["render",function(l,a,n,r,o,i){return e(),t("svg",nn,rn)}],["__file","d-arrow-right.vue"]]),un={name:"DataBoard"},sn={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},cn=[l("path",{fill:"currentColor",d:"M32 128h960v64H32z"},null,-1),l("path",{fill:"currentColor",d:"M192 192v512h640V192H192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V128z"},null,-1),l("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32L322.176 960zm453.888 0h-73.856L576 741.44l55.424-32L776.064 960z"},null,-1)];var dn=ea(un,[["render",function(l,a,n,r,o,i){return e(),t("svg",sn,cn)}],["__file","data-board.vue"]]),fn={name:"Delete"},vn={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},pn=[l("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"},null,-1)];var mn=ea(fn,[["render",function(l,a,n,r,o,i){return e(),t("svg",vn,pn)}],["__file","delete.vue"]]),bn={name:"DocumentCopy"},hn={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},gn=[l("path",{fill:"currentColor",d:"M128 320v576h576V320H128zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zM960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32zM256 672h320v64H256v-64zm0-192h320v64H256v-64z"},null,-1)];var yn=ea(bn,[["render",function(l,a,n,r,o,i){return e(),t("svg",hn,gn)}],["__file","document-copy.vue"]]),wn={name:"Document"},xn={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Vn=[l("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"},null,-1)];var Sn=ea(wn,[["render",function(l,a,n,r,o,i){return e(),t("svg",xn,Vn)}],["__file","document.vue"]]),_n={name:"Download"},zn={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},kn=[l("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64v450.304z"},null,-1)];var Cn=ea(_n,[["render",function(l,a,n,r,o,i){return e(),t("svg",zn,kn)}],["__file","download.vue"]]),Mn={name:"Edit"},jn={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},$n=[l("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z"},null,-1),l("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"},null,-1)];var On=ea(Mn,[["render",function(l,a,n,r,o,i){return e(),t("svg",jn,$n)}],["__file","edit.vue"]]),Tn={name:"Hide"},Bn={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},An=[l("path",{d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z",fill:"currentColor"},null,-1),l("path",{d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z",fill:"currentColor"},null,-1)];var Pn=ea(Tn,[["render",function(l,a,n,r,o,i){return e(),t("svg",Bn,An)}],["__file","hide.vue"]]),In={name:"InfoFilled"},Hn={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Dn=[l("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1)];var Ln=ea(In,[["render",function(l,a,n,r,o,i){return e(),t("svg",Hn,Dn)}],["__file","info-filled.vue"]]),Nn={name:"Link"},En={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Yn=[l("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496 45.248 45.248zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152 625.152 353.6z"},null,-1)];var Fn=ea(Nn,[["render",function(l,a,n,r,o,i){return e(),t("svg",En,Yn)}],["__file","link.vue"]]),Wn={name:"Loading"},Rn={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},qn=[l("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1)];var Un=ea(Wn,[["render",function(l,a,n,r,o,i){return e(),t("svg",Rn,qn)}],["__file","loading.vue"]]),Xn={name:"Minus"},Zn={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Kn=[l("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"},null,-1)];var Gn=ea(Xn,[["render",function(l,a,n,r,o,i){return e(),t("svg",Zn,Kn)}],["__file","minus.vue"]]),Jn={name:"MoreFilled"},Qn={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},er=[l("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224z"},null,-1)];var tr=ea(Jn,[["render",function(l,a,n,r,o,i){return e(),t("svg",Qn,er)}],["__file","more-filled.vue"]]),lr={name:"More"},ar={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},nr=[l("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96z"},null,-1)];var rr=ea(lr,[["render",function(l,a,n,r,o,i){return e(),t("svg",ar,nr)}],["__file","more.vue"]]),or={name:"PictureFilled"},ir={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ur=[l("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32H96zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112zM256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384z"},null,-1)];var sr=ea(or,[["render",function(l,a,n,r,o,i){return e(),t("svg",ir,ur)}],["__file","picture-filled.vue"]]),cr={name:"Picture"},dr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},fr=[l("path",{fill:"currentColor",d:"M160 160v704h704V160H160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32z"},null,-1),l("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64zM185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952L185.408 876.992z"},null,-1)];var vr=ea(cr,[["render",function(l,a,n,r,o,i){return e(),t("svg",dr,fr)}],["__file","picture.vue"]]),pr={name:"Plus"},mr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},br=[l("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64h352z"},null,-1)];var hr=ea(pr,[["render",function(l,a,n,r,o,i){return e(),t("svg",mr,br)}],["__file","plus.vue"]]),gr={name:"Position"},yr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},wr=[l("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"},null,-1)];var xr=ea(gr,[["render",function(l,a,n,r,o,i){return e(),t("svg",yr,wr)}],["__file","position.vue"]]),Vr={name:"QuestionFilled"},Sr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_r=[l("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"},null,-1)];var zr=ea(Vr,[["render",function(l,a,n,r,o,i){return e(),t("svg",Sr,_r)}],["__file","question-filled.vue"]]),kr={name:"Rank"},Cr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Mr=[l("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544H186.496z"},null,-1)];var jr=ea(kr,[["render",function(l,a,n,r,o,i){return e(),t("svg",Cr,Mr)}],["__file","rank.vue"]]),$r={name:"RefreshLeft"},Or={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Tr=[l("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"},null,-1)];var Br=ea($r,[["render",function(l,a,n,r,o,i){return e(),t("svg",Or,Tr)}],["__file","refresh-left.vue"]]),Ar={name:"RefreshRight"},Pr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Ir=[l("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"},null,-1)];var Hr=ea(Ar,[["render",function(l,a,n,r,o,i){return e(),t("svg",Pr,Ir)}],["__file","refresh-right.vue"]]),Dr={name:"Remove"},Lr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Nr=[l("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64z"},null,-1),l("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1)];var Er=ea(Dr,[["render",function(l,a,n,r,o,i){return e(),t("svg",Lr,Nr)}],["__file","remove.vue"]]),Yr={name:"SuccessFilled"},Fr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Wr=[l("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1)];var Rr=ea(Yr,[["render",function(l,a,n,r,o,i){return e(),t("svg",Fr,Wr)}],["__file","success-filled.vue"]]),qr={name:"Suitcase"},Ur={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Xr=[l("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64v64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448H128zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128z"},null,-1),l("path",{fill:"currentColor",d:"M384 128v64h256v-64H384zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64z"},null,-1)];var Zr=ea(qr,[["render",function(l,a,n,r,o,i){return e(),t("svg",Ur,Xr)}],["__file","suitcase.vue"]]),Kr={name:"Tickets"},Gr={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Jr=[l("path",{fill:"currentColor",d:"M192 128v768h640V128H192zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h192v64H320v-64zm0 384h384v64H320v-64z"},null,-1)];var Qr=ea(Kr,[["render",function(l,a,n,r,o,i){return e(),t("svg",Gr,Jr)}],["__file","tickets.vue"]]),eo={name:"Upload"},to={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},lo=[l("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z"},null,-1)];var ao=ea(eo,[["render",function(l,a,n,r,o,i){return e(),t("svg",to,lo)}],["__file","upload.vue"]]),no={name:"VideoPlay"},ro={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},oo=[l("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768zm-48-247.616L668.608 512 464 375.616v272.768zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"},null,-1)];var io=ea(no,[["render",function(l,a,n,r,o,i){return e(),t("svg",ro,oo)}],["__file","video-play.vue"]]),uo={name:"View"},so={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},co=[l("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1)];var fo=ea(uo,[["render",function(l,a,n,r,o,i){return e(),t("svg",so,co)}],["__file","view.vue"]]),vo={name:"WarningFilled"},po={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},mo=[l("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1)];var bo=ea(vo,[["render",function(l,a,n,r,o,i){return e(),t("svg",po,mo)}],["__file","warning-filled.vue"]]),ho={name:"Warning"},go={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},yo=[l("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768zm48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0zm-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"},null,-1)];var wo=ea(ho,[["render",function(l,a,n,r,o,i){return e(),t("svg",go,yo)}],["__file","warning.vue"]]),xo={name:"ZoomIn"},Vo={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},So=[l("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z"},null,-1)];var _o=ea(xo,[["render",function(l,a,n,r,o,i){return e(),t("svg",Vo,So)}],["__file","zoom-in.vue"]]),zo="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ko(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Co(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(l){var a=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(t,l,a.get?a:{enumerable:!0,get:function(){return e[l]}})})),t}var Mo={exports:{}},jo=Mo.exports=function(){var e=1e3,t=6e4,l=36e5,a="millisecond",n="second",r="minute",o="hour",i="day",u="week",s="month",c="quarter",d="year",f="date",v="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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,b={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("_")},h=function(e,t,l){var a=String(e);return!a||a.length>=t?e:""+Array(t+1-a.length).join(l)+e},g={s:h,z:function(e){var t=-e.utcOffset(),l=Math.abs(t),a=Math.floor(l/60),n=l%60;return(t<=0?"+":"-")+h(a,2,"0")+":"+h(n,2,"0")},m:function e(t,l){if(t.date()<l.date())return-e(l,t);var a=12*(l.year()-t.year())+(l.month()-t.month()),n=t.clone().add(a,s),r=l-n<0,o=t.clone().add(a+(r?-1:1),s);return+(-(a+(l-n)/(r?n-o:o-n))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:s,y:d,w:u,d:i,D:f,h:o,m:r,s:n,ms:a,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",w={};w[y]=b;var x=function(e){return e instanceof z},V=function e(t,l,a){var n;if(!t)return y;if("string"==typeof t){var r=t.toLowerCase();w[r]&&(n=r),l&&(w[r]=l,n=r);var o=t.split("-");if(!n&&o.length>1)return e(o[0])}else{var i=t.name;w[i]=t,n=i}return!a&&n&&(y=n),n||!a&&y},S=function(e,t){if(x(e))return e.clone();var l="object"==typeof t?t:{};return l.date=e,l.args=arguments,new z(l)},_=g;_.l=V,_.i=x,_.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var z=function(){function b(e){this.$L=V(e.locale,null,!0),this.parse(e)}var h=b.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,l=e.utc;if(null===t)return new Date(NaN);if(_.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var a=t.match(p);if(a){var n=a[2]-1||0,r=(a[7]||"0").substring(0,3);return l?new Date(Date.UTC(a[1],n,a[3]||1,a[4]||0,a[5]||0,a[6]||0,r)):new Date(a[1],n,a[3]||1,a[4]||0,a[5]||0,a[6]||0,r)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return _},h.isValid=function(){return!(this.$d.toString()===v)},h.isSame=function(e,t){var l=S(e);return this.startOf(t)<=l&&l<=this.endOf(t)},h.isAfter=function(e,t){return S(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<S(e)},h.$g=function(e,t,l){return _.u(e)?this[t]:this.set(l,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,t){var l=this,a=!!_.u(t)||t,c=_.p(e),v=function(e,t){var n=_.w(l.$u?Date.UTC(l.$y,t,e):new Date(l.$y,t,e),l);return a?n:n.endOf(i)},p=function(e,t){return _.w(l.toDate()[e].apply(l.toDate("s"),(a?[0,0,0,0]:[23,59,59,999]).slice(t)),l)},m=this.$W,b=this.$M,h=this.$D,g="set"+(this.$u?"UTC":"");switch(c){case d:return a?v(1,0):v(31,11);case s:return a?v(1,b):v(0,b+1);case u:var y=this.$locale().weekStart||0,w=(m<y?m+7:m)-y;return v(a?h-w:h+(6-w),b);case i:case f:return p(g+"Hours",0);case o:return p(g+"Minutes",1);case r:return p(g+"Seconds",2);case n:return p(g+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(e,t){var l,u=_.p(e),c="set"+(this.$u?"UTC":""),v=(l={},l[i]=c+"Date",l[f]=c+"Date",l[s]=c+"Month",l[d]=c+"FullYear",l[o]=c+"Hours",l[r]=c+"Minutes",l[n]=c+"Seconds",l[a]=c+"Milliseconds",l)[u],p=u===i?this.$D+(t-this.$W):t;if(u===s||u===d){var m=this.clone().set(f,1);m.$d[v](p),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else v&&this.$d[v](p);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[_.p(e)]()},h.add=function(a,c){var f,v=this;a=Number(a);var p=_.p(c),m=function(e){var t=S(v);return _.w(t.date(t.date()+Math.round(e*a)),v)};if(p===s)return this.set(s,this.$M+a);if(p===d)return this.set(d,this.$y+a);if(p===i)return m(1);if(p===u)return m(7);var b=(f={},f[r]=t,f[o]=l,f[n]=e,f)[p]||1,h=this.$d.getTime()+a*b;return _.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,l=this.$locale();if(!this.isValid())return l.invalidDate||v;var a=e||"YYYY-MM-DDTHH:mm:ssZ",n=_.z(this),r=this.$H,o=this.$m,i=this.$M,u=l.weekdays,s=l.months,c=function(e,l,n,r){return e&&(e[l]||e(t,a))||n[l].slice(0,r)},d=function(e){return _.s(r%12||12,e,"0")},f=l.meridiem||function(e,t,l){var a=e<12?"AM":"PM";return l?a.toLowerCase():a},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:i+1,MM:_.s(i+1,2,"0"),MMM:c(l.monthsShort,i,s,3),MMMM:c(s,i),D:this.$D,DD:_.s(this.$D,2,"0"),d:String(this.$W),dd:c(l.weekdaysMin,this.$W,u,2),ddd:c(l.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(r),HH:_.s(r,2,"0"),h:d(1),hh:d(2),a:f(r,o,!0),A:f(r,o,!1),m:String(o),mm:_.s(o,2,"0"),s:String(this.$s),ss:_.s(this.$s,2,"0"),SSS:_.s(this.$ms,3,"0"),Z:n};return a.replace(m,(function(e,t){return t||p[e]||n.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(a,f,v){var p,m=_.p(f),b=S(a),h=(b.utcOffset()-this.utcOffset())*t,g=this-b,y=_.m(this,b);return y=(p={},p[d]=y/12,p[s]=y,p[c]=y/3,p[u]=(g-h)/6048e5,p[i]=(g-h)/864e5,p[o]=g/l,p[r]=g/t,p[n]=g/e,p)[m]||g,v?y:_.a(y)},h.daysInMonth=function(){return this.endOf(s).$D},h.$locale=function(){return w[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var l=this.clone(),a=V(e,t,!0);return a&&(l.$L=a),l},h.clone=function(){return _.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},b}(),k=z.prototype;return S.prototype=k,[["$ms",a],["$s",n],["$m",r],["$H",o],["$W",i],["$M",s],["$y",d],["$D",f]].forEach((function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,z,S),e.$i=!0),S},S.locale=V,S.isDayjs=x,S.unix=function(e){return S(1e3*e)},S.en=w[y],S.Ls=w,S.p={},S}();const $o=(e,t)=>{const l=t.split("."),a=l.length>1;return{prop:l.pop(),propObj:l.reduce(((e,t)=>{var l;return null!=(l=e[t])?l:e[t]={}}),e),isDotProp:a}};let Oo=e=>crypto.getRandomValues(new Uint8Array(e));const To="/vite-vue3-lowcode/",Bo=((e,t=21)=>((e,t,l)=>{let a=(2<<Math.log(e.length-1)/Math.LN2)-1,n=-~(1.6*a*t/e.length);return(r=t)=>{let o="";for(;;){let t=l(n),i=n;for(;i--;)if(o+=e[t[i]&a]||"",o.length===r)return o}}})(e,t,Oo))("1234567890abcdef",10);function Ao(e){var t,l;return{_vid:`vid_${Bo()}`,moduleName:e.moduleName,componentKey:e.key,label:e.label,adjustPosition:!0,focus:!1,styles:{display:"flex",justifyContent:"flex-start",paddingTop:"0",paddingRight:"0",paddingLeft:"0",paddingBottom:"0",tempPadding:"0"},hasResize:!1,props:Object.entries(e.props||{}).reduce(((e,[t,l])=>{const{propObj:a,prop:n}=$o(e,t);return(null==l?void 0:l.defaultValue)&&(a[n]=e[t]=null==l?void 0:l.defaultValue),e}),{}),draggable:null==(t=e.draggable)||t,showStyleConfig:null==(l=e.showStyleConfig)||l,animations:[],actions:[],events:e.events||[],model:{}}}const Po=null,Io=[Number,String],Ho={type:Boolean,default:!0},Do=e=>({type:e,required:!0}),Lo=()=>({type:Array,default:()=>[]}),No=e=>({type:Number,default:e}),Eo=e=>({type:Io,default:e}),Yo=e=>({type:String,default:e});function Fo(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function Wo(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function Ro(e){Fo(window,e),Fo(document.body,e)}const qo=a();function Uo(){qo&&Ro(Wo())}const Xo=e=>e.stopPropagation();function Zo(e,t){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault(),t&&Xo(e)}function Ko(e){const t=r(e);if(!t)return!1;const l=window.getComputedStyle(t),a="none"===l.display,n=null===t.offsetParent&&"fixed"!==l.position;return a||n}const{width:Go,height:Jo}=n();function Qo(e){if(o(e))return i(e)?`${e}px`:String(e)}function ei(e){if(o(e)){if(Array.isArray(e))return{width:Qo(e[0]),height:Qo(e[1])};const t=Qo(e);return{width:t,height:t}}}function ti(e){const t={};return void 0!==e&&(t.zIndex=+e),t}let li;function ai(e){return+(e=e.replace(/rem/g,""))*function(){if(!li){const e=document.documentElement,t=e.style.fontSize||window.getComputedStyle(e).fontSize;li=parseFloat(t)}return li}()}function ni(e){if("number"==typeof e)return e;if(u){if(e.includes("rem"))return ai(e);if(e.includes("vw"))return function(e){return+(e=e.replace(/vw/g,""))*Go.value/100}(e);if(e.includes("vh"))return function(e){return+(e=e.replace(/vh/g,""))*Jo.value/100}(e)}return parseFloat(e)}const ri=/-(\w)/g,oi=e=>e.replace(ri,((e,t)=>t.toUpperCase()));function ii(e,t=2){let l=e+"";for(;l.length<t;)l="0"+l;return l}const ui=(e,t,l)=>Math.min(Math.max(e,t),l);function si(e,t,l){const a=e.indexOf(t);return-1===a?e:"-"===t&&0!==a?e.slice(0,a):e.slice(0,a+1)+e.slice(a).replace(l,"")}function ci(e,t=!0,l=!0){e=t?si(e,".",/\./g):e.split(".")[0];const a=t?/[^-0-9.]/g:/[^-0-9]/g;return(e=l?si(e,"-",/-/g):e.replace(/-/,"")).replace(a,"")}function di(e,t){const l=10**10;return Math.round((e+t)*l)/l}const{hasOwnProperty:fi}=Object.prototype;function vi(e,t){return Object.keys(t).forEach((l=>{!function(e,t,l){const a=t[l];o(a)&&(fi.call(e,l)&&s(a)?e[l]=vi(Object(e[l]),a):e[l]=a)}(e,t,l)})),e}const pi=c("zh-CN"),mi=d({"zh-CN":{name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,t)=>`${e}${t}`,rangePrompt:e=>`最多选择 ${e}`},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:e=>`${e}`,condition:e=>`${e}元可用`},vanCouponCell:{title:"优惠券",count:e=>`${e}张可用`},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码不正确",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}}});var bi={messages:()=>mi[pi.value],use(e,t){pi.value=e,this.add({[e]:t})},add(e={}){vi(mi,e)}};function hi(e){const t=oi(e)+".";return(e,...l)=>{const a=bi.messages(),n=f(a,t+e)||f(a,e);return v(n)?n(...l):n}}function gi(e,t){return t?"string"==typeof t?` ${e}--${t}`:Array.isArray(t)?t.reduce(((t,l)=>t+gi(e,l)),""):Object.keys(t).reduce(((l,a)=>l+(t[a]?gi(e,a):"")),""):""}function yi(e){return(t,l)=>(t&&"string"!=typeof t&&(l=t,t=""),`${t=t?`${e}__${t}`:e}${gi(t,l)}`)}function wi(e){const t=`van-${e}`;return[t,yi(t),hi(t)]}const xi="van-hairline",Vi=`${xi}--bottom`,Si=`${xi}--surround`,_i=`${xi}--top-bottom`,zi=`${xi}-unset--top-bottom`,ki="van-haptics-feedback",Ci=Symbol("van-form");function Mi(e,{args:t=[],done:l,canceled:a}){if(e){const n=e.apply(null,t);p(n)?n.then((e=>{e?l():a&&a()})).catch(m):n?l():a&&a()}else l()}function ji(e){return e.install=t=>{const{name:l}=e;t.component(l,e),t.component(oi(`-${l}`),e)},e}function $i(e,t){const l=(e=>{const t=c(),l=()=>{t.value=g(e).height};return b((()=>{h(l),setTimeout(l,100)})),t})(e);return e=>y("div",{class:t("placeholder"),style:{height:l.value?`${l.value}px`:void 0}},[e()])}function Oi(e){const t=x();t&&w(t.proxy,e)}const Ti={to:[String,Object],url:String,replace:Boolean};function Bi(){const e=x().proxy;return()=>function({to:e,url:t,replace:l,$router:a}){e&&a?a[l?"replace":"push"](e):t&&(l?location.replace(t):location.href=t)}(e)}const[Ai,Pi]=wi("badge");const Ii=ji(V({name:Ai,props:{dot:Boolean,max:Io,tag:Yo("div"),color:String,offset:Array,content:Io,showZero:Ho,position:Yo("top-right")},setup(e,{slots:t}){const l=()=>{if(t.content)return!0;const{content:l,showZero:a}=e;return o(l)&&""!==l&&(a||0!==l)},a=()=>{const{dot:a,max:n,content:r}=e;if(!a&&l())return t.content?t.content():o(n)&&i(r)&&+r>n?`${n}+`:r},n=S((()=>{const l={background:e.color};if(e.offset){const[a,n]=e.offset;t.default?(l.top=Qo(n),l.right="number"==typeof a?Qo(-a):a.startsWith("-")?a.replace("-",""):`-${a}`):(l.marginTop=Qo(n),l.marginLeft=Qo(a))}return l})),r=()=>{if(l()||e.dot)return y("div",{class:Pi([e.position,{dot:e.dot,fixed:!!t.default}]),style:n.value},[a()])};return()=>{if(t.default){const{tag:l}=e;return y(l,{class:Pi("wrapper")},{default:()=>[t.default(),r()]})}return r()}}})),[Hi,Di]=wi("config-provider"),Li=Symbol(Hi);V({name:Hi,props:{tag:Yo("div"),themeVars:Object,iconPrefix:String},setup(e,{slots:t}){const l=S((()=>{if(e.themeVars)return function(e){const t={};return Object.keys(e).forEach((l=>{var a;t[`--van-${a=l,a.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,"")}`]=e[l]})),t}(e.themeVars)}));return _(Li,e),()=>y(e.tag,{class:Di(),style:l.value},{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t)]}})}});const[Ni,Ei]=wi("icon");const Yi=ji(V({name:Ni,props:{dot:Boolean,tag:Yo("i"),name:String,size:Io,badge:Io,color:String,badgeProps:Object,classPrefix:String},setup(e,{slots:t}){const l=z(Li,null),a=S((()=>e.classPrefix||(null==l?void 0:l.iconPrefix)||Ei()));return()=>{const{tag:l,dot:n,name:r,size:o,badge:i,color:u}=e,s=(e=>null==e?void 0:e.includes("/"))(r);return y(Ii,k({dot:n,tag:l,class:[a.value,s?"":`${a.value}-${r}`],style:{color:u,fontSize:Qo(o)},content:i},e.badgeProps),{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t),s&&y("img",{class:Ei("image"),src:r},null)]}})}}})),[Fi,Wi]=wi("loading"),Ri=Array(12).fill(null).map(((e,t)=>y("i",{class:Wi("line",String(t+1))},null))),qi=y("svg",{class:Wi("circular"),viewBox:"25 25 50 50"},[y("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]);const Ui=ji(V({name:Fi,props:{size:Io,type:Yo("circular"),color:String,vertical:Boolean,textSize:Io,textColor:String},setup(e,{slots:t}){const l=S((()=>w({color:e.color},ei(e.size)))),a=()=>{var l;if(t.default)return y("span",{class:Wi("text"),style:{fontSize:Qo(e.textSize),color:null!=(l=e.textColor)?l:e.color}},[t.default()])};return()=>{const{type:t,vertical:n}=e;return y("div",{class:Wi([t,{vertical:n}]),"aria-live":"polite","aria-busy":!0},[y("span",{class:Wi("spinner",t),style:l.value},["spinner"===t?Ri:qi]),a()])}}})),[Xi,Zi]=wi("button");const Ki=ji(V({name:Xi,props:w({},Ti,{tag:Yo("button"),text:String,icon:String,type:Yo("default"),size:Yo("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:Yo("button"),loadingSize:Io,loadingText:String,loadingType:String,iconPosition:Yo("left")}),emits:["click"],setup(e,{emit:t,slots:l}){const a=Bi(),n=()=>e.loading?l.loading?l.loading():y(Ui,{size:e.loadingSize,type:e.loadingType,class:Zi("loading")},null):l.icon?y("div",{class:Zi("icon")},[l.icon()]):e.icon?y(Yi,{name:e.icon,class:Zi("icon"),classPrefix:e.iconPrefix},null):void 0,r=()=>{let t;if(t=e.loading?e.loadingText:l.default?l.default():e.text,t)return y("span",{class:Zi("text")},[t])},o=()=>{const{color:t,plain:l}=e;if(t){const e={color:l?t:"white"};return l||(e.background=t),t.includes("gradient")?e.border=0:e.borderColor=t,e}},i=l=>{e.loading?Zo(l):e.disabled||(t("click",l),a())};return()=>{const{tag:t,type:l,size:a,block:u,round:s,plain:c,square:d,loading:f,disabled:v,hairline:p,nativeType:m,iconPosition:b}=e,h=[Zi([l,a,{plain:c,block:u,round:s,square:d,loading:f,disabled:v,hairline:p}]),{[Si]:p}];return y(t,{type:m,class:h,style:o(),disabled:v,onClick:i},{default:()=>[y("div",{class:Zi("content")},["left"===b&&n(),r(),"right"===b&&n()])]})}}})),Gi={show:Boolean,zIndex:Io,overlay:Ho,duration:Io,teleport:[String,Object],lockScroll:Ho,lazyRender:Ho,beforeClose:Function,overlayStyle:Object,overlayClass:null,transitionAppear:Boolean,closeOnClickOverlay:Ho};function Ji(){const e=c(0),t=c(0),l=c(0),a=c(0),n=c(0),r=c(0),o=c(""),i=()=>{l.value=0,a.value=0,n.value=0,r.value=0,o.value=""};return{move:i=>{const u=i.touches[0];l.value=(u.clientX<0?0:u.clientX)-e.value,a.value=u.clientY-t.value,n.value=Math.abs(l.value),r.value=Math.abs(a.value);var s,c;(!o.value||n.value<10&&r.value<10)&&(o.value=(s=n.value,c=r.value,s>c?"horizontal":c>s?"vertical":""))},start:l=>{i(),e.value=l.touches[0].clientX,t.value=l.touches[0].clientY},reset:i,startX:e,startY:t,deltaX:l,deltaY:a,offsetX:n,offsetY:r,direction:o,isVertical:()=>"vertical"===o.value,isHorizontal:()=>"horizontal"===o.value}}let Qi=0;function eu(e){const t=c(!1);return $(e,(e=>{e&&(t.value=e)}),{immediate:!0}),e=>()=>t.value?e():null}const tu=Symbol();function lu(e){const t=z(tu,null);t&&$(t,(t=>{t&&e()}))}const[au,nu]=wi("overlay");const ru=ji(V({name:au,props:{show:Boolean,zIndex:Io,duration:Io,className:null,lockScroll:Ho,lazyRender:Ho,customStyle:Object},setup(e,{slots:t}){const l=eu((()=>e.show||!e.lazyRender)),a=e=>{Zo(e,!0)},n=l((()=>{var l;const n=w(ti(e.zIndex),e.customStyle);return o(e.duration)&&(n.animationDuration=`${e.duration}s`),B(y("div",{style:n,class:[nu(),e.className],onTouchmove:e.lockScroll?a:m},[null==(l=t.default)?void 0:l.call(t)]),[[A,e.show]])}));return()=>y(T,{name:"van-fade",appear:!0},{default:n})}})),ou=w({},Gi,{round:Boolean,position:Yo("center"),closeIcon:Yo("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:Yo("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[iu,uu]=wi("popup");let su=2e3;const cu=ji(V({name:iu,inheritAttrs:!1,props:ou,emits:["open","close","opened","closed","keydown","update:show","click-overlay","click-close-icon"],setup(e,{emit:t,attrs:l,slots:a}){let n,r;const i=c(),u=c(),s=eu((()=>e.show||!e.lazyRender)),d=S((()=>{const t={zIndex:i.value};if(o(e.duration)){t["center"===e.position?"animationDuration":"transitionDuration"]=`${e.duration}s`}return t})),f=()=>{n||(void 0!==e.zIndex&&(su=+e.zIndex),n=!0,i.value=++su,t("open"))},v=()=>{n&&Mi(e.beforeClose,{done(){n=!1,t("close"),t("update:show",!1)}})},p=l=>{t("click-overlay",l),e.closeOnClickOverlay&&v()},m=()=>{if(e.overlay)return y(ru,{show:e.show,class:e.overlayClass,zIndex:i.value,duration:e.duration,customStyle:e.overlayStyle,onClick:p},{default:a["overlay-content"]})},g=e=>{t("click-close-icon",e),v()},w=()=>{if(e.closeable)return y(Yi,{role:"button",tabindex:0,name:e.closeIcon,class:[uu("close-icon",e.closeIconPosition),ki],classPrefix:e.iconPrefix,onClick:g},null)},x=()=>t("opened"),V=()=>t("closed"),z=e=>t("keydown",e),L=s((()=>{var t;const{round:n,position:r,safeAreaInsetTop:o,safeAreaInsetBottom:i}=e;return B(y("div",k({ref:u,style:d.value,class:[uu({round:n,[r]:r}),{"van-safe-area-top":o,"van-safe-area-bottom":i}],onKeydown:z},l),[null==(t=a.default)?void 0:t.call(a),w()]),[[A,e.show]])})),N=()=>{const{position:t,transition:l,transitionAppear:a}=e;return y(T,{name:l||("center"===t?"van-fade":`van-popup-slide-${t}`),appear:a,onAfterEnter:x,onAfterLeave:V},{default:L})};return $((()=>e.show),(e=>{e&&!n&&(f(),0===l.tabindex&&h((()=>{var e;null==(e=u.value)||e.focus()}))),!e&&n&&(n=!1,t("close"))})),Oi({popupRef:u}),function(e,t){const l=Ji(),a=t=>{l.move(t);const a=l.deltaY.value>0?"10":"01",n=O(t.target,e.value),{scrollHeight:r,offsetHeight:o,scrollTop:i}=n;let u="11";0===i?u=o>=r?"00":"01":i+o>=r&&(u="10"),"11"===u||!l.isVertical()||parseInt(u,2)&parseInt(a,2)||Zo(t,!0)},n=()=>{document.addEventListener("touchstart",l.start),document.addEventListener("touchmove",a,{passive:!1}),Qi||document.body.classList.add("van-overflow-hidden"),Qi++},r=()=>{Qi&&(document.removeEventListener("touchstart",l.start),document.removeEventListener("touchmove",a),Qi--,Qi||document.body.classList.remove("van-overflow-hidden"))},o=()=>t()&&r();C((()=>t()&&n())),M(o),j(o),$(t,(e=>{e?n():r()}))}(u,(()=>e.show&&e.lockScroll)),P("popstate",(()=>{e.closeOnPopstate&&(v(),r=!1)})),b((()=>{e.show&&f()})),I((()=>{r&&(t("update:show",!0),r=!1)})),M((()=>{e.show&&e.teleport&&(v(),r=!0)})),_(tu,(()=>e.show)),()=>e.teleport?y(H,{to:e.teleport},{default:()=>[m(),N()]}):y(D,null,[m(),N()])}}));function du(e){if(!o(e))return e;if(Array.isArray(e))return e.map((e=>du(e)));if(s(e)){const t={};return Object.keys(e).forEach((l=>{t[l]=du(e[l])})),t}return e}const[fu,vu]=wi("picker-column");const pu=Symbol(fu),mu=e=>s(e)&&e.disabled;var bu=V({name:fu,props:{textKey:Do(String),readonly:Boolean,allowHtml:Boolean,className:null,itemHeight:Do(Number),defaultIndex:No(0),swipeDuration:Do(Io),initialOptions:Lo(),visibleItemCount:Do(Io)},emits:["change"],setup(e,{emit:t,slots:l}){let a,n,r,o,i;const u=c(),f=d({index:e.defaultIndex,offset:0,duration:0,options:du(e.initialOptions)}),v=Ji(),p=()=>f.options.length,m=()=>e.itemHeight*(+e.visibleItemCount-1)/2,b=(l,n)=>{const r=-(l=(e=>{for(let t=e=ui(e,0,p());t<p();t++)if(!mu(f.options[t]))return t;for(let t=e-1;t>=0;t--)if(!mu(f.options[t]))return t})(l)||0)*e.itemHeight,o=()=>{l!==f.index&&(f.index=l,n&&t("change",l))};a&&r!==f.offset?i=o:o(),f.offset=r},h=t=>{JSON.stringify(t)!==JSON.stringify(f.options)&&(f.options=du(t),b(e.defaultIndex))},g=t=>s(t)&&e.textKey in t?t[e.textKey]:t,w=t=>ui(Math.round(-t/e.itemHeight),0,p()-1),x=()=>{a=!1,f.duration=0,i&&(i(),i=null)},V=t=>{if(!e.readonly){if(v.start(t),a){const e=function(e){const{transform:t}=window.getComputedStyle(e),l=t.slice(7,t.length-1).split(", ")[5];return Number(l)}(u.value);f.offset=Math.min(0,e-m()),n=f.offset}else n=f.offset;f.duration=0,r=Date.now(),o=n,i=null}},S=t=>{if(e.readonly)return;v.move(t),v.isVertical()&&(a=!0,Zo(t,!0)),f.offset=ui(n+v.deltaY.value,-p()*e.itemHeight,e.itemHeight);const l=Date.now();l-r>300&&(r=l,o=f.offset)},_=()=>{if(e.readonly)return;const t=f.offset-o,l=Date.now()-r;if(l<300&&Math.abs(t)>15)return void((t,l)=>{const a=Math.abs(t/l);t=f.offset+a/.003*(t<0?-1:1);const n=w(t);f.duration=+e.swipeDuration,b(n,!0)})(t,l);const n=w(f.offset);f.duration=200,b(n,!0),setTimeout((()=>{a=!1}),0)},z=()=>{const t={height:`${e.itemHeight}px`};return f.options.map(((n,r)=>{const o=g(n),u=mu(n),s={role:"button",style:t,tabindex:u?-1:0,class:vu("item",{disabled:u,selected:r===f.index}),onClick:()=>(t=>{a||e.readonly||(i=null,f.duration=200,b(t,!0))})(r)},c={class:"van-ellipsis",[e.allowHtml?"innerHTML":"textContent"]:o};return y("li",s,[l.option?l.option(n):y("div",c,null)])}))};return b(f.index),L(pu),Oi({state:f,setIndex:b,getValue:()=>f.options[f.index],setValue:e=>{const{options:t}=f;for(let l=0;l<t.length;l++)if(g(t[l])===e)return b(l)},setOptions:h,hasOptions:()=>f.options.length,stopMomentum:x}),$((()=>e.initialOptions),h),$((()=>e.defaultIndex),(e=>b(e))),()=>y("div",{class:[vu(),e.className],onTouchstart:V,onTouchmove:S,onTouchend:_,onTouchcancel:_},[y("ul",{ref:u,style:{transform:`translate3d(0, ${f.offset+m()}px, 0)`,transitionDuration:`${f.duration}ms`,transitionProperty:f.duration?"all":"none"},class:vu("wrapper"),onTransitionend:x},[z()])])}});const[hu,gu,yu]=wi("picker"),wu={title:String,loading:Boolean,readonly:Boolean,allowHtml:Boolean,itemHeight:Eo(44),showToolbar:Ho,swipeDuration:Eo(1e3),visibleItemCount:Eo(6),cancelButtonText:String,confirmButtonText:String};const xu=ji(V({name:hu,props:w({},wu,{columns:Lo(),valueKey:String,defaultIndex:Eo(0),toolbarPosition:Yo("top"),columnsFieldNames:Object}),emits:["confirm","cancel","change"],setup(e,{emit:t,slots:l}){const a=c(!1),n=c([]),r=S((()=>{const{columnsFieldNames:t}=e;return{text:(null==t?void 0:t.text)||e.valueKey||"text",values:(null==t?void 0:t.values)||"values",children:(null==t?void 0:t.children)||"children"}})),{children:o,linkChildren:i}=N(pu);i();const u=S((()=>ni(e.itemHeight))),s=S((()=>{const t=e.columns[0];if("object"==typeof t){if(r.value.children in t)return"cascade";if(r.value.values in t)return"object"}return"plain"})),d=()=>o.map((e=>e.state.index)),f=(e,t)=>{const l=o[e];l&&(l.setOptions(t),a.value=!0)},v=t=>{let l={[r.value.children]:e.columns};const a=d();for(let e=0;e<=t;e++)l=l[r.value.children][a[e]];for(;l&&l[r.value.children];)t++,f(t,l[r.value.children]),l=l[r.value.children][l.defaultIndex||0]},p=e=>o[e],m=e=>{const t=p(e);if(t)return t.getValue()},b=(e,t)=>{const l=p(e);l&&(l.setValue(t),"cascade"===s.value&&v(e))},h=e=>{const t=p(e);if(t)return t.state.index},g=(e,t)=>{const l=p(e);l&&(l.setIndex(t),"cascade"===s.value&&v(e))},w=()=>o.map((e=>e.getValue())),x=e=>{"plain"===s.value?t(e,m(0),h(0)):t(e,w(),d())},V=()=>{o.forEach((e=>e.stopMomentum())),x("confirm")},_=()=>x("cancel"),z=()=>{const t=e.cancelButtonText||yu("cancel");return y("button",{type:"button",class:[gu("cancel"),ki],onClick:_},[l.cancel?l.cancel():t])},k=()=>{const t=e.confirmButtonText||yu("confirm");return y("button",{type:"button",class:[gu("confirm"),ki],onClick:V},[l.confirm?l.confirm():t])},C=()=>{if(e.showToolbar){const t=l.toolbar||l.default;return y("div",{class:gu("toolbar")},[t?t():[z(),l.title?l.title():e.title?y("div",{class:[gu("title"),"van-ellipsis"]},[e.title]):void 0,k()]])}},M=()=>n.value.map(((a,n)=>{var o;return y(bu,{textKey:r.value.text,readonly:e.readonly,allowHtml:e.allowHtml,className:a.className,itemHeight:u.value,defaultIndex:null!=(o=a.defaultIndex)?o:+e.defaultIndex,swipeDuration:e.swipeDuration,initialOptions:a[r.value.values],visibleItemCount:e.visibleItemCount,onChange:()=>(e=>{"cascade"===s.value&&v(e),"plain"===s.value?t("change",m(0),h(0)):t("change",w(),e)})(n)},{option:l.option})})),j=e=>{if(a.value){const t={height:`${u.value}px`},l={backgroundSize:`100% ${(e-u.value)/2}px`};return[y("div",{class:gu("mask"),style:l},null),y("div",{class:[zi,gu("frame")],style:t},null)]}},O=()=>{const t=u.value*+e.visibleItemCount,l={height:`${t}px`};return y("div",{class:gu("columns"),style:l,onTouchmove:Zo},[M(),j(t)])};return $((()=>e.columns),(()=>{const{columns:t}=e;"plain"===s.value?n.value=[{[r.value.values]:t}]:"cascade"===s.value?(()=>{var t;const l=[];let a={[r.value.children]:e.columns};for(;a&&a[r.value.children];){const n=a[r.value.children];let o=null!=(t=a.defaultIndex)?t:+e.defaultIndex;for(;n[o]&&n[o].disabled;){if(!(o<n.length-1)){o=0;break}o++}l.push({[r.value.values]:a[r.value.children],className:a.className,defaultIndex:o}),a=n[o]}n.value=l})():n.value=t,a.value=n.value.some((e=>e[r.value.values]&&0!==e[r.value.values].length))||o.some((e=>e.hasOptions))}),{immediate:!0}),Oi({confirm:V,getValues:w,setValues:e=>{e.forEach(((e,t)=>{b(t,e)}))},getIndexes:d,setIndexes:e=>{e.forEach(((e,t)=>{g(t,e)}))},getColumnIndex:h,setColumnIndex:g,getColumnValue:m,setColumnValue:b,getColumnValues:e=>{const t=p(e);if(t)return t.state.options},setColumnValues:f}),()=>{var t,a;return y("div",{class:gu()},["top"===e.toolbarPosition?C():null,e.loading?y(Ui,{class:gu("loading")},null):null,null==(t=l["columns-top"])?void 0:t.call(l),O(),null==(a=l["columns-bottom"])?void 0:a.call(l),"bottom"===e.toolbarPosition?C():null])}}})),[Vu,Su]=wi("cell"),_u={icon:String,size:String,title:Io,value:Io,label:Io,center:Boolean,isLink:Boolean,border:Ho,required:Boolean,iconPrefix:String,valueClass:null,labelClass:null,titleClass:null,titleStyle:null,arrowDirection:String,clickable:{type:Boolean,default:null}};const zu=ji(V({name:Vu,props:w({},_u,Ti),setup(e,{slots:t}){const l=Bi(),a=()=>{if(t.label||o(e.label))return y("div",{class:[Su("label"),e.labelClass]},[t.label?t.label():e.label])},n=()=>{if(t.title||o(e.title))return y("div",{class:[Su("title"),e.titleClass],style:e.titleStyle},[t.title?t.title():y("span",null,[e.title]),a()])},r=()=>{const l=t.value||t.default;if(l||o(e.value)){const a=t.title||o(e.title);return y("div",{class:[Su("value",{alone:!a}),e.valueClass]},[l?l():y("span",null,[e.value])])}},i=()=>{if(t["right-icon"])return t["right-icon"]();if(e.isLink){const t=e.arrowDirection?`arrow-${e.arrowDirection}`:"arrow";return y(Yi,{name:t,class:Su("right-icon")},null)}};return()=>{var a,o;const{size:u,center:s,border:c,isLink:d,required:f}=e,v=null!=(a=e.clickable)?a:d,p={center:s,required:f,clickable:v,borderless:!c};return u&&(p[u]=!!u),y("div",{class:Su(p),role:v?"button":void 0,tabindex:v?0:void 0,onClick:l},[t.icon?t.icon():e.icon?y(Yi,{name:e.icon,class:Su("left-icon"),classPrefix:e.iconPrefix},null):void 0,n(),r(),i(),null==(o=t.extra)?void 0:o.call(t)])}}})),[ku,Cu]=wi("form");const Mu=ji(V({name:ku,props:{colon:Boolean,disabled:Boolean,readonly:Boolean,showError:Boolean,labelWidth:Io,labelAlign:String,inputAlign:String,scrollToError:Boolean,validateFirst:Boolean,submitOnEnter:Ho,showErrorMessage:Ho,errorMessageAlign:String,validateTrigger:{type:[String,Array],default:"onBlur"}},emits:["submit","failed"],setup(e,{emit:t,slots:l}){const{children:a,linkChildren:n}=N(Ci),r=e=>e?a.filter((t=>e.includes(t.name))):a,o=t=>{return"string"==typeof t?(e=>{const t=a.find((t=>t.name===e));return t?new Promise(((e,l)=>{t.validate().then((t=>{t?l(t):e()}))})):Promise.reject()})(t):e.validateFirst?(l=t,new Promise(((e,t)=>{const a=[];r(l).reduce(((e,t)=>e.then((()=>{if(!a.length)return t.validate().then((e=>{e&&a.push(e)}))}))),Promise.resolve()).then((()=>{a.length?t(a):e()}))}))):(e=>new Promise(((t,l)=>{const a=r(e);Promise.all(a.map((e=>e.validate()))).then((e=>{(e=e.filter(Boolean)).length?l(e):t()}))})))(t);var l},i=(e,t)=>{a.some((l=>l.name===e&&(l.$el.scrollIntoView(t),!0)))},u=()=>a.reduce(((e,t)=>(e[t.name]=t.formValue.value,e)),{}),s=()=>{const l=u();o().then((()=>t("submit",l))).catch((a=>{t("failed",{values:l,errors:a}),e.scrollToError&&a[0].name&&i(a[0].name)}))},c=e=>{Zo(e),s()};return n({props:e}),Oi({submit:s,validate:o,getValues:u,scrollToField:i,resetValidation:e=>{"string"==typeof e&&(e=[e]);r(e).forEach((e=>{e.resetValidation()}))},getValidationStatus:()=>a.reduce(((e,t)=>(e[t.name]=t.getValidationStatus(),e)),{})}),()=>{var e;return y("form",{class:Cu(),onSubmit:c},[null==(e=l.default)?void 0:e.call(l)])}}}));function ju(e,t){return(!t.required||!function(e){return Array.isArray(e)?!e.length:0!==e&&!e}(e))&&!(t.pattern&&!t.pattern.test(String(e)))}function $u(e,t){const{message:l}=t;return v(l)?l(e,t):l||""}function Ou({target:e}){e.composing=!0}function Tu({target:e}){e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}function Bu(e){return[...e].length}let Au=0;const[Pu,Iu]=wi("field"),Hu={id:String,name:String,leftIcon:String,rightIcon:String,autofocus:Boolean,clearable:Boolean,maxlength:Io,formatter:Function,clearIcon:Yo("clear"),modelValue:Eo(""),inputAlign:String,placeholder:String,autocomplete:String,errorMessage:String,enterkeyhint:String,clearTrigger:Yo("focus"),formatTrigger:Yo("onChange"),error:{type:Boolean,default:null},disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null}};var Du=V({name:Pu,props:w({},_u,Hu,{rows:Io,type:Yo("text"),rules:Array,autosize:[Boolean,Object],labelWidth:Io,labelClass:null,labelAlign:String,showWordLimit:Boolean,errorMessageAlign:String,colon:{type:Boolean,default:null}}),emits:["blur","focus","clear","keypress","click-input","end-validate","start-validate","click-left-icon","click-right-icon","update:modelValue"],setup(e,{emit:t,slots:l}){const a=function(){const e=x(),{name:t="unknown"}=(null==e?void 0:e.type)||{};return`${t}-${++Au}`}(),n=d({status:"unvalidated",focused:!1,validateMessage:""}),r=c(),i=c(),{parent:u}=L(Ci),f=()=>{var t;return String(null!=(t=e.modelValue)?t:"")},v=t=>o(e[t])?e[t]:u&&o(u.props[t])?u.props[t]:void 0,m=S((()=>{const t=v("readonly");if(e.clearable&&!t){const t=""!==f(),l="always"===e.clearTrigger||"focus"===e.clearTrigger&&n.focused;return t&&l}return!1})),g=S((()=>i.value&&l.input?i.value():e.modelValue)),w=e=>e.reduce(((e,t)=>e.then((()=>{if("failed"===n.status)return;let{value:e}=g;return t.formatter&&(e=t.formatter(e,t)),ju(e,t)?t.validator?function(e,t){return new Promise((l=>{const a=t.validator(e,t);p(a)?a.then(l):l(a)}))}(e,t).then((l=>{l&&"string"==typeof l?(n.status="failed",n.validateMessage=l):!1===l&&(n.status="failed",n.validateMessage=$u(e,t))})):void 0:(n.status="failed",void(n.validateMessage=$u(e,t)))}))),Promise.resolve()),V=()=>{n.status="unvalidated",n.validateMessage=""},z=()=>t("end-validate",{status:n.status}),C=(l=e.rules)=>new Promise((a=>{V(),l?(t("start-validate"),w(l).then((()=>{"failed"===n.status?(a({name:e.name,message:n.validateMessage}),z()):(n.status="passed",a(),z())}))):a()})),M=t=>{if(u&&e.rules){const{validateTrigger:l}=u.props,a=E(l).includes(t),n=e.rules.filter((e=>e.trigger?E(e.trigger).includes(t):a));n.length&&C(n)}},j=(l,a="onChange")=>{if(l=(t=>{const{maxlength:l}=e;if(o(l)&&Bu(t)>l){const e=f();return e&&Bu(e)===+l?e:function(e,t){return[...e].slice(0,t).join("")}(t,+l)}return t})(l),"number"===e.type||"digit"===e.type){const t="number"===e.type;l=ci(l,t,t)}e.formatter&&a===e.formatTrigger&&(l=e.formatter(l)),r.value&&r.value.value!==l&&(r.value.value=l),l!==e.modelValue&&t("update:modelValue",l)},O=e=>{e.target.composing||j(e.target.value)},T=()=>{var e;return null==(e=r.value)?void 0:e.blur()},B=()=>{const t=r.value;"textarea"===e.type&&e.autosize&&t&&function(e,t){const l=Wo();e.style.height="auto";let a=e.scrollHeight;if(s(t)){const{maxHeight:e,minHeight:l}=t;void 0!==e&&(a=Math.min(a,e)),void 0!==l&&(a=Math.max(a,l))}a&&(e.style.height=`${a}px`,Ro(l))}(t,e.autosize)},A=e=>{n.focused=!0,t("focus",e),h(B),v("readonly")&&T()},P=e=>{v("readonly")||(n.focused=!1,j(f(),"onBlur"),t("blur",e),M("onBlur"),h(B),Uo())},I=e=>t("click-input",e),H=e=>t("click-left-icon",e),D=e=>t("click-right-icon",e),N=e=>{Zo(e),t("update:modelValue",""),t("clear",e)},W=S((()=>"boolean"==typeof e.error?e.error:!(!u||!u.props.showError||"failed"!==n.status)||void 0)),R=S((()=>{const e=v("labelWidth");if(e)return{width:Qo(e)}})),q=l=>{if(13===l.keyCode){u&&u.props.submitOnEnter||"textarea"===e.type||Zo(l),"search"===e.type&&T()}t("keypress",l)},U=()=>e.id||`${a}-input`,X=()=>{const t=Iu("control",[v("inputAlign"),{error:W.value,custom:!!l.input,"min-height":"textarea"===e.type&&!e.autosize}]);if(l.input)return y("div",{class:t,onClick:I},[l.input()]);const n={id:U(),ref:r,name:e.name,rows:void 0!==e.rows?+e.rows:void 0,class:t,disabled:v("disabled"),readonly:v("readonly"),autofocus:e.autofocus,placeholder:e.placeholder,autocomplete:e.autocomplete,enterkeyhint:e.enterkeyhint,"aria-labelledby":e.label?`${a}-label`:void 0,onBlur:P,onFocus:A,onInput:O,onClick:I,onChange:Tu,onKeypress:q,onCompositionend:Tu,onCompositionstart:Ou};return"textarea"===e.type?y("textarea",n,null):y("input",k("number"===(o=e.type)?{type:"text",inputmode:"decimal"}:"digit"===o?{type:"tel",inputmode:"numeric"}:{type:o},n),null);var o},Z=()=>{const t=l["right-icon"];if(e.rightIcon||t)return y("div",{class:Iu("right-icon"),onClick:D},[t?t():y(Yi,{name:e.rightIcon,classPrefix:e.iconPrefix},null)])},K=()=>{if(e.showWordLimit&&e.maxlength){const t=Bu(f());return y("div",{class:Iu("word-limit")},[y("span",{class:Iu("word-num")},[t]),F("/"),e.maxlength])}},G=()=>{if(u&&!1===u.props.showErrorMessage)return;const t=e.errorMessage||n.validateMessage;if(t){const e=l["error-message"],a=v("errorMessageAlign");return y("div",{class:Iu("error-message",a)},[e?e({message:t}):t])}},J=()=>[y("div",{class:Iu("body")},[X(),m.value&&y(Yi,{name:e.clearIcon,class:Iu("clear"),onTouchstart:N},null),Z(),l.button&&y("div",{class:Iu("button")},[l.button()])]),K(),G()];return Oi({blur:T,focus:()=>{var e;return null==(e=r.value)?void 0:e.focus()},validate:C,formValue:g,resetValidation:V,getValidationStatus:()=>n.status}),_(Y,{customValue:i,resetValidation:V,validateWithTrigger:M}),$((()=>e.modelValue),(()=>{j(f()),V(),M("onChange"),h(B)})),b((()=>{j(f(),e.formatTrigger),h(B)})),()=>{const t=v("disabled"),n=v("labelAlign"),r=(()=>{const t=v("colon")?":":"";return l.label?[l.label(),t]:e.label?y("label",{id:`${a}-label`,for:U()},[e.label+t]):void 0})(),o=(()=>{const t=l["left-icon"];if(e.leftIcon||t)return y("div",{class:Iu("left-icon"),onClick:H},[t?t():y(Yi,{name:e.leftIcon,classPrefix:e.iconPrefix},null)])})();return y(zu,{size:e.size,icon:e.leftIcon,class:Iu({error:W.value,disabled:t,[`label-${n}`]:n}),center:e.center,border:e.border,isLink:e.isLink,clickable:e.clickable,titleStyle:R.value,valueClass:Iu("value"),titleClass:[Iu("label",[n,{required:e.required}]),e.labelClass],arrowDirection:e.arrowDirection},{icon:o?()=>o:null,title:r?()=>r:null,value:J,extra:l.extra})}}});const Lu=ji(Du),[Nu,Eu]=wi("switch");const Yu=ji(V({name:Nu,props:{size:Io,loading:Boolean,disabled:Boolean,modelValue:null,activeColor:String,inactiveColor:String,activeValue:{type:null,default:!0},inactiveValue:{type:null,default:!1}},emits:["change","update:modelValue"],setup(e,{emit:t,slots:l}){const a=()=>e.modelValue===e.activeValue,n=()=>{if(!e.disabled&&!e.loading){const l=a()?e.inactiveValue:e.activeValue;t("update:modelValue",l),t("change",l)}},r=()=>{if(e.loading){const t=a()?e.activeColor:e.inactiveColor;return y(Ui,{class:Eu("loading"),color:t},null)}if(l.node)return l.node()};return W((()=>e.modelValue)),()=>{var t;const{size:o,loading:i,disabled:u,activeColor:s,inactiveColor:c}=e,d=a(),f={fontSize:Qo(o),backgroundColor:d?s:c};return y("div",{role:"switch",class:Eu({on:d,loading:i,disabled:u}),style:f,tabindex:u?void 0:0,"aria-checked":d,onClick:n},[y("div",{class:Eu("node")},[r()]),null==(t=l.background)?void 0:t.call(l)])}}})),[Fu,Wu]=wi("radio-group"),Ru={disabled:Boolean,iconSize:Io,direction:String,modelValue:null,checkedColor:String},qu=Symbol(Fu);const Uu=ji(V({name:Fu,props:Ru,emits:["change","update:modelValue"],setup(e,{emit:t,slots:l}){const{linkChildren:a}=N(qu);return $((()=>e.modelValue),(e=>t("change",e))),a({props:e,updateValue:e=>t("update:modelValue",e)}),W((()=>e.modelValue)),()=>{var t;return y("div",{class:Wu([e.direction]),role:"radiogroup"},[null==(t=l.default)?void 0:t.call(l)])}}})),Xu={name:null,shape:Yo("round"),disabled:Boolean,iconSize:Io,modelValue:null,checkedColor:String,labelPosition:String,labelDisabled:Boolean};var Zu=V({props:w({},Xu,{bem:Do(Function),role:String,parent:Object,checked:Boolean,bindGroup:Ho}),emits:["click","toggle"],setup(e,{emit:t,slots:l}){const a=c(),n=t=>{if(e.parent&&e.bindGroup)return e.parent.props[t]},r=S((()=>n("disabled")||e.disabled)),o=S((()=>n("direction"))),i=S((()=>{const t=e.checkedColor||n("checkedColor");if(t&&e.checked&&!r.value)return{borderColor:t,backgroundColor:t}})),u=l=>{const{target:n}=l,o=a.value,i=o===n||(null==o?void 0:o.contains(n));r.value||!i&&e.labelDisabled||t("toggle"),t("click",l)},s=()=>{const{bem:t,shape:o,checked:u}=e,s=e.iconSize||n("iconSize");return y("div",{ref:a,class:t("icon",[o,{disabled:r.value,checked:u}]),style:{fontSize:Qo(s)}},[l.icon?l.icon({checked:u,disabled:r.value}):y(Yi,{name:"success",style:i.value},null)])},d=()=>{if(l.default)return y("span",{class:e.bem("label",[e.labelPosition,{disabled:r.value}])},[l.default()])};return()=>{const t="left"===e.labelPosition?[d(),s()]:[s(),d()];return y("div",{role:e.role,class:e.bem([{disabled:r.value,"label-disabled":e.labelDisabled},o.value]),tabindex:r.value?void 0:0,"aria-checked":e.checked,onClick:u},[t])}}});const[Ku,Gu]=wi("radio");const Ju=ji(V({name:Ku,props:Xu,emits:["update:modelValue"],setup(e,{emit:t,slots:l}){const{parent:a}=L(qu),n=()=>{a?a.updateValue(e.name):t("update:modelValue",e.name)};return()=>y(Zu,k({bem:Gu,role:"radio",parent:a,checked:(a?a.props.modelValue:e.modelValue)===e.name,onToggle:n},e),R(l,["default","icon"]))}}));const Qu=w({},wu,{filter:Function,columnsOrder:Array,formatter:{type:Function,default:(e,t)=>t}}),es=Object.keys(wu);function ts(e,t){if(e<0)return[];const l=Array(e);let a=-1;for(;++a<e;)l[a]=t(a);return l}const ls=(e,t)=>32-new Date(e,t-1,32).getDate(),as=(e,t)=>{const l=["setValues","setIndexes","setColumnIndex","setColumnValue"];return new Proxy(e,{get:(e,a)=>l.includes(a)?(...l)=>{e[a](...l),t()}:e[a]})},[ns,rs]=wi("image");const os=ji(V({name:ns,props:{src:String,alt:String,fit:String,position:String,round:Boolean,width:Io,height:Io,radius:Io,lazyLoad:Boolean,iconSize:Io,showError:Ho,errorIcon:Yo("photo-fail"),iconPrefix:String,showLoading:Ho,loadingIcon:Yo("photo")},emits:["load","error"],setup(e,{emit:t,slots:l}){const a=c(!1),n=c(!0),r=c(),{$Lazyload:i}=x().proxy,s=S((()=>{const t={width:Qo(e.width),height:Qo(e.height)};return o(e.radius)&&(t.overflow="hidden",t.borderRadius=Qo(e.radius)),t}));$((()=>e.src),(()=>{a.value=!1,n.value=!0}));const d=e=>{n.value=!1,t("load",e)},f=e=>{a.value=!0,n.value=!1,t("error",e)},v=(t,l,a)=>a?a():y(Yi,{name:t,size:e.iconSize,class:l,classPrefix:e.iconPrefix},null),p=()=>{if(a.value||!e.src)return;const t={alt:e.alt,class:rs("img"),style:{objectFit:e.fit,objectPosition:e.position}};return e.lazyLoad?B(y("img",k({ref:r},t),null),[[U("lazy"),e.src]]):y("img",k({src:e.src,onLoad:d,onError:f},t),null)},m=({el:e})=>{const t=()=>{e===r.value&&n.value&&d()};r.value?t():h(t)},b=({el:e})=>{e!==r.value||a.value||f()};return i&&u&&(i.$on("loaded",m),i.$on("error",b),j((()=>{i.$off("loaded",m),i.$off("error",b)}))),()=>{var t;return y("div",{class:rs({round:e.round}),style:s.value},[p(),n.value&&e.showLoading?y("div",{class:rs("loading")},[v(e.loadingIcon,rs("loading-icon"),l.loading)]):a.value&&e.showError?y("div",{class:rs("error")},[v(e.errorIcon,rs("error-icon"),l.error)]):void 0,null==(t=l.default)?void 0:t.call(l)])}}})),[is,us]=wi("swipe"),ss={loop:Ho,width:Io,height:Io,vertical:Boolean,autoplay:Eo(0),duration:Eo(500),touchable:Ho,lazyRender:Boolean,initialSwipe:Eo(0),indicatorColor:String,showIndicators:Ho,stopPropagation:Ho},cs=Symbol(is);var ds=V({name:is,props:ss,emits:["change"],setup(e,{emit:t,slots:l}){const a=c(),n=d({rect:null,width:0,height:0,offset:0,active:0,swiping:!1}),r=Ji(),{children:o,linkChildren:i}=N(cs),u=S((()=>o.length)),s=S((()=>n[e.vertical?"height":"width"])),f=S((()=>e.vertical?r.deltaY.value:r.deltaX.value)),v=S((()=>{if(n.rect){return(e.vertical?n.rect.height:n.rect.width)-s.value*u.value}return 0})),p=S((()=>Math.ceil(Math.abs(v.value)/s.value))),m=S((()=>u.value*s.value)),g=S((()=>(n.active+u.value)%u.value)),w=S((()=>{const t=e.vertical?"vertical":"horizontal";return r.direction.value===t})),x=S((()=>{const t={transitionDuration:`${n.swiping?0:e.duration}ms`,transform:`translate${e.vertical?"Y":"X"}(${n.offset}px)`};if(s.value){const l=e.vertical?"height":"width",a=e.vertical?"width":"height";t[l]=`${m.value}px`,t[a]=e[a]?`${e[a]}px`:""}return t})),V=(t,l=0)=>{let a=t*s.value;e.loop||(a=Math.min(a,-v.value));let n=l-a;return e.loop||(n=ui(n,v.value,0)),n},_=({pace:l=0,offset:a=0,emitChange:r})=>{if(u.value<=1)return;const{active:i}=n,s=(t=>{const{active:l}=n;return t?e.loop?ui(l+t,-1,u.value):ui(l+t,0,p.value):l})(l),c=V(s,a);if(e.loop){if(o[0]&&c!==v.value){const e=c<v.value;o[0].setOffset(e?m.value:0)}if(o[u.value-1]&&0!==c){const e=c>0;o[u.value-1].setOffset(e?-m.value:0)}}n.active=s,n.offset=c,r&&s!==i&&t("change",g.value)},z=()=>{n.swiping=!0,n.active<=-1?_({pace:u.value}):n.active>=u.value&&_({pace:-u.value})},k=()=>{z(),r.reset(),Z((()=>{n.swiping=!1,_({pace:1,emitChange:!0})}))};let C;const O=()=>clearTimeout(C),T=()=>{O(),e.autoplay>0&&u.value>1&&(C=setTimeout((()=>{k(),T()}),+e.autoplay))},B=(t=+e.initialSwipe)=>{if(!a.value)return;const l=()=>{var l,r;if(!Ko(a)){const t={width:a.value.offsetWidth,height:a.value.offsetHeight};n.rect=t,n.width=+(null!=(l=e.width)?l:t.width),n.height=+(null!=(r=e.height)?r:t.height)}u.value&&(t=Math.min(u.value-1,t)),n.active=t,n.swiping=!0,n.offset=V(t),o.forEach((e=>{e.setOffset(0)})),T()};Ko(a)?h().then(l):l()},A=()=>B(n.active);let P;const H=t=>{e.touchable&&(r.start(t),P=Date.now(),O(),z())},D=t=>{e.touchable&&n.swiping&&(r.move(t),w.value&&(Zo(t,e.stopPropagation),_({offset:f.value})))},L=()=>{if(!e.touchable||!n.swiping)return;const t=Date.now()-P,l=f.value/t;if((Math.abs(l)>.25||Math.abs(f.value)>s.value/2)&&w.value){const t=e.vertical?r.offsetY.value:r.offsetX.value;let l=0;l=e.loop?t>0?f.value>0?-1:1:0:-Math[f.value>0?"ceil":"floor"](f.value/s.value),_({pace:l,emitChange:!0})}else f.value&&_({pace:0});n.swiping=!1,T()},E=(t,l)=>{const a=l===g.value,n=a?{backgroundColor:e.indicatorColor}:void 0;return y("i",{style:n,class:us("indicator",{active:a})},null)};return Oi({prev:()=>{z(),r.reset(),Z((()=>{n.swiping=!1,_({pace:-1,emitChange:!0})}))},next:k,state:n,resize:A,swipeTo:(t,l={})=>{z(),r.reset(),Z((()=>{let a;a=e.loop&&t===u.value?0===n.active?0:t:t%u.value,l.immediate?Z((()=>{n.swiping=!1})):n.swiping=!1,_({pace:a-n.active,emitChange:!0})}))}}),i({size:s,props:e,count:u,activeIndicator:g}),$((()=>e.initialSwipe),(e=>B(+e))),$(u,(()=>B(n.active))),$((()=>e.autoplay),T),$([Go,Jo],A),$(X(),(e=>{"visible"===e?T():O()})),b(B),I((()=>B(n.active))),lu((()=>B(n.active))),M(O),j(O),()=>{var t;return y("div",{ref:a,class:us()},[y("div",{style:x.value,class:us("track",{vertical:e.vertical}),onTouchstart:H,onTouchmove:D,onTouchend:L,onTouchcancel:L},[null==(t=l.default)?void 0:t.call(l)]),l.indicator?l.indicator({active:g.value,total:u.value}):e.showIndicators&&u.value>1?y("div",{class:us("indicators",{vertical:e.vertical})},[Array(u.value).fill("").map(E)]):void 0])}}});const fs=ji(ds),[vs,ps]=wi("swipe-item");const ms=ji(V({name:vs,setup(e,{slots:t}){let l;const a=d({offset:0,inited:!1,mounted:!1}),{parent:n,index:r}=L(cs);if(!n)return;const o=S((()=>{const e={},{vertical:t}=n.props;return n.size.value&&(e[t?"height":"width"]=`${n.size.value}px`),a.offset&&(e.transform=`translate${t?"Y":"X"}(${a.offset}px)`),e})),i=S((()=>{const{loop:e,lazyRender:t}=n.props;if(!t||l)return!0;if(!a.mounted)return!1;const o=n.activeIndicator.value,i=n.count.value-1,u=0===o&&e?i:o-1,s=o===i&&e?0:o+1;return l=r.value===o||r.value===u||r.value===s,l}));return b((()=>{h((()=>{a.mounted=!0}))})),Oi({setOffset:e=>{a.offset=e}}),()=>{var e;return y("div",{class:ps(),style:o.value},[i.value?null==(e=t.default)?void 0:e.call(t):null])}}})),[bs,hs]=wi("checkbox-group"),gs={max:Io,disabled:Boolean,iconSize:Io,direction:String,modelValue:Lo(),checkedColor:String},ys=Symbol(bs);var ws=V({name:bs,props:gs,emits:["change","update:modelValue"],setup(e,{emit:t,slots:l}){const{children:a,linkChildren:n}=N(ys),r=e=>t("update:modelValue",e);return $((()=>e.modelValue),(e=>t("change",e))),Oi({toggleAll:(e={})=>{"boolean"==typeof e&&(e={checked:e});const{checked:t,skipDisabled:l}=e,n=a.filter((e=>!!e.props.bindGroup&&(e.props.disabled&&l?e.checked.value:null!=t?t:!e.checked.value))).map((e=>e.name));r(n)}}),W((()=>e.modelValue)),n({props:e,updateValue:r}),()=>{var t;return y("div",{class:hs([e.direction])},[null==(t=l.default)?void 0:t.call(l)])}}});const[xs,Vs]=wi("checkbox");const Ss=ji(V({name:xs,props:w({},Xu,{bindGroup:Ho}),emits:["change","update:modelValue"],setup(e,{emit:t,slots:l}){const{parent:a}=L(ys),n=S((()=>a&&e.bindGroup?-1!==a.props.modelValue.indexOf(e.name):!!e.modelValue)),r=(l=!n.value)=>{a&&e.bindGroup?(t=>{const{name:l}=e,{max:n,modelValue:r}=a.props,o=r.slice();if(t)n&&o.length>=n||o.includes(l)||(o.push(l),e.bindGroup&&a.updateValue(o));else{const t=o.indexOf(l);-1!==t&&(o.splice(t,1),e.bindGroup&&a.updateValue(o))}})(l):t("update:modelValue",l)};return $((()=>e.modelValue),(e=>t("change",e))),Oi({toggle:r,props:e,checked:n}),W((()=>e.modelValue)),()=>y(Zu,k({bem:Vs,role:"checkbox",parent:a,checked:n.value,onToggle:r},e),R(l,["default","icon"]))}})),_s=ji(ws),[zs,ks]=wi("row"),Cs=Symbol(zs);var Ms=V({name:zs,props:{tag:Yo("div"),wrap:Ho,align:String,gutter:Eo(0),justify:String},setup(e,{slots:t}){const{children:l,linkChildren:a}=N(Cs),n=S((()=>{const e=[[]];let t=0;return l.forEach(((l,a)=>{t+=Number(l.span),t>24?(e.push([a]),t-=24):e[e.length-1].push(a)})),e}));return a({spaces:S((()=>{const t=Number(e.gutter),l=[];return t?(n.value.forEach((e=>{const a=t*(e.length-1)/e.length;e.forEach(((e,n)=>{if(0===n)l.push({right:a});else{const n=t-l[e-1].right,r=a-n;l.push({left:n,right:r})}}))})),l):l}))}),()=>{const{tag:l,wrap:a,align:n,justify:r}=e;return y(l,{class:ks({[`align-${n}`]:n,[`justify-${r}`]:r,nowrap:!a})},{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t)]}})}}});const[js,$s]=wi("col");const Os=ji(V({name:js,props:{tag:Yo("div"),span:Eo(0),offset:Io},setup(e,{slots:t}){const{parent:l,index:a}=L(Cs),n=S((()=>{if(!l)return;const{spaces:e}=l;if(e&&e.value&&e.value[a.value]){const{left:t,right:l}=e.value[a.value];return{paddingLeft:t?`${t}px`:null,paddingRight:l?`${l}px`:null}}}));return()=>{const{tag:l,span:a,offset:r}=e;return y(l,{style:n.value,class:$s({[a]:a,[`offset-${r}`]:r})},{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t)]}})}}})),[Ts]=wi("time-picker");var Bs=V({name:Ts,props:w({},Qu,{minHour:Eo(0),maxHour:Eo(23),minMinute:Eo(0),maxMinute:Eo(59),modelValue:String}),emits:["confirm","cancel","change","update:modelValue"],setup(e,{emit:t,slots:l}){const a=t=>{const{minHour:l,maxHour:a,maxMinute:n,minMinute:r}=e;t||(t=`${ii(l)}:${ii(r)}`);let[o,i]=t.split(":");return o=ii(ui(+o,+l,+a)),i=ii(ui(+i,+r,+n)),`${o}:${i}`},n=c(),r=c(a(e.modelValue)),o=S((()=>[{type:"hour",range:[+e.minHour,+e.maxHour]},{type:"minute",range:[+e.minMinute,+e.maxMinute]}])),i=S((()=>o.value.map((({type:t,range:l})=>{let a=ts(l[1]-l[0]+1,(e=>ii(l[0]+e)));return e.filter&&(a=e.filter(t,a)),{type:t,values:a}})))),u=S((()=>i.value.map((t=>({values:t.values.map((l=>e.formatter(t.type,l)))}))))),s=()=>{const t=r.value.split(":"),l=[e.formatter("hour",t[0]),e.formatter("minute",t[1])];h((()=>{var e;null==(e=n.value)||e.setValues(l)}))},d=()=>{const[e,t]=n.value.getIndexes(),[l,o]=i.value,u=l.values[e]||l.values[0],c=o.values[t]||o.values[0];r.value=a(`${u}:${c}`),s()},f=()=>t("confirm",r.value),v=()=>t("cancel"),p=()=>{d(),h((()=>{h((()=>t("change",r.value)))}))};return b((()=>{s(),h(d)})),$(u,s),$((()=>[e.filter,e.maxHour,e.minMinute,e.maxMinute]),d),$((()=>e.minHour),(()=>{h(d)})),$(r,(e=>t("update:modelValue",e))),$((()=>e.modelValue),(e=>{(e=a(e))!==r.value&&(r.value=e,s())})),Oi({getPicker:()=>n.value&&as(n.value,d)}),()=>y(xu,k({ref:n,columns:u.value,onChange:p,onCancel:v,onConfirm:f},R(e,es)),l)}});const As=(new Date).getFullYear(),[Ps]=wi("date-picker");var Is=V({name:Ps,props:w({},Qu,{type:Yo("datetime"),modelValue:Date,minDate:{type:Date,default:()=>new Date(As-10,0,1),validator:K},maxDate:{type:Date,default:()=>new Date(As+10,11,31),validator:K}}),emits:["confirm","cancel","change","update:modelValue"],setup(e,{emit:t,slots:l}){const a=t=>{if(K(t)){const l=ui(t.getTime(),e.minDate.getTime(),e.maxDate.getTime());return new Date(l)}},n=c(),r=c(a(e.modelValue)),o=(t,l)=>{const a=e[`${t}Date`],n=a.getFullYear();let r=1,o=1,i=0,u=0;return"max"===t&&(r=12,o=ls(l.getFullYear(),l.getMonth()+1),i=23,u=59),l.getFullYear()===n&&(r=a.getMonth()+1,l.getMonth()+1===r&&(o=a.getDate(),l.getDate()===o&&(i=a.getHours(),l.getHours()===i&&(u=a.getMinutes())))),{[`${t}Year`]:n,[`${t}Month`]:r,[`${t}Date`]:o,[`${t}Hour`]:i,[`${t}Minute`]:u}},i=S((()=>{const{maxYear:t,maxDate:l,maxMonth:a,maxHour:n,maxMinute:i}=o("max",r.value||e.minDate),{minYear:u,minDate:s,minMonth:c,minHour:d,minMinute:f}=o("min",r.value||e.minDate);let v=[{type:"year",range:[u,t]},{type:"month",range:[c,a]},{type:"day",range:[s,l]},{type:"hour",range:[d,n]},{type:"minute",range:[f,i]}];switch(e.type){case"date":v=v.slice(0,3);break;case"year-month":v=v.slice(0,2);break;case"month-day":v=v.slice(1,3);break;case"datehour":v=v.slice(0,4)}if(e.columnsOrder){const t=e.columnsOrder.concat(v.map((e=>e.type)));v.sort(((e,l)=>t.indexOf(e.type)-t.indexOf(l.type)))}return v})),u=S((()=>i.value.map((({type:t,range:l})=>{let a=ts(l[1]-l[0]+1,(e=>ii(l[0]+e)));return e.filter&&(a=e.filter(t,a)),{type:t,values:a}})))),s=S((()=>u.value.map((t=>({values:t.values.map((l=>e.formatter(t.type,l)))}))))),d=()=>{const t=r.value||e.minDate,{formatter:l}=e,a=u.value.map((e=>{switch(e.type){case"year":return l("year",`${t.getFullYear()}`);case"month":return l("month",ii(t.getMonth()+1));case"day":return l("day",ii(t.getDate()));case"hour":return l("hour",ii(t.getHours()));case"minute":return l("minute",ii(t.getMinutes()));default:return""}}));h((()=>{var e;null==(e=n.value)||e.setValues(a)}))},f=()=>{const{type:t}=e,l=n.value.getIndexes(),o=e=>{let t=0;u.value.forEach(((l,a)=>{e===l.type&&(t=a)}));const{values:a}=u.value[t];return function(e){if(!e)return 0;for(;Number.isNaN(parseInt(e,10));){if(!(e.length>1))return 0;e=e.slice(1)}return parseInt(e,10)}(a[l[t]])};let i,s,c;"month-day"===t?(i=(r.value||e.minDate).getFullYear(),s=o("month"),c=o("day")):(i=o("year"),s=o("month"),c="year-month"===t?1:o("day"));const d=ls(i,s);c=c>d?d:c;let f=0,v=0;"datehour"===t&&(f=o("hour")),"datetime"===t&&(f=o("hour"),v=o("minute"));const p=new Date(i,s-1,c,f,v);r.value=a(p)},v=()=>{t("update:modelValue",r.value),t("confirm",r.value)},p=()=>t("cancel"),m=()=>{f(),h((()=>{f(),h((()=>t("change",r.value)))}))};return b((()=>{d(),h(f)})),$(s,d),$(r,((e,l)=>t("update:modelValue",l?e:null))),$((()=>[e.filter,e.minDate,e.maxDate]),(()=>{h(f)})),$((()=>e.modelValue),(e=>{var t;(e=a(e))&&e.valueOf()!==(null==(t=r.value)?void 0:t.valueOf())&&(r.value=e)})),Oi({getPicker:()=>n.value&&as(n.value,f)}),()=>y(xu,k({ref:n,columns:s.value,onChange:m,onCancel:p,onConfirm:v},R(e,es)),l)}});const[Hs,Ds]=wi("datetime-picker"),Ls=Object.keys(Bs.props),Ns=Object.keys(Is.props);const Es=ji(V({name:Hs,props:w({},Bs.props,Is.props,{modelValue:[String,Date]}),setup(e,{attrs:t,slots:l}){const a=c();return Oi({getPicker:()=>{var e;return null==(e=a.value)?void 0:e.getPicker()}}),()=>{const n="time"===e.type,r=n?Bs:Is,o=R(e,n?Ls:Ns);return y(r,k({ref:a,class:Ds()},o,t),l)}}})),[Ys,Fs]=wi("divider");const Ws=ji(V({name:Ys,props:{dashed:Boolean,hairline:Ho,contentPosition:Yo("center")},setup:(e,{slots:t})=>()=>{var l;return y("div",{role:"separator",class:Fs({dashed:e.dashed,hairline:e.hairline,[`content-${e.contentPosition}`]:!!t.default})},[null==(l=t.default)?void 0:l.call(t)])}})),[Rs,qs]=wi("nav-bar");const Us=ji(V({name:Rs,props:{title:String,fixed:Boolean,zIndex:Io,border:Ho,leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean},emits:["click-left","click-right"],setup(e,{emit:t,slots:l}){const a=c(),n=$i(a,qs),r=e=>t("click-left",e),o=e=>t("click-right",e),i=()=>{const{title:t,fixed:n,border:i,zIndex:u}=e,s=ti(u),c=e.leftArrow||e.leftText||l.left,d=e.rightText||l.right;return y("div",{ref:a,style:s,class:[qs({fixed:n}),{[Vi]:i,"van-safe-area-top":e.safeAreaInsetTop}]},[y("div",{class:qs("content")},[c&&y("div",{class:[qs("left"),ki],onClick:r},[l.left?l.left():[e.leftArrow&&y(Yi,{class:qs("arrow"),name:"arrow-left"},null),e.leftText&&y("span",{class:qs("text")},[e.leftText])]]),y("div",{class:[qs("title"),"van-ellipsis"]},[l.title?l.title():t]),d&&y("div",{class:[qs("right"),ki],onClick:o},[l.right?l.right():y("span",{class:qs("text")},[e.rightText])])])])};return()=>e.fixed&&e.placeholder?n(i):i()}})),[Xs,Zs]=wi("notice-bar");const Ks=ji(V({name:Xs,props:{text:String,mode:String,color:String,delay:Eo(1),speed:Eo(60),leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null}},emits:["close","replay"],setup(e,{emit:t,slots:l}){let a,n=0,r=0;const i=c(),u=c(),s=d({show:!0,offset:0,duration:0}),f=l=>{"closeable"===e.mode&&(s.show=!1,t("close",l))},v=()=>{if(l["right-icon"])return l["right-icon"]();const t="closeable"===e.mode?"cross":"link"===e.mode?"arrow":void 0;return t?y(Yi,{name:t,class:Zs("right-icon"),onClick:f},null):void 0},p=()=>{s.offset=n,s.duration=0,G((()=>{Z((()=>{s.offset=-r,s.duration=(r+n)/+e.speed,t("replay")}))}))},m=()=>{const t=!1===e.scrollable&&!e.wrapable,a={transform:s.offset?`translateX(${s.offset}px)`:"",transitionDuration:`${s.duration}s`};return y("div",{ref:i,role:"marquee",class:Zs("wrap")},[y("div",{ref:u,style:a,class:[Zs("content"),{"van-ellipsis":t}],onTransitionend:p},[l.default?l.default():e.text])])},b=()=>{const{delay:t,speed:l,scrollable:c}=e,d=o(t)?1e3*+t:0;n=0,r=0,s.offset=0,s.duration=0,clearTimeout(a),a=setTimeout((()=>{if(!i.value||!u.value||!1===c)return;const e=g(i).width,t=g(u).width;(c||t>e)&&Z((()=>{n=e,r=t,s.offset=-r,s.duration=r/+l}))}),d)};return lu(b),C(b),P("pageshow",b),Oi({reset:b}),$((()=>[e.text,e.scrollable]),b),()=>{const{color:t,wrapable:a,background:n}=e;return B(y("div",{role:"alert",class:Zs({wrapable:a}),style:{color:t,background:n}},[l["left-icon"]?l["left-icon"]():e.leftIcon?y(Yi,{class:Zs("left-icon"),name:e.leftIcon},null):void 0,m(),v()]),[[A,s.show]])}}})),[Gs,Js]=wi("progress");const Qs=ji(V({name:Gs,props:{color:String,inactive:Boolean,pivotText:String,textColor:String,showPivot:Ho,pivotColor:String,trackColor:String,strokeWidth:Io,percentage:{type:Io,default:0,validator:e=>e>=0&&e<=100}},setup(e){const t=S((()=>e.inactive?void 0:e.color)),l=()=>{const{textColor:l,pivotText:a,pivotColor:n,percentage:r}=e,o=null!=a?a:`${r}%`;if(e.showPivot&&o){const a={color:l,left:+r+"%",transform:`translate(-${+r}%,-50%)`,background:n||t.value};return y("span",{style:a,class:Js("pivot",{inactive:e.inactive})},[o])}};return()=>{const{trackColor:a,percentage:n,strokeWidth:r}=e,o={background:a,height:Qo(r)},i={width:`${n}%`,background:t.value};return y("div",{class:Js(),style:o},[y("span",{class:Js("portion",{inactive:e.inactive}),style:i},null),l()])}}})),[ec,tc]=wi("rate");var lc=V({name:ec,props:{size:Io,icon:Yo("star"),color:String,count:Eo(5),gutter:Io,readonly:Boolean,disabled:Boolean,voidIcon:Yo("star-o"),allowHalf:Boolean,voidColor:String,touchable:Ho,iconPrefix:String,modelValue:No(0),disabledColor:String},emits:["change","update:modelValue"],setup(e,{emit:t}){const l=Ji(),[a,n]=function(){const e=c([]),t=[];return q((()=>{e.value=[]})),[e,l=>(t[l]||(t[l]=t=>{e.value[l]=t}),t[l])]}(),r=c(),o=()=>e.readonly||e.disabled||!e.touchable,i=S((()=>Array(+e.count).fill("").map(((t,l)=>function(e,t,l,a){if(e>=t)return{status:"full",value:1};if(e+.5>=t&&l&&!a)return{status:"half",value:.5};if(e+1>=t&&l&&a){const l=10**10;return{status:"half",value:Math.round((e-t+1)*l)/l}}return{status:"void",value:0}}(e.modelValue,l+1,e.allowHalf,e.readonly)))));let u,s,d=Number.MAX_SAFE_INTEGER,f=Number.MIN_SAFE_INTEGER;const v=()=>{s=g(r);const t=a.value.map(g);u=[],t.forEach(((t,l)=>{d=Math.min(t.top,d),f=Math.max(t.top,f),e.allowHalf?u.push({score:l+.5,left:t.left,top:t.top,height:t.height},{score:l+1,left:t.left+t.width/2,top:t.top,height:t.height}):u.push({score:l+1,left:t.left,top:t.top,height:t.height})}))},p=(t,l)=>{for(let e=u.length-1;e>0;e--)if(l>=s.top&&l<=s.bottom){if(t>u[e].left&&l>=u[e].top&&l<=u[e].top+u[e].height)return u[e].score}else{const a=l<s.top?d:f;if(t>u[e].left&&u[e].top===a)return u[e].score}return e.allowHalf?.5:1},m=l=>{e.disabled||e.readonly||l===e.modelValue||(t("update:modelValue",l),t("change",l))},b=e=>{o()||(l.start(e),v())},h=e=>{if(!o()&&(l.move(e),l.isHorizontal())){const{clientX:t,clientY:l}=e.touches[0];Zo(e),m(p(t,l))}},w=(t,l)=>{const{icon:a,size:r,color:o,count:i,gutter:u,voidIcon:s,disabled:c,voidColor:d,allowHalf:f,iconPrefix:b,disabledColor:h}=e,g=l+1,w="full"===t.status,x="void"===t.status,V=f&&t.value>0&&t.value<1;let S;u&&g!==+i&&(S={paddingRight:Qo(u)});return y("div",{key:l,ref:n(l),role:"radio",style:S,class:tc("item"),tabindex:c?void 0:0,"aria-setsize":i,"aria-posinset":g,"aria-checked":!x,onClick:e=>{v(),m(f?p(e.clientX,e.clientY):g)}},[y(Yi,{size:r,name:w?a:s,class:tc("icon",{disabled:c,full:w}),color:c?h:w?o:d,classPrefix:b},null),V&&y(Yi,{size:r,style:{width:t.value+"em"},name:x?s:a,class:tc("icon",["half",{disabled:c,full:!x}]),color:c?h:x?d:o,classPrefix:b},null)])};return W((()=>e.modelValue)),()=>y("div",{ref:r,role:"radiogroup",class:tc({readonly:e.readonly,disabled:e.disabled}),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,"aria-readonly":e.readonly,onTouchstart:b,onTouchmove:h},[i.value.map(w)])}});const ac=ji(lc),nc=ji(Ms),[rc,oc]=wi("slider");const ic=ji(V({name:rc,props:{min:Eo(0),max:Eo(100),step:Eo(1),range:Boolean,reverse:Boolean,disabled:Boolean,readonly:Boolean,vertical:Boolean,barHeight:Io,buttonSize:Io,activeColor:String,inactiveColor:String,modelValue:{type:[Number,Array],default:0}},emits:["change","drag-end","drag-start","update:modelValue"],setup(e,{emit:t,slots:l}){let a,n,r;const o=c(),i=c(),u=Ji(),s=S((()=>Number(e.max)-Number(e.min))),d=S((()=>{const t=e.vertical?"width":"height";return{background:e.inactiveColor,[t]:Qo(e.barHeight)}})),f=t=>e.range&&Array.isArray(t),v=()=>{const{modelValue:t,min:l}=e;return f(t)?100*(t[1]-t[0])/s.value+"%":100*(t-Number(l))/s.value+"%"},p=S((()=>{const t={[e.vertical?"height":"width"]:v(),background:e.activeColor};i.value&&(t.transition="none");return t[e.vertical?e.reverse?"bottom":"top":e.reverse?"right":"left"]=(()=>{const{modelValue:t,min:l}=e;return f(t)?100*(t[0]-Number(l))/s.value+"%":"0%"})(),t})),m=t=>{const l=+e.min,a=+e.max,n=+e.step;t=ui(t,l,a);return di(l,Math.round((t-l)/n)*n)},b=(e,t)=>JSON.stringify(e)===JSON.stringify(t),h=(l,a)=>{l=f(l)?(t=>{var l,a;const n=null!=(l=t[0])?l:Number(e.min),r=null!=(a=t[1])?a:Number(e.max);return n>r?[r,n]:[n,r]})(l).map(m):m(l),b(l,e.modelValue)||t("update:modelValue",l),a&&!b(l,r)&&t("change",l)},w=t=>{if(t.stopPropagation(),e.disabled||e.readonly)return;const{min:l,reverse:a,vertical:n,modelValue:r}=e,i=g(o),u=n?i.height:i.width,c=Number(l)+(n?a?i.bottom-t.clientY:t.clientY-i.top:a?i.right-t.clientX:t.clientX-i.left)/u*s.value;if(f(r)){const[e,t]=r;h(c<=(e+t)/2?[c,t]:[e,c],!0)}else h(c,!0)},x=l=>{if(e.disabled||e.readonly)return;"start"===i.value&&t("drag-start",l),Zo(l,!0),u.move(l),i.value="dragging";const c=g(o);let d=(e.vertical?u.deltaY.value:u.deltaX.value)/(e.vertical?c.height:c.width)*s.value;if(e.reverse&&(d=-d),f(r)){const t=e.reverse?1-a:a;n[t]=r[t]+d}else n=r+d;h(n)},V=l=>{e.disabled||e.readonly||("dragging"===i.value&&(h(n,!0),t("drag-end",l)),i.value="")},_=t=>{if("number"==typeof t){return oc("button-wrapper",["left","right"][t])}return oc("button-wrapper",e.reverse?"left":"right")},z=(t,a)=>{if("number"==typeof a){const e=l[0===a?"left-button":"right-button"];if(e)return e({value:t})}return l.button?l.button({value:t}):y("div",{class:oc("button"),style:ei(e.buttonSize)},null)},k=t=>{const l="number"==typeof t?e.modelValue[t]:e.modelValue;return y("div",{role:"slider",class:_(t),tabindex:e.disabled?void 0:0,"aria-valuemin":e.min,"aria-valuenow":l,"aria-valuemax":e.max,"aria-disabled":e.disabled||void 0,"aria-readonly":e.readonly||void 0,"aria-orientation":e.vertical?"vertical":"horizontal",onTouchstart:l=>{"number"==typeof t&&(a=t),(t=>{e.disabled||e.readonly||(u.start(t),n=e.modelValue,r=f(n)?n.map(m):m(n),i.value="start")})(l)},onTouchmove:x,onTouchend:V,onTouchcancel:V,onClick:Xo},[z(l,t)])};return h(e.modelValue),W((()=>e.modelValue)),()=>y("div",{ref:o,style:d.value,class:oc({vertical:e.vertical,disabled:e.disabled}),onClick:w},[y("div",{class:oc("bar"),style:p.value},[e.range?[k(0),k(1)]:k()])])}})),[uc,sc]=wi("stepper"),cc=(e,t)=>String(e)===String(t);const dc=ji(V({name:uc,props:{min:Eo(1),max:Eo(1/0),name:Eo(""),step:Eo(1),theme:String,integer:Boolean,disabled:Boolean,showPlus:Ho,showMinus:Ho,showInput:Ho,longPress:Ho,allowEmpty:Boolean,modelValue:Io,inputWidth:Io,buttonSize:Io,placeholder:String,disablePlus:Boolean,disableMinus:Boolean,disableInput:Boolean,beforeChange:Function,defaultValue:Eo(1),decimalLength:Io},emits:["plus","blur","minus","focus","change","overlimit","update:modelValue"],setup(e,{emit:t}){const l=t=>{const{min:l,max:a,allowEmpty:n,decimalLength:r}=e;return n&&""===t||(t=""===(t=ci(String(t),!e.integer))?0:+t,t=Number.isNaN(t)?+l:t,t=Math.max(Math.min(+a,t),+l),o(r)&&(t=t.toFixed(+r))),t};let a;const n=c(),r=c((()=>{var a;const n=null!=(a=e.modelValue)?a:e.defaultValue,r=l(n);return cc(r,e.modelValue)||t("update:modelValue",r),r})()),i=S((()=>e.disabled||e.disableMinus||r.value<=+e.min)),u=S((()=>e.disabled||e.disablePlus||r.value>=+e.max)),s=S((()=>({width:Qo(e.inputWidth),height:Qo(e.buttonSize)}))),d=S((()=>ei(e.buttonSize))),f=t=>{e.beforeChange?Mi(e.beforeChange,{args:[t],done(){r.value=t}}):r.value=t},v=()=>{if("plus"===a&&u.value||"minus"===a&&i.value)return void t("overlimit",a);const n="minus"===a?-e.step:+e.step,o=l(di(+r.value,n));f(o),t(a)},p=t=>{const l=t.target,{value:a}=l,{decimalLength:n}=e;let i=ci(String(a),!e.integer);if(o(n)&&i.includes(".")){const e=i.split(".");i=`${e[0]}.${e[1].slice(0,+n)}`}e.beforeChange?l.value=String(r.value):cc(a,i)||(l.value=i);const u=i===String(+i);f(u?+i:i)},m=l=>{var a;e.disableInput?null==(a=n.value)||a.blur():t("focus",l)},b=e=>{const a=e.target,n=l(a.value);a.value=String(n),r.value=n,h((()=>{t("blur",e),Uo()}))};let g,w;const x=()=>{w=setTimeout((()=>{v(),x()}),200)},V=t=>{e.longPress&&(clearTimeout(w),g&&Zo(t))},_=t=>{e.disableInput&&Zo(t)},z=t=>({onClick:e=>{Zo(e),a=t,v()},onTouchstart:()=>{a=t,e.longPress&&(g=!1,clearTimeout(w),w=setTimeout((()=>{g=!0,v(),x()}),600))},onTouchend:V,onTouchcancel:V});return $((()=>[e.max,e.min,e.integer,e.decimalLength]),(()=>{const e=l(r.value);cc(e,r.value)||(r.value=e)})),$((()=>e.modelValue),(e=>{cc(e,r.value)||(r.value=l(e))})),$(r,(l=>{t("update:modelValue",l),t("change",l,{name:e.name})})),W((()=>e.modelValue)),()=>y("div",{role:"group",class:sc([e.theme])},[B(y("button",k({type:"button",style:d.value,class:[sc("minus",{disabled:i.value}),{[ki]:!i.value}],"aria-disabled":i.value||void 0},z("minus")),null),[[A,e.showMinus]]),B(y("input",{ref:n,type:e.integer?"tel":"text",role:"spinbutton",class:sc("input"),value:r.value,style:s.value,disabled:e.disabled,readonly:e.disableInput,inputmode:e.integer?"numeric":"decimal",placeholder:e.placeholder,"aria-valuemax":e.max,"aria-valuemin":e.min,"aria-valuenow":r.value,onBlur:b,onInput:p,onFocus:m,onMousedown:_},null),[[A,e.showInput]]),B(y("button",k({type:"button",style:d.value,class:[sc("plus",{disabled:u.value}),{[ki]:!u.value}],"aria-disabled":u.value||void 0},z("plus")),null),[[A,e.showPlus]])])}})),[fc,vc]=wi("tabbar"),pc={route:Boolean,fixed:Ho,border:Ho,zIndex:Io,placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,modelValue:Eo(0),safeAreaInsetBottom:{type:Boolean,default:null}},mc=Symbol(fc);const bc=ji(V({name:fc,props:pc,emits:["change","update:modelValue"],setup(e,{emit:t,slots:l}){const a=c(),{linkChildren:n}=N(mc),r=$i(a,vc),o=()=>{var t;return null!=(t=e.safeAreaInsetBottom)?t:e.fixed},i=()=>{var t;const{fixed:n,zIndex:r,border:i}=e;return y("div",{ref:a,role:"tablist",style:ti(r),class:[vc({fixed:n}),{[_i]:i,"van-safe-area-bottom":o()}]},[null==(t=l.default)?void 0:t.call(l)])};return n({props:e,setActive:(l,a)=>{Mi(e.beforeChange,{args:[l],done(){t("update:modelValue",l),t("change",l),a()}})}}),()=>e.fixed&&e.placeholder?r(i):i()}})),[hc,gc]=wi("tabbar-item");const yc=ji(V({name:hc,props:w({},Ti,{dot:Boolean,icon:String,name:Io,badge:Io,badgeProps:Object,iconPrefix:String}),emits:["click"],setup(e,{emit:t,slots:l}){const a=Bi(),n=x().proxy,{parent:r,index:o}=L(mc);if(!r)return;const i=S((()=>{var t;const{route:l,modelValue:a}=r.props;if(l&&"$route"in n){const{$route:t}=n,{to:l}=e,a=s(l)?l:{path:l};return!!t.matched.find((e=>{const t="path"in a&&a.path===e.path,l="name"in a&&a.name===e.name;return t||l}))}return(null!=(t=e.name)?t:o.value)===a})),u=l=>{var n;i.value||r.setActive(null!=(n=e.name)?n:o.value,a),t("click",l)},c=()=>l.icon?l.icon({active:i.value}):e.icon?y(Yi,{name:e.icon,classPrefix:e.iconPrefix},null):void 0;return()=>{var t;const{dot:a,badge:n}=e,{activeColor:o,inactiveColor:s}=r.props,d=i.value?o:s;return y("div",{role:"tab",class:gc({active:i.value}),style:{color:d},tabindex:0,"aria-selected":i.value,onClick:u},[y(Ii,k({dot:a,class:gc("icon"),content:n},e.badgeProps),{default:c}),y("div",{class:gc("text")},[null==(t=l.default)?void 0:t.call(l,{active:i.value})])])}}}));let wc;var xc;function Vc({label:e="字段绑定",defaultValue:t,tips:l}){return{type:wc.modelBind,label:e,tips:l,defaultValue:t}}function Sc({label:e,defaultValue:t,tips:l}){return{type:wc.switch,label:e,tips:l,defaultValue:t}}function _c({label:e,defaultValue:t,tips:l}){return{type:wc.input,label:e,tips:l,defaultValue:t}}function zc({label:e,defaultValue:t,max:l,min:a,tips:n}){return{type:wc.inputNumber,label:e,tips:n,max:l,min:a,defaultValue:t}}function kc({label:e,defaultValue:t}){return{type:wc.color,label:e,defaultValue:t}}function Cc({label:e,options:t,defaultValue:l,tips:a,multiple:n}){return{type:wc.select,label:e,defaultValue:l,tips:a,options:t,multiple:n}}function Mc({label:e,labelPosition:t,multiple:l,showItemPropsConfig:a,defaultValue:n}){return{type:wc.crossSortable,label:e,multiple:l,showItemPropsConfig:a,labelPosition:t,defaultValue:n}}(xc=wc||(wc={})).input="input",xc.inputNumber="InputNumber",xc.color="color",xc.select="select",xc.table="table",xc.switch="switch",xc.modelBind="ModelBind",xc.crossSortable="CrossSortable";const jc=()=>{const e=x().appContext.config.globalProperties;return{globalProperties:e,registerRef:(t,l)=>t&&(e.$$refs[l]=t)}};var $c={key:"button",moduleName:"baseWidgets",label:"按钮",preview:()=>y(Ki,{type:"primary"},{default:()=>[F("按钮")]}),render:({props:e,block:t,styles:l})=>{const{registerRef:a}=jc();return()=>y("div",{style:l},[y(Ki,k({ref:e=>a(e,t._vid)},e),null)])},resize:{height:!0,width:!0},events:[{label:"点击按钮,且按钮状态不为加载或禁用时触发",value:"click"},{label:"开始触摸按钮时触发",value:"touchstart"}],props:{text:_c({label:"按钮文字",defaultValue:"按钮"}),type:Cc({label:"按钮类型",options:[{label:"主要按钮",value:"primary"},{label:"成功按钮",value:"success"},{label:"默认按钮",value:"default"},{label:"警告按钮",value:"warning"},{label:"危险按钮",value:"danger"}],defaultValue:"default"}),size:Cc({label:"按钮尺寸",options:[{label:"大型",value:"large"},{label:"普通",value:"normal"},{label:"小型",value:"small"},{label:"迷你",value:"mini"}],defaultValue:"normal"}),"native-type":Cc({label:"原生button的type属性",options:[{label:"普通button",value:"button"},{label:"表单提交按钮",value:"submit"},{label:"表单重置按钮",value:"reset"}],defaultValue:"button"}),to:_c({label:"路由跳转"}),url:_c({label:"跳转链接"}),plain:Sc({label:"是否为朴素按钮"}),replace:Sc({label:"是否在跳转时替换当前页面历史"}),round:Sc({label:"是否为圆形按钮"}),square:Sc({label:"是否为方形按钮"}),block:Sc({label:"是否为块级元素",defaultValue:!1}),color:_c({label:"按钮颜色",tips:"按钮颜色,支持传入 linear-gradient 渐变色"}),disabled:Sc({label:"是否禁用按钮"}),hairline:Sc({label:"是否使用 0.5px 边框"}),icon:_c({label:"左侧图标名称或图片链接"}),"icon-position":Cc({label:"图标展示位置",options:[{label:"左侧",value:"left"},{label:"右侧",value:"right"}]}),"icon-prefix":_c({label:"图标类名前缀",tips:"图标类名前缀,同 Icon 组件的 class-prefix 属性"}),loading:Sc({label:"是否显示为加载状态"}),"loading-size":_c({label:"加载图标大小"}),"loading-text":_c({label:"加载状态提示文字"}),"loading-type":Cc({label:"加载图标类型",options:[{label:"circular",value:"circular"},{label:"spinner",value:"spinner"}],defaultValue:"circular"})}},Oc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:$c});var Tc={key:"checkbox",moduleName:"baseWidgets",label:"表单项类型 - 复选框",preview:()=>y(_s,{modelValue:["1"],direction:"horizontal"},{default:()=>[y(Ss,{name:"1",shape:"square"},{default:()=>[F("one")]}),y(Ss,{name:"2",shape:"square"},{default:()=>[F("two")]})]}),render:({styles:e,block:t,props:l})=>{const{registerRef:a}=jc(),n=S({get:()=>"string"==typeof l.modelValue?l.modelValue.split(","):l.modelValue,set:e=>l.modelValue=e});return()=>y("div",{style:e},[y(Lu,k(l,{modelValue:"",name:Array.isArray(l.name)?[...l.name].pop():l.name}),{input:()=>y(_s,k({ref:e=>a(e,t._vid)},l,{modelValue:n.value,"onUpdate:modelValue":e=>n.value=e}),{default:()=>{var e;return[null==(e=l.options)?void 0:e.map((e=>y(Ss,{name:e.value,style:{marginBottom:"5px"},shape:"square"},{default:()=>[e.label]})))]}})})])},props:{modelValue:_c({label:"默认值",defaultValue:[]}),name:Vc({label:"字段绑定",defaultValue:""}),label:_c({label:"输入框左侧文本",defaultValue:"复选框"}),options:Mc({label:"默认选项",labelPosition:"top",multiple:!0,defaultValue:[{label:"胡萝卜",value:"carrot"},{label:"白菜",value:"cabbage"},{label:"猪",value:"pig"}]}),direction:Cc({label:"排列方向",options:[{label:"水平",value:"horizontal"},{label:"垂直",value:"vertical"}],defaultValue:"horizontal"}),colon:Sc({label:"是否在 label 后面添加冒号"}),"error-message":_c({label:"底部错误提示文案"}),"error-message-align":Cc({label:"错误提示文案对齐方式",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],defaultValue:"left"}),border:Sc({label:"是否显示内边框",defaultValue:!0}),readonly:Sc({label:"是否为只读状态"}),required:Sc({label:"是否显示表单必填星号"}),rules:_c({label:"表单校验规则"})},events:[{label:"当绑定值变化时触发的事件",value:"change"},{label:"点击复选框时触发",value:"click"}],resize:{width:!0},model:{default:"绑定字段"}},Bc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Tc});const Ac=Object.prototype.toString;function Pc(e,t){return Ac.call(e)===`[object ${t}]`}function Ic(e){return null!==e&&Pc(e,"Object")}function Hc(e){return"function"==typeof e}const Dc={"month-day":"MM-DD","year-month":"YYYY-MM",date:"YYYY-MM-DD",datehour:"YYYY-MM-DD HH",datetime:"YYYY-MM-DD HH:mm:ss"};var Lc={key:"datetimePicker",moduleName:"baseWidgets",label:"表单项类型 - 时间选择器",preview:()=>y(Lu,{name:"datetimePicker",label:"时间选择器",placeholder:"点击选择"},null),render:({styles:e,block:t,props:l})=>{const{registerRef:a}=jc(),n=J(),r=d({showPicker:!1,text:"",currentDate:new Date}),o=e=>{const t=Pc(e,"Date")?jo(e).format(l.format||Dc[l.type]):e;l.modelValue=t,r.text=t,r.showPicker=!1};return()=>y("div",{style:e},[y(Lu,k({modelValue:l.modelValue,"onUpdate:modelValue":e=>l.modelValue=e},l,{readonly:!0,clickable:!0,onClick:()=>r.showPicker=!0,name:Array.isArray(l.name)?[...l.name].pop():l.name}),{input:()=>{var e;return""==(null==(e=r.text)?void 0:e.trim())?y("span",{class:"placeholder"},[l.placeholder]):r.text}}),y(cu,{show:r.showPicker,"onUpdate:show":e=>r.showPicker=e,position:"bottom",teleport:"body"},{default:()=>[y(Es,k({ref:e=>a(e,t._vid)},l,n,{modelValue:r.currentDate,"onUpdate:modelValue":e=>r.currentDate=e,onConfirm:o,onCancel:()=>r.showPicker=!1}),null)]})])},props:{modelValue:_c({label:"默认值"}),name:Vc({label:"字段绑定",defaultValue:""}),label:_c({label:"输入框左侧文本",defaultValue:"时间选择器"}),title:_c({label:"顶部栏标题",defaultValue:"选择时间"}),type:Cc({label:"时间类型",options:[{label:"date",value:"date"},{label:"datetime",value:"datetime"},{label:"year-month",value:"year-month"},{label:"month-day",value:"month-day"},{label:"datehour",value:"datehour"}],defaultValue:"datetime"}),format:_c({label:"自定义日期格式化值",tips:"YYYY-MM-DD HH:mm:ss",defaultValue:""}),cancelButtonText:_c({label:"取消按钮文字"}),columnsOrder:_c({label:"自定义列排序数组",tips:"可选值为:year、month、day、hour、minute,传多个值以英文逗号隔开"}),confirmButtonText:_c({label:"确认按钮文字"}),filter:_c({label:"选项过滤函数"}),formatter:_c({label:"选项格式化函数"}),itemHeight:_c({label:"选项高度",tips:"支持 px vw vh rem 单位,默认 px"}),loading:Sc({label:"是否显示加载状态"}),showToolbar:Sc({label:"是否显示顶部栏"}),swipeDuration:_c({label:"快速滑动时惯性滚动的时长,单位ms"}),visibleItemCount:zc({label:"可见的选项个数",defaultValue:6}),placeholder:_c({label:"占位符",defaultValue:"请选择"}),colon:Sc({label:"是否在 label 后面添加冒号"}),"error-message":_c({label:"底部错误提示文案"}),"error-message-align":Cc({label:"错误提示文案对齐方式",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],defaultValue:"left"}),border:Sc({label:"是否显示内边框",defaultValue:!0}),readonly:Sc({label:"是否为只读状态"}),required:Sc({label:"是否显示表单必填星号"}),rules:_c({label:"表单校验规则"})},events:[{label:"当值变化时触发的事件",value:"change"},{label:"点击完成按钮时触发的事件",value:"confirm"},{label:"点击取消按钮时触发的事件",value:"cancel"}],resize:{width:!0},model:{default:"绑定字段"}},Nc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Lc}),Ec={key:"divider",moduleName:"baseWidgets",label:"分割线",preview:()=>y(Ws,{style:"width:190px"},{default:()=>[F("文本")]}),render:({props:e,block:t,styles:l})=>{const{registerRef:a}=jc(),n=S((()=>({width:"100%",color:e["text-color"],borderColor:e["divider-color"]})));return()=>y("div",{style:l},[y(Ws,k({ref:e=>a(e,t._vid)},e,{style:n.value}),{default:()=>e.text})])},props:{text:_c({label:"展示文本",defaultValue:"文本"}),"content-position":Cc({label:"文本位置",options:[{label:"左边",value:"left"},{label:"中间",value:"center"},{label:"右边",value:"right"}],defaultValue:"center"}),dashed:Sc({label:"是否为虚线"}),"text-color":kc({label:"文本颜色"}),"divider-color":kc({label:"分割线颜色"})}},Yc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ec}),Fc={key:"image",moduleName:"baseWidgets",label:"图片",resize:{width:!0,height:!0},preview:()=>y("div",{style:"text-align:center;"},[y("div",{style:"font-size:20px;background-color:#f2f2f2;color:#ccc;display:inline-flex;width:100px;height:50px;align-items:center;justify-content:center"},[y(Q("el-icon"),null,{default:()=>[y(vr,null,null)]})])]),render:({props:e,block:t,styles:l})=>{const{registerRef:a}=jc();return()=>y("div",{style:l},[y(os,k({ref:e=>a(e,t._vid)},e),null)])},props:{src:_c({label:"图片链接",defaultValue:"https://img.yzcdn.cn/vant/cat.jpeg"}),width:_c({label:"宽度",defaultValue:100}),height:_c({label:"高度",defaultValue:100}),errorIcon:_c({label:"失败时提示的图标名称或图片链接"}),fit:Cc({label:"图片填充模式",options:[{label:"保持宽高缩放图片,使图片的长边能完全显示出来",value:"contain"},{label:"保持宽高缩放图片,使图片的短边能完全显示出来,裁剪长边",value:"cover"},{label:"拉伸图片,使图片填满元素",value:"fill"},{label:"保持图片原有尺寸",value:"none"},{label:"取 none 或 contain 中较小的一个",value:"scale-down"}],defaultValue:"fill"}),iconPrefix:_c({label:"图标类名前缀",tips:"图标类名前缀,同 Icon 组件的 class-prefix 属性"}),iconSize:_c({label:"加载图标和失败图标的大小"}),lazyLoad:Sc({label:"是否开启图片懒加载",tips:"须配合 Lazyload 组件使用"}),loadingIcon:_c({label:"加载时提示的图标名称或图片链接"}),radius:_c({label:"圆角大小",tips:"默认单位为 px"}),round:Sc({label:"是否显示为圆形"}),"show-error":Sc({label:"是否展示图片加载失败提示"}),"show-loading":Sc({label:"是否展示图片加载中提示"}),alt:_c({label:"替代文本"})},events:[{label:"点击图片时触发",value:"click"},{label:"图片加载完毕时触发",value:"load"},{label:"图片加载失败时触发",value:"error"}]},Wc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Fc});var Rc={key:"input",moduleName:"baseWidgets",label:"表单项类型 - 输入框",preview:()=>y(Lu,{name:"用户名",label:"用户名",labelWidth:50,colon:!0,placeholder:"请输入用户名"},null),render:({styles:e,block:t,props:l})=>{const{registerRef:a}=jc();let n=[];try{n=JSON.parse(l.rules)}catch(r){}return()=>y("div",{style:e},[y(Lu,k({ref:e=>a(e,t._vid)},l,{modelValue:l.modelValue,"onUpdate:modelValue":e=>l.modelValue=e,name:Array.isArray(l.name)?[...l.name].pop():l.name,rules:n}),null)])},events:[{label:"输入框内容变化时触发",value:"update:model-value"},{label:"输入框获得焦点时触发",value:"focus"},{label:"输入框失去焦点时触发",value:"blur"},{label:"点击清除按钮时触发",value:"clear"},{label:"点击组件时触发",value:"click"},{label:"点击输入区域时触发",value:"click-input"},{label:"点击左侧图标时触发",value:"click-left-icon"},{label:"点击右侧图标时触发",value:"click-right-icon"}],props:{modelValue:_c({label:"默认值",defaultValue:""}),name:Vc({label:"字段绑定",defaultValue:""}),label:_c({label:"输入框左侧文本",defaultValue:"输入框"}),type:Cc({label:"输入框类型",options:[{label:"文本",value:"text"},{label:"数字",value:"number"},{label:"文本域",value:"textarea"},{label:"密码",value:"password"},{label:"电话",value:"tel"},{label:"小数点",value:"digit"}],defaultValue:"text"}),placeholder:_c({label:"占位提示文字",defaultValue:"请输入"}),colon:Sc({label:"是否在 label 后面添加冒号"}),disabled:Sc({label:"是否禁用输入框"}),error:Sc({label:"是否将输入内容标红"}),"error-message":_c({label:"底部错误提示文案"}),"error-message-align":Cc({label:"错误提示文案对齐方式",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],defaultValue:"left"}),readonly:Sc({label:"是否为只读状态"}),required:Sc({label:"是否显示表单必填星号"}),"right-icon":_c({label:"右侧图标名称或图片链接"}),rules:_c({label:"表单校验规则"}),"left-icon":_c({label:"左侧图标名称或图片链接"}),"arrow-direction":_c({label:"箭头方向",defaultValue:"",tips:"箭头方向,可选值为 left up down"}),autosize:Sc({label:"自适应内容高度",defaultValue:!1,tips:"是否自适应内容高度,只对 textarea 有效,可传入对象,如 { maxHeight: 100, minHeight: 50 },单位为px"}),border:Sc({label:"是否显示内边框",defaultValue:!0}),center:Sc({label:"内容垂直居中"}),"clear-icon":_c({label:"清除图标",tips:"清除图标名称或图片链接"}),"clear-trigger":Cc({label:"清除图标显示时机",options:[{label:"输入框不为空时展示",value:"always"},{label:"输入框聚焦且不为空时展示",value:"focus"}],defaultValue:"always",tips:"显示清除图标的时机,always 表示输入框不为空时展示,focus 表示输入框聚焦且不为空时展示"}),clearable:Sc({label:"是否启用清除图标",defaultValue:!1,tips:"是否启用清除图标,点击清除图标后会清空输入框"}),clickable:Sc({label:"是否开启点击反馈"}),"format-trigger":_c({label:"格式化函数触发的时机"}),formatter:_c({label:"输入内容格式化函数"}),"icon-prefix":_c({label:"图标类名前缀",tips:"图标类名前缀,同 Icon 组件的 class-prefix 属性"}),"input-align":Cc({label:"输入框对齐方式",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],defaultValue:"left"}),"label-align":Cc({label:"左侧文本对齐方式",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],defaultValue:"left"}),"label-width":_c({label:"左侧文本宽度"}),maxlength:_c({label:"输入的最大字符数",defaultValue:500}),"show-word-limit":Sc({label:"是否显示字数统计",tips:"需要设置 maxlength 属性"})},resize:{width:!0},model:{default:"绑定字段"}},qc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Rc}),Uc={key:"nav-bar",moduleName:"baseWidgets",label:"导航栏",preview:()=>y(Us,{title:"标题","left-text":"返回","right-text":"按钮","left-arrow":!0,style:{width:"100%"}},null),render:({props:e,block:t})=>{const{registerRef:l}=jc();return b((()=>{var e;const l=null==(e=window.$$refs[t._vid])?void 0:e.$el,a=null==l?void 0:l.closest("div[data-draggable]"),n=null==a?void 0:a.querySelector(".van-nav-bar--fixed"),r=document.querySelector(".simulator-editor-content > .dragArea ");if(a&&n&&r)n.style.position="unset",a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.width="100%",r.style.paddingTop="50px";else{document.body.style.paddingTop="46px";const e=null==l?void 0:l.closest("__slot-item");e&&(e.style.position="fixed",e.style.bottom="0")}})),j((()=>{const e=document.querySelector(".simulator-editor-content > .dragArea ");e&&(e.style.paddingTop="")})),()=>y(Us,k({ref:e=>l(e,t._vid)},e),null)},props:{title:_c({label:"标题",defaultValue:"标题"}),fixed:Sc({label:"是否固定",defaultValue:!0}),zIndex:_c({label:"z-index"}),border:Sc({label:"是否显示下边框",defaultValue:!1}),leftText:_c({label:"左侧文案",defaultValue:"返回"}),rightText:_c({label:"右侧文案",defaultValue:"按钮"}),leftArrow:Sc({label:"是否显示左侧箭头",defaultValue:!0})},events:[{label:"点击左侧按钮时触发",value:"click-left"},{label:"点击右侧按钮时触发",value:"click-right"}],showStyleConfig:!1,draggable:!1,resize:{width:!0}},Xc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Uc});var Zc={key:"NoticeBar",moduleName:"baseWidgets",label:"通知栏",preview:()=>y(Ks,{style:{width:"180px"},leftIcon:"volume-o",text:"在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。"},null),render:({block:e,props:t,styles:l})=>{const{registerRef:a}=jc();return()=>y("div",{style:l},[y(Ks,k({ref:t=>a(t,e._vid),style:{width:"100%"}},t),null)])},events:[{label:"点击通知栏时触发",value:"click"},{label:"关闭通知栏时触发",value:"close"},{label:"每当滚动栏重新开始滚动时触发",value:"replay"}],props:{background:_c({label:"滚动条背景"}),color:_c({label:"通知文本颜色"}),delay:_c({label:"动画延迟时间 (s)"}),leftIcon:_c({label:"左侧图标名称或图片链接",defaultValue:"volume-o"}),mode:Cc({label:"通知栏模式",options:[{label:"默认",value:""},{label:"可关闭",value:"closeable"},{label:"链接",value:"link"}]}),scrollable:Sc({label:"是否开启滚动播放,内容长度溢出时默认开启"}),speed:_c({label:"滚动速率 (px/s)"}),text:_c({label:"通知文本内容",defaultValue:"在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。"}),wrapable:Sc({label:"是否开启文本换行,只在禁用滚动时生效"})},resize:{width:!0},model:{default:"绑定字段"}},Kc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Zc});var Gc={key:"picker",moduleName:"baseWidgets",label:"表单项类型 - 选择器",preview:()=>y(Lu,{name:"picker",label:"选择器",placeholder:"点击选择"},null),render:({styles:e,block:t,props:l})=>{const{registerRef:a}=jc(),n=J(),r=d({showPicker:!1,text:"",defaultIndex:0}),o={text:"label",value:"value"},i=e=>{l.modelValue=e.value,r.text=e[l.valueKey||"text"],r.showPicker=!1};return()=>{var u,s;return l.modelValue&&(r.defaultIndex=null==(u=l.columns)?void 0:u.findIndex((e=>e.value==l.modelValue)),r.text=null==(s=l.columns[r.defaultIndex])?void 0:s.label),y("div",{style:e},[y(Lu,k({modelValue:l.modelValue,"onUpdate:modelValue":e=>l.modelValue=e},l,{readonly:!0,clickable:!0,onClick:()=>r.showPicker=!0,name:Array.isArray(l.name)?[...l.name].pop():l.name}),{input:()=>{var e;return""==(null==(e=r.text)?void 0:e.trim())?y("span",{class:"placeholder"},[l.placeholder]):r.text}}),y(cu,{show:r.showPicker,"onUpdate:show":e=>r.showPicker=e,position:"bottom"},{default:()=>[y(xu,k({ref:e=>a(e,t._vid)},l,n,{defaultIndex:r.defaultIndex,columnsFieldNames:o,onConfirm:i,onCancel:()=>r.showPicker=!1}),null)]})])}},props:{modelValue:_c({label:"默认值"}),name:Vc({label:"字段绑定",defaultValue:""}),label:_c({label:"输入框左侧文本",defaultValue:"选择器"}),columns:Mc({label:"默认选项",labelPosition:"top",multiple:!1,defaultValue:[{label:"杭州",value:"hangzhou"},{label:"上海",value:"shanghai"}]}),placeholder:_c({label:"占位符",defaultValue:"请选择"}),colon:Sc({label:"是否在 label 后面添加冒号"}),"error-message":_c({label:"底部错误提示文案"}),"error-message-align":Cc({label:"错误提示文案对齐方式",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],defaultValue:"left"}),border:Sc({label:"是否显示内边框",defaultValue:!0}),readonly:Sc({label:"是否为只读状态"}),required:Sc({label:"是否显示表单必填星号"}),rules:_c({label:"表单校验规则"})},events:[{label:"点击完成按钮时触发",value:"confirm"},{label:"点击取消按钮时触发",value:"cancel"},{label:"选项改变时触发",value:"change"}],resize:{width:!0},model:{default:"绑定字段"}},Jc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Gc}),Qc={key:"process",moduleName:"baseWidgets",label:"进度条",preview:()=>y(Qs,{style:"width:190px",percentage:50},null),render:({props:e,styles:t})=>{const l=()=>y(Qs,k(e,{pivotText:e.pivotText||void 0}),null);return()=>y("div",{style:t},[y(l,null,null)])},props:{percentage:zc({label:"进度百分比",defaultValue:50}),strokeWidth:zc({label:"线条粗细",defaultValue:5}),inactive:Sc({label:"是否置灰",defaultValue:!1}),color:kc({label:"进度条颜色",defaultValue:"#1989fa"}),trackColor:kc({label:"轨道颜色",defaultValue:"#e5e5e5"}),pivotText:_c({label:"进度文字内容"}),pivotColor:kc({label:"进度文字背景色",defaultValue:"#1989fa"}),textColor:kc({label:"进度文字颜色",defaultValue:"#ffffff"}),showPivot:Sc({label:"是否显示进度文字",defaultValue:!0})}},ed=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Qc});var td={key:"radio",moduleName:"baseWidgets",label:"表单项类型 - 单选框",preview:()=>y(Uu,{modelValue:"1",direction:"horizontal"},{default:()=>[y(Ju,{name:"1"},{default:()=>[F("one")]}),y(Ju,{name:"2"},{default:()=>[F("two")]})]}),render:({styles:e,block:t,props:l})=>{const{registerRef:a}=jc();return()=>y("div",{style:e},[y(Lu,k(l,{modelValue:"",name:Array.isArray(l.name)?[...l.name].pop():l.name}),{input:()=>y(Uu,k({ref:e=>a(e,t._vid)},l,{modelValue:l.modelValue,"onUpdate:modelValue":e=>l.modelValue=e}),{default:()=>{var e;return[null==(e=l.options)?void 0:e.map((e=>y(Ju,{name:e.value,style:{marginBottom:"5px"}},{default:()=>[e.label]})))]}})})])},props:{modelValue:_c({label:"默认值",defaultValue:""}),name:Vc({label:"字段绑定",defaultValue:""}),label:_c({label:"输入框左侧文本",defaultValue:"单选框"}),options:Mc({label:"默认选项",labelPosition:"top",multiple:!1,defaultValue:[{label:"胡萝卜",value:"carrot"},{label:"白菜",value:"cabbage"},{label:"猪",value:"pig"}]}),direction:Cc({label:"排列方向",options:[{label:"水平",value:"horizontal"},{label:"垂直",value:"vertical"}],defaultValue:"horizontal"}),colon:Sc({label:"是否在 label 后面添加冒号"}),"error-message":_c({label:"底部错误提示文案"}),"error-message-align":Cc({label:"错误提示文案对齐方式",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],defaultValue:"left"}),border:Sc({label:"是否显示内边框",defaultValue:!0}),readonly:Sc({label:"是否为只读状态"}),required:Sc({label:"是否显示表单必填星号"}),rules:_c({label:"表单校验规则"})},events:[{label:"点击单选框时触发",value:"click"}],resize:{width:!0},model:{default:"绑定字段"}},ld=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:td});var ad={key:"rate",moduleName:"baseWidgets",label:"表单项类型 - 评分",preview:()=>y(Lu,{name:"rate",label:"评分",labelWidth:50},{input:()=>y(ac,{modelValue:3},null)}),render:({styles:e,block:t,props:l})=>{const{registerRef:a}=jc();return()=>y("div",{style:e},[y(Lu,k(l,{modelValue:"",name:Array.isArray(l.name)?[...l.name].pop():l.name}),{input:()=>y(ac,k({ref:e=>a(e,t._vid)},l,{modelValue:l.modelValue,"onUpdate:modelValue":e=>l.modelValue=e}),null)})])},props:{modelValue:zc({label:"默认值",defaultValue:0}),name:Vc({label:"字段绑定",defaultValue:""}),label:_c({label:"输入框左侧文本",defaultValue:"评分"}),count:zc({label:"图标总数",defaultValue:5}),size:_c({label:"图标大小"}),"allow-half":Sc({label:"是否允许半选"}),colon:Sc({label:"是否在 label 后面添加冒号"}),"error-message":_c({label:"底部错误提示文案"}),"error-message-align":Cc({label:"错误提示文案对齐方式",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],defaultValue:"left"}),border:Sc({label:"是否显示内边框",defaultValue:!0}),readonly:Sc({label:"是否为只读状态"}),required:Sc({label:"是否显示表单必填星号"}),rules:_c({label:"表单校验规则"})},resize:{width:!0},model:{default:"绑定字段"}},nd=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ad});var rd={key:"slider",moduleName:"baseWidgets",label:"表单项类型 - 滑块",preview:()=>y(Lu,{name:"rate",label:"滑块",labelWidth:50},{input:()=>y(ic,{modelValue:3},null)}),render:({styles:e,block:t,props:l})=>{const{registerRef:a}=jc();return()=>y("div",{style:e},[y(Lu,k(Ql(l,"size"),{name:Array.isArray(l.name)?[...l.name].pop():l.name}),{input:()=>y(ic,k({ref:e=>a(e,t._vid)},l,{modelValue:l.modelValue,"onUpdate:modelValue":e=>l.modelValue=e}),null)})])},props:{modelValue:zc({label:"默认值",defaultValue:0}),name:Vc({label:"字段绑定",defaultValue:""}),label:_c({label:"输入框左侧文本",defaultValue:"滑块"}),min:zc({label:"最小值"}),max:zc({label:"最大值",defaultValue:10}),size:zc({label:"图标大小"}),range:Sc({label:"是否开启双滑块模式"}),colon:Sc({label:"是否在 label 后面添加冒号"}),"error-message":_c({label:"底部错误提示文案"}),"error-message-align":Cc({label:"错误提示文案对齐方式",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],defaultValue:"left"}),border:Sc({label:"是否显示内边框",defaultValue:!0}),readonly:Sc({label:"是否为只读状态"}),required:Sc({label:"是否显示表单必填星号"}),rules:_c({label:"表单校验规则"})},resize:{width:!0},model:{default:"绑定字段"}},od=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:rd});var id={key:"stepper",moduleName:"baseWidgets",label:"表单项类型 - 步进器",preview:()=>y(Lu,{name:"stepper",label:"步进器",labelWidth:50},{input:()=>y(dc,{modelValue:3},null)}),render:({styles:e,block:t,props:l})=>{const{registerRef:a}=jc();return ee((()=>{l.name=Array.isArray(l.name)?[...l.name].pop():l.name})),()=>y("div",{style:e},[y(Lu,k(l,{modelValue:""}),{input:()=>y(dc,k({ref:e=>a(e,t._vid),modelValue:l.modelValue,"onUpdate:modelValue":e=>l.modelValue=e},l),null)})])},props:{modelValue:zc({label:"默认值",defaultValue:0}),name:Vc({label:"字段绑定",defaultValue:""}),label:_c({label:"输入框左侧文本",defaultValue:"步进器"}),min:zc({label:"最小值",defaultValue:0}),max:zc({label:"最大值",defaultValue:10}),colon:Sc({label:"是否在 label 后面添加冒号"}),"error-message":_c({label:"底部错误提示文案"}),"error-message-align":Cc({label:"错误提示文案对齐方式",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],defaultValue:"left"}),border:Sc({label:"是否显示内边框",defaultValue:!0}),readonly:Sc({label:"是否为只读状态"}),required:Sc({label:"是否显示表单必填星号"}),rules:_c({label:"表单校验规则"}),allowEmpty:Sc({label:"是否允许输入的值为空",defaultValue:!1}),buttonSize:_c({label:"按钮大小以及输入框高度,默认单位为 px",defaultValue:"28px"}),decimalLength:_c({label:"固定显示的小数位数",defaultValue:""}),defaultValue:_c({label:"初始值,当 v-model 为空时生效",defaultValue:"1"}),disableInput:Sc({label:"是否禁用输入框",defaultValue:!1}),disableMinus:Sc({label:"是否禁用减少按钮",defaultValue:!1}),disablePlus:Sc({label:"是否禁用增加按钮",defaultValue:!1}),disabled:Sc({label:"是否禁用步进器",defaultValue:!1}),inputWidth:_c({label:"输入框宽度,默认单位为 px",defaultValue:"32px"}),integer:Sc({label:"是否只允许输入整数",defaultValue:!1}),longPress:Sc({label:"是否开启长按手势",defaultValue:!0}),placeholder:_c({label:"输入框占位提示文字",defaultValue:""}),showInput:Sc({label:"是否显示输入框",defaultValue:!0}),showMinus:Sc({label:"是否显示减少按钮",defaultValue:!0}),showPlus:Sc({label:"是否显示增加按钮",defaultValue:!0}),step:_c({label:"步长,每次点击时改变的值",defaultValue:"1"}),theme:Cc({label:"样式风格",options:[{label:"默认",value:""},{label:"圆角风格",value:"round"}],defaultValue:""})},resize:{width:!0},model:{default:"绑定字段"}},ud=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:id});const sd="color: #fff;\nfont-size: 20px;\nline-height: 150px;\ntext-align: center;\nbackground-color: #39a9ed;";var cd={key:"swipe",moduleName:"baseWidgets",label:"轮播图",preview:()=>y(fs,{style:{width:"180px",height:"80%"},indicatorColor:"white"},{default:()=>[y(ms,{style:sd},{default:()=>[F("1")]}),y(ms,{style:sd},{default:()=>[F("2")]}),y(ms,{style:sd},{default:()=>[F("3")]}),y(ms,{style:sd},{default:()=>[F("4")]})]}),render:({block:e,props:t})=>{const{registerRef:l}=jc();return()=>y("div",null,[y(fs,k({ref:t=>l(t,e._vid)},t,{style:{height:`${t.height}px`}}),{default:()=>{var e;return[null==(e=t.images)?void 0:e.map((e=>y(D,null,[y(ms,{key:e},{default:()=>[y("img",{style:{width:"100%"},src:e},null)]})])))]}})])},props:{images:Mc({label:"图片列表",labelPosition:"top",defaultValue:["https://img.yzcdn.cn/vant/apple-1.jpg","https://img.yzcdn.cn/vant/apple-2.jpg"]}),height:_c({label:"滑块高度,单位为 px",defaultValue:"200"}),autoplay:_c({label:"自动轮播间隔,单位为 ms",defaultValue:"3000"}),duration:_c({label:"动画时长,单位为 ms",defaultValue:"500"}),indicatorColor:_c({label:"指示器颜色",defaultValue:"#1989fa"}),initialSwipe:_c({label:"初始位置索引值",defaultValue:"0"}),lazyRender:Sc({label:"是否延迟渲染未展示的轮播",defaultValue:!1}),loop:Sc({label:"是否开启循环播放",defaultValue:!0}),showIndicators:Sc({label:"是否显示指示器",defaultValue:!0}),stopPropagation:Sc({label:"是否阻止滑动事件冒泡",defaultValue:!0}),touchable:Sc({label:"是否可以通过手势滑动",defaultValue:!0}),vertical:Sc({label:"是否为纵向滚动",defaultValue:!1})},events:[{label:"每一页轮播结束后触发",value:"change"}],showStyleConfig:!1,resize:{width:!0},model:{default:"绑定字段"}},dd=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:cd});var fd={key:"switch",moduleName:"baseWidgets",label:"表单项类型 - 开关",preview:()=>y(Lu,{name:"switch",label:"开关"},{input:()=>y(Yu,{size:20},null)}),render:({styles:e,block:t,props:l})=>{const{registerRef:a}=jc();return()=>y("div",{style:e},[y(Lu,k(l,{modelValue:"",name:Array.isArray(l.name)?[...l.name].pop():l.name}),{input:()=>y(Yu,k({ref:e=>a(e,t._vid)},l,{modelValue:l.modelValue,"onUpdate:modelValue":e=>l.modelValue=e}),null)})])},props:{modelValue:_c({label:"默认值",defaultValue:"false"}),name:Vc({label:"字段绑定",defaultValue:""}),label:_c({label:"输入框左侧文本",defaultValue:"开关"}),activeColor:kc({label:"打开时的背景色"}),activeValue:_c({label:"打开时对应的值",defaultValue:"true"}),inactiveColor:kc({label:"关闭时的背景色"}),inactiveValue:_c({label:"关闭时对应的值",defaultValue:"false"}),disabled:Sc({label:"是否为禁用状态"}),loading:Sc({label:"是否为加载状态"}),size:_c({label:"开关尺寸",defaultValue:"20px"}),colon:Sc({label:"是否在 label 后面添加冒号"}),"error-message":_c({label:"底部错误提示文案"}),"error-message-align":Cc({label:"错误提示文案对齐方式",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],defaultValue:"left"}),border:Sc({label:"是否显示内边框",defaultValue:!0}),readonly:Sc({label:"是否为只读状态"}),required:Sc({label:"是否显示表单必填星号"}),rules:_c({label:"表单校验规则"})},events:[{label:"开关状态切换时触发",value:"change"},{label:"点击时触发",value:"click"}],resize:{width:!0},model:{default:"绑定字段"}},vd=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:fd});const pd=()=>({key:"tabbar-item",moduleName:"baseWidgets",label:"底部标签栏",preview:()=>y(D,null,null),render:()=>()=>y(D,null,null),props:{icon:_c({label:"图标名称或图片链接",defaultValue:"home-o"}),iconPrefix:_c({label:"图标类名前缀",tips:"图标类名前缀,同 Icon 组件的 class-prefix 属性",defaultValue:"van-icon"}),dot:Sc({label:"是否显示图标右上角小红点",defaultValue:!1}),badge:_c({label:"图标右上角徽标的内容",defaultValue:""}),url:_c({label:"点击后跳转的链接地址",defaultValue:""}),replace:Sc({label:"是否在跳转时替换当前页面历史",defaultValue:!1})},events:[{label:"点击左侧按钮时触发",value:"click-left"},{label:"点击右侧按钮时触发",value:"click-right"}],draggable:!1});const md=[{icon:"home-o",title:"首页"},{icon:"apps-o",title:"导航"},{icon:"user-o",title:"我的"}];var bd={key:"tabbar",moduleName:"baseWidgets",label:"底部标签栏",preview:()=>{let e;return y(bc,null,"function"==typeof(t=e=md.map((e=>y(yc,{icon:e.icon},{default:()=>[e.title]}))))||"[object Object]"===Object.prototype.toString.call(t)&&!te(t)?e:{default:()=>[e]});var t},render:({props:e,block:t})=>{const{registerRef:l}=jc();return b((()=>{var e;const l=null==(e=window.$$refs[t._vid])?void 0:e.$el,a=null==l?void 0:l.closest("div[data-draggable]"),n=document.querySelector(".simulator-editor-content > .dragArea "),r=null==a?void 0:a.querySelector(".van-tabbar");if(a&&r&&n)r.style.position="unset",a.style.position="fixed",a.style.bottom="0",a.style.left="0",a.style.width="100%",a.style.zIndex="1000",n.style.paddingBottom="56px";else{document.body.style.paddingBottom="50px";const e=null==l?void 0:l.closest("__slot-item");e&&(e.style.position="fixed",e.style.bottom="0")}})),j((()=>{const e=document.querySelector(".simulator-editor-content > .dragArea ");e&&(e.style.paddingBottom="")})),()=>y(bc,k({ref:e=>l(e,t._vid),modelValue:e.modelValue,"onUpdate:modelValue":t=>e.modelValue=t},e),{default:()=>{var t;return[null==(t=e.tabs)?void 0:t.map((t=>{var l;const a=null==(l=t.block)?void 0:l.props,n=`/vite-vue3-lowcode/${e.baseUrl}${a.url}`.replace(/\/{2,}/g,"/");return y(yc,k({name:t.value,key:t.value},a,{url:n}),{default:()=>[t.label]})}))]}})},props:{modelValue:_c({label:"当前选中标签的名称或索引值",defaultValue:""}),tabs:Mc({label:"默认选项",labelPosition:"top",multiple:!1,showItemPropsConfig:!0,defaultValue:md.map((e=>{const t=Ao(pd());return t.props.icon=e.icon,{label:e.title,value:e.icon,component:pd(),block:t}}))}),fixed:Sc({label:"是否固定在底部",defaultValue:!0}),border:Sc({label:"是否显示外边框",defaultValue:!0}),zIndex:_c({label:"元素 z-index",defaultValue:"1"}),baseUrl:_c({label:"路由路径前缀",defaultValue:"/preview/#/"}),activeColor:kc({label:"选中标签的颜色",defaultValue:"#1989fa"}),inactiveColor:kc({label:"未选中标签的颜色",defaultValue:"#7d7e80"}),route:Sc({label:"是否开启路由模式",defaultValue:!1}),safeAreaInsetBottom:Sc({label:"是否开启底部安全区适配,设置 fixed 时默认开启",defaultValue:!1})},events:[{label:"点击左侧按钮时触发",value:"click-left"},{label:"点击右侧按钮时触发",value:"click-right"}],draggable:!1,resize:{width:!0}},hd=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:bd});var gd={key:"text",moduleName:"baseWidgets",label:"文本",preview:()=>y("span",null,[F("预览文本")]),render:({props:e,block:t,styles:l})=>{const{registerRef:a}=jc();return()=>y("div",{ref:e=>a(e,t._vid),style:{color:e.color,fontSize:`${parseFloat(e.size)}px`,fontFamily:e.font,...l}},[e.text||"默认文本"])},props:{text:_c({label:"显示文本"}),font:Cc({label:"字体设置",options:[{label:"宋体",value:"SimSun"},{label:"黑体",value:"SimHei"},{label:"微软雅黑",value:"Microsoft Yahei"},{label:"微软正黑体",value:"Microsoft JhengHei"},{label:"楷体",value:"KaiTi"},{label:"新宋体",value:"NSimSun"},{label:"仿宋",value:"FangSong"},{label:"苹方",value:"PingFang SC"},{label:"华文黑体",value:"STHeiti"},{label:"华文楷体",value:"STKaiti"},{label:"华文宋体",value:"STSong"},{label:"华文仿宋",value:"STFangsong"},{label:"华文中宋",value:"STZhongsong"},{label:"华文琥珀",value:"STHupo"},{label:"华文新魏",value:"STXinwei"},{label:"华文隶书",value:"STLiti"},{label:"华文行楷",value:"STXingkai"},{label:"冬青黑体简",value:"Hiragino Sans GB"},{label:"兰亭黑-简",value:"Lantinghei SC"},{label:"翩翩体-简",value:"Hanzipen SC"},{label:"手札体-简",value:"Hannotate SC"},{label:"宋体-简",value:"Songti SC"},{label:"娃娃体-简",value:"Wawati SC"},{label:"魏碑-简",value:"Weibei SC"},{label:"行楷-简",value:"Xingkai SC"},{label:"雅痞-简",value:"Yapi SC"},{label:"圆体-简",value:"Yuanti SC"},{label:"幼圆",value:"YouYuan"},{label:"隶书",value:"LiSu"},{label:"华文细黑",value:"STXihei"},{label:"华文楷体",value:"STKaiti"},{label:"华文宋体",value:"STSong"},{label:"华文仿宋",value:"STFangsong"},{label:"华文中宋",value:"STZhongsong"},{label:"华文彩云",value:"STCaiyun"},{label:"华文琥珀",value:"STHupo"},{label:"华文新魏",value:"STXinwei"},{label:"华文隶书",value:"STLiti"},{label:"华文行楷",value:"STXingkai"},{label:"方正舒体",value:"FZShuTi"},{label:"方正姚体",value:"FZYaoti"},{label:"思源黑体",value:"Source Han Sans CN"},{label:"思源宋体",value:"Source Han Serif SC"},{label:"文泉驿微米黑",value:"WenQuanYi Micro Hei"}]}),color:kc({label:"字体颜色"}),size:zc({label:"字体大小",defaultValue:16})}};const yd={"./button/index.tsx":Oc,"./checkbox/index.tsx":Bc,"./datetimePicker/index.tsx":Nc,"./divider/index.tsx":Yc,"./image/index.tsx":Wc,"./input/index.tsx":qc,"./nav-bar/index.tsx":Xc,"./notice-bar/index.tsx":Kc,"./picker/index.tsx":Jc,"./process/index.tsx":ed,"./radio/index.tsx":ld,"./rate/index.tsx":nd,"./slider/index.tsx":od,"./stepper/index.tsx":ud,"./swipe/index.tsx":dd,"./switch/index.tsx":vd,"./tabbar/index.tsx":hd,"./text/index.tsx":Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:gd})},wd={};Object.entries(yd).forEach((([e,t])=>{const l=e.replace(/\.\/(.*)\/index\.(tsx|vue)/,"$1");wd[l]=(null==t?void 0:t.default)||t}));const xd=[{label:"左对齐",value:"left"},{label:"右对齐",value:"right"},{label:"居中对齐",value:"center"}];var Vd={key:"form",moduleName:"containerComponents",label:"表单容器",preview:()=>y(Mu,null,{default:()=>[y(Lu,{name:"用户名",label:"用户名",placeholder:"用户名"},null),y(Lu,{type:"password",name:"密码",label:"密码",placeholder:"密码"},null),y("div",{style:"margin: 16px;"},[y(Ki,{round:!0,size:"small",block:!0,type:"primary"},{default:()=>[F("提交")]})])]}),render({props:e,styles:t,block:l}){const a=le(),{registerRef:n}=jc(),r=e=>{};return()=>{let o;return y("div",{style:t},[y(Mu,k({ref:e=>n(e,l._vid)},e,{style:{width:"100%"},onSubmit:r}),(i=o=ae(a,"default"),"function"==typeof i||"[object Object]"===Object.prototype.toString.call(i)&&!te(i)?o:{default:()=>[o]}))]);var i}},resize:{height:!0,width:!0},events:[{label:"提交表单且验证通过后触发",value:"submit"},{label:"提交表单且验证不通过后触发",value:"failed"}],props:{"slots.default.children":function({label:e,option:t,defaultValue:l}){return{type:wc.table,label:e,table:t,defaultValue:l}}({label:"表单项",option:{options:[{label:"显示值",field:"label"},{label:"绑定值",field:"value"},{label:"备注",field:"comments"}],showKey:"label"},defaultValue:[]}),colon:Sc({label:"是否在 label 后面添加冒号"}),disabled:Sc({label:"是否禁用表单中的所有输入框"}),errorMessageAlign:Cc({label:"错误提示文案对齐方式",defaultValue:"left",options:xd}),inputAlign:Cc({label:"输入框对齐方式",defaultValue:"left",options:xd}),labelAlign:Cc({label:"表单项 label 对齐方式",defaultValue:"left",options:xd}),labelWidth:_c({label:"表单项 label 宽度,默认单位为px"}),readonly:Sc({label:"是否将表单中的所有输入框设置为只读状态"}),scrollToError:Sc({label:"在提交表单且校验不通过时滚动至错误的表单项"}),showError:Sc({label:"是否在校验不通过时标红输入框"}),showErrorMessage:Sc({label:"是否在校验不通过时在输入框下方展示错误提示"}),submitOnEnter:Sc({label:"是否在按下回车键时提交表单"}),validateFirst:Sc({label:"是否在某一项校验不通过时停止校验"}),validateTrigger:Cc({label:"表单校验触发时机",options:[{label:"onChange",value:"onChange"},{label:"onSubmit",value:"onSubmit"},{label:"onBlur",value:"onBlur"}],defaultValue:"onBlur"})}},Sd=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Vd});var _d="_van-row_ln9lz_8";const zd={},kd=e=>e.split(":").reduce(((e,t,l)=>(e[`slot${l}`]={key:`slot${l}`,span:t,children:[]},e)),{value:e});var Cd={key:"layout",moduleName:"containerComponents",label:"布局容器",preview:()=>y(nc,{gutter:"20"},{default:()=>[y(Os,{span:"8"},{default:()=>[F("span: 8")]}),y(Os,{span:"8"},{default:()=>[F("span: 8")]}),y(Os,{span:"8"},{default:()=>[F("span: 8")]})]}),render:({props:e,styles:t,block:l,custom:a})=>{var n;const r=le(),{registerRef:o}=jc();return null!=zd[n=l._vid]||(zd[n]={}),ee((()=>{Object.keys(e.slots||{}).length&&Object.entries(e.slots).forEach((([e,t])=>{var a;(null==(a=zd[l._vid][e])?void 0:a.children)&&(t.children=zd[l._vid][e].children)}))})),()=>y("div",{style:t},[y(nc,k({ref:e=>o(e,l._vid)},a,e,{class:_d}),{default:()=>{var t;return[null==(t=Object.values(Object.keys(e.slots).length?e.slots:kd("12:12")))?void 0:t.filter((e=>"string"!=typeof e)).map(((e,t)=>{let a;return zd[l._vid][`slot${t}`]=e,y(D,null,[y(Os,{span:e.span},(n=a=ae(r,`slot${t}`),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!te(n)?a:{default:()=>[a]}))]);var n}))]}})])},resize:{height:!0,width:!0},props:{gutter:_c({label:"列间隔"}),slots:Cc({label:"列比例",options:[{label:"24",value:kd("24")},{label:"12:12",value:kd("12:12")},{label:"6:18",value:kd("6:18")},{label:"18:6",value:kd("18:6")},{label:"8:8:8",value:kd("8:8:8")},{label:"6:12:6",value:kd("6:12:6")},{label:"6:6:6:6",value:kd("6:6:6:6")}],defaultValue:kd("12:12")}),justify:Cc({label:"主轴对齐方式",options:[{label:"左对齐",value:"start"},{label:"居中排列",value:"center"},{label:"均匀对齐",value:"space-around"},{label:"两端对齐",value:"space-between"},{label:"右对齐",value:"end"}]}),align:Cc({label:"交叉轴对齐方式",options:[{label:"顶部对齐",value:"top"},{label:"垂直居中",value:"center"},{label:"底部对齐",value:"bottom"}]})}};const Md={"./form/index.tsx":Sd,"./layout/index.tsx":Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Cd})},jd={};Object.keys(Md).forEach((e=>{var t;const l=e.replace(/\.\/(.*)\/index\.(tsx|vue)/,"$1");jd[l]=(null==(t=Md[e])?void 0:t.default)||Md[e]}));const $d=function(){const e={baseWidgets:[],containerComponents:[]},t={};return{componentModules:e,componentMap:t,registry:(l,a,n)=>{const r={...n,key:a,moduleName:l};e[l].push(r),t[a]=r}}}();Object.entries(wd).forEach((([e,t])=>$d.registry("baseWidgets",e,t))),Object.entries(jd).forEach((([e,t])=>$d.registry("containerComponents",e,t)));var Od,Td,Bd={version:"0.2.0"},Ad=Bd.settings={minimum:.08,easing:"linear",positionUsing:"",speed:200,trickle:!0,trickleSpeed:200,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function Pd(e,t,l){return e<t?t:e>l?l:e}function Id(e){return 100*(-1+e)}Bd.configure=function(e){var t,l;for(t in e)void 0!==(l=e[t])&&e.hasOwnProperty(t)&&(Ad[t]=l);return this},Bd.status=null,Bd.set=function(e){var t=Bd.isStarted();e=Pd(e,Ad.minimum,1),Bd.status=1===e?null:e;var l=Bd.render(!t),a=l.querySelector(Ad.barSelector),n=Ad.speed,r=Ad.easing;return Hd((function(t){var o,i,u,s;""===Ad.positionUsing&&(Ad.positionUsing=Bd.getPositioningCSS()),Dd(a,(o=e,i=n,u=r,(s="translate3d"===Ad.positionUsing?{transform:"translate3d("+Id(o)+"%,0,0)"}:"translate"===Ad.positionUsing?{transform:"translate("+Id(o)+"%,0)"}:{"margin-left":Id(o)+"%"}).transition="all "+i+"ms "+u,s)),1===e?(Dd(l,{transition:"none",opacity:1}),setTimeout((function(){Dd(l,{transition:"all "+n+"ms linear",opacity:0}),setTimeout((function(){Bd.remove(),t()}),n)}),n)):setTimeout(t,n)})),this},Bd.isStarted=function(){return"number"==typeof Bd.status},Bd.start=function(){Bd.status||Bd.set(0);var e=function(){setTimeout((function(){Bd.status&&(Bd.trickle(),e())}),Ad.trickleSpeed)};return Ad.trickle&&e(),this},Bd.done=function(e){return e||Bd.status?Bd.inc(.3+.5*Math.random()).set(1):this},Bd.inc=function(e){var t=Bd.status;return t?t>1?void 0:("number"!=typeof e&&(e=t>=0&&t<.2?.1:t>=.2&&t<.5?.04:t>=.5&&t<.8?.02:t>=.8&&t<.99?.005:0),t=Pd(t+e,0,.994),Bd.set(t)):Bd.start()},Bd.trickle=function(){return Bd.inc()},Od=0,Td=0,Bd.promise=function(e){return e&&"resolved"!==e.state()?(0===Td&&Bd.start(),Od++,Td++,e.always((function(){0==--Td?(Od=0,Bd.done()):Bd.set((Od-Td)/Od)})),this):this},Bd.render=function(e){if(Bd.isRendered())return document.getElementById("nprogress");Nd(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=Ad.template;var l,a=t.querySelector(Ad.barSelector),n=e?"-100":Id(Bd.status||0),r=document.querySelector(Ad.parent);return Dd(a,{transition:"all 0 linear",transform:"translate3d("+n+"%,0,0)"}),Ad.showSpinner||(l=t.querySelector(Ad.spinnerSelector))&&Fd(l),r!=document.body&&Nd(r,"nprogress-custom-parent"),r.appendChild(t),t},Bd.remove=function(){Ed(document.documentElement,"nprogress-busy"),Ed(document.querySelector(Ad.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&Fd(e)},Bd.isRendered=function(){return!!document.getElementById("nprogress")},Bd.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var Hd=function(){var e=[];function t(){var l=e.shift();l&&l(t)}return function(l){e.push(l),1==e.length&&t()}}(),Dd=function(){var e=["Webkit","O","Moz","ms"],t={};function l(l,a,n){var r;r=(r=a).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()})),a=t[r]||(t[r]=function(t){var l=document.body.style;if(t in l)return t;for(var a,n=e.length,r=t.charAt(0).toUpperCase()+t.slice(1);n--;)if((a=e[n]+r)in l)return a;return t}(r)),l.style[a]=n}return function(e,t){var a,n,r=arguments;if(2==r.length)for(a in t)void 0!==(n=t[a])&&t.hasOwnProperty(a)&&l(e,a,n);else l(e,r[1],r[2])}}();function Ld(e,t){return("string"==typeof e?e:Yd(e)).indexOf(" "+t+" ")>=0}function Nd(e,t){var l=Yd(e),a=l+t;Ld(l,t)||(e.className=a.substring(1))}function Ed(e,t){var l,a=Yd(e);Ld(e,t)&&(l=a.replace(" "+t+" "," "),e.className=l.substring(1,l.length-1))}function Yd(e){return(" "+(e&&e.className||"")+" ").replace(/\s+/gi," ")}function Fd(e){e&&e.parentNode&&e.parentNode.removeChild(e)}Bd.configure({showSpinner:!1});const Wd=[{path:"/:pathMatch(.*)*",component:()=>oe((()=>import("./index.98082097.js").then((function(e){return e.i}))),["assets/index.98082097.js","assets/index.35174ec5.css","assets/useVisualData.9b99c843.js","assets/useVisualData.0f5706e5.css","assets/preload-helper.fde915ab.js","assets/preload-helper.5407db1b.css","assets/editorWorker.944419af.js","assets/plugin-vue_export-helper.21dcd24c.js","assets/useAnimate.644289ba.js"])}],Rd=ne({history:re(),routes:Wd});Rd.beforeEach((()=>(Bd.start(),!0))),Rd.afterEach((()=>{Bd.done()}));export{ao as $,Qe as A,at as B,Rr as C,Ln as D,bo as E,Na as F,Un as G,Ia as H,Wa as I,fo as J,Pn as K,ba as L,Ut as M,$d as N,rl as O,Ta as P,Gn as Q,hr as R,ce as S,zr as T,Hl as U,wa as V,Sn as W,_o as X,mn as Y,To as Z,Hc as _,na as a,Cn as a0,_a as a1,yn as a2,Br as a3,Hr as a4,xr as a5,Ma as a6,io as a7,Co as a8,zo as a9,On as aa,Ao as ab,Zr as ac,Bo as ad,dn as ae,Fn as af,Qr as ag,jr as ah,Ic as ai,Xa as aj,Er as ak,wo as al,wc as am,$o as an,jc as ao,Oi as ap,wi as aq,cu as ar,Yo as as,Io as at,No as au,Po as av,Yi as aw,Ui as ax,ji as ay,fa as b,Ja as c,ua as d,ln as e,tr as f,on as g,ko as h,ye as i,ze as j,tl as k,xe as l,rr as m,Xl as n,tt as o,sr as p,_l as q,Rd as r,Pl as s,gt as t,vl as u,kt as v,ge as w,se as x,Qt as y,el as z};