PageSourceSearch

https://www.travelodge.ie/bom/next/_next/static/chunks/pages/amend/amend-payment-48ee9f0b1352fc86.js

js travelodge.ie collected 2026-09-28 08:54:43 UTC 2,549 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4188],{30652:(t,e,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/amend/amend-payment",function(){return a(31256)}])},43294:(t,e,a)=>{"use strict";a.d(e,{A:()=>u});var r=a(37876),n=a(14232),m=a(85579);function u(t){return function(e){let[a,u]=(0,n.useState)(0),o=(0,n.useRef)(),i=(0,n.useCallback)(()=>{u(window.innerWidth)},[]);(0,n.useEffect)(()=>{let t;return o.current=function(){for(var e=arguments.length,a=Array(e),r=0;r<e;r++)a[r]=arguments[r];clearTimeout(t),t=setTimeout(()=>i(...a),50)},i(),window.addEventListener("resize",o.current),()=>{window.removeEventListener("resize",o.current)}},[i]);let l={lg:a>m.A.lg&&a<=m.A.xl,md:a>=m.A.md&&a<=m.A.lg,sm:a>m.A.sm&&a<m.A.md,xl:a>m.A.xl,xs:a<=m.A.sm};return(0,r.jsx)(t,{breakpoints:l,...e})}}},55461:(t,e,a)=>{"use strict";a.d(e,{q:()=>r});let r=(t,e,a)=>{let{arrivalDate:r,departureDate:n}=a;if(!t||!t.paymentSummary)return;let m={arrivalDate:r||t.arrivalDate,departureDate:n||t.departureDate,hotel:{currency:t.hotel.currency},isJitpBooking:t.isJitpBooking||!1,isJitpFailed:t.isJitpFailed||!1,isJitpPaid:t.isJitpPaid||!1,jitpCardNumber:t.jitpCardNumber||"",jitpPaymentDate:t.jitpPaymentDate||"",paymentSummary:{productTotal:Number(t.paymentSummary.productTotal),removeOffer:0,roomTotal:Number(t.paymentSummary.roomTotal),totalAmount:0}};return e.forEach(t=>{if(t.title.includes("Remove Offer")){m.paymentSummary.removeOffer+=parseFloat(t.changeAmount.amount);return}let e=t.title.split(" "),a=!1;e.length>1&&(e[1]=e[1].substr(0,e[1].length-2),isNaN(Date.parse(e.join(" ")))||(a=!0,m.paymentSummary.roomTotal+=parseFloat(t.changeAmount.amount))),a||"breakfast-child"===t.category||"breakfast-adult"===t.category||(m.paymentSummary.productTotal+=parseFloat(t.changeAmount.amount))}),m.paymentSummary.totalAmount=(m.paymentSummary.roomTotal+m.paymentSummary.productTotal-t.paymentSummary.discountTotal).toFixed(2),"SAVER"===t.rateType.group&&Number(t.paymentSummary.totalAmount)>Number(m.paymentSummary.totalAmount)&&(m.paymentSummary.totalAmount=t.paymentSummary.totalAmount),m}},60533:(t,e,a)=>{"use strict";a.d(e,{A:()=>u});var r=a(95062),n=a.n(r);function m(t){let{children:e,condition:a,falsy:r,truthy:n}=t;return a?n(e):("function"==typeof r?r:t=>t)(e)}m.propTypes={children:n().node.isRequired,condition:n().bool.isRequired,falsy:n().func,truthy:n().func.isRequired},m.defaultProps={falsy:t=>t};let u=m}},t=>{t.O(0,[7725,4468,8176,2386,6819,3381,2475,6679,6008,8214,9327,9556,1256,636,6593,8792],()=>t(t.s=30652)),_N_E=t.O()}]);

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.