Files
2026-11-16 01:39:59 +07:00

1 line
31 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp-ae-fe/cosmos-1"]=window["webpackJsonp-ae-fe/cosmos-1"]||[]).push([[8],{1081:function(e,t,n){"use strict";n.r(t);var i=n(0),r=n.n(i),a=n(1),o=n.n(a),s=n(8),u=n(28),c=n.n(u),l=n(45),p=n(58),f=n(53),d=n.n(f),h=n(41),_=n.n(h),m=(decodeURIComponent(location.href),_.a.getBuyerLocale()),g=["he_IL","ar_SA","iw_IL","ar_MA"].indexOf(m)>=0,v=n(692),b=n.n(v),w=(s.util.tracker,function(e){return d.a.request({api:"mtop.global.ug.webpush.subscribe",v:"1.0",appKey:24815441,timeout:4e3,type:"POST",data:e})}),k=function(e){var t,n,i;function r(e){return e.replace(/_/g,"-").toLowerCase()}return null!==(t=null===b.a||void 0===b.a||null===(n=b.a[r(m)])||void 0===n?void 0:n[e])&&void 0!==t?t:null===b.a||void 0===b.a||null===(i=b.a[r("en_US")])||void 0===i?void 0:i[e]},y=n(747),x=n.n(y),C=function(e){var t,n,i=Object(u.useCallback)((function(t){e.destroy(t)}),[]);return Object(p.e)()?(n=(null===(t=window.__webpushConfig)||void 0===t?void 0:t.lang)||{},c.a.createElement("div",{className:x.a["webpush-msite-mask"]},c.a.createElement("div",{className:x.a["webpush-msite"]},c.a.createElement("div",{className:x.a["webpush-msite-title"]},n.title||"Get order and savings updates"),c.a.createElement("div",{className:x.a["webpush-msite-desc"]},n.subTitle||"We’ll notify you about order status, special savings, store events and more."),c.a.createElement("div",{className:x.a["webpush-msite-tips"]},n.btnTips||"Notifications can be turned off later"),c.a.createElement("div",{className:x.a["webpush-msite-button"],onClick:function(){var e,t;i("auth"),null===(e=window.__webpushConfig)||void 0===e||null===(t=e.onClick)||void 0===t||t.call(e)}},n.btnContext||"Get notifications"),c.a.createElement("div",{className:x.a["webpush-msite-cancel"],onClick:function(){var e,t;i("reject"),null===(e=window.__webpushConfig)||void 0===e||null===(t=e.onClose)||void 0===t||t.call(e)}},n.cancelBtnText||"Maybe later")))):c.a.createElement("div",{className:x.a["webpush-ui"]+" "+(g?x.a.rtl:"")},c.a.createElement("div",{className:x.a["webpush-ui__logo"]},c.a.createElement("img",{src:"https://img.alicdn.com/tfs/TB1OQux3hD1gK0jSZFsXXbldVXa-134-32.png",alt:"aliexpress"})),c.a.createElement("div",{className:x.a["webpush-ui-info"]},c.a.createElement("div",{className:""+x.a["webpush-ui-info__title"]},k("title")),c.a.createElement("div",{className:x.a["webpush-ui-info__subTitle"]},k("sub-title")),c.a.createElement("div",{className:x.a["webpush-ui-info__operate"]},c.a.createElement("div",{className:(x.a.allow||"")+" "+x.a["web-push-info__base"],onClick:i.bind(null,"auth")},k("Allow")),c.a.createElement("div",{className:x.a.prohibit+" "+x.a["web-push-info__base"],onClick:i.bind(null,"reject")},k("Prohibit")))),c.a.createElement("img",{className:x.a["web-push-ui__close"],onClick:i.bind(null,"close"),src:"https://img.alicdn.com/tfs/TB1GSux3fb2gK0jSZK9XXaEgFXa-21-21.png",alt:""}))};var A=n(4),F=n.n(A),P=n(6);n(431);var S="postMessage"in window;function E(e,t,n){var i="";if(arguments.length<2?i="target error - target and name are both required":"object"!=typeof e?i="target error - target itself must be window object":"string"!=typeof t&&(i="target error - target name must be string type"),i)throw new Error(i);this.target=e,this.name=t,this.prefix=n}function O(e,t){this.targets={},this.name=e,this.listenFunc=[],this.prefix=t||"[PROJECT_NAME]",this.initListen()}E.prototype.send=S?function(e){this.target.postMessage(this.prefix+"|"+this.name+"__Messenger__"+e,"*")}:function(e){var t=window.navigator[this.prefix+this.name];if("function"!=typeof t)throw new Error("target callback function is not defined");t(this.prefix+e,window)},O.prototype.addTarget=function(e,t){var n=new E(e,t,this.prefix);this.targets[t]=n},O.prototype.initListen=function(){var e=this,t=function(t){if("object"==typeof t&&t.data&&t.data.indexOf&&t.data.indexOf("__Messenger__")>=0)for(var n=(t=t.data).split("__Messenger__"),i=(t=n[1],n[0].split("|")),r=i[0],a=i[1],o=0;o<e.listenFunc.length;o++)r+a===e.prefix+e.name&&e.listenFunc[o](t)};S?"addEventListener"in document?window.addEventListener("message",t,!1):"attachEvent"in document&&window.attachEvent("onmessage",t):window.navigator[this.prefix+this.name]=t},O.prototype.listen=function(e){for(var t=0,n=this.listenFunc.length,i=!1;t<n;t++)if(this.listenFunc[t]==e){i=!0;break}i||this.listenFunc.push(e)},O.prototype.clear=function(){this.listenFunc=[]},O.prototype.send=function(e){var t,n=this.targets;for(t in n)n.hasOwnProperty(t)&&n[t].send(e)};var N,I=new O("webpush-client-v1-parent",void 0),j=function(e,t){I.send(JSON.stringify({type:e,payload:t}))},U=2592e5,$=s.util.tracker;!function(e){e.granted="granted",e.denied="denied",e.default="default"}(N||(N={}));var z,D,M,T,L,R,B=function(e){throw $.clk({ae_button_type:"msite.webpush.suberror",ae_object_value:e||""}),j("store",{token:"",expired:+new Date+U,status:N.denied}),new Error(e)},X=function(e){var t=e.getKey?e.getKey("p256dh"):"",n=e.getKey?e.getKey("auth"):"";return{endpoint:e.endpoint,p256dhPublicKey:t?btoa(String.fromCharCode.apply(null,Array.from(new Uint8Array(t)))):"",auth:n?btoa(String.fromCharCode.apply(null,Array.from(new Uint8Array(n)))):""}},Z=function(){var e=r()(o.a.mark((function e(t,n){var i,r,a,s,u,c,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=t&&t.endpoint){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,u=new URL(location.href),c=F()({id:n.token||void 0,userId:P.a.getMemberId(),channel:Object(p.e)()?"msite":"pc",srcOrigin:""+u.origin+u.pathname,cnaCookieId:P.a.get("cna"),domain:location.hostname,lang:P.a.getLocale(),region:P.a.getRegion(),ua:window.navigator.userAgent},X(t)),e.next=7,w(c);case 7:return null!=(l=e.sent)&&null!==(i=l.data)&&void 0!==i&&null!==(r=i.data)&&void 0!==r&&r.cacheTime&&(U=1e3*l.data.data.cacheTime),j("store",{token:null==l||null===(a=l.data)||void 0===a||null===(s=a.data)||void 0===s?void 0:s.id,expired:+new Date+U,status:N.granted,endpoint:t.endpoint,domain:location.hostname}),e.abrupt("return",l);case 13:return e.prev=13,e.t0=e.catch(2),e.abrupt("return",null);case 16:case"end":return e.stop()}}),e,null,[[2,13]])})));return function(t,n){return e.apply(this,arguments)}}(),K=function(){var e=r()(o.a.mark((function e(t,n){var i,r,a,s,u,c,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=new URL(location.href),c=F()({id:n,type:n?"updateUid":"new",channel:Object(p.e)()?"msite":"pc",srcOrigin:""+u.origin+u.pathname,ua:window.navigator.userAgent},X(t)),P.a.getMemberId()&&(c.userId=P.a.getMemberId()),P.a.get("cna")&&(c.cnaCookieId=P.a.get("cna")),c.domain=location.hostname,c.lang=P.a.getLocale(),c.region=P.a.getRegion(),$.clk({ae_button_type:"msite.webpush.savePush"}),e.next=10,w(c);case 10:null!=(l=e.sent)&&null!==(i=l.data)&&void 0!==i&&null!==(r=i.data)&&void 0!==r&&r.cacheTime&&(U=1e3*l.data.data.cacheTime),j("store",{token:null==l||null===(a=l.data)||void 0===a||null===(s=a.data)||void 0===s?void 0:s.id,expired:+new Date+U,status:N.granted,endpoint:t.endpoint,domain:location.hostname});case 13:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),J=function(e){for(var t=(e+"=".repeat((4-e.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),n=window.atob(t),i=new Uint8Array(n.length),r=0;r<n.length;++r)i[r]=n.charCodeAt(r);return i},W=function(){var e=r()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,navigator.serviceWorker.ready;case 3:return t=e.sent,e.next=6,t.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:J("BIGeWzIKODFi_GHGhLIeDL0fJbn5Zafo7g-i5ZBBTKKm0mqhi2Trsm2jYdgC16oWZTteMpliALI9J1kXtWL9KFQ")});case 6:n=e.sent,K(n),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),B("Error during getSubscription() "+e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}(),G=function(){var e=r()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"showNotification"in ServiceWorkerRegistration.prototype||B("Notifications aren't supported."),"denied"===Notification.permission&&($.clk({ae_button_type:"msite.webpush.denied"}),B("The user has blocked notifications.")),"PushManager"in window||B("Push messaging isn't supported."),e.prev=3,e.next=6,navigator.serviceWorker.ready;case 6:return t=e.sent,e.next=9,t.pushManager.getSubscription();case 9:if(n=e.sent){e.next=14;break}return $.clk({ae_button_type:"msite.webpush.showPopup"}),W(),e.abrupt("return");case 14:K(n),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),B("Error during init sub() "+e.t0);case 20:case"end":return e.stop()}}),e,null,[[3,17]])})));return function(){return e.apply(this,arguments)}}(),q=(L=new Promise((function(e){return z=e})),{inited:function(){var e;null===(e=z)||void 0===e||e()},isInit:function(){return L},setData:function(e){var t;T=e,null===(t=M)||void 0===t||t()},getData:function(){return r()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return D=new Promise((function(e){return M=e})),j("getStore"),e.next=4,D;case 4:return e.abrupt("return",T);case 5:case"end":return e.stop()}}),e)})))()}}),V={receiveGrantData:function(e){return r()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{n=JSON.parse(e)}catch(e){n=null}q.setData(n);case 2:case"end":return t.stop()}}),t)})))()},inited:function(){q.inited()}},Q=function(){var e,t,n;return R||(t="https://wp.aliexpress.com/wp.html",(n=document.createElement("iframe")).src=t,n.style.display="none",document.body.append(n),R=n,I.addTarget(R.contentWindow,"webpush-client-v1-child"),e=V,I.listen((function(t){if(t)try{var n,i,r=JSON.parse(t);Object.keys(e).indexOf(r.type)>-1&&(n=e)[r.type].apply(n,null!==(i=null==r?void 0:r.payload)&&void 0!==i?i:[])}catch(e){}}))),R},Y=function(){var e=r()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,Q(),e.next=4,q.isInit();case 4:return e.abrupt("return",q.getData());case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",null);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}(),H=function(){var e=r()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:$.clk({ae_button_type:"msite.webpush.initpush"}),G();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ee=function(){var e=r()(o.a.mark((function e(){var t,n,i,r,a,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Y();case 2:return t=e.sent,$.clk({ae_button_type:"msite.webpush.logrecord",ae_object_value:t?JSON.stringify(t):"empty record"}),e.next=6,navigator.serviceWorker.ready;case 6:return n=e.sent,e.next=9,n.pushManager.getSubscription();case 9:if(!(i=e.sent)){e.next=17;break}if(r=F()({},t,{status:N.granted}),t&&null!=t&&t.token&&!(t.token&&Date.now()>(t.expired||0))){e.next=16;break}return $.clk({ae_button_type:"msite.webpush.updateInfo"}),e.next=16,Z(i,r);case 16:return e.abrupt("return",!0);case 17:if((null==t?void 0:t.status)!==N.granted){e.next=25;break}return e.next=20,!!(o=(null==t?void 0:t.endpoint)||"")&&d.a.request({api:"mtop.global.ug.webpush.check",v:"1.0",appKey:24815441,timeout:4e3,type:"POST",data:{endpoint:o}});case 20:if(null==(s=e.sent)||null===(a=s.data)||void 0===a||!a.data){e.next=23;break}return e.abrupt("return",!0);case 23:return j("store",{token:"",expired:+new Date+U,status:N.default}),e.abrupt("return",!1);case 25:if((null==t?void 0:t.status)!==N.denied){e.next=27;break}return e.abrupt("return",Date.now()<(t.expired||0));case 27:return e.abrupt("return",!1);case 28:case"end":return e.stop()}var o}),e)})));return function(){return e.apply(this,arguments)}}();n(691);var te,ne=s.util.tracker;!function(e){e.auth="auth",e.reject="reject"}(te||(te={})),function(){var e=r()(o.a.mark((function e(){var t,n,i,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!/(Googlebot)|(facebookexternalhit)|(Pinterest)|(Yeti)|(YandexBot)/i.test(navigator.userAgent)&&"PushManager"in window){e.next=2;break}return e.abrupt("return");case 2:return n=JSON.parse((null===(t=window)||void 0===t?void 0:t.localStorage.getItem("webpush-auth-popup"))||"{}"),e.next=5,ee();case 5:if(e.sent){e.next=16;break}if(!("shown"===(null==n?void 0:n.status)&&Date.now()-(null==n?void 0:n.date)<=2592e5)){e.next=9;break}return e.abrupt("return");case 9:return ne.exp({exp_type:"msite.webpush.authdialog.show"}),null===(i=window)||void 0===i||i.localStorage.setItem("webpush-auth-popup",JSON.stringify({date:+new Date,status:"shown"})),e.next=13,new Promise((function(e){var t=document.createElement("div");document.body.append(t),Object(l.render)(c.a.createElement(C,{destroy:function(n){Object(l.unmountComponentAtNode)(t),e(n)}}),t)}));case 13:r=e.sent,ne.clk({ae_button_type:"msite.webpush.authdialog."+r}),r===te.auth&&H();case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()},41:function(e,t,n){"use strict";var i=n(42).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(43)),a=i(n(44)),o=i(n(48)),s=n(49),u=new(function(){function e(){(0,r.default)(this,e),this.siteFormat=/^[a-z]{3}(_[a-z]{1})?$/,this.x_localeFormat=/^[a-z]{2}_[A-Z]{2}$/,this.s_localeFormat=/^[a-z]{2}_[A-Z]{2}$/,this.b_localeFormat=/^[a-z]{2}_[A-Z]{2}$/,this.c_tpFormat=/^[A-Z]{3}$/,this.regionFormat=/^[A-Z]{2,3}$/,this.provinceFormat=/^[0-9]{18}$/,this.cityFormat=/^[0-9]{18}$/,this.siFormat=/^(glo|rus|bra|esp|idn|fra|deu|ita)$/,this.signFormat=/^(y|n)$/,this.rmb_ppFormat=/^.*$/,this.x_userFormat=/^.*$/,this.issFormat=/^(y)$/,this.isbFormat=/^(y)$/,this.ispmFormat=/^(y)$/,this.isksFormat=/^(y)$/,this.isgclFormat=/^(y)$/,this.reg_verFormat=/^(new|old)$/,this.x_lFormat=/^[01]{1}$/,this.ber_lFormat=/^A\d$/,this.zero_orderFormat=/^(y)$/,this.ae_u_p_sFormat=/^[012]{1}$/,this.ups_dFormat=/^[01\|]{7,}$/,this.ups_u_tFormat=/^[0-9]{13,}$/,this.re_snsFormat=/^.*$/,this.x_csrfFormat=/^.*$/,this.x_c_chgFormat=/^[01]{1}$/,this.x_c_syncedFormat=/^[01]{1}$/,this.acs_rtFormat=/^[A-Za-z0-9]+$/,this.alimidFormat=/^[0-9]+$/,this.x_as_iFormat=/^([A-Za-z0-9]|(%))+/,this.x_lidFormat=/^[A-Za-z0-9]+$/}return(0,a.default)(e,[{key:"get",value:function(e,t){return o.default.get(e,t)}},{key:"_setcookie",value:function(e,t,n){if(n&&!this.validate(t,n))return!1;var i=o.default.get(e,{domain:(0,s.getFixedDomainUrl)(),path:"/",raw:!0})||"";i=new RegExp("(.*&?"+t+"=)(.*?)(&.*|$)").test(i)?RegExp.$1+n+RegExp.$3:(i?i+"&":"")+t+"="+n,o.default.set(e,i,{domain:(0,s.getFixedDomainUrl)(),path:"/",expires:3650,raw:!0})}},{key:"_getCookie",value:function(e,t){var n=o.default.get(e,{domain:(0,s.getFixedDomainUrl)(),path:"/",raw:!0})||"",i=new RegExp("(.*&?"+t+"=)(.*?)(&.*|$)");n.match(i);var r=RegExp.$2;return i.test(n)&&this.validate(t,r)?r:""}},{key:"validate",value:function(e,t){return!/(&|=)/.test(t)&&!!(t&&this[e+"Format"]&&this[e+"Format"].test(t))}},{key:"getMSite",value:function(e,t){var n=o.default.get(e,{domain:"m.aliexpress.com",path:"/",raw:!0})||"",i=new RegExp("(.*&?"+t+"=)(.*?)(&.*|$)");n.match(i);var r=RegExp.$2;return i.test(n)&&this.validate(t,r)?r:""}},{key:"setSite",value:function(e){this._setcookie("aep_usuc_f","site",e)}},{key:"getSite",value:function(){return this._getCookie("aep_usuc_f","site")}},{key:"setRegion",value:function(e){this._setcookie("aep_usuc_f","region",e)}},{key:"getRegion",value:function(){return this._getCookie("aep_usuc_f","region")}},{key:"setProvince",value:function(e){this._setcookie("aep_usuc_f","province",e)}},{key:"getProvince",value:function(){return this._getCookie("aep_usuc_f","province")}},{key:"setCity",value:function(e){this._setcookie("aep_usuc_f","city",e)}},{key:"getCity",value:function(){return this._getCookie("aep_usuc_f","city")}},{key:"getAlimid",value:function(){return this._getCookie("aep_usuc_f","alimid")}},{key:"getMsiteProvince",value:function(){return o.default.get("ae-msite-province",{domain:(0,s.getFixedDomainUrl)(),path:"/",raw:!0})||""}},{key:"getMsiteCity",value:function(){return o.default.get("ae-msite-city",{domain:(0,s.getFixedDomainUrl)(),path:"/",raw:!0})||""}},{key:"setCurrency",value:function(e){this._setcookie("aep_usuc_f","c_tp",e)}},{key:"getCurrency",value:function(){return this._getCookie("aep_usuc_f","c_tp")}},{key:"setLocale",value:function(e){this._setcookie("xman_us_f","x_locale",e)}},{key:"getLocale",value:function(){return this._getCookie("xman_us_f","x_locale")}},{key:"setSellerLocale",value:function(e){o.default.set("intl_locale",e,{domain:(0,s.getFixedDomainUrl)(),path:"/",expires:365,raw:!0}),this.setLocale(e),this._setcookie("aep_usuc_f","s_locale",e)}},{key:"getSellerLocale",value:function(){return this._getCookie("aep_usuc_f","s_locale")}},{key:"setBuyerLocale",value:function(e){this.setLocale(e),this._setcookie("aep_usuc_f","b_locale",e)}},{key:"getBuyerLocale",value:function(){return this._getCookie("aep_usuc_f","b_locale")}},{key:"getSign",value:function(){return this._getCookie("xman_us_t","sign")}},{key:"isLoggedIn",value:function(){return"y"==this.getSign()}},{key:"getLoginId",value:function(){return this._getCookie("xman_us_t","rmb_pp")}},{key:"getIss",value:function(){return this._getCookie("aep_usuc_f","iss")}},{key:"isSeller",value:function(){return"y"===this.getIss()}},{key:"getIsb",value:function(){return this._getCookie("aep_usuc_f","isb")}},{key:"isBuyer",value:function(){return"y"===this.getIsb()}},{key:"getIsks",value:function(){return this._getCookie("aep_usuc_f","isks")}},{key:"isKaSeller",value:function(){return"y"===this.getIsks()}},{key:"getIsgcl",value:function(){return this._getCookie("aep_usuc_f","isgcl")}},{key:"isGreenChannel",value:function(){return"y"===this.getIsgcl()}},{key:"getIspm",value:function(){return this._getCookie("aep_usuc_f","ispm")}},{key:"isPremiumMember",value:function(){return"y"===this.getIspm()}},{key:"getIsfm",value:function(){return this._getCookie("aep_usuc_f","isfm")}},{key:"isFreeMember",value:function(){return"y"===this.getIsfm()}},{key:"getRegVer",value:function(){return this._getCookie("aep_usuc_f","reg_ver")}},{key:"getOversea",value:function(){return this._getCookie("xman_us_f","x_l")}},{key:"isOversea",value:function(){return"1"!==this.getOversea()}},{key:"_getXUserRaw",value:function(){return this._getCookie("xman_us_f","x_user")}},{key:"getXUserObj",value:function(){var e={country:"",firstName:"",lastName:"",memberSeq:""},t=(this._getXUserRaw()||"").split("|");return t.length>=5&&(e.country=t[0],e.firstName=t[1].replace(/</g,"&lt;").replace(/>/g,"&gt;"),e.lastName=t[2].replace(/</g,"&lt;").replace(/>/g,"&gt;"),e.memberSeq=t[4]),e}},{key:"getMemberSeq",value:function(){return this.getXUserObj().memberSeq}},{key:"isNewUser",value:function(){return""===this.getXUserObj().memberSeq}},{key:"setAETest",value:function(){}},{key:"getAETest",value:function(){return""}},{key:"getBerL",value:function(){return this._getCookie("aep_usuc_t","ber_l")}},{key:"getZeroOrder",value:function(){return this._getCookie("xman_us_f","zero_order")}},{key:"isZeroOrderUser",value:function(){return"y"===this.getZeroOrder()}},{key:"getAeUps",value:function(){return this._getCookie("aep_usuc_f","ae_u_p_s")}},{key:"setAeUps",value:function(e){return this._setcookie("aep_usuc_f","ae_u_p_s",e)}},{key:"getAeUpsDetail",value:function(){return this._getCookie("aep_usuc_f","ups_d")}},{key:"setAeUpsDetail",value:function(e){return this._setcookie("aep_usuc_f","ups_d",e)}},{key:"getAeUpsTime",value:function(){return this._getCookie("aep_usuc_f","ups_u_t")}},{key:"setAeUpsTime",value:function(e){return this._setcookie("aep_usuc_f","ups_u_t",e)}},{key:"getReSns",value:function(){return this._getCookie("aep_usuc_f","re_sns")}},{key:"getCsrfToken",value:function(){var e=this._getCookie("acs_usuc_t","x_csrf");return e||(window.__bl&&window.__bl.api?window.__bl.error(new Error("Cookie.getCsrfToken error")):window.__bl&&(window.__bl.pipe=window.__bl.pipe||[],window.__bl.pipe.push(["error",new Error("Cookie.getCsrfToken error")]))),e}},{key:"getXmanCookieChanged",value:function(){return this._getCookie("xman_us_f","x_c_chg")}},{key:"setXmanCookieChanged",value:function(e){return this._setcookie("xman_us_f","x_c_chg",""+e)}},{key:"getXmanCookieSynced",value:function(){return this._getCookie("xman_us_f","x_c_synced")}},{key:"setXmanCookieSynced",value:function(e){return this._setcookie("xman_us_f","x_c_synced",""+e)}},{key:"getACS_RT",value:function(){return this._getCookie("xman_us_f","acs_rt")}},{key:"getX_AS_I",value:function(){return this._getCookie("xman_us_f","x_as_i")}},{key:"getCNA",value:function(){return o.default.get("cna",{domain:(0,s.getFixedDomainUrl)(),path:"/",raw:!0})||""}},{key:"getAliApacheId",value:function(){return o.default.get("ali_apache_id",{domain:(0,s.getFixedDomainUrl)(),path:"/",raw:!0})||""}},{key:"getAeucid",value:function(){return o.default.get("aeu_cid",{domain:(0,s.getFixedDomainUrl)(),path:"/",raw:!0})||""}}]),e}());window.lib=window.lib||{},window.lib.cookie=u;var c=u;t.default=c},42:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},43:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},431:function(e,t){},44:function(e,t,n){var i=n(46);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},48:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={},r=decodeURIComponent,a=encodeURIComponent;function o(e){return"string"==typeof e}function s(e){return o(e)&&""!==e}function u(e){if(!s(e))throw new TypeError("Cookie name must be a non-empty string")}function c(e){return e}i.get=function(e,t){u(e),t="function"==typeof t?{converter:t}:t||{};var n=function(e,t){var n={};if(o(e)&&e.length>0)for(var i,a,s,u=t?r:c,l=e.split(/;\s/g),p=0,f=l.length;p<f;p++){if((s=l[p].match(/([^=]+)=/i))instanceof Array)try{i=r(s[1]),a=u(l[p].substring(s[1].length+1))}catch(e){}else i=r(l[p]),a="";i&&(n[i]=a)}return n}(document.cookie,!t.raw);return(t.converter||c)(n[e])},i.set=function(e,t,n){u(e);var i=(n=n||{}).expires,r=n.domain,o=n.path;n.raw||(t=a(String(t)));var c=e+"="+t,l=i;return"number"==typeof l&&(l=new Date).setDate(l.getDate()+i),l instanceof Date&&(c+="; expires="+l.toUTCString()),s(r)&&(c+="; domain="+r),s(o)&&(c+="; path="+o),n.secure&&(c+="; secure"),document.cookie=c,c},i.remove=function(e,t){return(t=t||{}).expires=new Date(0),this.set(e,"",t)};var l=i;t.default=l},49:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFixedDomainUrl=function(){return r};var i,r="aliexpress.com";"object"==typeof window&&(i=window.location.host.match(/(\w+\.\w+)$/))&&(r=i[1])},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return c}));var i=n(5),r=function(){return i.g?Object(i.e)():navigator.userAgent},a=/(phone|pad|pod|iPhone|iPod|iPad|ios|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i,o=function(){var e=r();return a.test(e)};function s(){var e=r();return/AliApp\(AE/.test(e)}function u(){var e=r();return/iPhone/.test(e)||/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(e)}function c(){var e=r();return/Android/.test(e)||/Adr/.test(e)}},691:function(e,t,n){"use strict";n.r(t);n(431)},692:function(e,t,n){var i={};for(var r in i["en-us"]=n(693),i["ar-sa"]=n(694),i.kn=n(695),i.as=n(696),i.bho=n(697),i["pl-pl"]=n(698),i["ko-kr"]=n(699),i["de-de"]=n(700),i["ru-ru"]=n(701),i["fr-fr"]=n(702),i.gu=n(703),i["nl-nl"]=n(704),i["my-mm"]=n(705),i["bn-bd"]=n(706),i["bn-in"]=n(707),i.mr=n(708),i["ms-my"]=n(709),i.ml=n(710),i.mni=n(711),i["ne-np"]=n(712),i.or=n(713),i["pt-br"]=n(714),i["pt-pt"]=n(715),i.pa=n(716),i["ja-jp"]=n(717),i["si-lk"]=n(718),i["tr-tr"]=n(719),i["tl-ph"]=n(720),i.te=n(721),i.ta=n(722),i["th-th"]=n(723),i["ur-pk"]=n(724),i["ur-in"]=n(725),i["uk-ua"]=n(726),i["iw-il"]=n(727),i["es-es"]=n(728),i["it-it"]=n(729),i["in-id"]=n(730),i["hi-in"]=n(731),i["vi-vn"]=n(732),i["en-pk"]=n(733),i["en-ph"]=n(734),i["en-mm"]=n(735),i["en-bd"]=n(736),i["en-my"]=n(737),i["en-np"]=n(738),i["en-lk"]=n(739),i["en-th"]=n(740),i["en-sg"]=n(741),i["en-id"]=n(742),i["en-vn"]=n(743),i["zh-tw"]=n(744),i["zh-hk"]=n(745),i["zh-cn"]=n(746),i)if(i.hasOwnProperty(r)&&"en-us"!=r)for(var a in i["en-us"])i["en-us"].hasOwnProperty(a)&&(i[r].hasOwnProperty(a)||(i[r][a]=i["en-us"][a]));i.appName="web-push-v2",i.groupName="front",i.defaultLocale="en-us",e.exports=i},693:function(e,t){e.exports={Allow:"Allow","sub-title":"Get order updates, tips about the latest discounts, coupons and more!",title:"Subscribe to notifications",Prohibit:"Don't allow"}},694:function(e,t){e.exports={Prohibit:"عدم السماح",Allow:"السماح","sub-title":"استلم تحديثات الطلب، نصائح حول أحدث الخصومات، القسائم وأكثر!",title:"الاشتراك في الإشعارات"}},695:function(e,t){e.exports={}},696:function(e,t){e.exports={}},697:function(e,t){e.exports={}},698:function(e,t){e.exports={Prohibit:"Nie zezwalaj",title:"Zezwalaj na powiadomienia ze strony","sub-title":"Otrzymuj aktualne informacje o zamówieniach, zniżkach, kuponach i inne!",Allow:"Zezwalaj"}},699:function(e,t){e.exports={"sub-title":"주문 현황 업데이트, 최신 할인 팁, 그리고 쿠폰까지 알려드려요!",Allow:"설정하기",Prohibit:"설정 안 함",title:"사이트 알림을 등록하세요"}},700:function(e,t){e.exports={Prohibit:"Nicht zulassen",Allow:"Zulassen",title:"Website-Benachrichtigungen erlauben","sub-title":"Erhalten Sie Neuigkeiten zu Bestellungen, Tipps zu den neuesten Rabatten, Coupons und mehr!"}},701:function(e,t){e.exports={"sub-title":"Вы будете получать оповещения о заказах, скидках, купонах и распродажах",Allow:"Разрешить",Prohibit:"Отклонить",title:"Разрешить уведомления"}},702:function(e,t){e.exports={Allow:"Autoriser","sub-title":"Recevez des alertes sur les commandes, des conseils de promos, des coupons et plus encore !",Prohibit:"Ne pas autoriser",title:"S'abonner aux notifications"}},703:function(e,t){e.exports={}},704:function(e,t){e.exports={Allow:"Toestaan",title:"Websitemeldingen toestaan","sub-title":"Ontvang bestelupdates, tips over de nieuwste kortingen, coupons en meer!",Prohibit:"Niet toestaan"}},705:function(e,t){e.exports={}},706:function(e,t){e.exports={}},707:function(e,t){e.exports={}},708:function(e,t){e.exports={}},709:function(e,t){e.exports={}},710:function(e,t){e.exports={}},711:function(e,t){e.exports={}},712:function(e,t){e.exports={}},713:function(e,t){e.exports={}},714:function(e,t){e.exports={Prohibit:"Não permitir","sub-title":"Receba alertas sobre atualizações de pedidos, últimos descontos, cupons e muito mais!",Allow:"Permitir",title:"Inscrever-se para notificações"}},715:function(e,t){e.exports={Prohibit:"Não permitir",title:"Inscrever-se para notificações","sub-title":"Receba alertas sobre atualizações de pedidos, últimos descontos, cupons e muito mais!",Allow:"Permitir"}},716:function(e,t){e.exports={}},717:function(e,t){e.exports={"sub-title":"注文のアップデート、ヒント、最新のセール情報、クーポンなどの情報を受けとりましょう!",title:"サイトの通知を許可",Prohibit:"許可しない",Allow:"許可する"}},718:function(e,t){e.exports={}},719:function(e,t){e.exports={Prohibit:"İzin verme",title:"Bildirim almak için abone olun","sub-title":"Sipariş güncellemeleri, indirimler hakkında ipuçları, kuponlar ve daha fazlasını öğrenin!",Allow:"İzin ver"}},720:function(e,t){e.exports={}},721:function(e,t){e.exports={}},722:function(e,t){e.exports={}},723:function(e,t){e.exports={Prohibit:"ไม่อนุญาต",title:"อนุญาติให้เว็บไซต์แจ้งเตือน",Allow:"อนุญาต","sub-title":"รับการอัปเดตคำสั่งซื้อ เคล็ดลับเกี่ยวกับส่วนลดล่าสุด คูปอง และอื่น ๆ !"}},724:function(e,t){e.exports={}},725:function(e,t){e.exports={}},726:function(e,t){e.exports={"sub-title":"Отримуйте нові відомості про замовлення, поради щодо нових знижок, купонів і багато іншого!",Allow:"Дозволити",Prohibit:"Не дозволяти",title:"Дозволити сповіщення із сайту"}},727:function(e,t){e.exports={"sub-title":"קבלו עדכונים על הזמנות, טיפים על ההנחות האחרונות, קופונים ועוד!",Allow:"אפשרו",Prohibit:"אל תאפשרו",title:"הירשמו לקבלת הודעות"}},728:function(e,t){e.exports={Allow:"Permitir",title:"Suscríbete a las notificaciones",Prohibit:"No permitir","sub-title":"Recibe actualizaciones de tus pedidos, consejos sobre descuentos, cupones, ¡y más!"}},729:function(e,t){e.exports={"sub-title":"Ricevi aggiornamenti sugli ordini, consigli sugli ultimi sconti, coupon e altro ancora!",title:"Consenti le notifiche del sito",Prohibit:"Non consentire",Allow:"Consenti"}},730:function(e,t){e.exports={Prohibit:"Jangan izinkan",title:"Izinkan notifikasi situs","sub-title":"Dapatkan kabar terbaru tentang pesanan, tips seputar diskon terbaru, kupon, dll!",Allow:"Izinkan"}},731:function(e,t){e.exports={}},732:function(e,t){e.exports={Allow:"Cho phép","sub-title":"Nhận cập nhật đơn hàng, tin mới nhất về các đợt chiết khấu, phiếu mua hàng và hơn thế nữa!",title:"Bật thông báo từ trang web",Prohibit:"Không cho phép"}},733:function(e,t){e.exports={}},734:function(e,t){e.exports={}},735:function(e,t){e.exports={}},736:function(e,t){e.exports={}},737:function(e,t){e.exports={}},738:function(e,t){e.exports={}},739:function(e,t){e.exports={}},740:function(e,t){e.exports={}},741:function(e,t){e.exports={}},742:function(e,t){e.exports={}},743:function(e,t){e.exports={}},744:function(e,t){e.exports={}},745:function(e,t){e.exports={}},746:function(e,t){e.exports={}},747:function(e,t,n){e.exports={"webpush-ui":"_3KrBP",rtl:"_3XMV3","web-push-ui__close":"_24EHh","webpush-ui-info":"_1-aaU","webpush-ui__logo":"UAEqK","webpush-ui-info__title":"_1u9ll","webpush-ui-info__subTitle":"_3hbpp","webpush-ui-info__operate":"_1ZwH_","web-push-info__base":"_1-SOk",prohibit:"Sk1_X","webpush-msite-mask":"_1iaRg","webpush-msite":"_2ylEo","webpush-msite-title":"_3EVjL","webpush-msite-desc":"_3LwwY","webpush-msite-tips":"_2kACT","webpush-msite-button":"_2mjF9","webpush-msite-cancel":"_2F-Xx"}}}]);