1"use strict";(self.webpackChunktgv_main=self.webpackChunktgv_main||[]).push([[6690],{18889:(b,_,n)=>{n.d(_,{g:()=>t});var p=n(51093),d=n(87043);let t=(()=>{var o;class h{constructor(){this.layoutStore=(0,p.f3M)(d.a)}ngOnInit(){this.triggerScrollCheck()}ngOnDestroy(){this.triggerScrollCheck()}triggerScrollCheck(){this.layoutStore.setScrollCheck({timestamp:(new Date).getTime(),pageContent:this.pageContent})}}return(o=h).\u0275fac=function(k){return new(k||o)},o.\u0275cmp=p.Xpm({type:o,selectors:[["tgv-main-site-scroll-checker"]],inputs:{pageContent:"pageContent"},decls:0,vars:0,template:function(k,a){},encapsulation:2}),h})()},40271:(b,_,n)=>{n.d(_,{T:()=>t});var p=n(78594),d=n(51093);let t=(()=>{var o;class h{}return(o=h).\u0275fac=function(k){return new(k||o)},o.\u0275mod=d.oAB({type:o}),o.\u0275inj=d.cJS({imports:[p.ez]}),h})()},53107:(b,_,n)=>{n.d(_,{G:()=>O});var p=n(89921),d=n(67916),t=n(51093),o=n(78594),h=n(61194),g=n(88276);function k(s,f){if(1&s&&(t.TgZ(0,"div")(1,"strong"),t._uU(2),t.ALo(3,"number"),t.qZA(),t._uU(4," MovieMoney"),t.qZA()),2&s){const v=t.oxw();
1t.xp6(2),t.Oqu(t.xi3(3,1,v.reward.moviemoney,"1.0"))}}let a=(()=>{var s;class f{}return(s=f).\u0275fac=function(m){return new(m||s)},s.\u0275cmp=t.Xpm({type:s,selectors:[["tgv-main-mvc-rewards-tile"]],inputs:{reward:"reward",index:"index"},decls:10,vars:6,consts:[[1,"checkout__voucher-item"],[1,"checkout__voucher-item-image"],[3,"src","alt"],["src","assets/images/icons/lock.svg"],[1,"checkout__voucher-item-content"],[1,"checkout__voucher-item-content-name"],[1,"checkout__voucher-item-content-description"],[4,"ngIf"]],template:function(m,l){1&m&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"img",2),t.ALo(3,"UrlAlwaysRefresh"),t._UZ(4,"ion-icon",3),t.qZA(),t.TgZ(5,"div",4)(6,"div",5),t._uU(7),t.qZA(),t.TgZ(8,"div",6),t.YNc(9,k,5,4,"div",7),t.qZA()()()),2&m&&(t.xp6(2),t.Q6J("src",t.lcZ(3,4,l.reward.image),t.LSH)("alt",l.reward.label||"reward-image"),t.xp6(5),t.Oqu(l.reward.label),t.xp6(2),t.Q6J("ngIf",l.reward.moviemoney))},dependencies:[o.O5,h.gu,o.JJ,g.nAy],styles:['.checkout__voucher-item[_ngcontent-%COMP%]{position:relative;z-index:1;display:flex;gap:8px;width:100%;padding:12px 16px 12px 12px;background:var(--bg-white);border-radius:8px;color:var(--text-black)}.checkout__voucher-item.locked--[_ngcontent-%COMP%]{background:var(--bg-darker-grey);color:var(--text-white)}.checkout__voucher-item.disabled--[_ngcontent-%COMP%]{cursor:not-allowed}.checkout__voucher-item.disabled--[_ngcontent-%COMP%]:after{content:"";position:absolute;z-index:5;opacity:.3;background-color:#fafafa;width:100%;height:100%;top:0;left:0;border-radius:8px}.checkout__voucher-item[_ngcontent-%COMP%]:not(.checkout__voucher-item.locked--):not(.checkout__voucher-item.disabled--):before{content:"";border:3px solid transparent;border-radius:12px;top:-6px;width:102.5%;bottom:-7px;left:-6px;position:absolute;background:linear-gradient(0deg,#ef4923 0%,#ff0013 50%,#9e1d20 100%);opacity:0;transition-property:opacity;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}@media (max-width: 1023px){.checkout__voucher-item[_ngcontent-%COMP%]:not(.checkout__voucher-item.locked--):not(.checkout__voucher-item.disabled--):before{width:104%}}@media (min-width: 1024px){.checkout__voucher-item[_ngcontent-%COMP%]:not(.checkout__voucher-item.locked--):not(.checkout__voucher-item.disabled--):before:hover{cursor:pointer}.checkout__voucher-item[_ngcontent-%COMP%]:not(.checkout__voucher-item.locked--):not(.checkout__voucher-item.disabled--):before:hover:before{opacity:1}}.checkout__voucher-item[_ngcontent-%COMP%]:not(.checkout__voucher-item.locked--):not(.checkout__voucher-item.disabled--):after{content:"";position:absolute;z-index:-1;left:0;top:0;width:100%;height:100%;border:2px solid var(--tgv-red);border-radius:8px;opacity:0}.checkout__voucher-item[_ngcontent-%COMP%]:not(.checkout__voucher-item.locked--):not(.checkout__voucher-item.disabled--).selected--:after{opacity:1}.checkout__voucher-item[_ngcontent-%COMP%]:not(.checkout__voucher-item.locked--):not(.checkout__voucher-item.disabled--).selected--:hover:before{opacity:0}.checkout__voucher-item[_ngcontent-%COMP%] > tgv-number-input[_ngcontent-%COMP%]{display:none}.checkout__voucher-item[_ngcontent-%COMP%] .tgv-checkbox{display:block}.checkout__voucher-item-multi[_ngcontent-%COMP%]{position:absolute;z-index:2;top:8px;left:0;padding:6px 8px;font-weight:700;font-size:12px;line-height:16px;background:linear-gradient(180deg,#9e1d20 0%,#660008 51.04%,#111111 100%);box-shadow:0 4px 8px rgba(82,0,0,.25);border-radius:0 4px 4px 0;color:var(--text-white)}.checkout__voucher-item-image[_ngcontent-%COMP%]{position:relative;aspect-ratio:1;width:60px;height:60px}.checkout__voucher-item-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:8px}.checkout__voucher-item-image[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{opacity:0}.checkout__voucher-item-image.locked--[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:#111111;opacity:.7;border-radius:8px}.checkout__voucher-item-image.locked--[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:1;font-size:40px;color:var(--text-white)}.checkout__voucher-item-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px;flex:1}.checkout__voucher-item-content[_ngcontent-%COMP%] > tgv-number-input[_ngcontent-%COMP%]{margin:10px 0}
1.checkout__voucher-item-content-name[_ngcontent-%COMP%]{font-weight:700;font-size:14px;line-height:18px}.checkout__voucher-item-content-mvc[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font-size:14px;line-height:18px;letter-spacing:.2px;color:#afafaf;margin-bottom:-4px}.checkout__voucher-item-content-mvc[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{color:#afafaf}.checkout__voucher-item-content-description[_ngcontent-%COMP%]{flex:1;font-size:12px;line-height:18px;letter-spacing:.2px}.checkout__voucher-item-content-error[_ngcontent-%COMP%]{font-weight:400;font-size:12px;line-height:18px;letter-spacing:.25px;color:var(--tgv-red)}.checkout__voucher-item-content-cta[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start!important;gap:4px;font-family:var(--heading-font-family);font-size:13px;line-height:18px;letter-spacing:.75px;color:var(--tgv-red);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.checkout__voucher-item-content-cta[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:24px}@media (min-width: 1042px){.checkout__voucher-item[_ngcontent-%COMP%]{gap:24px;padding:16px;border:none}.checkout__voucher-item[_ngcontent-%COMP%] > tgv-number-input[_ngcontent-%COMP%]{display:block}.checkout__voucher-item[_ngcontent-%COMP%] > tgv-number-input[_ngcontent-%COMP%] + tgv-checkbox[_ngcontent-%COMP%]{padding-top:4px}.checkout__voucher-item[_ngcontent-%COMP%] > tgv-checkbox[_ngcontent-%COMP%]{--size: 24px}.checkout__voucher-item-image[_ngcontent-%COMP%]{width:100px;height:100px}.checkout__voucher-item-content[_ngcontent-%COMP%]{gap:8px}.checkout__voucher-item-content[_ngcontent-%COMP%] > tgv-number-input[_ngcontent-%COMP%]{display:none}.checkout__voucher-item-content-name[_ngcontent-%COMP%]{font-size:16px;line-height:20px}.checkout__voucher-item-content-description[_ngcontent-%COMP%]{font-size:14px;line-height:18px}.checkout__voucher-item-content-cta[_ngcontent-%COMP%]{font-size:16px;line-height:20px}.checkout__voucher-item-content-cta[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:20px}}.checkout__voucher-details[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:32px;width:100%}.checkout__voucher-details-item-label[_ngcontent-%COMP%]{font-family:var(--heading-font-family);font-weight:400;font-size:13px;line-height:28px;letter-spacing:.75px;color:var(--text-dark-grey)}.checkout__voucher-details-item-content[_ngcontent-%COMP%]{font-size:14px;line-height:18px;margin:0}.checkout__voucher-details-item-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;display:flex;flex-direction:column;gap:8px;-webkit-padding-start:20px;padding-inline-start:20px}.checkout__voucher-button[_ngcontent-%COMP%]{width:100%!important}@media (min-width: 1024px){.checkout__voucher-details[_ngcontent-%COMP%]{max-width:562px}.checkout__voucher-details-item-label[_ngcontent-%COMP%]{font-size:16px;line-height:20px}.checkout__voucher-details-item-content[_ngcontent-%COMP%]{font-size:16px;line-height:24px}.checkout__voucher-button[_ngcontent-%COMP%]{width:220px!important}.checkout__voucher-item-multi[_ngcontent-%COMP%]{font-size:16px;line-height:20px}}']}),f})();function C(s,f){if(1&s&&t._UZ(0,"tgv-main-mvc-rewards-tile",4),2&s){const m=f.index;t.Q6J("reward",f.$implicit)("index",m)}}function x(s,f){if(1&s&&(t.ynx(0),t.YNc(1,C,1,2,"tgv-main-mvc-rewards-tile",3),t.BQk()),2&s){const v=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",v.mvcRewards)}}function M(s,f){1&s&&(t.ynx(0),t.TgZ(1,"div",5)(2,"div",6),t._UZ(3,"img",7),t.TgZ(4,"div",8),t._uU(5,"NO REWARDS FOUND"),t.qZA()()(),t.BQk())}let O=(()=>{var s;class f{constructor(m){this._decimalPipe=m,this.mvcRewards=[],this.isProfileCompleted=!1,this.movieMoney=0}get subheadingString(){let m=this._decimalPipe.transform(this.movieMoney,"1.0"),l="";return l=this.movieMoney===d.jK.movieMoneyNotFound?'<div style="display: flex; flex-direction: row; column-gap: 12px;">\n <img src=\'assets/images/icons/alert-yellow.svg\' style="min-width: 16px; padding-bottom: 25px;\n min-height: 16px;"><p> We are unable to process any MovieMoney redemption at this time. <br> Please try again later.<p>\n </div>':this.isProfileCompleted?`<b>${m} MovieMoney</b> available. Redeem now!`:`<b>${m} MovieMoney</b> available. Complete profile to unlock rewards.`,(0,p._)(l)}}return(s=f).\u0275fac=function(m){return new(m||s)(t.Y36(o.JJ))},s.\u0275cmp=t.Xpm({type:s,selectors:[["tgv-main-mvc-reward-popup"]],inputs:{mvcRewards:"mvcRewards",isProfileCompleted:"isProfileCompleted",movieMoney:"movieMoney"},decls:5,vars:5,consts:[["theme","darker","heading","MY REWARDS",1,"checkout__voucher",3,"fit","overflow","subheading"],[1,"checkout__voucher-available"],[4,"ngIf"],[3,"reward","index",4,"ngFor","ngForOf"],[3,"reward","index"],[1,"checkout__voucher-empty"],[1,"checkout__voucher-empty-item"],["src","assets/images/illustrations/no-reward.png","alt","no-reward"],[1,"checkout__voucher-empty-item-header"]],template:function(m,l){1&m&&(t.TgZ(0,"tgv-modal-popup",0)(1,"tgv-modal-popup-content")(2,"div",1),t.YNc(3,x,2,1,"ng-container",2),t.YNc(4,M,6,0,"ng-container",2),t.qZA()()()),2&m&&(t.Q6J("fit",!0)("overflow",!1)("subheading",l.subheadingString),t.xp6(3),t.Q6J("ngIf",null==l.mvcRewards?null:l.mvcRewards.length),t.xp6(1),t.Q6J("ngIf",!(null!=l.mvcRewards&&l.mvcRewards.length)))},dependencies:[o.sg,o.O5,a,g.pxY,g.EIz],styles:["[_nghost-%COMP%] .tgv-modal-popup__header{padding-bottom:10px!important}[_nghost-%COMP%] .tgv-modal-popup__header-subheading{font-size:14px!important;margin-bottom:24px!important}@media (min-width: 1024px){[_nghost-%COMP%] .tgv-modal-popup__header{padding-bottom:32px!important}[_nghost-%COMP%] .tgv-modal-popup__header-heading{margin-bottom:8px!important}[_nghost-%COMP%] .tgv-modal-popup__header-subheading{font-size:18px!important;margin-bottom:0!important}}.checkout__voucher[_ngcontent-%COMP%] .tgv-modal-popup__main{scrollbar-width:thin;scrollbar-color:#454545 #282828}.checkout__voucher[_ngcontent-%COMP%] .tgv-modal-popup__main::-webkit-scrollbar{width:4px}.checkout__voucher[_ngcontent-%COMP%] .tgv-modal-popup__main::-webkit-scrollbar-track{background:#282828;border-radius:50px}.checkout__voucher[_ngcontent-%COMP%] .tgv-modal-popup__main::-webkit-scrollbar-thumb{background:#454545;border-radius:50px}.checkout__voucher[_ngcontent-%COMP%] tgv-main-checkout-voucher-tile{margin:0 0 8px}@media (min-width: 1024px){.checkout__voucher[_ngcontent-%COMP%] tgv-main-checkout-voucher-tile{margin:0 8px 8px}.checkout__voucher[_ngcontent-%COMP%] tgv-main-checkout-voucher-tile.manual-voucher--{margin:0 0 8px}}.checkout__voucher.remove-gradient[_ngcontent-%COMP%] .tgv-modal-popup__main{overflow:hidden!important}.checkout__voucher-available[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;margin:0;padding:0 20px}.checkout__voucher-available[_ngcontent-%COMP%] .checkout__voucher-item:before{left:-6.6px!important;bottom:-7px!important}.checkout__voucher-button[_ngcontent-%COMP%]{width:100%!important}@media (min-width: 1024px){.checkout__voucher-available[_ngcontent-%COMP%]{width:546px;margin-left:8px;padding:8px 0}.checkout__voucher-button[_ngcontent-%COMP%]{width:240px!important}}.checkout__voucher-empty[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:center;text-align:center;padding-top:72px}.checkout__voucher-empty-item-header[_ngcontent-%COMP%]{color:#fff;font-family:var(--heading-font-family);font-weight:400;font-size:31px;padding-top:32px}@media (min-width: 1024px){.checkout__voucher-empty[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:center;text-align:center;padding-top:24px}.checkout__voucher-empty-item-header[_ngcontent-%COMP%]{color:#fff;font-family:var(--heading-font-family);font-weight:400;font-size:31px;padding-top:42px}}"]}),f})()},44251:(b,_,n)=>{n.d(_,{a:()=>k});
1var p=n(78594),d=n(61194),t=n(82937),o=n(88276),h=n(51093);let g=(()=>{var a;class C{}return(a=C).\u0275fac=function(M){return new(M||a)},a.\u0275mod=h.oAB({type:a}),a.\u0275inj=h.cJS({imports:[p.ez,t.u5,d.Pc,o.sSD,o.tZp,o.bDR,o.bZJ,o.pxK]}),C})(),k=(()=>{var a;class C{}return(a=C).\u0275fac=function(M){return new(M||a)},a.\u0275mod=h.oAB({type:a}),a.\u0275inj=h.cJS({providers:[p.JJ],imports:[p.ez,t.u5,t.UX,d.Pc,g,o.pxK,o.ccA,o.tZp]}),C})()},56906:(b,_,n)=>{n.d(_,{q:()=>m});var p=n(51093),d=n(36689),t=n(90007);let o=(()=>{var l;class w{constructor(){this.http=(0,p.f3M)(t.eN)}getContentBlockItemKey(i){return this.http.post(`${d.N.baseApiUrl}/api/contentblocks/v1/getcontentblockitemkey`,i)}}return(l=w).\u0275fac=function(i){return new(i||l)},l.\u0275prov=p.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),w})();var h=n(28722),g=n(27137),k=n(12148),a=n(67916),C=n(85579),x=n(95170),M=n(73865),O=n(89816),s=n(50286),f=n(30861),v=n(89921);let m=(()=>{var l;class w{constructor(){this._apiContentBlocksService=(0,p.f3M)(o),this._platformService=(0,p.f3M)(O.m),this._cacheService=(0,p.f3M)(s.Q),this._DefaultMockAPIService=(0,p.f3M)(f.d)}getContentBlockItemKey(i,r){if(d.N.maintKey&&(i=a.cu.alwaysCallAPI),d.N.mockData)return new h.y(c=>c.next(this._DefaultMockAPIService.getMockApiData(r)));const e=this._cacheService.getCache(s.H.contentBlocks,r),u={itemkey:r};switch(i){case a.cu.alwaysCache:return e?new h.y(c=>c.next(e)):this.getContentBlockItemKey(a.cu.alwaysCallAPI,r);case a.cu.alwaysCallAPI:return this._apiContentBlocksService.getContentBlockItemKey(u).pipe((0,C.w)(c=>c.success?(0,k.of)(c):(0,g._)(c)),(0,x.b)(c=>this._cacheService.setCache(s.H.contentBlocks,r,c)));case a.cu.cacheElseAPI:return this.getContentBlockItemKey(e&&this._cacheService.isCacheStillValid?a.cu.alwaysCache:a.cu.alwaysCallAPI,r)}}getMappedContentBlock(i){return i.results.contentblock.extdata?{contentblock:i.results.contentblock.extdata.contentblock,assets:i.results.contentblock.assets}:{contentblock:i.results.contentblock,assets:i.results.assets}}getMappedMvcInfo(i,r=!1){const e=i.results.contentblock.extdata.contentblock.mvc,u=i.results.contentblock.assets,c=this._platformService.isApp?e.preview:e.previewDesktop,y=e.content;return{key:i.results.contentblock.itemkey,title:(0,v._)(e.title),description:(0,v._)(e.description),back:r,favourite:!1,preview:this.getMappedPreviews(c,u),content:this.getMappedContents(y,u)}}getMappedSeatsDescription(i,r=[]){const e=this.getMappedContentBlock(i),u=e.contentblock.seating;return u.forEach(c=>{const y=c.logo,P=e.assets,A=c.content,R=this._platformService.isApp||this._platformService.isMobileResponsive?c.preview:c.previewDesktop;c.logo=this.getAssetFromKey(y,P),c.logoAlt=this.getAssetAltFromKey(y,P),c.preview=this.getMappedPreviews(R,P),c.content=this.getMappedContents(A,P),c.favourite=r.includes(c.key)}),u}getMappedInfoPopupContent(i){const r=(0,M.p)(i.results.contentblock),e=r.assets,u=r.extdata.contentblock.content,c=this._platformService.isApp?r.extdata.contentblock.preview:r.extdata.contentblock.previewDesktop;return{key:r.itemkey,title:(0,v._)(r.extdata.contentblock.title),description:(0,v._)(r.extdata.contentblock.description),preview:this.getMappedPreviews(c,e),content:this.getMappedContents(u,e)}}getMappedContents(i,r){return i.forEach(e=>{var u;switch(e.type){case"single-list":case"list":return null!==(u=e.items)&&void 0!==u&&u[0].listitem&&(e.items=e.items[0].listitem),e;case"images":return e.items.forEach(c=>{const y=c.mobile,P=c.desktop;c.mobile=this.getAssetFromKey(y,r),c.mobileAlt=this.getAssetAltFromKey(y,r),c.desktop=this.getAssetFromKey(P,r),c.desktopAlt=this.getAssetAltFromKey(P,r)}),e;case"text":return e;case"buttons":return e.ctas=e.items,e;default:return e.items.forEach(c=>{c.image=this.getAssetFromKey(c.assetkey,r),c.imageAlt=this.getAssetAltFromKey(c.assetkey,r)}),e}}
1),i}getMappedPreviews(i,r){return i.forEach(e=>{switch(e.type){case a.oy.image:case a.oy.video:e.url=this.getAssetFromKey(e.actionparam,r),e.alt=this.getAssetAltFromKey(e.actionparam,r);break;case a.oy.youtube:e.url=e.actionparam}}),i}getAssetFromKey(i,r){var e;return(null===(e=r.filter(u=>u.assetkey===i&&u.status===a.sB.activeOrTrue).sort((u,c)=>u.priority-c.priority))||void 0===e||null===(e=e[0])||void 0===e||null===(e=e.extdata)||void 0===e||null===(e=e.fileinfo)||void 0===e?void 0:e.fileurl)||i||""}getAssetAltFromKey(i,r){var e;return(null===(e=r.filter(u=>u.assetkey===i&&u.status===a.sB.activeOrTrue).sort((u,c)=>u.priority-c.priority))||void 0===e||null===(e=e[0])||void 0===e?void 0:e.description)||""}}return(l=w).\u0275fac=function(i){return new(i||l)},l.\u0275prov=p.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),w})()},82018:(b,_,n)=>{n.d(_,{H:()=>t});var p=n(10730),d=n(51093);let t=(()=>{var o;class h{constructor(){this.profileIsVerified=new p.X(!1)}}return(o=h).\u0275fac=function(k){return new(k||o)},o.\u0275prov=d.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),h})()},73865:(b,_)=>{_.p=void 0;const p=Symbol();_.p=function d(t){if(Array.isArray(t))return t.map(o=>d(o));if(t&&"object"==typeof t){const o=t;if(o[p])return o[p];if(o.toJSON)return JSON.parse(o.toJSON());const h=Object.create(Object.getPrototypeOf(o));o[p]=h;
1for(const g of Object.getOwnPropertyNames(o))h[g]=d(o[g]);return delete o[p],h}return t}}}]);
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.