PageSourceSearch

https://www.theunionsports.com/1023.dd9deac126535b97.js

js theunionsports.com collected 2026-10-04 06:36:18 UTC 13,573 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkthe_union_gk=self.webpackChunkthe_union_gk||[]).push([[1023],{69896:(R,v,n)=>{n.d(v,{G:()=>T});var f=n(22796),c=n(64537);let T=(()=>{const h=class{constructor(u){this.httpService=u}post(u,g,O){return this.httpService.httpRequest("POST",u,g,O)}get(u,g){return this.httpService.httpRequest("GET",u,g)}};let C=h;return h.\u0275fac=function(g){return new(g||h)(c.LFG(f.O))},h.\u0275prov=c.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),C})()},1023:(R,v,n)=>{n.r(v),n.d(v,{ContactV1Module:()=>j});var f=n(20092),c=n(22798),T=n(59302),C=n(69896),h=n(42384),i=n(59735),u=n(88692),g=n(96993),O=n(73794),b=n(38023),M=n(13528),P=n(26877),L=n(94183),U=n(18318),y=n(42443),E=n(92340),I=n(98329),S=n(84539),F=n(23090);const H={TITLE:"REQUEST A DEMO",DESCRIPTION:"Let us show you how to start building your fan community the right way.",CALL_US_AT:"CALL US AT (720) 449-1155",OR_ENTER_INFO:"OR USE THE FORM BELOW:",SUBMIT:"REQUEST DEMO",SUCCESS_MESSAGE:"Demo Request Submitted Successfully."};var V=n(25430),N=n(44689),t=n(64537),A=n(22864),B=n(35873),Z=n(5998),_=n(14625),G=n(6913),Y=n(36194);function z(m,r){1&m&&t._UZ(0,"span",19)}function w(m,r){if(1&m){const l=t.EpF();t.TgZ(0,"div",7)(1,"div",8)(2,"span"),t._uU(3),t.qZA(),t.TgZ(4,"span"),t._uU(5),t.qZA()(),t.TgZ(6,"div",9)(7,"app-dynamic-form-builder",10),t.NdJ("handleFormSubmit",function(){t.CHM(l);const o=t.oxw();return t.KtG(o.onCustomerSupport())}),t.qZA(),t.TgZ(8,"div",11)(9,"div",12)(10,"div",13)(11,"div",14),t._UZ(12,"iframe",15),t.qZA()()(),t.TgZ(13,"div",12)(14,"div",16)(15,"button",17),t.NdJ("click",function(){t.CHM(l);const o=t.oxw();return t.KtG(o.onCustomerSupport())}),t.YNc(16,z,1,0,"span",18),t._uU(17),t.qZA()()()()()()}if(2&m){const l=t.oxw();
1t.xp6(3),t.Oqu(l.CONTACT_V1_CONSTANTS.CALL_US_AT),t.xp6(2),t.Oqu(l.CONTACT_V1_CONSTANTS.OR_ENTER_INFO),t.xp6(2),t.Q6J("fields",l.formFields)("form",l.customerSupportForm),t.xp6(5),t.Q6J("src",l.iframeUrl,t.uOi)("height",l.customIframeHeight),t.xp6(3),t.Q6J("disabled",l.customerSupportForm.invalid||l.submitLoading),t.xp6(1),t.Q6J("ngIf",l.submitLoading),t.xp6(1),t.hij(" ",l.CONTACT_V1_CONSTANTS.SUBMIT," ")}}let J=(()=>{const r=class{changePreferredCountries(){this.preferredCountries=[c.HT.India,c.HT.Canada]}restrictFullNameInput(e){const o=e.target;o&&(o.value=o.value.replace(/[^A-Za-z0-9-,.;'!@#$%^&*:&/.() ]|^ /g,""))}constructor(e,o,a,s,d,p,x,X,q,k){this.cs=e,this.ams=o,this.router=a,this.countryStateCityService=s,this.seoService=d,this.document=p,this.headerFooterStateService=x,this.sanitizer=X,this.dynamicFormBuilderService=q,this.apiCacheService=k,this.CONTACT_V1_CONSTANTS=H,this.submitted=!1,this.separateDialCode=!0,this.SearchCountryField=c.wX,this.CountryISO=c.HT,this.dailedCode=c.HT.UnitedStates,this.PhoneNumberFormat=c.M9,this.preferredCountries=[c.HT.UnitedStates,c.HT.UnitedKingdom],this.countryList=[],this.maxLength=0,this.destroy$=new b.x,this.num1=String(Math.floor(Math.random()*i.Mx.FOURTY_EIGHT)+i.Mx.ONE).padStart(i.Mx.TWO,i.Mx.STR_ZERO),this.num2=String(Math.floor(Math.random()*i.Mx.FOURTY_EIGHT)+i.Mx.ONE).padStart(i.Mx.TWO,i.Mx.STR_ZERO),this.inqueryType=[],this.customIframeHeight=100,this.TARGET_ORIGIN=`${E.N.EMBED_BASE_URL}${y.qc}`,this.submitLoading=!1,this.userType=[{id:i.Mx.CREATOR},{id:i.Mx.FAN}],this.defaultHeaderState={isHeaderVisible:!0,reTriggerNeeded:!1,isSearch:!0,isLogin:!1,isLoginShow:!0,backgroundColor:null,themeColor:null,backBtnDetails:null,isAtProfile:!1,profilePageUser:null},this.iframeUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.TARGET_ORIGIN)}ngOnInit(){this.loadMarketingListingPages(),this.headerFooterStateService.updateState(this.defaultHeaderState),this.headerFooterStateService.updateFooterState({isFooterVisible:!0}),this.seoService.setPublicPageSeo(g.nz.contact),this.cs.isBrowser&&(this.document.body.classList.add(this.cs.getValueFromLocalStorage(i.Mx.THEME)||i.Mx.THEME_DARK),this.countryStateCityService.getJSONCountry().pipe((0,M.R)(this.destroy$)).subscribe(o=>{this.countryList=o,this.getCountryMaxLength(this.dailedCode)}))}loadMarketingListingPages(){const e=V.H.home;e?this.processMarketingListingData(e):this.apiCacheService.get(`${T.Y9.marketingPage}?url=home&include_sections=true`,N.Y.PRERENDERED).pipe((0,M.R)(this.destroy$)).subscribe({next:o=>{this.processMarketingListingData(o)}})}processMarketingListingData(e){if(e.data?.sections?.length){const a=e.data.sections.find(s=>"vertical-card-carousel-layout"===s.layout_id)?.vertical_cards;if(a?.length){const s=a.map(d=>({id:d.heading,name:d.heading}));this.initSignupForm(s)}}}onMessage(e){const o=e.data;e.origin+"/"===E.N.EMBED_BASE_URL&&(o?.type===y.Gf.CAPTCHA_COMPLETED&&this.onCaptchaResolved(!!o?.token),o?.type===y.Gf.BUBBLE_CLOSED&&(this.customIframeHeight=i.Mx.ONE_HUNDRED),o?.type===y.Gf.BUBBLE_OPENED&&(this.customIframeHeight=i.Mx.FIVE_HUNDRED))}initSignupForm(e=[]){this.formFields=function D(m=[]){return{sections:[{title:"",fields:[{type:S.sf.TEXT,label:"Name",name:"full_name",placeholder:"Enter your Full Name",class:"col-12",autoComplete:"off",validation:{required:{message:"Name is required"},minlength:{value:2,message:"Minimum 2 characters allowed"},maxlength:{value:24,message:"Maximum 24 characters allowed"},pattern:{value:F.mL.N_W_S_AT_B,message:"Invalid Name"}}},{type:S.sf.TEXT,label:"Email",name:"email",placeholder:"Enter your Email Address",class:"col-12",autoComplete:"off",validation:{required:{message:"Email is required"},pattern:{value:F.mL.EMAIL,message:"Please enter a valid Email"}}},{type:S.sf.MOBILE_INPUT,label:"Phone",name:"phone_number",placeholder:"Enter your Phone Number",class:"col-12 col-lg-12",mobile:{preferredCountries:[c.HT.UnitedStates,c.HT.UnitedKingdom],enableAutoCountrySelect:!0,enablePlaceholder:!1,searchCountryFlag:!0,searchCountryField:c.wX,selectFirstCountry:!1,selectedCountryISO:c.HT.UnitedStates,phoneValidation:!0,separateDialCode:!0},validation:{required:{message:"Please enter a valid phone"},validatePhoneNumber:{message:"Please enter a valid Phone"}}},{type:S.sf.SELECT,label:"Creator Vertical",name:"inquiryType",placeholder:"Select your vertical",class:"col-12",options:[...m,{id:"Other",name:"Other"}],labelKey:"name",valueKey:"name",validation:{required:{message:"Creator Vertical is required"}}},{type:S.sf.TEXT_AREA,label:"Message",name:"help_query",placeholder:"Tell us about yourself and how we 
1can help...",class:"col-12",maxlength:500,validation:{required:{message:"Message is required"},minlength:{value:2,message:"Minimum 2 characters allowed"},maxlength:{value:500,message:"Maximum 500 characters allowed"}}}]}],buttons:[]}}(e);const o=this.formFields.sections[0].fields.find(s=>"full_name"===s.name);o&&(o.onKeyDown=s=>{const d=s.target;d&&setTimeout(()=>{d.value=d.value.replace(/[^A-Za-z0-9-,.;'!@#$%^&*:&/.() ]|^ /g,"");const p=this.customerSupportForm?.get("full_name");p&&p.setValue(d.value,{emitEvent:!1})},0)});const a=this.formFields.sections[0].fields.find(s=>"email"===s.name);a&&(a.onKeyDown=s=>{" "===s.key&&s.preventDefault()}),this.customerSupportForm=this.dynamicFormBuilderService.toFormGroup(this.formFields),this.customerSupportForm.addControl("myRecaptcha",new f.p4(null,f.kI.requiredTrue)),this.customerSupportForm.addControl("user_name",new f.p4("")),this.cs.isBrowser&&setTimeout(()=>{const s=document.querySelector('input[formControlName="full_name"]');s&&s.addEventListener("input",d=>{const p=d.target;if(p){p.value=p.value.replace(/[^A-Za-z0-9-,.;'!@#$%^&*:&/.() ]|^ /g,"");const x=this.customerSupportForm?.get("full_name");x&&x.setValue(p.value,{emitEvent:!1})}})},100)}getCountryMaxLength(e){e=e.toUpperCase();const o=this.countryList.find(a=>a.iso2===e);o&&(this.maxLength=o?.phoneLength)}onKeyPress(e){this.customerSupportForm.get("phone_number")&&(0,P.W0)(e,this.maxLength,this.customerSupportForm.get("phone_number"))}onCaptchaResolved(e){this.customerSupportForm.get("myRecaptcha")?.setValue(e),this.customerSupportForm.get("myRecaptcha")?.markAsTouched(),this.customerSupportForm.get("myRecaptcha")?.updateValueAndValidity()}onCountryChange(e){this.customerSupportForm.get("phone_number")&&(this.customerSupportForm.get("phone_number")?.setValue(""),this.getCountryMaxLength(e.iso2))}onCustomerSupport(){if(this.submitted=!0,this.submitLoading=!0,!this.customerSupportForm.invali
1d){const e=this.customerSupportForm.getRawValue(),o=Object.assign({name:e.full_name,phone:e.phone_number.number,email:e.email,vertical:e.inquiryType,message:e.help_query,request_from:"topfan"});this.ams.post(`${T.Y9.usersInquiry}`,!1,o).subscribe({next:a=>{this.submitLoading=!1,a.status?(this.customerSupportForm.reset(),this.cs.showSuccessMessage(this.CONTACT_V1_CONSTANTS.SUCCESS_MESSAGE),this.router.navigate([""]),this.submitted=!1):(this.cs.showErrorMessage(a.message),this.customerSupportForm.controls.myRecaptcha.reset(),this.refreshCaptcha())},error:a=>{this.submitLoading=!1,this.customerSupportForm.controls.myRecaptcha.reset(),this.refreshCaptcha(),this.cs.showErrorMessage(a.message)}})}}refreshCaptcha(){this.num1=String(Math.floor(Math.random()*i.Mx.FOURTY_EIGHT)+i.Mx.ONE).padStart(i.Mx.TWO,i.Mx.STR_ZERO),this.num2=String(Math.floor(Math.random()*i.Mx.FOURTY_EIGHT)+i.Mx.ONE).padStart(i.Mx.TWO,i.Mx.STR_ZERO)}getSumValidation(){return Number(this.customerSupportForm.get("myRecaptcha")?.value)===Number(this.num1)+Number(this.num2)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}};let m=r;return r.\u0275fac=function(o){return new(o||r)(t.Y36(h.v),t.Y36(C.G),t.Y36(A.F0),t.Y36(B.Z),t.Y36(O.v),t.Y36(u.K0),t.Y36(U.P),t.Y36(Z.H7),t.Y36(I.D),t.Y36(N.G))},r.\u0275cmp=t.Xpm({type:r,selectors:[["app-contact-v1"]],viewQuery:function(o,a){if(1&o&&t.Gf(L.v,5),2&o){let s;t.iGM(s=t.CRH())&&(a.pmd=s.first)}},hostBindings:function(o,a){1&o&&t.NdJ("message",function(d){return a.onMessage(d)},!1,t.Jf7)},decls:9,vars:8,consts:[[1,"onboarding","contact-us-page","pos-relative","schedule-demo-contact"],[1,"contact-demo-form-title"],[1,"contact-demo-form-description"],[1,"contact-demo-container"],[1,"contact-demo-img"],["appDisableRightClick","","appMobileOptimization","","originalUrl","https://cdn-www.topfans.com/TopFans/1769670503296.png","loading","eager","fetchpriority","high","decoding","async",1,"img-fluid",3,"format","quality","width","height","priority"],["class","onboarding-card contact-demo-form-container",4,"ngIf"],[1,"onboarding-card","contact-demo-form-container"],[1,"contact-demo-form-header"],[1,"contact-demo-form"],[3,"fields","form","handleFormSubmit"],[1,"row"],[1,"col-12"],[1,"form-group"],[1,"captcha-container"],["width","100%","frameborder","0","scrolling","no",3,"src","height"],[1,"form-group-btn","submit-faq"],["type","button","id","customersupport",1,"btn","btn-primary",3,"disabled","click"],["class","loading-spinner",4,"ngIf"],[1,"loading-spinner"]],template:function(o,a){1&o&&(t.TgZ(0,"div",0)(1,"p",1),t._uU(2),t.qZA(),t.TgZ(3,"p",2),t._uU(4),t.qZA(),t.TgZ(5,"div",3)(6,"div",4),t._UZ(7,"img",5),t.qZA(),t.YNc(8,w,18,9,"div",6),t.qZA()()),2&o&&(t.xp6(2),t.hij("",a.CONTACT_V1_CONSTANTS.TITLE," "),t.xp6(2),t.Oqu(a.CONTACT_V1_CONSTANTS.DESCRIPTION),t.xp6(3),t.Q6J("format","png")("quality",100)("width",540)("height",860)("priority",!0),t.xp6(1),t.Q6J("ngIf",a.customerSupportForm))},dependencies:[_.U,G.m,Y.J,u.O5],styles:[".contact-us-page[_ngcontent-%COMP%]{padding-top:40px}.contact-us-page[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:disabled{opacity:.7!important}@media screen and (max-width: 962px){.contact-us-page[_ngcontent-%COMP%]{background:var(--configBgColor)}}.submit-faq[_ngcontent-%COMP%]{margin-top:60px!important}@media screen and (max-width: 962px){.submit-faq[_ngcontent-%COMP%]{margin-top:40px!important}}.captcha-container[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{position:absolute;opacity:1;z-index:99}.contact-demo-img[_ngcontent-%COMP%]{display:flex;align-items:center}@media screen and (max-width: 962px){.contact-demo-form-container[_ngcontent-%COMP%]{background:var(--configSecondaryBgColor);display:block;padding:20px 10px 10px;border-radius:30px}}  .schedule-demo-contact .fb-monetize-card{padding:10px 0 28px!important}.contact-demo-container[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:40px}.contact-demo-form[_ngcontent-%COMP%]{padding:10px;border-radius:30px}@media screen and (max-width: 962px){.contact-demo-form[_ngcontent-%COMP%]{padding:0 10px 30px}}.contact-demo-form-header[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.contact-demo-form-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:20px;font-weight:700}@media screen and (max-width: 962px){.contact-demo-form-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px}}.contact-demo-form-description[_ngcontent-%COMP%]{font-size:20px;font-weight:400;margin-bottom:50px}@media screen and (max-width: 962px){.contact-demo-form-description[_ngcontent-%COMP%]{font-size:14px;margin-bottom:30px;text-align:center}}.contact-demo-form-title[_ngcontent-%COMP%]{font-size:32px;font-weight:600}@media screen and (max-width: 962px){.contact-demo-form-title[_ngcontent-%COMP%]{font-size:22px}}@media screen and (max-width: 962px){.contact-demo-img[_ngcontent-%COMP%]{display:none}}"]}),m})();var K=n(30404),$=n(11208),Q=n(80164);const W=[{path:"",component:J,data:{title:"Contact Us - TopFan",description:"Contact Customer Support."}}];let j=(()=>{const r=class{};let m=r;return r.\u0275fac=function(o){return new(o||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[$.A0,K.m,u.ez,A.Bz.forChild(W),Q.d]}),m})()}}]);

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.