// {"framework" : "Rax"}
!function(e){if("function"==typeof define)define("aemod/ae-wl-promotePruductList/index.web",["rax","rax-view","rax-text","rax-picture","@weex-module/userTrack","npm/@ali/universal-alienv/index","@weex-module/user","@weex-module/appConfig","@weex-module/navigator","@weex-module/windvane","@weex-module/globalEvent"],function(require,exports,module){module.exports=e(require("rax"),require("rax-view"),require("rax-text"),require("rax-picture"),require("npm/@ali/universal-alienv/index"))});else if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e(require("rax"),require("rax-view"),require("rax-text"),require("rax-picture"),require("npm/@ali/universal-alienv/index"));else{var t;(t="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:this).AeWlPromotePruductList=e(t.rax,t["rax-view"],t["rax-text"],t["rax-picture"],t["npm/@ali/universal-alienv/index"])}}(function(e,t,n,r,o){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var module=t[r]={i:r,l:!1,exports:{}};return e[r].call(module.exports,module,module.exports,n),module.l=!0,module.exports}return n.m=e,n.c=t,n.d=function(exports,e,t){n.o(exports,e)||Object.defineProperty(exports,e,{enumerable:!0,get:t})},n.r=function(exports){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(module){var e=module&&module.__esModule?function(){return module.default}:function(){return module};return n.d(e,"a",e),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=207)}([function(module,exports){module.exports=e},function(module,exports){module.exports=t},function(module,exports){module.exports=n},function(module,exports,e){exports.__esModule=!0;var t=e(30);Object.keys(t).forEach(function(e){"default"===e||"__esModule"===e||e in exports&&exports[e]===t[e]||(exports[e]=t[e])})},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.isRTL=t,exports.getRTLCSS=function(e,n,r){var o=n[r],i=Object.assign({},o,n[r+"-rtl"]);return t(e)?i:o};var e=["ar","he","Arabic","Hebrew"];function t(t){var n=t.lang,r=void 0===n?"":n;return e.includes(r)}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.isRTL=t,exports.getRTLCSS=function(e,n,r){var o=n[r],i=Object.assign({},o,n[r+"-rtl"]);return t(e)?i:o};var e=["ar","he","Arabic","Hebrew"];function t(t){var n=t.lang,r=void 0===n?"":n;return e.includes(r)}},function(module,exports){module.exports=r},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=e(148);Object.keys(t).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})});var n=e(42);Object.keys(n).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return n[e]}})});var r=e(149);Object.keys(r).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return r[e]}})})},function(module,exports,e){var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(exports,"__esModule",{value:!0}),exports.addGlobalEventListener=exports.callWindVaneHandler=exports.openWindow=void 0,exports.formatSales=function(e){var t=Math.floor,n=parseFloat(e.replace(/,/g,"").replace(/[^0-9.-]/g,"")),r=e.match(/[^\d.,-]*$/),o=r?r[0].trim():"";if("number"!=typeof n||isNaN(n))return e;var i="";n<500?i=n.toString():n<1e3?i=100*t(n/100)+"+":n>=1e6?i=(n/1e6).toFixed(n>=1e7?0:1)+"M+":n>=1e5?i=(n/1e6).toFixed(1)+"M+":n>=1e4?i=t(n/1e3)+"k+":n>=1e3&&(i=(n/1e3).toFixed(1)+"k+");var a=o.replace(/\++/g,"").trim();return i+(a?" "+a:"")};var n=e(3);exports.openWindow=function(t){if(n.isWeex)try{(n.isWeex&&e(68)).push({url:t},function(){})}catch(e){console.warn("[error] openWindow failed "+JSON.stringify(e))}else location.href=t},exports.callWindVaneHandler=function(r,o,i,a,l){if(n.isWeex)try{(n.isWeex&&e(69)).call2(r+"."+o,t({},i),a,function(e){console.warn("[error] getWindVane failed "+r+"."+o+" "+JSON.stringify(e)),l(e)})}catch(e){console.warn("[error] getWindVane failed "+JSON.stringify(e)),l(e)}else"undefined"!=typeof WindVane&&window.WindVane.call(r,o,i,a,function(){})},exports.addGlobalEventListener=function(t,r){if(n.isWeex)try{(n.isWeex&&e(70)).addEventListener(t,r),console.warn("[info] addGlobalEventListener "+t)}catch(e){console.warn("[error] globalEvent failed "+JSON.stringify(e))}else"undefined"!=typeof document&&document.addEventListener(t,r)}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.isIOS=exports.isAndroid=void 0,exports.debug=function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).log.apply(e,["[shop-wl-item-card]"].concat(n))};var t=e(3);exports.isAndroid=function(){return t.isWeex?"android"===navigator.platform.toLowerCase():!!navigator.userAgent.match(/android/i)},exports.isIOS=function(){return t.isWeex?"ios"===navigator.platform.toLowerCase():!!navigator.userAgent.match(/(iphone|ipod|ipad)/i)}},function(module,exports,e){var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(exports,"__esModule",{value:!0}),exports.addGlobalEventListener=exports.callWindVaneHandler=exports.openWindow=void 0,exports.formatSales=function(e){var t=Math.floor;if(/^\d+[KkMm]\+?/.test(e.trim()))return e.trim();var n=parseFloat(e.replace(/,/g,"").replace(/[^0-9.-]/g,"")),r=e.match(/[^\d.,-]*$/),o=r?r[0].trim():"";if("number"!=typeof n||isNaN(n))return e;var i="";n<500?i=n.toString():n<1e3?i=100*t(n/100)+"+":n>=1e6?i=(n/1e6).toFixed(n>=1e7?0:1)+"M+":n>=1e5?i=(n/1e6).toFixed(1)+"M+":n>=1e4?i=t(n/1e3)+"k+":n>=1e3&&(i=(n/1e3).toFixed(1)+"k+");var a=o.replace(/\++/g,"").trim();return i+(a?" "+a:"")};var n=e(7);exports.openWindow=function(e){window.location.href=e},exports.callWindVaneHandler=function(e,r,o,i,a){if(console.log("[info] callWindVaneHandler isADC:"+(0,n.isADC)()+" isWindVane:"+(0,n.isWindVane)()),(0,n.isADC)()&&(0,n.isWindVane)())try{console.log("[info] callWindVaneHandler "+e+"."+r),window.WindVane.call(e,r,t({},o),i,function(t){console.warn("[error] callWindVaneHandler failed "+e+"."+r+" "+JSON.stringify(t)),a(t)})}catch(e){console.warn("[error] callWindVaneHandler failed "+JSON.stringify(e)),a(e)}},exports.addGlobalEventListener=function(e,t){if((0,n.isADC)())try{console.log("[info] addGlobalEventListener "+JSON.stringify({event:e})),window.adc.globalEvent.addEventListener({event:e},t)}catch(e){console.warn("[error] addGlobalEventListener failed "+JSON.stringify(e))}else"undefined"!=typeof document&&document.addEventListener(e,t)}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t,n=e(82),r=(t=n)&&t.__esModule?t:{default:t};exports.default={show:function(e){new r.default(e).show()}},module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=e(19);Object.defineProperty(exports,"sendClickUT",{enumerable:!0,get:function(){return t.sendClickUT}}),Object.defineProperty(exports,"sendExposeUT",{enumerable:!0,get:function(){return t.sendExposeUT}}),Object.defineProperty(exports,"sendPVUT",{enumerable:!0,get:function(){return t.sendPVUT}});var n=e(49);Object.defineProperty(exports,"ModuleExpose",{enumerable:!0,get:function(){return n.ModuleExpose}});var r=e(50);Object.defineProperty(exports,"ItemExpose",{enumerable:!0,get:function(){return r.ItemExpose}})},function(module,exports){module.exports=require("@weex-module/userTrack")},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=e(21);Object.defineProperty(exports,"sendClickUT",{enumerable:!0,get:function(){return t.sendClickUT}}),Object.defineProperty(exports,"sendExposeUT",{enumerable:!0,get:function(){return t.sendExposeUT}}),Object.defineProperty(exports,"sendPVUT",{enumerable:!0,get:function(){return t.sendPVUT}});var n=e(61);Object.defineProperty(exports,"ModuleExpose",{enumerable:!0,get:function(){return n.ModuleExpose}});var r=e(62);Object.defineProperty(exports,"ItemExpose",{enumerable:!0,get:function(){return r.ItemExpose}})},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.AddCart=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(8),o=e(4),i=u(e(73)),a=e(0),l=u(e(6)),d=u(e(2)),s=u(e(1)),c=e(3);function u(e){return e&&e.__esModule?e:{default:e}}exports.AddCart=function(e){function u(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,e));return t.refreshAddCartNum=function(){(0,r.callWindVaneHandler)("AEWVCartIslandBar","queryIslandBarData",{siteType:"island"},function(e){var n=(e||{}).selectedItem,r=+(n=(n="string"==typeof n?JSON.parse(n):n)||{})[""+t.data.id]||0;r>0&&t.setState({addCartNum:r})})},t.openSKUPanel=function(){var e="https://m.aliexpress.com/app/sku.html";e+="?channel=store",e+="&productId="+t.data.id,(0,r.openWindow)(e)},t.data=e.data,t.gdc=e.gdc,t.state={addCartNum:0},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,a.Component),n(u,[{key:"componentDidMount",value:function(){var e=this;c.isWeex&&(this.refreshAddCartNum(),(0,r.addGlobalEventListener)("AEDefaultCartDataDidUpdate",function(t){console.warn("[debug] AEDefaultCartDataDidUpdate "+JSON.stringify(t)),e.refreshAddCartNum()}))}},{key:"render",value:function(){return(0,a.createElement)(s.default,{style:t({},i.default.addCart,{left:(0,o.isRTL)(this.gdc)?0:null,right:(0,o.isRTL)(this.gdc)?null:0})},(0,a.createElement)(s.default,{style:i.default.addCartIcon,onClick:this.openSKUPanel},(0,a.createElement)(s.default,{style:i.default.addCartIconImgWrapper},(0,a.createElement)(l.default,{style:i.default.addCartIconImg,source:{uri:"https://ae01.alicdn.com/kf/S6b514b1d2d86437ba6c31bbfd4653f8d5/32x31.png"},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),this.state.addCartNum>0&&(0,a.createElement)(d.default,{style:i.default.addCartNum},this.state.addCartNum>99?"99+":this.state.addCartNum))))}}]),u}()},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getTppOldPrice=exports.getNewPrice=exports.defaultStyleConfig=void 0;var t=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r=e(4),o=exports.defaultStyleConfig={integerPriceTextStyle:{fontSize:30,fontWeight:700},priceTextStyle:{fontSize:30,fontWeight:700},priceStyle:{color:"#191919"},salePriceStyle:{textDecoration:"line-through",color:"#979797"},bigSalePriceStyle:{color:"#FD384F"}},i=function(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t||{},l=a.decimalPointChar,d=a.thousandsChar,s=a.currencySymbolPosition,c=a.integerStr,u=a.decimalStr,f=a.currencySymbol,p=[],g=c.length;g>0;g-=3)e=c.substring(Math.max(0,g-3),g),p.push({text:e,style:n({},o.integerPriceTextStyle)}),g>3&&p.push({text:d,style:n({},o.integerPriceTextStyle)});p.reverse(),u&&(p.push({text:l,style:n({},o.decimalPriceTextStyle)}),p.push({text:u,style:n({},o.decimalPriceTextStyle)}));var m={text:f,style:n({},o.decimalPriceTextStyle,{marginRight:"0"})};return(0,r.isRTL)(i)?p.unshift(m):"end"===s?p.push(m):p.unshift(m),p},a=function(){var e,r,o,i,a,l,d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments[1];return s?n({},d.single||{},(r=(e=s)&&e.split("|")||[],o=t(r,3),i=o[0],a=o[1],l=o[2],{formatPrice:i||"",integerStr:a||"",decimalStr:l||""})):{}};exports.getNewPrice=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];if(e.promotionPiecePriceStructure){var r=a(t,e.promotionPiecePriceStructure),l={currentPrice:i(r,n)};if(e.piecePriceStructure){var d=a(t,e.piecePriceStructure);l.subPrice={text:i(d,{}).map(function(e){return e.text}).join(""),style:o.salePriceStyle}}return l}},exports.getTppOldPrice=function(e,i){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e&&e.salePrice){var l=e.currencySymbol,d=(i||{}).prices||(i||{}).price||{},s={mods:{Price:{}}},c=function(e,i){for(var a,s=(""+e.minPrice).split("."),c=t(s,2),u=c[0],f=c[1],p=[],g=u.length;g>0;g-=3)a=u.substring(Math.max(0,g-3),g),p.push({text:a,style:n({},o.integerPriceTextStyle)}),g>3&&p.push({text:(d||{}).comma_style,style:n({},o.priceTextStyle)});p.reverse(),f&&(p.push({text:(d||{}).decimal_point,style:n({},o.priceTextStyle)}),p.push({text:f,style:n({},o.priceTextStyle)}));var m={text:l,style:n({},o.priceTextStyle,{marginRight:"0"})};return(0,r.isRTL)(i)?p.unshift(m):"left"===(d||{}).symbol_position?p.unshift(m):p.push(m),p},u=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n({},o.priceStyle),i=arguments[3],a=c(t,i).map(function(e){return e.text}).join("");s.mods.Price[e]=[{text:a,style:r}];var l=t.priceStyles,d={text:(l||{}).suffix||(l||{}).prefix||(l||{}).full,style:{color:(l||{}).textColor}};(l||{}).suffix?s.mods.Price[e].push(d):(l||{}).prefix?s.mods.Price[e].unshift(d):(l||{}).full&&(s.mods.Price[e]=[d]),2==s.mods.Price[e].length&&s.mods.Price[e].splice(1,0,{text:" ",style:{}})};return s.mods.Price={salePrice:c(e.salePrice,a)},e.bigSalePrice&&u("bigSalePrice",e.bigSalePrice,o.bigSalePriceStyle,a),e.originalPrice&&u("originalPrice",e.originalPrice,o.salePriceStyle,{}),s.mods.Price}}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.debug=function(){if(/card_debug=1/gi.test(window.location.href)){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).log.apply(e,["[shop-adc-item-card]"].concat(n))}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getTppOldPrice=exports.getNewPrice=exports.defaultStyleConfig=void 0;var t=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r=e(5),o=exports.defaultStyleConfig={integerPriceTextStyle:{fontSize:30,fontWeight:700},priceTextStyle:{fontSize:30,fontWeight:700},priceStyle:{color:"#191919"},salePriceStyle:{textDecoration:"line-through",color:"#979797"},bigSalePriceStyle:{color:"#FD384F"}},i=function(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t||{},l=a.decimalPointChar,d=a.thousandsChar,s=a.currencySymbolPosition,c=a.integerStr,u=a.decimalStr,f=a.currencySymbol,p=[],g=c.length;g>0;g-=3)e=c.substring(Math.max(0,g-3),g),p.push({text:e,style:n({},o.integerPriceTextStyle)}),g>3&&p.push({text:d,style:n({},o.integerPriceTextStyle)});p.reverse(),u&&(p.push({text:l,style:n({},o.decimalPriceTextStyle)}),p.push({text:u,style:n({},o.decimalPriceTextStyle)}));var m={text:f,style:n({},o.decimalPriceTextStyle,{marginRight:"0"})};return(0,r.isRTL)(i)?p.unshift(m):"end"===s?p.push(m):p.unshift(m),p},a=function(){var e,r,o,i,a,l,d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments[1];return s?n({},d.single||{},(r=(e=s)&&e.split("|")||[],o=t(r,3),i=o[0],a=o[1],l=o[2],{formatPrice:i||"",integerStr:a||"",decimalStr:l||""})):{}};exports.getNewPrice=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];if(e.promotionPiecePriceStructure){var r=a(t,e.promotionPiecePriceStructure),l={currentPrice:i(r,n)};if(e.piecePriceStructure){var d=a(t,e.piecePriceStructure);l.subPrice={text:i(d,{}).map(function(e){return e.text}).join(""),style:o.salePriceStyle}}return l}},exports.getTppOldPrice=function(e,i){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e&&e.salePrice){var l=e.currencySymbol,d=(i||{}).prices||(i||{}).price||{},s={mods:{Price:{}}},c=function(e,i){for(var a,s=(""+e.minPrice).split("."),c=t(s,2),u=c[0],f=c[1],p=[],g=u.length;g>0;g-=3)a=u.substring(Math.max(0,g-3),g),p.push({text:a,style:n({},o.integerPriceTextStyle)}),g>3&&p.push({text:(d||{}).comma_style,style:n({},o.priceTextStyle)});p.reverse(),f&&(p.push({text:(d||{}).decimal_point,style:n({},o.priceTextStyle)}),p.push({text:f,style:n({},o.priceTextStyle)}));var m={text:l,style:n({},o.priceTextStyle,{marginRight:"0"})};return(0,r.isRTL)(i)?p.unshift(m):"left"===(d||{}).symbol_position?p.unshift(m):p.push(m),p},u=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n({},o.priceStyle),i=arguments[3],a=c(t,i).map(function(e){return e.text}).join("");s.mods.Price[e]=[{text:a,style:r}];var l=t.priceStyles,d={text:(l||{}).suffix||(l||{}).prefix||(l||{}).full,style:{color:(l||{}).textColor}};(l||{}).suffix?s.mods.Price[e].push(d):(l||{}).prefix?s.mods.Price[e].unshift(d):(l||{}).full&&(s.mods.Price[e]=[d]),2==s.mods.Price[e].length&&s.mods.Price[e].splice(1,0,{text:" ",style:{}})};return s.mods.Price={salePrice:c(e.salePrice,a)},e.bigSalePrice&&u("bigSalePrice",e.bigSalePrice,o.bigSalePriceStyle,a),e.originalPrice&&u("originalPrice",e.originalPrice,o.salePriceStyle,{}),s.mods.Price}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.sendPVUT=exports.sendExposeUT=exports.sendClickUT=exports.encodeExtParams=exports.getURLParam=exports.isWindVane=exports.isADC=void 0;var t,n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=e(43),i=(t=o)&&t.__esModule?t:{default:t};var a=exports.isADC=function(){return"undefined"!=typeof adc},l=(exports.isWindVane=function(){return"undefined"!=typeof WindVane},exports.getURLParam=function(e){try{return new URL(location.href).searchParams.get(e)||""}catch(e){return""}},exports.encodeExtParams=function(e){var t={};return Object.keys(e).forEach(function(n){var o=e[n];"string"==typeof o||"number"==typeof o||"boolean"==typeof o?t[n]=""+o:"object"===(void 0===o?"undefined":r(o))&&null!==o&&(t[n]=encodeURIComponent(JSON.stringify(o)))}),t});exports.sendClickUT=function(e,t,r,o,d){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};s=l(s);var c=n({"spm-cnt":e,"spm-url":t,pageId:r,pageName:o,comName:d},s);if(a()){var u={pageName:o,comName:d,params:c};window.adc.userTrack.click(u,function(){console.log("[shop-adc-aplus] sendClickUT success",u)},function(){console.warn("[shop-adc-aplus] sendClickUT failed",u)})}else{var f=encodeURIComponent(Object.keys(s).map(function(e){return e+"="+s[e]}).join(";"));i.default.record("/ae.pc_click.statweb_ae_click","CLK","spm-cnt="+e+"&spm-url="+t+"&st_page_id="+r+"$ae_button_type="+o+"&ae_page_area="+d+"&ae_object_value="+f)}},exports.sendExposeUT=function(e,t,r,o,d){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};s=l(s);var c=n({"spm-cnt":e,"spm-url":t,pageId:r,pageName:o,arg1:d},s);if(a()){var u={pageName:o,arg1:d,arg2:"",arg3:"",params:c};window.adc.userTrack.expose(u,function(){console.log("[shop-adc-aplus] sendExposeUT success",u)},function(){console.warn("[shop-adc-aplus] sendExposeUT failed",u)})}else{var f=encodeURIComponent(Object.keys(s).map(function(e){return e+"="+s[e]}).join(";"));i.default.record("/ae.pc_ctr.statweb_ae_ctr","EXP","spm-cnt="+e+"&spm-url="+t+"&st_page_id="+r+"$exp_type="+o+"&exp_page_area="+d+"&exp_attribute="+f)}},exports.sendPVUT=function(e,t,r,o,i,d){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{};s=l(s);var c=n({"spm-cnt":e,"spm-url":t,"spm-pre":r,pageId:o,referPageId:i,pageName:d},s);if(a()){var u={pageName:d,spmUrl:t,params:c};window.adc.userTrack.pageEnter(u,function(){console.log("[shop-adc-aplus] sendPVUT success",u)},function(){console.warn("[shop-adc-aplus] sendPVUT failed",u)})}else{(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.sendPV",arguments:[{is_auto:!1},n({},s)]})}}},function(module,exports,e){(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function n(e){return(n="function"==typeof Symbol&&"symbol"===t(Symbol.iterator)?function(e){return void 0===e?"undefined":t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":t(e)})(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.isReactNative=exports.isWeex=exports.isNode=exports.isWeb=void 0;var r="object"===("undefined"==typeof navigator?"undefined":n(navigator))&&("Mozilla"===navigator.appCodeName||"Gecko"===navigator.product);exports.isWeb=r;var o=void 0!==e&&!(!e.versions||!e.versions.node);exports.isNode=o;var i="function"==typeof callNative||"object"===("undefined"==typeof WXEnvironment?"undefined":n(WXEnvironment))&&"Web"!==WXEnvironment.platform;exports.isWeex=i;var a="undefined"!=typeof __fbBatchedBridgeConfig;exports.isReactNative=a,exports.default=module.exports;var l=module.exports;exports.default=l}).call(this,e(27))},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.sendPVUT=exports.sendExposeUT=exports.sendClickUT=exports.encodeExtParams=exports.getURLParam=void 0;var t,n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=e(52),i=(t=o)&&t.__esModule?t:{default:t},a=e(3);exports.getURLParam=function(e){try{return new URL(location.href).searchParams.get(e)||""}catch(e){return""}};var l=exports.encodeExtParams=function(e){var t={};return Object.keys(e).forEach(function(n){var o=e[n];"string"==typeof o||"number"==typeof o||"boolean"==typeof o?t[n]=""+o:"object"===(void 0===o?"undefined":r(o))&&null!==o&&(t[n]=encodeURIComponent(JSON.stringify(o)))}),t};exports.sendClickUT=function(t,r,o,d,s){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};c=l(c);var u=n({"spm-cnt":t,"spm-url":r,pageId:o,pageName:d,comName:s},c);if(a.isWeex){var f=e(13);f.commitut?f.commitut("click",2101,d,s,s,"","",u):f.commit("click",d,s,u)}else{var p=encodeURIComponent(Object.keys(c).map(function(e){return e+"="+c[e]}).join(";"));i.default.record("/ae.pc_click.statweb_ae_click","CLK","spm-cnt="+t+"&spm-url="+r+"&st_page_id="+o+"$ae_button_type="+d+"&ae_page_area="+s+"&ae_object_value="+p)}},exports.sendExposeUT=function(t,r,o,d,s){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};c=l(c);var u=n({"spm-cnt":t,"spm-url":r,pageId:o,pageName:d,arg1:s},c);if(a.isWeex){var f=e(13);f.commitut?f.commitut("expose",2201,d,"",s,"","",u):f.commit("expose",d,s,u)}else{var p=encodeURIComponent(Object.keys(c).map(function(e){return e+"="+c[e]}).join(";"));i.default.record("/ae.pc_ctr.statweb_ae_ctr","EXP","spm-cnt="+t+"&spm-url="+r+"&st_page_id="+o+"$exp_type="+d+"&exp_page_area="+s+"&exp_attribute="+p)}},exports.sendPVUT=function(t,r,o,i,d,s){var c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{};c=l(c);var u=n({"spm-cnt":t,"spm-url":r,"spm-pre":o,pageId:i,referPageId:d,pageName:s},c);if(a.isWeex){var f=e(13);f.commitut?f.commitut("enter",2001,s,"","","","",u):f.commit("enter",s,"",u)}else{(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.sendPV",arguments:[{is_auto:!1},n({},c)]})}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getSpaceFromIndent=exports.sortTags=exports.convertTppSellingPointsToShopAtmosphere=exports.getPositionTags=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=e(99),r=(exports.getPositionTags=function(e,n,r){if(!e)return[];var o=e.filter(function(e){return e.position&&+e.position===n}),i=[];if(o&&o.forEach(function(e){e.atmosphereDTOList&&e.atmosphereDTOList.forEach(function(n){var r={};n.materials&&n.materials.forEach(function(o){if(1===n.materials.length){var a=t({tagText:o.value,atmosphereCode:n.atmosphereCode,position:e.position},o);i.push(a)}else"search_item_text"===o.materialCode&&(r=t({tagText:o.value},o,r)),"search_item_icon"===o.materialCode&&(r=t({tagImgUrl:o.value},o,r))}),r.value&&(r.materialCode="search_item_text_icon",i.push(r))})}),("3in1"===r||"1in1"===r)&&i.length){var a=i.find(function(e){return"choice_atm"===e.atmosphereCode});return a?[a]:[i[0]]}return i},exports.convertTppSellingPointsToShopAtmosphere=function(e){return e?e.map(function(e){var t=e.tagStyleType,n=e.position,r=e.tagContent,o=e.source,i=(r||{}).tagStyle,a=n||i.position,l=r.displayTagType;if(!a||!l)return"null";var d={channel:t,position:a,atmosphereDTOList:[{atmosphereCode:o,materials:[]}]};if("text"===l)d.atmosphereDTOList[0].materials.push({materialCode:"search_item_text",type:"TEXT",value:r.tagText,tagStyle:i});else if("image"===l)d.atmosphereDTOList[0].materials.push({materialCode:"search_item_icon",type:"IMAGE",width:r.tagImgWidth,height:r.tagImgHeight,value:r.tagImgUrl,tagStyle:i});else{if("image_text"!==l)return"null";d.atmosphereDTOList[0].materials.push({materialCode:"search_item_icon",type:"IMAGE",width:r.tagImgWidth,height:r.tagImgHeight,value:r.tagImgUrl,tagStyle:i}),d.atmosphereDTOList[0].materials.push({materialCode:"search_item_text",type:"TEXT",value:r.tagText,tagStyle:i})}return d}).filter(function(e){return null!=e}):[]},exports.sortTags=function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).sort(function(e,t){if("string"==typeof e)return 1;var n=e.materialCode,r=t.materialCode;return n===r?0:"search_item_icon"===n?-1:"search_item_icon"===r?1:0})},(0,n.getAEShopCustomFont)());exports.getSpaceFromIndent=function(){var e=Math.floor,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n="",o=Math.ceil(t/2);if("TTNormsPro"===r){o+=e(o/10);for(var i=1;i<o;i++)i%3==0&&(n+=" ");return n}if("CairoDisplay"===r){o+=e(o/5);for(var a=1;a<o;a++)a%3==0&&(n+=" ");return n}for(var l=1;l<o;l++)l%3==0&&(n+=" ");return n}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=e(133);Object.keys(t).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})});var n=e(24);Object.keys(n).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return n[e]}})});var r=e(37);Object.keys(r).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return r[e]}})});var o=e(135);Object.keys(o).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return o[e]}})});var i=e(136);Object.keys(i).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return i[e]}})})},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.weexCookie=o,exports.queryCookie=i,exports.getCookie=function(e,t){var n="";n=r.isWeex?o(e):function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"=");if(-1!==t){t=t+e.length+1;var n=document.cookie.indexOf(";",t);-1===n&&(n=document.cookie.length);var r="",o=document.cookie.substring(t,n);try{r=decodeURIComponent(o)}catch(e){}return r}}return""}(e);return t?i(n,t):n};var t,n,r=e(3);function o(e,r){void 0===r&&(r=!1);var o=function(e){return!e&&n?n:(t||(t=weex.requireModule("cookie")),t&&(n=t.get()),n||"")}(r);if(o){var i,a=new RegExp("(^| )"+e+"=([^;]*)(;|$)");if(i=o.match(a))return unescape(i[2])}return""}function i(e,t){var n=new RegExp("(.*&?"+t+"=)(.*?)(&.*|$)"),r=e.match(n);return r?r[2]:""}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.AddCart=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(7),o=e(10),i=e(5),a=c(e(162)),l=e(0),d=c(e(2)),s=c(e(1));function c(e){return e&&e.__esModule?e:{default:e}}exports.AddCart=function(e){function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return t.refreshAddCartNum=function(){(0,o.callWindVaneHandler)("AEWVCartIslandBar","queryIslandBarData",{siteType:"island"},function(e){var n=(e||{}).selectedItem,r=+(n=(n="string"==typeof n?JSON.parse(n):n)||{})[""+t.data.id]||0;r>0&&t.setState({addCartNum:r})})},t.openSKUPanel=function(e){e.stopPropagation();var n="https://m.aliexpress.com/app/sku.html";n+="?channel=store",n+="&productId="+t.data.id,(0,o.openWindow)(n)},t.data=e.data,t.gdc=e.gdc,t.state={addCartNum:0},t.imageSize=e.imageSize||343,t.type=e.type||"vert",t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,l.Component),n(c,[{key:"componentDidMount",value:function(){var e=this;(0,r.isADC)()&&(this.refreshAddCartNum(),(0,o.addGlobalEventListener)("AEDefaultCartDataDidUpdate",function(t){console.log("[info] AEDefaultCartDataDidUpdate "+JSON.stringify(t)),e.refreshAddCartNum()}))}},{key:"render",value:function(){var e=(0,i.isRTL)(this.gdc)?0:null,n=(0,i.isRTL)(this.gdc)?null:0;return"hoz"===this.type&&(e=(0,i.isRTL)(this.gdc)?"63.25%":this.imageSize-88,n=null),(0,l.createElement)(s.default,{style:t({},a.default.addCart,{left:e,right:n,top:this.imageSize-88})},(0,l.createElement)(s.default,{style:a.default.addCartIcon,onClick:this.openSKUPanel},(0,l.createElement)(s.default,{style:a.default.addCartIconImgWrapper},(0,l.createElement)("img",{style:a.default.addCartIconImg,src:"https://ae01.alicdn.com/kf/S6b514b1d2d86437ba6c31bbfd4653f8d5/32x31.png"}),this.state.addCartNum>0&&(0,l.createElement)(d.default,{style:a.default.addCartNum},this.state.addCartNum>99?"99+":this.state.addCartNum))))}}]),c}()},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};exports.getPositionTags=function(t,n,r){if(!t)return[];var o=t.filter(function(e){return e.position&&+e.position===n}),i=[];if(o&&o.forEach(function(t){t.atmosphereDTOList&&t.atmosphereDTOList.forEach(function(n){var r={};n.materials&&n.materials.forEach(function(o){if(1===n.materials.length){var a=e({tagText:o.value,atmosphereCode:n.atmosphereCode,position:t.position},o);i.push(a)}else"search_item_text"===o.materialCode&&(r=e({tagText:o.value},o,r)),"search_item_icon"===o.materialCode&&(r=e({tagImgUrl:o.value},o,r))}),r.value&&(r.materialCode="search_item_text_icon",i.push(r))})}),("3in1"===r||"1in1"===r)&&i.length){var a=i.find(function(e){return"choice_atm"===e.atmosphereCode});return a?[a]:[i[0]]}return i},exports.convertTppSellingPointsToShopAtmosphere=function(e){return e?e.map(function(e){var t=e.tagStyleType,n=e.position,r=e.tagContent,o=e.source,i=(r||{}).tagStyle,a=n||i.position,l=r.displayTagType;if(!a||!l)return"null";var d={channel:t,position:a,atmosphereDTOList:[{atmosphereCode:o,materials:[]}]};if("text"===l)d.atmosphereDTOList[0].materials.push({materialCode:"search_item_text",type:"TEXT",value:r.tagText,tagStyle:i});else if("image"===l)d.atmosphereDTOList[0].materials.push({materialCode:"search_item_icon",type:"IMAGE",width:r.tagImgWidth,height:r.tagImgHeight,value:r.tagImgUrl,tagStyle:i});else{if("image_text"!==l)return"null";d.atmosphereDTOList[0].materials.push({materialCode:"search_item_icon",type:"IMAGE",width:r.tagImgWidth,height:r.tagImgHeight,value:r.tagImgUrl,tagStyle:i}),d.atmosphereDTOList[0].materials.push({materialCode:"search_item_text",type:"TEXT",value:r.tagText,tagStyle:i})}return d}).filter(function(e){return null!=e}):[]},exports.sortTags=function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).sort(function(e,t){if("string"==typeof e)return 1;var n=e.materialCode,r=t.materialCode;return n===r?0:"search_item_icon"===n?-1:"search_item_icon"===r?1:0})}},function(module,exports){var e,t,n=module.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(t){if(e===setTimeout)return setTimeout(t,0);if((e===r||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:r}catch(t){e=r}try{t="function"==typeof clearTimeout?clearTimeout:o}catch(e){t=o}}();var a,l=[],d=!1,s=-1;function c(){d&&a&&(d=!1,a.length?l=a.concat(l):s=-1,l.length&&u())}function u(){if(!d){var e=i(c);d=!0;for(var n=l.length;n;){for(a=l,l=[];++s<n;)a&&a[s].run();s=-1,n=l.length}a=null,d=!1,function(e){if(t===clearTimeout)return clearTimeout(e);if((t===o||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(e);try{t(e)}catch(n){try{return t.call(null,e)}catch(n){return t.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function p(){}n.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new f(e,t)),1!==l.length||d||i(u)},f.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(){return[]},n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},function(module,exports){var e,t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e=function(){return this}();try{e=e||new Function("return this")()}catch(n){"object"===("undefined"==typeof window?"undefined":t(window))&&(e=window)}module.exports=e},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}},function(module,exports,e){(function(e,t){Object.defineProperty(exports,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=exports.isWeb="undefined"!=typeof window&&"onload"in window,o=exports.isNode=void 0!==e&&!(!e.versions||!e.versions.node),i=exports.isWeex="undefined"!=typeof WXEnvironment&&"Web"!==WXEnvironment.platform,a=exports.isKraken="undefined"!=typeof __kraken__,l=exports.isMiniApp="undefined"!=typeof my&&null!==my&&void 0!==my.alert,d=exports.isByteDanceMicroApp="undefined"!=typeof tt&&null!==tt&&void 0!==tt.showToast,s=exports.isBaiduSmartProgram="undefined"!=typeof swan&&null!==swan&&void 0!==swan.showToast,c=exports.isKuaiShouMiniProgram="undefined"!=typeof ks&&null!==ks&&void 0!==ks.showToast,u=exports.isWeChatMiniProgram=!d&&"undefined"!=typeof wx&&null!==wx&&(void 0!==wx.request||void 0!==wx.miniProgram),f=exports.isQuickApp=void 0!==t&&null!==t&&void 0!==t.callNative&&!i,p=exports.isPHA=r&&"object"===("undefined"==typeof pha?"undefined":n(pha)),g=exports.isFRM=l&&r&&my.isFRM,m="object"===("undefined"==typeof navigator?"undefined":n(navigator))?navigator.userAgent||navigator.swuserAgent:"",h=exports.isWindVane=/.+AliApp\((\w+)\/((?:\d+\.)+\d+)\).* .*(WindVane)(?:\/((?:\d+\.)+\d+))?.*/.test(m)&&r&&"undefined"!=typeof WindVane&&void 0!==WindVane.call;exports.default={isWeb:r,isNode:o,isWeex:i,isKraken:a,isMiniApp:l,isByteDanceMicroApp:d,isBaiduSmartProgram:s,isKuaiShouMiniProgram:c,isWeChatMiniProgram:u,isQuickApp:f,isPHA:p,isWindVane:h,isFRM:g}}).call(this,e(27),e(28))},function(module,exports){module.exports=o},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=l(e(66)),r=l(e(87)),o=l(e(102)),i=l(e(116)),a=e(0);function l(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,a.Component),t(l,[{key:"render",value:function(){switch(this.props.layout){case"US":return(0,a.createElement)(o.default,this.props);case"OLDUS":return(0,a.createElement)(i.default,this.props);case"KR":return(0,a.createElement)(r.default,this.props);case"COMPARE":return(0,a.createElement)(n.default,this.props);default:return null}}}]),l}();exports.default=d,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.uaMatch=exports.uaIncludes=exports.ua=void 0,exports.isUndef=function(e){return"undefined"===e};var t=e(3);var n=exports.ua=t.isWeex?weex.config.env.userAgent||"":(window?window.navigator:null).userAgent||"";exports.uaIncludes=function(e){return n.indexOf(e)>-1},exports.uaMatch=function(e){return n.match(e)}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.appVersion=exports.appName=exports.osVersion=exports.osName=exports.isDingTalkApp=exports.isTMGApp=exports.isAEApp=exports.isAliApp=exports.isIPad=exports.isIPhone=exports.isAndroid=exports.isIOS=exports.isMobile=void 0;var t=e(3),n=e(35),r=e(134),o=exports.isMobile=!1,i=exports.isIOS=!1,a=exports.isAndroid=!1,l=exports.isIPhone=!1,d=exports.isIPad=!1,s=exports.isAliApp=!1,c=exports.isAEApp=!1,u=exports.isTMGApp=!1,f=exports.isDingTalkApp=!1,p=exports.osName="",g=exports.osVersion="",m=exports.appName="",h=exports.appVersion="";if(t.isWeex){var y=window.__weex_env__;exports.osName=p=y.osName.toLowerCase(),exports.isIOS=i="ios"===p,exports.isAndroid=a="android"===p,exports.isMobile=o=!0,y.deviceModel&&(exports.isIPhone=l=y.deviceModel.indexOf("iPhone")>-1,exports.isIPad=d=y.deviceModel.indexOf("iPad")>-1),exports.isAliApp=s="AliApp"===y.appGroup,exports.appName=m=y.appName,exports.isAEApp=c="AliExpress"===m,exports.isTMGApp=u="TMG"===m,exports.isDingTalkApp=f="DingTalk"===m,exports.osVersion=g=y.osVersion,exports.appVersion=h=y.appVersion}else{exports.isMobile=o=!!(0,n.uaMatch)(/AppleWebKit.*Mobile.*/),exports.isIOS=i=!!(0,n.uaMatch)(/\(i[^;]+;( U;)? CPU.+Mac OS X/)||(0,n.uaIncludes)("iPhone"),exports.isAndroid=a=(0,n.uaIncludes)("Android")||(0,n.uaIncludes)("Adr"),exports.osName=p=i?"ios":"android",exports.isIPhone=l=(0,n.uaIncludes)("iPhone"),exports.isIPad=d=(0,n.uaIncludes)("iPad"),exports.isAliApp=s=(0,n.uaIncludes)("AliApp"),exports.isAEApp=c=s&&((0,n.uaIncludes)("Aliexpress")||(0,n.uaIncludes)("AE")),exports.isTMGApp=u=s&&(0,n.uaIncludes)("TMG"),exports.isDingTalkApp=f=s&&(0,n.uaIncludes)("DingTalk"),exports.osVersion=g=i?r.iosVersion:r.androidVersion;var b=(0,n.uaMatch)(/AliApp\((.*?)\/(.*?)\)/g);(null==b?void 0:b.length)>0&&b.map(function(e){if(-1===e.indexOf("AliexpressAndroid")){var t=e.match(/AliApp\((.*?)\/(.*?)\)/);(null==t?void 0:t.length)>1&&(exports.appName=m=t[1],exports.appVersion=h=t[2])}})}exports.default={isMobile:o,isIOS:i,isAndroid:a,isIPhone:l,isIPad:d,isAliApp:s,isAEApp:c,isTMGApp:u,osName:p,osVersion:g,appName:m,appVersion:h,isDingTalkApp:f}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.uaMatch=exports.uaIncludes=exports.ua=void 0,exports.isUndef=function(e){return"undefined"===e};var t=e(3);var n=exports.ua=t.isWeex?weex.config.env.userAgent||"":(window?window.navigator:null).userAgent||"";exports.uaIncludes=function(e){return n.indexOf(e)>-1},exports.uaMatch=function(e){return n.match(e)}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.callHaweLogin=exports.callHaweAppinfo=exports.callHaweIsLogin=void 0,exports.checkHawe=n;var t=e(3);function n(e){if(t.isWeb&&!e)throw Error("需要在页面中引入 Hawe")}exports.callHaweIsLogin=function(e){return void 0===e&&(e=window.Hawe),n(e),new Promise(function(n,r){try{t.isWeb&&e&&e.call("aecmd://webapp/system/islogin?method=fromH5",{success:function(e){n(e&&"true"===e.isLoggedIn)},failure:function(e){r(e)}})}catch(e){r(e)}})},exports.callHaweAppinfo=function(e){return void 0===e&&(e=window.Hawe),n(e),new Promise(function(n,r){try{t.isWeb&&e&&e.appinfo(function(e){var t=e.lang,r=void 0===t?"":t,o=e.currency,i=void 0===o?"":o,a=r.split("_");n({aeLocale:r,aeRegion:a.length>1?a[1]:"",aeCurrency:i})})}catch(e){r(e)}})},exports.callHaweLogin=function(e){return void 0===e&&(e=window.Hawe),n(e),new Promise(function(n,r){try{t.isWeb&&e.login(function(e){n(e)})}catch(e){r(e)}})}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.isLogin=i,exports.login=function(r){return new Promise(function(a){i().then(function(i){if(i)return a(i);if(!t.isWeex)return n.isAliApp&&!n.isDingTalkApp?a((0,o.callHaweLogin)(r)):void(window.location.href="https://login.aliexpress.com?return_url="+encodeURIComponent(window.location.href));var l={};try{l=e(38)}catch(e){}l.login&&l.login(function(e){!0===e.isLogin&&a(e.isLogin)})})})};var t=e(3),n=e(34),r=e(24),o=e(36);function i(i){return t.isWeex?new Promise(function(t,n){try{var r=e(38);r.getUserInfo&&r.getUserInfo(function(e){t(e&&!0===e.isLogin)})}catch(e){n(e)}}):n.isAliApp&&!n.isDingTalkApp?(0,o.callHaweIsLogin)(i):Promise.resolve("y"===(0,r.getCookie)("xman_us_t","sign"))}},function(module,exports){module.exports=require("@weex-module/user")},function(module,exports,e){module.exports=e(138)},function(module,exports){module.exports=require("@weex-module/appConfig")},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=l(e(147)),r=l(e(161)),o=l(e(176)),i=l(e(190)),a=e(0);function l(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,a.Component),t(l,[{key:"render",value:function(){switch(this.props.layout){case"US":return(0,a.createElement)(o.default,this.props);case"OLDUS":return(0,a.createElement)(i.default,this.props);case"KR":return(0,a.createElement)(r.default,this.props);case"COMPARE":return(0,a.createElement)(n.default,this.props);default:return null}}}]),l}();exports.default=d,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getShopMeta=exports.isAndroid=exports.isIOS=exports.getEnv=exports.isWindVane=exports.isADC=void 0;var t=e(23),n=exports.isADC=function(){return"undefined"!=typeof adc},r=(exports.isWindVane=function(){return"undefined"!=typeof WindVane},exports.getEnv=function(){var e={};return n&&Object.assign(e,window.adc.config.env||{},window.adc.environment||{}),e});exports.isIOS=function(){return n()?"ios"===(""+r().platform).toLowerCase():!!navigator.userAgent.match(/(iphone|ipod|ipad)/i)},exports.isAndroid=function(){return n()?"android"===(""+r().platform).toLowerCase():!!navigator.userAgent.match(/android/i)},exports.getShopMeta=function(){var e={_locale:"",_currency:"",_lang:"",_country:""};if(n()){var o=r(),i=o.aeCountry,a=o.aeLanguage,l=o.aeCurrency,d=o.aeLocale;Object.assign(e,{_locale:d,_currency:l,_lang:a,_country:i})}else{var s=(0,t.getCookie)("aep_usuc_f"),c=new URLSearchParams(s);Object.assign(e,{_locale:c.get("b_locale"),_currency:c.get("c_tp"),_lang:(c.get("b_locale")||"").split("_")[0],_country:c.get("region")})}return e._locale||(e._locale="en_US"),e._currency||(e._currency="USD"),e._lang||(e._lang="en_US"),e._country||(e._country="US"),e}},function(module,exports,e){module.exports=e(44)},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t,n=e(45),r=e(47),o=(t=r)&&t.__esModule?t:{default:t};var i={CLK:"click",EXP:"expose",OTHER:"other"};exports.default={record:function(t,r,o,a){if(n.isWeex){var l=function(e){for(var t={},n=(e="string"==typeof e?e:"").split("&"),r=0;r<n.length;r++){var o=n[r].split("="),i=o[0],a=o[1];i&&(t[i]=a)}return t}(o);l.weex=l.weex?l.weex:"1",l.autosend="1";var d=i[r];d=d||"click";var s={logkey:t,weex:1,autosend:1,urlpagename:"",url:l.url||location&&location.href||"",cna:"",extendargs:JSON.stringify({}),isonepage:0,_lka:JSON.stringify({gmkey:r,gokey:o})},c=e(13);if(c.commitut){var u=l.name||s.url,f=t;switch(d){case"expose":c.commitut(d,2201,u,"",f,"","",s);break;case"other":c.commitut(d,19999,u,"",f,"","",s);break;case"click":default:c.customAdvance?c.customAdvance(u,2101,f,"","",s):c.commitut(d,2101,u,f,"","","",s)}}else c.commit&&c.commit(d,t,t,s)}else n.isWeb&&window.goldlog&&goldlog.record(t,r,o,a)},launch:function(t){var r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(o.default.setPageSPM(t[0],t[1]),n.isWeex){var l=e(13);a.url=a.url||location&&location.href||"",a["spm-cnt"]=o.default.getPageSPM().join(".")+".0.0",a["spm-url"]=(r=a.url,i="0.0.0.0",(r.split("?")[1]||"").split("&").forEach(function(e){0===e.indexOf("spm=")&&(i=e.substr(4))}),i),a.cna="",a.weex=1;var d=a.name||a.url;d.indexOf("_wx_tpl")>0&&(d=d.substring(d.indexOf("_wx_tpl=")+8,d.indexOf(".js")+3)),l.enterEvent?l.enterEvent(d,a):l.commit&&l.commit("enter",d,"",a)}else n.isWeb&&window.goldlog&&goldlog.launch(a)}},module.exports=exports.default},function(module,exports,e){module.exports=e(46)},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=e(20);Object.keys(t).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})})},function(module,exports,e){module.exports=e(48)},function(module,exports,e){(function(t){Object.defineProperty(exports,"__esModule",{value:!0});var n=e(20),r=void 0;if(n.isNode&&(t.window={}),void 0!==window.__UNIVERSAL_SPM__)r=window.__UNIVERSAL_SPM__;else{var o=["0","0"];r={getPageSPM:function(){if(n.isWeb&&window.goldlog){var e=window.goldlog.spm_ab;o=e&&Array.isArray(e)&&"0.0"!==e.join(".")?e:o}return[o[0],o[1]]},getSPM:function(e,t){return[].concat(this.getPageSPM(),e||0,t||0)},getSPMQueryString:function(e,t){return"spm="+this.getSPM(e,t).join(".")},setPageSPM:function(e,t){if(o[0]=e,o[1]=t,n.isWeex);else if(n.isWeb)if(window.goldlog&&window.goldlog.setPageSPM)window.goldlog.setPageSPM(e,t);else{(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.setPageSPM",arguments:[e,t]})}else;}},window.__UNIVERSAL_SPM__=r}exports.default=r,module.exports=exports.default}).call(this,e(28))},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.ModuleExpose=void 0;var t,n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=e(19),i=e(0),a=e(1),l=(t=a)&&t.__esModule?t:{default:t};var d=exports.ModuleExpose=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.sendExpose=function(){var e=r.props,t=e.gdc,i=void 0===t?{}:t,a=e.mds,l=void 0===a?{}:a,d=e.extParams,s=i.sellerId,c=i.spm_cnt,u=i.sellerAdminSeq,f=i.pageId,p=i.shopId,g=i.pageName,m=i.userId,h=l.moduleName,y=void 0===h?"default":h,b=c+"."+y,w=n({seller_id:""+s,shop_id:""+p,user_id:""+m,sellerAdminSeq:u,spm_cnt:b,spm:b,pageId:f},d);(0,o.sendExposeUT)(b,"",f,g,y+"_Exposure_Event",w)},r.exposed=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidMount",value:function(){this.exposed||(this.sendExpose(),this.exposed=!0)}},{key:"render",value:function(){var e=this,t=this.props,r=t.mds,a=void 0===r?{}:r,d=t.extParams,s=void 0===d?{}:d,c=a.moduleName,u=void 0===c?"default":c,f={};if(!(0,o.isADC)()){var p=Object.keys(s).map(function(e){return e+"="+s[e]}).join(";");f={st_page_id:window.dmtrack_pageid,exp_type:u+"_Exposure_Event",exp_attribute:p}}return(0,i.createElement)(l.default,n({},f,{onAppear:function(){e.exposed||(e.sendExpose(),e.exposed=!0)}}))}}]),t}();exports.default=d},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.ItemExpose=void 0;var t,n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=e(19),i=e(0),a=e(1),l=(t=a)&&t.__esModule?t:{default:t};var d="Product_Exposure_Event",s=exports.ItemExpose=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.sendExpose=function(){var e=r.props,t=e.gdc,i=void 0===t?{}:t,a=e.mds,l=void 0===a?{}:a,s=e.extParams,c=i.sellerId,u=i.spm_cnt,f=i.sellerAdminSeq,p=i.pageId,g=i.shopId,m=i.pageName,h=i.userId,y=l.moduleName,b=u+"."+(void 0===y?"default":y),w=n({seller_id:""+c,shop_id:""+g,user_id:""+h,sellerAdminSeq:f,spm_cnt:b,spm:b,pageId:p},s);(0,o.sendExposeUT)(b,"",p,m,d,w)},r.exposed=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidMount",value:function(){this.exposed||(this.sendExpose(),this.exposed=!0)}},{key:"render",value:function(){var e=this,t=this.props.extParams,r=void 0===t?{}:t,a={};if(!(0,o.isADC)()){var s=Object.keys(r).map(function(e){return e+"="+r[e]}).join(";");a={st_page_id:window.dmtrack_pageid,exp_type:d,exp_attribute:s}}return(0,i.createElement)(l.default,n({},a,{onAppear:function(){e.exposed||(e.sendExpose(),e.exposed=!0)}}))}}]),t}();exports.default=s},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(0),r=l(e(1)),o=e(14),i=l(e(63)),a=l(e(140));function l(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,n.Component),t(l,[{key:"render",value:function(){var e="GLOBAL";if("undefined"!=typeof window){var t=new URL(window.location.href).searchParams;t.has("_layout")&&(e=t.get("_layout"))}this.props.gdc.aeShopLayout&&(e=this.props.gdc.aeShopLayout);var l;return l="US"===e?(0,n.createElement)(a.default,this.props):(0,n.createElement)(i.default,this.props),(0,n.createElement)(r.default,null,(0,n.createElement)(o.ModuleExpose,{gdc:this.props.gdc,mds:this.props.mds}),l)}}]),l}();exports.default=d,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.updatePageProperties=a,exports.record=l,exports.setPageSPM=d,exports.getPageSPM=s,exports.sendPV=c,exports.subscribeAplusPubsub=u,exports.getNameStorage=f,exports.launch=p;var t=e(53),n=e(55),r=e(60),o=e(30),i=[];function a(e){g("updatePageProperties",[e])}function l(e,t,n){g("record",[e,t,n,arguments.length>3&&void 0!==arguments[3]?arguments[3]:"GET"])}function d(e,t,n){g("setPageSPM",[e,t,n])}function s(){return window.goldlog&&window.goldlog.spm_ab}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];g("sendPV",t)}function u(e,t){g("aplus_pubsub.subscribe",[e,t])}function f(){return window.goldlog&&window.goldlog.nameStorage}function p(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!o.isPHA||o.isWeb){if(e&&o.isPHA&&o.isWeb){var i=window.pha.config.bundleUrl||r.url||"",a=(/spm=([^&]+)/.exec(i)||["","0.0.0.0"])[1],l=e[0]||"0",s=e[1]||"0",u=i.indexOf("?");if(window.WindVane&&window.WindVane.call){var f=i.substring(0,-1===u?i.length:u);return void window.WindVane.call("PHAJSBridge","userTrack.pageEnter",{pageName:r.pageName||f,params:(0,t._)({_toUT:2,autosend:"1",url:f,_h5url:i,"spm-cnt":"".concat(l,".").concat(s,".0.0"),"spm-url":a},r)},function(){})}console.error("windvane is not ready, use goldlog launch api")}d.apply(void 0,(0,n._)(e)),c({pageName:r.name,pageUrl:r.url,spmUrl:r["spm-url"],referrer:r.referrer},r)}}function g(e,t){void 0===window.goldlog?i.push({action:e,arguments:t}):m(e,t)}function m(e,t){var n=window.goldlog[e];"function"==typeof n?n.apply(window.goldlog,t):console.error("API ".concat(e," is not found in window.goldlog."))}if(o.isWeb){var h=function(){i.forEach(function(e){m(e.action,e.arguments)})};if(location.search.indexOf("auto-insert-aplus=false")>-1)h();else{var y=function(){var e=document.createElement("script");return e.src=r.APLUS_MOBILE_CDN,e.async=!0,e}();document.head.appendChild(y),y.addEventListener("load",function(){h()})}}exports.default={updatePageProperties:a,record:l,setPageSPM:d,getPageSPM:s,subscribeAplusPubsub:u,getNameStorage:f,sendPV:c,launch:p}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=void 0;var t=e(54);exports._=function(e){for(var n=1;n<arguments.length;n++){var r=null==arguments[n]?{}:arguments[n],o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(n){(0,t._)(e,n,r[n])})}return e}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=void 0;var t=e(56),n=e(57),r=e(58),o=e(59);exports._=function(e){return(0,t._)(e)||(0,n._)(e)||(0,o._)(e)||(0,r._)()}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=void 0;var t=e(29);exports._=function(e){if(Array.isArray(e))return(0,t._)(e)}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=void 0;var t=e(29);exports._=function(e,n){if(e){if("string"==typeof e)return(0,t._)(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,t._)(e,n):void 0}}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.APLUS_MOBILE_CDN="//g.alicdn.com/alilog/mlog/aplus_wap.js"},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.ModuleExpose=void 0;var t,n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=e(21),i=e(0),a=e(1),l=(t=a)&&t.__esModule?t:{default:t},d=e(3);var s=exports.ModuleExpose=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.sendExpose=function(){var e=r.props,t=e.gdc,i=void 0===t?{}:t,a=e.mds,l=void 0===a?{}:a,d=e.extParams,s=i.sellerId,c=i.spm_cnt,u=i.sellerAdminSeq,f=i.pageId,p=i.shopId,g=i.pageName,m=i.userId,h=l.moduleName,y=void 0===h?"default":h,b=c+"."+y,w=n({seller_id:""+s,shop_id:""+p,user_id:""+m,sellerAdminSeq:u,spm_cnt:b,spm:b,pageId:f},d);(0,o.sendExposeUT)(b,"",f,g,y+"_Exposure_Event",w)},r.exposed=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidMount",value:function(){this.exposed||(this.sendExpose(),this.exposed=!0)}},{key:"render",value:function(){var e=this,t=this.props,r=t.mds,o=void 0===r?{}:r,a=t.extParams,s=void 0===a?{}:a,c=o.moduleName,u=void 0===c?"default":c,f={};if(d.isWeb){var p=Object.keys(s).map(function(e){return e+"="+s[e]}).join(";");f={st_page_id:window.dmtrack_pageid,exp_type:u+"_Exposure_Event",exp_attribute:p}}return(0,i.createElement)(l.default,n({},f,{onAppear:function(){e.exposed||(e.sendExpose(),e.exposed=!0)}}))}}]),t}();exports.default=s},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.ItemExpose=void 0;var t,n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=e(21),i=e(0),a=e(1),l=(t=a)&&t.__esModule?t:{default:t},d=e(3);var s="Product_Exposure_Event",c=exports.ItemExpose=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.sendExpose=function(){var e=r.props,t=e.gdc,i=void 0===t?{}:t,a=e.mds,l=void 0===a?{}:a,d=e.extParams,c=i.sellerId,u=i.spm_cnt,f=i.sellerAdminSeq,p=i.pageId,g=i.shopId,m=i.pageName,h=i.userId,y=l.moduleName,b=u+"."+(void 0===y?"default":y),w=n({seller_id:""+c,shop_id:""+g,user_id:""+h,sellerAdminSeq:f,spm_cnt:b,spm:b,pageId:p},d);(0,o.sendExposeUT)(b,"",p,m,s,w)},r.exposed=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidMount",value:function(){this.exposed||(this.sendExpose(),this.exposed=!0)}},{key:"render",value:function(){var e=this,t=this.props.extParams,r=void 0===t?{}:t,o={};if(d.isWeb){var a=Object.keys(r).map(function(e){return e+"="+r[e]}).join(";");o={st_page_id:window.dmtrack_pageid,exp_type:s,exp_attribute:a}}return(0,i.createElement)(l.default,n({},o,{onAppear:function(){e.exposed||(e.sendExpose(),e.exposed=!0)}}))}}]),t}();exports.default=c},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t,n,r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e(0),a=m(e(1)),l=m(e(2)),d=m(e(6)),s=e(31),c=e(64),u=m(e(65)),f=m(e(32)),p=e(130),g=m(e(39));function m(e){return e&&e.__esModule?e:{default:e}}var h={autoWebp:!1,autoScaling:!1,autoCompress:!1,autoReplaceDomain:!1},y=function(e){return[].concat(["SA","AE","QA","KW","BH","OM"],["AU"]).includes(e)},b=(n=t=function(t){function n(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return o.fetchData=function(t,n){s.isWeex?e(40).getAppConfig(function(e){var r=e.deviceId;o.getItemList(r,t,n)}):o.getItemList((0,c.getCookie)("cna"),t,n)},o.getItemList=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments[2];o.setState({mtopDone:!1});var i=o.state,a=i.gdc,l=i.mds,d=a.clientIp,c=l.moduleData||{},u=c.dataApi&&c.dataApi.mtop||{},f={ecode:0,appKey:24770048,dataType:"originaljsonp"};return u.apiName&&(f.api=u.apiName),u.apiVersion&&(f.v=u.apiVersion),"needLogin"in u&&(f.needLogin=u.needLogin),u.params&&Object.keys(u.params).length&&(u.params.clientIp=d,f.data={params:JSON.stringify(r({},u.params,{platform:s.isWeex?"APP":"MSITE",clientIp:d,page:t,deviceId:e})),componentKey:u.componentKey||"promotePruductList"}),f.api&&f.v?void o.pageUtils.Mtop.request(f,function(e){var r=(e&&e.ret?e.ret[0]:"").split("::"),i=e.data&&e.data.products;if("SUCCESS"===r[0]||e.ok){var a=o.state;o.setState({currentPage:t,totalPage:i.totalPage,itemList:a.itemList.concat(i.data)},function(){o.setState({mtopDone:!0}),n&&n()})}},function(){o.setState({mtopDone:!0}),n&&n()}):void(n&&n())},o.updateShowData=function(){var e=o.state,t=e.gdc,n=e.itemList;o.setState({mtopDone:!0,showDataStatus:n&&n.length,showNoDataStatus:!(!0!==t.preView&&"true"!==t.preView||n&&n.length)})},o.getNextPageData=function(){var e=o.state,t=e.currentPage+1;t<=e.totalPage&&o.fetchData(t)},o.renderModuleTitle=function(e,t){var n=o.props,d=n.gdc,s=void 0===d?{}:d,c=n.mds,f=void 0===c?{}:c,g="#ffffff";return y(s.country)&&(g="#000000"),(0,i.createElement)(a.default,{style:u.default.moduleTitleWrapper},e?(0,i.createElement)(a.default,{style:r({},(0,p.getRTLCSS)(s,u.default,"titleWrapper"))},(0,i.createElement)(l.default,{style:r({},(0,p.getRTLCSS)(s,u.default,"title"),{color:g}),"data-locale":f.widgetId+"_title"},e)):null,t?(0,i.createElement)(a.default,{style:r({},(0,p.getRTLCSS)(s,u.default,"subTitleWrapper"))},(0,i.createElement)(l.default,{style:r({},(0,p.getRTLCSS)(s,u.default,"subTitle"),{color:g}),"data-locale":f.widgetId+"_subTitle"},t)):null)},o.renderList=function(e){var t=o.state,n=t.mds,r=t.gdc,a=r.translate,l=void 0===a?{}:a,d=r.translation,c=void 0===d?{}:d;Object.assign(l,c);var u=e.promotionDiscount||0,p=u?(l["module.discount"]||"").replace(/\${\d}/,u):null,g=l["module.smartLeaderboard.sold"],m=e.sales?g.replace("${0}",e.sales):"",h=(e.trace||{}).utLogMap,y=e.productExt&&e.productExt.isDsaRiskItem||!1,b=r.useNewItemLayout?"US":"OLDUS";return(0,i.createElement)(f.default,{showAddCart:s.isWeex,layout:b,mode:"2in1",priceMode:"shop",tagsMode:"shop",pageUtils:o.props.pageUtils,gdc:r,mds:n,modsStyle:e.modsStyle,cardBg:"#ffffff",showMask:y,data:{id:e.id,url:e.pcDetailUrl,image:e.image350Url,title:e.subject,sales:m,stars:e.averageStar,prices:e.prices,priceLocalConfig:e.priceLocalConfig,priceLocalInfo:e.priceLocalInfo,atmosphere:e.atmosphere,discount:p,utLogMap:h}})},o.pageUtils=t.pageUtils,o.state={itemList:[],currentPage:1,mtopDone:!1,mds:t.mds||{},gdc:t.gdc||{},showDataStatus:!1,showNoDataStatus:!1,totalPage:1},o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i.Component),o(n,[{key:"componentWillMount",value:function(){var e=this.state,t=e.mds,n=e.currentPage;t.widgetId&&this.fetchData(n,this.updateShowData)}},{key:"render",value:function(){var e=this,t=this.state,n=t.mds,o=t.showDataStatus,l=t.showNoDataStatus,s=t.itemList,c=t.mtopDone,f=t.currentPage,p=t.totalPage,m=n.moduleName;n.moduleData;if(o){var y=n.moduleData||{},b=(0,i.createElement)(a.default,{style:u.default.list},s.map(function(t,n){var o={exp_trigger:"",st_page_id:window.dmtrack_pageid,exp_type:m+"_Exposure_Event",exp_attribute:""};return(0,i.createElement)(a.default,r({},o,{style:{marginRight:10,marginBottom:24}}),n+1===s.length?(0,i.createElement)(a.default,{onAppear:e.getNextPageData},e.renderList(t)):e.renderList(t))}));return(0,i.createElement)(a.default,null,this.renderModuleTitle(y.title,y.subTitle),b,!c&&f<p&&(0,i.createElement)(a.default,{style:r({},u.default.cardloading)},(0,i.createElement)(g.default,{imageStyle:{width:80,height:80}})))}return l?(0,i.createElement)(d.default,r({},h,{lazyload:!1,source:{uri:n.defaultImage},style:{width:n.defaultImageWidth||750,height:n.defaultImageHeight||300}})):null}}]),n}(),t.customCell=!0,n);exports.default=b,module.exports=exports.default},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.__=function(e,t,n){var r=e||t;for(var o in n){var i=n[o];r=r.replace(new RegExp("\\{\\w?"+o+"\\w?\\}","g"),i)}return r},exports.getCookie=function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"="),n=0;if(-1!==t)return t=t+e.length+1,-1===(n=document.cookie.indexOf(";",t))&&(n=document.cookie.length),unescape(document.cookie.substring(t,n))}return null}},function(module,exports){module.exports={moduleTitle:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:32,lineHeight:48,color:"rgb(255,255,255)",marginTop:24,marginBottom:24,textAlign:"center"},list:{listStyle:"none",display:"flex",flexDirection:"row",justifyContent:"flex-start",flexWrap:"wrap",paddingTop:24,paddingRight:16,paddingBottom:24,paddingLeft:24},moduleTitleWrapper:{width:750,paddingTop:24},titleWrapper:{paddingLeft:32,paddingRight:32,width:750,display:"flex",flexDirection:"row"},"titleWrapper-rtl":{flexDirection:"row-reverse"},title:{fontFamily:"AEShopCustomFont",fontWeight:"bold",fontSize:32,color:"rgb(255,255,255)",lineHeight:48},subTitleWrapper:{width:750,paddingLeft:32,paddingRight:32,display:"flex",flexDirection:"row"},"subTitleWrapper-rtl":{flexDirection:"row-reverse"},subTitle:{fontFamily:"AEShopCustomFont",fontWeight:"lighter",fontSize:24,color:"rgb(255,255,255)",lineHeight:36},cellContainer:{width:750,display:"flex",paddingLeft:24,paddingRight:24,flexDirection:"row",alignItems:"center",justifyContent:"space-between"},loadingWrapper:{height:60,marginTop:40,display:"flex",textAlign:"center",flexDirection:"row",alignItems:"center",justifyContent:"center"},loadingImage:{height:60,width:60}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(67),o=e(8),i=e(9),a=e(4),l=e(72),d=e(75),s=e(79),c=h(e(81)),u=h(e(11)),f=e(14),p=e(0),g=h(e(1)),m=e(3);function h(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function h(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,e));return n.broadcastChannel=function(){new BroadcastChannel("popMobileConfirm").onmessage=function(){n.setState({showMask:!1})}},n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,r){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,p=n.mds,g=p.widgetId,m=p.moduleName,h={url:e,nid:t||0,widgetId:g,moduleName:m,target:r||null};n.data.utLogMap&&(0,f.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,o.openWindow)(e)},n.open=function(e,t){var r=n.state.showMask;if("true"!==r&&!0!==r)n.goTargetUrl(e,t);else if(m.isWeex)(0,o.callWindVaneHandler)("AEWVPrivacy","euSafetyFilter",{},function(r){r.wantedSee&&(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100))},function(e){console.warn(e)});else{var i=n.gdc.locale;u.default.show({isRtl:!1,locale:i,fetcher:window.lib.mtop.request,onOk:function(r){console.log(r);var o=r.success,i=r.errMsg;o?(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100)):console.warn(i)},onCancel:function(){}})}},n.render3In1Card=function(){var e=n.data,o=e.id,i=e.url,u=(e.title,n.state.showMask);return(0,p.createElement)(g.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,c.default,"cardWrapper"),{width:226},n.style)}),(0,p.createElement)(f.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,p.createElement)(g.default,t({},n.clkProps,{style:c.default.cardInner,onClick:function(){n.open(i,o)}}),(0,p.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showMask:u,showAddCart:n.showAddCart}),(0,p.createElement)(g.default,{style:c.default.cardContent},(0,p.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,p.createElement)(d.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),n.showAddCart&&(0,p.createElement)(r.AddCart,{style:{marginTop:12},data:n.data,gdc:n.gdc}))))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode="3in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,i.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={showMask:e.showMask},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(h,p.Component),n(h,[{key:"componentDidMount",value:function(){this.broadcastChannel()}},{key:"render",value:function(){return this.data?this.render3In1Card():null}}]),h}();exports.default=y,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.AddCart=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(8),o=s(e(71)),i=e(0),a=s(e(2)),l=s(e(1)),d=e(3);function s(e){return e&&e.__esModule?e:{default:e}}exports.AddCart=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));t.refreshAddCartNum=function(){(0,r.callWindVaneHandler)("AEWVCartIslandBar","queryIslandBarData",{siteType:"island"},function(e){var n=(e||{}).selectedItem,r=+(n=(n="string"==typeof n?JSON.parse(n):n)||{})[""+t.data.id]||0;r>0&&t.setState({addCartNum:r})})},t.openSKUPanel=function(){var e="https://m.aliexpress.com/app/sku.html";e+="?channel=store",e+="&productId="+t.data.id,(0,r.openWindow)(e)},t.data=e.data,t.gdc=e.gdc,t.state={addCartNum:0};var n=t.gdc||{},o=n.translation,i=void 0===o?{}:o,a=n.translate,l=void 0===a?{}:a;return Object.assign(i,l),t.translation=i,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,i.Component),n(s,[{key:"componentDidMount",value:function(){var e=this;d.isWeex&&(this.refreshAddCartNum(),(0,r.addGlobalEventListener)("AEDefaultCartDataDidUpdate",function(t){console.warn("[debug] AEDefaultCartDataDidUpdate "+JSON.stringify(t)),e.refreshAddCartNum()}))}},{key:"render",value:function(){return(0,i.createElement)(l.default,{style:t({},o.default.addCart,this.props.style)},(0,i.createElement)(l.default,{style:o.default.addCartIcon,onClick:this.openSKUPanel},(0,i.createElement)(l.default,{style:o.default.addCartIconImgWrapper},(0,i.createElement)(a.default,{style:o.default.addCartIconText},this.translation["module.wireless.compareSelling.addToCart"]||"Add to cart"),this.state.addCartNum>0&&(0,i.createElement)(a.default,{style:o.default.addCartNum},this.state.addCartNum>99?"99+":this.state.addCartNum))))}}]),s}()},function(module,exports){module.exports=require("@weex-module/navigator")},function(module,exports){module.exports=require("@weex-module/windvane")},function(module,exports){module.exports=require("@weex-module/globalEvent")},function(module,exports){module.exports={addCart:{position:"relative",height:48},addCartIcon:{height:48,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",height:48,paddingTop:0,paddingRight:16,paddingBottom:0,paddingLeft:16,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconText:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:-12,top:-4,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=(e(15),e(4)),o=s(e(74)),i=e(0),a=s(e(6)),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t.showAddCart=e.showAddCart||!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,i.Component),n(s,[{key:"render",value:function(){if(!this.data)return null;var e,n=this.data,s=n.image,c=n.title,u=n.cornorMark||{},f=u.value,p=u.color,g=u.bgColor,m=this.props.showMask;e=!0===m||"true"===m?"https://ae01.alicdn.com/kf/S1e0b5f59d44845c89d23644878384c33Z/504x504.png":s;var h=268;return"2in1"===this.mode&&(h=343),"3in1"===this.mode&&(h=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(f=this.data.discount,g="#FD384F",p="#ffffff"),(0,i.createElement)(d.default,{style:"2in1"===this.mode||"3in1"===this.mode?o.default.imgOuter:(0,r.getRTLCSS)(this.gdc,o.default,"imgOuterHoz")},(0,i.createElement)(d.default,{style:t({},o.default.imgWrapper,{width:h,height:h})},(0,i.createElement)(a.default,{style:t({},o.default.itemImg,{width:h,height:h}),source:{uri:e},alt:c,autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1,resizeMode:"cover"}),(0,i.createElement)(d.default,{style:t({},o.default.bgMask,{width:h,height:h})}),!!f&&(0,i.createElement)(d.default,{style:t({},(0,r.getRTLCSS)(this.gdc,o.default,"mark"),{backgroundColor:g||"#FD384F"})},(0,i.createElement)(l.default,{style:t({},o.default.markText,{color:p||"#ffffff"})},f))))}}]),s}()},function(module,exports){module.exports={addCart:{position:"absolute",bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,borderBottomLeftRadius:0,borderBottomRightRadius:0,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.03)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(4),r=d(e(76)),o=e(77),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),t(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,t=e.stars,d=e.sales;if(!t&&!d)return null;var s=r.default.itemMeta;return"3in1"===this.mode&&(s=r.default.itemMeta3in1),"2in1"===this.mode&&(s=r.default.itemMeta2in1),(0,i.createElement)(l.default,{style:s},!!d&&(0,i.createElement)(a.default,{style:(0,n.getRTLCSS)(this.gdc,r.default,"itemOrders")},d),(0,i.createElement)(o.Star,{gdc:this.gdc,num:t}))}}]),d}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",marginTop:0,flexDirection:"column",alignItems:"center",justifyContent:"center"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:24,color:"rgb(25,25,25)",marginRight:8,fontFamily:"AEShopCustomFont-Demibold",fontWeight:"600"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=l(e(78)),r=e(0),o=l(e(6)),i=l(e(2)),a=l(e(1));function l(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function l(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,r.Component),t(l,[{key:"render",value:function(){if(void 0===this.num||null===this.num)return null;var e=Math.floor(this.num);e>5&&(e=5);var t=5-e;return(0,r.createElement)(a.default,{style:n.default.starWrapper},Array(e).fill(1).map(function(){return(0,r.createElement)(o.default,{style:n.default.starImage,source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAYAAACdkl3yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpVTBTQMxENxxlBMBHtcBpgKSZ8QDrgPoACoIqSCiE6gkIBTxBCrIleAPCOWSmPVGwPk455xjJEtre3Y09tpL1AA7O7hyo4mHrSLPe5rWai4TlRxjaPIQV20TYpHJb1zcUBtHnpsNDC3YVWYM7eRo1RlVVlJKFkFXYSHYi5rVkZ2maT39hTc+Ck6ymqdHvNbn2JF1XQJZPqLCKweG4zfOyUl1H2Bn+/NgUjyMYtVH+jdwDzlzUkzZap/aAHzMXjeT8rcWA+XUSwYYGCNVk7ehVpeysYsIksyJuOlP+TH8zGnZGVM8xuUv478jtdQUDetxfSHgjGIBdRIWstAUi7VfmIqjStXk8nEt428htE/9NlP+7S7J4han73dlsjQ42Ak/4o1IqEdJN3w6PKcG1HXNLyUobuoTnHiPAAAAAElFTkSuQmCC"},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1})}),Array(t).fill(1).map(function(){return(0,r.createElement)(o.default,{style:n.default.starImage,source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAAC9UlEQVRYCc2Y2ZHaQBCGLSAAOQKLCAzF8WrIYB2B5QjWGaw3AxOBtSFsBOy+chTKYHEE1juX/18lUbMj9SCNJMNUUXP29Det7pYG50NNZbVa3WOrn47jRKiDwWDwWMfWTh2bLJfLCcDm6l6n02k6Go1e1DGbdstGSJdptVrf9DEAP+hjNv3KFtxsNt7hcHjLU95ut7v9fn+bN1d0rLIFj8ejaCmA/ygKIq2rZEGT9RKFUWJFBo5VqWRBWC/jexqFu9/vK1mxEiBgfA0o00Ww3MPSbmai4IA14Hq99pFKvAJ6aEW/wLrcJdaA2E0MDl0T0hCTuFWxAixhvRiKlmYytyG0AoTCS8GRYbFN3BfTDB18t9t5SBc9RK0LRV+g/S5DUGAAsgH2+IM6xCGjTqcTIpEbU1AMSAgk1QkfBfzlE2voS3/WEViAmUsIuOUP4FseAO0Q8Fu+hRx8hdAav/FrGgQqyhU8Nd+Bw78lFisn/X9WRy3A3Zzl1LMzip/UgVtqw3izOEjghwHASqeOhg/zNBwO/RiQigA5RzVh+wZKCLg+Oc6JGhHzFf3wFuDAMk05zhbkAPKhhzw0v1ZUMw8iD0/Vr/B3gNeEzIMjTwbwGpASnAjIicVi0YO5GThN50leC/BU8y9X5yAhlFrG43EIf6SzRup43W3qkOCoSwTkJCFRvbDdREEwPic6xO2NgImUJ0pXnIDvfb60RW6QpELJZ9jftN9EDf/7iEcsupHRgrjs9JqAUvfkx7Da19tGQCxuHBAWNOowAsJHPP1EdfcRKPaAgLnoxDUAG3UYLQjlxtPVAMctjDpEQL5JIOyWhIj42iop4/IjRZIRAfGaE4VyNovgS49w+C7++u0C8nsZUNwoRSt2cpTFQ3ReKJGm03GCzXBF/KXmMkAGWBDwHwjUD1jjoRaLaV4EBJwn7oj3cx6Yvr4oKJ6WGCgiIAB4kdZ1FgLThQqAvuoyaT9DkE6wVi5TIWBniSJ1iVVbefQMwmdejqSN/gHVRDr0HXEQwAAAAABJRU5ErkJggg=="},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1})}),(0,r.createElement)(i.default,{style:n.default.starText},this.num?""+(+this.num).toFixed(1):"-"))}}]),l}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(25,25,25)",fontSize:24,fontFamily:"AEShopCustomFont",fontWeight:"450",marginRight:4},starImage:{width:18,height:18,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(16),o=e(4),i=s(e(80)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n=(this.mode,30);this.mode;if("tpp"===this.priceMode){if(!this.data.prices)return null;var s=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},c=s.salePrice,u=s.originalPrice;return c||u?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,color:"#191919",alignItems:"center"}},c&&c.map(function(r){return(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)}))):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var f=(0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{},p=f.currentPrice;f.subPrice;return p?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,alignItems:"center"}},p&&p.map(function(r,d){return(0,a.createElement)(l.default,{key:d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)}))):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexDirection:"row",flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0},"subPriceText-rtl":{}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1,backgroundColor:"rgb(245,245,245)",borderBottomLeftRadius:8,borderBottomRightRadius:8},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:210,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=i(e(83)),r=i(e(84)),o=i(e(86));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(t){var i=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.options=t;var a=this.options,l=a.isRtl,d=a.locale,s=a.fetcher,c=a.onOk,u=a.onCancel,f=new n.default(d),p=navigator.userAgent.match(/.*(iPhone|iPad|Android|ios|SymbianOS|Windows Phone).*/i),g=document.createElement("div");g.className="J_SAFETY_FILER_MODAL",g.style.cssText=["z-index:2147483647","position: fixed","top:0","right:0","bottom:0","left:0","background: rgba(0,0,0,.7)","color: #191919","display: block",l?"direction: rtl":""].join(";");var m=new r.default(p,l,f,function(){var e={success:!0,errMsg:""},t=function(){c&&c(e),i.hide()};s({api:"mtop.ae.dsa.authorized.save",v:"1.0",appKey:"24815441",data:{site:"AE",tenant:"AE_GLOBAL",terminal:p?"MSITE":"PC",deviceId:(0,o.default)("cna"),itemList:'[{"scene":"RISK","subScenes":[{"scene":"RISK.SAFETY_FILTER","isAgree":"false"}]}]'}}).then(t).catch(function(){e.success=!1,e.errMsg=f.get("errMsg"),t()})},function(){u&&u(),i.hide()});g.appendChild(m.node),this.node=g}return t(e,[{key:"show",value:function(){document.body.appendChild(this.node),this.options.onShow&&this.options.onShow(this.node)}},{key:"hide",value:function(){document.body.removeChild(this.node)}}]),e}();exports.default=a,module.exports=exports.default},function(module,exports){var e=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();Object.defineProperty(exports,"__esModule",{value:!0});var t={en_US:{title:"Notifications",description:"Display may include products appropriate only for adults. Please confirm:",pcOkButton:"Confirm",pcCancelButton:"Cancel",h5OkButton:"Yes, I want to see.",h5CancelButton:"No, I don't want to see. ",info1:"You can change this option by going to",info2:"Buyer center >Safety filter",errMsg:"Network problem. Please retry."},es_ES:{title:"Notificaciones",description:"La visualización puede incluir artículos apropiados solo para adultos. Por favor, confirma:",pcOkButton:"Confirmar",pcCancelButton:"Cancelar",h5OkButton:"Si, quiero verlo.",h5CancelButton:"No lo quiero ver.",info1:"Puedes cambiar esta opción yendo a",info2:"Centro del comprador >Filtro de seguridad",errMsg:"Problema de red. Por favor, inténtalo de nuevo."},nl_NL:{title:"Meldingen",description:"De weergave kan items bevatten die alleen geschikt zijn voor volwassenen. Gelieve te bevestigen:",pcOkButton:"Bevestigen",pcCancelButton:"Annuleren",h5OkButton:"Ja, ik wil deze bekijken.",h5CancelButton:"Nee, ik wil deze niet bekijken.",info1:"U kunt deze optie wijzigen door te gaan naar",info2:"Koperscentrum >Veiligheidsfilter",errMsg:"Netwerkprobleem. Probeer het opnieuw."},pl_PL:{title:"Powiadomienia",description:"Wśród wyświetlanych produktów mogą znajdować się artykuły odpowiednie tylko dla osób dorosłych. Potwierdź:",pcOkButton:"Potwierdź",pcCancelButton:"Anuluj",h5OkButton:"Tak, chcę zobaczyć produkty.",h5CancelButton:"Nie, nie chcę zobaczyć produktów.",info1:"Możesz zmienić tę opcję, przechodząc do",info2:"Centrum kupującego > Filtr bezpieczeństwa",errMsg:"Problem z siecią. Spróbuj ponownie."},uk_UA:{title:"Сповіщення",description:"Можуть бути показані, зокрема, товари, призначені лише для дорослих. Підтвердьте:",pcOkButton:"Підтвердити",pcCancelButton:"Скасувати",h5OkButton:"Так, я хочу подивитися.",h5CancelButton:"Ні, я не хочу дивитися.",info1:"Щоб змінити це налаштування, перейдіть сюди:",info2:'"Центр покупців" > "Фільтр безпеки"',errMsg:"Проблема з мережею. Повторіть спробу."},tr_TR:{title:"Bildirimler",description:"Yalnızca yetişkinler için uygun olan ürünler görüntülenebilir. Lütfen onaylayın:",pcOkButton:"Onayla",pcCancelButton:"İptal et",h5OkButton:"Evet, görmek istiyorum.",h5CancelButton:"Hayır, görmek istemiyorum.",info1:"Şuraya giderek bu seçeneği değiştirebilirsiniz:",info2:"Alıcı merkezi > Güvenlik filtresi",errMsg:"Ağ sorunu. Lütfen tekrar deneyin."},ar_AR:{title:"الإشعارات",description:"قد يشمل العرض منتجات مناسبة للكبار فقط. الرجاء التأكيد:",pcOkButton:"تأكيد",pcCancelButton:"إلغاء",h5OkButton:"نعم، أريد رؤيتها.",h5CancelButton:"لا، لا أريد رؤيتها.",info1:"يمكنك تغيير هذا الخيار عن طريق الذهاب إلى",info2:"مركز المشتري> مرشح الأمان",errMsg:"مشكلة في الشبكة. يرجى إعادة المحاولة."},it_IT:{title:"Notifiche",description:"La visualizzazione può contenere articoli adatti solo agli adulti. Confermare:",pcOkButton:"Conferma",pcCancelButton:"Annulla",h5OkButton:"Sì, voglio vedere. ",h5CancelButton:"No, non voglio vedere. ",info1:"Puoi cambiare questa opzione tramite",info2:"Centro acquirente> filtro di sicurezza",errMsg:"Problema di rete. Prova di nuovo."},fr_FR:{title:"Notifications",description:"Des articles destinés aux adultes uniquement peuvent apparaître. Veuillez confirmer :",pcOkButton:"Confirmer",pcCancelButton:"Abbrechen",h5OkButton:"Oui, je veux voir",h5CancelButton:"Non, je ne veux pas voir",info1:"Vous pouvez changer cette option en allant dans",info2:"Compte > Filtre de sécurité",errMsg:"Problème de réseau. Veuillez réessayer."},de_DE:{title:"Benachrichtigungen",description:"Der angezeigt Inhalt kann Elemente enthalten, die nur für Erwachsene geeignet sind. Möchten Sie es wirklich anzeigen lassen?",pcOkButton:"Bestätigen",pcCancelButton:"Abbrechen",h5OkButton:"Ja, möchte ich.",h5CancelButton:"Nein, möchte ich nicht.",info1:"Sie können diese Option ändern unter",info2:"Käufercenter -> Sicherheitsfilter",errMsg:"Netzwerkproblem. Bitte versuchen Sie es erneut."},ru_RU:{title:"Уведомления",description:"Могут быть показаны товары, предназначенные только для взрослых. Пожалуйста, подтвердите:",pcOkButton:"Подтвердить",pcCancelButton:"Отменить",h5OkButton:"Да, я хочу посмотреть.",h5CancelButton:"Нет, я не хочу смотреть.",info1:"Вы можете изменить этот параметр, перейдя в",info2:"«Центр покупателей» > «Фильтр безопасности»",errMsg:"Ошибка сети. Пожалуйста повторите попытку."}},n=function(){function n(e){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,n),this.locale=t[e]?e:"en_US"}return e(n,[{key:"get",value:function(e){return t[this.locale][e]||""}}]),n}();exports.default=n,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t,n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(85),o=(t=r)&&t.__esModule?t:{default:t};var i=function(){function e(t,n,r,i,a){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.isMobile=t,this.isRtl=n,this.i18n=r,this.onOk=i,this.onCancel=a;var l=document.createElement("div");l.style.cssText=["position: absolute","top: 50%","left: 50%","transform: translate(-50%, -50%)","background-color: #ffffff","border-radius: "+(this.isMobile?(0,o.default)(24):"16px"),"width: "+(this.isMobile?(0,o.default)(590):"520px")].join(";"),l.appendChild(this.getHeader()),l.appendChild(this.getDescription()),l.appendChild(this.getButtons()),l.appendChild(this.getInfo()),this.node=l}return n(e,[{key:"getHeader",value:function(){var e=document.createElement("div");e.style.cssText=["position: relative","width: 100%","height: "+(this.isMobile?(0,o.default)(104):"56px"),"font-size: "+(this.isMobile?(0,o.default)(36):"20px"),"font-weight: 700","line-height: "+(this.isMobile?(0,o.default)(104):"56px"),"text-align: "+(this.isMobile?this.isRtl?"right":"left":"center")].join(";");var t=document.createElement("span");t.innerHTML=this.i18n.get("title"),t.style.cssText=["margin-"+(this.isRtl?"right":"left")+": "+(this.isMobile?(0,o.default)(32):0)].join(";");var n=document.createElement("img");return n.src=this.isMobile?"https://img.alicdn.com/imgextra/i2/O1CN01dzR7s21ysQS4SZlhS_!!6000000006634-2-tps-96-96.png":"https://img.alicdn.com/imgextra/i1/O1CN01aKOmHE26qbo6gMPVj_!!6000000007713-2-tps-48-49.png",n.style.cssText=["position: absolute","top: "+(this.isMobile?(0,o.default)(32):"16px"),(this.isRtl?"left":"right")+": "+(this.isMobile?(0,o.default)(24):"16px"),"width: "+(this.isMobile?(0,o.default)(48):"24px"),"height: "+(this.isMobile?(0,o.default)(48):"24px"),"cursor: pointer"].join(";"),n.addEventListener("click",this.onCancel,!1),e.appendChild(t),e.appendChild(n),e}},{key:"getDescription",value:function(){var e=document.createElement("div");e.style.cssText=["font-size: "+(this.isMobile?(0,o.default)(26):"16px"),"font-weight: 450","padding: "+(this.isMobile?"0 "+(0,o.default)(32)+" "+(0,o.default)(24):"16px 32px")].join(";");var t=document.createElement("span");return t.innerHTML=this.i18n.get("description"),e.appendChild(t),e}},{key:"getButtons",value:function(){var e=document.createElement("div");e.style.cssText=["display: flex","flex-direction: column","padding: 16px 32px 32px","align-items: center"].join(";");var t=document.createElement("div");t.innerHTML=this.i18n.get("h5OkButton"),t.style.cssText=["display: flex","align-items: center","justify-content: center","border: 2px solid "+(this.isMobile?"#191919":"#000000"),"border-radius: "+(this.isMobile?(0,o.default)(40):"24px"),"width: "+(this.isMobile?(0,o.default)(526):"400px"),"height: "+(this.isMobile?(0,o.default)(64):"48px"),"font-size: "+(this.isMobile?(0,o.default)(24):"18px"),"font-weight: 700","text-align: center","cursor: pointer"].join(";"),t.addEventListener("click",this.onOk,!1);var n=document.createElement("div");return n.innerHTML=this.i18n.get("h5CancelButton"),n.style.cssText=["display: flex","align-items: center","justify-content: center","margin-top: "+(this.isMobile?(0,o.default)(16):"16px"),"border: 2px solid "+(this.isMobile?"#191919":"#000000"),"border-radius: "+(this.isMobile?(0,o.default)(40):"24px"),"width: "+(this.isMobile?(0,o.default)(526):"400px"),"height: "+(this.isMobile?(0,o.default)(64):"48px"),"font-size: "+(this.isMobile?(0,o.default)(24):"18px"),"font-weight: 700","text-align: center","cursor: pointer"].join(";"),n.addEventListener("click",this.onCancel,!1),e.appendChild(t),e.appendChild(n),e}},{key:"getInfo",value:function(){var e=document.createElement("div");e.style.cssText=["text-align: "+(this.isMobile?this.isRtl?"right":"left":"center"),"color: #979797","font-weight: 450","font-size: "+(this.isMobile?(0,o.default)(24):"14px"),"padding: "+(this.isMobile?(0,o.default)(24):"24px")].join(";");var t=document.createElement("span");return t.innerHTML=this.i18n.get("info1")+"<br/>"+this.i18n.get("info2"),e.appendChild(t),e}}]),e}();exports.default=i,module.exports=exports.default},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(e){return 100/750*e+"vw"},module.exports=exports.default},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(e){var t=new RegExp("(?:(?:^|.*;\\s*)"+encodeURIComponent(e)+"\\s*\\=\\s*([^;]*).*$)|^.*$");return decodeURIComponent(document.cookie.replace(t,"$1"))||""},module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(8),o=e(9),i=e(4),a=e(88),l=e(90),d=e(92),s=e(96),c=h(e(98)),u=h(e(101)),f=e(14),p=e(0),g=h(e(2)),m=h(e(1));function h(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function h(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,e));return n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,o){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,p=n.mds,g=p.widgetId,m=p.moduleName,h={url:e,nid:t||0,widgetId:g,moduleName:m,target:o||null};n.data.utLogMap&&(0,f.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,r.openWindow)(e)},n.renderHozCard=function(){var e=n.data,r=e.id,o=e.url,a=e.title;return(0,p.createElement)(m.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,p.createElement)(f.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,p.createElement)(m.default,t({},n.clkProps,{style:u.default.cardInnerHoz,onClick:function(){n.goTargetUrl(o,r)}}),(0,p.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:268,showAddCart:n.showAddCart}),(0,p.createElement)(m.default,{style:u.default.cardContentHoz},!!a&&(0,p.createElement)(g.default,{style:t({},u.default.itemTitle,u.default.itemTitleHoz),numberOfLines:2},a.split("").join("\ufeff")),(0,p.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,p.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,p.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}),(0,p.createElement)(m.default,{style:u.default.hozMeta},(0,p.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,tagsMode:n.tagsMode,data:n.data}),(0,p.createElement)(d.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data})))))},n.render2In1Card=function(){var e=n.data,r=e.id,o=e.url,a=e.title;return(0,p.createElement)(m.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:343},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,p.createElement)(f.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,p.createElement)(m.default,t({},n.clkProps,{style:n.state.showShadow?u.default.cardInnerWithShadow:u.default.cardInner,onClick:function(){n.goTargetUrl(o,r)}}),(0,p.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:343,showAddCart:n.showAddCart}),(0,p.createElement)(m.default,{style:u.default.cardContent},(0,p.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,titleMode:!0,title:a}),(0,p.createElement)(m.default,{style:u.default.priceMeta},(0,p.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,tagsMode:n.tagsMode,data:n.data}),(0,p.createElement)(d.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,mode:n.mode})),(0,p.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling+shipping",mode:n.mode}))))},n.render3In1Card=function(){var e=n.data,r=e.id,o=e.url,c=e.title;return(0,p.createElement)(m.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:226},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,p.createElement)(f.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,p.createElement)(m.default,t({},n.clkProps,{style:u.default.cardInner,onClick:function(){n.goTargetUrl(o,r)}}),(0,p.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showAddCart:n.showAddCart}),(0,p.createElement)(m.default,{style:u.default.cardContent},!!c&&(0,p.createElement)(g.default,{style:t({},u.default.itemTitle,u.default.itemTitle3in1),numberOfLines:1},c.split("").join("\ufeff")),(0,p.createElement)(d.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,p.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,tagsMode:n.tagsMode,data:n.data}),(0,p.createElement)(a.Discount,{data:n.data}))))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode=e.mode||"2in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,o.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(h,p.Component),n(h,[{key:"render",value:function(){return this.data?"2in1"===this.mode?this.render2In1Card():"3in1"===this.mode?this.render3In1Card():this.renderHozCard():null}}]),h}();exports.default=y,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Discount=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(89)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Discount=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.data=e.data,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount?(0,r.createElement)(i.default,{style:n.default.container},(0,r.createElement)(i.default,{style:n.default.discount},(0,r.createElement)(o.default,{style:n.default.text},this.data.discount))):null}}]),a}()},function(module,exports){module.exports={container:{display:"flex",flexDirection:"row",marginTop:8},discount:{height:38,borderRadius:19,backgroundColor:"rgb(211,3,28)",paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},text:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(15),o=e(4),i=c(e(91)),a=e(0),l=c(e(6)),d=c(e(2)),s=c(e(1));function c(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t.showAddCart=e.showAddCart||!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,a.Component),n(c,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,n=e.image,c=e.title,u=e.cornorMark||{},f=u.value,p=u.color,g=u.bgColor,m=268;return"2in1"===this.mode&&(m=343),"3in1"===this.mode&&(m=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(f=this.data.discount,g="#FD384F",p="#ffffff"),(0,a.createElement)(s.default,{style:"2in1"===this.mode||"3in1"===this.mode?i.default.imgOuter:(0,o.getRTLCSS)(this.gdc,i.default,"imgOuterHoz")},(0,a.createElement)(s.default,{style:t({},i.default.imgWrapper,{width:m,height:m})},(0,a.createElement)(l.default,{style:t({},i.default.itemImg,{width:m,height:m}),source:{uri:n},alt:c,autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1,resizeMode:"cover"}),(0,a.createElement)(s.default,{style:t({},i.default.bgMask,{width:m,height:m})}),!!f&&(0,a.createElement)(s.default,{style:t({},(0,o.getRTLCSS)(this.gdc,i.default,"mark"),{backgroundColor:g||"#FD384F"})},(0,a.createElement)(d.default,{style:t({},i.default.markText,{color:p||"#ffffff"})},f)),this.showAddCart&&(0,a.createElement)(r.AddCart,{data:this.data,gdc:this.gdc})))}}]),c}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.04)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(4),r=d(e(93)),o=e(94),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),t(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,t=e.stars,d=e.sales;if(!t&&!d)return null;var s=r.default.itemMeta;return"3in1"===this.mode&&(s=r.default.itemMeta3in1),"2in1"===this.mode&&(s=r.default.itemMeta2in1),(0,i.createElement)(l.default,{style:s},!!d&&(0,i.createElement)(a.default,{style:(0,n.getRTLCSS)(this.gdc,r.default,"itemOrders")},d),(0,i.createElement)(o.Star,{gdc:this.gdc,num:t}))}}]),d}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",alignItems:"center",marginTop:0,flexDirection:"row",flexWrap:"wrap"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:22,color:"rgb(151,151,151)",marginRight:8,fontFamily:"AEShopCustomFont",fontWeight:"450"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=l(e(95)),r=e(0),o=l(e(6)),i=l(e(2)),a=l(e(1));function l(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function l(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,r.Component),t(l,[{key:"render",value:function(){return this.num?+this.num<.1?null:(0,r.createElement)(a.default,{style:n.default.starWrapper},(0,r.createElement)(o.default,{style:n.default.starImage,source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAAoCAYAAABjPNNTAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKaADAAQAAAABAAAAKAAAAAD9QK3vAAAC+ElEQVRYCdWY3ZHaMBDHzya8u4OYCkIqiHlkGD5cQXwV5KgA6ICr4JIKGGAYHs8lUIJKcJ75yn8dKyN0lmTLhnGY8ehjV6ufVl5pzdPTf/Bz6mJcrVZeq9WKrter57puPBwO47ps1wK53W4ngHsDlCeALUej0VRoW1crQ8KDPjz37jiOL1MAfDEej+dyf9m2W3aArI8tDvIASQ/9P2R9m3ZlSHhrppnYw6sQaOSFRJUgCUDlRT67YRFcTVtWggTAd631v8Jgt9t1C+gpVawhKWBgNVJaFgSn02kiNEtXrSERMIWDggKIztHSdNkAa0hsdRnvpAf9QyERMDNTwOQAWXuz1GFOW4ZtpiPnJQeiSBfD4p7LXpn/ICkCz+dzFzN52EoPxj5ndZ9KtOmdoqeWH+ZgMJTAbkIlHoa+32jTQpi4kBRys9m8QSnC06Qfw66Fg8Hg4ND7hRXMm0QnsCTY3Y57uVwiobNpVYqBiYv995tGJvF4dE7GUmejmnDigTy5aBSVAINYeaUoT6M7O37eIa/tiBHmsqoSIBLmFxqcXosU5oiirxAwK4s1DwIHZfQpIJlOPcnnwI2i/BTgOg8op/g2Worz3ECSILv66HCfiIoPqNPtE4o3DZ/zAyQXrNfrJQYVTsf4OMuStdvtXr/fZ3njlZCk/CBQLSBxaPNJ3EZz6CSkeMffQuVBPqcWMgxDAjxw5XuUOFWM9rWQ94CysVkEsmtjuOgYJBCBSVcLmX3YeyYjVeT4i+aLabwWEif/Xb1IcAjOoBIkzslvJgM1yP39fu/r7Gg9iVXe3ZMEdzweAytIyozgSV83uC6Z6bX6pJoo+3JUiVX9MQQJTVpygdrXSrndptVJlDHu3g6ylx6eEGlWB/IpbDBJL7eJBXUpsckVolMJCZlykGCMvpEJ7ENyQOkW3ukeQH8J+lZVJSTOr586i5h8QYlyXmrFx+FaZfBqhIWEBq/G2RXMh96Uzk1LaiiyINraZ1NSIJlKm7A3B/BMkhmzoD/dvA/269VBNwAAAABJRU5ErkJggg=="},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),(0,r.createElement)(i.default,{style:n.default.starText},""+(+this.num).toFixed(1))):null}}]),l}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(151,151,151)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450"},starImage:{width:20,height:20,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(16),o=e(4),i=s(e(97)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.getPriceColor=function(){if(t.data&&t.data.config&&t.data.config.prices){var e=t.data.config.prices.color;if(e)return e}var n="#191919";if("tpp"===t.tagsMode){for(var r,o=t.data.sellingPoints||[],i=0;i<o.length;i++)if((r=o[i])&&r.source&&/hundreds_of_billions/gi.test(r.source)){n="#FD384F";break}}else if("shop"===t.tagsMode)for(var a,l=t.data.atmosphere||[],d=0;d<l.length;d++)if((a=l[d])&&a.atmosphereDTOList)for(var s,c=a.atmosphereDTOList,u=void 0===c?[]:c,f=0;f<u.length;f++)if((s=u[f])&&s.atmosphereCode&&/hundreds_of_billions/gi.test(s.atmosphereCode)){n="#FD384F";break}return n},t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.tagsMode=e.tagsMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n="3in1"===this.mode?26:28;this.mode;if("tpp"===this.priceMode){if(!this.data.prices)return null;var s=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},c=s.salePrice,u=s.originalPrice;return c||u?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,color:this.getPriceColor(),alignItems:"center"}},c&&c.map(function(r){return(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:e.getPriceColor(),fontSize:n})},r.text)}))):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var f=((0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{}).currentPrice;return f?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,alignItems:"center"}},f&&f.map(function(r,d){return(0,a.createElement)(l.default,{key:d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:e.getPriceColor(),fontSize:n})},r.text)}))):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0},"subPriceText-rtl":{}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(9),o=e(4),i=e(22),a=f(e(100)),l=e(0),d=f(e(6)),s=f(e(2)),c=f(e(1)),u=e(3);function f(e){return e&&e.__esModule?e:{default:e}}function p(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var g=function(e){function f(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);var n,p=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,e));return p.renderTag=function(e,n){if((e.tagImgUrl||e.value)&&e.height&&+e.height>30){var r=+e.height,f=+e.width;e.height=30,e.width=f/r*30}if(e)switch(e.materialCode){case"search_item_text_icon":var g=(30*(+e.width+8)/+e.height||30)+6,m=(0,i.getSpaceFromIndent)(g);return{tagWidth:p.tagContainerWidth,tagHeight:30,TagComponent:(0,l.createElement)(c.default,{key:n,style:t({},a.default.withIcon,{width:p.tagContainerWidth,flexDirection:p.isAndroidRTL?"row":a.default.withIcon.flexDirection})},(0,l.createElement)(d.default,{style:t({},(0,o.getRTLCSS)(p.gdc,a.default,"tagImg"),a.default.withIconImg,{width:+e.width+1,height:+e.height+1,left:(0,o.isRTL)(p.gdc)?null:0,right:(0,o.isRTL)(p.gdc)?0:null}),source:{uri:e.tagImgUrl||e.value},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),u.isWeex?(0,l.createElement)(s.default,{style:t({},a.default.tagText,p.textStyle,{color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,width:p.isAndroidRTL?null:p.tagContainerWidth}),numberOfLines:p.isAndroidRTL?1:2},(""+m+e.tagText+(p.isAndroidRTL?m:"")).split("").join("\ufeff")):(0,l.createElement)(s.default,{style:t({},a.default.tagText,p.textStyle,{textIndent:g,color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,width:p.tagContainerWidth}),numberOfLines:2},(""+e.tagText).split("").join("\ufeff")))};case"search_item_icon":return{tagWidth:+e.width+1,tagHeight:+e.height+1,TagComponent:(0,l.createElement)(d.default,{key:n,style:t({},(0,o.getRTLCSS)(p.gdc,a.default,"promotionTagImg"),{width:+e.width+1,height:+e.height+1}),source:{uri:e.tagImgUrl||e.value},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1})};case"search_item_text":return{tagWidth:p.tagContainerWidth,tagHeight:30,TagComponent:(0,l.createElement)(s.default,{key:n,style:t({},a.default.tagText,p.textStyle,{width:null,color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,marginRight:(0,o.isRTL)(p.gdc)?0:6,marginLeft:(0,o.isRTL)(p.gdc)?6:0})},(""+e.tagText).split("").join("\ufeff"))};default:return{TagComponent:null}}},p.gdc=e.gdc,p.data=e.data,p.mode=e.mode,p.type=e.type,p.tagsMode=e.tagsMode,p.textStyle="metadata"===p.type?{color:"#FD384F",fontWeight:400}:"selling"===p.type?{color:"#FD384F",fontWeight:400}:"shipping"===p.type?{color:"#191919",fontWeight:400}:{},"2in1"===p.mode&&(n=327),"hoz"===p.mode&&(n=410),p.tagContainerWidth=n,p.titleMode=e.titleMode,p.title=e.title,p.isAndroidRTL=u.isWeex&&(0,r.isAndroid)()&&(0,o.isRTL)(p.gdc),p}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(f,l.Component),n(f,[{key:"render",value:function(){var e=this;if(!this.data||"tpp"===this.tagsMode&&!this.data.sellingPoints||"shop"===this.tagsMode&&!this.data.atmosphere)return null;var n=[],r="tpp"===this.tagsMode?(0,i.convertTppSellingPointsToShopAtmosphere)(this.data.sellingPoints):this.data.atmosphere;if("metadata"===this.type?n=[].concat(p((0,i.getPositionTags)(r,1))):"selling"===this.type?n=[].concat(p((0,i.getPositionTags)(r,2)),p((0,i.getPositionTags)(r,3))):"shipping"===this.type?n=[].concat(p((0,i.getPositionTags)(r,4))):"selling+shipping"===this.type&&((n=[].concat(p((0,i.getPositionTags)(r,2)),p((0,i.getPositionTags)(r,3)))).length&&(this.textStyle={color:"#FD384F",fontWeight:400}),!n.length&&((n=[].concat(p((0,i.getPositionTags)(r,4)))).length&&(this.textStyle={color:"#191919",fontWeight:400})),n.length&&(n=[n[0]])),!n.length&&!this.titleMode)return null;this.titleMode&&(n=n.filter(function(e){return"search_item_icon"===e.materialCode}));for(var o=[],d=0;d<n.length;d++)o.push(n[d]);(0,i.sortTags)(o);var f=0,g=0,m=o.map(function(t,n){var r=e.renderTag(t,n);return f+=r.tagWidth+4,g=Math.max(g,r.tagHeight),r.TagComponent}),h=(30*+f/+g||30)+6,y=(0,i.getSpaceFromIndent)(h);return n.length||(f=0,g=0,h=0,y=""),(0,l.createElement)(c.default,{style:t({},a.default.horizontalTags,"metadata"===this.type?a.default.metaTagsAlter:{},this.textStyle,{width:this.tagContainerWidth})},(0,l.createElement)(c.default,{style:t({},a.default.horizontalTagsWrapper,{width:this.titleMode?f:this.tagContainerWidth,height:this.titleMode?g:null,position:this.titleMode?"absolute":"relative",top:this.titleMode?0:null,flexWrap:this.titleMode?null:"wrap"})},m),this.titleMode&&(u.isWeex?(0,l.createElement)(s.default,{style:t({},a.default.itemTagTitle,{width:this.tagContainerWidth}),numberOfLines:2},(""+y+this.title).split("").join("\ufeff")):(0,l.createElement)(s.default,{style:t({},a.default.itemTagTitle,{width:this.tagContainerWidth,textIndent:h}),numberOfLines:2},(""+this.title).split("").join("\ufeff"))))}}]),f}();exports.default=g,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getAEShopCustomFont=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=e(3),o=["en","ru","es","fr","pt","id","tr","it","de","pl","nl","vi","uk"],i=["ar"];exports.getAEShopCustomFont=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(e)return e;var a={};if(r.isWeex&&"object"===("undefined"==typeof WXEnvironment?"undefined":n(WXEnvironment)))a=t({},a,WXEnvironment);else if(r.isWeex&&"object"===("undefined"==typeof weex?"undefined":n(weex))&&weex.config&&weex.config.env)a=t({},a,weex.config.env);else if(r.isWeb)try{var l=function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"="),n=0;if(-1!==t)return t=t+e.length+1,-1===(n=document.cookie.indexOf(";",t))&&(n=document.cookie.length),unescape(document.cookie.substring(t,n))}return null}("aep_usuc_f"),d=new URLSearchParams(l);a=t({},a,{aeCountry:d.get("region")||"",aeLanguage:(d.get("b_locale")||"").split("_")[0]||""})}catch(e){console.error("[shop-font-getter]",e)}var s=a,c=s.aeFontFamily,u=s.aeCountry,f=s.aeLanguage,p="OpenSans";return r.isWeex&&(("TT Norms Pro"===c||"TTNormsPro"===c)&&(p="TTNormsPro"),("Cairo Display"===c||"CairoDisplay"===c)&&(p="CairoDisplay")),(r.isWeb||r.isWeex&&void 0===c)&&(o.indexOf(f)>-1&&(p="TTNormsPro"),i.indexOf(f)>-1&&(p="CairoDisplay"),("ko"===f||"KR"===u)&&(p="OpenSans")),console.warn("[shop-font-getter] aeCountry:'"+u+"' aeLanguage:'"+f+"' aeFontFamily:'"+c+"' finalFontName:'"+p+"'"),p}},function(module,exports){module.exports={promotionTagImg:{height:32,marginRight:4,verticalAlign:"middle",display:"inline"},"promotionTagImg-rtl":{marginRight:0,marginLeft:4},tagImg:{height:32,marginRight:2,verticalAlign:"middle",display:"inline"},"tagImg-rtl":{marginRight:0,marginLeft:2},tagText:{color:"rgb(102,102,102)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all"},tagDot:{display:"inline",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTags:{position:"relative",display:"flex",flexDirection:"row",wordBreak:"break-all",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap"},metaTagsAlter:{display:"flex",flexDirection:"row",flexWrap:"wrap",wordBreak:"break-all"},withIcon:{position:"relative",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all",display:"flex",flexDirection:"row",justifyContent:"flex-start"},withIconImg:{position:"absolute",top:0},itemTagTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTagsWrapper:{display:"flex",flexDirection:"row",alignContent:"center"}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:210,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410},priceMeta:{display:"flex",flexDirection:"row",flexWrap:"wrap"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(8),o=e(9),i=e(4),a=e(103),l=e(105),d=e(107),s=e(111),c=b(e(113)),u=b(e(115)),f=b(e(11)),p=e(14),g=e(0),m=b(e(2)),h=b(e(1)),y=e(3);function b(e){return e&&e.__esModule?e:{default:e}}var w=function(e){function b(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,e));return n.broadcastChannel=function(){new BroadcastChannel("popMobileConfirm").onmessage=function(){n.setState({showMask:!1})}},n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,o){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,f=n.mds,g=f.widgetId,m=f.moduleName,h={url:e,nid:t||0,widgetId:g,moduleName:m,target:o||null};n.data.utLogMap&&(0,p.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,r.openWindow)(e)},n.open=function(e,t){var o=n.state.showMask;if("true"!==o&&!0!==o)n.goTargetUrl(e,t);else if(y.isWeex)(0,r.callWindVaneHandler)("AEWVPrivacy","euSafetyFilter",{},function(r){r.wantedSee&&(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100))},function(e){console.warn(e)});else{var i=n.gdc.locale;f.default.show({isRtl:!1,locale:i,fetcher:window.lib.mtop.request,onOk:function(r){console.log(r);var o=r.success,i=r.errMsg;o?(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100)):console.warn(i)},onCancel:function(){}})}},n.renderHozCard=function(){var e=n.data,r=e.id,o=e.url,a=e.title,f=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:u.default.cardInnerHoz,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,showMask:f,size:268,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContentHoz},!!a&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitleHoz),numberOfLines:2},a.split("").join("\ufeff")),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}),(0,g.createElement)(h.default,{style:u.default.hozMeta},(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(d.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data})))))},n.render1In1Card=function(){var e=n.data,r=e.id,o=e.url,a=e.title,f=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:276},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:u.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:276,showMask:f,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContent},(0,g.createElement)(h.default,{style:u.default.firstLine},(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,titleMode:!0,title:a})),!!a&&!n.data.sellingPoints&&!n.data.atmosphere&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitle1in1),numberOfLines:1},a.split("").join("\ufeff")),(0,g.createElement)(d.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}))))},n.render2In1Card=function(){var e=n.data,r=e.id,o=e.url,a=e.title,f=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:343},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:n.state.showShadow?u.default.cardInnerWithShadow:u.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:343,showMask:f,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContent},(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,title:a,titleMode:!0}),!!a&&!n.data.sellingPoints&&!n.data.atmosphere&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitle2in1),numberOfLines:1},a.split("").join("\ufeff")),(0,g.createElement)(h.default,{style:u.default.firstLine},(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(d.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,mode:n.mode,style:{marginLeft:8}})),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}))))},n.render3In1Card=function(){var e=n.data,r=e.id,o=e.url,f=e.title,y=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:226},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:u.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showMask:y,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContent},(0,g.createElement)(h.default,{style:u.default.firstLine},(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,titleMode:!0,title:f})),!!f&&!n.data.sellingPoints&&!n.data.atmosphere&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitle3in1),numberOfLines:1},f.split("").join("\ufeff")),(0,g.createElement)(d.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(a.Discount,{data:n.data}))))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode=e.mode||"2in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,o.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={showMask:e.showMask},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(b,g.Component),n(b,[{key:"componentDidMount",value:function(){this.broadcastChannel()}},{key:"render",value:function(){return this.data?"1in1"===this.mode?this.render1In1Card():"2in1"===this.mode?this.render2In1Card():"3in1"===this.mode?this.render3In1Card():this.renderHozCard():null}}]),b}();exports.default=w,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Discount=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(104)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Discount=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.data=e.data,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount?(0,r.createElement)(i.default,{style:n.default.container},(0,r.createElement)(i.default,{style:n.default.discount},(0,r.createElement)(o.default,{style:n.default.text},this.data.discount))):null}}]),a}()},function(module,exports){module.exports={container:{display:"flex",flexDirection:"row",marginTop:8},discount:{height:38,borderRadius:19,backgroundColor:"rgb(211,3,28)",paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},text:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(15),o=e(4),i=s(e(106)),a=e(0),l=s(e(6)),d=(s(e(2)),s(e(1)));function s(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t.showAddCart=e.showAddCart||!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){if(!this.data)return null;var e,n=this.data,s=n.image,c=n.title,u=n.cornorMark,f=this.props.showMask;e=!0===f||"true"===f?"https://ae01.alicdn.com/kf/S1e0b5f59d44845c89d23644878384c33Z/504x504.png":s;var p=u||{},g=(p.value,p.color,p.bgColor,268);return"2in1"===this.mode&&(g=343),"3in1"===this.mode&&(g=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(this.data.discount,"#FD384F","#ffffff"),(0,a.createElement)(d.default,{style:"2in1"===this.mode||"3in1"===this.mode?i.default.imgOuter:(0,o.getRTLCSS)(this.gdc,i.default,"imgOuterHoz")},(0,a.createElement)(d.default,{style:t({},i.default.imgWrapper,{width:g,height:g})},(0,a.createElement)(l.default,{style:t({},i.default.itemImg,{width:g,height:g}),source:{uri:e},alt:c,autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1,resizeMode:"cover"}),(0,a.createElement)(d.default,{style:t({},i.default.bgMask,{width:g,height:g})}),this.showAddCart&&(0,a.createElement)(r.AddCart,{data:this.data,gdc:this.gdc})))}}]),s}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.04)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(4),o=c(e(108)),i=e(109),a=e(0),l=c(e(2)),d=c(e(1)),s=e(8);function c(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t.style=e.style,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,a.Component),n(c,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,n=e.stars,c=e.sales;if(!n&&!c)return null;var u=o.default.itemMeta;return"3in1"===this.mode&&(u=o.default.itemMeta3in1),"2in1"===this.mode&&(u=o.default.itemMeta2in1),(0,a.createElement)(d.default,{style:t({},u,this.style)},!!c&&(0,a.createElement)(l.default,{style:(0,r.getRTLCSS)(this.gdc,o.default,"itemOrders")},(0,s.formatSales)(c)),(0,a.createElement)(i.Star,{gdc:this.gdc,stars:n,num:n}))}}]),c}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",alignItems:"center",marginTop:0,flexDirection:"row",flexWrap:"wrap"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:24,color:"rgb(151,151,151)",marginRight:8,fontFamily:"AEShopCustomFont",fontWeight:"450"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=l(e(110)),r=e(0),o=l(e(6)),i=l(e(2)),a=l(e(1));function l(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function l(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,r.Component),t(l,[{key:"render",value:function(){return this.num?+this.num<3.5?null:(0,r.createElement)(a.default,{style:n.default.starWrapper},(0,r.createElement)(o.default,{style:n.default.starImage,source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAYAAACdkl3yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpVTBTQMxENxxlBMBHtcBpgKSZ8QDrgPoACoIqSCiE6gkIBTxBCrIleAPCOWSmPVGwPk455xjJEtre3Y09tpL1AA7O7hyo4mHrSLPe5rWai4TlRxjaPIQV20TYpHJb1zcUBtHnpsNDC3YVWYM7eRo1RlVVlJKFkFXYSHYi5rVkZ2maT39hTc+Ck6ymqdHvNbn2JF1XQJZPqLCKweG4zfOyUl1H2Bn+/NgUjyMYtVH+jdwDzlzUkzZap/aAHzMXjeT8rcWA+XUSwYYGCNVk7ehVpeysYsIksyJuOlP+TH8zGnZGVM8xuUv478jtdQUDetxfSHgjGIBdRIWstAUi7VfmIqjStXk8nEt428htE/9NlP+7S7J4han73dlsjQ42Ak/4o1IqEdJN3w6PKcG1HXNLyUobuoTnHiPAAAAAElFTkSuQmCC"},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),(0,r.createElement)(i.default,{style:n.default.starText},""+(+this.num).toFixed(1))):null}}]),l}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(151,151,151)",fontSize:24,fontFamily:"AEShopCustomFont",fontWeight:"450"},starImage:{width:18,height:18,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(16),o=e(4),i=s(e(112)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n="3in1"===this.mode?26:30,s="3in1"===this.mode?22:24;if("tpp"===this.priceMode){if(!this.data.prices)return null;var c=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},u=c.salePrice,f=c.originalPrice;return u||f?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",color:"#191919",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},u&&u.map(function(r){return(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),!f||"3in1"!==this.mode&&"1in1"!==this.mode?null:f.map(function(n,r){return(0,a.createElement)(l.default,{key:r,style:t({},n.style,(0,o.getRTLCSS)(e.gdc,i.default,"subPriceText"),{fontSize:s})},n.text)})):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var p=this.data.priceLocalInfo&&this.data.priceLocalInfo.promotionPiecePriceStructure&&-1!==this.data.priceLocalInfo.promotionPiecePriceStructure.indexOf("|")?(0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{}:(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},g=p.currentPrice,m=p.subPrice;return g?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},g&&g.map(function(r,d){return(0,a.createElement)(l.default,{key:d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),!m||"3in1"!==this.mode&&"1in1"!==this.mode?null:(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(this.gdc,i.default,"subPriceText"),m.style,{fontSize:s})},m.text)):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:8},"subPriceText-rtl":{}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(9),o=e(4),i=e(22),a=f(e(114)),l=e(0),d=f(e(6)),s=f(e(2)),c=f(e(1)),u=e(3);function f(e){return e&&e.__esModule?e:{default:e}}function p(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var g=function(e){function f(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);var n,p=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,e));return p.renderTag=function(e,n){if((e.tagImgUrl||e.value)&&e.height&&+e.height>30){var r=+e.height,f=+e.width;e.height=30,e.width=f/r*30}if(e)switch(e.materialCode){case"search_item_text_icon":var g=(30*(+e.width+8)/+e.height||30)+6,m=(0,i.getSpaceFromIndent)(g);return{tagWidth:p.tagContainerWidth,tagHeight:30,TagComponent:(0,l.createElement)(c.default,{key:n,style:t({},a.default.withIcon,{width:p.tagContainerWidth,flexDirection:p.isAndroidRTL?"row":a.default.withIcon.flexDirection})},(0,l.createElement)(d.default,{style:t({},(0,o.getRTLCSS)(p.gdc,a.default,"tagImg"),a.default.withIconImg,{width:+e.width+1,height:+e.height+1,left:(0,o.isRTL)(p.gdc)?null:0,right:(0,o.isRTL)(p.gdc)?0:null}),source:{uri:e.tagImgUrl||e.value},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),u.isWeex?(0,l.createElement)(s.default,{style:t({},a.default.tagText,p.textStyle,{color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,width:p.isAndroidRTL?null:p.tagContainerWidth}),numberOfLines:1},(""+m+e.tagText+(p.isAndroidRTL?m:"")).split("").join("\ufeff")):(0,l.createElement)(s.default,{style:t({},a.default.tagText,p.textStyle,{textIndent:g,color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,width:p.tagContainerWidth}),numberOfLines:1},(""+e.tagText).split("").join("\ufeff")))};case"search_item_icon":return{tagWidth:+e.width+1,tagHeight:+e.height+1,TagComponent:(0,l.createElement)(d.default,{key:n,style:t({},(0,o.getRTLCSS)(p.gdc,a.default,"promotionTagImg"),{width:+e.width+1,height:+e.height+1}),source:{uri:e.tagImgUrl||e.value},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1})};case"search_item_text":return{tagWidth:p.tagContainerWidth,tagHeight:30,TagComponent:(0,l.createElement)(s.default,{key:n,style:t({},a.default.tagText,p.textStyle,{width:"2in1"===p.mode?327:null,color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,marginRight:(0,o.isRTL)(p.gdc)?0:6,marginLeft:(0,o.isRTL)(p.gdc)?6:0}),numberOfLines:1},(""+e.tagText).split("").join("\ufeff"))};default:return{TagComponent:null}}},p.gdc=e.gdc,p.data=e.data,p.mode=e.mode,p.type=e.type,p.tagsMode=e.tagsMode,p.textStyle="metadata"===p.type?{color:"#FD384F",fontWeight:400}:"selling"===p.type?{color:"#FD384F",fontWeight:400}:"shipping"===p.type?{color:"#191919",fontWeight:400}:{},"2in1"===p.mode&&(n=327),"1in1"===p.mode&&(n=253),"3in1"===p.mode&&(n=210),"hoz"===p.mode&&(n=410),p.tagContainerWidth=n,p.titleMode=e.titleMode,p.title=e.title,p.isAndroidRTL=u.isWeex&&(0,r.isAndroid)()&&(0,o.isRTL)(p.gdc),p}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(f,l.Component),n(f,[{key:"render",value:function(){var e=this;if(!this.data||"tpp"===this.tagsMode&&!this.data.sellingPoints||"shop"===this.tagsMode&&!this.data.atmosphere)return null;var n=[],r="tpp"===this.tagsMode?(0,i.convertTppSellingPointsToShopAtmosphere)(this.data.sellingPoints,this.mode):this.data.atmosphere;if("metadata"===this.type?n=[].concat(p((0,i.getPositionTags)(r,1,this.mode))):"selling"===this.type?n=[].concat(p((0,i.getPositionTags)(r,2))):"shipping"===this.type&&(n=[].concat(p((0,i.getPositionTags)(r,3)),p((0,i.getPositionTags)(r,4)))),!n.length&&!this.titleMode)return null;this.titleMode&&(n=n.filter(function(e){return"search_item_icon"===e.materialCode}));for(var o=[],d=0;d<n.length;d++)o.push(n[d]);(0,i.sortTags)(o);var f=0,g=0,m=o.map(function(t,n){var r=e.renderTag(t,n);return f+=r.tagWidth+4,g=Math.max(g,r.tagHeight),r.TagComponent}),h=(30*+f/+g||30)+6,y=(0,i.getSpaceFromIndent)(h);return n.length||(f=0,g=0,h=0,y=""),(0,l.createElement)(c.default,{style:t({},a.default.horizontalTags,"metadata"===this.type?a.default.metaTagsAlter:{},this.textStyle,{width:this.tagContainerWidth})},(0,l.createElement)(c.default,{style:t({},a.default.horizontalTagsWrapper,{width:this.titleMode?f:this.tagContainerWidth,height:this.titleMode?g:null,position:this.titleMode?"absolute":"relative",top:this.titleMode?0:null,flexWrap:this.titleMode?null:"wrap"})},m),this.titleMode&&(u.isWeex?(0,l.createElement)(s.default,{style:t({},a.default.itemTagTitle,{width:this.tagContainerWidth}),numberOfLines:1},(""+y+this.title).split("").join("\ufeff")):(0,l.createElement)(s.default,{style:t({},a.default.itemTagTitle,{width:this.tagContainerWidth,textIndent:h}),numberOfLines:1},(""+this.title).split("").join("\ufeff"))))}}]),f}();exports.default=g,module.exports=exports.default},function(module,exports){module.exports={promotionTagImg:{height:32,marginRight:4,verticalAlign:"middle",display:"inline"},"promotionTagImg-rtl":{marginRight:0,marginLeft:4},tagImg:{height:32,marginRight:2,verticalAlign:"middle",display:"inline"},"tagImg-rtl":{marginRight:0,marginLeft:2},tagText:{color:"rgb(102,102,102)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all"},tagDot:{display:"inline",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTags:{position:"relative",display:"flex",flexDirection:"row",wordBreak:"break-all",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap"},metaTagsAlter:{display:"flex",flexDirection:"row",flexWrap:"wrap",wordBreak:"break-all"},withIcon:{position:"relative",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all",display:"flex",flexDirection:"row",justifyContent:"flex-start"},withIconImg:{position:"absolute",top:0},itemTagTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTagsWrapper:{display:"flex",flexDirection:"row",alignContent:"center"},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:226,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},itemTitle1in1:{width:276,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410},firstLine:{display:"flex",flexDirection:"row",flexWrap:"nowrap"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(8),o=e(9),i=e(4),a=e(117),l=e(119),d=e(121),s=e(125),c=b(e(127)),u=b(e(129)),f=b(e(11)),p=e(14),g=e(0),m=b(e(2)),h=b(e(1)),y=e(3);function b(e){return e&&e.__esModule?e:{default:e}}var w=function(e){function b(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,e));return n.broadcastChannel=function(){new BroadcastChannel("popMobileConfirm").onmessage=function(){n.setState({showMask:!1})}},n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,o){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,f=n.mds,g=f.widgetId,m=f.moduleName,h={url:e,nid:t||0,widgetId:g,moduleName:m,target:o||null};n.data.utLogMap&&(0,p.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,r.openWindow)(e)},n.open=function(e,t){var o=n.state.showMask;if("true"!==o&&!0!==o)n.goTargetUrl(e,t);else if(y.isWeex)(0,r.callWindVaneHandler)("AEWVPrivacy","euSafetyFilter",{},function(r){r.wantedSee&&(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100))},function(e){console.warn(e)});else{var i=n.gdc.locale;f.default.show({isRtl:!1,locale:i,fetcher:window.lib.mtop.request,onOk:function(r){console.log(r);var o=r.success,i=r.errMsg;o?(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100)):console.warn(i)},onCancel:function(){}})}},n.renderHozCard=function(){var e=n.data,r=e.id,o=e.url,a=e.title,f=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:u.default.cardInnerHoz,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,showMask:f,size:268,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContentHoz},!!a&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitleHoz),numberOfLines:2},a.split("").join("\ufeff")),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}),(0,g.createElement)(h.default,{style:u.default.hozMeta},(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(d.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data})))))},n.render2In1Card=function(){var e=n.data,r=e.id,o=e.url,a=e.title,f=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:343},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:n.state.showShadow?u.default.cardInnerWithShadow:u.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:343,showMask:f,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContent},(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,g.createElement)(d.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,mode:n.mode}),!!a&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitle2in1),numberOfLines:1},a.split("").join("\ufeff")),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}))))},n.render3In1Card=function(){var e=n.data,r=e.id,o=e.url,c=e.title,f=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:226},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:u.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showMask:f,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContent},!!c&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitle3in1),numberOfLines:1},c.split("").join("\ufeff")),(0,g.createElement)(d.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(a.Discount,{data:n.data}))))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode=e.mode||"2in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,o.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={showMask:e.showMask},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(b,g.Component),n(b,[{key:"componentDidMount",value:function(){this.broadcastChannel()}},{key:"render",value:function(){return this.data?"2in1"===this.mode?this.render2In1Card():"3in1"===this.mode?this.render3In1Card():this.renderHozCard():null}}]),b}();exports.default=w,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Discount=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(118)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Discount=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.data=e.data,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount?(0,r.createElement)(i.default,{style:n.default.container},(0,r.createElement)(i.default,{style:n.default.discount},(0,r.createElement)(o.default,{style:n.default.text},this.data.discount))):null}}]),a}()},function(module,exports){module.exports={container:{display:"flex",flexDirection:"row",marginTop:8},discount:{height:38,borderRadius:19,backgroundColor:"rgb(211,3,28)",paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},text:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(15),o=e(4),i=c(e(120)),a=e(0),l=c(e(6)),d=c(e(2)),s=c(e(1));function c(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t.showAddCart=e.showAddCart||!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,a.Component),n(c,[{key:"render",value:function(){if(!this.data)return null;var e,n=this.data,c=n.image,u=n.title,f=n.cornorMark,p=this.props.showMask;e=!0===p||"true"===p?"https://ae01.alicdn.com/kf/S1e0b5f59d44845c89d23644878384c33Z/504x504.png":c;var g=f||{},m=g.value,h=g.color,y=g.bgColor,b=268;return"2in1"===this.mode&&(b=343),"3in1"===this.mode&&(b=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(m=this.data.discount,y="#FD384F",h="#ffffff"),(0,a.createElement)(s.default,{style:"2in1"===this.mode||"3in1"===this.mode?i.default.imgOuter:(0,o.getRTLCSS)(this.gdc,i.default,"imgOuterHoz")},(0,a.createElement)(s.default,{style:t({},i.default.imgWrapper,{width:b,height:b})},(0,a.createElement)(l.default,{style:t({},i.default.itemImg,{width:b,height:b}),source:{uri:e},alt:u,autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1,resizeMode:"cover"}),(0,a.createElement)(s.default,{style:t({},i.default.bgMask,{width:b,height:b})}),!!m&&(0,a.createElement)(s.default,{style:t({},(0,o.getRTLCSS)(this.gdc,i.default,"mark"),{backgroundColor:y||"#FD384F"})},(0,a.createElement)(d.default,{style:t({},i.default.markText,{color:h||"#ffffff"})},m)),this.showAddCart&&(0,a.createElement)(r.AddCart,{data:this.data,gdc:this.gdc})))}}]),c}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.04)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(4),r=d(e(122)),o=e(123),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),t(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,t=e.stars,d=e.sales;if(!t&&!d)return null;var s=r.default.itemMeta;return"3in1"===this.mode&&(s=r.default.itemMeta3in1),"2in1"===this.mode&&(s=r.default.itemMeta2in1),(0,i.createElement)(l.default,{style:s},!!d&&(0,i.createElement)(a.default,{style:(0,n.getRTLCSS)(this.gdc,r.default,"itemOrders")},d),(0,i.createElement)(o.Star,{gdc:this.gdc,num:t}))}}]),d}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",alignItems:"center",marginTop:0,flexDirection:"row",flexWrap:"wrap"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:24,color:"rgb(151,151,151)",marginRight:8,fontFamily:"AEShopCustomFont",fontWeight:"450"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=l(e(124)),r=e(0),o=l(e(6)),i=l(e(2)),a=l(e(1));function l(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function l(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,r.Component),t(l,[{key:"render",value:function(){return this.num?+this.num<.1?null:(0,r.createElement)(a.default,{style:n.default.starWrapper},(0,r.createElement)(o.default,{style:n.default.starImage,source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAYAAACdkl3yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpVTBTQMxENxxlBMBHtcBpgKSZ8QDrgPoACoIqSCiE6gkIBTxBCrIleAPCOWSmPVGwPk455xjJEtre3Y09tpL1AA7O7hyo4mHrSLPe5rWai4TlRxjaPIQV20TYpHJb1zcUBtHnpsNDC3YVWYM7eRo1RlVVlJKFkFXYSHYi5rVkZ2maT39hTc+Ck6ymqdHvNbn2JF1XQJZPqLCKweG4zfOyUl1H2Bn+/NgUjyMYtVH+jdwDzlzUkzZap/aAHzMXjeT8rcWA+XUSwYYGCNVk7ehVpeysYsIksyJuOlP+TH8zGnZGVM8xuUv478jtdQUDetxfSHgjGIBdRIWstAUi7VfmIqjStXk8nEt428htE/9NlP+7S7J4han73dlsjQ42Ak/4o1IqEdJN3w6PKcG1HXNLyUobuoTnHiPAAAAAElFTkSuQmCC"},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),(0,r.createElement)(i.default,{style:n.default.starText},""+(+this.num).toFixed(1))):null}}]),l}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(151,151,151)",fontSize:24,fontFamily:"AEShopCustomFont",fontWeight:"450"},starImage:{width:18,height:18,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(16),o=e(4),i=s(e(126)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n="3in1"===this.mode?26:30,s="3in1"===this.mode?22:24;if("tpp"===this.priceMode){if(!this.data.prices)return null;var c=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},u=c.salePrice,f=c.originalPrice;return u||f?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",color:"#191919",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},u&&u.map(function(r){return(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),f&&f.map(function(n,r){return(0,a.createElement)(l.default,{key:r,style:t({},n.style,(0,o.getRTLCSS)(e.gdc,i.default,"subPriceText"),{fontSize:s})},n.text)})):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var p=this.data.priceLocalInfo&&this.data.priceLocalInfo.promotionPiecePriceStructure&&-1!==this.data.priceLocalInfo.promotionPiecePriceStructure.indexOf("|")?(0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{}:(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},g=p.currentPrice,m=p.subPrice;return g?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},g&&g.map(function(r,d){return(0,a.createElement)(l.default,{key:d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),m&&(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(this.gdc,i.default,"subPriceText"),m.style,{fontSize:s})},m.text)):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:8},"subPriceText-rtl":{}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(9),o=e(4),i=e(22),a=f(e(128)),l=e(0),d=f(e(6)),s=f(e(2)),c=f(e(1)),u=e(3);function f(e){return e&&e.__esModule?e:{default:e}}function p(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var g=function(e){function f(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);var n,p=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,e));return p.renderTag=function(e,n){if((e.tagImgUrl||e.value)&&e.height&&+e.height>30){var r=+e.height,f=+e.width;e.height=30,e.width=f/r*30}if(e)switch(e.materialCode){case"search_item_text_icon":var g=(30*(+e.width+8)/+e.height||30)+6,m=(0,i.getSpaceFromIndent)(g);return{tagWidth:p.tagContainerWidth,tagHeight:30,TagComponent:(0,l.createElement)(c.default,{key:n,style:t({},a.default.withIcon,{width:p.tagContainerWidth,flexDirection:p.isAndroidRTL?"row":a.default.withIcon.flexDirection})},(0,l.createElement)(d.default,{style:t({},(0,o.getRTLCSS)(p.gdc,a.default,"tagImg"),a.default.withIconImg,{width:+e.width+1,height:+e.height+1,left:(0,o.isRTL)(p.gdc)?null:0,right:(0,o.isRTL)(p.gdc)?0:null}),source:{uri:e.tagImgUrl||e.value},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),u.isWeex?(0,l.createElement)(s.default,{style:t({},a.default.tagText,p.textStyle,{color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,width:p.isAndroidRTL?null:p.tagContainerWidth}),numberOfLines:p.isAndroidRTL?1:2},(""+m+e.tagText+(p.isAndroidRTL?m:"")).split("").join("\ufeff")):(0,l.createElement)(s.default,{style:t({},a.default.tagText,p.textStyle,{textIndent:g,color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,width:p.tagContainerWidth}),numberOfLines:2},(""+e.tagText).split("").join("\ufeff")))};case"search_item_icon":return{tagWidth:+e.width+1,tagHeight:+e.height+1,TagComponent:(0,l.createElement)(d.default,{key:n,style:t({},(0,o.getRTLCSS)(p.gdc,a.default,"promotionTagImg"),{width:+e.width+1,height:+e.height+1}),source:{uri:e.tagImgUrl||e.value},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1})};case"search_item_text":return{tagWidth:p.tagContainerWidth,tagHeight:30,TagComponent:(0,l.createElement)(s.default,{key:n,style:t({},a.default.tagText,p.textStyle,{width:null,color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,marginRight:(0,o.isRTL)(p.gdc)?0:6,marginLeft:(0,o.isRTL)(p.gdc)?6:0})},(""+e.tagText).split("").join("\ufeff"))};default:return{TagComponent:null}}},p.gdc=e.gdc,p.data=e.data,p.mode=e.mode,p.type=e.type,p.tagsMode=e.tagsMode,p.textStyle="metadata"===p.type?{color:"#FD384F",fontWeight:400}:"selling"===p.type?{color:"#FD384F",fontWeight:400}:"shipping"===p.type?{color:"#191919",fontWeight:400}:{},"2in1"===p.mode&&(n=327),"hoz"===p.mode&&(n=410),p.tagContainerWidth=n,p.titleMode=e.titleMode,p.title=e.title,p.isAndroidRTL=u.isWeex&&(0,r.isAndroid)()&&(0,o.isRTL)(p.gdc),p}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(f,l.Component),n(f,[{key:"render",value:function(){var e=this;if(!this.data||"tpp"===this.tagsMode&&!this.data.sellingPoints||"shop"===this.tagsMode&&!this.data.atmosphere)return null;var n=[],r="tpp"===this.tagsMode?(0,i.convertTppSellingPointsToShopAtmosphere)(this.data.sellingPoints):this.data.atmosphere;if("metadata"===this.type?n=[].concat(p((0,i.getPositionTags)(r,1))):"selling"===this.type?n=[].concat(p((0,i.getPositionTags)(r,2))):"shipping"===this.type&&(n=[].concat(p((0,i.getPositionTags)(r,3)),p((0,i.getPositionTags)(r,4)))),!n.length&&!this.titleMode)return null;this.titleMode&&(n=n.filter(function(e){return"search_item_icon"===e.materialCode}));for(var o=[],d=0;d<n.length;d++)o.push(n[d]);(0,i.sortTags)(o);var f=0,g=0,m=o.map(function(t,n){var r=e.renderTag(t,n);return f+=r.tagWidth+4,g=Math.max(g,r.tagHeight),r.TagComponent}),h=(30*+f/+g||30)+6,y=(0,i.getSpaceFromIndent)(h);return n.length||(f=0,g=0,h=0,y=""),(0,l.createElement)(c.default,{style:t({},a.default.horizontalTags,"metadata"===this.type?a.default.metaTagsAlter:{},this.textStyle,{width:this.tagContainerWidth})},(0,l.createElement)(c.default,{style:t({},a.default.horizontalTagsWrapper,{width:this.titleMode?f:this.tagContainerWidth,height:this.titleMode?g:null,position:this.titleMode?"absolute":"relative",top:this.titleMode?0:null,flexWrap:this.titleMode?null:"wrap"})},m),this.titleMode&&(u.isWeex?(0,l.createElement)(s.default,{style:t({},a.default.itemTagTitle,{width:this.tagContainerWidth}),numberOfLines:2},(""+y+this.title).split("").join("\ufeff")):(0,l.createElement)(s.default,{style:t({},a.default.itemTagTitle,{width:this.tagContainerWidth,textIndent:h}),numberOfLines:2},(""+this.title).split("").join("\ufeff"))))}}]),f}();exports.default=g,module.exports=exports.default},function(module,exports){module.exports={promotionTagImg:{height:32,marginRight:4,verticalAlign:"middle",display:"inline"},"promotionTagImg-rtl":{marginRight:0,marginLeft:4},tagImg:{height:32,marginRight:2,verticalAlign:"middle",display:"inline"},"tagImg-rtl":{marginRight:0,marginLeft:2},tagText:{color:"rgb(102,102,102)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all"},tagDot:{display:"inline",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTags:{position:"relative",display:"flex",flexDirection:"row",wordBreak:"break-all",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap"},metaTagsAlter:{display:"flex",flexDirection:"row",flexWrap:"wrap",wordBreak:"break-all"},withIcon:{position:"relative",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all",display:"flex",flexDirection:"row",justifyContent:"flex-start"},withIconImg:{position:"absolute",top:0},itemTagTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTagsWrapper:{display:"flex",flexDirection:"row",alignContent:"center"}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:210,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getRTLCSS=exports.isRTL=exports.bottomBarHeight=exports.isIphoneXSeries=exports.statusBarHeight=void 0;var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=e(131),r=e(23),o=e(3),i=e(137),a=40,l=!1,d=0;if(o.isWeex){var s="object"===("undefined"==typeof WXEnvironment?"undefined":t(WXEnvironment))?WXEnvironment:{deviceModel:"",deviceHeight:"",aeStatusHeight:"40"},c=s.deviceModel,u=s.deviceHeight,f=s.aeStatusHeight;n.isIOS?((-1!==["iPhone15,2","iPhone15,3","iPhone15,4","iPhone15,5","iPhone16,1","iPhone16,2"].indexOf(c)||-1!==["2556","2796"].indexOf(u+""))&&(exports.isIphoneXSeries=l=!0,exports.statusBarHeight=a=106,exports.bottomBarHeight=d=40),(-1!==["iPhone10,3","iPhone10,6","iPhone11,2","iPhone11,4","iPhone11,6","iPhone11,8","iPhone12,1","iPhone12,3","iPhone12,5","iPhone13,1","iPhone13,2","iPhone13,3","iPhone13,4","iPhone14,2","iPhone14,3","iPhone14,4","iPhone14,5","iPhone14,7","iPhone14,8"].indexOf(c)||-1!==["2436","2688","1792","2340","2532","2778"].indexOf(u+""))&&(exports.isIphoneXSeries=l=!0,exports.statusBarHeight=a=88,exports.bottomBarHeight=d=40)):f&&(exports.statusBarHeight=a=parseInt(f,10))}else{if(n.isIOS){var p=window.screen,g=p.width,m=p.height;(375==+g&&812==+m||414==+g&&896==+m||390==+g&&844==+m||428==+g&&926==+m)&&(exports.isIphoneXSeries=l=!0)}var h=r.qs.parse(location.href);exports.statusBarHeight=a=parseInt(h.statusBarHeight,10)||0}exports.statusBarHeight=a,exports.isIphoneXSeries=l,exports.bottomBarHeight=d,exports.isRTL=i.isRTL,exports.getRTLCSS=i.getRTLCSS},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.appVersion=exports.appName=exports.osVersion=exports.osName=exports.isDingTalkApp=exports.isTMGApp=exports.isAEApp=exports.isAliApp=exports.isIPad=exports.isIPhone=exports.isAndroid=exports.isIOS=exports.isMobile=void 0;var t=e(3),n=e(33),r=e(132),o=exports.isMobile=!1,i=exports.isIOS=!1,a=exports.isAndroid=!1,l=exports.isIPhone=!1,d=exports.isIPad=!1,s=exports.isAliApp=!1,c=exports.isAEApp=!1,u=exports.isTMGApp=!1,f=exports.isDingTalkApp=!1,p=exports.osName="",g=exports.osVersion="",m=exports.appName="",h=exports.appVersion="";if(t.isWeex){var y=window.__weex_env__;exports.osName=p=y.osName.toLowerCase(),exports.isIOS=i="ios"===p,exports.isAndroid=a="android"===p,exports.isMobile=o=!0,y.deviceModel&&(exports.isIPhone=l=y.deviceModel.indexOf("iPhone")>-1,exports.isIPad=d=y.deviceModel.indexOf("iPad")>-1),exports.isAliApp=s="AliApp"===y.appGroup,exports.appName=m=y.appName,exports.isAEApp=c="AliExpress"===m,exports.isTMGApp=u="TMG"===m,exports.isDingTalkApp=f="DingTalk"===m,exports.osVersion=g=y.osVersion,exports.appVersion=h=y.appVersion}else{exports.isMobile=o=!!(0,n.uaMatch)(/AppleWebKit.*Mobile.*/),exports.isIOS=i=!!(0,n.uaMatch)(/\(i[^;]+;( U;)? CPU.+Mac OS X/)||(0,n.uaIncludes)("iPhone"),exports.isAndroid=a=(0,n.uaIncludes)("Android")||(0,n.uaIncludes)("Adr"),exports.osName=p=i?"ios":"android",exports.isIPhone=l=(0,n.uaIncludes)("iPhone"),exports.isIPad=d=(0,n.uaIncludes)("iPad"),exports.isAliApp=s=(0,n.uaIncludes)("AliApp"),exports.isAEApp=c=s&&((0,n.uaIncludes)("Aliexpress")||(0,n.uaIncludes)("AE")),exports.isTMGApp=u=s&&(0,n.uaIncludes)("TMG"),exports.isDingTalkApp=f=s&&(0,n.uaIncludes)("DingTalk"),exports.osVersion=g=i?r.iosVersion:r.androidVersion;var b=(0,n.uaMatch)(/AliApp\((.*?)\/(.*?)\)/g);(null==b?void 0:b.length)>0&&b.map(function(e){if(-1===e.indexOf("AliexpressAndroid")){var t=e.match(/AliApp\((.*?)\/(.*?)\)/);(null==t?void 0:t.length)>1&&(exports.appName=m=t[1],exports.appVersion=h=t[2])}})}exports.default={isMobile:o,isIOS:i,isAndroid:a,isIPhone:l,isIPad:d,isAliApp:s,isAEApp:c,isTMGApp:u,osName:p,osVersion:g,appName:m,appVersion:h,isDingTalkApp:f}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.androidVersion=exports.iosVersion=void 0;var t=e(33);var n;exports.iosVersion=(n=t.ua.toLowerCase().match(/cpu iphone os (.*?) like mac os/))&&Array.isArray(n)&&n.length>0&&n[1]?n[1].replace(/_/gi,"."):"",exports.androidVersion=function(){var e=t.ua.toLowerCase().match(/android [\d._]+/gi);return t.ua.toLowerCase().indexOf("android")>0?(e+"").replace(/[^0-9|_.]/gi,"").replace(/_/gi,"."):""}()},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getAEInfoByHawe=void 0,exports.getAEWeexEnv=c,exports.getAECommonEnv=u,exports.getAEEnv=f,exports.getAEEnvIncludeHawe=p,exports.getAEInfo=function(){var e,n,o,i,a,l,f,p,g,m=!1;try{if(i=(0,r.getCookie)("aep_usuc_f"),a=(0,r.getCookie)("cna"),l=(0,r.queryCookie)(i,"x_alimid"),f=(0,r.queryCookie)(i,"acs_rt"),t.isWeex){var h=c();e=h.aeLocale,n=h.aeRegion,o=h.aeCurrency,g=h.aeDirection}else{p="y"===(0,r.getCookie)("xman_us_t","sign");var y=u();e=y.aeLocale,n=y.aeRegion,o=y.aeCurrency,g=y.aeDirection}m=g===d.RTL}catch(e){console.error(e)}return{aeLocale:e=s[e]||e,aeRegion:n,aeCurrency:o,aeDirection:g,isRtl:m,aep_usuc_f:i,cna:a,buyerAliId:l,acs_rt:f,isWebLogin:p}},exports.getAEInfoIncludeHawe=g;var t=e(3),n=e(34),r=e(24),o=e(36),i=e(37),a={locale:"en_US",country:"US",currency:"USD",direction:"rtl"},l=["ar_SA","ar_MA","he_IL","iw_IL"],d={RTL:"rtl",LTR:"ltr"},s={iw_IL:"he_IL",ar_MA:"ar_SA",in_ID:"id_ID"};function c(){var e=weex.config.env,t=e.aeLocale,n=void 0===t?a.locale:t,r=e.aeCountry,o=void 0===r?a.country:r,i=e.aeCurrency,l=void 0===i?a.currency:i,d=e.aeDirection;return{aeLocale:n,aeRegion:o,aeCurrency:l,aeDirection:void 0===d?a.direction:d}}function u(){var e=(0,r.getCookie)("aep_usuc_f"),t=(0,r.queryCookie)(e,"b_locale")||a.locale;return{aeLocale:t,aeRegion:(0,r.queryCookie)(e,"region")||a.country,aeCurrency:(0,r.queryCookie)(e,"c_tp")||a.currency,aeDirection:-1===l.indexOf(t)?d.LTR:d.RTL}}function f(){return t.isWeex?c():u()}function p(e){return new Promise(function(r,i){try{n.isAEApp&&!t.isWeex?(0,o.callHaweAppinfo)(e).then(function(e){var t=e.aeLocale,n=e.aeRegion,o=e.aeCurrency;if(!t||!n||!o){var i=u();t=i.aeLocale,n=i.aeRegion,o=i.aeCurrency}r({aeLocale:t,aeRegion:n,aeCurrency:o,aeDirection:-1===l.indexOf(t)?d.LTR:d.RTL})}):r(f())}catch(e){i(e)}})}function g(e){var o,a,l,c,u,f,g,m,h=!1;return(t.isWeex||!n.isAEApp)&&(c=(0,r.getCookie)("aep_usuc_f"),u=(0,r.getCookie)("cna"),f=(0,r.queryCookie)(c,"x_alimid"),g=(0,r.queryCookie)(c,"acs_rt")),new Promise(function(t){return(0,i.isLogin)().then(function(n){return p(e).then(function(e){o=e.aeLocale,a=e.aeRegion,l=e.aeCurrency,m=e.aeDirection,h=m===d.RTL,o=s[o]||o,t({isWebLogin:n,aeLocale:o,aeRegion:a,aeCurrency:l,isRtl:h,aep_usuc_f:c,cna:u,buyerAliId:f,acs_rt:g})})})})}exports.getAEInfoByHawe=g},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.androidVersion=exports.iosVersion=void 0;var t=e(35);var n;exports.iosVersion=(n=t.ua.toLowerCase().match(/cpu iphone os (.*?) like mac os/))&&Array.isArray(n)&&n.length>0&&n[1]?n[1].replace(/_/gi,"."):"",exports.androidVersion=function(){var e=t.ua.toLowerCase().match(/android [\d._]+/gi);return t.ua.toLowerCase().indexOf("android")>0?(e+"").replace(/[^0-9|_.]/gi,"").replace(/_/gi,"."):""}()},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.qs={parse:function(e){var t={},n=null,r=/[?&](.*?)=([^&#]*)/g;for(n=r.exec(e);n;){try{t[n[1]]=decodeURIComponent(n[2])}catch(e){try{t[n[1]]=unescape(n[2])}catch(e){t[n[1]]=n[2]}}n=r.exec(e)}return t},stringify:function(e){return e?Object.keys(e).map(function(t){return t+"="+encodeURIComponent(e[t])}).join("&"):""}}},function(module,exports){var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function t(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}Object.defineProperty(exports,"__esModule",{value:!0});exports.Url=function(){function n(){this._params=void 0,this._hash=void 0,this._url=void 0,this.protocol=void 0,this.username=void 0,this.password=void 0,this.host=void 0,this.port=void 0,this.hostname=void 0,this.pathname=void 0,this.origin=void 0,this._params={},this._hash=""}var r,o,i,a=n.prototype;return a.parse=function(e){void 0===e&&(e="");var t=e.split("?"),n=/^([a-z0-9-]+:)?[/]{2}(?:([^@/:?]+)(?::([^@/:]+))?@)?([^:/?#]+)(?:[:]([0-9]+))?([/][^?#]*)?(?:[?]([^?#]*))?(#[^#]*)?$/i,r=e.match(n)||t[0].match(n);if(!r)throw console.error("wrong url scheme"),new Error("parse url error");return t.shift(),this.protocol=r[1]||"",this.username=r[2]||"",this.password=r[3]||"",this.hostname=r[4]||"",this.host=r[4]||"",this.port=r[5]||"",this.pathname=r[6]||"/",this.search=r[7]||t.join("?")||"",this.hash=r[8]||"",this.origin=this.protocol+"//"+this.hostname,this._url=e,this},a.toString=function(){var e=this.protocol?this.protocol+"//":"//";return this.username&&(e+=this.username,this.password&&(e+=":"+this.password),e+="@"),e+=this.host?this.host:"",this.port&&"80"!==this.port&&(e+=":"+this.port),this.pathname&&(e+=this.pathname),e?(this.search&&(e+=this.search),this.hash&&(e+=this.hash),e):this._url},r=n,(o=[{key:"params",get:function(){return this._params},set:function(t){"object"===(void 0===t?"undefined":e(t))&&(this._params=t)}},{key:"search",get:function(){var e=[];for(var t in this.params)if(this.params[t])try{e.push(encodeURIComponent(t)+"="+encodeURIComponent(this.params[t]))}catch(e){}else try{e.push(encodeURIComponent(t))}catch(e){}return e.length?"?"+e.join("&"):""},set:function(e){if("string"==typeof e){0===e.indexOf("?")&&(e=e.substr(1));var t=e.split("&");for(var n in this.params)delete this.params[n];for(var r,o=0;o<t.length;o++)if((r=t[o].split("="))[0])try{this.params[decodeURIComponent(r[0])]=decodeURIComponent(r[1]||"")}catch(e){this.params[r[0]]=r[1]||""}}}},{key:"hash",get:function(){return this._hash},set:function(e){"string"==typeof e&&(e&&e.indexOf("#")<0&&(e="#"+e),this._hash=e||"")}}])&&t(r.prototype,o),i&&t(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}()},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.isRTL=t,exports.getRTLCSS=function(e,n,r){var o=n[r],i=Object.assign({},o,n[r+"-dir"],n[r+"-rtl"]);return t(e)?i:o};var e=["ar","he","Arabic","Hebrew"];function t(t){var n=t.lang,r=void 0===n?"":n;return e.includes(r)}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(0),o=a(e(1)),i=a(e(139));a(e(2));function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),n(a,[{key:"render",value:function(){var e=this.props,n=e.style,a=e.imageStyle;return(0,r.createElement)(o.default,{style:t({},d.loadingWrapper,n)},(0,r.createElement)(i.default,{style:t({},d.loadingImage,a),source:{uri:"//ae01.alicdn.com/kf/H6e469dc365d9495a8ccef13dbefb2478E.gif"}}))}}]),a}(),d={loadingWrapper:{width:"100%",height:60,display:"flex",textAlign:"center",flexDirection:"row",alignItems:"center",justifyContent:"center"},loadingImage:{height:60,width:60}};exports.default=l,module.exports=exports.default},function(module,exports,e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n,r=e(0),o=e(20),i=(n=e(1))&&n.__esModule?n:{default:n};function a(e){return(a="function"==typeof Symbol&&"symbol"===t(Symbol.iterator)?function(e){return void 0===e?"undefined":t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":t(e)})(e)}function l(){return(l=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)}function d(e){for(var t=1;t<arguments.length;t++){var n=null==arguments[t]?{}:arguments[t],r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){p(e,t,n[t])})}return e}function s(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,l=Array(i),d=0;d<i;d++)l[d]=arguments[d];return r=this,o=(e=c(t)).call.apply(e,[this].concat(l)),p(f(f(n=!o||"object"!==a(o)&&"function"!=typeof o?f(r):o)),"state",{source:n.props.source}),p(f(f(n)),"onLoad",function(e){var t=f(f(n)).onError,r=n.props.onLoad;void 0===e.success?void 0!==e.currentTarget&&(e.currentTarget.naturalWidth>1&&e.currentTarget.naturalHeight>1?r(e):t(e)):e.success?r(e):t(e)}),p(f(f(n)),"onError",function(e){var t=n.props,r=t.fallbackSource,o=t.onError,i=n.state.source;r.uri&&i.uri!==r.uri&&(n.isError=!0,n.setState({source:r})),o(e)}),p(f(f(n)),"save",function(e){n.refs.nativeImg.save(function(t){e(t)})}),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,r.PureComponent),n=t,(g=[{key:"render",value:function(){var e=d({},this.props),t=this.isError?this.state.source:e.source;if(t&&t.uri){var n=e.style,a=t.width,s=t.height,c=t.uri;null==a&&null==s&&null==n.height&&null==n.width&&(a=0,s=0),e.style=d({},d({},!this.context.isInAParentText&&{display:"flex"},{width:a,height:s}),n),e.src=c,e.onLoad=this.onLoad,e.onError=this.onError,delete e.source;var u=o.isWeex?"image":"img",f=e.resizeMode||e.style.resizeMode;return f&&(o.isWeex?(e.resize=f,e.style.resizeMode=f):e.style.objectFit=f),this.props.children?(e.children=null,(0,r.createElement)(i.default,{style:e.style},(0,r.createElement)(u,l({ref:"nativeImg"},e)),(0,r.createElement)(i.default,{style:m.absoluteImage},this.props.children))):(0,r.createElement)(u,l({ref:"nativeImg"},e))}return null}}])&&s(n.prototype,g),h&&s(n,h),t;var n,g,h}();p(g,"propTypes",{}),p(g,"resizeMode",{contain:"contain",cover:"cover",stretch:"stretch",center:"center",repeat:"repeat"}),p(g,"contextTypes",{isInAParentText:r.PropTypes.bool}),p(g,"defaultProps",{onLoad:function(){},onError:function(){},fallbackSource:{}});var m={absoluteImage:{left:0,top:0,position:"absolute"}},h=g;exports.default=h,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t,n,r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e(0),a=p(e(1)),l=p(e(6)),d=e(31),s=e(141),c=p(e(142)),u=p(e(32)),f=p(e(39));function p(e){return e&&e.__esModule?e:{default:e}}var g={autoWebp:!1,autoScaling:!1,autoCompress:!1,autoReplaceDomain:!1},m=(n=t=function(t){function n(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return o.fetchData=function(t,n){d.isWeex?e(40).getAppConfig(function(e){var r=e.deviceId;o.getItemList(r,t,n)}):o.getItemList((0,s.getCookie)("cna"),t,n)},o.getItemList=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments[2];o.setState({mtopDone:!1});var i=o.state,a=i.gdc,l=i.mds,s=a.clientIp,c=l.moduleData||{},u=c.dataApi&&c.dataApi.mtop||{},f={ecode:0,appKey:24770048,dataType:"originaljsonp"};return u.apiName&&(f.api=u.apiName),u.apiVersion&&(f.v=u.apiVersion),"needLogin"in u&&(f.needLogin=u.needLogin),u.params&&Object.keys(u.params).length&&(f.data={params:JSON.stringify(r({},u.params,{platform:d.isWeex?"APP":"MSITE",clientIp:s,page:t,deviceId:e})),componentKey:u.componentKey||"promotePruductList"}),f.api&&f.v?void o.pageUtils.Mtop.request(f,function(e){var r=(e&&e.ret?e.ret[0]:"").split("::"),i=e.data&&e.data.products;if("SUCCESS"===r[0]||e.ok){var a=o.state;o.setState({currentPage:t,totalPage:i.totalPage,itemList:a.itemList.concat(i.data)},function(){o.setState({mtopDone:!0}),n&&n()})}},function(){o.setState({mtopDone:!0}),n&&n()}):void(n&&n())},o.updateShowData=function(){var e=o.state,t=e.gdc,n=e.itemList;o.setState({mtopDone:!0,showDataStatus:n&&n.length,showNoDataStatus:!(!0!==t.preView&&"true"!==t.preView||n&&n.length)})},o.getNextPageData=function(){var e=o.state,t=e.currentPage+1;t<=e.totalPage&&o.fetchData(t)},o.renderList=function(e){var t=o.state,n=t.mds,r=t.gdc,a=r.translate,l=void 0===a?{}:a,s=r.translation,c=void 0===s?{}:s;Object.assign(l,c);var f=e.promotionDiscount||0,p=f?(l["module.discount"]||"").replace(/\${\d}/,f):null,g=l["module.smartLeaderboard.sold"],m=e.sales?g.replace("${0}",e.sales):"",h=(e.trace||{}).utLogMap,y=e.productExt&&e.productExt.isDsaRiskItem||!1,b=r.useNewItemLayout?"US":"OLDUS";return(0,i.createElement)(u.default,{showAddCart:d.isWeex,layout:b,mode:"3in1",priceMode:"shop",tagsMode:"shop",pageUtils:o.props.pageUtils,gdc:r,mds:n,modsStyle:e.modsStyle,cardBg:"#ffffff",showMask:y,data:{id:e.id,url:e.pcDetailUrl,image:e.image350Url,title:e.subject,sales:m,stars:e.averageStar,prices:e.prices,priceLocalConfig:e.priceLocalConfig,priceLocalInfo:e.priceLocalInfo,atmosphere:e.atmosphere,discount:p,utLogMap:h}})},o.pageUtils=t.pageUtils,o.state={itemList:[],currentPage:1,mtopDone:!1,mds:t.mds||{},gdc:t.gdc||{},showDataStatus:!1,showNoDataStatus:!1,totalPage:1},o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i.Component),o(n,[{key:"componentWillMount",value:function(){var e=this.state,t=e.mds,n=e.currentPage;t.widgetId&&this.fetchData(n,this.updateShowData)}},{key:"render",value:function(){var e=this,t=this.state,n=t.mds,o=t.showDataStatus,d=t.showNoDataStatus,s=t.itemList,u=t.mtopDone,p=t.currentPage,m=t.totalPage,h=n.moduleName;if(o){var y=(0,i.createElement)(a.default,{style:c.default.list},s.map(function(t,n){var o={exp_trigger:"",st_page_id:window.dmtrack_pageid,exp_type:h+"_Exposure_Event",exp_attribute:""};return(0,i.createElement)(a.default,r({key:"cell-"+n},o,{style:{marginRight:10,marginBottom:24}}),n+1===s.length?(0,i.createElement)(a.default,{onAppear:e.getNextPageData},e.renderList(t)):e.renderList(t))}));return(0,i.createElement)(a.default,null,y,!u&&p<m&&(0,i.createElement)(a.default,{style:r({},c.default.cardloading)},(0,i.createElement)(f.default,{imageStyle:{width:80,height:80}})))}return d?(0,i.createElement)(l.default,r({},g,{lazyload:!1,source:{uri:n.defaultImage},style:{width:n.defaultImageWidth||750,height:n.defaultImageHeight||300}})):null}}]),n}(),t.customCell=!0,n);exports.default=m,module.exports=exports.default},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.__=function(e,t,n){var r=e||t;for(var o in n){var i=n[o];r=r.replace(new RegExp("\\{\\w?"+o+"\\w?\\}","g"),i)}return r},exports.getCookie=function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"="),n=0;if(-1!==t)return t=t+e.length+1,-1===(n=document.cookie.indexOf(";",t))&&(n=document.cookie.length),unescape(document.cookie.substring(t,n))}return null}},function(module,exports){module.exports={moduleTitle:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:32,lineHeight:48,color:"rgb(255,255,255)",marginTop:24,marginBottom:24,textAlign:"center"},list:{listStyle:"none",display:"flex",flexDirection:"row",justifyContent:"flex-start",flexWrap:"wrap",paddingTop:24,paddingRight:16,paddingBottom:24,paddingLeft:24},moduleTitleWrapper:{width:750,paddingTop:24,paddingBottom:24},title:{fontFamily:"AEShopCustomFont",fontWeight:"bold",fontSize:32,color:"rgb(255,255,255)",lineHeight:48,paddingLeft:32,paddingRight:32,textAlign:"left"},subTitle:{fontFamily:"AEShopCustomFont",fontWeight:"lighter",fontSize:24,color:"rgb(255,255,255)",lineHeight:36,paddingLeft:32,paddingRight:32,textAlign:"left"},cellContainer:{width:750,display:"flex",paddingLeft:24,paddingRight:24,flexDirection:"row",alignItems:"center",justifyContent:"space-between"},loadingWrapper:{height:60,marginTop:40,display:"flex",textAlign:"center",flexDirection:"row",alignItems:"center",justifyContent:"center"},loadingImage:{height:60,width:60}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(0),r=a(e(1)),o=a(e(144)),i=a(e(204));function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,n.Component),t(a,[{key:"render",value:function(){var e="GLOBAL";if("undefined"!=typeof window){var t=new URL(window.location.href).searchParams;t.has("_layout")&&(e=t.get("_layout"))}this.props.gdc.aeShopLayout&&(e=this.props.gdc.aeShopLayout);var a;return a="US"===e?(0,n.createElement)(i.default,this.props):(0,n.createElement)(o.default,this.props),(0,n.createElement)(r.default,null,a)}}]),a}();exports.default=l,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t,n,r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e(0),a=f(e(1)),l=f(e(2)),d=e(145),s=f(e(146)),c=f(e(41)),u=e(7);function f(e){return e&&e.__esModule?e:{default:e}}var p=function(e){return[].concat(["SA","AE","QA","KW","BH","OM"],["AU"]).includes(e)},g=(n=t=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.fetchData=function(e,t){if((0,u.isADC)()){var r=(0,u.getEnv)();n.getItemList(r.deviceId,e,t)}else n.getItemList((0,d.getCookie)("cna"),e,t)},n.getItemList=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=arguments[2];n.setState({mtopDone:!1});var i=n.state,a=i.gdc,l=i.mds,d=a.clientIp,s=l.moduleData||{},c=s.dataApi&&s.dataApi.mtop||{},f={ecode:0,appKey:24770048,dataType:"originaljsonp"};return c.apiName&&(f.api=c.apiName),c.apiVersion&&(f.v=c.apiVersion),"needLogin"in c&&(f.needLogin=c.needLogin),c.params&&Object.keys(c.params).length&&(c.params.clientIp=d,f.data={params:JSON.stringify(r({},c.params,{platform:(0,u.isADC)()?"APP":"MSITE",clientIp:d,page:t,deviceId:e})),componentKey:c.componentKey||"promotePruductList"}),f.api&&f.v?void n.pageUtils.Mtop.request(f,function(e){var r=(e&&e.ret?e.ret[0]:"").split("::"),i=e.data&&e.data.products;if("SUCCESS"===r[0]||e.ok){var a=n.state;n.setState({currentPage:t,totalPage:i.totalPage,itemList:a.itemList.concat(i.data)},function(){n.setState({mtopDone:!0}),o&&o()})}},function(){n.setState({mtopDone:!0}),o&&o()}):void(o&&o())},n.updateShowData=function(){var e=n.state,t=e.gdc,r=e.itemList;n.setState({mtopDone:!0,showDataStatus:r&&r.length,showNoDataStatus:!(!0!==t.preView&&"true"!==t.preView||r&&r.length)})},n.getNextPageData=function(){var e=n.state,t=e.currentPage+1;t<=e.totalPage&&n.fetchData(t)},n.renderModuleTitle=function(e,t){var o=n.props,d=o.gdc,c=void 0===d?{}:d,f=o.mds,g=void 0===f?{}:f,m="#ffffff";return p(c.country)&&(m="#000000"),(0,i.createElement)(a.default,{style:s.default.moduleTitleWrapper},e?(0,i.createElement)(a.default,{style:r({},(0,u.getRTLCSS)(c,s.default,"titleWrapper"))},(0,i.createElement)(l.default,{style:r({},(0,u.getRTLCSS)(c,s.default,"title"),{color:m}),"data-locale":g.widgetId+"_title"},e)):null,t?(0,i.createElement)(a.default,{style:r({},(0,u.getRTLCSS)(c,s.default,"subTitleWrapper"))},(0,i.createElement)(l.default,{style:r({},(0,u.getRTLCSS)(c,s.default,"subTitle"),{color:m}),"data-locale":g.widgetId+"_subTitle"},t)):null)},n.renderList=function(e){var t=n.state,r=t.mds,o=t.gdc,a=o.translate,l=void 0===a?{}:a,d=o.translation,s=void 0===d?{}:d;Object.assign(l,s);var f=e.promotionDiscount||0,p=f?(l["module.discount"]||"").replace(/\${\d}/,f):null,g=l["module.smartLeaderboard.sold"],m=e.sales?g.replace("${0}",e.sales):"",h=(e.trace||{}).utLogMap,y=e.productExt&&e.productExt.isDsaRiskItem||!1,b=o.useNewItemLayout?"US":"OLDUS";return(0,i.createElement)(c.default,{showAddCart:(0,u.isADC)(),layout:b,mode:"2in1",priceMode:"shop",tagsMode:"shop",pageUtils:n.props.pageUtils,gdc:o,mds:r,modsStyle:e.modsStyle,cardBg:"#ffffff",showMask:y,data:{id:e.id,url:e.pcDetailUrl,image:e.image350Url,title:e.subject,sales:m,stars:e.averageStar,prices:e.prices,priceLocalConfig:e.priceLocalConfig,priceLocalInfo:e.priceLocalInfo,atmosphere:e.atmosphere,discount:p,utLogMap:h}})},n.pageUtils=e.pageUtils,n.state={itemList:[],currentPage:1,mtopDone:!1,mds:e.mds||{},gdc:e.gdc||{},showDataStatus:!1,showNoDataStatus:!1,totalPage:1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"componentWillMount",value:function(){var e=this.state,t=e.mds,n=e.currentPage;t.widgetId&&this.fetchData(n,this.updateShowData)}},{key:"render",value:function(){var e=this,t=this.state,n=t.mds,o=t.showDataStatus,l=t.showNoDataStatus,d=t.itemList,c=t.mtopDone,u=t.currentPage,f=t.totalPage,p=n.moduleName;if(o){var g=n.moduleData||{},m=(0,i.createElement)(a.default,{style:s.default.list},d.map(function(t,n){var o={exp_trigger:"",st_page_id:window.dmtrack_pageid,exp_type:p+"_Exposure_Event",exp_attribute:""};return(0,i.createElement)(a.default,r({},o,{style:{marginRight:10,marginBottom:24},key:n}),n+1===d.length?(0,i.createElement)(a.default,{onAppear:e.getNextPageData},e.renderList(t)):e.renderList(t))}));return(0,i.createElement)(a.default,null,this.renderModuleTitle(g.title,g.subTitle),m,!c&&u<f&&(0,i.createElement)(a.default,{style:{height:60,alignItems:"center"}},(0,i.createElement)("img",{style:{width:60,height:60},src:"//ae01.alicdn.com/kf/H6e469dc365d9495a8ccef13dbefb2478E.gif"})))}return l?(0,i.createElement)("img",{src:n.defaultImage,style:{width:n.defaultImageWidth||750,height:n.defaultImageHeight||300}}):null}}]),t}(),t.customCell=!0,n);exports.default=g,module.exports=exports.default},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.__=function(e,t,n){var r=e||t;for(var o in n){var i=n[o];r=r.replace(new RegExp("\\{\\w?"+o+"\\w?\\}","g"),i)}return r},exports.getCookie=function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"="),n=0;if(-1!==t)return t=t+e.length+1,-1===(n=document.cookie.indexOf(";",t))&&(n=document.cookie.length),unescape(document.cookie.substring(t,n))}return null}},function(module,exports){module.exports={moduleTitle:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:32,lineHeight:48,color:"rgb(255,255,255)",marginTop:24,marginBottom:24,textAlign:"center"},list:{listStyle:"none",display:"flex",flexDirection:"row",justifyContent:"flex-start",flexWrap:"wrap",paddingTop:24,paddingRight:16,paddingBottom:24,paddingLeft:24},moduleTitleWrapper:{width:750,paddingTop:24},titleWrapper:{paddingLeft:32,paddingRight:32,width:750,display:"flex",flexDirection:"row"},"titleWrapper-rtl":{flexDirection:"row-reverse"},title:{fontFamily:"AEShopCustomFont",fontWeight:"bold",fontSize:32,color:"rgb(255,255,255)",lineHeight:48},subTitleWrapper:{width:750,paddingLeft:32,paddingRight:32,display:"flex",flexDirection:"row"},"subTitleWrapper-rtl":{flexDirection:"row-reverse"},subTitle:{fontFamily:"AEShopCustomFont",fontWeight:"lighter",fontSize:24,color:"rgb(255,255,255)",lineHeight:36},cellContainer:{width:750,display:"flex",paddingLeft:24,paddingRight:24,flexDirection:"row",alignItems:"center",justifyContent:"space-between"},loadingWrapper:{height:60,marginTop:40,display:"flex",textAlign:"center",flexDirection:"row",alignItems:"center",justifyContent:"center"},loadingImage:{height:60,width:60}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(7),o=e(150),i=e(10),a=e(17),l=e(5),d=e(152),s=e(154),c=e(158),u=h(e(160)),f=h(e(11)),p=e(12),g=e(0),m=h(e(1));function h(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function h(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,e));return n.broadcastChannel=function(){new BroadcastChannel("popMobileConfirm").onmessage=function(){n.setState({showMask:!1})}},n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,r){e||(e=n.getProductUrl(t,n.data.trace));var o=n.gdc,a=o.spm_cnt,l=o.pageId,d=o.pageName,s=o.sellerId,c=o.shopId,u=o.userId,f=n.mds,g=f.widgetId,m=f.moduleName,h={url:e,nid:t||0,widgetId:g,moduleName:m,target:r||null};n.data.utLogMap&&(0,p.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,i.openWindow)(e)},n.open=function(e,t){var o=n.state.showMask;if("true"!==o&&!0!==o)n.goTargetUrl(e,t);else if((0,r.isADC)())(0,i.callWindVaneHandler)("AEWVPrivacy","euSafetyFilter",{},function(r){r.wantedSee&&(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100))},function(e){console.warn(e)});else{var a=n.gdc.locale;f.default.show({isRtl:!1,locale:a,fetcher:window.lib.mtop.request,onOk:function(r){console.log(r);var o=r.success,i=r.errMsg;o?(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100)):console.warn(i)},onCancel:function(){}})}},n.render3In1Card=function(){var e=n.data,r=e.id,i=e.url,a=n.state.showMask;return(0,g.createElement)(m.default,t({},n.expProps,{style:t({},(0,l.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:226},n.style)}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(m.default,t({},n.clkProps,{style:u.default.cardInner,onClick:function(){n.open(i,r)}}),(0,g.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showMask:a,showAddCart:n.showAddCart}),(0,g.createElement)(m.default,{style:u.default.cardContent},(0,g.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(s.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),n.showAddCart&&(0,g.createElement)(m.default,{style:{marginTop:12,height:48}}))),n.showAddCart&&(0,g.createElement)(o.AddCart,{style:{marginTop:12},data:n.data,gdc:n.gdc,wrapperWidth:226}))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode="3in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,a.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={showMask:e.showMask},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(h,g.Component),n(h,[{key:"componentDidMount",value:function(){this.broadcastChannel()}},{key:"render",value:function(){return this.data?this.render3In1Card():null}}]),h}();exports.default=y,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.bottomBarHeight=exports.isIphoneXSeries=exports.statusBarHeight=void 0;var t=e(42),n=e(23),r=40,o=!1,i=0;if((0,t.isADC)()){var a=(0,t.getEnv)(),l=a.deviceModel,d=a.adcDeviceHeight,s=a.adcStatusBarHeight;(0,t.isIOS)()?((-1!==["iPhone15,2","iPhone15,3","iPhone15,4","iPhone15,5","iPhone16,1","iPhone16,2"].indexOf(l)||-1!==["2556","2796"].indexOf(d+""))&&(exports.isIphoneXSeries=o=!0,exports.statusBarHeight=r=106,exports.bottomBarHeight=i=40),(-1!==["iPhone10,3","iPhone10,6","iPhone11,2","iPhone11,4","iPhone11,6","iPhone11,8","iPhone12,1","iPhone12,3","iPhone12,5","iPhone13,1","iPhone13,2","iPhone13,3","iPhone13,4","iPhone14,2","iPhone14,3","iPhone14,4","iPhone14,5","iPhone14,7","iPhone14,8"].indexOf(l)||-1!==["2436","2688","1792","2340","2532","2778"].indexOf(d+""))&&(exports.isIphoneXSeries=o=!0,exports.statusBarHeight=r=88,exports.bottomBarHeight=i=40)):s&&(exports.statusBarHeight=r=parseInt(s,10))}else{if((0,t.isIOS)()){var c=window.screen,u=c.width,f=c.height;(375==+u&&812==+f||414==+u&&896==+f||390==+u&&844==+f||428==+u&&926==+f)&&(exports.isIphoneXSeries=o=!0)}var p=n.qs.parse(window.location.href);exports.statusBarHeight=r=parseInt(p.statusBarHeight,10)||0}exports.statusBarHeight=r,exports.isIphoneXSeries=o,exports.bottomBarHeight=i},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.isRTL=t,exports.getRTLCSS=function(e,n,r){var o=n[r],i=Object.assign({},o,n[r+"-dir"],n[r+"-rtl"]);return t(e)?i:o};var e=["ar","he","Arabic","Hebrew"];function t(t){var n=t.lang,r=void 0===n?"":n;return e.includes(r)}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.AddCart=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(7),o=e(10),i=s(e(151)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.AddCart=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));t.refreshAddCartNum=function(){(0,o.callWindVaneHandler)("AEWVCartIslandBar","queryIslandBarData",{siteType:"island"},function(e){var n=(e||{}).selectedItem,r=+(n=(n="string"==typeof n?JSON.parse(n):n)||{})[""+t.data.id]||0;r>0&&t.setState({addCartNum:r})})},t.openSKUPanel=function(e){e.stopPropagation();var n="https://m.aliexpress.com/app/sku.html";n+="?channel=store",n+="&productId="+t.data.id,(0,o.openWindow)(n)},t.data=e.data,t.gdc=e.gdc,t.state={addCartNum:0};var n=t.gdc||{},r=n.translation,i=void 0===r?{}:r,a=n.translate,l=void 0===a?{}:a;return Object.assign(i,l),t.translation=i,t.wrapperWidth=t.props.wrapperWidth||226,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"componentDidMount",value:function(){var e=this;(0,r.isADC)()&&(this.refreshAddCartNum(),(0,o.addGlobalEventListener)("AEDefaultCartDataDidUpdate",function(t){console.warn("[debug] AEDefaultCartDataDidUpdate "+JSON.stringify(t)),e.refreshAddCartNum()}))}},{key:"render",value:function(){return(0,a.createElement)(d.default,{style:t({},i.default.addCart,this.props.style,{width:this.wrapperWidth})},(0,a.createElement)(d.default,{style:i.default.addCartIcon},(0,a.createElement)(d.default,{style:i.default.addCartIconImgWrapper,onClick:this.openSKUPanel},(0,a.createElement)(l.default,{style:i.default.addCartIconText},this.translation["module.wireless.compareSelling.addToCart"]||"Add to cart"),this.state.addCartNum>0&&(0,a.createElement)(l.default,{style:i.default.addCartNum},this.state.addCartNum>99?"99+":this.state.addCartNum))))}}]),s}()},function(module,exports){module.exports={addCart:{position:"absolute",height:48,bottom:16,left:0,right:0},addCartIcon:{height:48,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",height:48,paddingTop:0,paddingRight:16,paddingBottom:0,paddingLeft:16,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative",cursor:"pointer"},addCartIconText:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:-12,top:-4,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=d(e(153)),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t.showAddCart=e.showAddCart||!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),n(d,[{key:"render",value:function(){if(!this.data)return null;var e,n=this.data,d=n.image,s=n.title,c=n.cornorMark||{},u=c.value,f=c.color,p=c.bgColor,g=this.props.showMask;e=!0===g||"true"===g?"https://ae01.alicdn.com/kf/S1e0b5f59d44845c89d23644878384c33Z/504x504.png":d;var m=268;return"2in1"===this.mode&&(m=343),"3in1"===this.mode&&(m=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(u=this.data.discount,p="#FD384F",f="#ffffff"),(0,i.createElement)(l.default,{style:"2in1"===this.mode||"3in1"===this.mode?o.default.imgOuter:(0,r.getRTLCSS)(this.gdc,o.default,"imgOuterHoz")},(0,i.createElement)(l.default,{style:t({},o.default.imgWrapper,{width:m,height:m})},(0,i.createElement)("img",{style:t({},o.default.itemImg,{width:m,height:m,objectFit:"cover"}),src:e,alt:s}),(0,i.createElement)(l.default,{style:t({},o.default.bgMask,{width:m,height:m})}),!!u&&(0,i.createElement)(l.default,{style:t({},(0,r.getRTLCSS)(this.gdc,o.default,"mark"),{backgroundColor:p||"#FD384F"})},(0,i.createElement)(a.default,{style:t({},o.default.markText,{color:f||"#ffffff"})},u))))}}]),d}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,borderBottomLeftRadius:0,borderBottomRightRadius:0,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.03)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(5),r=d(e(155)),o=e(156),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),t(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,t=e.stars,d=e.sales;if(!t&&!d)return null;var s=r.default.itemMeta;return"3in1"===this.mode&&(s=r.default.itemMeta3in1),"2in1"===this.mode&&(s=r.default.itemMeta2in1),(0,i.createElement)(l.default,{style:s},!!d&&(0,i.createElement)(a.default,{style:(0,n.getRTLCSS)(this.gdc,r.default,"itemOrders")},d),(0,i.createElement)(o.Star,{gdc:this.gdc,num:t}))}}]),d}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",marginTop:0,flexDirection:"column",alignItems:"center",justifyContent:"center"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:24,color:"rgb(25,25,25)",marginRight:8,fontFamily:"AEShopCustomFont-Demibold",fontWeight:"600"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(157)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){if(void 0===this.num||null===this.num)return null;var e=Math.floor(this.num);e>5&&(e=5);var t=5-e;return(0,r.createElement)(i.default,{style:n.default.starWrapper},Array(e).fill(1).map(function(e,t){return(0,r.createElement)("img",{key:"star0-"+t,style:n.default.starImage,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAYAAACdkl3yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpVTBTQMxENxxlBMBHtcBpgKSZ8QDrgPoACoIqSCiE6gkIBTxBCrIleAPCOWSmPVGwPk455xjJEtre3Y09tpL1AA7O7hyo4mHrSLPe5rWai4TlRxjaPIQV20TYpHJb1zcUBtHnpsNDC3YVWYM7eRo1RlVVlJKFkFXYSHYi5rVkZ2maT39hTc+Ck6ymqdHvNbn2JF1XQJZPqLCKweG4zfOyUl1H2Bn+/NgUjyMYtVH+jdwDzlzUkzZap/aAHzMXjeT8rcWA+XUSwYYGCNVk7ehVpeysYsIksyJuOlP+TH8zGnZGVM8xuUv478jtdQUDetxfSHgjGIBdRIWstAUi7VfmIqjStXk8nEt428htE/9NlP+7S7J4han73dlsjQ42Ak/4o1IqEdJN3w6PKcG1HXNLyUobuoTnHiPAAAAAElFTkSuQmCC"})}),Array(t).fill(1).map(function(e,t){return(0,r.createElement)("img",{key:"star1-"+t,style:n.default.starImage,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAAC9UlEQVRYCc2Y2ZHaQBCGLSAAOQKLCAzF8WrIYB2B5QjWGaw3AxOBtSFsBOy+chTKYHEE1juX/18lUbMj9SCNJMNUUXP29Det7pYG50NNZbVa3WOrn47jRKiDwWDwWMfWTh2bLJfLCcDm6l6n02k6Go1e1DGbdstGSJdptVrf9DEAP+hjNv3KFtxsNt7hcHjLU95ut7v9fn+bN1d0rLIFj8ejaCmA/ygKIq2rZEGT9RKFUWJFBo5VqWRBWC/jexqFu9/vK1mxEiBgfA0o00Ww3MPSbmai4IA14Hq99pFKvAJ6aEW/wLrcJdaA2E0MDl0T0hCTuFWxAixhvRiKlmYytyG0AoTCS8GRYbFN3BfTDB18t9t5SBc9RK0LRV+g/S5DUGAAsgH2+IM6xCGjTqcTIpEbU1AMSAgk1QkfBfzlE2voS3/WEViAmUsIuOUP4FseAO0Q8Fu+hRx8hdAav/FrGgQqyhU8Nd+Bw78lFisn/X9WRy3A3Zzl1LMzip/UgVtqw3izOEjghwHASqeOhg/zNBwO/RiQigA5RzVh+wZKCLg+Oc6JGhHzFf3wFuDAMk05zhbkAPKhhzw0v1ZUMw8iD0/Vr/B3gNeEzIMjTwbwGpASnAjIicVi0YO5GThN50leC/BU8y9X5yAhlFrG43EIf6SzRup43W3qkOCoSwTkJCFRvbDdREEwPic6xO2NgImUJ0pXnIDvfb60RW6QpELJZ9jftN9EDf/7iEcsupHRgrjs9JqAUvfkx7Da19tGQCxuHBAWNOowAsJHPP1EdfcRKPaAgLnoxDUAG3UYLQjlxtPVAMctjDpEQL5JIOyWhIj42iop4/IjRZIRAfGaE4VyNovgS49w+C7++u0C8nsZUNwoRSt2cpTFQ3ReKJGm03GCzXBF/KXmMkAGWBDwHwjUD1jjoRaLaV4EBJwn7oj3cx6Yvr4oKJ6WGCgiIAB4kdZ1FgLThQqAvuoyaT9DkE6wVi5TIWBniSJ1iVVbefQMwmdejqSN/gHVRDr0HXEQwAAAAABJRU5ErkJggg=="})}),(0,r.createElement)(o.default,{style:n.default.starText},this.num?""+(+this.num).toFixed(1):"-"))}}]),a}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(25,25,25)",fontSize:24,fontFamily:"AEShopCustomFont",fontWeight:"450",marginRight:4},starImage:{width:18,height:18,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(18),o=e(5),i=s(e(159)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n=(this.mode,30);if("tpp"===this.priceMode){if(!this.data.prices)return null;var s=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},c=s.salePrice,u=s.originalPrice;return c||u?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,color:"#191919",alignItems:"center"}},c&&c.map(function(r,d){return(0,a.createElement)(l.default,{key:"salePrice-"+d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)}))):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var f=(0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{},p=f.currentPrice;f.subPrice;return p?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,alignItems:"center"}},p&&p.map(function(r,d){return(0,a.createElement)(l.default,{key:"currentPrice-"+d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)}))):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexDirection:"row",flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0},"subPriceText-rtl":{}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1,backgroundColor:"rgb(245,245,245)",borderBottomLeftRadius:8,borderBottomRightRadius:8},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:210,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(25),o=e(10),i=e(17),a=e(5),l=e(163),d=e(165),s=e(167),c=e(171),u=y(e(173)),f=y(e(175)),p=e(12),g=e(0),m=y(e(2)),h=y(e(1));function y(e){return e&&e.__esModule?e:{default:e}}var b=function(e){function y(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,e));return n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,r){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,f=n.mds,g=f.widgetId,m=f.moduleName,h={url:e,nid:t||0,widgetId:g,moduleName:m,target:r||null};n.data.utLogMap&&(0,p.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,o.openWindow)(e)},n.renderHozCard=function(){var e=n.data,o=e.id,i=e.url,l=e.title;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,f.default,"cardWrapper"),n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:f.default.cardInnerHoz,onClick:function(){n.goTargetUrl(i,o)}}),(0,g.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:268}),(0,g.createElement)(h.default,{style:f.default.cardContentHoz},!!l&&(0,g.createElement)(m.default,{style:t({},f.default.itemTitle,f.default.itemTitleHoz),numberOfLines:2},l.split("").join("\ufeff")),(0,g.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,g.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,g.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}),(0,g.createElement)(h.default,{style:f.default.hozMeta},(0,g.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(s.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data})))),n.showAddCart&&(0,g.createElement)(r.AddCart,{data:n.data,gdc:n.gdc,imageSize:268,type:"hoz"}))},n.render2In1Card=function(){var e=n.data,o=e.id,i=e.url,l=e.title;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,f.default,"cardWrapper"),{width:343},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:n.state.showShadow?f.default.cardInnerWithShadow:f.default.cardInner,onClick:function(){n.goTargetUrl(i,o)}}),(0,g.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:343}),(0,g.createElement)(h.default,{style:f.default.cardContent},(0,g.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,titleMode:!0,title:l}),(0,g.createElement)(h.default,{style:f.default.priceMeta},(0,g.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(s.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,mode:n.mode})),(0,g.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling+shipping",mode:n.mode}))),n.showAddCart&&(0,g.createElement)(r.AddCart,{data:n.data,gdc:n.gdc,imageSize:343,type:"vert"}))},n.render3In1Card=function(){var e=n.data,o=e.id,i=e.url,u=e.title;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,f.default,"cardWrapper"),{width:226},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:f.default.cardInner,onClick:function(){n.goTargetUrl(i,o)}}),(0,g.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226}),(0,g.createElement)(h.default,{style:f.default.cardContent},!!u&&(0,g.createElement)(m.default,{style:t({},f.default.itemTitle,f.default.itemTitle3in1),numberOfLines:1},u.split("").join("\ufeff")),(0,g.createElement)(s.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(l.Discount,{data:n.data}))),n.showAddCart&&(0,g.createElement)(r.AddCart,{data:n.data,gdc:n.gdc,imageSize:226,type:"vert"}))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode=e.mode||"2in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,i.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(y,g.Component),n(y,[{key:"render",value:function(){return this.data?"2in1"===this.mode?this.render2In1Card():"3in1"===this.mode?this.render3In1Card():this.renderHozCard():null}}]),y}();exports.default=b,module.exports=exports.default},function(module,exports){module.exports={addCart:{position:"absolute",paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88,zIndex:10},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative",cursor:"pointer"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Discount=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(164)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Discount=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.data=e.data,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount?(0,r.createElement)(i.default,{style:n.default.container},(0,r.createElement)(i.default,{style:n.default.discount},(0,r.createElement)(o.default,{style:n.default.text},this.data.discount))):null}}]),a}()},function(module,exports){module.exports={container:{display:"flex",flexDirection:"row",marginTop:8},discount:{height:38,borderRadius:19,backgroundColor:"rgb(211,3,28)",paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},text:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=d(e(166)),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),n(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,n=e.image,d=e.title,s=e.cornorMark||{},c=s.value,u=s.color,f=s.bgColor,p=268;return"2in1"===this.mode&&(p=343),"3in1"===this.mode&&(p=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(c=this.data.discount,f="#FD384F",u="#ffffff"),(0,i.createElement)(l.default,{style:"2in1"===this.mode||"3in1"===this.mode?o.default.imgOuter:(0,r.getRTLCSS)(this.gdc,o.default,"imgOuterHoz")},(0,i.createElement)(l.default,{style:t({},o.default.imgWrapper,{width:p,height:p})},(0,i.createElement)("img",{style:t({},o.default.itemImg,{width:p,height:p,objectFit:"cover"}),src:n,alt:d}),(0,i.createElement)(l.default,{style:t({},o.default.bgMask,{width:p,height:p})}),!!c&&(0,i.createElement)(l.default,{style:t({},(0,r.getRTLCSS)(this.gdc,o.default,"mark"),{backgroundColor:f||"#FD384F"})},(0,i.createElement)(a.default,{style:t({},o.default.markText,{color:u||"#ffffff"})},c))))}}]),d}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.04)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(5),r=d(e(168)),o=e(169),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),t(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,t=e.stars,d=e.sales;if(!t&&!d)return null;var s=r.default.itemMeta;return"3in1"===this.mode&&(s=r.default.itemMeta3in1),"2in1"===this.mode&&(s=r.default.itemMeta2in1),(0,i.createElement)(l.default,{style:s},!!d&&(0,i.createElement)(a.default,{style:(0,n.getRTLCSS)(this.gdc,r.default,"itemOrders")},d),(0,i.createElement)(o.Star,{gdc:this.gdc,num:t}))}}]),d}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",alignItems:"center",marginTop:0,flexDirection:"row",flexWrap:"wrap"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:22,color:"rgb(151,151,151)",marginRight:8,fontFamily:"AEShopCustomFont",fontWeight:"450"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(170)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.num?+this.num<.1?null:(0,r.createElement)(i.default,{style:n.default.starWrapper},(0,r.createElement)("img",{style:n.default.starImage,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAAoCAYAAABjPNNTAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKaADAAQAAAABAAAAKAAAAAD9QK3vAAAC+ElEQVRYCdWY3ZHaMBDHzya8u4OYCkIqiHlkGD5cQXwV5KgA6ICr4JIKGGAYHs8lUIJKcJ75yn8dKyN0lmTLhnGY8ehjV6ufVl5pzdPTf/Bz6mJcrVZeq9WKrter57puPBwO47ps1wK53W4ngHsDlCeALUej0VRoW1crQ8KDPjz37jiOL1MAfDEej+dyf9m2W3aArI8tDvIASQ/9P2R9m3ZlSHhrppnYw6sQaOSFRJUgCUDlRT67YRFcTVtWggTAd631v8Jgt9t1C+gpVawhKWBgNVJaFgSn02kiNEtXrSERMIWDggKIztHSdNkAa0hsdRnvpAf9QyERMDNTwOQAWXuz1GFOW4ZtpiPnJQeiSBfD4p7LXpn/ICkCz+dzFzN52EoPxj5ndZ9KtOmdoqeWH+ZgMJTAbkIlHoa+32jTQpi4kBRys9m8QSnC06Qfw66Fg8Hg4ND7hRXMm0QnsCTY3Y57uVwiobNpVYqBiYv995tGJvF4dE7GUmejmnDigTy5aBSVAINYeaUoT6M7O37eIa/tiBHmsqoSIBLmFxqcXosU5oiirxAwK4s1DwIHZfQpIJlOPcnnwI2i/BTgOg8op/g2Worz3ECSILv66HCfiIoPqNPtE4o3DZ/zAyQXrNfrJQYVTsf4OMuStdvtXr/fZ3njlZCk/CBQLSBxaPNJ3EZz6CSkeMffQuVBPqcWMgxDAjxw5XuUOFWM9rWQ94CysVkEsmtjuOgYJBCBSVcLmX3YeyYjVeT4i+aLabwWEif/Xb1IcAjOoBIkzslvJgM1yP39fu/r7Gg9iVXe3ZMEdzweAytIyozgSV83uC6Z6bX6pJoo+3JUiVX9MQQJTVpygdrXSrndptVJlDHu3g6ylx6eEGlWB/IpbDBJL7eJBXUpsckVolMJCZlykGCMvpEJ7ENyQOkW3ukeQH8J+lZVJSTOr586i5h8QYlyXmrFx+FaZfBqhIWEBq/G2RXMh96Uzk1LaiiyINraZ1NSIJlKm7A3B/BMkhmzoD/dvA/269VBNwAAAABJRU5ErkJggg=="}),(0,r.createElement)(o.default,{style:n.default.starText},""+(+this.num).toFixed(1))):null}}]),a}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(151,151,151)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450"},starImage:{width:20,height:20,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(18),o=e(5),i=s(e(172)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.getPriceColor=function(){if(t.data&&t.data.config&&t.data.config.prices){var e=t.data.config.prices.color;if(e)return e}var n="#191919";if("tpp"===t.tagsMode){for(var r,o=t.data.sellingPoints||[],i=0;i<o.length;i++)if((r=o[i])&&r.source&&/hundreds_of_billions/gi.test(r.source)){n="#FD384F";break}}else if("shop"===t.tagsMode)for(var a,l=t.data.atmosphere||[],d=0;d<l.length;d++)if((a=l[d])&&a.atmosphereDTOList)for(var s,c=a.atmosphereDTOList,u=void 0===c?[]:c,f=0;f<u.length;f++)if((s=u[f])&&s.atmosphereCode&&/hundreds_of_billions/gi.test(s.atmosphereCode)){n="#FD384F";break}return n},t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.tagsMode=e.tagsMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n="3in1"===this.mode?26:28;if("tpp"===this.priceMode){if(!this.data.prices)return null;var s=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},c=s.salePrice,u=s.originalPrice;return c||u?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,color:this.getPriceColor(),alignItems:"center"}},c&&c.map(function(r,d){return(0,a.createElement)(l.default,{key:"salePrice-"+d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:e.getPriceColor(),fontSize:n})},r.text)}))):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var f=((0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{}).currentPrice;return f?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,alignItems:"center"}},f&&f.map(function(r,d){return(0,a.createElement)(l.default,{key:"currentPrice-"+d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:e.getPriceColor(),fontSize:n})},r.text)}))):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0},"subPriceText-rtl":{}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=e(26),i=s(e(174)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n,o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return o.renderTag=function(e,n){if((e.tagImgUrl||e.value)&&e.height&&+e.height>30){var s=+e.height,c=+e.width;e.height=30,e.width=c/s*30}if(e)switch(e.materialCode){case"search_item_text_icon":var u=(30*(+e.width+8)/+e.height||30)+6;return{tagWidth:o.tagContainerWidth,tagHeight:30,TagComponent:(0,a.createElement)(d.default,{key:"tags0-"+n,style:t({},i.default.withIcon,{width:o.tagContainerWidth,flexDirection:o.isAndroidRTL?"row":i.default.withIcon.flexDirection})},(0,a.createElement)("img",{style:t({},(0,r.getRTLCSS)(o.gdc,i.default,"tagImg"),i.default.withIconImg,{width:+e.width+1,height:+e.height+1,left:(0,r.isRTL)(o.gdc)?null:0,right:(0,r.isRTL)(o.gdc)?0:null}),src:e.tagImgUrl||e.value}),(0,a.createElement)(l.default,{style:t({},i.default.tagText,o.textStyle,{textIndent:u,color:e.tagStyle&&e.tagStyle.color||o.textStyle.color,width:o.tagContainerWidth}),numberOfLines:2},(""+e.tagText).split("").join("\ufeff")))};case"search_item_icon":return{tagWidth:+e.width+1,tagHeight:+e.height+1,TagComponent:(0,a.createElement)("img",{key:"tags1-"+n,style:t({},(0,r.getRTLCSS)(o.gdc,i.default,"promotionTagImg"),{width:+e.width+1,height:+e.height+1}),src:e.tagImgUrl||e.value})};case"search_item_text":return{tagWidth:o.tagContainerWidth,tagHeight:30,TagComponent:(0,a.createElement)(l.default,{key:"tags2-"+n,style:t({},i.default.tagText,o.textStyle,{width:null,color:e.tagStyle&&e.tagStyle.color||o.textStyle.color,marginRight:(0,r.isRTL)(o.gdc)?0:6,marginLeft:(0,r.isRTL)(o.gdc)?6:0})},(""+e.tagText).split("").join("\ufeff"))};default:return{TagComponent:null}}},o.gdc=e.gdc,o.data=e.data,o.mode=e.mode,o.type=e.type,o.tagsMode=e.tagsMode,o.textStyle="metadata"===o.type?{color:"#FD384F",fontWeight:400}:"selling"===o.type?{color:"#FD384F",fontWeight:400}:"shipping"===o.type?{color:"#191919",fontWeight:400}:{},"2in1"===o.mode&&(n=327),"hoz"===o.mode&&(n=410),o.tagContainerWidth=n,o.titleMode=e.titleMode,o.title=e.title,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data||"tpp"===this.tagsMode&&!this.data.sellingPoints||"shop"===this.tagsMode&&!this.data.atmosphere)return null;var n=[],r="tpp"===this.tagsMode?(0,o.convertTppSellingPointsToShopAtmosphere)(this.data.sellingPoints):this.data.atmosphere;if("metadata"===this.type?n=[].concat(c((0,o.getPositionTags)(r,1))):"selling"===this.type?n=[].concat(c((0,o.getPositionTags)(r,2)),c((0,o.getPositionTags)(r,3))):"shipping"===this.type?n=[].concat(c((0,o.getPositionTags)(r,4))):"selling+shipping"===this.type&&((n=[].concat(c((0,o.getPositionTags)(r,2)),c((0,o.getPositionTags)(r,3)))).length&&(this.textStyle={color:"#FD384F",fontWeight:400}),!n.length&&((n=[].concat(c((0,o.getPositionTags)(r,4)))).length&&(this.textStyle={color:"#191919",fontWeight:400})),n.length&&(n=[n[0]])),!n.length&&!this.titleMode)return null;this.titleMode&&(n=n.filter(function(e){return"search_item_icon"===e.materialCode}));for(var s=[],u=0;u<n.length;u++)s.push(n[u]);(0,o.sortTags)(s);var f=0,p=0,g=s.map(function(t,n){var r=e.renderTag(t,n);return f+=r.tagWidth+4,p=Math.max(p,r.tagHeight),r.TagComponent}),m=(30*+f/+p||30)+6;return n.length||(f=0,p=0,m=0),(0,a.createElement)(d.default,{style:t({},i.default.horizontalTags,"metadata"===this.type?i.default.metaTagsAlter:{},this.textStyle,{width:this.tagContainerWidth})},(0,a.createElement)(d.default,{style:t({},i.default.horizontalTagsWrapper,{width:this.titleMode?f:this.tagContainerWidth,height:this.titleMode?p:null,position:this.titleMode?"absolute":"relative",top:this.titleMode?0:null,flexWrap:this.titleMode?null:"wrap"})},g),this.titleMode&&(0,a.createElement)(l.default,{style:t({},i.default.itemTagTitle,{width:this.tagContainerWidth,textIndent:m}),numberOfLines:2},(""+this.title).split("").join("\ufeff")))}}]),s}();exports.default=u,module.exports=exports.default},function(module,exports){module.exports={promotionTagImg:{height:32,marginRight:4,verticalAlign:"middle",display:"inline"},"promotionTagImg-rtl":{marginRight:0,marginLeft:4},tagImg:{height:32,marginRight:2,verticalAlign:"middle",display:"inline"},"tagImg-rtl":{marginRight:0,marginLeft:2},tagText:{color:"rgb(102,102,102)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all"},tagDot:{display:"inline",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTags:{position:"relative",display:"flex",flexDirection:"row",wordBreak:"break-all",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap"},metaTagsAlter:{display:"flex",flexDirection:"row",flexWrap:"wrap",wordBreak:"break-all"},withIcon:{position:"relative",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all",display:"flex",flexDirection:"row",justifyContent:"flex-start"},withIconImg:{position:"absolute",top:0},itemTagTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTagsWrapper:{display:"flex",flexDirection:"row",alignContent:"center"}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:210,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410},priceMeta:{display:"flex",flexDirection:"row",flexWrap:"wrap"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(7),o=e(10),i=e(17),a=e(5),l=e(177),d=e(179),s=e(181),c=e(183),u=e(185),f=v(e(187)),p=v(e(189)),g=v(e(11)),m=e(12),h=e(0),y=v(e(2)),b=v(e(1)),w=e(25);function v(e){return e&&e.__esModule?e:{default:e}}var x=function(e){function v(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,e));return n.broadcastChannel=function(){new BroadcastChannel("popMobileConfirm").onmessage=function(){n.setState({showMask:!1})}},n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,r){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,f=n.mds,p=f.widgetId,g=f.moduleName,h={url:e,nid:t||0,widgetId:p,moduleName:g,target:r||null};n.data.utLogMap&&(0,m.sendClickUT)(a+"."+g,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,o.openWindow)(e)},n.open=function(e,t){var i=n.state.showMask;if("true"!==i&&!0!==i)n.goTargetUrl(e,t);else if((0,r.isADC)())(0,o.callWindVaneHandler)("AEWVPrivacy","euSafetyFilter",{},function(r){r.wantedSee&&(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100))},function(e){console.warn(e)});else{var a=n.gdc.locale;g.default.show({isRtl:!1,locale:a,fetcher:window.lib.mtop.request,onOk:function(r){console.log(r);var o=r.success,i=r.errMsg;o?(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100)):console.warn(i)},onCancel:function(){}})}},n.renderHozCard=function(){var e=n.data,r=e.id,o=e.url,i=e.title,l=n.state.showMask;return(0,h.createElement)(b.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,p.default,"cardWrapper"),n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,h.createElement)(m.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,h.createElement)(b.default,t({},n.clkProps,{style:p.default.cardInnerHoz,onClick:function(){return n.open(o,r)}}),(0,h.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,showMask:l,size:268}),(0,h.createElement)(b.default,{style:p.default.cardContentHoz},!!i&&(0,h.createElement)(y.default,{style:t({},p.default.itemTitle,p.default.itemTitleHoz),numberOfLines:2},i.split("").join("\ufeff")),(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}),(0,h.createElement)(b.default,{style:p.default.hozMeta},(0,h.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,h.createElement)(s.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data})))),n.showAddCart&&(0,h.createElement)(w.AddCart,{data:n.data,gdc:n.gdc,imageSize:268,type:"hoz"}))},n.render1In1Card=function(){var e=n.data,r=e.id,o=e.url,i=e.title,l=n.state.showMask;return(0,h.createElement)(b.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,p.default,"cardWrapper"),{width:276},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,h.createElement)(m.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,h.createElement)(b.default,t({},n.clkProps,{style:p.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,h.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:276,showMask:l}),(0,h.createElement)(b.default,{style:p.default.cardContent},(0,h.createElement)(b.default,{style:p.default.firstLine},(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,titleMode:!0,title:i})),!!i&&!n.data.sellingPoints&&!n.data.atmosphere&&(0,h.createElement)(y.default,{style:t({},p.default.itemTitle,p.default.itemTitle1in1),numberOfLines:1},i.split("").join("\ufeff")),(0,h.createElement)(s.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,h.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}))),n.showAddCart&&(0,h.createElement)(w.AddCart,{data:n.data,gdc:n.gdc,imageSize:276,type:"vert"}))},n.render2In1Card=function(){var e=n.data,r=e.id,o=e.url,i=e.title,l=n.state.showMask;return(0,h.createElement)(b.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,p.default,"cardWrapper"),{width:343},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,h.createElement)(m.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,h.createElement)(b.default,t({},n.clkProps,{style:n.state.showShadow?p.default.cardInnerWithShadow:p.default.cardInner,onClick:function(e){e.stopPropagation(),n.open(o,r)}}),(0,h.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:343,showMask:l}),(0,h.createElement)(b.default,{style:p.default.cardContent},(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,title:i,titleMode:!0}),!!i&&!n.data.sellingPoints&&!n.data.atmosphere&&(0,h.createElement)(y.default,{style:t({},p.default.itemTitle,p.default.itemTitle2in1),numberOfLines:1},i.split("").join("\ufeff")),(0,h.createElement)(b.default,{style:t({},p.default.firstLine,p.default.itemTitle2in1)},(0,h.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,h.createElement)(s.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,mode:n.mode,style:{marginLeft:8}}),(0,h.createElement)(u.Star,{gdc:n.gdc,stars:n.data.stars,num:n.data.stars})),(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling_shipping",mode:n.mode}))),n.showAddCart&&(0,h.createElement)(w.AddCart,{data:n.data,gdc:n.gdc,imageSize:343,type:"vert"}))},n.render3In1Card=function(){var e=n.data,r=e.id,o=e.url,i=e.title,g=n.state.showMask;return(0,h.createElement)(b.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,p.default,"cardWrapper"),{width:226},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,h.createElement)(m.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,h.createElement)(b.default,t({},n.clkProps,{style:p.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,h.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showMask:g}),(0,h.createElement)(b.default,{style:p.default.cardContent},(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,titleMode:!0,title:i}),!!i&&!n.data.sellingPoints&&!n.data.atmosphere&&(0,h.createElement)(y.default,{style:t({},p.default.itemTitle,p.default.itemTitle3in1),numberOfLines:1},i.split("").join("\ufeff")),n.data.stars&&0!=+n.data.stars||n.data.sales?(0,h.createElement)(b.default,{style:p.default.firstLine},(0,h.createElement)(s.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,h.createElement)(u.Star,{gdc:n.gdc,stars:n.data.stars,num:n.data.stars})):null,(0,h.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,h.createElement)(l.Discount,{data:n.data}))),n.showAddCart&&(0,h.createElement)(w.AddCart,{data:n.data,gdc:n.gdc,imageSize:226,type:"vert"}))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode=e.mode||"2in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,i.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={showMask:e.showMask},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(v,h.Component),n(v,[{key:"componentDidMount",value:function(){this.broadcastChannel()}},{key:"render",value:function(){return this.data?"1in1"===this.mode?this.render1In1Card():"2in1"===this.mode?this.render2In1Card():"3in1"===this.mode?this.render3In1Card():this.renderHozCard():null}}]),v}();exports.default=x,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Discount=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(178)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Discount=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.data=e.data,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount?(0,r.createElement)(i.default,{style:n.default.container},(0,r.createElement)(i.default,{style:n.default.discount},(0,r.createElement)(o.default,{style:n.default.text},this.data.discount))):null}}]),a}()},function(module,exports){module.exports={container:{display:"flex",flexDirection:"row",marginTop:8},discount:{height:38,borderRadius:19,backgroundColor:"rgb(211,3,28)",paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},text:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=d(e(180)),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),n(d,[{key:"render",value:function(){if(!this.data)return null;var e,n=this.data,d=n.image,s=n.title,c=n.cornorMark,u=this.props.showMask;e=!0===u||"true"===u?"https://ae01.alicdn.com/kf/S1e0b5f59d44845c89d23644878384c33Z/504x504.png":d;var f=c||{},p=f.value,g=f.color,m=f.bgColor,h=268;return"2in1"===this.mode&&(h=343),"3in1"===this.mode&&(h=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(p=this.data.discount,m="#FD384F",g="#ffffff"),(0,i.createElement)(l.default,{style:"2in1"===this.mode||"3in1"===this.mode?o.default.imgOuter:(0,r.getRTLCSS)(this.gdc,o.default,"imgOuterHoz")},(0,i.createElement)(l.default,{style:t({},o.default.imgWrapper,{width:h,height:h})},(0,i.createElement)("img",{style:t({},o.default.itemImg,{width:h,height:h,objectFit:"cover"}),src:e,alt:s}),(0,i.createElement)(l.default,{style:t({},o.default.bgMask,{width:h,height:h})}),!!p&&"3in1"===this.mode&&(0,i.createElement)(l.default,{style:t({},(0,r.getRTLCSS)(this.gdc,o.default,"mark"),{backgroundColor:m||"#FD384F"})},(0,i.createElement)(a.default,{style:t({},o.default.markText,{color:g||"#ffffff"})},p))))}}]),d}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.04)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=s(e(182)),i=e(0),a=s(e(2)),l=s(e(1)),d=e(10);function s(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t.style=e.style,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,i.Component),n(s,[{key:"render",value:function(){if(!this.data)return null;var e=this.data.sales;if(!e)return null;var n=o.default.itemMeta;return"3in1"===this.mode&&(n=o.default.itemMeta3in1),"2in1"===this.mode&&(n=o.default.itemMeta2in1),(0,i.createElement)(l.default,{style:t({},n,this.style)},!!e&&(0,i.createElement)(a.default,{style:(0,r.getRTLCSS)(this.gdc,o.default,"itemOrders"),numberOfLines:1},(0,d.formatSales)(e)))}}]),s}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",alignItems:"center",marginTop:0,flexDirection:"row",flexWrap:"wrap"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:24,color:"rgb(151,151,151)",marginRight:8,fontFamily:"AEShopCustomFont",fontWeight:"450"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(18),o=e(5),i=s(e(184)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n="3in1"===this.mode?26:30,s="3in1"===this.mode?22:24;if("tpp"===this.priceMode){if(!this.data.prices)return null;var c=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},u=c.salePrice,f=c.originalPrice;return u||f?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",color:"#191919",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},u&&u.map(function(r,d){return(0,a.createElement)(l.default,{key:d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),!f||"3in1"!==this.mode&&"1in1"!==this.mode?null:f.map(function(n,r){return(0,a.createElement)(l.default,{key:r,style:t({},n.style,(0,o.getRTLCSS)(e.gdc,i.default,"subPriceText"),{fontSize:s})},n.text)})):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var p=this.data.priceLocalInfo&&this.data.priceLocalInfo.promotionPiecePriceStructure&&-1!==this.data.priceLocalInfo.promotionPiecePriceStructure.indexOf("|")?(0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{}:(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},g=p.currentPrice,m=p.subPrice;return g?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},g&&g.map(function(r,d){return(0,a.createElement)(l.default,{key:d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),!m||"3in1"!==this.mode&&"1in1"!==this.mode?null:(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(this.gdc,i.default,"subPriceText"),m.style,{fontSize:s})},m.text)):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:8},"subPriceText-rtl":{}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(186)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.num&&0!=+this.num?+this.num<3.5?null:(0,r.createElement)(i.default,{style:n.default.starWrapper},(0,r.createElement)("img",{style:n.default.starImage,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAYAAACdkl3yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpVTBTQMxENxxlBMBHtcBpgKSZ8QDrgPoACoIqSCiE6gkIBTxBCrIleAPCOWSmPVGwPk455xjJEtre3Y09tpL1AA7O7hyo4mHrSLPe5rWai4TlRxjaPIQV20TYpHJb1zcUBtHnpsNDC3YVWYM7eRo1RlVVlJKFkFXYSHYi5rVkZ2maT39hTc+Ck6ymqdHvNbn2JF1XQJZPqLCKweG4zfOyUl1H2Bn+/NgUjyMYtVH+jdwDzlzUkzZap/aAHzMXjeT8rcWA+XUSwYYGCNVk7ehVpeysYsIksyJuOlP+TH8zGnZGVM8xuUv478jtdQUDetxfSHgjGIBdRIWstAUi7VfmIqjStXk8nEt428htE/9NlP+7S7J4han73dlsjQ42Ak/4o1IqEdJN3w6PKcG1HXNLyUobuoTnHiPAAAAAElFTkSuQmCC"}),(0,r.createElement)(o.default,{style:n.default.starText},""+(+this.num).toFixed(1))):null}}]),a}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(151,151,151)",fontSize:24,fontFamily:"AEShopCustomFont",fontWeight:"450"},starImage:{width:18,height:18,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=e(26),i=c(e(188)),a=e(0),l=c(e(2)),d=c(e(1)),s=e(7);function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var f=function(e){function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var n,f=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return f.sliderInterval=function(e){f.timer=setInterval(f.loopTime.bind(f,e),3e3)},f.loopTime=function(e){var t=f.state.step;e.length>1?f.setState({step:t>=e.length?0:t+1},function(){setTimeout(function(){f.state.step===e.length-1&&f.setState({step:0})},500)}):clearInterval(f.timer)},f.renderTag=function(e,n){if((e.tagImgUrl||e.value)&&e.height&&+e.height>30){var o=+e.height,s=+e.width;e.height=30,e.width=s/o*30}if(e)switch(e.materialCode){case"search_item_text_icon":var c=(30*(+e.width+8)/+e.height||30)+6;return{tagWidth:f.tagContainerWidth,tagHeight:30,TagComponent:(0,a.createElement)(d.default,{key:"tags0-"+n,style:t({},i.default.withIcon,{width:f.tagContainerWidth,flexDirection:f.isAndroidRTL?"row":i.default.withIcon.flexDirection})},(0,a.createElement)("img",{style:t({},(0,r.getRTLCSS)(f.gdc,i.default,"tagImg"),i.default.withIconImg,{width:+e.width+1,height:+e.height+1,left:(0,r.isRTL)(f.gdc)?null:0,right:(0,r.isRTL)(f.gdc)?0:null}),src:e.tagImgUrl||e.value}),(0,a.createElement)(l.default,{style:t({},i.default.tagText,f.textStyle,{textIndent:c,color:e.tagStyle&&e.tagStyle.color||f.textStyle.color,width:f.tagContainerWidth}),numberOfLines:1},(""+e.tagText).split("").join("\ufeff")))};case"search_item_icon":return{tagWidth:+e.width+1,tagHeight:+e.height+1,TagComponent:(0,a.createElement)("img",{key:"tags1-"+n,style:t({},(0,r.getRTLCSS)(f.gdc,i.default,"promotionTagImg"),{width:+e.width+1,height:+e.height+1}),src:e.tagImgUrl||e.value})};case"search_item_text":return{tagWidth:f.tagContainerWidth,tagHeight:30,TagComponent:(0,a.createElement)(l.default,{key:"tags2-"+n,style:t({},i.default.tagText,f.textStyle,{width:"2in1"===f.mode?327:null,color:e.tagStyle&&e.tagStyle.color||f.textStyle.color,marginRight:(0,r.isRTL)(f.gdc)?0:6,marginLeft:(0,r.isRTL)(f.gdc)?6:0}),numberOfLines:1},(""+e.tagText).split("").join("\ufeff"))};default:return{TagComponent:null}}},f.getTagsData=function(){var e=[],t="tpp"===f.tagsMode?(0,o.convertTppSellingPointsToShopAtmosphere)(f.data.sellingPoints,f.mode):f.data.atmosphere;if("metadata"===f.type?e=[].concat(u((0,o.getPositionTags)(t,1,f.mode))):"selling_shipping"===f.type&&(e=[].concat(u((0,o.getPositionTags)(t,2)),u((0,o.getPositionTags)(t,3)),u((0,o.getPositionTags)(t,4)))),!e.length&&!f.titleMode)return null;f.titleMode&&(e=e.filter(function(e){return"search_item_icon"===e.materialCode}));for(var n=[],r=0;r<e.length;r++)n.push(e[r]);(0,o.sortTags)(n);var i=0,a=0,l=n.map(function(e,t){var n=f.renderTag(e,t);return i+=n.tagWidth+4,a=Math.max(a,n.tagHeight),n.TagComponent}),d=(30*+i/+a||30)+6;return e.length||(i=0,a=0,d=0),{renderedTags:l,renderedTagHeight:a,textIndent:d,renderedTagWidth:i}},f.gdc=e.gdc,f.data=e.data,f.mode=e.mode,f.type=e.type,f.timer=null,f.tagsMode=e.tagsMode,f.textStyle="metadata"===f.type?{color:"#FD384F",fontWeight:400}:"selling"===f.type?{color:"#FD384F",fontWeight:400}:"shipping"===f.type?{color:"#191919",fontWeight:400}:{},"2in1"===f.mode&&(n=327),"1in1"===f.mode&&(n=253),"3in1"===f.mode&&(n=210),"hoz"===f.mode&&(n=410),f.tagContainerWidth=n,f.titleMode=e.titleMode,f.title=e.title,f.state={step:0,renderedTags:[],stepHeight:s.isWeb?28:34},f}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,a.Component),n(c,[{key:"componentDidMount",value:function(){var e=this,t=this.getTagsData();this.setState({tag:t},function(){var t=e.state.tag,n=t&&t.renderedTags?t.renderedTags:null;"selling_shipping"===e.type&&n&&n.length>1&&(n.push(n[0]),e.setState({renderedTags:n},function(){!e.timer&&n.length>1&&e.sliderInterval(n)}))})}},{key:"render",value:function(){var e=this;if(!this.data||"tpp"===this.tagsMode&&!this.data.sellingPoints||"shop"===this.tagsMode&&!this.data.atmosphere)return null;var n=this.state.tag,r=n&&n.renderedTags?n.renderedTags:null,o=n&&n.renderedTagHeight?n.renderedTagHeight:null,c=n&&n.renderedTagWidth?n.renderedTagWidth:null,u=n&&n.textIndent?n.textIndent:null,f=this.state,p=f.step,g={position:"absolute",left:0,right:"unset",top:-p*f.stepHeight,transition:0===p?"":"all 0.5s"};return(0,a.createElement)(d.default,{style:t({},i.default.horizontalTags,"metadata"===this.type?i.default.metaTagsAlter:{},this.textStyle,{width:this.tagContainerWidth})},"selling_shipping"===this.type&&r&&r.length>1?(0,a.createElement)(d.default,{style:{height:s.isWeb?30:34,width:this.tagContainerWidth,overflow:"hidden",position:"relative"}},(0,a.createElement)(d.default,{style:{height:34,width:1}}),(0,a.createElement)(d.default,{style:t({},g)},r.map(function(t,n){return(0,a.createElement)(d.default,{key:"tags-"+n,style:{height:s.isWeb?30:34,width:e.tagContainerWidth}},t)}))):(0,a.createElement)(d.default,{style:t({},i.default.horizontalTagsWrapper,{width:this.titleMode?c:this.tagContainerWidth,height:this.titleMode?o:null,position:this.titleMode?"absolute":"relative",top:this.titleMode?0:null,flexWrap:this.titleMode?null:"wrap"})},r),this.titleMode&&(0,a.createElement)(l.default,{style:t({},i.default.itemTagTitle,{width:this.tagContainerWidth,textIndent:u}),numberOfLines:1},(""+this.title).split("").join("\ufeff")))}}]),c}();exports.default=f,module.exports=exports.default},function(module,exports){module.exports={promotionTagImg:{height:32,marginRight:4,verticalAlign:"middle",display:"inline"},"promotionTagImg-rtl":{marginRight:0,marginLeft:4},tagImg:{height:32,marginRight:2,verticalAlign:"middle",display:"inline"},"tagImg-rtl":{marginRight:0,marginLeft:2},tagText:{color:"rgb(102,102,102)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all"},tagDot:{display:"inline",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTags:{position:"relative",display:"flex",flexDirection:"row",wordBreak:"break-all",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap"},metaTagsAlter:{display:"flex",flexDirection:"row",flexWrap:"wrap",wordBreak:"break-all"},withIcon:{position:"relative",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all",display:"flex",flexDirection:"row",justifyContent:"flex-start"},withIconImg:{position:"absolute",top:0},itemTagTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTagsWrapper:{display:"flex",flexDirection:"row",alignContent:"center"},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:226,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},itemTitle1in1:{width:276,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410},firstLine:{display:"flex",flexDirection:"row",flexWrap:"wrap",height:38,overflow:"hidden"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(7),o=e(10),i=e(17),a=e(5),l=e(191),d=e(193),s=e(195),c=e(199),u=w(e(201)),f=w(e(203)),p=w(e(11)),g=e(12),m=e(0),h=w(e(2)),y=w(e(1)),b=e(25);function w(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function w(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,e));return n.broadcastChannel=function(){new BroadcastChannel("popMobileConfirm").onmessage=function(){n.setState({showMask:!1})}},n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,r){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,f=n.mds,p=f.widgetId,m=f.moduleName,h={url:e,nid:t||0,widgetId:p,moduleName:m,target:r||null};n.data.utLogMap&&(0,g.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,o.openWindow)(e)},n.open=function(e,t){var i=n.state.showMask;if("true"!==i&&!0!==i)n.goTargetUrl(e,t);else if((0,r.isADC)())(0,o.callWindVaneHandler)("AEWVPrivacy","euSafetyFilter",{},function(r){r.wantedSee&&(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100))},function(e){console.warn(e)});else{var a=n.gdc.locale;p.default.show({isRtl:!1,locale:a,fetcher:window.lib.mtop.request,onOk:function(r){console.log(r);var o=r.success,i=r.errMsg;o?(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100)):console.warn(i)},onCancel:function(){}})}},n.renderHozCard=function(){var e=n.data,r=e.id,o=e.url,i=e.title,l=n.state.showMask;return(0,m.createElement)(y.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,f.default,"cardWrapper"),n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,m.createElement)(g.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,m.createElement)(y.default,t({},n.clkProps,{style:f.default.cardInnerHoz,onClick:function(){return n.open(o,r)}}),(0,m.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,showMask:l,size:268}),(0,m.createElement)(y.default,{style:f.default.cardContentHoz},!!i&&(0,m.createElement)(h.default,{style:t({},f.default.itemTitle,f.default.itemTitleHoz),numberOfLines:2},i.split("").join("\ufeff")),(0,m.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,m.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,m.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}),(0,m.createElement)(y.default,{style:f.default.hozMeta},(0,m.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,m.createElement)(s.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data})))),n.showAddCart&&(0,m.createElement)(b.AddCart,{data:n.data,gdc:n.gdc,imageSize:268,type:"hoz"}))},n.render2In1Card=function(){var e=n.data,r=e.id,o=e.url,i=e.title,l=n.state.showMask;return(0,m.createElement)(y.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,f.default,"cardWrapper"),{width:343},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,m.createElement)(g.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,m.createElement)(y.default,t({},n.clkProps,{style:n.state.showShadow?f.default.cardInnerWithShadow:f.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,m.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:343,showMask:l}),(0,m.createElement)(y.default,{style:f.default.cardContent},(0,m.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,m.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,m.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,m.createElement)(s.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,mode:n.mode}),!!i&&(0,m.createElement)(h.default,{style:t({},f.default.itemTitle,f.default.itemTitle2in1),numberOfLines:1},i.split("").join("\ufeff")),(0,m.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}))),n.showAddCart&&(0,m.createElement)(b.AddCart,{data:n.data,gdc:n.gdc,imageSize:343,type:"vert"}))},n.render3In1Card=function(){var e=n.data,r=e.id,o=e.url,i=e.title,u=n.state.showMask;return(0,m.createElement)(y.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,f.default,"cardWrapper"),{width:226},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,m.createElement)(g.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,m.createElement)(y.default,t({},n.clkProps,{style:f.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,m.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showMask:u}),(0,m.createElement)(y.default,{style:f.default.cardContent},!!i&&(0,m.createElement)(h.default,{style:t({},f.default.itemTitle,f.default.itemTitle3in1),numberOfLines:1},i.split("").join("\ufeff")),(0,m.createElement)(s.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,m.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,m.createElement)(l.Discount,{data:n.data}))),n.showAddCart&&(0,m.createElement)(b.AddCart,{data:n.data,gdc:n.gdc,imageSize:226,type:"vert"}))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode=e.mode||"2in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,i.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={showMask:e.showMask},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(w,m.Component),n(w,[{key:"componentDidMount",value:function(){this.broadcastChannel()}},{key:"render",value:function(){return this.data?"2in1"===this.mode?this.render2In1Card():"3in1"===this.mode?this.render3In1Card():this.renderHozCard():null}}]),w}();exports.default=v,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Discount=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(192)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Discount=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.data=e.data,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount?(0,r.createElement)(i.default,{style:n.default.container},(0,r.createElement)(i.default,{style:n.default.discount},(0,r.createElement)(o.default,{style:n.default.text},this.data.discount))):null}}]),a}()},function(module,exports){module.exports={container:{display:"flex",flexDirection:"row",marginTop:8},discount:{height:38,borderRadius:19,backgroundColor:"rgb(211,3,28)",paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},text:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=d(e(194)),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),n(d,[{key:"render",value:function(){if(!this.data)return null;var e,n=this.data,d=n.image,s=n.title,c=n.cornorMark,u=this.props.showMask;e=!0===u||"true"===u?"https://ae01.alicdn.com/kf/S1e0b5f59d44845c89d23644878384c33Z/504x504.png":d;var f=c||{},p=f.value,g=f.color,m=f.bgColor,h=268;return"2in1"===this.mode&&(h=343),"3in1"===this.mode&&(h=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(p=this.data.discount,m="#FD384F",g="#ffffff"),(0,i.createElement)(l.default,{style:"2in1"===this.mode||"3in1"===this.mode?o.default.imgOuter:(0,r.getRTLCSS)(this.gdc,o.default,"imgOuterHoz")},(0,i.createElement)(l.default,{style:t({},o.default.imgWrapper,{width:h,height:h})},(0,i.createElement)("img",{style:t({},o.default.itemImg,{width:h,height:h,objectFit:"cover"}),src:e,alt:s}),(0,i.createElement)(l.default,{style:t({},o.default.bgMask,{width:h,height:h})}),!!p&&"3in1"===this.mode&&(0,i.createElement)(l.default,{style:t({},(0,r.getRTLCSS)(this.gdc,o.default,"mark"),{backgroundColor:m||"#FD384F"})},(0,i.createElement)(a.default,{style:t({},o.default.markText,{color:g||"#ffffff"})},p))))}}]),d}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.04)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(5),r=d(e(196)),o=e(197),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),t(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,t=e.stars,d=e.sales;if(!t&&!d)return null;var s=r.default.itemMeta;return"3in1"===this.mode&&(s=r.default.itemMeta3in1),"2in1"===this.mode&&(s=r.default.itemMeta2in1),(0,i.createElement)(l.default,{style:s},!!d&&(0,i.createElement)(a.default,{style:(0,n.getRTLCSS)(this.gdc,r.default,"itemOrders")},d),(0,i.createElement)(o.Star,{gdc:this.gdc,num:t}))}}]),d}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",alignItems:"center",marginTop:0,flexDirection:"row",flexWrap:"wrap"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:24,color:"rgb(151,151,151)",marginRight:8,fontFamily:"AEShopCustomFont",fontWeight:"450"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(198)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.num?+this.num<.1?null:(0,r.createElement)(i.default,{style:n.default.starWrapper},(0,r.createElement)("img",{style:n.default.starImage,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAYAAACdkl3yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpVTBTQMxENxxlBMBHtcBpgKSZ8QDrgPoACoIqSCiE6gkIBTxBCrIleAPCOWSmPVGwPk455xjJEtre3Y09tpL1AA7O7hyo4mHrSLPe5rWai4TlRxjaPIQV20TYpHJb1zcUBtHnpsNDC3YVWYM7eRo1RlVVlJKFkFXYSHYi5rVkZ2maT39hTc+Ck6ymqdHvNbn2JF1XQJZPqLCKweG4zfOyUl1H2Bn+/NgUjyMYtVH+jdwDzlzUkzZap/aAHzMXjeT8rcWA+XUSwYYGCNVk7ehVpeysYsIksyJuOlP+TH8zGnZGVM8xuUv478jtdQUDetxfSHgjGIBdRIWstAUi7VfmIqjStXk8nEt428htE/9NlP+7S7J4han73dlsjQ42Ak/4o1IqEdJN3w6PKcG1HXNLyUobuoTnHiPAAAAAElFTkSuQmCC"}),(0,r.createElement)(o.default,{style:n.default.starText},""+(+this.num).toFixed(1))):null}}]),a}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(151,151,151)",fontSize:24,fontFamily:"AEShopCustomFont",fontWeight:"450"},starImage:{width:18,height:18,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(18),o=e(5),i=s(e(200)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n="3in1"===this.mode?26:30,s="3in1"===this.mode?22:24;if("tpp"===this.priceMode){if(!this.data.prices)return null;var c=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},u=c.salePrice,f=c.originalPrice;return u||f?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",color:"#191919",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},u&&u.map(function(r,d){return(0,a.createElement)(l.default,{key:"salePrice-"+d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),f&&f.map(function(n,r){return(0,a.createElement)(l.default,{key:"originalPrice-"+r,style:t({},n.style,(0,o.getRTLCSS)(e.gdc,i.default,"subPriceText"),{fontSize:s})},n.text)})):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var p=this.data.priceLocalInfo&&this.data.priceLocalInfo.promotionPiecePriceStructure&&-1!==this.data.priceLocalInfo.promotionPiecePriceStructure.indexOf("|")?(0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{}:(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},g=p.currentPrice,m=p.subPrice;return g?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},g&&g.map(function(r,d){return(0,a.createElement)(l.default,{key:"currentPrice-"+d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),m&&(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(this.gdc,i.default,"subPriceText"),m.style,{fontSize:s})},m.text)):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:8},"subPriceText-rtl":{}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=e(26),i=s(e(202)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n,o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return o.renderTag=function(e,n){if((e.tagImgUrl||e.value)&&e.height&&+e.height>30){var s=+e.height,c=+e.width;e.height=30,e.width=c/s*30}if(e)switch(e.materialCode){case"search_item_text_icon":var u=(30*(+e.width+8)/+e.height||30)+6;return{tagWidth:o.tagContainerWidth,tagHeight:30,TagComponent:(0,a.createElement)(d.default,{key:"tags0-"+n,style:t({},i.default.withIcon,{width:o.tagContainerWidth,flexDirection:o.isAndroidRTL?"row":i.default.withIcon.flexDirection})},(0,a.createElement)("img",{style:t({},(0,r.getRTLCSS)(o.gdc,i.default,"tagImg"),i.default.withIconImg,{width:+e.width+1,height:+e.height+1,left:(0,r.isRTL)(o.gdc)?null:0,right:(0,r.isRTL)(o.gdc)?0:null}),src:e.tagImgUrl||e.value}),(0,a.createElement)(l.default,{style:t({},i.default.tagText,o.textStyle,{textIndent:u,color:e.tagStyle&&e.tagStyle.color||o.textStyle.color,width:o.tagContainerWidth}),numberOfLines:2},(""+e.tagText).split("").join("\ufeff")))};case"search_item_icon":return{tagWidth:+e.width+1,tagHeight:+e.height+1,TagComponent:(0,a.createElement)("img",{key:"tags1-"+n,style:t({},(0,r.getRTLCSS)(o.gdc,i.default,"promotionTagImg"),{width:+e.width+1,height:+e.height+1}),src:e.tagImgUrl||e.value})};case"search_item_text":return{tagWidth:o.tagContainerWidth,tagHeight:30,TagComponent:(0,a.createElement)(l.default,{key:"tags2-"+n,style:t({},i.default.tagText,o.textStyle,{width:null,color:e.tagStyle&&e.tagStyle.color||o.textStyle.color,marginRight:(0,r.isRTL)(o.gdc)?0:6,marginLeft:(0,r.isRTL)(o.gdc)?6:0})},(""+e.tagText).split("").join("\ufeff"))};default:return{TagComponent:null}}},o.gdc=e.gdc,o.data=e.data,o.mode=e.mode,o.type=e.type,o.tagsMode=e.tagsMode,o.textStyle="metadata"===o.type?{color:"#FD384F",fontWeight:400}:"selling"===o.type?{color:"#FD384F",fontWeight:400}:"shipping"===o.type?{color:"#191919",fontWeight:400}:{},"2in1"===o.mode&&(n=327),"hoz"===o.mode&&(n=410),o.tagContainerWidth=n,o.titleMode=e.titleMode,o.title=e.title,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data||"tpp"===this.tagsMode&&!this.data.sellingPoints||"shop"===this.tagsMode&&!this.data.atmosphere)return null;var n=[],r="tpp"===this.tagsMode?(0,o.convertTppSellingPointsToShopAtmosphere)(this.data.sellingPoints):this.data.atmosphere;if("metadata"===this.type?n=[].concat(c((0,o.getPositionTags)(r,1))):"selling"===this.type?n=[].concat(c((0,o.getPositionTags)(r,2))):"shipping"===this.type&&(n=[].concat(c((0,o.getPositionTags)(r,3)),c((0,o.getPositionTags)(r,4)))),!n.length&&!this.titleMode)return null;this.titleMode&&(n=n.filter(function(e){return"search_item_icon"===e.materialCode}));for(var s=[],u=0;u<n.length;u++)s.push(n[u]);(0,o.sortTags)(s);var f=0,p=0,g=s.map(function(t,n){var r=e.renderTag(t,n);return f+=r.tagWidth+4,p=Math.max(p,r.tagHeight),r.TagComponent}),m=(30*+f/+p||30)+6;return n.length||(f=0,p=0,m=0),(0,a.createElement)(d.default,{style:t({},i.default.horizontalTags,"metadata"===this.type?i.default.metaTagsAlter:{},this.textStyle,{width:this.tagContainerWidth})},(0,a.createElement)(d.default,{style:t({},i.default.horizontalTagsWrapper,{width:this.titleMode?f:this.tagContainerWidth,height:this.titleMode?p:null,position:this.titleMode?"absolute":"relative",top:this.titleMode?0:null,flexWrap:this.titleMode?null:"wrap"})},g),this.titleMode&&(0,a.createElement)(l.default,{style:t({},i.default.itemTagTitle,{width:this.tagContainerWidth,textIndent:m}),numberOfLines:2},(""+this.title).split("").join("\ufeff")))}}]),s}();exports.default=u,module.exports=exports.default},function(module,exports){module.exports={promotionTagImg:{height:32,marginRight:4,verticalAlign:"middle",display:"inline"},"promotionTagImg-rtl":{marginRight:0,marginLeft:4},tagImg:{height:32,marginRight:2,verticalAlign:"middle",display:"inline"},"tagImg-rtl":{marginRight:0,marginLeft:2},tagText:{color:"rgb(102,102,102)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all"},tagDot:{display:"inline",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTags:{position:"relative",display:"flex",flexDirection:"row",wordBreak:"break-all",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap"},metaTagsAlter:{display:"flex",flexDirection:"row",flexWrap:"wrap",wordBreak:"break-all"},withIcon:{position:"relative",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all",display:"flex",flexDirection:"row",justifyContent:"flex-start"},withIconImg:{position:"absolute",top:0},itemTagTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTagsWrapper:{display:"flex",flexDirection:"row",alignContent:"center"}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:210,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t,n,r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e(0),a=f(e(1)),l=f(e(2)),d=e(205),s=f(e(206)),c=f(e(41)),u=e(7);function f(e){return e&&e.__esModule?e:{default:e}}var p=function(e){return[].concat(["SA","AE","QA","KW","BH","OM"],["AU"]).includes(e)},g=(n=t=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.fetchData=function(e,t){if((0,u.isADC)()){var r=(0,u.getEnv)();n.getItemList(r.deviceId,e,t)}else n.getItemList((0,d.getCookie)("cna"),e,t)},n.getItemList=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=arguments[2];n.setState({mtopDone:!1});var i=n.state,a=i.gdc,l=i.mds,d=a.clientIp,s=l.moduleData||{},c=s.dataApi&&s.dataApi.mtop||{},f={ecode:0,appKey:24770048,dataType:"originaljsonp"};return c.apiName&&(f.api=c.apiName),c.apiVersion&&(f.v=c.apiVersion),"needLogin"in c&&(f.needLogin=c.needLogin),c.params&&Object.keys(c.params).length&&(f.data={params:JSON.stringify(r({},c.params,{platform:(0,u.isADC)()?"APP":"MSITE",clientIp:d,page:t,deviceId:e})),componentKey:c.componentKey||"promotePruductList"}),f.api&&f.v?void n.pageUtils.Mtop.request(f,function(e){var r=(e&&e.ret?e.ret[0]:"").split("::"),i=e.data&&e.data.products;if("SUCCESS"===r[0]||e.ok){var a=n.state;n.setState({currentPage:t,totalPage:i.totalPage,itemList:a.itemList.concat(i.data)},function(){n.setState({mtopDone:!0}),o&&o()})}},function(){n.setState({mtopDone:!0}),o&&o()}):void(o&&o())},n.updateShowData=function(){var e=n.state,t=e.gdc,r=e.itemList;n.setState({mtopDone:!0,showDataStatus:r&&r.length,showNoDataStatus:!(!0!==t.preView&&"true"!==t.preView||r&&r.length)})},n.getNextPageData=function(){var e=n.state,t=e.currentPage+1;t<=e.totalPage&&n.fetchData(t)},n.renderModuleTitle=function(e,t){var o=n.props,d=o.mds,c=void 0===d?{}:d,u=o.gdc,f="#ffffff";return p(u.country)&&(f="#000000"),(0,i.createElement)(a.default,{style:s.default.moduleTitleWrapper},e?(0,i.createElement)(a.default,{style:r({},getRTLCSS(u,s.default,"titleWrapper"))},(0,i.createElement)(l.default,{style:r({},getRTLCSS(u,s.default,"title"),{color:f}),"data-locale":c.widgetId+"_title"},e)):null,t?(0,i.createElement)(a.default,{style:r({},getRTLCSS(u,s.default,"subTitleWrapper"))},(0,i.createElement)(l.default,{style:r({},getRTLCSS(u,s.default,"subTitle"),{color:f}),"data-locale":c.widgetId+"_subTitle"},t)):null)},n.renderList=function(e){var t=n.state,r=t.mds,o=t.gdc,a=o.translate,l=void 0===a?{}:a,d=o.translation,s=void 0===d?{}:d;Object.assign(l,s);var f=e.promotionDiscount||0,p=f?(l["module.discount"]||"").replace(/\${\d}/,f):null,g=l["module.smartLeaderboard.sold"],m=e.sales?g.replace("${0}",e.sales):"",h=(e.trace||{}).utLogMap,y=e.productExt&&e.productExt.isDsaRiskItem||!1,b=o.useNewItemLayout?"US":"OLDUS";return(0,i.createElement)(c.default,{showAddCart:(0,u.isADC)(),layout:b,mode:"3in1",priceMode:"shop",tagsMode:"shop",pageUtils:n.props.pageUtils,gdc:o,mds:r,modsStyle:e.modsStyle,cardBg:"#ffffff",showMask:y,data:{id:e.id,url:e.pcDetailUrl,image:e.image350Url,title:e.subject,sales:m,stars:e.averageStar,prices:e.prices,priceLocalConfig:e.priceLocalConfig,priceLocalInfo:e.priceLocalInfo,atmosphere:e.atmosphere,discount:p,utLogMap:h}})},n.pageUtils=e.pageUtils,n.state={itemList:[],currentPage:1,mtopDone:!1,mds:e.mds||{},gdc:e.gdc||{},showDataStatus:!1,showNoDataStatus:!1,totalPage:1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"componentWillMount",value:function(){var e=this.state,t=e.mds,n=e.currentPage;t.widgetId&&this.fetchData(n,this.updateShowData)}},{key:"render",value:function(){var e=this,t=this.state,n=t.mds,o=t.showDataStatus,l=t.showNoDataStatus,d=t.itemList,c=t.mtopDone,u=t.currentPage,f=t.totalPage,p=n.moduleName;if(o){var g=(0,i.createElement)(a.default,{style:s.default.list},d.map(function(t,n){var o={exp_trigger:"",st_page_id:window.dmtrack_pageid,exp_type:p+"_Exposure_Event",exp_attribute:""};return(0,i.createElement)(a.default,r({},o,{style:{marginRight:10,marginBottom:24},key:n}),n+1===d.length?(0,i.createElement)(a.default,{onAppear:e.getNextPageData},e.renderList(t)):e.renderList(t))}));return(0,i.createElement)(a.default,null,g,!c&&u<f&&(0,i.createElement)(a.default,{style:{height:60,alignItems:"center"}},(0,i.createElement)("img",{style:{width:60,height:60},src:"//ae01.alicdn.com/kf/H6e469dc365d9495a8ccef13dbefb2478E.gif"})))}return l?(0,i.createElement)("img",{src:n.defaultImage,style:{width:n.defaultImageWidth||750,height:n.defaultImageHeight||300}}):null}}]),t}(),t.customCell=!0,n);exports.default=g,module.exports=exports.default},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.__=function(e,t,n){var r=e||t;for(var o in n){var i=n[o];r=r.replace(new RegExp("\\{\\w?"+o+"\\w?\\}","g"),i)}return r},exports.getCookie=function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"="),n=0;if(-1!==t)return t=t+e.length+1,-1===(n=document.cookie.indexOf(";",t))&&(n=document.cookie.length),unescape(document.cookie.substring(t,n))}return null}},function(module,exports){module.exports={moduleTitle:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:32,lineHeight:48,color:"rgb(255,255,255)",marginTop:24,marginBottom:24,textAlign:"center"},list:{listStyle:"none",display:"flex",flexDirection:"row",justifyContent:"flex-start",flexWrap:"wrap",paddingTop:24,paddingRight:16,paddingBottom:24,paddingLeft:24},titleWrapper:{paddingLeft:32,paddingRight:32,width:750,display:"flex",flexDirection:"row"},"titleWrapper-rtl":{flexDirection:"row-reverse"},subTitleWrapper:{width:750,paddingLeft:32,paddingRight:32,display:"flex",flexDirection:"row"},"subTitleWrapper-rtl":{flexDirection:"row-reverse"},moduleTitleWrapper:{width:750,paddingTop:24,paddingBottom:24},title:{fontFamily:"AEShopCustomFont",fontWeight:"bold",fontSize:32,color:"rgb(255,255,255)",lineHeight:48,textAlign:"left"},subTitle:{fontFamily:"AEShopCustomFont",fontWeight:"lighter",fontSize:24,color:"rgb(255,255,255)",lineHeight:36,textAlign:"left"},cellContainer:{width:750,display:"flex",paddingLeft:24,paddingRight:24,flexDirection:"row",alignItems:"center",justifyContent:"space-between"},loadingWrapper:{height:60,marginTop:40,display:"flex",textAlign:"center",flexDirection:"row",alignItems:"center",justifyContent:"center"},loadingImage:{height:60,width:60}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(0),r=l(e(1)),o=e(12),i=l(e(51)),a=l(e(143));function l(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,n.Component),t(l,[{key:"render",value:function(){var e=!1;try{new URL(window.location.href).searchParams.has("pha_manifest")&&(e=!0),window.adcGray&&(e=!0)}catch(e){}return e?(0,n.createElement)(r.default,{"data-container":"adc"},(0,n.createElement)(o.ModuleExpose,{gdc:this.props.gdc,mds:this.props.mds}),(0,n.createElement)(a.default,this.props)):(0,n.createElement)(i.default,this.props)}}]),l}();exports.default=d,module.exports=exports.default}])});