PageSourceSearch

https://forza.net/_nuxt/CJ5COtmy.js

js forza.net collected 2026-10-02 02:50:56 UTC 16,044 bytes, 1 lines download raw bytes

1import{$ as e,A as t,D as n,F as r,Kt as i,L as a,O as o,Q as s,R as c,V as l,Wt as u,Z as d,k as f,rt as p,t as m,tt as h,vt as g,y as _}from"./j805_Ayl.js";import{$t as v,i as ee,s as y,t as b}from"./DjDQgMwf.js";import{t as x}from"./BxS6TGMK.js";var S=Symbol(`head-component`),C={body:{type:Boolean,default:void 0},tagPosition:{type:String}};function w(e,t){let n=Object.fromEntries(Object.entries(e).filter(([e,t])=>t!==void 0));return n.body!==void 0&&(n.tagPosition=n.body?`bodyClose`:`head`),n.renderPriority!==void 0&&(n.tagPriority=n.renderPriority),{...n,key:t}}function T(){let e=c()?.vnode.key;return e!=null&&typeof e!=`symbol`?String(e):void 0}function E(){return l(S,D,!0)}function D(){let t=l(S,null);if(t)return t;let n=g({}),r=v(n),i={input:n,entry:r,update:()=>r.patch(n)};return e(S,i),i}var O={accesskey:String,autocapitalize:String,autofocus:{type:Boolean,default:void 0},class:{type:[String,Object,Array],default:void 0},contenteditable:{type:Boolean,default:void 0},contextmenu:String,dir:String,draggable:{type:Boolean,default:void 0},enterkeyhint:String,exportparts:String,hidden:{type:Boolean,default:void 0},id:String,inputmode:String,is:String,itemid:String,itemprop:String,itemref:String,itemscope:String,itemtype:String,lang:String,nonce:String,part:String,slot:String,spellcheck:{type:Boolean,default:void 0},style:{type:[String,Object,Array],default:void 0},tabindex:String,title:String,translate:String,renderPriority:[String,Number],tagPriority:{type:[String,Number]}};a({name:`NoScript`,inheritAttrs:!1,props:{...O,...C,title:String},setup(e,{slots:t}){let{input:n,update:r}=E();n.noscript||=[];let i=n.noscript.push({})-1;d(()=>{n.noscript[i]=null,r()});let a=T();return()=>{let o=w(e,a),s=t.default?.(),c=[];if(s)for(let e of s)e.children&&c.push(e.children);return c.length>0&&(o.textContent=c.join(``)),n.noscript[i]=o,r(),null}}});var te=a({name:`Link`,inheritAttrs:!1,props:{...O,...C,as:String,crossorigin:String,disabled:Boolean,fetchpriority:String,href:String,hreflang:String,imagesizes:String,imagesrcset:String,integrity:String,media:String,prefetch:{type:Boolean,default:void 0},referrerpolicy:String,rel:String,sizes:String,title:String,type:String,methods:String,target:String},setup(e){let{input:t,update:n}=E();t.link||=[];let r=t.link.push(null)-1,i=T();return d(()=>{t.link[r]=null,n()}),()=>(t.link[r]=w(e,i),n(),null)}});a({name:`Base`,inheritAttrs:!1,props:{...O,href:String,target:String},setup(e){let{input:t,update:n}=E(),r=T();return d(()=>{t.base=null,n()}),()=>(t.base=w(e,r),n(),null)}}),a({name:`Title`,inheritAttrs:!1,setup(e,{slots:t}){let{input:n,update:r}=E();return d(()=>{n.title=null,r()}),()=>{let e=t.default?.();return n.title=e?.[0]?.children?String(e?.[0]?.children):void 0,r(),null}}}),a({name:`Meta`,inheritAttrs:!1,props:{...O,charset:String,content:String,httpEquiv:String,name:String,property:String},setup(e){let{input:t,update:n}=E(),r=T();t.meta||=[];let i=t.meta.push(null)-1;return d(()=>{t.meta[i]=null,n()}),()=>{let a={"http-equiv":e.httpEquiv,...w(e,r)};return`httpEquiv`in a&&delete a.httpEquiv,t.meta[i]=a,n(),null}}}),a({name:`Style`,inheritAttrs:!1,props:{...O,...C,type:String,media:String,nonce:String,title:String,scoped:{type:Boolean,default:void 0}},setup(e,{slots:t}){let{input:n,update:r}=E(),i=T();n.style||=[];let a=n.style.push({})-1;return d(()=>{n.style[a]=null,r()}),()=>{let o=w(e,i),s=t.default?.()?.[0]?.children;return s&&(n.style[a]=o,o.textContent=s),r(),null}}}),a({name:`Head`,inheritAttrs:!1,setup:(e,t)=>(D(),()=>t.slots.default?.())}),a({name:`Html`,inheritAttrs:!1,props:{...O,manifest:String,version:String,xmlns:String},setup(e,t){let{input:n,update:r}=E();return d(()=>{n.htmlAttrs=null,r()}),()=>(n.htmlAttrs={...e,...t.attrs},r(),t.slots.default?.())}}),a({name:`Body`,inheritAttrs:!1,props:O,setup(e,t){let{input:n,update:r}=E();return d(()=>{n.bodyAttrs=null,r()}),()=>(n.bodyAttrs={...e,...t.attrs},r(),t.slots.default?.())}});var k={name:`BtnCounter`,props:{label:{type:String,default:()=>``},counter:{type:Number,default:0},ariaLabel:{type:String,default:()=>``}}},A={class:`text-white relative btn-counter overflow-hidden group flex items-center`},j=[`textContent`],M={class:`relative overflow-hidden`},N=[`textContent`];function P(e,r,a,o,c,l){return s(),t(`button`,A,[a.counter>0?(s(),t(`span`,{key:0,class:`rounded-full bg-xboxDark text-dark font-bold mr-10 aspect-square h-20 w-20 flex items-center justify-center`,textContent:i(a.counter)},null,8,j)):f(``,!0),n(`span`,M,[a.label?(s(),t(`span`,{key:0,textContent:i(a.label)},null,8,N)):f(``,!0),r[0]||=n(`span`,{class:`absolute inset-x-0 h-2 bg-motorsport bottom-0 btn-counter__counter group-hover:translate-x-0`},null,-1)])])}var F=m(k,[[`render`,P]]),I={name:`PartsProfileBar`,components:{BtnCounter:F},props:{section:{type:Object,default:()=>{}},announcements:{type:Object,default:()=>{}},showEdit:{type:Boolean,default:!0}}
1,emits:[`openAnnouncementModal`],computed:{userDetails(){return this.isLoggedIn?{gamertag:this.$auth.user.gamertag,avatarUrl:this.$auth.user.avatarUrl}:{gamertag:``,avatarUrl:``}},isLoggedIn(){return this.$auth?this.$auth.loggedIn:!1},announcementsCount(){return this.announcements?.data?.length||0}},methods:{openAnnouncementModal(){this.$emit(`openAnnouncementModal`)}}},L={class:`parts-profileBar relative rounded-4 bg-shade py-10 pl-100 pr-10`},R={class:`flex items-center`},z={class:`absolute left-0 top-6/12 aspect-square h-100 w-100 -translate-x-15 -translate-y-6/12 overflow-hidden rounded-full bg-motorsport`},B=[`src`,`alt`],V={class:`mr-auto flex items-center space-x-40 2xl:space-x-50`},H=[`textContent`],U={class:`flex items-center space-x-50 pr-20`};function W(e,r,a,c,l,u){let d=b,m=p(`BtnCounter`);return s(),t(`div`,L,[n(`div`,R,[n(`div`,z,[u.userDetails.avatarUrl&&u.userDetails.gamertag?(s(),t(`img`,{key:0,src:u.userDetails.avatarUrl,alt:`${u.userDetails.gamertag} avatar`,class:`h-full w-full object-cover`},null,8,B)):f(``,!0)]),n(`div`,V,[u.userDetails.gamertag?(s(),t(`h2`,{key:0,class:`heading -mt-5 py-10 text-4xl normal-case`,textContent:i(u.userDetails.gamertag)},null,8,H)):f(``,!0)]),n(`div`,U,[(s(!0),t(_,null,h(a.section.links,(e,t)=>(s(),o(d,{key:`link-${t}`,link:e,class:`pagelink underlinelink inline-block pb-3 text-white`},null,8,[`link`]))),128)),u.announcementsCount>0?(s(),o(m,{key:0,ref:`announcementRef`,label:`Announcements`,counter:u.announcementsCount,tabindex:`0`,onClick:u.openAnnouncementModal},null,8,[`counter`,`onClick`])):f(``,!0)])])])}var G=m(I,[[`render`,W]]),K={name:`BtnProfileBurger`,props:{active:{type:Boolean,default:!1}},watch:{active(e){e?this.animateBurger():this.reverseBurger()}},methods:{animateBurger(){let e=window.innerWidth<640?9:11.5;this.$refs.topRef.style.transform=`translateY(${e}px) rotate(45deg)`,this.$refs.topRef.style.width=`100%`,this.$refs.middleRef.style.opacity=0,this.$refs.bottomRef.style.width=`100%`,this.$refs.bottomRef.style.transform=`translateY(${-e}px) rotate(-45deg)`},reverseBurger(){let e=window.innerWidth<640?10:15,t=window.innerWidth<640?15:22.5;this.$refs.topRef.style.transform=`translateY(0) rotate(0)`,this.$refs.topRef.style.width=`${e}px`,this.$refs.middleRef.style.opacity=1,this.$refs.bottomRef.style.width=`${t}px`,this.$refs.bottomRef.style.transform=`translateY(0) rotate(0)`}}},q=[`aria-expanded`,`aria-label`],J={ref:`topRef`,class:`svg-icon absolute block w-10 sm:w-15 h-2 bg-white rounded-4 top-0 right-0 transition-all duration-300 ease-in-out`},Y={ref:`middleRef`,class:`svg-icon absolute block w-20 sm:w-30 h-2 bg-white rounded-4 top-6/12 -translate-y-6/12 inset-x-0 transition-all duration-300 ease-in-out`},X={ref:`bottomRef`,class:`svg-icon absolute block w-15 sm:w-[22.5px] h-2 bg-white rounded-4 bottom-0 right-0 transition-all duration-300 ease-in-out`};function Z(e,r,i,a,o,c){return s(),t(`button`,{class:`w-20 h-20 sm:w-30 sm:h-25 relative`,"aria-expanded":i.active,"aria-label":`${i.active?`Hide`:`Show`} profile menu`},[n(`span`,J,null,512),n(`span`,Y,null,512),n(`span`,X,null,512)],8,q)}var Q={name:`PartsProfileBarMobile`,components:{BtnProfileBurger:m(K,[[`render`,Z]]),BtnCounter:F},props:{section:{type:Object,default:()=>{}},announcements:{type:Object,default:()=>{}},showEdit:{type:Boolean,default:!0}},emits:[`openAnnouncementModal`],data(){return{isOpen:!1,menuHeightTimeout:null}},computed:{userDetails(){return this.$auth?.loggedIn?{gamertag:this.$auth.user.gamertag,avatarUrl:this.$auth.user.avatarUrl}:{gamertag:``,avatarUrl:``}},announcementsCount(){return this.announcements?.data?.length||0}},methods:{toggleMenu(){if(clearTimeout(this.menuHeightTimeout),this.isOpen=!this.isOpen,this.isOpen){let e=this.$refs.menuInnerRef.offsetHeight;this.$refs.menuRef.style.height=`${e}px`,this.menuHeightTimeout=setTimeout(()=>{this.$refs.menuRef.style.height=`auto`},500)}else{let e=this.$refs.menuInnerRef.offsetHeight;this.$refs.menuRef.style.height=`${e}px`,this.menuHeightTimeout=setTimeout(()=>{this.$refs.menuRef.style.height=0},100)}}
1,openAnnouncementModal(){this.$emit(`openAnnouncementModal`)}}},ne={class:`relative z-20 flex items-center py-[7px] pl-60 pr-10 sm:py-10 sm:pl-85`},re={class:`absolute left-0 top-6/12 aspect-square h-50 w-50 -translate-x-5 -translate-y-6/12 overflow-hidden rounded-full bg-motorsport sm:h-75 sm:w-75 sm:-translate-x-10`},ie=[`src`,`alt`],ae=[`textContent`],oe={ref:`menuRef`,class:`profile-menu absolute z-10 inset-x-0 top-full overflow-hidden rounded-b-4 bg-shade transition-all duration-500 ease-in-out`,style:{height:`0px`}},se={ref:`menuInnerRef`},ce={class:`flex flex-col items-start space-y-30 px-60 py-30`},le={key:0,class:`w-full opacity-10`};function ue(e,r,a,c,l,d){let m=p(`BtnProfileBurger`),g=b,v=p(`BtnCounter`);return s(),t(`div`,{class:u([`parts-barMobile relative bg-shade`,l.isOpen?`rounded-t-4`:`rounded-4`])},[n(`div`,ne,[n(`div`,re,[d.userDetails.avatarUrl&&d.userDetails.gamertag?(s(),t(`img`,{key:0,src:d.userDetails.avatarUrl,alt:`${d.userDetails.gamertag} avatar`,class:`h-full w-full object-cover`},null,8,ie)):f(``,!0)]),d.userDetails.gamertag?(s(),t(`h2`,{key:0,class:`heading mr-auto normal-case sm:-mt-5 sm:text-xl`,textContent:i(d.userDetails.gamertag)},null,8,ae)):f(``,!0),a.showEdit||d.announcementsCount>0||a.section.links.length>0?(s(),o(m,{key:1,active:l.isOpen,class:`ml-auto`,onClick:d.toggleMenu},null,8,[`active`,`onClick`])):f(``,!0)]),n(`div`,oe,[n(`div`,se,[n(`div`,ce,[(s(!0),t(_,null,h(a.section.links,(e,t)=>(s(),o(g,{key:`link-${t}`,link:e,class:`pagelink underlinelink inline-block py-5 text-white`},null,8,[`link`]))),128)),a.showEdit&&a.section.links.length>0?(s(),t(`hr`,le)):f(``,!0),d.announcementsCount>0?(s(),o(v,{key:1,label:`Announcements`,counter:d.announcementsCount,onClick:d.openAnnouncementModal},null,8,[`counter`,`onClick`])):f(``,!0)])],512)],512)],2)}var de=m(Q,[[`render`,ue]]),fe={},pe={viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function me(e,r){return s(),t(`svg`,pe,[...r[0]||=[n(`path`,{d:`M19.6457 5.99944C23.4903 12.6683 18.6831 21 11 21C3.3169 21 -1.4903 12.6683 2.35426 5.99944C6.1971 -0.666479 15.8029 -0.666479 19.6457 5.99944Z`,stroke:`currentColor`,"stroke-width":`2`},null,-1),n(`path`,{d:`M12.1157 12.0345C12.1157 12.3011 11.8996 12.5173 11.633 12.5173H10.3226C10.056 12.5173 9.83985 12.3011 9.83985 12.0345L9.83992 5.03451C9.83993 4.76789 10.0561 4.55176 10.3227 4.55176H11.633C11.8996 4.55176 12.1158 4.7679 12.1158 5.03452L12.1157 12.0345Z`,fill:`currentColor`},null,-1),n(`path`,{d:`M12.5091 15.9412C12.5091 16.3656 12.3606 16.7263 12.0635 17.0234C11.7664 17.3205 11.4056 17.4691 10.9812 17.4691C10.5568 17.4691 10.1961 17.3205 9.89901 17.0234C9.61608 16.7263 9.47461 16.3656 9.47461 15.9412C9.47461 15.5168 9.62315 15.1631 9.92023 14.8802C10.2173 14.5831 10.571 14.4346 10.9812 14.4346C11.4056 14.4346 11.7664 14.5831 12.0635 14.8802C12.3606 15.1631 12.5091 15.5168 12.5091 15.9412Z`,fill:`currentColor`},null,-1)]])}var he={name:`HeroLoggedIn`,components:{ProfileBar:G,ProfileBarMobile:de,AlertCircle:m(fe,[[`render`,me]]),Close:x},props:{section:{type:Object,default:()=>({})},announcements:{type:Object,default:()=>({})},showEdit:{type:Boolean,default:!0}},setup(){return{store:y()}},data(){return{modalActive:!1,modalContent:{},activeIndex:null,showListModal:!1,profileState:null,currentProfile:null}},computed:{highlightedAnnouncement(){return{content:this.announcements?.data?this.announcements.data.find(e=>e.highlight):null,activeIndex:this.announcements?.data?this.announcements.data.findIndex(e=>e.highlight):null}},isProgramSubscriber(){return!1}},mounted(){let e=this.$auth.crmProfile;this.profileState=e?.profileState??null,this.currentProfile=e??null},methods:{closeAnnouncement(){this.$refs.announcementRef.style.height=`0`},openListModal(){this.showListModal=!0},closeListModal(){this.showListModal=!1,this.$refs?.profileBarRef?.$refs?.announcementRef?.$el?.focus()},openContentModal(){this.showListModal=!0,this.activeIndex=this.highlightedAnnouncement.activeIndex},closeModal(){this.modalActive=!1,this.$refs?.profileBarRef?.$refs?.announcementRef?.$el?.focus()}}},ge={class:`section-heroLoggedIn relative flex flex-col items-center justify-center`},_e={class:`relative z-20 flex h-full min-h-[400px] w-full items-center justify-center lg:min-h-[600px]`},ve={class:`container--grid container relative z-10 py-80`},ye={class:`col-span-12 flex flex-col items-center text-center lg:col-span-8 lg:col-start-3`},be=[`textContent`],$=[`textContent`],xe={key:0,class:`container absolute bottom-0 z-20 translate-y-6/12`},Se={class:`absolute inset-0 flex h-full w-full items-center bg-black`},Ce={key:0,ref:`announcementRef`,class:`w-full overflow-hidden bg-xboxDark`},we={class:`pb-40 pt-60 lg:pt-80`},Te={class:`container`},Ee={class:`relative flex flex-col lg:flex-row lg:items-center lg:space-x-50`},De={class:`mb-30 flex items-center space-x-30 lg:mb-0 lg:space-x-50`},Oe={class:`ml-10 h-50 w-50 text-white`},ke=[`textContent`];function Ae(e,a,c,l,u,d){let m=ee,h=p(`ProfileBar`),g=p(`ProfileBarMobile`),_=p(`AlertCircle`),v=te,y=p(`Close`);return s(),t(`section`,ge,[n(`div`,_e,[n(`div`,ve,[n(`div`,ye,[c.section.foregroundImage?(s(),o(m,{key:0,classname:`w-auto max-h-120 md:max-h-none md:h-150 lg:h-250`,max:`large`,image:c.section.foregroundImage},null,8,[`image`])):f(``,!0),c.section.heading?(s(),t(`h1`,{key:1,class:`heading text-[50px] lg:text-9xl`,textContent:i(c.section.heading)},null,8,be)):f(``,!0),c.section.body?(s(),t(`p`,{key:2,class:`mt-40 max-w-640`,textContent:i(c.section.body)},null,8,$)):f(``,!0)])]),c.section.profileBar?(s(),t(`div`,xe,[r(h,{ref:`profileBarRef`,class:`xl-max:hidden`,section:c.section,announcements:c.announcements,"show-edit":c.showEdit&&d.isProgramSubscriber,onOpenAnnouncementMod
1al:d.openListModal},null,8,[`section`,`announcements`,`show-edit`,`onOpenAnnouncementModal`]),r(g,{class:`xl:hidden`,section:c.section,announcements:c.announcements,"show-edit":c.showEdit&&d.isProgramSubscriber,onOpenAnnouncementModal:d.openListModal},null,8,[`section`,`announcements`,`show-edit`,`onOpenAnnouncementModal`])])):f(``,!0),n(`div`,Se,[c.section.backgroundImage?(s(),o(m,{key:0,class:`h-full w-full`,classname:`w-full h-full object-cover opacity-50`,image:c.section.backgroundImage},null,8,[`image`])):f(``,!0)])]),d.highlightedAnnouncement.content?(s(),t(`div`,Ce,[n(`div`,we,[n(`div`,Te,[n(`div`,Ee,[n(`div`,De,[n(`div`,Oe,[r(_)]),a[2]||=n(`h4`,{class:`heading text-xl`},`New Announcement`,-1)]),d.highlightedAnnouncement.content.name?(s(),t(`p`,{key:0,class:`mb-20 ml-10 line-clamp-2 flex-auto lg:mb-0 lg:ml-0 lg:mr-auto lg:line-clamp-1 lg:max-w-7/12`,textContent:i(d.highlightedAnnouncement.content.name)},null,8,ke)):f(``,!0),r(v,{link:{label:`More Info`},class:`ml-10 lg:ml-0`,onClick:a[0]||=e=>d.openContentModal(d.highlightedAnnouncement)}),n(`button`,{class:`absolute h-30 w-30 text-white lg:relative lg-max:-top-20 lg-max:right-0`,onClick:a[1]||=(...e)=>d.closeAnnouncement&&d.closeAnnouncement(...e)},[r(y)])])])])],512)):f(``,!0)])}var je=m(he,[[`render`,Ae]]);export{je as 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.