!function(){function e(e,t,o,n,r,a,i){try{var s=e[a](i),c=s.value}catch(p){return void o(p)}s.done?t(c):Promise.resolve(c).then(n,r)}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==o)return;var n,r,a=[],i=!0,s=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(c){s=!0,r=c}finally{try{i||null==o.return||o.return()}finally{if(s)throw r}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);odiv{margin-left:.37333rem;display:flex;align-items:center;font-size:.32rem;color:#ff4e19;line-height:.42667rem}._hotGoods_1xtmi_1 ._tips_1xtmi_20 .van-icon{margin-right:.08rem}._hotGoods_1xtmi_1 ._hotGoodsSection_1xtmi_36{padding:.98667rem .21333rem .21333rem;display:flex;justify-content:space-between;align-items:center}._hotGoods_1xtmi_1 ._hotGoodsItem_1xtmi_42,._hotGoods_1xtmi_1 ._hotGoodsItemImg_1xtmi_43{width:2.8rem;height:2.8rem;background:#ffffff;border-radius:.16rem;overflow:hidden}._hotGoodsWrap_1xtmi_50{padding:.26667rem .21333rem .24rem}._hotIcon_1xtmi_53{height:.48rem}._swipeType_se6u6_1{padding-top:.53333rem;padding-bottom:.53333rem}._swipeType_se6u6_1 .van-swipe__indicators{bottom:.32rem}._swipeType_se6u6_1 .van-swipe__indicator:not(:last-child){margin-right:0}._swipeType_se6u6_1 .van-swipe__indicator{width:.53333rem;height:.10667rem;background:#ebebeb;border-radius:.10667rem}._swipeTypeShow_se6u6_17{padding-bottom:.8rem}._typeSection_se6u6_20{display:flex;align-items:center}._typeItem_se6u6_24{width:20%;text-align:center}._typeItem_se6u6_24 ._swipeTypeImg_se6u6_28{width:1.6rem;height:1.6rem;border-radius:50%;overflow:hidden}._typeItem_se6u6_24 ._typeName_se6u6_34{padding-top:.08rem;font-size:.32rem;color:#333}._shopMall_3fob3_1{max-width:20rem;margin:0 auto}._hotContent_3fob3_5{padding:.29333rem .37333rem 0;background-color:#fff;border-radius:0 0 .48rem .48rem}._icon-shop-cart_3fob3_10{display:flex;align-items:center;justify-content:center}._icon-shop-cart_3fob3_10 ._dot_3fob3_15{line-height:.42667rem;background:#ff4e19;border-radius:.26667rem .26667rem 0;font-size:.32rem;color:#fff;padding:0 .13333rem;margin-right:.13333rem}._iconBadge_3fob3_24 .van-badge{border:none}._searchBox_3fob3_27 .van-search{padding-bottom:0}._searchBox_3fob3_27 .van-search .van-search__content{background-color:#fff!important}._swipe_3fob3_33{height:35.2vmin;border-radius:.26667rem;overflow:hidden}._swipe_3fob3_33 ._swipeItemImg_3fob3_38{height:100%;width:100%}._swipe_3fob3_33 .van-swipe__indicators{right:.26667rem;left:initial}._swipe_3fob3_33 .van-swipe__indicator{transition:width .3s}._swipe_3fob3_33 .van-swipe__indicator--active{width:.32rem;border-radius:.10667rem}._tabs_3fob3_53 .van-tab{height:.8rem;padding:0 .37333rem;border-radius:.16rem;color:#333;font-size:.37333rem;background-color:#fff;margin-right:.26667rem}._tabs_3fob3_53 .van-tabs__wrap{height:initial!important;padding-top:.37333rem;padding-bottom:.37333rem;background-color:#f6f8f9}._tabs_3fob3_53 .van-sticky--fixed{box-shadow:.26667rem .26667rem .26667rem var(--box-shadow-color)}._tabs_3fob3_53 .van-tab--active{background-color:#d9fff8;color:var(--van-primary)}._tabs_3fob3_53 .van-tabs__nav{padding:0 .10667rem 0 .37333rem!important}._tabs_3fob3_53 .van-tabs__line{display:none}._theHomeHeader_1wz49_1{position:sticky;top:0;background-color:#fff;padding:.26667rem .37333rem;z-index:100}._theHomeHeader_1wz49_1 ._content_1wz49_8{display:flex;align-items:center}._theHomeHeader_1wz49_1 ._content_1wz49_8 ._mall_1wz49_12{width:1.92rem;height:.74667rem;flex-shrink:0}._theHomeHeader_1wz49_1 ._content_1wz49_8 ._cart_1wz49_17{width:.53333rem;height:.53333rem;flex-shrink:0}._theHomeHeader_1wz49_1 ._content_1wz49_8 ._more_1wz49_22{width:.53333rem;height:.42667rem;flex-shrink:0;margin-left:.42667rem;-o-object-fit:contain;object-fit:contain}._theHomeHeader_1wz49_1 ._searchBox_1wz49_29{flex:1;display:flex;align-items:center;padding:0 .42667rem;background-color:#f8f8f8;border-radius:.53333rem;color:#ccc;height:.8rem;margin-left:.10667rem;margin-right:.42667rem}._theHomeHeader_1wz49_1 ._searchBox_1wz49_29 ._iconSearch_1wz49_41{width:.42667rem;height:.42667rem;margin-right:.42667rem}._popover_1wz49_46 .van-popover__arrow{right:0!important}:root{--van-popover-arrow-size: .16rem;--van-popover-border-radius: var(--van-border-radius-lg);--van-popover-action-width: 3.41333rem;--van-popover-action-height: 1.17333rem;--van-popover-action-font-size: var(--van-font-size-md);--van-popover-action-line-height: var(--van-line-height-md);--van-popover-action-icon-size: .53333rem;--van-popover-light-text-color: var(--van-text-color);--van-popover-light-background-color: var(--van-background-color-light);--van-popover-light-action-disabled-text-color: var(--van-text-color-3);--van-popover-dark-text-color: var(--van-white);--van-popover-dark-background-color: #4a4a4a;--van-popover-dark-action-disabled-text-color: var(--van-text-color-2)}.van-popover{position:absolute;overflow:visible;background-color:transparent;transition:opacity .15s,transform .15s}.van-popover__wrapper{display:inline-block}.van-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:var(--van-popover-arrow-size)}.van-popover__content{overflow:hidden;border-radius:var(--van-popover-border-radius)}.van-popover__action{position:relative;display:flex;align-items:center;box-sizing:border-box;width:var(--van-popover-action-width);height:var(--van-popover-action-height);padding:0 var(--van-padding-md);font-size:var(--van-popover-action-font-size);line-height:var(--van-line-height-md);cursor:pointer}.van-popover__action:last-child .van-popover__action-text:after{display:none}.van-popover__action-text{display:flex;flex:1;align-items:center;justify-content:center;height:100%}.van-popover__action-icon{margin-right:var(--van-padding-xs);font-size:var(--van-popover-action-icon-size)}.van-popover__action--with-icon .van-popover__action-text{justify-content:flex-start}.van-popover[data-popper-placement^=top] .van-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;transform:translate(-50%);margin-bottom:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=top]{transform-origin:50% 100%}.van-popover[data-popper-placement=top] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=top-start]{transform-origin:0 100%}.van-popover[data-popper-placement=top-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=top-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=top-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover[data-popper-placement^=left] .van-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;transform:translateY(-50%);margin-right:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=left]{transform-origin:100% 50%}.van-popover[data-popper-placement=left] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=left-start]{transform-origin:100% 0}.van-popover[data-popper-placement=left-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=left-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=left-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=right] .van-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;transform:translateY(-50%);margin-left:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=right]{transform-origin:0 50%}.van-popover[data-popper-placement=right] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=right-start]{transform-origin:0 0}.van-popover[data-popper-placement=right-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=right-end]{transform-origin:0 100%}.van-popover[data-popper-placement=right-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=bottom] .van-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;transform:translate(-50%);margin-top:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=bottom]{transform-origin:50% 0}.van-popover[data-popper-placement=bottom] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=bottom-start]{transform-origin:0 0}.van-popover[data-popper-placement=bottom-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=bottom-end]{transform-origin:100% 0}.van-popover[data-popper-placement=bottom-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover--light{color:var(--van-popover-light-text-color)}.van-popover--light .van-popover__content{background:var(--van-popover-light-background-color);box-shadow:0 .05333rem .32rem rgba(50,50,51,.12)}.van-popover--light .van-popover__arrow{color:var(--van-popover-light-background-color)}.van-popover--light .van-popover__action:active{background-color:var(--van-active-color)}.van-popover--light .van-popover__action--disabled{color:var(--van-popover-light-action-disabled-text-color);cursor:not-allowed}.van-popover--light .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark{color:var(--van-popover-dark-text-color)}.van-popover--dark .van-popover__content{background:var(--van-popover-dark-background-color)}.van-popover--dark .van-popover__arrow{color:var(--van-popover-dark-background-color)}.van-popover--dark .van-popover__action:active{background-color:rgba(0,0,0,.2)}.van-popover--dark .van-popover__action--disabled{color:var(--van-popover-dark-action-disabled-text-color)}.van-popover--dark .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark .van-popover__action-text:after{border-color:var(--van-gray-7)}.van-popover-zoom-enter-from,.van-popover-zoom-leave-active{transform:scale(.8);opacity:0}.van-popover-zoom-enter-active{transition-timing-function:var(--van-animation-timing-function-enter)}.van-popover-zoom-leave-active{transition-timing-function:var(--van-animation-timing-function-leave)}\n",document.head.appendChild(n),System.register(["./index-legacy.f8641610.js","./index-legacy.c8b60294.js","./index-legacy.cec8cead.js","./index-legacy.00d337cc.js","./index-legacy.4ddb0119.js","./index-legacy.a8de4840.js","./index-legacy.9178220b.js","./shop-mall-legacy.abf66ea2.js","./use-id-legacy.30c2e9af.js","./use-tab-status-legacy.5d29085f.js","./use-refs-legacy.e503281e.js","./index-legacy.13f535d5.js","./index-legacy.7a7ddbd3.js","./index-legacy.fc510843.js","./index-legacy.1dea7f77.js","./index-legacy.aee47fad.js","./index-legacy.e0697bba.js","./index-legacy.28050159.js","./icon-sell-out-legacy.ae9d997a.js"],(function(o){"use strict";var n,r,a,i,s,c,p,l,d,f,u,v,m,h,g,b,_,w,A,y,x,O,C,k,S,E,j,z,U,I,W,L,B,H,R,P,V,T,K,M,N;return{setters:[function(e){n=e.E,r=e.a0,a=e.aW,i=e.G,s=e.H,c=e.I,p=e.d,l=e.U,d=e.V,f=e.a5,u=e.a3,v=e.bt,m=e.i,h=e.aT,g=e.a8,b=e.aB,_=e.F,w=e.X,A=e.J,y=e.N,x=e.aZ,O=e.O,C=e.$,k=e.Y,S=e.A,E=e.aw,j=e.p,z=e.b,U=e.b1,I=e.br,W=e.e,L=e.a},function(e){B=e.I},function(e){H=e.P},function(e){R=e.a,P=e.S},function(){},function(e){V=e.T,T=e.a},function(e){K=e.T},function(e){M=e.c,N=e.g},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){function Q(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function J(e){return e instanceof Q(e).Element||e instanceof Element}function D(e){return e instanceof Q(e).HTMLElement||e instanceof HTMLElement}function q(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Q(e).ShadowRoot||e instanceof ShadowRoot)}var G=Math.round;function F(e,t){void 0===t&&(t=!1);var o=e.getBoundingClientRect(),n=1,r=1;if(D(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(n=G(o.width)/i||1),a>0&&(r=G(o.height)/a||1)}return{width:o.width/n,height:o.height/r,top:o.top/r,right:o.right/n,bottom:o.bottom/r,left:o.left/n,x:o.left/n,y:o.top/r}}function Y(e){var t=Q(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(e){return e?(e.nodeName||"").toLowerCase():null}function Z(e){return((J(e)?e.ownerDocument:e.document)||window.document).documentElement}function $(e){return Q(e).getComputedStyle(e)}function ee(e){var t=$(e),o=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+r+n)}function te(e,t,o){void 0===o&&(o=!1);var n,r,a=D(t),i=D(t)&&function(e){var t=e.getBoundingClientRect(),o=G(t.width)/e.offsetWidth||1,n=G(t.height)/e.offsetHeight||1;return 1!==o||1!==n}(t),s=Z(t),c=F(e,i),p={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(a||!a&&!o)&&(("body"!==X(t)||ee(s))&&(p=(n=t)!==Q(n)&&D(n)?{scrollLeft:(r=n).scrollLeft,scrollTop:r.scrollTop}:Y(n)),D(t)?((l=F(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=function(e){return F(Z(e)).left+Y(e).scrollLeft}(s))),{x:c.left+p.scrollLeft-l.x,y:c.top+p.scrollTop-l.y,width:c.width,height:c.height}}function oe(e){return"html"===X(e)?e:e.assignedSlot||e.parentNode||(q(e)?e.host:null)||Z(e)}function ne(e){return["html","body","#document"].indexOf(X(e))>=0?e.ownerDocument.body:D(e)&&ee(e)?e:ne(oe(e))}function re(e,t){var o;void 0===t&&(t=[]);var n=ne(e),r=n===(null==(o=e.ownerDocument)?void 0:o.body),a=Q(n),i=r?[a].concat(a.visualViewport||[],ee(n)?n:[]):n,s=t.concat(i);return r?s:s.concat(re(oe(i)))}function ae(e){return["table","td","th"].indexOf(X(e))>=0}function ie(e){return D(e)&&"fixed"!==$(e).position?e.offsetParent:null}function se(e){for(var t=Q(e),o=ie(e);o&&ae(o)&&"static"===$(o).position;)o=ie(o);return o&&("html"===X(o)||"body"===X(o)&&"static"===$(o).position)?t:o||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&D(e)&&"fixed"===$(e).position)return null;var o=oe(e);for(q(o)&&(o=o.host);D(o)&&["html","body"].indexOf(X(o))<0;){var n=$(o);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return o;o=o.parentNode}return null}(e)||t}var ce="top",pe="bottom",le="right",de="left",fe="auto",ue="start",ve="end",me=[].concat([ce,pe,le,de],[fe]).reduce((function(e,t){return e.concat([t,t+"-"+ue,t+"-"+ve])}),[]),he=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ge(e){var t=new Map,o=new Set,n=[];function r(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!o.has(e)){var n=t.get(e);n&&r(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||r(e)})),n}function be(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var f=s.orderedModifiers[d],u=f.fn,v=f.options,m=void 0===v?{}:v,h=f.name;"function"==typeof u&&(s=u({state:s,options:m,name:h,instance:l})||s)}else s.reset=!1,d=-1}}else console.error(xe)}},update:(r=function(){return new Promise((function(e){l.forceUpdate(),e(s)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(r())}))}))),i}),destroy:function(){d(),p=!0}};if(!Ce(e,t))return console.error(xe),l;function d(){c.forEach((function(e){return e()})),c=[]}return l.setOptions(o).then((function(e){!p&&o.onFirstUpdate&&o.onFirstUpdate(e)})),l}}var Se={passive:!0};var Ee={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=function(e){var t,o=e.reference,n=e.element,r=e.placement,a=r?Ae(r):null,i=r?ye(r):null,s=o.x+o.width/2-n.width/2,c=o.y+o.height/2-n.height/2;switch(a){case ce:t={x:s,y:o.y-n.height};break;case pe:t={x:s,y:o.y+o.height};break;case le:t={x:o.x+o.width,y:c};break;case de:t={x:o.x-n.width,y:c};break;default:t={x:o.x,y:o.y}}var p=a?function(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}(a):null;if(null!=p){var l="y"===p?"height":"width";switch(i){case ue:t[p]=t[p]-(o[l]/2-n[l]/2);break;case ve:t[p]=t[p]+(o[l]/2-n[l]/2)}}return t}({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},je={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ze(e){var t,o=e.popper,n=e.popperRect,r=e.placement,a=e.variation,i=e.offsets,s=e.position,c=e.gpuAcceleration,p=e.adaptive,l=e.roundOffsets,d=e.isFixed,f=i.x,u=void 0===f?0:f,v=i.y,m=void 0===v?0:v,h="function"==typeof l?l({x:u,y:m}):{x:u,y:m};u=h.x,m=h.y;var g=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),_=de,w=ce,A=window;if(p){var y=se(o),x="clientHeight",O="clientWidth";if(y===Q(o)&&"static"!==$(y=Z(o)).position&&"absolute"===s&&(x="scrollHeight",O="scrollWidth"),r===ce||(r===de||r===le)&&a===ve)w=pe,m-=(d&&y===A&&A.visualViewport?A.visualViewport.height:y[x])-n.height,m*=c?1:-1;if(r===de||(r===ce||r===pe)&&a===ve)_=le,u-=(d&&y===A&&A.visualViewport?A.visualViewport.width:y[O])-n.width,u*=c?1:-1}var C,k=Object.assign({position:s},p&&je),S=!0===l?function(e){var t=e.x,o=e.y,n=window.devicePixelRatio||1;return{x:G(t*n)/n||0,y:G(o*n)/n||0}}({x:u,y:m}):{x:u,y:m};return u=S.x,m=S.y,c?Object.assign({},k,((C={})[w]=b?"0":"",C[_]=g?"0":"",C.transform=(A.devicePixelRatio||1)<=1?"translate("+u+"px, "+m+"px)":"translate3d("+u+"px, "+m+"px, 0)",C)):Object.assign({},k,((t={})[w]=b?m+"px":"",t[_]=g?u+"px":"",t.transform="",t))}var Ue={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var o=t.styles[e]||{},n=t.attributes[e]||{},r=t.elements[e];D(r)&&X(r)&&(Object.assign(r.style,o),Object.keys(n).forEach((function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce((function(e,t){return e[t]="",e}),{});D(n)&&X(n)&&(Object.assign(n.style,a),Object.keys(r).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},Ie=ke({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,n=e.options,r=n.scroll,a=void 0===r||r,i=n.resize,s=void 0===i||i,c=Q(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach((function(e){e.addEventListener("scroll",o.update,Se)})),s&&c.addEventListener("resize",o.update,Se),function(){a&&p.forEach((function(e){e.removeEventListener("scroll",o.update,Se)})),s&&c.removeEventListener("resize",o.update,Se)}},data:{}},Ee,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,n=o.gpuAcceleration,r=void 0===n||n,a=o.adaptive,i=void 0===a||a,s=o.roundOffsets,c=void 0===s||s,p=$(t.elements.popper).transitionProperty||"";i&&["transform","top","right","bottom","left"].some((function(e){return p.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));var l={placement:Ae(t.placement),variation:ye(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ze(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ze(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ue]});var We={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,n=e.name,r=o.offset,a=void 0===r?[0,0]:r,i=me.reduce((function(e,o){return e[o]=function(e,t,o){var n=Ae(e),r=[de,ce].indexOf(n)>=0?-1:1,a="function"==typeof o?o(Object.assign({},t,{placement:e})):o,i=a[0],s=a[1];return i=i||0,s=(s||0)*r,[de,le].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}(o,t.rects,a),e}),{}),s=i[t.placement],c=s.x,p=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=i}},Le=t(n("popover"),2),Be=Le[0],He=Le[1],Re=["show","overlay","duration","teleport","overlayStyle","overlayClass","closeOnClickOverlay"],Pe={show:Boolean,theme:r("light"),overlay:Boolean,actions:a(),trigger:r("click"),duration:i,showArrow:s,placement:r("bottom"),iconPrefix:String,overlayClass:c,overlayStyle:Object,closeOnClickAction:s,closeOnClickOverlay:s,closeOnClickOutside:s,offset:{type:Array,default:function(){return[0,8]}},teleport:{type:[String,Object],default:"body"}},Ve=p({name:Be,props:Pe,emits:["select","touchstart","update:show"],setup:function(e,t){var o,n=t.emit,r=t.slots,a=t.attrs,i=l(),s=l(),c=function(){w((function(){e.show&&(o?o.setOptions({placement:e.placement}):o=i.value&&s.value?Ie(i.value,s.value.popupRef.value,{placement:e.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},A({},We,{options:{offset:e.offset}})]}):null)}))},p=function(e){return n("update:show",e)},O=function(){"click"===e.trigger&&p(!e.show)},C=function(e){e.stopPropagation(),n("touchstart",e)},k=function(t,o){return r.action?r.action({action:t,index:o}):[t.icon&&m(y,{name:t.icon,classPrefix:e.iconPrefix,class:He("action-icon")},null),m("div",{class:[He("action-text"),x]},[t.text])]},S=function(t,o){var r=t.icon,a=t.color,i=t.disabled,s=t.className;return m("div",{role:"menuitem",class:[He("action",{disabled:i,"with-icon":r}),s],style:{color:a},tabindex:i?void 0:0,"aria-disabled":i||void 0,onClick:function(){return function(t,o){t.disabled||(n("select",t,o),e.closeOnClickAction&&p(!1))}(t,o)}},[k(t,o)])};return d(c),f((function(){o&&(o.destroy(),o=null)})),u((function(){return[e.show,e.placement]}),c),v(i,(function(){!e.closeOnClickOutside||e.overlay&&!e.closeOnClickOverlay||p(!1)}),{eventName:"touchstart"}),function(){var t;return m(_,null,[m("span",{ref:i,class:He("wrapper"),onClick:O},[null==(t=r.reference)?void 0:t.call(r)]),m(h,g({ref:s,class:He([e.theme]),position:"",transition:"van-popover-zoom",lockScroll:!1,onTouchstart:C,"onUpdate:show":p},a,b(e,Re)),{default:function(){return[e.showArrow&&m("div",{class:He("arrow")},null),m("div",{role:"menu",class:He("content")},[r.default?r.default():e.actions.map(S)])]}})])}}}),Te=O(Ve),Ke="_hotGoods_1xtmi_1",Me="_hotGoodsSection_1xtmi_36",Ne="_hotGoodsItem_1xtmi_42",Qe="_hotGoodsItemImg_1xtmi_43",Je=p({name:"hot-goods",props:{hotProductList:{type:Array,default:[]},onOpenWebView:{type:Function,default:function(e){}}},render:function(){var e=this;return m("div",{class:Ke},[m("div",{class:Me},[this.hotProductList.map((function(t){return m("div",{class:Ne,onClick:function(){e.onOpenWebView("/goodsDetail?id="+t.id)}},[m(B,{class:Qe,src:t.pic,fit:"cover"},null)])}))])])}}),De="_swipeType_se6u6_1",qe="_swipeTypeShow_se6u6_17",Ge="_typeSection_se6u6_20",Fe="_typeItem_se6u6_24",Ye="_swipeTypeImg_se6u6_28",Xe="_typeName_se6u6_34";function Ze(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!C(e)}var $e=p({name:"menu-list",props:{productList:{type:Array,default:[]},onOpenWebView:{type:Function,default:function(e){}}},render:function(){var e,t=this;return m(P,{class:[De,this.productList.length>1&&qe],"indicator-color":"var(--van-primary)",loop:!1,showIndicators:this.productList.length>1},Ze(e=this.productList.map((function(e){var o;return m(R,{class:Ge},Ze(o=e.map((function(e){return m("div",{class:Fe,onClick:function(){t.onOpenWebView("/goodsList?id="+e.id+"&tag="+encodeURIComponent(e.name))}},[m(B,{class:Ye,src:e.icon,fit:"cover"},null),m("p",{class:Xe},[e.name])])})))?o:{default:function(){return[o]}})})))?e:{default:function(){return[e]}})}}),et="_shopMall_3fob3_1",tt="_hotContent_3fob3_5",ot="_swipe_3fob3_33",nt="_swipeItemImg_3fob3_38",rt="_tabs_3fob3_53",at="_theHomeHeader_1wz49_1",it="_content_1wz49_8",st="_mall_1wz49_12",ct="_cart_1wz49_17",pt="_more_1wz49_22",lt="_searchBox_1wz49_29",dt="_iconSearch_1wz49_41",ft="_popover_1wz49_46",ut=p({name:"TheHomeHeader",emits:["cart","more","search","headerDom"],setup:function(e,t){var o=t.emit,n=l(sessionStorage.getItem("navHeight")),r=l(null);j({api:"setBarStatus",content:{status:0}}),n.value||j({api:"getNavHeight"},(function(e){var t=e.content,o=t.dpi||2;if(t.navHeight){var r=t.navHeight/o+"";sessionStorage.setItem("navHeight",r),n.value=r}}));var a={reference:function(){return m("img",{class:pt,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAgCAYAAAAv8DnQAAAAAXNSR0IArs4c6QAAAKhJREFUOE+9k80NwjAMhb8ugMQQZQUYgAVgGmABugxlABigXaEMgWACZDU+ENV9OTWXKPGT/H7sivFsgCuwT+8ncAaGKhU7YJ2Kfr2BnQFuwDEr+rM1wAdYBYBvEUC2MAWzJKdkPoCLywz4jd9GciGAKWmyLE7FWbTAIWB6L7JahiWzqIE+GJitO2mgqZF7LWh1mKhzyPfib2DkyEmjpNUSIFtIkrPr/wMjhDS5mC5rjQAAAABJRU5ErkJggg==",onClick:function(){return o("more")}},null)}};d((function(){w((function(){setTimeout((function(){var e=k(r).height;o("headerDom",e)}),300)}))}));var i=l(!1),s=[{text:"我的订单",icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAoCAYAAACWwljjAAAAAXNSR0IArs4c6QAAAWlJREFUWEftmL9Lw0AUx7+v6VIVBzuqo65KLsR01slVsjsLiiDo36AgiIOze3F10tlYklBXHW1HHUTt0vTJDXYoqSfpWY9yt4Xj5T73ee/y4xEAcl13h4iOACzIa4x3MIAWMx+naXpBQohdAOfjZRi62p4EagGYNwSoLYF6/5CmYftnCSRz2B9Jkoy1hgbXt0CDubKGVKfXGvoTQ77vV7Ms22bmGdUCefNE9O44zmWj0XjRUtSe590w83oRmO8YIrqN43hDC5AQ4hNAZRQgAJ0kSaa0ABlnyLgaGjFVP4bb55DKrjVkDakMqOYno4bc6CroMZ8BvKjacf48PZeI9tNgK9Ly6li9qz8CWCoG0496atbCZV1A8rNhbkSg12YtrGoBWonqBwBOiFEqAsUE+e93+BCEp1qA5E3WouvZbrkzXQSo3K183Aebb3mxk3HKilj5bYw1pDJl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dgDMfVrrm+qdIhIQAGlkQmmlJdjyVD6fv7JWpJRSEgG5VdgyorX+TNSbQCOAsG7dumUzMzMyKIP8+C9zc3MbJycn36juXIO4C4P43enTpzcfOnRI2GldaQiQeBD+29nZuY+IPh7wKKzgEx0dHcfz+fxdlQeuBRUi+lM8Hr9qbGzsVBQYWW8YkCj39PSc1dbWJs8nMuEXhJkLRDQLIPjK9vj09PSWY8eOnW4ETNOAxKCSvh0AFnXY4IZEtHd2dnZrI2mybZuKkGUohS40N+y6vaOjo+OWt/CW1FzKglHwPG+LMUZogyIiOVzWGHNPNptd9CrWaLpE779qLb1txBR+1QAAAABJRU5ErkJggg==",url:"/"}];return function(){return m("div",{class:at,ref:r},[m("div",{style:{height:n.value+"px",background:"#fff"}},null),m("div",{class:it},[m("img",{class:st,src:"./assets/icon-mall.5e97cdfd.png"},null),m("div",{class:lt,onClick:function(){return o("search")}},[m("img",{class:dt,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABLtJREFUWEe9l2toXEUUgM+Zu4kaQVKpVVLKZjMz2bYrRiEpEhHFltJqWpXijxbBNlUQrIoSKkIrFqvS+kb7Q3yB+kPoQ2tBqVLjI7WowUeFxt25s5uIkFCVsk26mN29c2R0d5ndbDebJuT8u/eexzdzzp1zBqEO0Vp3GWN6ELGbiNoRcSERNQLABACMAMBJxlh/KBT6KBwOn6nDZUkFayknk8l1QRA8BQAddTqdZIy96Xne062traP12FQFGBoaam1oaHifiG6ox0kVnQwi7hJC7J3OfgqA1nqlMeYDAFhYw5gAIAcANg215GA2m90ci8VsqqpKGYDWepUx5hMAaHC1icgGOwgAR0Kh0PFIJDKKiNmRkZEF+XyeE9EaItoIAMsroyDiN5OTk6tisVi2GkEJIJFILEPEbwGguULxYGNj4/ZwOJystVQiYr7vb0TE54noKlcXEd8VQtxzXoDBwcGG5ubmH4no6qISIgaI2Mc5f3m6PLrf4/H4Ys/zPiSiLvc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J+RLStmAHAgXQ6vWleASyE7/ubAeAWzvkWe/n5F1ek5boVi45TAAAAAElFTkSuQmCC"},null),m("span",null,[S("搜索你喜欢的内容")])]),m(E,{content:M.value,showZero:!1},{default:function(){return[m("img",{class:ct,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAoCAYAAACIC2hQAAAAAXNSR0IArs4c6QAAA9pJREFUWEfN2H1oVWUcwPHvc69Z0ybONpGZmU6NEt2mhdsw06B8AVFcW4hS4gvOl0jDNJUsRSgyUHoPEl+CEZso+s/Y/lDKV2jSNrXwlXKuLIZOXc2md4/85J7tuYe7c869ec7t+e/ee57n+dzzvP2enwIKgB3AU4AitrQB3wGLgIjtt0A/CuwM8IxLr/OAXYHKbJ0J9BqQ4YL4EliaaugHwDsuiGpgSqqh0v+Ltjk6AXjVgJ0HRvwfoHbDTGCf8WU7kAZ0pAprX+WWYzRQb6IGrV0yI3P6pBuBQnuEdaSDSw0FxVe6gz4K3DS3q5xt635PH5efHSgU0OgOQuGl3UHF8xeQZcEGrlrYnFU8OTNoqPSnFVedoCeAcRas/+uz7maXze6RCihw3QlaDsy2YH3GP3dt6JbV/VIE/ckJuhlYb8FU2sP1uQfLlwUBVUTWaNR0qy8Ne52gC4BvDNifwIAgoHnHKqtRvNzZl1IfO0EnAQcNmAbSgb/9xuYdrzwHDO+ChpY5QQcDv9pQo4DTvkK1DuWd2CNRW8/OaQfTnKBh4B+zAjADOOAndGxtxRORO+o3s4+IVk87QeVZOeOHGZVWAtv8hOYdr5wIHOoadjpa2lp7u0Elauqa1PAJ8Kaf0Nxje+YrpbcbfTTVFZY87gaVOLSss1I4XJX/496FfkL1v+2rABk5qxypKyx53g36NvCRVSOU3rtpdM3OgX5C7W1rrb+tLyp9zQ36ClBpzJfbuUcrHlHKrdoD/Ssb6wpL3nfrcQxw0ux25P6vWx7q36/vA6U4Nab1nLqi0nI3qICum+3kfLqhMf3ZUYOCgaqLrer2mAsFc2+6QcUTc/nLmDrhs8Eblse8ZT/QStF6i/YaQUr7XqC1wFgD8x6wyQ+cU5teoBVAidGI3O/lnh9o8QL9EFhjqH4AXghU6XHoFwNfGbA/ome+n9ZG4KrZgZc3+hJQ46cqTtsSUkrQLsmR+8ULNAe4EDBUursTTTXdj3+9QOVCJ1uUBM1BlrvAY9Fruyeo4OTMl0UVClC6BVidyNBbz0pcOiQgaBPwc6KLyXxe3qiEeXKfklW5Fbj8H/FDgRWAJDdk0co+LYsppniZo2YFiaQkorJKC1AE/JIkNh/43jb/4x4oiUAlP1oVByTfTUsSKkhJcdqLfHc42aF/t5szvtnMUSUIlq2nV5w6b0WnVedPibxRe0LCaqQByE0QaD1+tpsEcWlMwO5xH7UalX9+CpDJbxbJTEvgkkxZAnxhqyiHi+Rn5W6f1BuVSk8Cn0dT6bLqJeTbnYzQqPMGIEMtKU7JzCyPt5PcA0+Cz4P7YN7nAAAAAElFTkSuQmCC",onClick:function(){return o("cart")}},null)]}}),m(Te,{placement:"bottom-end",class:ft,show:i.value,"onUpdate:show":function(e){return i.value=e},actions:s,onSelect:function(e){return o("more",e)}},a)])])}}});o("default",p({name:"shop-mall",data:function(){return{loading:!1,height:"auto",count:0,advertiseList:[],productList:[],hotProductList:[],productCategoryList:[]}},mounted:function(){var e=this;this.init(),z().ios?document.addEventListener("visibilitychange",(function(t){if(!document.hidden){N();var o=e.$refs.tabFirst;null==o||o.onSearch()}})):U("UpdateToken",(function(t){null!=t&&t.content.token&&L(null==t?void 0:t.content.token),N();var o=e.$refs.tabFirst;null==o||o.onSearch()}))},unmounted:function(){I("UpdateToken",(function(){}))},methods:{onRefresh:function(){var e=this;this.productCategoryList=[],this.$nextTick((function(){e.init()}));var t=this.$refs.tabFirst;null==t||t.onSearch()},init:function(){var t,o=this;return(t=regeneratorRuntime.mark((function e(){var t,n,r,a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,W.get("/api-mall-portal/home/content");case 3:for(t=e.sent,n=t.data||{},o.count=n.count,M.value=n.count,o.advertiseList=n.advertiseList,r=n.productCategoryList||[],a=[];r.length>0;)i=r.splice(0,5),a.push(i);o.productList=a,o.hotProductList=n.hotProductList||[],o.productCategoryList=n.productAttributeCategoryList||[],e.next=18;break;case 16:e.prev=16,e.t0=e.catch(0);case 18:setTimeout((function(){o.loading=!1}),500);case 19:case"end":return e.stop()}}),e,null,[[0,16]])})),function(){var o=this,n=arguments;return new Promise((function(r,a){var i=t.apply(o,n);function s(t){e(i,r,a,s,c,"next",t)}function c(t){e(i,r,a,s,c,"throw",t)}s(void 0)}))})()},openWebView:function(e){try{var t=location.origin+location.pathname+"#";if(!e)return;if(e.indexOf("http")<0&&(e=t+e),console.log("跳转url:",e),!z().isApp)return void(location.href=e);j({api:"openWebView",content:{url:e,orientation:1,isHideTitle:!1}})}catch(o){}}},render:function(){var e,t=this;return m("div",{class:et},[m(ut,{onCart:function(){return t.openWebView("/cart")},onSearch:function(){return t.openWebView("/goodsList?input=focus")},onHeaderDom:function(e){console.log(e,"height"),t.height=e+"px"},onMore:function(e){e&&("我的地址"==e.text?j({api:"setAddress",content:{}}):t.openWebView(e.url))}},null),m(H,{modelValue:this.loading,"onUpdate:modelValue":function(e){return t.loading=e},"loading-text":"正在刷新...","success-text":"刷新完成",onRefresh:function(){return t.onRefresh()}},{default:function(){return[m("div",{class:tt},[m(P,{class:ot,autoplay:3e3},(o=e=t.advertiseList.map((function(e){return m(R,{onClick:function(){return t.openWebView(e.url)}},{default:function(){return[m(B,{class:nt,src:e.pic,fit:"fill"},null)]}})})),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!C(o)?e:{default:function(){return[e]}})),m($e,{productList:t.productList,onOpenWebView:t.openWebView},null)]),3===t.hotProductList.length&&m(Je,{hotProductList:t.hotProductList,onOpenWebView:t.openWebView},null),m(V,{shrink:!0,lineWidth:25,background:"#f6f8f9",color:"var(--van-primary)",class:rt,sticky:!0,offsetTop:t.height,lazyRender:!0},{default:function(){return[m(T,{title:"全部",name:0},{default:function(){return[m(K,{ref:"tabFirst",isTab:!0,productAttributeCategoryId:0,onOpenWebView:t.openWebView,showAdd:!1},null)]}}),t.productCategoryList.map((function(e){return m(T,{title:e.name,name:e.id},{default:function(){return[m(K,{isTab:!0,showAdd:!1,productAttributeCategoryId:e.id,onOpenWebView:t.openWebView},null)]}})}))]}})];var o}})])}}))}}}))}();