PageSourceSearch

https://hotelzify.com/static/js/4907.f80318a3.chunk.js

js hotelzify.com collected 2026-09-24 12:17:16 UTC 20,781 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunklanding_page=self.webpackChunklanding_page||[]).push([[4907],{896:(e,n,a)=>{a.d(n,{V:()=>o});const o=e=>{if(!e)return null;let n=[];if(e.selectedInstrument)n=[e.selectedInstrument];else{n=(e.PromotionsExtraConfigs||[]).filter(e=>"payment_instrument"===(null===e||void 0===e?void 0:e.type)).reduce((e,n)=>{const a=Array.isArray(n.value)?n.value:[n.value];for(const t of a)try{const n="string"===typeof t?JSON.parse(t):t;null!==n&&void 0!==n&&n.method&&e.push(n)}catch(o){}return e},[])}return 0===n.length?null:{display:{blocks:{payment_offer:{name:e.name||"Special Offer",instruments:n}},sequence:["block.payment_offer"],preferences:{show_default_blocks:!1}}}}},2064:(e,n,a)=>{a.d(n,{A:()=>c});var o=a(5043),t=a(8601),i=a(4849),s=a(579);const l=/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Z]{1}Z[0-9A-Z]{1}$/,c=e=>{let{inputClassName:n}=e;const a=(0,t.wA)(),c=(0,t.d4)(e=>e.hotelInfo.gstin),[r,d]=(0,o.useState)(c||""),[p,m]=(0,o.useState)(null),u=(0,o.useRef)(null);(0,o.useEffect)(()=>{c&&c!==r&&d(c)},[c]);return(0,s.jsxs)("div",{className:"gstinput_wrapper",children:[(0,s.jsx)("input",{type:"text",placeholder:"Enter GSTIN (e.g. 29ABCDE1234F1Z5)",value:r,maxLength:15,onChange:e=>{const n=e.target.value.toUpperCase();d(n),m(null),clearTimeout(u.current),u.current=setTimeout(()=>(e=>{const n=e.trim().toUpperCase();if(!n)return m(null),void a({type:i.A.SET_GSTIN,payload:null});l.test(n)?(m("valid"),a({type:i.A.SET_GSTIN,payload:n})):(m("invalid"),a({type:i.A.SET_GSTIN,payload:null}))})(n),600)},className:"gstinput_field ".concat(n||"")}),"valid"===p&&(0,s.jsx)("p",{className:"gstinput_message success",children:"\u2713 Valid GSTIN. Invoice will be issued against this number."}),"invalid"===p&&(0,s.jsx)("p",{className:"gstinput_message error",children:"Invalid GSTIN format. Please check and re-enter."})]})}},5658:(e,n,a)=>{a.d(n,{A:()=>d});a(5043);var o=a(5346),t=a(8532),i=a(7343),s=a(7574),l=a(4117),c=a(579);const r="https://ik.imagekit.io/hotelzifyprod/assets/images/user.svg",d=e=>{var n,a,d;let{room:p,quantity:m=1,addons:u,isConfirm:v=!1,isCheckout:f=!1,guestCount:h="0"}=e;const{roomName:g="Single Room",defaultGuestCount:y,RoomImages:_,HotelRoomAmenities:x,maxGuestCount:k}=p;console.log("room",p);const{t:C}=(0,l.Bd)();return(0,c.jsxs)("div",{className:"previewRoom",children:[(0,c.jsxs)("div",{className:"previewRoomTop",children:[(0,c.jsx)("img",{src:null!==(n=_[0])&&void 0!==n&&n.cdnImageUrl?(null===(a=_[0])||void 0===a?void 0:a.cdnImageUrl)+"?tr=w-auto-720,ar-1-1,h-600,q-".concat(i.Y$):"https://ik.imagekit.io/hotelzifyprod/logo.png?tr=q-".concat(i.Y$),alt:"logo",width:"60px",height:"60px",loading:"lazy",style:{borderRadius:"5px",objectFit:"cover",cursor:"pointer"},onClick:()=>(0,o.fireGtmEvent)("checkout_summary_room_thumb_clicked",{room_name:g})}),(0,c.jsxs)("div",{className:"previewRoom__info",children:[(0,c.jsxs)("h2",{children:[g," ",m>1&&"  x ".concat(m)]}),f?(0,c.jsxs)("div",{className:"previewRoom__infoText",children:[(0,c.jsx)("span",{children:(0,c.jsx)("img",{src:r,alt:"user"})}),(0,c.jsxs)("p",{children:[h," ",C("guests")]})]}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"previewRoom__infoText",children:[(0,c.jsx)("span",{children:(0,c.jsx)("img",{src:r,alt:"user"})}),(0,c.jsxs)("p",{children:[y," ",C("person")]})]}),(0,c.jsxs)("div",{className:"previewRoom__infoText",children:[(0,c.jsx)("span",{children:(0,c.jsx)("img",{src:r,alt:"user"})}),(0,c.jsxs)("p",{children:[C("max")," ",k," ",C("person")]})]})]})]})]}),(null===u||void 0===u?void 0:u.length)>0&&(0,c.jsx)("div",{className:"previewRoom__addons",children:null===(d=[...new Set(u)])||void 0===d?void 0:d.map((e,n)=>{var a,o;return(0,c.jsxs)("div",{className:"previewRoom__infoText",children:[(0,c.jsx)("span",{children:(0,c.jsx)("img",{src:"https://ik.imagekit.io/hotelzifyprod/assets/images/food.svg",alt:"food"})}),(0,c.jsxs)("p",{children:[null===e||void 0===e||null===(a=e.Addon)||void 0===a?void 0:a.name," x"," ",v?null===e||void 0===e?void 0:e.quantity:null===u||void 0===u||null===(o=u.filter(n=>{var a,o;return(null===n||void 0===n||null===(a=n.Addon)||void 0===a?void 0:a.name)===(null===e||void 0===e||null===(o=e.Addon)||void 0===o?void 0:o.name)}))||void 0===o?void 0:o.length," "]})]},n)})}),(null===x||void 0===x?void 0:x.length)>0&&!f&&(0,c.jsx)("div",{className:"previewRoom__amenities",children:null===x||void 0===x?void 0:x.map(e=>{var n,a,o,i,l,r,d;return(0,c.jsxs)("p",{children:[(0,c.jsx)(s.A,{iconName:t.j[null===e||void 0===e||null===(a=e.Amenity)||void 0===a?void 0:a.name],tooltip:null===e||void 0===e||null===(o=e.Amenity)||void 0===o?void 0:o.name}),(null===e||void 0===e||null===(i=e.Amenity)||void 0===i||null===(l=i.Trasalations)||void 0===l||null===(r=l[0])||void 0===r?void 0:r.name)||(null===e||void 0===e||null===(d=e.Amenity)||void 0===d?void 0:d.name)]},null===e||void 0===e||null===(n=e.Amenity)||void 0===n?void 0:n.name)})})]})}},6230:(e,n,a)=>{a.d(n,{A:()=>s});var o=a(5043),t=a(8601),i=a(579);const s=e=>{let{amount:n,isScriptLoaded:a,email:s}=e;const{paymentProvider:l}=(0,t.d4)(e=>e.hotelInfo);return(0,o.useEffect)(()=>{window.PaidYET&&a&&(window.PaidYET.setSandbox(!0),window.PaidYET.init(null===l||void 0===l?void 0:l.vendorSubdomain),window.PaidYET.renderCOFForm("card-element-cof"))},[window,a,l]),(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,i.jsx)("p",{style:{color:"#000"},children:(0,i.jsx)("b",{children:"Payment Option"})}),(0,i.jsx)("div",{id:"card-element-cof","data-amountreadonly":n,"data-hidenotes":!0}),(0,i.jsx)("div",{id:"card-errors"})]})}},6572:(e,n,a)=>{a.d(n,{A:()=>h});var o=a(5043);const t="ConfidenceCard_confidenceContainer__97ZL5",i="ConfidenceCard_confidenceTitle__SVChQ",s="ConfidenceCard_confidenceCard__TNMh8",l="ConfidenceCard_confidenceText__cWCoY",c="ConfidenceCard_paymentModes__WLhcp",r="ConfidenceCard_paymentMode__ltnyc";var d=a(8601),p=a(7821),m=a(3804),u=a(579);const v=[{id:1,title:"100% Booking Confirmation",subtitle:"Your booking is 100% confirmed instantly.",img:"https://ik.imagekit.io/hotelzifyprod/assets/images/phn.svg",configPath:m.i.CHECKOUT.BOOKING_CONFIRMATION},{id:2,title:"Instant Refund",subtitle:"Refunds processed instantly, every time.",img:"https://ik.imagekit.io/hotelzifyprod/assets/images/cash.svg",configPath:m.i.CHECKOUT.INSTANT_REFUND},{id:3,title:"24/7 Customer Support",subtitle:"Always ready to help, whenever you need us.",img:"https://ik.imagekit.io/hotelzifyprod/assets/images/support.svg",configPath:m.i.CHECKOUT.CUSTOMER_SUPPORT}],f=()=>{const e=(0,d.d4)(e=>{var n;return null===(n=e.hotelInfo.hotelData)||void 0===n?void 0:n.currency}),n=(0,d.d4)(e=>e.hotelInfo.bookingEngineConfig),a=(0,o.useMemo)(()=>(0,p.DF)(n,m.i.CHECKOUT.BOOK_WITH_CONFIDENCE),[n]),f=(0,o.useMemo)(()=>v.filter(e=>(0,p.DF)(n,e.configPath)),[n]);return a?0===f.length?null:(0,u.jsxs)("div",{className:t,children:[(0,u.jsx)("p",{className:i,children:"Book With Confidence"}),f.map(e=>(0,u.jsxs)("div",{className:s,style:{background:2===e.id&&"#EAF7FF"},children:[(0,u.jsx)("img",{src:e.img,alt:e.title,width:33,height:33}),(0,u.jsxs)("div",{className:l,children:[(0,u.jsx)("p",{children:e.title}),(0,u.jsxs)("span",{children:[e.subtitle," "]})]})]},e.id)),"INR"===e?(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{className:c,children:[(0,u.jsxs)("div",{className:r,children:[(0,u.jsx)("p",{children:"100% secured payments"}),(0,u.jsx)("img",{src:"https://ik.imagekit.io/hotelzifyprod/assets/images/visa.svg",alt:"100% Secured Payments",width:120})]}),(0,u.jsxs)("div",{className:r,style:{textAlign:"right"},children:[(0,u.jsx)("p",{children:"Secured by"}),(0,u.jsx)("img",{src:"https://ik.imagekit.io/hotelzifyprod/assets/images/rzp.svg",alt:"Razorpay",width:60})]})]}),(0,u.jsx)("p",{className:r,style:{color:"#171719",fontSize:"12.8px",marginTop:"10px"},children:"Note - A nominal 2.5% transaction fee will be applied for cancellations to cover payment gateway costs."})]}):null]}):null},h=o.memo(f)},6804:(e,n,a)=>{a.d(n,{A:()=>w});var o=a(9379),t=a(5043),i=a(8601),s=a(7950),l=a(446),c=a.n(l),r=a(4462),d=a.n(r),p=a(8933),m=a.n(p),u=a(4849),v=a(475),f=a(579);c().extend(d()),c().extend(m());const h="https://cdn.razorpay.com",g="https://cdn.jsdelivr.net/npm/simple-icons@v11/icons",y={["".concat(g,"/googlepay.svg")]:"#4285F4",["".concat(g,"/visa.svg")]:"#1A1F71",["".concat(g,"/mastercard.svg")]:"#FF5F00",["".concat(g,"/rupay.svg")]:"#097939",["".concat(g,"/americanexpress.svg")]:"#007BC1"},_={phonepe:"".concat(h,"/app/phonepe.svg"),paytm:"".concat(h,"/app/paytm.svg"),bhim:"".concat(h,"/app/bhim.svg"),amazon_pay:"".concat(h,"/app/amazonpay.svg"),amazonpay:"".concat(h,"/app/amazonpay.svg"),cred:"".concat(h,"/app/cred.svg"),google_pay:"".concat(g,"/googlepay.svg"),gpay:"".concat(g,"/googlepay.svg")},x={hdfc:"".concat(h,"/bank/HDFC.gif"),icici:"".concat(h,"/bank/ICIC.gif"),sbi:"".concat(h,"/bank/SBIN.gif"),axis:"".concat(h,"/bank/UTIB.gif"),kotak:"".concat(h,"/bank/KKBK.gif"),punjab:"".concat(h,"/bank/PUNB.gif"),baroda:"".concat(h,"/bank/BARB.gif"),canara:"".concat(h,"/bank/CNRB.gif"),HDFC:"".concat(h,"/bank/HDFC.gif"),ICIC:"".concat(h,"/bank/ICIC.gif"),SBIN:"".concat(h,"/bank/SBIN.gif"),UTIB:"".concat(h,"/bank/UTIB.gif"),KKBK:"".concat(h,"/bank/KKBK.gif"),PUNB:"".concat(h,"/bank/PUNB.gif"),BARB:"".concat(h,"/bank/BARB.gif"),CNRB:"".concat(h,"/bank/CNRB.gif"),IOBA:"".concat(h,"/bank/IOBA.gif"),FDRL:"".concat(h,"/bank/FDRL.gif"),IDIB:"".concat(h,"/bank/IDIB.gif"),INDB:"".concat(h,"/bank/INDB.gif"),RATN:"".concat(h,"/bank/RATN.gif"),UBIN:"".concat(h,"/bank/UBIN.gif")},k={visa:"".concat(g,"/visa.svg"),mastercard:"".concat(g,"/mastercard.svg"),rupay:"".concat(g,"/rupay.svg"),amex:"".concat(g,"/americanexpress.svg"),Visa:"".concat(g,"/visa.svg"),MasterCard:"".concat(g,"/mastercard.svg"),RuPay:"".concat(g,"/rupay.svg"),Amex:"".concat(g,"/americanexpress.svg")},C={upi:"".concat(h,"/app/upi.svg"),card:null,netbanking:null,wallet:null,emi:null,cardless_emi:null,paylater:null,app:null},j={card:"\ud83d\udcb3",netbanking:"\ud83c\udfe6",wallet:"\ud83d\udc5b",emi:"\ud83d\udcc5",cardless_emi:"\ud83d\udcc5",paylater:"\ud83d\udd50",app:"\ud83d\udcf1",upi:"\ud83d\udcf1"},N={card:"Card",netbanking:"Net Banking",upi:"UPI",wallet:"Wallet",emi:"EMI",cardless_emi:"Cardless EMI",paylater:"Pay Later",app:"App"},I={ICIC:"ICICI",icici:"ICICI",KKBK:"Kotak Bank",kotak:"Kotak Bank",BARB:"BOB",baroda:"BOB"},b=e=>e?e.charAt(0).toUpperCase()+e.slice(1):e,A=e=>{const n=(e=>{const n=(e.PromotionsExtraConfigs||[]).filter(e=>"payment_instrument"===(null===e||void 0===e?void 0:e.type)),a=[];
1return n.forEach(e=>{const n=Array.isArray(e.value)?e.value:[e.value];for(const t of n)try{const e="string"===typeof t?JSON.parse(t):t;null!==e&&void 0!==e&&e.method&&a.push(e)}catch(o){}}),a})(e),a=[];return n.forEach(e=>{var n,t,i,s,l,c;const r=e.method,d=(e,n,t,i)=>{const s=(0,o.A)({method:r},e),l=i[t]||i[null===t||void 0===t?void 0:t.toLowerCase()]||C[r]||null;a.push({inst:s,label:n,icon:l})};if(null!==(n=e.apps)&&void 0!==n&&n.length)e.apps.forEach(e=>{const n=e.replace(/_/g," ");d({apps:[e]},"".concat(n," ").concat(N[r]||r),e,_)});else if(null!==(t=e.issuers)&&void 0!==t&&t.length)e.issuers.forEach(n=>{var a,t;const i=I[n]||n,s=null!==(a=e.networks)&&void 0!==a&&a.length?" ".concat(e.networks[0]):"",l=null!==(t=e.types)&&void 0!==t&&t.length?" ".concat(e.types.map(b).join("/")):"";d((0,o.A)((0,o.A)({issuers:[n]},e.networks?{networks:e.networks}:{}),e.types?{types:e.types}:{}),"".concat(i).concat(s).concat(l," ").concat(N[r]||r),n,x)});else if(null!==(i=e.banks)&&void 0!==i&&i.length)e.banks.forEach(e=>{d({banks:[e]},"".concat(I[e]||e," ").concat(N[r]||r),e,x)});else if(null!==(s=e.networks)&&void 0!==s&&s.length)e.networks.forEach(n=>{var a;const t=null!==(a=e.types)&&void 0!==a&&a.length?" ".concat(e.types.map(b).join("/")):"";d((0,o.A)({networks:[n]},e.types?{types:e.types}:{}),"".concat(n).concat(t," ").concat(N[r]||r),n,k)});else if(null!==(l=e.wallets)&&void 0!==l&&l.length)e.wallets.forEach(e=>{d({wallets:[e]},"".concat(e," ").concat(N[r]||r),e,_)});else if(null!==(c=e.providers)&&void 0!==c&&c.length)e.providers.forEach(e=>{d({providers:[e]},"".concat(e," ").concat(N[r]||r),e,_)});else{var p;const n=null!==(p=C[r])&&void 0!==p?p:null,o=j[r]||"\ud83d\udcb3";a.push({inst:e,label:N[r]||r,icon:n,emoji:o})}}),a},w=e=>{let{paymentOption:n,hasOnlinePayment:a=!1,onSelectOnlinePayment:l,totalAmount:r=0,stayNights:d}=e;const p=(0,i.wA)(),[m,h]=(0,t.useState)(!1),{paymentMethodPromotions:g=[],selectedPaymentOffer:_,hotelData:x,dateRange:k,selectedRatePlans:C=[]}=(0,i.d4)(e=>e.hotelInfo),j=null!==k&&void 0!==k&&k.startDate?c()(k.startDate):null,N="Razorpay"===n||"PartialPayment"===n,I=N||a,b=I?g.filter(e=>function(e,n,a,o){let t=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];const i=c()(),s=o?c()(o):null;if(e.lengthOfStay&&e.lengthOfStay>a)return!1;if(e.cutoffAmount&&n<parseFloat(e.cutoffAmount))return!1;if(e.startDate&&e.endDate){const n=c()(e.startDate),a=c()(e.endDate);if(n.isValid()&&a.isValid()&&(i.isBefore(n,"day")||i.isAfter(a,"day")))return!1}if(s&&e.stayStartDate&&e.stayEndDate){const n=c()(e.stayStartDate),a=c()(e.stayEndDate);if(n.isValid()&&a.isValid()&&(s.isBefore(n,"day")||s.isAfter(a,"day")))return!1}const l=e.PromotionsExtraConfigs||[];if(s){const e=s.format("YYYY-MM-DD");for(const n of l)if("blackout_date"===(null===n||void 0===n?void 0:n.type)&&(Array.isArray(n.value)?n.value:[]).some(n=>c()(n).format("YYYY-MM-DD")===e))return!1}const r=l.filter(e=>"stay_date_range"===(null===e||void 0===e?void 0:e.type));if(s&&r.length>0){let e=!1;for(const n of r){const a=Array.isArray(n.value)?n.value:[];for(let n of a)try{n="string"===typeof n?JSON.parse(n):n;const a=c()(n.start),o=c()(n.end);if(s.isSameOrAfter(a,"day")&&s.isSameOrBefore(o,"day")){e=!0;break}}catch(m){}if(e)break}if(!e)return!1}if(s){const e=l.filter(e=>"day_of_week"===(null===e||void 0===e?void 0:e.type));for(const n of e){const e=Array.isArray(n.value)?n.value:[];if(e.length>0&&!e.includes(s.format("dddd").toLowerCase()))return!1}}const d=l.filter(e=>"room_id"===(null===e||void 0===e?void 0:e.type)),p=l.filter(e=>"rateplan_id"===(null===e||void 0===e?void 0:e.type));if(d.length>0||p.length>0){const e=d.flatMap(e=>Array.isArray(e.value)?e.value.map(String):[String(e.value)]),n=p.flatMap(e=>Array.isArray(e.value)?e.value.map(String):[String(e.value)]),a=n.length>0;if(!t.some(o=>{var t;const i=e.includes(String(null===o||void 0===o?void 0:o.roomId)),s=n.includes(String(null===o||void 0===o||null===(t=o.rpObject)||void 0===t?void 0:t.id));return a?s:i}))return!1}return!0}(e,r,d,j,C)):[];if((0,t.useEffect)(()=>{_&&!b.find(e=>e.id===_.id)&&p({type:u.A.SET_PAYMENT_METHOD_OFFER,payload:null})},[b,_]),!I)return null;if(0===b.length)return null;const w=[];[...b].sort((e,n)=>
1parseFloat(n.discount)-parseFloat(e.discount)).forEach(e=>{const n=A(e);0===n.length?w.push({offer:e,inst:null,label:e.name,icon:null,cardKey:"".concat(e.id,"-0")}):n.forEach((n,a)=>{w.push({offer:e,inst:n.inst,label:n.label,icon:n.icon,emoji:n.emoji,cardKey:"".concat(e.id,"-").concat(a)})})});const B=(e,n)=>{(_?"".concat(_.id,"-").concat(JSON.stringify(_.selectedInstrument)):null)==="".concat(e.id,"-").concat(JSON.stringify(n))?p({type:u.A.SET_PAYMENT_METHOD_OFFER,payload:null}):(p({type:u.A.SET_PAYMENT_METHOD_OFFER,payload:(0,o.A)((0,o.A)({},e),{},{selectedInstrument:n})}),!N&&l&&l())},E=(e,n)=>!!_&&(_.id===e.id&&JSON.stringify(_.selectedInstrument)===JSON.stringify(n)),S=w.length>3,P=w.findIndex(e=>{let{offer:n,inst:a}=e;return E(n,a)}),T=(P>=3?[w[P],...w.filter((e,n)=>n!==P)]:w).slice(0,3),O=(e,n)=>{B(e,n),h(!1)},R=(e,n)=>{let{offer:a,inst:o,label:t,icon:i,emoji:s,cardKey:l}=e;const c=E(a,o),r=(d=a,p=null===x||void 0===x?void 0:x.currency,"percentage"===d.discountType?"".concat(parseInt(d.discount),"% off with this offer"):"fixed_amount"===d.discountType?"Save ".concat((0,v.Gl)(p)).concat(parseInt(d.discount)," with this offer"):"Save ".concat(parseInt(d.discount)," with this offer"));var d,p;const m=(e=>"Pay with ".concat(e," to avail"))(t);return(0,f.jsxs)("div",{className:"pmo-card".concat(c?" pmo-card--selected":""),onClick:()=>n(a,o),role:"button",tabIndex:0,onKeyDown:e=>"Enter"===e.key&&n(a,o),"aria-pressed":c,children:[(0,f.jsx)("div",{className:"pmo-card__icon-wrap",style:i&&y[i]?{background:y[i]}:void 0,children:i?(0,f.jsx)("img",{src:i,alt:"",className:"pmo-card__icon-img".concat(y[i]?" pmo-card__icon-img--si":""),onError:e=>{e.target.style.display="none"}}):(0,f.jsx)("span",{className:"pmo-card__icon-fallback",children:s||"\ud83d\udcb3"})}),(0,f.jsxs)("div",{className:"pmo-card__body",children:[(0,f.jsx)("div",{className:"pmo-card__name",children:t}),(0,f.jsx)("div",{className:"pmo-card__savings",children:r}),(0,f.jsx)("div",{className:"pmo-card__avail",children:m})]}),(0,f.jsx)("div",{className:"pmo-card__action",children:c?(0,f.jsx)("span",{className:"pmo-action pmo-action--remove",children:"\u2715 Remove"}):(0,f.jsx)("span",{className:"pmo-action pmo-action--apply",children:"Apply"})})]},l)};return(0,f.jsxs)("div",{className:"pmo-container",children:[(0,f.jsx)("div",{className:"pmo-header",children:(0,f.jsx)("span",{className:"pmo-header__title",children:"Payment Offers"})}),(0,f.jsx)("div",{className:"pmo-list",children:T.map(e=>R(e,B))}),S&&(0,f.jsxs)("button",{className:"pmo-toggle",onClick:()=>h(!0),children:["+",w.length-3," more offers",(0,f.jsx)("svg",{className:"pmo-toggle__chevron",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:(0,f.jsx)("path",{d:"M2 4.5L6 8.5L10 4.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),m&&s.createPortal((0,f.jsx)("div",{className:"pmo-popup-overlay",onClick:()=>h(!1),children:(0,f.jsxs)("div",{className:"pmo-popup",onClick:e=>e.stopPropagation(),children:[(0,f.jsxs)("div",{className:"pmo-popup__header",children:[(0,f.jsx)("span",{className:"pmo-popup__title",children:"Payment Offers"}),(0,f.jsx)("button",{className:"pmo-popup__close",onClick:()=>h(!1),children:(0,f.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,f.jsx)("path",{d:"M4 4L14 14M14 4L4 14",stroke:"#333",strokeWidth:"1.8",strokeLinecap:"round"})})})]}),(0,f.jsx)("div",{className:"pmo-popup__list",children:w.map(e=>R(e,O))}),(0,f.jsx)("div",{className:"pmo-popup__footer",children:(0,f.jsx)("button",{className:"pmo-popup__skip",onClick:()=>h(!1),children:"Skip"})})]})}),document.body)]})}},9265:(e,n,a)=>{a.d(n,{A:()=>y});var o=a(5043);const t="PCIBookingModal_modalOverlay__0CBeD",i="PCIBookingModal_modalContent__Md6ee",s="PCIBookingModal_modalHeader__765aU",l="PCIBookingModal_modalTitle__bXvWr",c="PCIBookingModal_closeButton__LPHyI",r="PCIBookingModal_iframeContainer__6Jh1C",d="PCIBookingModal_paymentIframe__n393S",p="PCIBookingModal_loadingContainer__TU15Q",m="PCIBookingModal_spinner__rujgP",u="PCIBookingModal_securityInfo__fK7Hc",v="PCIBookingModal_lockIcon__KecPg";var f=a(7669),h=a(5346),g=a(579);const y=e=>{let{isOpen:n,onClose:a,paymentUrl:y}=e;const[_,x]=(0,o.useState)(!0),k=(0,o.useRef)(!1);(0,o.useEffect)(()=>{n&&!k.current&&((0,h.fireGtmEvent)("pci_modal_opened",{payment_url_domain:y?new URL(y).hostname:null}),k.current=!0),n||(k.current=!1)},[n,y]);return n?(0,g.jsx)("div",{className:t,onClick:()=>{(0,h.fireGtmEvent)("pci_modal_closed",{closed_by:"overlay_click",iframe_loaded:!_}),a()},children:(0,g.jsxs)("div",{className:i,onClick:e=>e.stopPropagation(),children:[(0,g.jsxs)("div",{className:s,children:[(0,g.jsx)("h2",{className:l,children:"Secure Payment"}),(0,g.jsx)("button",{className:c,onClick:()=>{(0,h.fireGtmEvent)("pci_modal_closed",{closed_by:"close_button",iframe_loaded:!_}),a()},"aria-label":"Close payment modal",children:(0,g.jsx)(f.A,{size:24})})]}),(0,g.jsxs)("div",{className:r,children:[_&&(0,g.jsxs)("div",{className:p,children:[(0,g.jsx)("div",{className:m}),(0,g.jsx)("p",{children:"Loading secure payment..."})]}),(0,g.jsx)("iframe",{src:y,className:d,onLoad:()=>{x(!1),(0,h.fireGtmEvent)("pci_iframe_loaded",{payment_url_domain:y?new URL(y).hostname:null})},title:"PCI Compliant Payment",allow:"payment",sandbox:"allow-scripts allow-same-origin allow-forms allow-popups"})]}),(0,g.jsxs)("div",{className:u,children:[(0,g.jsx)("svg",{className:v,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,g.jsx)("path",{d:"M12 7V5C12 2.79086 10.2091 1 8 1C5.79086 1 4 2.79086 4 5V7M3 7H13C13.5523 7 14 7.44772 14 8V14C14 14.5523 13.5523 15 13 15H3C2.44772 15 2 14.5523 2 14V8C2 7.44772 2.44772 7 3 7Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,g.jsx)("span",{children:"Your payment information is secure and encrypted."})]})]})}):null}}}]);
2//# sourceMappingURL=4907.f80318a3.chunk.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.