/*! For license information please see 5040.2b43a885.js.LICENSE.txt */ (self.webpackChunk=self.webpackChunk||[]).push([["5040"],{54369:function(n,e,t){"use strict";t.d(e,{q:function(){return l}}),t("31564"),t("8649"),t("70629");var r=t("22300"),o=t("39148"),i=t("77561"),a=t("20358"),u=t("62568");o.ZP.add({"en-US":i.Z}),r._f&&window.vueRouter&&window.vueRouter.afterEach(n=>{var{lang:e}=n.meta||{};e&&o.ZP.use(e)}),o.ZP.add({"zh-CN":{add:"\u589E\u52A0",red:"\u7EA2\u8272",tab:"\u6807\u7B7E",tag:"\u6807\u7B7E",desc:"\u63CF\u8FF0\u4FE1\u606F",back:"\u8FD4\u56DE",title:"\u6807\u9898",status:"\u72B6\u6001",button:"\u6309\u94AE",option:"\u9009\u9879",search:"\u641C\u7D22",orange:"\u6A59\u8272",yellow:"\u9EC4\u8272",purple:"\u7D2B\u8272",custom:"\u81EA\u5B9A\u4E49",content:"\u5185\u5BB9",username:"\u7528\u6237\u540D",password:"\u5BC6\u7801",decrease:"\u51CF\u5C11",disabled:"\u7981\u7528\u72B6\u6001",uneditable:"\u4E0D\u53EF\u7F16\u8F91",basicUsage:"\u57FA\u7840\u7528\u6CD5",usingUrl:"\u4F7F\u7528\u56FE\u7247 URL",advancedUsage:"\u9AD8\u7EA7\u7528\u6CD5",loadingStatus:"\u52A0\u8F7D\u72B6\u6001"},"en-US":{add:"Add",red:"Red",tab:"Tab",tag:"Tag",desc:"Description",back:"Back",title:"Title",status:"Status",button:"Button",option:"Option",search:"Search",orange:"Orange",yellow:"Yellow",purple:"Purple",custom:"Custom",content:"Content",username:"Username",password:"Password",decrease:"Decrease",disabled:"Disabled",uneditable:"Uneditable",basicUsage:"Basic Usage",usingUrl:"Using URL",advancedUsage:"Advanced Usage",loadingStatus:"Loading"}});var c=0;function l(n){var e="demo-i18n-".concat(c++);if(n){var t={},r=(0,a._A)(e);Object.keys(n).forEach(e=>{t[e]={[r]:n[e]}}),o.ZP.add(t)}return(0,u.er)(e)}},39148:function(n,e,t){"use strict";t.d(e,{bh:function(){return c}});var r=t("11848"),o=t("44584"),i=t("84473"),a=(0,r.iH)("zh-CN"),u=(0,r.qj)({"zh-CN":i.Z}),c=()=>a;e.ZP={messages:()=>u[a.value],use(n,e){a.value=n,this.add({[n]:e})},add(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.n)(u,n)}}},77561:function(n,e){"use strict";e.Z={name:"Name",tel:"Phone",save:"Save",clear:"Clear",cancel:"Cancel",confirm:"Confirm",delete:"Delete",loading:"Loading...",noCoupon:"No coupons",nameEmpty:"Please fill in the name",addContact:"Add contact",telInvalid:"Malformed phone number",vanCalendar:{end:"End",start:"Start",title:"Calendar",weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],monthTitle:(n,e)=>"".concat(n,"/").concat(e),rangePrompt:n=>"Choose no more than ".concat(n," days")},vanCascader:{select:"Select"},vanPagination:{prev:"Previous",next:"Next"},vanPullRefresh:{pulling:"Pull to refresh...",loosing:"Loose to refresh..."},vanSubmitBar:{label:"Total:"},vanCoupon:{unlimited:"Unlimited",discount:n=>"".concat(10*n,"% off"),condition:n=>"At least ".concat(n)},vanCouponCell:{title:"Coupon",count:n=>"You have ".concat(n," coupons")},vanCouponList:{exchange:"Exchange",close:"Close",enable:"Available",disabled:"Unavailable",placeholder:"Coupon code"},vanAddressEdit:{area:"Area",areaEmpty:"Please select a receiving area",addressEmpty:"Address can not be empty",addressDetail:"Address",defaultAddress:"Set as the default address"},vanAddressList:{add:"Add new address"}}},84473:function(n,e){"use strict";e.Z={name:"\u59D3\u540D",tel:"\u7535\u8BDD",save:"\u4FDD\u5B58",clear:"\u6E05\u7A7A",cancel:"\u53D6\u6D88",confirm:"\u786E\u8BA4",delete:"\u5220\u9664",loading:"\u52A0\u8F7D\u4E2D...",noCoupon:"\u6682\u65E0\u4F18\u60E0\u5238",nameEmpty:"\u8BF7\u586B\u5199\u59D3\u540D",addContact:"\u6DFB\u52A0\u8054\u7CFB\u4EBA",telInvalid:"\u8BF7\u586B\u5199\u6B63\u786E\u7684\u7535\u8BDD",vanCalendar:{end:"\u7ED3\u675F",start:"\u5F00\u59CB",title:"\u65E5\u671F\u9009\u62E9",weekdays:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],monthTitle:(n,e)=>"".concat(n,"\u5E74").concat(e,"\u6708"),rangePrompt:n=>"\u6700\u591A\u9009\u62E9 ".concat(n," \u5929")},vanCascader:{select:"\u8BF7\u9009\u62E9"},vanPagination:{prev:"\u4E0A\u4E00\u9875",next:"\u4E0B\u4E00\u9875"},vanPullRefresh:{pulling:"\u4E0B\u62C9\u5373\u53EF\u5237\u65B0...",loosing:"\u91CA\u653E\u5373\u53EF\u5237\u65B0..."},vanSubmitBar:{label:"\u5408\u8BA1:"},vanCoupon:{unlimited:"\u65E0\u95E8\u69DB",discount:n=>"".concat(n,"\u6298"),condition:n=>"\u6EE1".concat(n,"\u5143\u53EF\u7528")},vanCouponCell:{title:"\u4F18\u60E0\u5238",count:n=>"".concat(n,"\u5F20\u53EF\u7528")},vanCouponList:{exchange:"\u5151\u6362",close:"\u4E0D\u4F7F\u7528",enable:"\u53EF\u7528",disabled:"\u4E0D\u53EF\u7528",placeholder:"\u8F93\u5165\u4F18\u60E0\u7801"},vanAddressEdit:{area:"\u5730\u533A",areaEmpty:"\u8BF7\u9009\u62E9\u5730\u533A",addressEmpty:"\u8BF7\u586B\u5199\u8BE6\u7EC6\u5730\u5740",addressDetail:"\u8BE6\u7EC6\u5730\u5740",defaultAddress:"\u8BBE\u4E3A\u9ED8\u8BA4\u6536\u8D27\u5730\u5740"},vanAddressList:{add:"\u65B0\u589E\u5730\u5740"}}},12308:function(n,e,t){"use strict";function r(){}t.d(e,{$H:function(){return b},$c:function(){return g},J_:function(){return d},Kn:function(){return a},U2:function(){return p},Xq:function(){return u},ZT:function(){return r},_f:function(){return i},ei:function(){return h},gn:function(){return v},kE:function(){return f},l7:function(){return o},mf:function(){return c},qo:function(){return m},tI:function(){return l},tq:function(){return s}}),t("56115"),t("59644"),t("89176"),t("31564"),t("8649"),t("70629"),t("21690"),t("29256"),t("36056"),t("21363");var o=Object.assign,i="undefined"!=typeof window,a=n=>null!==n&&"object"==typeof n,u=n=>null!=n,c=n=>"function"==typeof n,l=n=>a(n)&&c(n.then)&&c(n.catch),d=n=>"[object Date]"===Object.prototype.toString.call(n)&&!Number.isNaN(n.getTime());function s(n){return n=n.replace(/[^-|\d]/g,""),/^((\+86)|(86))?(1)\d{10}$/.test(n)||/^0[0-9-]{10,13}$/.test(n)}var f=n=>"number"==typeof n||/^\d+(\.\d+)?$/.test(n),v=()=>!!i&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());function p(n,e){var t=e.split("."),r=n;return t.forEach(n=>{var e;r=a(r)&&null!==(e=r[n])&&void 0!==e?e:""}),r}function h(n,e,t){return e.reduce((e,r)=>((!t||void 0!==n[r])&&(e[r]=n[r]),e),{})}var g=(n,e)=>JSON.stringify(n)===JSON.stringify(e),m=n=>Array.isArray(n)?n:[n],b=n=>n.reduce((n,e)=>n.concat(e),[])},62568:function(n,e,t){"use strict";t.d(e,{do:function(){return u},er:function(){return a}}),t("82116"),t("17989"),t("21690"),t("29256"),t("36056"),t("70629");var r=t("12308"),o=t("20358"),i=t("39148");function a(n){var e=(0,o._A)(n)+".";return function(n){for(var t=arguments.length,o=Array(t>1?t-1:0),a=1;a(n&&"string"!=typeof n&&(t=n,n=""),n=n?"".concat(e,"__").concat(n):e,"".concat(n).concat(function n(e,t){return t?"string"==typeof t?" ".concat(e,"--").concat(t):Array.isArray(t)?t.reduce((t,r)=>t+n(e,r),""):Object.keys(t).reduce((r,o)=>r+(t[o]?n(e,o):""),""):""}(n,t)))),a(t)]}},44584:function(n,e,t){"use strict";t.d(e,{n:function(){return i}}),t("31564"),t("8649"),t("70629");var r=t("12308"),{hasOwnProperty:o}=Object.prototype;function i(n,e){return Object.keys(e).forEach(t=>{var a,u,c;a=n,c=e[u=t],!(0,r.Xq)(c)||(o.call(a,u)&&(0,r.Kn)(c)?a[u]=i(Object(a[u]),c):a[u]=c)}),n}},82210:function(n,e,t){"use strict";t.d(e,{PF:function(){return v},QU:function(){return a},U4:function(){return l},UW:function(){return f},bn:function(){return h},cx:function(){return i},gQ:function(){return m},kn:function(){return c},oD:function(){return u},pe:function(){return s},uK:function(){return g},xj:function(){return p}}),t("63773"),t("97687"),t("70629"),t("24660");var r=t("22300"),o=t("11848");function i(n){return Math.max("scrollTop"in n?n.scrollTop:n.pageYOffset,0)}function a(n,e){"scrollTop"in n?n.scrollTop=e:n.scrollTo(n.scrollX,e)}function u(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function c(n){a(window,n),a(document.body,n)}function l(n,e){if(n===window)return 0;var t=e?i(e):u();return(0,r.EL)(n).top+t}var d=(0,t("12308").gn)();function s(){d&&c(u())}var f=n=>n.stopPropagation();function v(n,e){("boolean"!=typeof n.cancelable||n.cancelable)&&n.preventDefault(),e&&f(n)}function p(n){var e=(0,o.SU)(n);if(!e)return!1;var t=window.getComputedStyle(e),r="none"===t.display,i=null===e.offsetParent&&"fixed"!==t.position;return r||i}var{width:h,height:g}=(0,r.iP)();function m(n){for(var e=n.parentElement;e;){if(e&&"HTML"!==e.tagName&&"BODY"!==e.tagName&&function(n){var e=window.getComputedStyle(n);return"none"!==e.transform||"none"!==e.perspective||["transform","perspective","filter"].some(n=>(e.willChange||"").includes(n))}(e))return e;e=e.parentElement}return null}},20358:function(n,e,t){"use strict";t.d(e,{As:function(){return c},Bd:function(){return v},Ft:function(){return m},GL:function(){return f},LU:function(){return l},Nn:function(){return a},Xn:function(){return u},_A:function(){return s},uZ:function(){return p},uf:function(){return g}}),t("56115"),t("59644"),t("24660"),t("89176");var r,o=t("12308"),i=t("82210");function a(n){if((0,o.Xq)(n))return(0,o.kE)(n)?"".concat(n,"px"):String(n)}function u(n){if((0,o.Xq)(n)){if(Array.isArray(n))return{width:a(n[0]),height:a(n[1])};var e=a(n);return{width:e,height:e}}}function c(n){var e={};return void 0!==n&&(e.zIndex=+n),e}function l(n){if("number"==typeof n)return n;if(o._f){var e,t,a;if(n.includes("rem")){;return+(e=(e=n).replace(/rem/g,""))*function(){if(!r){var n=document.documentElement;r=parseFloat(n.style.fontSize||window.getComputedStyle(n).fontSize)}return r}()}if(n.includes("vw")){;return+(t=(t=n).replace(/vw/g,""))*i.bn.value/100}if(n.includes("vh")){;return+(a=(a=n).replace(/vh/g,""))*i.uK.value/100}}return parseFloat(n)}var d=/-(\w)/g,s=n=>n.replace(d,(n,e)=>e.toUpperCase()),f=n=>n.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,"");function v(n){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,t=n+"";t.lengthMath.min(Math.max(n,e),t);function h(n,e,t){var r=n.indexOf(e);return -1===r?n:"-"===e&&0!==r?n.slice(0,r):n.slice(0,r+1)+n.slice(r).replace(t,"")}function g(n){var e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],t=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return n=e?h(n,".",/\./g):n.split(".")[0],n=t?h(n,"-",/-/g):n.replace(/-/,""),n.replace(e?/[^-0-9.]/g:/[^-0-9]/g,"")}function m(n,e){return Math.round((n+e)*1e10)/1e10}},22300:function(n,e,t){"use strict";t.d(e,{$E:function(){return b},$d:function(){return d},EL:function(){return p},F1:function(){return N},Ib:function(){return S},NB:function(){return g},OR:function(){return U},OT:function(){return h},Vd:function(){return E},Wn:function(){return l},_f:function(){return c},aM:function(){return M},d1:function(){return s},d9:function(){return L},eo:function(){return O},hk:function(){return A},iP:function(){return P},rP:function(){return k}});var r,o,i,a=t("11848"),u=t("80681"),c="undefined"!=typeof window;function l(n){return c?requestAnimationFrame(n):-1}function d(n){c&&cancelAnimationFrame(n)}function s(n){l(()=>l(n))}var f=n=>n===window,v=(n,e)=>({top:0,left:0,right:n,bottom:e,width:n,height:e}),p=n=>{let e=(0,a.SU)(n);if(f(e)){let n=e.innerWidth;return v(n,e.innerHeight)}return(null==e?void 0:e.getBoundingClientRect)?e.getBoundingClientRect():v(0,0)};function h(n=!1){let e=(0,a.iH)(n);return[e,(n=!e.value)=>{e.value=n}]}function g(n){let e=(0,u.f3)(n,null);if(e){let n=(0,u.FN)(),{link:t,unlink:r,internalChildren:o}=e;return t(n),(0,u.Ah)(()=>r(n)),{parent:e,index:(0,u.Fl)(()=>o.indexOf(n))}}return{parent:null,index:(0,a.iH)(-1)}}var m=(n,e)=>{let t=n.indexOf(e);return -1===t?n.findIndex(n=>void 0!==e.key&&null!==e.key&&n.type===e.type&&n.key===e.key):t};function b(n){let e=(0,a.qj)([]),t=(0,a.qj)([]),r=(0,u.FN)();return{children:e,linkChildren:o=>{(0,u.JJ)(n,Object.assign({link:n=>{n.proxy&&(t.push(n),e.push(n.proxy),!function(n,e,t){let r=function(n){let e=[],t=n=>{Array.isArray(n)&&n.forEach(n=>{var r;(0,u.lA)(n)&&(e.push(n),(null==(r=n.component)?void 0:r.subTree)&&(e.push(n.component.subTree),t(n.component.subTree.children)),n.children&&t(n.children))})};return t(n),e}(n.subTree.children);t.sort((n,e)=>m(r,n.vnode)-m(r,e.vnode));let o=t.map(n=>n.proxy);e.sort((n,e)=>{let t=o.indexOf(n);return t-o.indexOf(e)})}(r,e,t))},unlink:n=>{let r=t.indexOf(n);e.splice(r,1),t.splice(r,1)},children:e,internalChildren:t},o))}}}var y=6e4,w=36e5,C=864e5;function A(n){let e,t,r,o;let i=(0,a.iH)(n.time),s=(0,u.Fl)(()=>{var n;return{total:n=i.value,days:Math.floor(n/C),hours:Math.floor(n%C/w),minutes:Math.floor(n%w/y),seconds:Math.floor(n%y/1e3),milliseconds:Math.floor(n%1e3)}}),f=()=>{r=!1,d(e)},v=()=>Math.max(t-Date.now(),0),p=e=>{var t,r;i.value=e,null==(t=n.onChange)||t.call(n,s.value),0===e&&(f(),null==(r=n.onFinish)||r.call(n))},h=()=>{e=l(()=>{r&&(p(v()),i.value>0&&h())})},g=()=>{e=l(()=>{if(r){let n=v();if(Math.floor(n/1e3)!==Math.floor(i.value/1e3)||0===n)p(n);i.value>0&&g()}})},m=()=>{c&&(n.millisecond?h():g())};return(0,u.Jd)(f),(0,u.dl)(()=>{o&&(r=!0,o=!1,m())}),(0,u.se)(()=>{r&&(f(),o=!0)}),{start:()=>{!r&&(t=Date.now()+i.value,r=!0,m())},pause:f,reset:(e=n.time)=>{f(),i.value=e},current:s}}function S(n){let e;(0,u.bv)(()=>{n(),(0,u.Y3)(()=>{e=!0})}),(0,u.dl)(()=>{e&&n()})}function U(n,e,t={}){let r,o;if(!c)return;let{target:i=window,passive:l=!1,capture:d=!1}=t,s=!1,f=t=>{if(s)return;let o=(0,a.SU)(t);o&&!r&&(o.addEventListener(n,e,{capture:d,passive:l}),r=!0)},v=t=>{if(s)return;let o=(0,a.SU)(t);o&&r&&(o.removeEventListener(n,e,d),r=!1)};return(0,u.Ah)(()=>v(i)),(0,u.se)(()=>v(i)),S(()=>f(i)),(0,a.dq)(i)&&(o=(0,u.YP)(i,(n,e)=>{v(e),f(n)})),()=>{null==o||o(),v(i),s=!0}}function E(n,e,t={}){if(!c)return;let{eventName:r="click"}=t;U(r,t=>{(Array.isArray(n)?n:[n]).every(n=>{let e=(0,a.SU)(n);return e&&!e.contains(t.target)})&&e(t)},{target:document})}function P(){if(!r&&(r=(0,a.iH)(0),o=(0,a.iH)(0),c)){let n=()=>{r.value=window.innerWidth,o.value=window.innerHeight};n(),window.addEventListener("resize",n,{passive:!0}),window.addEventListener("orientationchange",n,{passive:!0})}return{width:r,height:o}}var x=/scroll|auto|overlay/i,T=c?window:void 0;function k(n,e=T){var t;let r=n;for(;r&&r!==e&&"HTML"!==(t=r).tagName&&"BODY"!==t.tagName&&1===t.nodeType;){let{overflowY:n}=window.getComputedStyle(r);if(x.test(n))return r;r=r.parentNode}return e}function O(n,e=T){let t=(0,a.iH)();return(0,u.bv)(()=>{n.value&&(t.value=k(n.value,e))}),t}function L(){if(!i&&(i=(0,a.iH)("visible"),c)){let n=()=>{i.value=document.hidden?"hidden":"visible"};n(),window.addEventListener("visibilitychange",n)}return i}var N=Symbol("van-field");function M(n){let e=(0,u.f3)(N,null);e&&!e.customValue.value&&(e.customValue.value=n,(0,u.YP)(n,()=>{e.resetValidation(),e.validateWithTrigger("onChange")}))}}}]);