PageSourceSearch

https://www.firstchoice.co.uk/wp-content/themes/wordpress-themes/d…/js/components/2029.04ad47868465a9b7942c.js

js firstchoice.co.uk collected 2026-09-24 18:33:08 UTC 16,600 bytes, 1 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[2029],{5621:function(e){function t(e,t,a){var i,n,o,d,r;function _(){var s=Date.now()-d;s<t&&s>=0?i=setTimeout(_,t-s):(i=null,a||(r=e.apply(o,n),o=n=null))}null==t&&(t=100);var s=function(){o=this,n=arguments,d=Date.now();var s=a&&!i;return i||(i=setTimeout(_,t)),s&&(r=e.apply(o,n),o=n=null),r};return s.clear=function(){i&&(clearTimeout(i),i=null)},s.flush=function(){i&&(r=e.apply(o,n),o=n=null,clearTimeout(i),i=null)},s}t.debounce=t,e.exports=t},4911:function(e,t,a){"use strict";var i=a(682),n=a.n(i),o=a(5459),d=a.n(o)()(n());d.push([e.id,".deal-card__call-to-book[data-v-626c6f86]{background-color:#fef1d0;height:98px;margin:0 -12px;margin-top:16px;margin-bottom:-15px;padding:16px 13px;font-size:11px;border-radius:0 0 5px 5px;border-top:1px solid #fff;display:flex;justify-content:center;align-items:center}.deal-card__call-to-book__icon[data-v-626c6f86]{width:41px;height:41px;background-color:#fcb712;border-radius:25px;display:flex;justify-content:center;align-items:center;margin-right:10px}.deal-card__call-to-book__icon svg[data-v-626c6f86]{width:18px;height:18px;fill:#fff}.deal-card__call-to-book__phone-number[data-v-626c6f86]{font-size:21px;line-height:21px;font-weight:bold;text-decoration:underline;margin:3px 0;color:#242424;display:block}.deal-card__call-to-book__phone-number[data-v-626c6f86]:link,.deal-card__call-to-book__phone-number[data-v-626c6f86]:visited,.deal-card__call-to-book__phone-number[data-v-626c6f86]:hover,.deal-card__call-to-book__phone-number[data-v-626c6f86]:active{color:#242424}",""]),t.A=d},8799:function(e,t,a){"use strict";var i=a(682),n=a.n(i),o=a(5459),d=a.n(o)()(n());d.push([e.id,".deal-card__condensed__pricing[data-v-67e01131]{border-radius:6px;margin:14px;margin-top:auto}.deal-card__condensed__pricing__header[data-v-67e01131]{font-size:11px;line-height:20px;font-weight:700;display:flex;justify-content:space-between;align-items:center;padding:6px 11px;border-radius:6px 6px 0px 0px;text-transform:uppercase}.deal-card__condensed__pricing__header__total-saving[data-v-67e01131]{display:flex;flex-direction:row;justify-content:center;align-items:center;line-height:13px}.deal-card__condensed__pricing__header__total-saving--amount[data-v-67e01131]{margin-right:7px}.deal-card__condensed__pricing__header__tooltip[data-v-67e01131]{width:13px;height:13px;color:#fff;font-size:10px;line-height:13px;font-weight:700;border-radius:25px;display:flex;justify-content:center;align-content:center}.deal-card__condensed__pricing__header__tooltip__breakdown[data-v-67e01131]{display:flex;flex-direction:column;min-width:260px;font-size:11.5px;line-height:19.5px}.deal-card__condensed__pricing__header__tooltip__breakdown--row[data-v-67e01131]{padding:8px 15px;display:flex;justify-content:space-between;font-size:11px;line-height:22px;border-bottom:1px solid rgba(255,255,255,.5);font-weight:normal}.deal-card__condensed__pricing__header__tooltip__breakdown--row[data-v-67e01131]:last-child{border-bottom:none}.deal-card__condensed__pricing__header__tooltip__breakdown--row .title[data-v-67e01131]{font-size:13px;line-height:25px;text-transform:uppercase}.deal-card__condensed__pricing__header__tooltip__breakdown--row .item[data-v-67e01131]{text-transform:capitalize}.deal-card__condensed__pricing__header__tooltip__breakdown--row .item--fcp b[data-v-67e01131]{text-transform:uppercase}.deal-card__condensed__pricing__body[data-v-67e01131]{padding:12px}.deal-card__condensed__pricing__body--split[data-v-67e01131]{display:flex;justify-content:space-between}.deal-card__condensed__pricing__body--left[data-v-67e01131]{display:flex;flex-direction:column;color:#092a5e}.deal-card__condensed__pricing__body--left small[data-v-67e01131]{font-size:11px;line-height:15px}.deal-card__condensed__pricing__body__price[data-v-67e01131]{font-size:20px;font-weight:bold;line-height:40px}.deal-card__condensed__pricing__body__price--big[data-v-67e01131]{font-size:40px}.deal-card__condensed__pricing__body__price-total[data-v-67e01131]{line-height:16px}.deal-card__condensed__pricing__body__price-total-text[data-v-67e01131]{font-size:13px;vertical-align:middle}.deal-card__condensed__pricing__body__price-total-popup[data-v-67e01131]{display:inline-block}.deal-card__condensed__pricing__body__price-total-popup-content[data-v-67e01131]{text-align:left;width:170px;font-size:11.5px;line-height:19.5px}.deal-card__condensed__pricing__body__price-total-icon[data-v-67e01131]{cursor:pointer;vertical-align:bottom;height:17px;width:17px}.deal-card__condensed__pricing__body__low-dep[data-v-67e01131]{border-top:1px solid #c2e6fa;margin-top:12px;padding-top:7px;line-height:16px}.deal-card__condensed__pricing__body__low-dep-text[data-v-67e01131]{color:#d10028;font-size:13px;line-height:12px}.deal-card__condensed__pricing__body__saving-bubble[data-v-67e01131]{border-radius:56px;color:#fff;width:52px;height:52px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:11px;line-height:18px;font-weight:800}.deal-card__condensed__pricing__body__saving-bubble--uppercase[data-v-67e01131]{text-transform:uppercase;font-size:9px;line-height:9px;font-weight:700}.deal-card__condensed__pricing__body__view[data-v-67e01131]{margin-top:10px}.deal-card__condensed__pricing__body__view-low-dep[data-v-67e01131]{margin-top:10px}",""]),t.A=d},4131:function(e,t,a){"use strict";a.d(t,{A:function(){return x}});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"deal-card__call-to-book"},[t("div",{staticClass:"deal-card__call-to-book__icon",attrs:{"data-tm-id":"deal-ctb-icon"}},[t("svg",{attrs:{viewBox:"0 0 17 21"}},[t("path",{attrs:{d:"M6.71354 11.658C5.2918 9.56557 3.99867 7.20877 4.9571 6.55711C6.32799 5.62502 7.4672 5.10562 5.90924 2.17593C4.35218 -0.752433 2.61909 0.939163 1.29162 1.8427C-0.241878 2.88535 0.0625134 7.91905 3.90302 13.569C7.74485 19.218 12.3146 21.3487 13.8483 20.305C15.178 19.4018 17.386 18.4187 15.2353 15.8939C13.0849 13.368 12.1832 14.2353 10.8108 15.1694C9.85298 15.8177 8.13661 13.7496 6.71354 11.658Z"}})])]),e._v(" "),t("div",{staticClass:"deal-card__call-to-book__wrapper"},[e._v("\n        Call our "+e._s(e.SupplierName)+" experts\n        "),t("a",{staticClass:"deal-card__call-to-book__phone-number ignore-unload",attrs:{href:"tel:".concat(e.CallToBookPhoneNumber),"data-tm-id":"deal-ctb-number"}},[e._v("\n            "+e._s(e.CallToBookPhoneNumber)+"\n        ")]),e._v("\n        Quote: HHA-"+e._s(e.HolidayId)+"\n    ")])])};i._withStripped=!0;var n={name:"CallToBook",props:{Supplier:String,SupplierName:String,CallToBookPhoneNumbers:Object,HolidayId:String},computed:{CallToBookPhoneNumber:function(){return this.CallToBookPhoneNumbers.sales}}},o=a(5292),d=a.n(o),r=a(9893),_=a.n(r),s=a(9383),l=a.n(s),c=a(6884),p=a.n(c),u=a(9088),h=a.n(u),b=a(7997),v=a.n(b),g=a(4911),f={};f.styleTagTransform=v(),f.setAttributes=p(),f.insert=l().bind(null,"head"),f.domAPI=_(),f.insertStyleElement=h(),d()(g.A,f),g.A&&g.A.locals&&g.A.locals;var x=(0,a(7658).A)(n,i,[],!1,null,"626c6f86",null).exports},2029:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return C}});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"deal-card__condensed__pricing"},[e.showTotalSaving?t("div",{staticClass:"deal-card__condensed__pricing__header deal-card__condensed__pricing__header__total"},[t("div",[e._v("\n      Total Saving\n    ")]),e._v(" "),t("div",{staticClass:"deal-card__condensed__pricing__header__total-saving"},[e.totalSaving>0?t("span",{staticClass:"deal-card__condensed__pricing__header__total-saving--amount"}
1,[e._v("-£"+e._s(e.totalSaving))]):e._e(),e._v(" "),t("tippy",{attrs:{arrow:"","arrow-type":"fcr"===e.Whitelabel.toLowerCase()?"round":"sharp",theme:"breakdown-tooltip",trigger:"mouseenter",maxWidth:e.isFullSize?348:260,"z-index":"20",placement:"top-end","append-to":"parent"},scopedSlots:e._u([{key:"trigger",fn:function(){return["fcr"!==e.Whitelabel.toLowerCase()?t("div",{staticClass:"deal-card__condensed__pricing__header__tooltip"},[e._v("\n            ?\n          ")]):t("svg",{staticClass:"deal-card__condensed__pricing__header__tooltip"},[t("use",e._b({},"use",{"xlink:href":"#icon--help-fc"},!1))])]},proxy:!0}],null,!1,3724763007)},[e._v(" "),t("div",{staticClass:"deal-card__condensed__pricing__header__tooltip__breakdown"},[t("div",{staticClass:"deal-card__condensed__pricing__header__tooltip__breakdown--row"},[t("div",{staticClass:"title"},[t("b",[e._v("Saving Breakdown")])])]),e._v(" "),e.ExclusiveDiscount>0?t("div",{staticClass:"deal-card__condensed__pricing__header__tooltip__breakdown--row"},[t("div",{staticClass:"item"},[t("b",[e._v("Exclusive")]),e._v(" Discount")]),e._v(" "),t("div",[e._v("-£"+e._s(e.ExclusiveDiscount))])]):e._e(),e._v(" "),e.AutoCode?t("div",{staticClass:"deal-card__condensed__pricing__header__tooltip__breakdown--row"},[t("div",{staticClass:"item"},[t("b",[e._v(e._s(e.AutoCode))]),e._v(" Code Applied\n            ")]),e._v(" "),t("div",[e._v("-£"+e._s(e.AutoCodeValue))])]):e._e(),e._v(" "),e.WebDiscount&&e.WebDiscount>0&&!e.IsBedBanks?t("div",{staticClass:"deal-card__condensed__pricing__header__tooltip__breakdown--row"},[t("div",{staticClass:"item"},[e._v("Web Saving")]),e._v(" "),t("div",[e._v("-£"+e._s(e.WebDiscount))])]):e._e(),e._v(" "),e.Fcp?t("div",{staticClass:"deal-card__condensed__pricing__header__tooltip__breakdown--row"},[t("div",{staticClass:"item item--fcp"},[t("b",[e._v("Free")]),e._v(" Child Place Included")])]):e._e()])])],1)]):e._e(),e._v(" "),t("div",{staticClass:"deal-card__condensed__pricing__body"},[t("div",{staticClass:"deal-card__condensed__pricing__body--split"},[t("div",{staticClass:"deal-card__condensed__pricing__body--left"},[t("small",[e._v("From")]),e._v(" "),t("span",{staticClass:"deal-card__condensed__pricing__body__price"},[e._v("£"),t("span",{staticClass:"deal-card__condensed__pricing__body__price--big"},[e._v(e._s(e.PerPersonPrice))]),e._v("pp")]),e._v(" "),e.Price?t("div",{staticClass:"deal-card__condensed__pricing__body__price-total"},[t("span",{staticClass:"deal-card__condensed__pricing__body__price-total-text m-0"},[e._v("Total price £"+e._s(e.Price.toLocaleString()))]),e._v(" "),t("tippy",{staticClass:"deal-card__condensed__pricing__body__price-total-popup",attrs:{arrow:"","arrow-type":"fcr"===e.Whitelabel.toLowerCase()?"round":"sharp",duration:"0",interactive:"true"},scopedSlots:e._u([{key:"trigger",fn:function(){return[t("svg",{staticClass:"icon deal-card__condensed__pricing__body__price-total-icon",attrs:{"data-tm-id":"shortdeal-totalprice-tooltip"}},[t("use",e._b({},"use",{"xlink:href":"fcr"===e.Whitelabel.toLowerCase()?"#icon--help-fc":"#icon--help"},!1))])]},proxy:!0}],null,!1,1809823313)},[e._v(" "),t("div",{class:[this.Whitelabel.toLowerCase(),"deal-card__condensed__pricing__body__price-total-popup-content","m-8"]},[e._v("\n              Per person price = total party price divided by number of adults & children (excluding infants and free child places). \n              "),e.PayLocalEst>0?t("span",[e._v("Prices shown include any mandatory tourist or other local taxes, subject to exchange rate fluctuations. These taxes will need to be paid in destination in the local currency.")]):t("span",[e._v("Prices shown include any mandatory fees and taxes.")])])]),e._v(" "),t("p",{staticClass:"deal-card__condensed__pricing__body__price-total-disclosure m-0"},[e._v("Incl. "),e.PayLocalEst>0?t("strong",[e._v("£"+e._s(e.PayLocalEst.toFixed(2))+" ")]):e._e(),e._v("mandatory fees & taxes")])],1):e._e()]),e._v(" "),e.savingAmount>0?t("div",{directives:[{name:"tippy",rawName:"v-tippy",value:{arrow:!0,arrowType:"fcr"===e.Whitelabel.toLowerCase()?"round":"sharp",trigger:(e.Brand,"mouseenter focus"),maxWidth:350,zIndex:20,theme:"".concat(this.Whitelabel,"-deal-card")},expression:"{\n          arrow: true,\n          arrowType: Whitelabel.toLowerCase() === 'fcr' ? 'round' : 'sharp',\n          trigger: Brand === 'TOP' || 'FCH' ? 'mouseenter focus' : 'manual',\n          maxWidth: 350,\n          zIndex: 20,\n          theme: `${this.Whitelabel}-deal-card`\n        }"}],staticClass:"deal-card__condensed__pricing__body--right",attrs:{content:e.savingBubbleTooltipText}},[t("div",{staticClass:"deal-card__condensed__pricing__body__saving-bubble"},[t("span",[e._v("£"+e._s(e.savingAmount)+"pp")]),e._v(" "),t("span",{staticClass:"deal-card__condensed__pricing__body__saving-bubble--uppercase"}
1,[e._v("Saving")])])]):e._e()]),e._v(" "),e.LowDepositValue>0||1==e.DirectDebitEnabled&&1==e.DirectDebitAvailable?t("div",{class:{"deal-card__condensed__pricing__body__low-dep":e.Price}},[1==e.DirectDebitEnabled&&1==e.DirectDebitAvailable?t("span",{staticClass:"deal-card__condensed__pricing__body__low-dep-text"},[e._v("\n        Book now with no deposit\n      ")]):t("span",{staticClass:"deal-card__condensed__pricing__body__low-dep-text"},[e._v("\n        Book today from £"+e._s(e.LowDepositValue)+"pp\n      ")])]):e._e(),e._v(" "),e.IsCallToBook?t("CallToBook",{attrs:{CallToBookPhoneNumbers:e.CallToBookPhoneNumbers,Supplier:e.Supplier,SupplierName:e.SupplierName,HolidayId:e.HolidayId}}):t("a",{staticClass:"btn",class:e.viewDetailsButtonClass,attrs:{href:"javascript: void(0)",role:"button"},on:{click:function(t){return e.redirect(t)},mouseup:function(t){return"button"in t&&1!==t.button?null:e.redirect(t)},contextmenu:function(e){e.preventDefault()}}},[t("span",{class:{label:"fcr"===e.Whitelabel.toLowerCase()}},[e._v("View Details")]),e._v(" "),"fcr"===e.Whitelabel.toLowerCase()?t("span",{staticClass:"arrow"}):e._e(),e._v(" "),"nhs"!=e.Whitelabel.toLowerCase()&&"tui"!=e.Whitelabel.toLowerCase()&&"fcr"!==e.Whitelabel.toLowerCase()?t("svg",{staticClass:"icon"},[t("use",{attrs:{"xlink:href":"#icon--chevron"}})]):e._e()])],1)])};i._withStripped=!0;var n=a(4660),o=a(7556),d=a(4131),r=a(5621);n.Ay.use(o.Ay);var _={name:"Pricing",components:{tippy:o.Cg,CallToBook:d.A},props:{Brand:String,DetailsLink:String,WebDiscount:Number,AutoCode:String,AutoCodeValue:Number,ExclusiveDiscount:Number,Fcp:Boolean,Price:Number,PerPersonPrice:Number,SavingPerPerson:Number,LowDepositValue:Number,IsThirdPartyFlight:Boolean,Whitelabel:String,Supplier:String,CallToBookSupplierCodes:String,CallToBookPhoneNumbers:Object,HolidayId:String,SupplierName:String,IsCallToBook:Boolean,DirectDebitEnabled:Boolean,DirectDebitAvailable:Boolean,IsBedBanks:Boolean,Adults:Number,Children:Number,PayLocalEst:Number,PayLocalEstPp:Number},data:function(){return{isFullSize:!1}},computed:{totalSaving:function(){return this.IsBedBanks?(this.ExclusiveDiscount+this.AutoCodeValue).toFixed(0):(this.ExclusiveDiscount+this.AutoCodeValue+this.WebDiscount).toFixed(0)},viewDetailsButtonClass:function(){var e="deal-card__condensed__pricing__body__view";return this.LowDepositValue>0&&(e+="-low-dep"),"tui"===this.Whitelabel.toLowerCase()||"nhs"===this.Whitelabel.toLowerCase()?e+=" btn--cta":"fcr"===this.Whitelabel.toLowerCase()?e+=" btn--arrow btn--arrow-50":e+=" btn--icon btn--primary",e},savingBubbleTooltipText:function(){return"cry"===this.Supplier.toLowerCase()&&"fc"!==this.Whitelabel.toLowerCase()&&"fcr"!==this.Whitelabel.toLowerCase()?"Discount = today's saving against this holiday's launch price, plus any offer discounts that have been applied.":"fc"===this.Whitelabel.toLowerCase()||"fcr"===this.Whitelabel.toLowerCase()?"This discount is based on today's online price against our original launch price":"Discount = today's online saving on TUI's in-store price, plus any applicable discounts against this holiday's launch price."},showTotalSaving:function(){var e=0;return this.ExclusiveDiscount>0&&e++,this.AutoCode&&e++,this.WebDiscount&&this.WebDiscount>0&&!this.IsBedBanks&&e++,e>1},savingAmount:function(){return this.IsBedBanks?Math.round((this.ExclusiveDiscount+this.AutoCodeValue)/this.totalPax):this.SavingPerPerson},totalPax:function(){var e=0;return e+=parseInt(this.Adults,10),e+=parseInt(this.Children,10)}},methods:{getIsFullSize:function(){return window.matchMedia("screen and (min-width: 395px)").matches},redirect:function(e){this.$emit("RedirectToHoliday",e)}},mounted:function(){this.isFullSize=this.getIsFullSize();var e=this;window.addEventListener("resize",r(function(){e.isFullSize=e.getIsFullSize()}),200)}},s=a(5292),l=a.n(s),c=a(9893),p=a.n(c),u=a(9383),h=a.n(u),b=a(6884),v=a.n(b),g=a(9088),f=a.n(g),x=a(7997),m=a.n(x),w=a(8799),y={};y.styleTagTransform=m(),y.setAttributes=v(),y.insert=h().bind(null,"head"),y.domAPI=p(),y.insertStyleElement=f(),l()(w.A,y),w.A&&w.A.locals&&w.A.locals;var C=(0,a(7658).A)(_,i,[],!1,null,"67e01131",null).exports}}]);

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.