1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"production-f5e5fe0"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];if(null!=t)for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:luxgroup-customer-portal":!0});var a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="2c82b19d-5561-402d-9683-6e2ed92c093c",e._sentryDebugIdIdentifier="sentry-dbid-2c82b19d-5561-402d-9683-6e2ed92c093c")}catch(e){}}();"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4381],{726940(e,a,t){t.d(a,{A:()=>O});var s=t(474848),r=t(825060),i=t(296540),o=t(536978);t(218111),t(161701),t(971517),t(11379),t(693777),t(614190),t(512359),t(886097),t(627254),t(707036),t(17273),t(227415),t(819929),t(837583),t(455122),t(720230),t(357268),t(679733),t(430531),t(13579),t(22489);var n=t(813328),l=t(843702),d=t(58625),c=t(462253),u=t(455573),h=t(229641),m=t(455718),g=t(426026),p=t(485688),f=t(724633),A=t(161648),y=t(703302),_=t(112180),b=t(897729),x=t(696222),M=t(192489),j=t(111321),v=t(133668),w=t(729738),k=t(813394),P=t(142372),T=t(665673),C=t(982771),S=t(745743),N=t(841383),D=t(524160),I=t(750142),E=t(302885),L=t(607458);let q=["hotel_lpc","hotel_lpp_eps","hotel_flash","rental","le_tour","tour_bank","trusted_partner_tour","cruise_group_1","cruise_group_2","cruise_group_3"];function U(e){return!!e&&q.includes(e)}let B=function({itemTitle:e,calculationRequests:a,pointsToApply:t,burnPriceInPoints:r}){let o=(0,T.A)(),q=(0,I.GV)(D.A),[B,O]=(0,i.useState)("summary"),{pointsCalculations:H}=(0,M.A)(a),Z=(0,i.useMemo)(()=>{if(!t||t<=0||!r||r<=0)return;let e=(0,E.TL)(H.map(e=>e?.data));if(!e.length)return;let a=(0,L.W)(e,t,r);return new Map(e.map((e,t)=>[e,a[t]]))},[t,r,H]),z=q?"70%":void 0,V=H.flatMap(e=>e?.data?(0,j.Ay)(e.data):[]),W=(0,j.pO)(V),R=W&&x.z8[W],Y=V.some(e=>(0,j.PL)(e)),F=!q&&V.some(e=>(0,j.h6)(e)),G=(0,i.useMemo)(()=>H.filter(e=>!!e?.data&&(q?e.data.basePoints||e.data.bonusPoints:e.data.basePoints||e.data.bonusPoints||e.data.statusCredits||e.data.bonusStatusCredits)),[q,H]),K=(0,i.useMemo)(()=>!q&&G.some(e=>e?.data?.request.nights&&U(e.data.request.loyaltyProductType)),[q,G]),Q=(0,w.A)(),J=q?o.formatMessage({id:"_fU4xHR8roudfbkG661a",defaultMessage:"Earning points",description:"Modal title for points earn breakdown in the loyalty program section"}):o.formatMessage({id:"E-nIPdrRnUlTgx52Fzu7",defaultMessage:"Earning points, status credits & nights",description:"Modal title for points earn breakdown in the loyalty program section"}),X=q?o.formatMessage({id:"ompUy4O0LaVFQjz92T90",defaultMessage:"Below is a breakdown of the points earned for each item in your cart.",description:"Intro text for points earn breakdown table in the cart view"}):o.formatMessage({id:"t-TnhBs_OL_zVofdD9mO",defaultMessage:"Below is a breakdown of the points, status credits and nights earned for each item in your cart.",description:"Intro text for points earn breakdown table in the cart view"}),$=q?o.formatMessage({id:"Dzhp_OnbtK2e5PBitCb1",defaultMessage:"As a member of {programName}, you can earn points on eligible bookings.",description:"Intro for how loyalty earning works for the logged-in user"},{programName:Q}):o.formatMessage({id:"8QgwLFQKA_z8XHyKDBBw",defaultMessage:"As a member of {programName}, you can earn points, status credits and nights on eligible bookings.",description:"Intro for how loyalty earning works for the logged-in user"},{programName:Q});return(0,s.jsx)(l.A,{title:J,children:(0,s.jsxs)(b.A,{direction:"vertical",gap:16,children:[(0,s.jsxs)(S.A,{fit:"grow",children:[(0,s.jsx)(N.A,{size:"medium",isActive:"summary"===B,onClick:()=>O("summary"),children:o.formatMessage({id:"s891dQwTZidQAVc35IkP",defaultMessage:"Summary",description:"Navigation tab label for the summary view in the order details or booking page"})}),(0,s.jsx)(N.A,{size:"medium",isActive:"how-it-works"===B,onClick:()=>O("how-it-works"),children:o.formatMessage({id:"RAqn_qwegNOm7v_2NUqt",defaultMessage:"How
1it works",description:"Navigation tab label for how it works view in a modal dialog"})})]}),"summary"===B&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(A.Ay,{variant:"medium",colour:"light-foreground-alt",children:X}),(0,s.jsxs)(d.A,{children:[(0,s.jsx)(m.A,{children:(0,s.jsxs)(p.A,{children:[(0,s.jsx)(g.A,{width:z,children:o.formatMessage({id:"lweAmaUirV19UvcICeWg",defaultMessage:"Package",description:"Table header for the package column in a modal dialog"})}),(0,s.jsx)(g.A,{minWidth:80,children:o.formatMessage({id:"BdD3aj5FOJ0z7dSHEdV6",defaultMessage:"Points",description:"Table header for points column in the loyalty program section"})}),Y&&(0,s.jsx)(g.A,{minWidth:92,children:(0,s.jsx)(y.A,{value:"highlight-primary-dark",children:o.formatMessage({id:"sASsYW5rISYb06gmKT7N",defaultMessage:"Bonus Points",description:"Table header for bonus points column in the loyalty program section"})})}),!q&&(0,s.jsx)(g.A,{children:o.formatMessage({id:"LAtqta9k4eMZP6U0oS94",defaultMessage:"Status Credits",description:"Table header for status credits column in a modal dialog"})}),F&&(0,s.jsx)(g.A,{minWidth:92,children:(0,s.jsx)(y.A,{value:"highlight-primary-dark",children:o.formatMessage({id:"SZQAtM7eZDUdCeeZV_RA",defaultMessage:"Bonus Status Credits",description:"Table header for bonus status credits column in a modal dialog"})})}),K&&(0,s.jsx)(g.A,{minWidth:60,children:o.formatMessage({id:"VNEJr88l47MTT3w4vCWl",defaultMessage:"Nights",description:"Table header for the nights column in a modal dialog"})})]})}),(0,s.jsx)(c.A,{children:G.map((a,t)=>{let r=(0,v.A)(a?.data?.request.loyaltyProductType),i=a?.data?.request.nights,n=i&&U(a?.data?.request.loyaltyProductType),l=a?.data?Z?.get(a.data):void 0,d=l?.basePoints??a?.data?.basePoints,c=l?.bonusPoints??a?.data?.bonusPoints,m=l?.statusCredits??a?.data?.statusCredits,g=l?.bonusStatusCredits??a?.data?.bonusStatusCredits;return(0,s.jsxs)(h.A,{children:[(0,s.jsx)(u.A,{width:z,children:(0,s.jsx)(f.A,{variant:"small",startIcon:(0,s.jsx)(r,{}),children:a?.data?.request.displayTitle??e??function(e,a){switch(a){case"dom_economy":case"dom_business":case"int_economy":case"int_business":case"int_first":case"int_premium_economy":return e.formatMessage(k.A.flight);case"tour_bank":case"le_tour":case"trusted_partner_tour":return e.formatMessage(k.A.tour);case"tour_optional_extra":return e.formatMessage({id:"YIO4ldNQG-E00gCYYHsZ",defaultMessage:"Tour optional extras",description:"Product type label for tour optional extras in loyalty points breakdown"});case"cfmr":case"insurance":return e.formatMessage({id:"q8FPplVWeGMy_0_kkLgj",defaultMessage:"Insurance/Coverage",description:"Product type label for insurance or coverage in loyalty points breakdown"});case"cruise_group_1":case"cruise_group_2":case"cruise_group_3":return e.formatMessage(k.A.cruise);case"experience":return e.formatMessage(k.A.experience);case"car_hire":return e.formatMessage(k.A.carHire);case"lux_plus":return e.formatMessage(k.A.luxPlus);case"shop_tier_1":case"shop_tier_2":case"shop_tier_3":case"shop_tier_4":case"shop_tier_5":case"shop_shipping":return e.formatMessage(k.A.shop);case"hotel_flash":case"hotel_lpc":case"hotel_lpp_eps":case"rental":return e.formatMessage({id:"YS7OLBCw2KrWT50E5ZMI",defaultMessage:"Room",description:"Product type label for hotel rooms in loyalty points breakdown"});default:return""}}(o,a?.data?.request.loyaltyProductType)})}),(0,s.jsxs)(u.A,{children:[!!d&&(0,s.jsx)(C.A,{abbreviated:!0,points:d}),!d&&(0,s.jsx)(P.A,{})]}),Y&&(0,s.jsxs)(u.A,{children:[!!c&&(0,s.jsx)(y.A,{value:"highlight-primary-dark",children:(0,s.jsx)(C.A,{abbreviated:!0,points:c})}),!c&&(0,s.jsx)(P.A,{})]}),!q&&(0,s.jsxs)(u.A,{children:[!!m&&(0,s.jsx)(_.A,{value:m}),!m&&(0,s.jsx)(P.A,{})]}),F&&(0,s.jsxs)(u.A,{children:[!!g&&(0,s.jsx)(y.A,{value:"highlight-primary-dark",children:(0,s.jsx)(_.A,{value:g})}),!g&&(0,s.jsx)(P.A,{})]}),K&&(0,s.jsx)(u.A,{children:n?i:(0,s.jsx)(P.A,{})})]},t)})})]}),R&&(0,s.jsx)(n.A,{kind:"success",density:"compact",icon:!1,children:o.formatMessage(R)}),(0,s.jsx)(A.Ay,{variant:"small",colour:"light-foreground-alt",children:o.formatMessage({id:"GHf25J0vU2DxE1-8yPg1",defaultMessage:"Your account will be credited the day after you complete your trip. For Shop orders, the final points balance will be credited 30-40 days after your order is confirmed. The final balance may be different from what you see here.",description:"Cart review modal disclaimer for when loyalty points post after travel or Shop confirmation and that displayed amounts may differ"})}),(0,s.jsx)(A.Ay,{variant:"small",colour:"light-foreground-alt",children:o.formatMessage({id:"uf9CqfxjUuKN6JhPsUen",defaultMessage:"You will not earn points on any portion or whole item that is paid for with points. Points can only be earned on the remaining dollar value. Some payments types are not eligible for earning points such as promotional codes, credits received before {programName} launched, credits received due to cancellation of a booking before {programName} launched.",description:"Disclaimer about which payments are not eligible for earning loyalty points"},{programName:Q})})]}
1),"how-it-works"===B&&(0,s.jsxs)(b.A,{direction:"vertical",gap:16,children:[(0,s.jsx)(A.Ay,{variant:"medium",children:$}),(0,s.jsx)(A.Ay,{variant:"medium",weight:"bold",children:o.formatMessage({id:"3cyxGyuFj1JOIPvg1Tae",defaultMessage:"{programName} Points",description:"Section heading for loyalty points in the loyalty program section"},{programName:Q})}),(0,s.jsx)(A.Ay,{variant:"medium",children:o.formatMessage({id:"6-QsHZkDKoSqQyK0_31D",defaultMessage:"Earn and redeem points on hotels, tours, flights, cruises and more.",description:"Description of loyalty points usage in the cruise offer or booking section"})}),!q&&(0,s.jsx)(A.Ay,{variant:"medium",weight:"bold",children:o.formatMessage({id:"OrwG15hRPe0UuIxzmlRS",defaultMessage:"{programName} Status Credits & Nights",description:"Section heading for status credits and nights in a modal dialog"},{programName:Q})}),!q&&(0,s.jsx)(A.Ay,{variant:"medium",children:o.formatMessage({id:"mvFJtoTGf6t2B3uohaOg",defaultMessage:"Collect status credits and nights to move up tiers and unlock rewards including room upgrades, airport transfers, lounge passes and more.",description:"Description of status credits and nights benefits in a modal dialog"})}),!q&&(0,s.jsxs)(d.A,{children:[(0,s.jsx)(m.A,{children:(0,s.jsxs)(p.A,{children:[(0,s.jsx)(g.A,{children:o.formatMessage({id:"hl1B2WxcUUIzqBem9C6T",defaultMessage:"Tier",description:"Table header for loyalty tier column in the loyalty program section"})}),(0,s.jsx)(g.A,{children:o.formatMessage({id:"LAtqta9k4eMZP6U0oS94",defaultMessage:"Status Credits",description:"Table header for status credits column in a modal dialog"})}),(0,s.jsx)(g.A,{children:o.formatMessage({id:"VNEJr88l47MTT3w4vCWl",defaultMessage:"Nights",description:"Table header for the nights column in a modal dialog"})})]})}),(0,s.jsxs)(c.A,{children:[(0,s.jsxs)(h.A,{children:[(0,s.jsx)(u.A,{children:o.formatMessage({id:"VFPym9YLLTYv4MQYCqc1",defaultMessage:"Silver",description:"Display name for the Silver tier level in the loyalty program tier progression"})}),(0,s.jsx)(u.A,{children:o.formatNumber(200)}),(0,s.jsx)(u.A,{children:o.formatNumber(10)})]}),(0,s.jsxs)(h.A,{children:[(0,s.jsx)(u.A,{children:o.formatMessage({id:"pBU5hpHoVldc60Wvjz7i",defaultMessage:"Gold",description:"Display name for the Gold tier level in the loyalty program tier progression panel"})}),(0,s.jsx)(u.A,{children:o.formatNumber(600)}),(0,s.jsx)(u.A,{children:o.formatNumber(20)})]}),(0,s.jsxs)(h.A,{children:[(0,s.jsx)(u.A,{children:o.formatMessage({id:"EToXLQZupJev8ZWjja6o",defaultMessage:"Platinum",description:"Display name for the Platinum tier level in the loyalty program tier progression"})}),(0,s.jsx)(u.A,{children:o.formatNumber(1e3)}),(0,s.jsx)(u.A,{children:o.formatNumber(30)})]})]})]})]})]})})},O=function({itemTitle:e,calculationRequests:a,showBurnAdjustedBreakdown:t,...n}){let{pointsToApply:l,burnPriceInPoints:d}=n,c=(0,i.useContext)(r.A),u=(0,i.useCallback)(()=>{c((0,s.jsx)(B,{calculationRequests:a,itemTitle:e,pointsToApply:t?l:void 0,burnPriceInPoints:t?d:void 0}))},[c,a,e,t,l,d]);return(0,s.jsx)(o.A,{...n,calculationRequests:a,onInfoIconClick:u})}},142372(e,a,t){var s=t(474848),r=t(846341),i=t(665673);let o={single:(0,r.zR)({id:"VkLLMy0yH22lcn87awn-",defaultMessage:"-",description:"Single dash used as a not-available placeholder in data tables"}),double:(0,r.zR)({id:"VOsGevd_5SEa0C6lXIxU",defaultMessage:"--",description:"Double dash used as a not-available placeholder in data tables"})};t.d(a,{},{A:function({variant:e="double"}){let a=(0,i.A)();return(0,s.jsx)(s.Fragment,{children:a.formatMessage(o[e])})}})},133668(e,a,t){t.d(a,{A:()=>p});var s=t(562860),r=t(421259),i=t(474848),o=t(247174),n=t(888426),l=t(757588),d=t(285403),c=t(534844),u=t(747550),h=t(349856),m=t(667810);let g={hotel_flash:r.A,hotel_lpc:r.A,hotel_lpp_eps:r.A,rental:r.A,le_tour:n.A,tour_bank:n.A,trusted_partner_tour:n.A,cruise_group_1:c.A,cruise_group_2:c.A,cruise_group_3:c.A,experience:s.A,tour_optional_extra:s.A,insurance:d.A,cfmr:d.A,dom_economy:l.A,dom_business:l.A,int_economy:l.A,int_first:l.A,int_business:l.A,int_premium_economy:l.A,car_hire:function(e){return(0,i.jsx)(o.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,i.jsx)("path",{fill:"currentColor",d:"M19 9.5h-.3l-1.2-3.1c-.5-1.1-1.6-1.9-2.8-1.9h-6c-1.4 0-2.7 1-2.9 2.4l-.6 2.6H5c-1.7 0-3 1.3-3 3v3.4c0 .1.1.1.1.2l.1.1.1.1c.1 0 .1.1.2.1h1.4c0 1.7 1.3 3 3 3s3-1.3 3-3h4c0 1.7 1.3 3 3 3s3-1.3 3-3h1.4c.1 0 .1-.1.2-.1l.1-.1.1-.1c0-.1.1-.1.1-.2v-3.4c.2-1.7-1.1-3-2.8-3Zm-6-3h1.6c.4 0 .8.2.9.6l.9 2.4H13v-3Zm-5.3.8c.1-.5.5-.8 1-.8H11v3H7.2l.5-2.2ZM7 17.5c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1Zm10 0c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1Z"})})}
1,lux_plus:h.A,shop_tier_1:m.A,shop_tier_2:m.A,shop_tier_3:m.A,shop_tier_4:m.A,shop_tier_5:m.A,shop_shipping:m.A},p=function(e){return e?g[e]:u.A}}}]); 2//# sourceMappingURL=4381.fbc0fd6942913a11.js.map
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.