(window["webpackJsonp-ae-fe/cosmos-1"]=window["webpackJsonp-ae-fe/cosmos-1"]||[]).push([[21,40],{1052:function(e,t,n){"use strict";n.r(t);var o,a,r,i,c,s=[{name:"gep",component:function(){return n.e(16).then(n.bind(null,1077))}}],l=n(14),u=n(2),p=n.n(u),d=n(0),f=n.n(d),m=n(3),g=n(26),h=(null===(o=m.a.get("config"))||void 0===o?void 0:o.page)||{},w={mtop:(r=f()(p()().mark((function e(){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.a.load();case 2:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)}),react:(a=f()(p()().mark((function e(){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",m.a.get("Global"));case 1:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)})},_=[{name:"aplus",pages:[h.account],component:function(){Object(l.a)({type:"script",url:"//assets.alicdn.com/g/alilog/??aplus_plugin_aefront/index.js,mlog/aplus_int.js",attrs:{crossOrigin:"anonymous",id:"beacon-aplus",exparams:"aplus&sidx=aplusSidx&ckx=aplusCkx"}})}}],v=n(59),b=n.n(v),y=(i={},b()(i,h.home,"pc_homepage"),b()(i,h.best,"pc_Best_Homepage"),b()(i,h.detail,"PC_Product_Detail_Page"),b()(i,h.search,"PC_Search_Ui_Product_List"),b()(i,h.shopcart,"PC_Shop_Cart"),i),x=[{name:"popLayer",pages:[h.home,h.best,h.detail,h.search,h.shopcart],component:(c=f()(p()().mark((function e(t){var o,a,r;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.page,a=t.options,!(r=(void 0===a?{}:a).positionSign||y[o])){e.next=8;break}return e.next=5,n.e(31).then(n.bind(null,1081));case 5:(0,e.sent.default)({positionSign:r},null);case 8:case"end":return e.stop()}}),e)}))),function(e){return c.apply(this,arguments)}),deps:[w.mtop]}],k=[{pages:[h.home,h.best,h.detail,h.seoDetail],component:function(){return Promise.all([n.e(0),n.e(2),n.e(4),n.e(5),n.e(36)]).then(n.bind(null,1080))}}],C=n(93),S=n.n(C),L=n(51);n(783);var T,j=function(){var e;return{ups_d:null===(e=L.cookie.get("aep_usuc_f","ups_d"))||void 0===e?void 0:e.split("|"),t:L.cookie.get("aep_usuc_f","ups_u_t"),ups:L.cookie.get("aep_usuc_f","ae_u_p_s")}},P=function(){var e=j();return null==e?void 0:e.ups},A=n(6),E=[{name:"google",pages:[],component:function(){if("1"!=P()){var e,t,n,o,a,r;e=window,t=document,n="script",o="ga",e.GoogleAnalyticsObject=o,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,a=t.createElement(n),r=t.getElementsByTagName(n)[0],a.async=1,a.src="//www.google-analytics.com/analytics.js",r.parentNode.insertBefore(a,r),window.ga("create","UA-17640202-1","auto"),window.ga("require","ec"),ga((function(){var e,t=null===(e=ga.getByName("t0"))||void 0===e?void 0:e.get("clientId");t&&ga("set","dimension6",t)}));A.a.isLoggedIn()&&function(){var e;try{e=parseInt(window.localStorage.getItem("_dmp_tag_time_"))}catch(e){console.error(e)}return!e||!!(e&&e+864e5<(new Date).getTime())}()&&g.a.request({api:"mtop.aliexpress.adlink.google.queryDMPUserTag",v:"1.0"}).then((function(e){var t;if(null!=e&&null!==(t=e.data)&&void 0!==t&&t.result){var n=e.data.result,o=n.algoTag,a=n.bTag;ga("set",{dimension7:a,dimension8:o}),ga("send",{hitType:"event",eventCategory:"UserTag",eventAction:"Update",nonInteraction:!0}),window.localStorage.setItem("_dmp_tag_time_",(new Date).getTime())}})),window.ga("send","pageview"),function(e,t,n,o,a){e[o]=e[o]||[],e[o].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var r=t.getElementsByTagName(n)[0],i=t.createElement(n);i.async=!0,i.src="https://www.googletagmanager.com/gtm.js?id=GTM-5VJNN2G",r.parentNode.insertBefore(i,r)}(window,document,"script","dataLayer");var i=function(e){var t;(t=window).ga.apply(t,S()(e))};window._gaCache&&window._gaCache.length&&window._gaCache.forEach(i),window._gaCache={push:i}}}}],O=n(11),I=function(){var e=f()(p()().mark((function e(){var t;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object(O.a)("isLogout")){e.next=7;break}return e.next=4,Promise.all([n.e(0),n.e(2),n.e(7)]).then(n.bind(null,1053));case 4:t=e.sent,(0,t.logout)();case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=[{pages:[h.best,h.home],component:function(){var e=f()(p()().mark((function e(){var t;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([n.e(0),n.e(2),n.e(7),n.e(34)]).then(n.bind(null,1073));case 2:t=e.sent,(0,t.default)({forcePopupLogin:!0}),I();case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{pages:[h.detail,h.search],component:(T=f()(p()().mark((function e(){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([n.e(0),n.e(2),n.e(7),n.e(34)]).then(n.bind(null,1073));case 2:(0,e.sent.default)({forcePopupLogin:!1}),I();case 6:case"end":return e.stop()}}),e)}))),function(){return T.apply(this,arguments)})}],R=[{name:"facebook",pages:[],component:function(){if("1"!=P()){var e,t,n,o,a,r;e=window,t=document,n="script",e.fbq||(o=e.fbq=function(){o.callMethod?o.callMethod.apply(o,arguments):o.queue.push(arguments)},e._fbq||(e._fbq=o),o.push=o,o.loaded=!0,o.version="2.0",o.queue=[],(a=t.createElement(n)).async=!0,a.src="https://connect.facebook.net/en_US/fbevents.js",(r=t.getElementsByTagName(n)[0]).parentNode.insertBefore(a,r)),window.fbq("init","1650958108523345"),window.fbq("track","PageView");var i=function(e){window.fbq(S()(e))};window._fbCache&&window._fbCache.length&&window._fbCache.forEach(i),window._fbCache={push:i}}},deps:[]}],q=[{name:"rtb",pages:[h.home,h.detail,h.search,h.category,h.campaign,h.shopcart],component:function(){var e,t,n=function(e){if("1"!=P()){e=e||"other";try{!function(){var t="Ss52YF3IAd5cEVfrVcQ0",n=[];n.push("pr_"+t+"_"+e),n.push("pr_"+t+"_uid_unknown");var o="__rtbhouse.lid",a=window.localStorage.getItem(o);if(!a){a="";for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i=0;i<20;i++)a+=r.charAt(Math.floor(Math.random()*r.length));window.localStorage.setItem(o,a)}n.push("pr_"+t+"_lid_"+a);var c=document.createElement("iframe"),s=encodeURIComponent(document.referrer?document.referrer:""),l=encodeURIComponent(document.location.href?document.location.href:""),u="https://us.creativecdn.com/tags?type=iframe",p=encodeURIComponent(""+Date.now());for(i=0;ia||Y?n.e(28).then(n.bind(null,1088)):null}}],oe=n(784),ae=n.n(oe),re={isTranslate:!1,fromLang:null,toLang:null,country:A.a.getRegion(),locale:A.a.getLocale()},ie={logSend:!1},ce=function(){try{MutationObserver&&PerformanceObserver&&(new MutationObserver((function(){document.documentElement.className.match("translated")?re.isTranslate=!0:re.isTranslate=!1})).observe(document.documentElement,{attributes:!0,attributeFilter:["class"],childList:!1,characterData:!1}),new PerformanceObserver((function(e){var t,n=e.getEntries(),o=ae()(n);try{for(o.s();!(t=o.n()).done;){var a,r=t.value;if(r.name&&-1!==(null===(a=r.name)||void 0===a?void 0:a.indexOf("translate.googleapis.com/translate_a/t"))){var i=Object($.b)("sl",r.name),c=Object($.b)("tl",r.name);re.fromLang=i,re.toLang=c}}}catch(e){o.e(e)}finally{o.f()}})).observe({entryTypes:["resource"]}),document.addEventListener("visibilitychange",(function(){var e,t;document.hidden&&!ie.logSend&&(null===N.util||void 0===N.util||null===(e=N.util.tracker)||void 0===e||null===(t=e.clk)||void 0===t||t.call(e,{ae_button_type:"google_translate_collect",ae_object_value:JSON.stringify(re)}),ie.logSend=!0)})))}catch(e){}},se=(X={},b()(X,h.home,100),b()(X,h.detail,100),b()(X,"cart",100),b()(X,"placeorder",100),b()(X,"second_payment",100),b()(X,"pay_result",100),b()(X,"refund-amount",100),b()(X,"refund_spm",100),b()(X,"refund_cancel_spm",100),b()(X,"order_list",100),b()(X,h.campaign,100),X),le=!!Object($.b)("_f_translate_collect_"),ue=[{name:"google-translate-collect",pages:[h.home,h.detail,"cart","placeorder","second_payment","pay_result","refund-amount","refund_spm","refund_cancel_spm","order_list",h.campaign],component:function(e){var t=e.page,n=A.a.get("cna");((n?function(e){var t,n=0;for(t=0;t=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){s=!0,i=e},f:function(){try{c||null==n.return||n.return()}finally{if(s)throw i}}}},e.exports.__esModule=!0,e.exports.default=e.exports},93:function(e,t,n){var o=n(274),a=n(275),r=n(31),i=n(276);e.exports=function(e){return o(e)||a(e)||r(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports}}]);