PageSourceSearch

https://bmcarrental.com/group89/vendor/static-id.zacdn.com/next-as…/_next/static/chunks/33lwmoun9jduc.js

js bmcarrental.com collected 2026-10-10 02:43:47 UTC 28,732 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="7e7c479c-ba63-b169-5fe1-2ef69a2ae877")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,940472,414341,e=>{"use strict";var t=e.i(913182),r=e.i(877965),n=e.i(749654),o=e.i(192842);e.s(["add",0,function(e,a,s){let{years:i=0,months:l=0,weeks:u=0,days:c=0,hours:E=0,minutes:d=0,seconds:g=0}=a,A=(0,o.toDate)(e,s?.in),m=l||i?(0,r.addMonths)(A,l+12*i):A,_=c||u?(0,t.addDays)(m,c+7*u):m;return(0,n.constructFrom)(s?.in||e,+_+1e3*(g+60*(d+60*E)))}],940472);var a=e.i(70549);e.s(["addHours",0,function(e,t,r){var s;return s=t*a.millisecondsInHour,(0,n.constructFrom)(r?.in||e,+(0,o.toDate)(e)+s)}],414341)},877965,218495,e=>{"use strict";var t=e.i(749654),r=e.i(192842);function n(e,n,o){let a=(0,r.toDate)(e,o?.in);if(isNaN(n))return(0,t.constructFrom)(o?.in||e,NaN);if(!n)return a;let s=a.getDate(),i=(0,t.constructFrom)(o?.in||e,a.getTime());return(i.setMonth(a.getMonth()+n+1,0),s>=i.getDate())?i:(a.setFullYear(i.getFullYear(),i.getMonth(),s),a)}e.s(["addMonths",0,n],877965),e.s(["addYears",0,function(e,t,r){return n(e,12*t,r)}],218495)},164025,e=>{"use strict";e.s(["ApiError",0,class extends Error{url;message;type;code;status;data;constructor({message:e,code:t,status:r,data:n,url:o,type:a}){super(e),this.name="ApiError",this.url=o,this.message=e,this.type=a,this.code=t,this.status=r,this.data=n}}])},822181,e=>{"use strict";let t,r,n,o;var a=e.i(186089),s=e.i(689292),i=e.i(465020),l=e.i(631163),u=e.i(67132);let c=(t=(0,l.getEnvConfiguration)("REVISION")||"dev-local",r=(0,u.default)()?a.default.env.DOR_API_HOST_INTERNAL:(0,l.getEnvConfiguration)("DOR_API_HOST_EXTERNAL"),(0,s.createClient)({baseUrl:`${r}/v1`,defaultTimeout:3e4,defaultHeaders:{Accept:"application/json",...(0,u.default)()?{"User-Agent":(n=`zalora/lotus-${t}`,"true"===a.default.env.IS_PLAYWRIGHT&&(o=n,n=`${o} AppsQAAutomation SHOPQALotusAutomation`),n)}:{"Content-Language":(0,i.getLocaleByDomain)(location.hostname)}}}));e.s(["default",0,c],822181)},116846,e=>{"use strict";var t=e.i(248939),r=e.i(631163),n=e.i(164025);let o=async e=>{let t=null;try{t=e.clone();let{err_code:r,err_info:o}=await e.json();return new n.ApiError({message:o,code:r,status:e.status,url:e.url,type:e.type})}catch{let r=t?await t.text():void 0;return new n.ApiError({message:"Response body is not json",data:r,status:e.status,url:e.url,type:e.type})}};e.s(["buildQueryString",0,e=>Object.keys(e).sort().reduce((t,r)=>{if(Array.isArray(e[r])){let n=e[r];t.push(...n.map(e=>`${encodeURIComponent(r)}=${encodeURIComponent(e)}`))}else void 0!==e[r]&&null!==e[r]&&""!==e[r]&&t.push(`${encodeURIComponent(r)}=${encodeURIComponent(e[r])}`);return t},[]).join("&"),"getAPIError",0,o,"orderSegments",0,e=>{let n=(0,r.getEnvConfiguration)("CC")||"";return(t.SEGMENTS_LIST[n]||[]).reduce((t,r)=>e[r]?[...t,{id:r,name:e[r]}]:[...t],[])},"removeEmptyParam",0,(e,t=[])=>{let r={...e},n=[void 0,null,"",...t];return Object.keys(r).forEach(e=>{n.includes(r[e])&&delete r[e]}),r}])},677332,e=>{"use strict";e.s(["CookieKey",0,{USER_LANGUAGE:"userLanguage",USER_SEGMENT:"userSegment",ERROR_BANNER_SOURCE:"error_banner_source",RESTORE_PASSWORD_SUCCESS:"restore_password_success",UAID:"zid",THREE_LAST_VIEWED_SKUS:"three_last_viewed_skus",JWT_TOKEN:"jwt"}])},214644,(e,t,r)=>{var n=e.i(186089);let{i18nRegionalLanguages:o}=e.r(242423);t.exports={[o["en-HK"]]:n.default.env.ZALORA_DOMAIN_EN_HK||"www.zalocal.com.hk",[o["zh-HK"]]:n.default.env.ZALORA_DOMAIN_ZH_HK||"zh.zalocal.com.hk",[o["id-ID"]]:n.default.env.ZALORA_DOMAIN_ID_ID||"www.zalocal.co.id",[o["en-PH"]]:n.default.env.ZALORA_DOMAIN_EN_PH||"www.zalocal.com.ph",[o["en-SG"]]:n.default.env.ZALORA_DOMAIN_EN_SG||"www.zalocal.sg",[o["en-MY"]]:n.default.env.ZALORA_DOMAIN_EN_MY||"www.zalocal.com.my"}},465020,e=>{"use strict";var t=e.i(242423),r=e.i(631163),n=e.i(67132),o=e.i(214644);let a={[(0,r.getEnvConfiguration)("ZALORA_DOMAIN_EN_HK")]:t.i18nRegionalLanguages["en-HK"],[(0,r.getEnvConfiguration)("ZALORA_DOMAIN_ZH_HK")]:t.i18nRegionalLanguages["zh-HK"],[(0,r.getEnvConfiguration)("ZALORA_DOMAIN_EN_PH")]:t.i18nRegionalLanguages["en-PH"],[(0,r.getEnvConfiguration)("ZALORA_DOMAIN_ID_ID")]:t.i18nRegionalLanguages["id-ID"],[(0,r.getEnvConfiguration)("ZALORA_DOMAIN_EN_MY")]:t.i18nRegionalLanguages["en-MY"],[(0,r.getEnvConfiguration)("ZALORA_DOMAIN_EN_SG")]:t.i18nRegionalLanguages["en-SG"]},s=e=>{let t=Object.entries(a).find(([,t])=>e===t),r=t?t[0]:"";return r?`https://${r}`:""},i=e=>t.defaultLangByCountry[e],l=()=>(0,r.getEnvConfiguration)("CC")?.toUpperCase();e.s(["getCurrentHost",0,e=>{if(!(0,n.default)())return window.location.host;
2try{return new URL(s(e||"")).host}catch{return""}},"getDomainByLocale",0,s,"getLanguageByDomain",0,e=>e.split(".")[0].includes(t.i18nLanguages.ZH)?t.i18nLanguages.ZH:i(l()),"getLocaleByDomain",0,e=>{let t=Object.entries(a).find(([t])=>t===e);if(t&&t.length>0)return t[1];let r=l(),n=i(r);return`${n}-${r}`},"getStaticAsset",0,(e,t=!0)=>{let n=(0,r.getEnvConfiguration)("STATIC_ASSET_DOMAIN")||"",o=e.startsWith("/")?e.slice(1):e;return t?n?`${n}/next-assets/${o}`:`/${o}`:`${n}/${o}`},"getZaloraDomainWithoutSubdomain",0,e=>{let t=["www",...Object.keys(o.default)];for(let r=0;r<t.length;r++){let[n]=t[r].split("-"),o=RegExp(`^${n}.`);if(o.test(e))return e.replace(o,"")}return e}])},598149,e=>{"use strict";var t,r=((t={}).CART="/cart",t.BRANDS="/brands",t.BRAND="/brand/[brandId]",t.CATALOG="/c",t.ERROR="/_error",t.HOMEPAGE="/",t.LOGIN="/login",t.DEVICE_VERIFICATION="/login/device-verification",t.LOGOUT="/customer/account/logout",t.PRODUCT="/p",t.REGISTER="/register",t.REGISTER_VERIFY_OTP="/register/verify-otp",t.ACCOUNT="/customer",t.ACCOUNT_CASHBACK="/customer/cashback",t.ACCOUNT_DELETION="/customer/account-deletion",t.ACCOUNT_DETAILS="/customer/account",t.ACCOUNT_FORGOT_PASSWORD="/customer/account/forgot-password",t.ACCOUNT_RESTORE_PASSWORD="/customer/account/restore-password",t.ACCOUNT_LOYALTY="/customer/loyalty",t.ACCOUNT_POINT="/customer/points",t.ACCOUNT_MEMBERSHIP="/customer/membership",t.ACCOUNT_ORDERS="/customer/order",t.ACCOUNT_REVIEWS="/customer/review",t.ACCOUNT_WALLET="/customer/wallet",t.ACCOUNT_CARDS="/customer/cards",t.SEARCH="/search",t.SEGMENT="/s",t.STATIC="/sale",t.WISHLIST="/wishlist",t.ZIS="/store",t.PIP="/product-index",t.ZALORA_VIP="/zalora-vip",t.PRIVACY_POLICY="/privacy-policy",t.ABOUT_US="/about",t.CONTACT_US="/contact",t.FAQ="/faq",t.INTELLECTUAL_PROPERTY="/intellectual-property",t.INFLUENCER="/influencer",t.CATEGORIES="/categories",t.ACCOUNT_PREFERENCE="/customer/preferences",t.ORDER_ITEM_DETAILS="/customer/order/:slug",t.REQUEST_EINVOICE="/customer/order/:slug/e-invoice",t.ACCOUNT_DETAILS_EDIT="/customer/account/edit",t.GOPAY_CONFIGURATION="/customer/payment/gopaylinkage",t.BANK_TRANSFER_CONFIRMATION="/customer/bank-transfer-confirmation",t.RETURN_EXCHANGE="/customer/return-exchange",t.RETURN_EXCHANGE_CONFIRMATION="/customer/return-exchange/confirmation",t.ACCOUNT_VERIFY="/customer/account/verify-email",t.EMAIL_VERIFICATION_MAGIC_LINK="/emailverification",t);e.s(["Routes",()=>r])},996754,(e,t,r)=>{t.exports={SMOBILE:{name:"SMOBILE",minPixels:0,layoutType:"mWeb"},LMOBILE:{name:"LMOBILE",minPixels:375,layoutType:"mWeb"},TABLET:{name:"TABLET",minPixels:744,layoutType:"mWeb"},DESKTOP:{name:"DESKTOP",minPixels:1240,layoutType:"Web"}}},615645,e=>{"use strict";var t,r,n=((t={}).UTM_SOURCE="utm_source",t),o=((r={}).AFFILIATE_INFLUENCER="Affiliate_Influencer",r.NON_AFFILIATE="non_affiliate",r);e.s(["UtmSourceValues",()=>o,"UtmTag",()=>n])},248939,300986,e=>{"use strict";var t,r=((t={}).WOMEN="women",t.MEN="men",t.KIDS="kids",t.BEAUTY="beauty",t.LEGACY_HOME="home",t.HOME_AND_LIFESTYLE="lifestyle",t.HOBBIES="hobbies",t.LUXURY="luxury",t.SPORTS="sports",t);e.s(["SegmentValue",()=>r],300986);let{WOMEN:n,MEN:o,SPORTS:a,LUXURY:s,BEAUTY:i,KIDS:l,HOME_AND_LIFESTYLE:u,HOBBIES:c,LEGACY_HOME:E}=r;e.s(["FILTER_ALL_SEGMENT_OPTION",0,"all","SEGMENTS_LIST",0,{sg:[n,o,s,a,i,l,u,c],my:[n,o,s,a,i,l,u,c],hk:[n,o,s,a,i,l,u,c],id:[n,o,a,l,s,i,u,c],ph:[n,o,s,a,l,i,u,c,E]}],248939)},242423,(e,t,r)=>{let n=Object.freeze({EN:"en",ID:"id",ZH:"zh"}),o=Object.freeze({"en-HK":"en-HK","en-PH":"en-PH","en-SG":"en-SG","en-MY":"en-MY","id-ID":"id-ID","zh-HK":"zh-HK"}),a=Object.freeze({PH:"en",SG:"en",MY:"en",ID:"id",HK:"en"});t.exports={DEFAULT_LANGUAGE:"en",DEFAULT_NAMESPACE:"common",i18nLanguages:n,i18nNamespaces:Object.freeze({COMMON:"common",SEGMENT:"segment",FOOTER:"footer",CATALOG:"catalog",CART:"cart",ACCOUNT:"account",ACCOUNT_PREFERENCES:"account-preferences",ORDER:"order",PDV:"pdv",POINTS:"points",NOT_FOUND_FALLBACK:"not-found-fallback",SHUTDOWN_VENTURE:"shutdown_venture",WISHLIST:"wishlist",INTERACTIVE_JOURNEY:"interactive-journey",EINVOICE:"e-invoice",RETURN_EXCHANGE:"return-exchange",KEEP_SHOPPING:"keep-shopping",LOYALTY:"loyalty",MEMBERSHIP:"membership",FORGOT_PASSWORD:"forgot-password",RESTORE_PASSWORD:"restore-password",MY_CARDS:"my-cards",AUTHENTICATION:"authentication",GO_PAY_LINKAGE:"go-pay-linkage",BANK_TRANSFER_CONFIRMATION:"bank-transfer-confirmation",ACCOUNT_VERIFICATION:"account-verification"}),i18nRegionalLanguages:o,defaultLangByCountry:a}},659705,519583,842535,3901,e=>{"use strict";var t=e.i(618845),r=e.i(1322);let n="initialUserInteractionTime";
2e.s(["INITIAL_USER_INTERACTION_TIME_KEY",0,n,"SAVE_ENGAGEMENT_INTERVAL",0,1e3,"TOTAL_ENGAGEMENT_WAIT_TIME",0,3e4,"USER_ENGAGEMENT_DATA_EXPIRE_TIME",0,864e5],519583);var o=e.i(498491),a=e.i(67132);let s=()=>{if((0,a.default)())return NaN;let e=(0,o.getLocalStorage)(n);return e?Number(e):NaN};e.s(["getInitialInteractionTimeFromStorage",0,s,"setInitialInteractionTimeToStorage",0,e=>{(0,o.setLocalStorage)(n,`${e}`)}],842535);let i=s()||Date.now(),l=()=>Date.now()-i>3e4;e.s(["getInitialInteractionTime",0,()=>i,"handleForceUserEngagement",0,()=>{i=i-3e4||Date.now()},"hasUserEngaged",0,l,"hasUserEngagementExpired",0,()=>{let e=Date.now();return i+864e5<e},"resetInitialInteractionTime",0,()=>{i=Date.now()}],3901);let u="ANONYMOUS_TRACKING_ID",c="z6dummy4-c8d5-4aa3-a30d-1221e93aac7d",E=()=>d(new t.default().get(u)),d=e=>e?e.split("|")[0]:"";e.s(["generateAnonymousId",0,()=>{let e=new t.default,n=(0,r.randomUUIDOnClient)(),o=(0,t.getExpireTime)({years:2});return(e.set(u,n,o.toUTCString()),l())?n:c},"getAnonymousId",0,E,"getAnonymousIdByEngagement",0,()=>l()?E():c],659705)},133546,e=>{"use strict";var t=e.i(67132);let r=["Googlebot","Storebot-Google","Google-InspectionTool","AdsBot-Google","bingbot","Applebot","ZaloraBot"];e.s(["getUserAgent",0,e=>(0,t.default)()?e?.["user-agent"]||"":navigator.userAgent,"isSearchCrawler",0,e=>{if(!e)return!1;let t=e.toLowerCase();return r.some(e=>t.includes(e.toLowerCase()))}])},805801,e=>{"use strict";let t={ALL:"all",NEW:"new",TOP:"top",SALE:"sale"},r=Object.values(t);var n,o=((n={}).CATALOG="catalog",n.SEARCH="search",n.BRAND="brand",n.ZIS="ZIS",n.PIP="PIP",n);e.s(["CatalogType",()=>o,"SPECIAL_PAGES",0,t,"isCatalogPageInfo",0,e=>"catalog"===e.catalogType,"isPIPPageInfo",0,e=>"PIP"===e.catalogType,"isSearchPageInfo",0,e=>"search"===e.catalogType,"isSpecialPage",0,e=>r.includes(e),"isZISPageInfo",0,e=>"ZIS"===e.catalogType])},618845,40602,e=>{"use strict";e.s(["CART_PARAMS_COOKIE_NAME",()=>c,"COOKIE_SCOPE_FIELD",()=>d,"PROMO_PARAMS_COOKIE_NAME",()=>E,"buildCookieValue",()=>m,"default",()=>g,"getCookieDomain",()=>_,"getExpireTime",()=>h,"getExpireTimeByYears",()=>R,"getTimeInThePast",()=>S,"parseCookie",()=>A,"setUserLanguageCookie",()=>T],618845);var t=e.i(940472);e.i(414341);var r=e.i(218495),n=e.i(677332),o=e.i(465020),a=e.i(631163),s=e.i(67132);e.s(["default",()=>i],40602);class i{get(e){return A(document.cookie)[e]}set(e,t,r,n){let o=window.location.hostname||"",a=m(e,t,r,n||_(o));document.cookie=a}remove(e){this.set(e,void 0,S(),_(window.location.hostname))}}class l{request;response;cookies=null;constructor(e,t){this.request=e,this.response=t}get(e){if(this.cookies||(this.cookies=A(this.request?.headers?.cookie)),0!==Object.keys(this.cookies).length)return this.cookies[e]}set=(e,t,r,n)=>{if(!this.response)throw Error("Response not found");let o=this.request?.headers?.host||"",a=n||_(o);this.response.setHeader("set-cookie",m(e,t,r,a)),this.cookies&&(this.cookies[e]=t),this.request&&(this.request.headers.cookie=this.buildCookieString())};remove=e=>{this.set(e)};buildCookieString(){return this.cookies?Object.keys(this.cookies).map(e=>`${e}=${encodeURIComponent(this.cookies?.[e]||"")}`).join("; "):""}}let u=["www","zh","checkout","zh-checkout","bm"],c="cartParams",E="promoParams",d="__scope";class g{instance;constructor(e,t){this.instance=(0,s.default)()?new l(e,t):new i}get=e=>this.instance.get(e);set=(e,t,r,n)=>{this.instance.set(e,t,r,n)};remove=e=>{this.instance.remove(e)}}let A=e=>e?e.split(";").reduce((e,t)=>{let r=t.split(/=(.*)/s).filter(Boolean);if(2===r.length){let[t,n]=r,o=n.trim();o&&(e[t.trim()]=decodeURIComponent(o))}return e},{}):{},m=(e,t,r,n)=>{let o=(0,a.getEnvConfiguration)("ENV"),s=`${e}=${t||""}; path=/;`;return"dev"!==o&&(s=`${s} secure;`),r&&(s=`${s} expires=${r};`),""!==n&&(s=`${s} domain=${n};`),s},_=e=>{if(!e||""===e)return"";let t=e.replace(/^(https|http)?:\/\//,"").split(".");return u.includes(t[0])&&t.shift(),t.join(".")},S=()=>{let e=new Date;return e.setFullYear(e.getFullYear()-1),e.toUTCString()},h=e=>{let r=new Date;return(0,t.add)(r,e)},R=e=>{let t=new Date;return(0,r.addYears)(t,e)},T=e=>{e&&new g().set(n.CookieKey.USER_LANGUAGE,e,void 0,(0,o.getZaloraDomainWithoutSubdomain)(window.location.host))}},437550,e=>{"use strict";var t=e.i(631163);e.s(["getCountryCode",0,()=>(0,t.getEnvConfiguration)("CC")])},932504,e=>{"use strict";let t="overflow-hidden",r=async e=>new Promise(t=>{let r=new IntersectionObserver(([e])=>{t(e.boundingClientRect),r.disconnect()});r.observe(e)}),n=async e=>{let t=e.getElementsByTagName("script");for(let e=0;e<t.length;e++){let r=t[e].textContent||"";if(""!==r.trim())try{window.eval(r)}catch{}}};e.s(["blockBodyScroll",0,()=>{document.body.classList.add(t)},"detectTranslation",0,()=>{let e=document.documentElement;return e.classList.contains("translated-ltr")?"chromium-ltr":e.classList.contains("translated-rtl")?"chromium-rtl":document.querySelector(".goog-te-banner-frame, #goog-gt-tt")?"google-widget":document.querySelector("main font, [data-cart] font")?"font-wrapped":"no"},"executeScripts",0,n,"getBoundingClientRectAsync",0,r,"isDomNotFoundException",0,e=>e instanceof DOMException&&("NotFoundError"===e.name||8===e.code),"parseHTML",0,e=>new DOMParser().parseFromString(e,"text/html"),"unblockBodyScroll",0,()=>{document.body.classList.remove(t)}])},631163,e=>{"use strict";var t=e.i(186089),r=e.i(67132);e.s(["getEnvConfiguration",0,e=>(0,r.default)()?t.default.env[e]:(window.__ENV__||{})[e]])},67132,e=>{"use strict";e.s(["default",0,function(){return!1}])},199779,e=>{"use strict";e.s(["getLanguage",0,e=>"string"!=typeof e?"":e.split("-")[0]])},452482,e=>{"use strict";var t,r=e.i(598149),n=e.i(67132),o=((t={}).Account="My Account",t.Cart="Cart",t.Catalog="Catalog",t.Homepage="Homepage",t.ProductDetails="PDV",t.NotFoundFallback="new 404 page",t.Search="Search",t.Wishlist="Wishlist",t.ZIS="ZIS",t.Segment="Segment",t.PIP="PIP",t.Brands="Brands",t.MyOrders="My Orders",t.OrderItemDetails="Item Details",t.ReturnExchange="Return Exchange",t.StaticPage="Static Page",t.IBP="IBP",t);let a=(e,t)=>{let r=e.replace("/","\\/");return t&&(r=r.replace(`:${t}`,"([^\\/\\?]+)")),RegExp(`^((${r}[\\/\\?{1,2}](.+)?$)|(${r}[\\/\\?{1,2}]?))$`)},s={ACCOUNT_DETAILS_PAGE:a(r.Routes.ACCOUNT_DETAILS),CART:a(r.Routes.CART),CATALOG_PAGE:a(r.Routes.CATALOG),HOME_PAGE:a(r.Routes.HOMEPAGE),PDV_PAGE:a(r.Routes.PRODUCT),SEARCH_PAGE:a(r.Routes.SEARCH),WISHLIST_PAGE:a(r.Routes.WISHLIST),ZIS_PAGE:a(r.Routes.ZIS),SEGMENT_PAGE:a(r.Routes.SEGMENT),ACCOUNT_PAGE:a(r.Routes.ACCOUNT),MEMBERSHIP_PAGE:a(r.Routes.ACCOUNT_MEMBERSHIP),CASHBACK_PAGE:a(r.Routes.ACCOUNT_CASHBACK),WALLET_PAGE:a(r.Routes.ACCOUNT_WALLET),PRODUCT_INDEX_PAGE:a(r.Routes.PIP),BRANDS_PAGE:a(r.Routes.BRANDS),MY_ORDERS_PAGE:a(r.Routes.ACCOUNT_ORDERS),ORDER_ITEM_DETAILS_PAGE:a(r.Routes.ORDER_ITEM_DETAILS,"slug"),RETURN_EXCHANGE_PAGE:a(r.Routes.RETURN_EXCHANGE),LOGIN_PAGE:a(r.Routes.LOGIN),REGISTER_PAGE:a(r.Routes.REGISTER)},i=()=>(0,n.default)()?"":window.location.pathname,l=e=>s.CART.test(e||i()),u=e=>s.PDV_PAGE.test(e||i()),c=e=>s.SEARCH_PAGE.test(e||i()),E=e=>s.CATALOG_PAGE.test(e||i()),d=e=>s.SEGMENT_PAGE.test(e||i()),g=e=>s.WISHLIST_PAGE.test(e||i()),A=e=>s.ZIS_PAGE.test(e||i()),m=e=>s.ACCOUNT_PAGE.test(e||i()),_=e=>s.MY_ORDERS_PAGE.test(e||i()),S=e=>s.ORDER_ITEM_DETAILS_PAGE.test(e||i()),h=e=>s.RETURN_EXCHANGE_PAGE.test(e||i());e.s(["PAGE_TYPE_REGEX",0,s,"SOURCE_PAGE_TYPE",()=>o,"createPageTypeRegex",0,a,"getPageType",0,e=>{if((0,n.default)()&&!e)throw Error("pathname must be provided to getPageType to be executable on the server-side.");let t=e||i();return s.HOME_PAGE.test(t||i())||d(t)?"Homepage":s.BRANDS_PAGE.test(t||i())?"Brands":s.PRODUCT_INDEX_PAGE.test(t||i())?"PIP":E(t)?"Catalog":u(t)?"PDV":l(t)?"Cart":c(t)?"Search":g(t)?"Wishlist":A(t)?"ZIS":S(t)?"Item Details":_(t)?"My Orders":h(t)?"Return Exchange":m(t)?"My Account":void 0},"isAccountPage",0,m,"isAuthenticationPage",0,e=>s.LOGIN_PAGE.test(e||i())||s.REGISTER_PAGE.test(e||i()),"isCartPage",0,l,"isCatalogPage",0,E,"isMyOrdersPage",0,_,"isOrderItemDetailsPage",0,S,"isPDVPage",0,u,"isPageType",0,(e,t)=>e.test(t||i()),"isReturnExchangePage",0,h,"isSearchPage",0,c,"isSegmentPage",0,d,"isWishlistPage",0,g,"isZISPage",0,A])},1322,e=>{"use strict";e.i(67132),e.s(["randomUUIDOnClient",0,()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})])},734687,e=>{"use strict";let t,r;var n=e.i(996754),o=e.i(67132);let a=0,s=[],i=()=>
2{if((0,o.default)())throw Error("getScreenSize should only be executed on the client-side.");return(e=>{let t=Object.entries(n.default).sort(([,e],[,t])=>t.minPixels-e.minPixels),[,r]=t.find(([,t])=>e>=t.minPixels)||t[0];return r})(a||window.innerWidth)};e.s(["getScreenSize",0,i,"getScreenSizeName",0,()=>{if((0,o.default)())throw Error("getScreenSize should only be executed on the client-side.");return t},"isDesktopScreenSize",0,e=>{if((0,o.default)())throw Error("isDesktopScreenSize should only be executed on the client-side.");let{name:t}=e||i();return n.default.DESKTOP.name===t},"isMobileScreenSize",0,e=>{if((0,o.default)())throw Error("isMobileScreenSize should only be executed on the client-side.");let{name:t}=e||i();return[n.default.SMOBILE.name,n.default.LMOBILE.name].findIndex(e=>e===t)>-1},"isTabletScreenSize",0,e=>{if((0,o.default)())throw Error("isTabletScreenSize should only be executed on the client-side.");let{name:t}=e||i();return n.default.TABLET.name===t},"registerScreenSizeListener",0,e=>(s.push(e),()=>{s.splice(s.indexOf(e),1)}),"registerScreenSizeObserver",0,()=>{if((0,o.default)())throw Error("getScreenSize should only be executed on the client-side.");let e=new ResizeObserver(([e])=>{a!==e.contentRect.width&&(a=e.contentRect.width,window.clearTimeout(r),r=window.setTimeout(()=>{let e=i();t!==e.name&&(t=e.name,s.forEach(t=>{t(e)}))},250))});return e.observe(document.documentElement),()=>{e.disconnect()}}])},902626,e=>{"use strict";let t;var r,n=e.i(498491),o=e.i(615645),a=e.i(659705),s=e.i(133546),i=e.i(465020),l=e.i(631163),u=e.i(67132),c=e.i(526195),E=e.i(720858),d=((r=d||{}).HEADER="Header",r);let g=["bot","spider","crawler","slurp","http://naver.me/spd","chrome-lighthouse","Google-Read-Aloud,","Links (2.13; Linux 3.10.0-862.2.3.e17.x86_64 x86_64; GNU C 4.8.5; text)","SEMRush","BigTime","LeaseWeb"],A=()=>{if(void 0===t){let e=(0,s.getUserAgent)();t=g.some(t=>e.includes(t)||e.toLocaleLowerCase().includes(t))}return t},m=({user:e,venture:t,emailSubscribed:r})=>{let n=(0,c.getLastActiveUserSegment)(),o=(0,i.getLanguageByDomain)(window.location.hostname);return{user_id:e.Zuid,createdAt:e.CreatedAt,first_name:e.FirstName,birthday:e.Birthday,email_gender:e.Gender,email_subscribe:+!!r,znow_subscribe:+!!e?.IsVipMember,shop_country:t,shop_language:o,login_status:!0,shop_gender:n,is_mobile_number_verified:!!e.IsVerified}},_=()=>!(0,u.default)()&&"analytics"in window;e.s(["addEntryPointProperty",0,e=>{let t={...e},r=new URL(window.location.href);if(r.searchParams.has("from")){let e=(e=>{if("string"==typeof e)if("header"===e)return d.HEADER;else return})(r.searchParams.get("from"));e&&(t.entry_point=e)}return t},"getCipImpactUrl",0,e=>{let t=new URL(e),r=t.searchParams.get("utm_source");return r===o.UtmSourceValues.AFFILIATE_INFLUENCER?t.toString():r?(t.search="",t.searchParams.set(o.UtmTag.UTM_SOURCE,o.UtmSourceValues.NON_AFFILIATE),t.toString()):""},"getOptions",0,e=>{let t=window.__USER__,r=window.__NEWS_LETTER__,n={};return t&&(n.traits=m({user:t,venture:(0,l.getEnvConfiguration)("CC"),emailSubscribed:(0,E.isUserSubscribedNewsLetter)(r)})),{...e||{},context:n}},"getUserTraits",0,m,"isBotAndAutomationTestIdentified",0,()=>{let e=(0,s.getUserAgent)();return A()||e.toLocaleLowerCase().includes("automation")},"isBotIdentified",0,A,"overrideAnonymousId",0,()=>{if(!_())return;let e=(0,a.getAnonymousId)(),t=(0,a.getAnonymousIdByEngagement)();e||(t=(0,a.generateAnonymousId)()),window.analytics?.setAnonymousId?.(t)},"setMoEngageCluster",0,()=>{let e=(0,l.getEnvConfiguration)("MOENGAGE_SEGMENT_CLUSTER");e&&((0,n.setLocalStorage)("moe_segment_cluster",e),console.info(`MoEngage: cluster set to: ${e}`))},"shouldAllowTracking",0,()=>!(!_()||A())],902626)},526195,225974,413856,e=>{"use strict";var t=e.i(677332),r=e.i(300986),n=e.i(631163),o=e.i(67132);let a=null,s=async()=>(0,o.default)()?(null===a&&(a=await e.A(431645).then(e=>e.default({level:(0,n.getEnvConfiguration)("LOG_LEVEL")||"warn"}))),a||console):console,i=async(e,t,r)=>{(await s())[e](r,t)},l=["debug","info","warn","error"].reduce((e,t)=>(e[t]=async(e,r)=>{i(t,e,r)},e),{});e.s(["default",0,l],225974),e.i(10115),e.i(805801);let u=(e,t)=>
2t.length?t.some(t=>t.id===e):Object.values(r.SegmentValue).includes(e);e.s(["isSegment",0,u],413856);var c=e.i(618845);let E=()=>new c.default().get(t.CookieKey.USER_SEGMENT);e.s(["getLastActiveUserSegment",0,E,"getUserSegment",0,e=>{let t=E();return t&&e&&u(t,e)?t:"women"},"setUserSegment",0,e=>{if(!e)return;let r=new Date,n=new c.default;r.setMonth(r.getMonth()+3),n.set(t.CookieKey.USER_SEGMENT,e,r.toUTCString())}],526195)},671366,e=>{"use strict";var t=e.i(932504),r=e.i(631163),n=e.i(67132);let o="production",a=Number("0.2")||.1,s=Number("0.5")||.1,i=Number("250")||500,l=!1,u=async()=>{let u=(0,r.getEnvConfiguration)("SENTRY_DSN");if(!u||(0,n.default)()||l)return;l=!0;let{browserTracingIntegration:c,init:E,replayIntegration:d}=await e.A(509420);E({dsn:u,environment:"id",release:`${o}-8a09f9458-id`,initialScope:{tags:{env:o,cc:"id"}},normalizeDepth:8,denyUrls:["www.googletagmanager.com","api.segment.io"],ignoreErrors:["$ is not defined","Can't find variable: $","Failed to fetch","ResizeObserver loop limit exceeded",/Minified React error #\d+/gm],maxBreadcrumbs:20,integrations:[d({maskAllInputs:!0,blockAllMedia:!0,maxReplayDuration:12e5,slowClickTimeout:i,networkDetailAllowUrls:[/^https:\/\/cdn\.contentful\.com/,/^https:\/\/graphql\.contentful\.com/],networkRequestHeaders:["X-Contentful-User-Agent"],networkResponseHeaders:["X-Cache","X-Cache-Hits","X-Contentful-Request-Id"]}),c({instrumentNavigation:!1})],tracesSampleRate:a,tracePropagationTargets:["localhost"],replaysSessionSampleRate:s,replaysOnErrorSampleRate:1,beforeSend:(e,r)=>{if((0,n.default)())return e;try{(0,t.isDomNotFoundException)(r?.originalException)&&(e.fingerprint=["dom-notfound","react-commit"],e.tags={...e.tags,translated:(0,t.detectTranslation)(),page_lang:document.documentElement.lang||"unset",nav_langs:navigator.languages?.join(",")??navigator.language}),window.__USER__&&(e.user={id:window.__USER__.Zuid??void 0})}catch{}return e}})},c=async(t,r)=>{var n;if((n=r.error)instanceof Error&&n?.message?.includes("Failed to fetch"))return!1;await u();let o={extra:{error:r.error,params:r.params},tags:{from:r.tag},level:r.level},{captureMessage:a}=await e.A(509420);return a(t,o),!0},E=async(t,r)=>{try{await u();let{captureException:n}=await e.A(509420);return n(t,r),!0}catch(e){return console.error(e),!1}};e.s(["buildApiErrorContext",0,e=>{let[t,r]=e.requestLine.split(" ");return{endpoint:r,http_method:t,status_code:e.response?.status,response_body:e.errorBody,response_header:e.response?Object.fromEntries(e.response.headers.entries()):void 0,request_body:e.params}},"captureBusinessError",0,({code:e,message:t},r)=>c(`${e} - ${t}`,{...r,tag:"tifa",level:"warning"}),"captureError",0,c,"captureException",0,E])},10115,e=>{"use strict";var t=e.i(116846),r=e.i(598149);e.i(437550);var n=e.i(465020),o=e.i(631163),a=e.i(67132),s=e.i(199779),i=e.i(452482),l=e.i(959809);let u=e=>{if(!e)return"";let t=e.startsWith("/")?"":"/";if(e.startsWith("/p/")||e.startsWith("p/"))return`${t}${e}`;let r=e.replace(/\.html/,"");return/^(https|http):\/\/.*/.test(e)?r:`${t}p/${r}`},c=(e,t,r)=>{let n;if(!e)return"";let[o,a=""]=e.split("?"),s=new URLSearchParams(a),i=E(t);return Array.isArray(r)&&r.forEach(e=>{s.delete(e)}
2),(n=new URLSearchParams(s),Object.keys(i).forEach(e=>{let t=i[e];Array.isArray(t)?(n.delete(e),t.forEach(t=>n.append(e,t.toString()))):n.set(e,t.toString())}),(s=n).toString())?`${o}?${s.toString()}`:o},E=e=>{let t=JSON.parse(JSON.stringify(e));return Object.keys(t).forEach(e=>{(""===t[e]||null===t[e]||void 0===t[e])&&delete t[e]}),t},d=(e,t)=>{let r=(0,n.getDomainByLocale)(t);try{return new URL(e,r).toString()}catch{return e}};e.s(["attachRedirectUrl",0,(e,t)=>c(e,{redirectUrl:t}),"getAbsoluteProductUrlFromSlug",0,(e,t)=>{let r=u(e);if(t)return d(r,t);if((0,a.default)())return r;let{origin:n}=window.location;return`${n}${r}`},"getAbsoluteUrl",0,d,"getCleanedProductSlugOrSku",0,e=>e.endsWith(".html")?e:e.includes("-")?`${e}.html`:e,"getLoginUrl",0,(e,n)=>e===r.Routes.LOGIN||!n||(0,l.isEmptyObject)(n)?r.Routes.LOGIN:`${r.Routes.LOGIN}?${(0,t.buildQueryString)(n)}`,"getNewCheckoutUrl",0,e=>{let t=(()=>{let e=(0,o.getEnvConfiguration)("CHECKOUT_DOMAIN");if(e)return e;let{host:t}=window.location,r=(0,n.getZaloraDomainWithoutSubdomain)(t);return`checkout.${r}`})(),r=e.includes("-")?(0,s.getLanguage)(e):(0,n.getLanguageByDomain)(window.location.hostname);return(e=>{let{protocol:t}=window.location;return t+"//"+e})(`${t}/${r}/payment`)},"getProductUrlFromAbsoluteUrl",0,e=>u((e=>{if(!e)return"";try{return new URL(e).pathname.split("/").pop()||""}catch{return""}})(e)),"getProductUrlFromSku",0,e=>e?`/p/${e}`:"","getProductUrlFromSlug",0,u,"getQueryStringFromUrl",0,e=>{if(!e)return"";let[,t=""]=e.split("?");return t},"getRefererPathname",0,()=>{let e=document.referrer;return e?new URL(e).pathname:""},"isLotusCatalogUrl",0,e=>{try{let t=e.match(/^(?:https?:\/\/[^\/]+)?(\/[^?#]*)/);return t&&t[1]?.startsWith("/c/")}catch{return!1}},"isSearchPath",0,e=>{let t=(e=>{if(!e||!e.startsWith("/_next/data"))return e;let t=e.match(/^\/_next\/data\/(?<env>.+?)\/(?<locale>.+?)\/(?<targetPath>.+)\.json\?.*$/);if(!t)return e;let r=t.groups?.targetPath;return r?`/${r}`:e})(e);return(0,i.isSearchPage)(t)},"isValidUrl",0,e=>{try{let t=new URL(e);return"null"!==t.origin}catch{return!1}},"isValidUrlPathname",0,e=>{try{let t=new URL(e,"https://www.zalora.ltd");return"null"!==t.pathname&&"/"!==t.pathname&&"null"!==t.origin}catch{return!1}},"localizeInternalUrl",0,(e,t)=>{let r;if(!e||!t)return e;try{r=new URL(e)}catch{return e}return(0,n.getZaloraDomainWithoutSubdomain)(r.host)!==(0,n.getZaloraDomainWithoutSubdomain)(t)?e:`${r.pathname}${r.search}${r.hash}`},"removeLastSlashs",0,e=>e.replace(/\/+$/,""),"setQueryParams",0,c,"trimSlashs",0,e=>e.replace(/^\/|\/$/g,"")])},720858,339606,e=>{"use strict";var t,r=((t={}).Trends="trends",t.Whatsapp="whatsapp",t.ExclusiveRewards="exclusive_rewards",t);e.s(["Newsletter",()=>r],339606),e.s(["isUserSubscribedNewsLetter",0,e=>!!e&&e.some(e=>e.Name===r.Trends&&e.Subscribed)],720858)},959809,e=>{"use strict";let t=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/;function r(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}e.s(["isArrayOfObjects",0,e=>!!Array.isArray(e)&&!(e.length<1)&&e.every(e=>r(e)),"isEmptyObject",0,function(e){return!e||0===Object.keys(e).length},"isLetter",0,function(e){return 1===e.length&&new RegExp(/[a-z]/i).test(e)},"isObject",0,r,"isValidEmail",0,e=>/^\S+@\S+\.\S+$/.test(e),"isValidHexColor",0,e=>!!e&&t.test(e)])}]);
3
4//# debugId=7e7c479c-ba63-b169-5fe1-2ef69a2ae877

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.