PageSourceSearch

https://www.flograppling.com/2927.558f077919e97ce0.js

js flograppling.com collected 2026-10-02 06:19:06 UTC 33,940 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkflosports_webapp=self.webpackChunkflosports_webapp||[]).push([[2927],{72927:(T,P,r)=>{r.r(P),r.d(P,{GiftSubscriptionModule:()=>xe});var i=r(36895),m=r(26520),p=r(54004),v=r(95698),l=r(66489),b=r(9367),e=r(94650),S=r(14814),d=r(89387),C=r(39137);const f=function(){return{name:"logo"}};let u=(()=>{class t{constructor(n,o,a,g){this.analytics=n,this.pageMetaService=o,this.router=a,this.vs=g}goToOffers(){this.router.navigate(["/gift/offers"])}goToRedeem(){this.router.navigate(["/gift/redeem"])}setPageMeta(){this.vs.siteSettings$.pipe((0,p.U)(n=>{const o=n.core_site_url?`${(0,b.Qj)(n.core_site_url)}/gift`:"";this.pageMetaService.setPageMeta({type:"website",twitterCard:"summary_large_image",title:`Gift a Subscription - ${n.site_name||"FloSports"}`,description:`Give the gift of ${n.site_name} to your friends and family.`,canonicalUrl:o,siteName:n.site_name,image:{url:n.meta_default_image??"",height:b.l,width:b.fF}})}),(0,v.q)(1)).subscribe()}ngOnInit(){this.analytics.sendGiftPageCall(l.F$,"Landing"),this.setPageMeta()}ngOnDestroy(){this.pageMetaService.clearMeta()}}return t.\u0275fac=function(n){return new(n||t)(e.\u0275\u0275directiveInject(l.Hm),e.\u0275\u0275directiveInject(b.de),e.\u0275\u0275directiveInject(m.Router),e.\u0275\u0275directiveInject(S.A))},t.\u0275cmp=e.\u0275\u0275defineComponent({type:t,selectors:[["flo-gift-subscription"]],decls:40,vars:4,consts:[[1,"bg-wrapper","p-0"],[1,"content-wrapper","flex-column"],[1,"gift-header"],[1,"gift-header-container","container","bg-transparent","d-flex","justify-content-between","align-items-center","w-100","py-2"],["floAnalytics","","name","Logo","routerLink","/","routerLinkActive","active","tabindex","0",3,"analyticsProperties"],[3,"showAlt","isResponsive"],["floAnalytics","","name","Gift a Subscription","data-test","gift-a-subscription-header-button",1,"btn","btn-primary","btn-sm",3,"click"],[1,"gift-card-section","py-5","py-lg-3"],[1,"gift-card","container","bg-transparent","d-flex","flex-column","align-items-center","align-items-lg-start"],[1,"gift-card-content","w-100","d-flex","flex-column","flex-lg-row","align-items-center","align-items-lg-start"],[1,"gift-card-labels","d-flex","flex-column","justify-content-center"],[1,"label-cta","d-flex","flex-column","align-items-center","align-items-lg-start"],[1,"label-title"],[1,"label-subtitle"],["floAnalytics","","name","Gift a Subscription","data-test","gift-a-subscription-card-button",1,"btn","btn-primary","gift-card-button",3,"click"],["data-test","redeem-a-subscription-card-button",1,"gift-card-link",3,"click"],[1,"gift-image","d-flex","justify-content-center"],["src","https://d6fm3yzmawlcs.cloudfront.net/funnelAssets/dark-theme/gift_subscription_card_optimized.png"],[1,"gift-card-advise","text-primary","subhead"],[1,"gift-card-section","gift-collage","py-5","py-lg-3"],[1,"gift-card-content","w-100","d-flex","flex-column","flex-lg-row-reverse","align-items-center","align-items-lg-start"],["floAnalytics","","name","Gift a Subscription","data-test","gift-a-subscription-collage-button",1,"btn","btn-primary","gift-card-button",3,"click"],[1,"gift-image","d-flex","justify-content-center","py-4"],["src","https://d6fm3yzmawlcs.cloudfront.net/funnelAssets/dark-theme/gift_subscription_collage_optimized.png",1,"img-fluid"]],template:function(n,o){1&n&&(e.\u0275\u0275elementStart(0,"main",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"a",4),e.\u0275\u0275element(5,"flo-svg-logo",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"button",6),e.\u0275\u0275listener("click",function(){return o.goToOffers()}),e.\u0275\u0275text(7," Buy Now "),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(8,"div",7)(9,"div",8)(10,"div",9)(11,"div",10)(12,"div",11)(13,"h1",12),e.\u0275\u0275text(14,"Give the gift of sports"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"p",13),e.\u0275\u0275text(16,"Choose monthly or annual plans"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"button",14),e.\u0275\u0275listener("click",function(){return o.goToOffers()}),e.\u0275\u0275text(18," Buy Now "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"a",15),e.\u0275\u0275listener("click",function(){return o.goToRedeem()}),e.\u0275\u0275text(20,"Redeem your gift"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(21,"div",16),e.\u0275\u0275element(22,"img",17),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(23,"label",18),e.\u0275\u0275text(24,"* FloWrestling & MileSplit not available as a Gift option until 2024"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(25,"div",19)(26,"div",8)(27,"div",20)(28,"div",10)(29,"div",11)(30,"h2",12),e.\u0275\u0275text(31,"Your sports live here"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"p",13),e.\u0275\u0275text(33," FloSports is the essential destination for live streams and on-demand replays of 20+ sports*, plus original content, real-time stats, game clips, rankings, news, and more. "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(34,"button",21),e.\u0275\u0275listener("click",function(){return o.goToOffers()}),e.\u0275\u0275text(35," Sign up "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(36,"label",18),e.\u0275\u0275text(37,"* FloWrestling & MileSplit not available as a Gift option until 2024"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(38,"div",22),e.\u0275\u0275element(39,"img",23),e.\u0275\u0275elementEnd()()()()()()),2&n&&(e.\u0275\u0275advance(4),e.\u0275\u0275property("analyticsProperties",e.\u0275\u0275pureFunction0(3,f)),e.\u0275\u0275advance(1),e.\u0275\u0275property("showAlt","true")("isResponsive",!0))},dependencies:[m.RouterLinkWithHref,m.RouterLinkActive,d.d,C.v],styles:['main.bg-wrapper[_ngcontent-%COMP%]{background:#fff no-repeat center center;background-size:cover;color:#fff;position:relative;width:100%}main.bg-wrapper[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background-image:linear-gradient(0deg,rgba(0,0,0,.8),rgb(0,0,0));opacity:.75}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]{display:-moz-flex;display:flex;background:none;position:relative;z-index:1}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-header[_ngcontent-%COMP%]{display:-moz-flex;display:flex;align-items:center;background:#0c0c0c;justify-content:space-between}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-header[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{vertical-align:middle}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{text-transform:uppercase}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]{background:linear-gradient(180deg,#fff 0%,#eeeef0 100%)}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-card-labels[_ngcontent-%COMP%]{max-width:380px}@media (min-width: 992px){main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-card-labels[_ngcontent-%COMP%]{height:600px}}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-card-labels[_ngcontent-%COMP%]   .label-title[_ngcontent-%COMP%]{color:#232327;font-size:27px;line-height:28px;text-align:center;text-transform:uppercase;font-style:italic}@media (min-width: 992px){main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-card-labels[_ngcontent-%COMP%]   .label-title[_ngcontent-%COMP%]{font-family:Uni-Neue-Bold,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:58px;line-height:57px;text-align:left}}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-card-labels[_ngcontent-%COMP%]   .label-subtitle[_ngcontent-%COMP%]{color:#232327;margin:0}@media (max-width: 992px){main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-card-labels[_ngcontent-%COMP%]   .label-subtitle[_ngcontent-%COMP%]{font-size:14px}}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-card-labels[_ngcontent-%COMP%]   .gift-card-button[_ngcontent-%COMP%]{margin:1.5rem 0}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-card-labels[_ngcontent-%COMP%]   .gift-card-link[_ngcontent-%COMP%]{display:-moz-flex;display:flex;font-family:Uni-Neue-Regular,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:20px;font-style:normal;font-weight:500;justify-content:left;line-height:normal;text-align:center}@media (min-width: 992px){main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-image[_ngcontent-%COMP%]{position:relative;width:100%}}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{background-color:transparent;background-image:none;max-width:380px;position:relative;top:auto}@media (min-width: 992px){main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:absolute;top:0;width:125%;max-width:none}}@media (min-width: 1200px){main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-card-section[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{top:-80px;width:116%}}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-collage[_ngcontent-%COMP%]{background:#323236;z-index:10}@media (min-width: 992px){main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-collage[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-card-labels[_ngcontent-%COMP%]{max-width:450px}}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-collage[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-card-labels[_ngcontent-%COMP%]   .label-title[_ngcontent-%COMP%], main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-collage[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-card-labels[_ngcontent-%COMP%]   .label-subtitle[_ngcontent-%COMP%]{color:#fff}@media (min-width: 992px){main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-collage[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-image[_ngcontent-%COMP%]{width:70%}}main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-collage[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:430px;left:-30px}@media (min-width: 992px){main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-collage[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:none;top:80px;left:-160px}}@media (min-width: 1200px){main.bg-wrapper[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]   .gift-collage[_ngcontent-%COMP%]   .gift-card-content[_ngcontent-%COMP%]   .gift-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{top:28px}}'],changeDetection:0}),t})();var c=r(24006),_=r(4707),w=r(82722),Y=r(535),A=r(93962),F=r(26289),D=r(93081),k=r(97290),L=r(57146),J=r(93016),U=r(20735);function Q(t,s){if(1&t&&e.\u0275\u0275element(0,"flo-form-errors",17),2&t){const n=e.\u0275\u0275nextContext();e.\u0275\u0275property("errors",n.email.errors)}}function X(t,s){if(1&t&&e.\u0275\u0275element(0,"flo-form-errors",18),2&t){const n=e.\u0275\u0275nextContext();e.\u0275\u0275property("errors",n.giftForm.errors)}}const B=function(){return["click","focus"]};let Z=(()=>{class t{constructor(n,o,a,g,M,O,y,x){this.analytics=n,this.ar=o,this.experimentService=a,this.fb=g,this.giftService=M,this.offersService=O,this.router=y,this.verticalService=x,this.queryParams$=this.ar.queryParams,this.currentlySelectedOffer$=this.offersService.selectedOffer$,this.offersLength$=this.offersService.offersLength$,this.ngOnDestroy$=new _.t(1),this.giftForm=this.fb.group({email:["",[c.kI.required,
1c.kI.minLength(6),Y.o]],confirmEmail:["",[c.kI.required]]},{validators:this.validateConfirmEmail}),this.giftEmail$=this.giftService.gifterEmail$.pipe((0,w.R)(this.ngOnDestroy$)).subscribe(E=>{E&&(this.email.setValue(E),this.confirmEmail.setValue(E))})}get canSubmitForm(){return this.giftForm.valid&&!this.giftForm.pending}ngOnDestroy(){this.ngOnDestroy$.next(),this.ngOnDestroy$.complete()}ngOnInit(){this.analytics.sendGiftPageCall(l.ed,"Gifter")}get email(){return this.giftForm.controls.email}get confirmEmail(){return this.giftForm.controls.confirmEmail}validateConfirmEmail(n){const{email:o,confirmEmail:a}=n.value;return o===a?null:{mismatch_email:!0}}showFormErrorComponent(){return this.confirmEmail.touched&&this.giftForm.hasError("mismatch_email")}preventPaste(n){n.preventDefault()}submitGiftForm(){this.giftService.setGifterEmail(this.confirmEmail.value),this.router.navigate(["/gift/pay"])}}return t.\u0275fac=function(n){return new(n||t)(e.\u0275\u0275directiveInject(l.Hm),e.\u0275\u0275directiveInject(m.ActivatedRoute),e.\u0275\u0275directiveInject(A.j),e.\u0275\u0275directiveInject(c.QS),e.\u0275\u0275directiveInject(F.R),e.\u0275\u0275directiveInject(D.b),e.\u0275\u0275directiveInject(m.Router),e.\u0275\u0275directiveInject(S.A))},t.\u0275cmp=e.\u0275\u0275defineComponent({type:t,selectors:[["flo-gift-info"]],decls:22,vars:19,consts:[[1,"funnel-form-wrapper","m-0"],[3,"isCentered"],["data-test","stepper"],[1,"funnel-form-section","funnel-form","d-flex","flex-column","mt-4","gap-3"],[1,"title-section"],[1,"funnel-title"],[3,"hasOneShownPlan","queryParams","offer","isGiftSub"],[3,"formGroup","ngSubmit"],[1,"form-group","d-flex","flex-column","gap-3"],[1,"gifter-sub-email"],["floAnalytics","","type","email","name","Email","placeholder","Your email address","data-test","gift-email-input","autocomplete","off","maxlength","76","formControlName","email",1,"form-control-lg",3,"events","focus"],["control","eventReminderEmail",3,"errors",4,"ngIf"],[1,"gifter-sub-confirm-email"],["floAnalytics","","type","email","name","Confirm Email","placeholder","Confirm email address","data-test","gift-confirm-email-input","autocomplete","off","maxlength","76","formControlName","confirmEmail",1,"form-control-lg",3,"events","focus","paste"],["control","confirmEmail",3,"errors",4,"ngIf"],[1,"form-button"],["floAnalytics","","events","click","name","Gift Info Button","type","submit","data-test","gift-info-button",1,"btn","btn-primary","btn-lg",3,"disabled"],["control","eventReminderEmail",3,"errors"],["control","confirmEmail",3,"errors"]],template:function(n,o){1&n&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275element(1,"flo-funnel-checkout-header",1)(2,"flo-stepper-wrapper",2),e.\u0275\u0275elementStart(3,"div",3)(4,"div",4)(5,"h1",5),e.\u0275\u0275text(6,"Email Confirmation"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(7,"flo-pay-info-message",6),e.\u0275\u0275pipe(8,"async"),e.\u0275\u0275pipe(9,"async"),e.\u0275\u0275pipe(10,"async"),e.\u0275\u0275elementStart(11,"form",7),e.\u0275\u0275listener("ngSubmit",function(){return o.submitGiftForm()}),e.\u0275\u0275elementStart(12,"div",8)(13,"div",9)(14,"input",10),e.\u0275\u0275listener("focus",function(){return o.email.markAsUntouched()}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(15,Q,1,1,"flo-form-errors",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"div",12)(17,"input",13),e.\u0275\u0275listener("focus",function(){return o.confirmEmail.markAsUntouched()})("paste",function(g){return o.preventPaste(g)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(18,X,1,1,"flo-form-errors",14),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"div",15)(20,"button",16),e.\u0275\u0275text(21," Next "),e.\u0275\u0275elementEnd()()()()()()),2&n&&(e.\u0275\u0275advance(1),e.\u0275\u0275property("isCentered",!0),e.\u0275\u0275advance(6),e.\u0275\u0275property("hasOneShownPlan",1===e.\u0275\u0275pipeBind1(8,11,o.offersLength$))("queryParams",e.\u0275\u0275pipeBind1(9,13,o.queryParams$))("offer",e.\u0275\u0275pipeBind1(10,15,o.currentlySelectedOffer$))("isGiftSub",!0),e.\u0275\u0275advance(4),e.\u0275\u0275property("formGroup",o.giftForm),e.\u0275\u0275advance(3),e.\u0275\u0275property("events",e.\u0275\u0275pureFunction0(17,B)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",o.giftForm.controls.email.touched&&o.giftForm.controls.email.invalid),e.\u0275\u0275advance(2),e.\u0275\u0275property("events",e.\u0275\u0275pureFunction0(18,B)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",o.showFormErrorComponent()),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",!o.canSubmitForm))},dependencies:[i.O5,C.v,c._Y,c.Fj,c.JJ,c.JL,c.nD,c.sg,c.u,k.A,L.k,J.x,U.n,i.Ov],encapsulation:2,changeDetection:0}),t})();var q=r(86466),ee=r(54336),te=r(8082),ne=r(95732);function re(t,s){if(1&t&&e.\u0275\u0275element(0,"flo-form-errors",14),2&t){const n=e.\u0275\u0275nextContext();e.\u0275\u0275property("errors",null==n.redeemCode?null:n.redeemCode.errors)}}function oe(t,s){if(1&t&&(e.\u0275\u0275elementStart(0,"div",15)(1,"p",16),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&t){const n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null==n.redeemCode||null==n.redeemCode.errors||null==n.redeemCode.errors.invalid_redeem_code?null:n.redeemCode.errors.invalid_redeem_code.customText," ")}}let ie=(()=>{class t{constructor(n,o,a,g,M,O,y,x){this.analytics=n,this.fb=o,this.router=a,this.redeemValidators=g,this.giftService=M,this.ref=O,this.route=y,this.verticalService=x,this.redeemMessage="Redeem Your Gift",this.CUSTOMER_SERVICE_URL=ee.x,this.siteId$=this.verticalService.siteId$,this.ngOnDestroy$=new _.t(1),this.redeemForm=this.fb.group({redeemCode:["",[c.kI.required,
1c.kI.minLength(19),c.kI.maxLength(19)],[this.redeemValidators.validateRedeemCode()]]})}ngOnInit(){this.redeemCode.statusChanges.pipe((0,w.R)(this.ngOnDestroy$)).subscribe(()=>this.ref.markForCheck()),this.analytics.sendGiftPageCall(l.nu,"Giftee"),"usaw"===this.route.snapshot.queryParamMap.get("offer")&&(this.redeemMessage="Enter Redemption Code")}ngOnDestroy(){this.ngOnDestroy$.next(),this.ngOnDestroy$.complete()}get redeemCode(){return this.redeemForm.controls.redeemCode}get canSubmitForm(){return this.redeemCode.valid&&!this.redeemCode.pending}onRedeemKey(n){const o=n.target;if(o&&o.value.length<19){const a=o.value.replace(/[\W\s\._\-]+/g,""),g=[];for(let O=0,y=a.length;O<y;O+=4)g.push(a.substr(O,4));const M=g.join("-");this.redeemCode.setValue(M)}}showFormErrorComponent(){return this.redeemForm.controls.redeemCode.touched&&this.redeemForm.controls.redeemCode.invalid&&!this.redeemForm.controls.redeemCode.hasError("invalid_format_redeem_code")&&!this.redeemForm.controls.redeemCode.hasError("invalid_redeem_code")||this.redeemForm.controls.redeemCode.hasError("invalid_format_redeem_code")}showRedemptionError(){return this.redeemForm.controls.redeemCode.touched&&this.redeemForm.controls.redeemCode.invalid&&!this.redeemForm.controls.redeemCode.hasError("invalid_format_redeem_code")&&!this.redeemForm.controls.redeemCode.hasError("invalid_redeem_code")||this.redeemForm.controls.redeemCode.hasError("invalid_redeem_code")}submitRedeemForm(){this.canSubmitForm&&(this.giftService.setGiftCode(this.redeemForm.controls.redeemCode.value),"usaw"===this.route.snapshot.queryParamMap.get("offer")?this.router.navigate(["/gift/overview"],{queryParams:{siteId:2}}):this.router.navigate(["/gift/choose-sport"]))}}return t.\u0275fac=function(n){return new(n||t)(e.\u0275\u0275directiveInject(l.Hm),e.\u0275\u0275directiveInject(c.QS),e.\u0275\u0275directiveInject(m.Router),e.\u0275\u0275directiveInject(te.Y),e.\u0275\u0275directiveInject(F.R),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(m.ActivatedRoute),e.\u0275\u0275directiveInject(S.A))},t.\u0275cmp=e.\u0275\u0275defineComponent({type:t,selectors:[["flo-redeem"]],decls:19,vars:9,consts:[[1,"redeem-main"],[3,"siteId"],[1,"funnel-form-wrapper"],[1,"funnel-form-section"],[1,"title-section","mb-3"],[1,"funnel-title"],[1,"form-group","d-flex","flex-column","gap-3","mx-0",3,"formGroup","ngSubmit"],["floAnalytics","","type","text","name","Redeem Code","placeholder","Enter your redeem code","data-test","redeem-code","autocomplete","off","maxlength","19","formControlName","redeemCode",1,"form-control-lg",3,"focus","keyup"],["control","redeemCode",3,"errors",4,"ngIf"],["class","error-box",4,"ngIf"],[1,"form-button"],["floAnalytics","","events","click","name","Redeem Button","type","submit","data-test","redeem-button",1,"btn","btn-primary","btn-lg",3,"disabled"],[1,"footer"],["floAnalytics","","name","Customer Support Contact Form","target","_blank",3,"href"],["control","redeemCode",3,"errors"],[1,"error-box"],[1,"error-msg"]],template:function(n,o){1&n&&(e.\u0275\u0275elementStart(0,"main",0),e.\u0275\u0275element(1,"flo-simple-header",1),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275elementStart(3,"div",2)(4,"div",3)(5,"div",4)(6,"h1",5),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"form",6),e.\u0275\u0275listener("ngSubmit",function(){return o.submitRedeemForm()}),e.\u0275\u0275elementStart(9,"input",7),e.\u0275\u0275listener("focus",function(){return o.redeemCode.markAsUntouched()})("keyup",function(g){return o.onRedeemKey(g)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(10,re,1,1,"flo-form-errors",8),e.\u0275\u0275template(11,oe,3,1,"div",9),e.\u0275\u0275elementStart(12,"div",10)(13,"button",11),e.\u0275\u0275text(14," Redeem "),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(15,"footer",12),e.\u0275\u0275text(16," Need help? "),e.\u0275\u0275elementStart(17,"a",13),e.\u0275\u0275text(18,"Contact Us"),e.\u0275\u0275elementEnd()()()()()),2&n&&(e.\u0275\u0275advance(1),e.\u0275\u0275property("siteId",e.\u0275\u0275pipeBind1(2,7,o.siteId$)),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate(o.redeemMessage),e.\u0275\u0275advance(1),e.\u0275\u0275property("formGroup",o.redeemForm),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",o.showFormErrorComponent()),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",o.showRedemptionError()),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",!o.canSubmitForm),e.\u0275\u0275advance(4),e.\u0275\u0275propertyInterpolate("href",o.CUSTOMER_SERVICE_URL,e.\u0275\u0275sanitizeUrl))},dependencies:[i.O5,C.v,c._Y,c.Fj,c.JJ,c.JL,c.nD,c.sg,c.u,k.A,ne.P,i.Ov],styles:[".funnel-form-wrapper[_ngcontent-%COMP%]{min-height:37rem}[_nghost-%COMP%]   .funnel-form-section[_ngcontent-%COMP%]{max-width:378px}[_nghost-%COMP%]   .form-control-lg[_ngcontent-%COMP%]{width:320px!important}[_nghost-%COMP%]   .form-group[_ngcontent-%COMP%]{align-items:center}[_nghost-%COMP%]   .redeem-main[_ngcontent-%COMP%]{background:#f5f5f7;max-width:100%;padding:0;width:100%;display:-moz-flex;display:flex;flex-direction:column;min-height:calc(100vh - 76px)}@media (max-width: 768px){[_nghost-%COMP%]   .redeem-main[_ngcontent-%COMP%]{min-height:calc(100vh - 111px)}}@media (max-width: 768px){[_nghost-%COMP%]   .redeem-main[_ngcontent-%COMP%]{font-size:14px}}[_nghost-%COMP%]   .redeem-main[_ngcontent-%COMP%]   .btn-lg[_ngcontent-%COMP%]{width:320px}"],changeDetection:0}),t})();var ae=r(67112),ce=r(5201);let z=(()=>{class t{constructor(n,o){this.authService=n,this.router=o}canActivate(n,o){return this.authService.loggedIn$.pipe((0,p.U)(a=>!!a||(this.router.navigate(["/create-account"],{queryParams:{redirect:o.url,giftSub:!0}}),!1)))}}return t.\u0275fac=function(n){return new(n||t)(e.\u0275\u0275inject(ce.e),e.\u0275\u0275inject(m.Router))},t.\u0275prov=e.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac}),t})();var N=r(77579),H=r(63900),se=r(39841),R=r(39300),le=r(18505),W=r(39047),G=r(7069),me=r(37548),de=r(60872),fe=r(88384),ge=r(70477);function pe(t,s){1&t&&(e.\u0275\u0275elementStart(0,"div",11)(1,"span",12),e.\u0275\u0275text(2,"Loading..."),e.\u0275\u0275elementEnd()())}const ue=function(t){return{"primary-color-bg":t}};let he=(()=>{class t{constructor(n,o,a,g,M,O,y,x,E){this.analytics=n,this.ar=o,this.checkoutNavService=a,this.experimentService=g,this.giftService=M,this.offersService=O,this.paymentsService=y,this.recaptchaV3Service=x,this.segmentService=E,this.ngOnDestroy$=new N.x,this.giftSubmitEvent$=new N.x,this.submitting=!1,this.queryParams$=this.ar.queryParams.pipe((0,p.U)(h=>(h&&h.siteId&&(this.siteId=Number(h.siteId)),h))),this.currentlySelectedOffer$=this.offersService.selectedOffer$,this.offersLength$=this.offersService.offersLength$,this.giftCode$=this.giftService.g
1iftCode$,this.onGiftSubmit=this.giftSubmitEvent$.pipe((0,H.w)(()=>(0,se.a)([this.recaptchaV3Service.execute("validate_gift").pipe((0,R.h)(G.bb)),this.giftService.giftCode$.pipe((0,R.h)(G.bb)),this.currentlySelectedOffer$.pipe((0,R.h)(G.bb))])),(0,le.b)(()=>{this.segmentService.trackEvent({name:W.AA.BUTTON_CLICKED,properties:{action:"Click",name:"Claim Gift",text:"Start Watching"}})}),(0,H.w)(([h,Ee,Ie])=>this.paymentsService.claimGiftSubscription(Ee,h).pipe((0,p.U)(we=>({claim:we,currentlySelectedOffer:Ie})))),(0,p.U)(h=>(h.claim&&this.redeemTrackCall(h.currentlySelectedOffer),h.claim)),(0,w.R)(this.ngOnDestroy$)).subscribe(()=>{this.submitting=!1,this.checkoutNavService.navigateToFinalDestination(this.ar.snapshot.queryParams)})}redeemTrackCall(n){this.segmentService.trackEvent({name:W.AA.GIFT_REDEEMED,properties:{payment_level:"year"===n?.offerMetadata?.period?"yearly":"month"===n?.offerMetadata?.period?"monthly":"",is_gifter:!1}},!0)}onSubmit(){this.submitting=!0,this.giftSubmitEvent$.next()}ngOnInit(){this.analytics.sendGiftPageCall(l.Wo,"Giftee")}ngOnDestroy(){this.ngOnDestroy$.next(),this.ngOnDestroy$.complete()}}return t.\u0275fac=function(n){return new(n||t)(e.\u0275\u0275directiveInject(l.Hm),e.\u0275\u0275directiveInject(m.ActivatedRoute),e.\u0275\u0275directiveInject(me.V),e.\u0275\u0275directiveInject(A.j),e.\u0275\u0275directiveInject(F.R),e.\u0275\u0275directiveInject(D.b),e.\u0275\u0275directiveInject(de.c),e.\u0275\u0275directiveInject(fe.YC),e.\u0275\u0275directiveInject(ge.BP))},t.\u0275cmp=e.\u0275\u0275defineComponent({type:t,selectors:[["flo-redeem-confirm"]],decls:19,vars:17,consts:[[1,"funnel-form-wrapper","m-0"],[3,"isCentered","siteId"],[1,"funnel-form-section","funnel-form","d-flex","flex-column","mt-4","gap-3","px-2"],[1,"title-section"],[1,"funnel-title"],[3,"hasOneShownPlan","queryParams","offer","isGiftSub"],[1,"gift-code-message-card","d-flex","justify-content-between","align-items-center","align-self-stretch"],[1,"m-0"],[1,"form-button","w-100"],["data-test","redeem-submit-button",1,"btn","btn-primary","btn-lg","w-100",3,"ngClass","click"],["class","spinner-border spinner-border-sm","role","status",4,"ngIf"],["role","status",1,"spinner-border","spinner-border-sm"],[1,"visually-hidden"]],template:function(n,o){1&n&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275element(1,"flo-funnel-checkout-header",1),e.\u0275\u0275elementStart(2,"div",2)(3,"div",3)(4,"h1",4),e.\u0275\u0275text(5,"Redemption Confirmation"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(6,"flo-pay-info-message",5),e.\u0275\u0275pipe(7,"async"),e.\u0275\u0275pipe(8,"async"),e.\u0275\u0275elementStart(9,"div",6)(10,"label"),e.\u0275\u0275text(11,"Confirmation Code"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"h5",7),e.\u0275\u0275text(13),e.\u0275\u0275pipe(14,"async"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"div",8)(16,"button",9),e.\u0275\u0275listener("click",function(){return o.onSubmit()}),e.\u0275\u0275text(17," Start Watching "),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(18,pe,3,0,"div",10),e.\u0275\u0275elementEnd()()()),2&n&&(e.\u0275\u0275advance(1),e.\u0275\u0275property("isCentered",!0)("siteId",o.siteId),e.\u0275\u0275advance(5),e.\u0275\u0275property("hasOneShownPlan",!0)("queryParams",e.\u0275\u0275pipeBind1(7,9,o.queryParams$))("offer",e.\u0275\u0275pipeBind1(8,11,o.currentlySelectedOffer$))("isGiftSub",!0),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(14,13,o.giftCode$)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(15,ue,!o.submitting)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",o.submitting))},dependencies:[i.mk,i.O5,L.k,U.n,i.Ov],styles:[".gift-code-message-card[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #939396;border-radius:.3125rem;padding:1rem}"],changeDetection:0}),t})();var ve=r(13771),Ce=r(97534);let Oe=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.\u0275\u0275defineNgModule({type:t}),t.\u0275inj=e.\u0275\u0275defineInjector({providers:[z],imports:[m.RouterModule.forChild([{path:"",component:u,data:{hideHeader:!0,segment:l.F$,noTopScroll:!1,shouldShowEventTicker:!1}},{path:"offers",component:ve.e,data:{segment:l.q3,hideHeader:!0}},{path:"info",component:Z,data:{segment:l.ed,hideHeader:!0}},{path:"pay",component:q.$,data:{segment:l.nO,hideHeader:!0}},{path:"thank-you",component:Ce.t,data:{segment:l.Hl,hideHeader:!0}},{path:"redeem",component:ie,data:{segment:l.nu,hideHeader:!0},canActivate:[z]},{path:"choose-sport",data:{segment:l.an,hideHeader:!0},component:ae.b},{path:"overview",data:{segment:l.Wo,hideHeader:!0},component:he}]),m.RouterModule]}),t})();var Me=r(7037),I=r(37658),j=r(47951),V=r(8265),K=r(99286),$=r(86965),ye=r(37709);let Pe=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.\u0275\u0275defineNgModule({type:t}),t.\u0275inj=e.\u0275\u0275defineInjector({imports:[i.ez,K.m8,I.I,c.UX,j.F,V.PayModule,ye.y,$.$]}),t})(),be=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.\u0275\u0275defineNgModule({type:t}),t.\u0275inj=e.\u0275\u0275defineInjector({imports:[i.ez,I.I,c.UX,j.F,$.$]}),t})(),_e=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.\u0275\u0275defineNgModule({type:t}),t.\u0275inj=e.\u0275\u0275defineInjector({imports:[i.ez,K.m8,I.I,j.F,V.PayModule,$.$]}),t})();var Se=r(92767);let xe=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.\u0275\u0275defineNgModule({type:t}),t.\u0275inj=e.\u0275\u0275defineInjector({providers:[l.Hm],imports:[i.ez,Oe,Me.f,I.I,Se.B,Pe,be,_e]}),t})()},97290:(T,P,r)=>{r.d(P,{A:()=>S});var i=r(94650),m=r(79121),p=r(36895),v=r(87833);function l(d,C){1&d&&i.\u0275\u0275element(0,"flo-svg-icon",5)}function b(d,C){if(1&d&&(i.\u0275\u0275elementStart(0,"div",2),i.\u0275\u0275template(1,l,1,0,"flo-svg-icon",3),i.\u0275\u0275elementStart(2,"p",4),i.\u0275\u0275text(3),i.\u0275\u0275elementEnd()()),2&d){const f=C.$implicit,u=i.\u0275\u0275nextContext();i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",u.hasIcon),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(f)}}const e=function(d){return{"error-icon":d}};let S=(()=>{class d{constructor(f){this.formErrorsService=f,this.hasIcon=!1,this.trackByError=(u,c)=>u}get errorsList(){return Object.keys(this.errors).map(f=>this.getMessage(f,this.control))}getMessage(f,u){const c=this.formErrorsService.errorMessageDict[u];return Object.keys(c).filter(_=>_===f).map(_=>c[_])}}return d.\u0275fac=function(f){return new(f||d)(i.\u0275\u0275directiveInject(m.u))},d.\u0275cmp=i.\u0275\u0275defineComponent({type:d,selectors:[["flo-form-errors"]],inputs:{errors:"errors",control:"control",hasIcon:"hasIcon"},decls:2,vars:5,consts:[["data-test","form-error",1,"error-box",3,"ngClass"],["class","error-message",4,"ngFor","ngForOf","ngForTrackBy"],[1,"error-message"],["data-test","form-error-icon","class","icon flo-svg-minus-background","icon","exclamation","width","1.5rem",4,"ngIf"],["floAnalytics","","data-test","form-error-message",1,"error-msg"],["data-test","form-error-icon","icon","exclamation","width","1.5rem",1,"icon","flo-svg-minus-background"]],template:function(f,u){1&f&&(i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275template(1,b,4,2,"div",1),i.\u0275\u0275elementEnd()),2&f&&(i.\u0275\u0275property("ngClass",i.\u0275\u0275pureFunction1(3,e,u.hasIcon)),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngForOf",u.errorsList)("ngForTrackBy",u.trackByError))},dependencies:[p.mk,p.sg,p.O5,v.b],styles:[".error-icon[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{display:-moz-flex;display:flex;margin-top:6px;align-items:center}.error-icon[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]   .error-msg[_ngcontent-%COMP%]{color:#0c0c0c;font-size:14px;font-weight:400;margin:0;padding-left:8px;text-align:left}.error-icon[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{height:1.5rem}"],changeDetection:0}),d})()},535:(T,P,r)=>{r.d(P,{o:()=>p});var i=r(24006);const m=/@.+\..+$/;function p(v){return""!==v.value&&null!==v.value&&v.value.length>=6&&(!m.test(v.value)||i.kI.email(v))?{email_format:!0}:void 0}}}]);

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.