PageSourceSearch

https://www.kitbag.com/static/1.1.0-rc-20260917.183576/js/content_areas.js

js kitbag.com collected 2026-09-26 07:28:35 UTC 289,752 bytes, 1 lines download raw bytes

1(()=>{var e={55009(e,t,n){var r=n(26137),a=n(23997),i=n(67642),o=4294967295,s=Math.min;e.exports=function(e,t){if((e=i(e))<1||e>9007199254740991)return[];var n=o,l=s(e,o);t=a(t),e-=o;for(var c=r(l,t);++n<e;)t(n);return c}},39675(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=(n(74509),n(64022)),s=n(34145),l=n(46123),c=n.n(l),d=n(3514),p=n.n(d),u=n(25499),m=n(37982),g=n(55934),h=n(48183),y=n(87310),f=n(5765),E=n(84470);const T=e=>{let{title:t,department:n,teamName:r}=e;return a.createElement("h4",{className:"carousel-title"},a.createElement(s.A,{msg:t,replacements:{department:n,teamName:r}}))},v=e=>{let{carouselData:t,imageHost:n,pageType:i,itemDescriptions:o=[]}=e;const s=Array.isArray(o)?o:[],l=new Map(s.filter((e=>e&&"string"===typeof e.itemName&&"string"===typeof e.description)).map((e=>{let{itemName:t,description:n}=e;return[t,n]})));return a.createElement(m.S,{className:"aggregation-carousel-content"},t.map(((e,t)=>{const{image:o,text:s,trkId:c}=e,d=(0,y.q0)({imageHostname:n,imagePath:o.src}),p=l.get(s);return a.createElement("div",{className:"aggregation-carousel-item",key:c},a.createElement(u.A,(0,r.A)({},e,{index:t,title:s,categoryTitle:"aggregation-carousel",pageType:i}),a.createElement(f.A,{width:y.BZ.LARGE,height:y.BZ.LARGE,src:(0,h.CG)(d,[`w=${y.BZ.LARGE}`]),alt:s})),p&&a.createElement("span",{className:"aggregation-item-description"},p))})))},A=e=>{let{title:t,placementName:n,isEnabled:r,itemDescriptions:i=[]}=e;const s=(0,a.useContext)(o.A),l=s.platform.getData("initialAppContext"),d=c()(l,"lumenSettings.settings.resources.d[0]",""),u=c()(l,"lumenSettings.settings.resources.t[0]",""),m=(0,g.F7)({context:s,placementName:n});if(!p()(d)&&!p()(u)&&!p()(m)){if((0,E.Ji)({appContext:l,settingID:n,settings:["isEnabled"],method:E.HJ.FANFLOW}),!r)return null;const e=u.shortName||u.fullName;return a.createElement("div",{className:"aggregation-carousel"},a.createElement(T,{title:t,department:d.name,teamName:e}),a.createElement(v,{carouselData:m,imageHost:null===l||void 0===l?void 0:l.imageHostname,pageType:null===l||void 0===l?void 0:l.pageTypeCode,itemDescriptions:i}))}return null};var b=n(92108);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],s=n.parentNode.dataset.trkId,l=b.A.getData("initialAppContext"),{[s]:{settings:c}={}}=l.lumenSettings.settings;i.render(a.createElement(o.A.Provider,{value:{platform:b.A}},a.createElement(A,(0,r.A)({},c,{placementName:s}))),n)}}("pl-aggregation-carousel")},56969(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(81447),s=n(64022),l=n(92108),c=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],d=n.parentNode.dataset.trkId,{lumenSettings:{settings:{[d]:{settings:p}={}}}}=l.A.getData("initialAppContext");i.render(a.createElement(s.A.Provider,{value:{translate:c.A,platform:l.A}},a.createElement(o.A,(0,r.A)({},p))),n)}}("pl-alliance-data-widget")},75158(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(39067),s=n.n(o);const l=e=>{const{message:t="",backgroundColor:n,placementName:r}=e;return a.createElement("div",{key:r,className:"announcements-container",style:{backgroundColor:n}},t)};l.propTypes={message:s().string.isRequired,backgroundColor:s().string};const c=l;var d=n(92108),p=n(46123),u=n.n(p);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=d.A.getData("initialAppContext"),l=u()(s,`lumenSettings.settings[${o}].settings`,{}),p=u()(s,"lumenSettings.settings.ANNOUNCEMENTS.settings",{});i.render(a.createElement(c,(0,r.A)({placementName:o,appContext:s},l,p)),n)}}("announcements")},36155(e,t,n){"use strict";n.d(t,{Ay:()=>P});var r=n(11552),a=(n(81198),n(74509),n(14041)),i=n(39067),o=n.n(i),s=n(93641),l=n(82603),c=n(1098),d=n(46341),p=n(90886),u=n(55844),m=n(99870),g=n.n(m),h=n(84583),y=n(48648),f=n(67814);const E={PRICE_TEASER:"PRICE_TEASER",TOTAL_ONLY:"TOTAL_ONLY",BREAKDOWN:"BREAKDOWN",DEFAULT:"DEFAULT"},T={COUPON:"COUPON",CLEARANCE:"CLEARANCE",SALE:"SALE",STANDARD:"STANDARD"},v={[T.CLEARANCE]:{tierKeys:["clearance"],textKey:"framingClearanceDiscountText"},[T.SALE]:{tierKeys:["sale"],textKey:"framingSaleDiscountText"},[T.COUPON]:{tierKeys:["sale"],textKey:"framingCodeDiscountText"}},A=(e,t)=>
1Boolean(v[e])?e:t,b=e=>(0,u.uk)(e.money.userCurrencyValue,e.money.userCC),S=e=>{var t;const n=null===e||void 0===e||null===(t=e.money)||void 0===t?void 0:t.userCurrencyValue;return null!==n&&void 0!==n&&""!==n},N=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];var r;if(!(null===e||void 0===e||null===(r=e.regular)||void 0===r?void 0:r.money))return null;const a=v[t],i=n&&t===T.COUPON?["discountPrice",...a.tierKeys]:null===a||void 0===a?void 0:a.tierKeys,o=(null===i||void 0===i?void 0:i.map((t=>e[t])).find(S))??null;return{regular:b(e.regular),lowest:b(o||e.regular),discountTextKey:o?null===a||void 0===a?void 0:a.textKey:null}},I={[T.COUPON]:"COUPON",[T.CLEARANCE]:"CLEARANCE",[T.SALE]:"SALE"},C=(e,t,n)=>{const r=parseFloat(t.money.userCurrencyValue);return{priceType:e,percentOff:"BASE"!==e&&n>0?String(Math.round(100*(1-r/n))):null,price:{userCurrencyCode:t.money.userCC,userCurrencyValue:t.money.userCurrencyValue,hasRange:t.hasRange||!1},discountAmount:null}};const x=(e,t)=>{const{isAssemblyDiscountLabelsEnabled:n,isAssemblyDiscountStrikethroughEnabled:r}=t,a=e.lowest!==e.regular,i=n&&a&&((e,t)=>{if(!e.discountTextKey)return null;const n=null===t||void 0===t?void 0:t[e.discountTextKey];return n&&"string"===typeof n&&n.includes("{priceValue}")?n.replace("{priceValue}",e.lowest):null})(e,t)||e.lowest,o=r&&a;return{value:o?e.regular:i,infoText:o?i:null,showStrikethrough:o}},L=e=>{const{priceText:t,price:n,baseProduct:i,assembly:o,customizationPriceCard:s,baseProductDisplayPriceTag:l,customizationDisplayPriceTag:c,appContext:d}=e,p=Object.assign({},e,{noDiscountPriceText:t,preDiscountPriceText:t,discountedPriceText:t,potentialDiscountPriceText:t}),u=Boolean(n),m=Boolean(o&&o.price),g=Boolean(i&&i.price);if(!i||!g&&!m&&!u)return a.createElement(k,(0,r.A)({},e));const{price:E,priceCard:T,derivedExclusions:b,selectedSize:N,potentialDiscount:x={}}=i;let L=E,w={},O=T;if(m||u){L=m?o.price:n,w=m?{}:x;O=function(e){let{price:t,displayPriceTag:n,priceLabels:r=[],messaging:a=[]}=e;var i;if(!S(null===t||void 0===t?void 0:t.regular))return null;const o=parseFloat(t.regular.money.userCurrencyValue),s=v[n],l=I[n]??null,c=null===s||void 0===s||null===(i=s.tierKeys)||void 0===i?void 0:i.map((e=>t[e])).find(S),d=Boolean(c&&l),p=[C("BASE",t.regular,o)];return d&&p.push(C(l,c,o)),{lowestPrice:d?l:"BASE",priceLabel:d?l:"NONE",priceLabels:r,messaging:a,prices:p}}({price:L,displayPriceTag:A(l,c)||(0,f.zV)(s),priceLabels:null===T||void 0===T?void 0:T.priceLabels,messaging:null===T||void 0===T?void 0:T.messaging})}const D=(e.showPotentialDiscountPrice??!0)&&!m;return a.createElement(h.A,{appContext:d,price:L,priceCard:O,product:{derivedExclusions:b,selectedSize:N},potentialDiscount:w,priceSettings:p,pageTypeCode:y.PAGE_TYPES.PDP.code,showPotentialDiscountPrice:D})};L.propTypes={priceText:o().string,price:o().object,baseProduct:o().object,assembly:o().object,customizationPriceCard:o().object,appContext:o().object};const k=e=>{let{priceTeaserText:t}=e;return a.createElement("span",{className:"price-teaser bold"},t??"See price in cart")};k.propTypes={priceTeaserText:o().string};const w=e=>{const{price:t,framingTotalText:n,priceTeaserText:r,baseProductDisplayPriceTag:i,customizationDisplayPriceTag:o}=e;if(!t)return a.createElement(k,{priceTeaserText:r});const s=N(t,A(i,o));if(!s)return a.createElement(k,{priceTeaserText:r});const{value:l,infoText:c,showStrikethrough:d}=x(s,e);return a.createElement(p.A,{label:n||"Total",value:l,infoText:c,lineItemClassName:"total-line bold",className:g()({"strike-through":d})})};w.propTypes={price:o().object,framingTotalText:o().string,priceTeaserText:o().string,baseProductDisplayPriceTag:o().oneOf([...Object.values(T),null]),customizationDisplayPriceTag:o().oneOf([...Object.values(T),null]),isAssemblyDiscountLabelsEnabled:o().bool,isAssemblyDiscountStrikethroughEnabled:o().bool};const O=e=>{const{baseProduct:t,framePrice:n,price:i,framingProductText:o,framingFrameText:s,framingTotalText:l,baseProductDisplayPriceTag:c,customizationDisplayPriceTag:d}=e;if(!(null===t||void 0===t?void 0:t.price)||!n||!i)return a.createElement(w,(0,r.A)({},e));const u=N(t.price,c,!0),m=N(n,d),h=N(i,A(c,d));if(!u||!m||!h)return a.createElement(w,(0,r.A)({},e));const y=[{label:o,priceData:u,className:"product-line"},{label:s,priceData:m,className:"frame-line"},{label:l,priceData:h,className:"total-line bold"}];return a.createElement("div",null,y.map(((t,n)=>{let{label:r,priceData:i,className:o}=t;const{value:s,infoText:l,showStrikethrough:c}=x(i,e);return a.createElement(p.A,{key:`${o}-${n}`,label:r,value:s,infoText:l,lineItemClassName:o,className:g()({"strike-through":c})})})))};
1O.propTypes={baseProduct:o().object,framePrice:o().object,price:o().object,framingProductText:o().string,framingFrameText:o().string,framingTotalText:o().string,baseProductDisplayPriceTag:o().oneOf([...Object.values(T),null]),customizationDisplayPriceTag:o().oneOf([...Object.values(T),null]),isAssemblyDiscountLabelsEnabled:o().bool,isAssemblyDiscountStrikethroughEnabled:o().bool};const D=e=>{const{framingPricingDisplayType:t,priceTeaserText:n}=e;let i,o=!1;switch(t){case E.PRICE_TEASER:i=a.createElement(k,{priceTeaserText:n});break;case E.TOTAL_ONLY:i=a.createElement(w,(0,r.A)({},e)),o=!0;break;case E.BREAKDOWN:i=a.createElement(O,(0,r.A)({},e)),o=!0;break;default:i=a.createElement(L,(0,r.A)({},e))}return a.createElement("div",{className:g()("assembly-price",{"assembly-price--line-item":o})},a.createElement("div",null,i))};D.propTypes={price:o().object,baseProduct:o().object,assembly:o().object,customizationPriceCard:o().object,framePrice:o().object,framingProductText:o().string,framingFrameText:o().string,framingTotalText:o().string,framingCodeDiscountText:o().string,framingSaleDiscountText:o().string,framingClearanceDiscountText:o().string,framingPricingDisplayType:o().oneOf(Object.values(E)),priceTeaserText:o().string,baseProductDisplayPriceTag:o().oneOf([...Object.values(T),null]),customizationDisplayPriceTag:o().oneOf([...Object.values(T),null]),isAssemblyDiscountLabelsEnabled:o().bool,isAssemblyDiscountStrikethroughEnabled:o().bool};const R=(0,c.A)(D,[s,l]),P=(0,d.V4)(R,"PDP","PRICE_CARD")},90303(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(11552),a=n(14041),i=n(39067),o=n.n(i),s=n(17353),l=n(96018);let c=class extends a.Component{renderLogo(){if(this.props.logoClassName)return a.createElement("span",{className:this.props.logoClassName})}renderLinkText(){if(this.props.text)return a.createElement("span",{className:"linkText"},this.props.text)}render(){return a.createElement(s.Ay,(0,r.A)({},this.props,{className:"link","data-trk-id":(0,l.pl)({trackId:this.props.title})}),this.renderLogo(),this.renderLinkText())}};c.propTypes={href:o().string.isRequired,title:o().string.isRequired,logoClassName:o().string}},62030(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(64022),s=n(92108),l=n(60268),c=n(46123),d=n.n(c),p=n(83089),u=n(77582),m=n(99870),g=n.n(m);const h={TEXT:"text",SUBMIT:"submit",TEL:"tel",NUMBER:"number",EMAIL:"email"},y={NAME:"name",EMAIL:"email",HOW_CAN_WE_HELP:"howWeCanHelp",PHONE_NUMBER:"phoneNumber",MESSAGE:"message",ORDER_NUMBER:"orderNumber",ITEMS_TO_RETURN:"itemsToReturn",REASON_FOR_RETURN:"reasonForReturn",ADDITIONAL_INFO:"additionalInfo",ADDRESS1:"address1",ADDRESS2:"address2",CITY:"city",STATE:"state",COUNTRY:"country",ZIPCODE:"zipcode",REPLACEMENT_PRODUCT_ID:"replacementProductId",REPLACEMENT_DESCRIPTION:"replacementDescription",REPLACEMENT_SIZE:"replacementSize",REPLACEMENT_COLOR:"replacementColor",CLAIM_TYPE_NAME:"claimTypeName",REFUNDED_INDIVIDUAL_ITEM_LIST:"refundedIndividualItemList",FAULT_DESCRIPTION:"faultDescription",CHECK_NUMBER:"checkNumber",EVENT_NAME:"eventName",EVENT_DATE:"eventDate",TRANSACTION_VALUE:"transactionValue",STADIUM_NAME:"stadiumName",STADIUM_COUNTRY:"stadiumCountry",STADIUM_STORE_DETAILS:"stadiumStoreDetail",REFUNDED_ITEMS:"refundedItems",INQUIRY_REASON:"inquiryReason",DOCUMENT_UPLOAD:"documentUpload",FAULTY_ITEM_FILE_UPLOAD:"faultyItemFileUpload",CLAIM_CONFIRMATION_EMAIL:"claimConfirmationEmail",PURCHASE_TYPE:"purchaseType",INQUIRY_ITEM:"inquiryItem",INQUIRY:"inquiry",SURNAME:"surname",FIRST_NAME:"firstName",LAST_NAME:"lastName",ORIGINAL_PRODUCT_ID:"originalProductId",QUANTITY:"quantity",FAVORITE_TEAM_ID:"favoriteTeamId",LEAGUE:"league",PROMOTION_DISCOUNT_CODE:"promotionOrDiscountCode",PRODUCT_ID:"productId",PRODUCT_QUANTITY:"productQuantity",PRODUCT_SIZE:"productSize",PROBLEM_WITH_ITEM_ORDER:"problemWithItemOrder",RESHIP_OR_REFUND:"reshipOrRefund",RESHIP_ADDRESS_CHANGE:"reshipAddressChange",WITHDRAWAL_TYPE:"withdrawalType",ORDER_DETAILS:"orderDetails"};var f=n(37702),E=n(23982),T=n(20194),v=n(24464),A=n(31920),b=n(3514),S=n.n(b),N=n(92628),I=n(86553);const C=e=>{const{firstNameText:t,lastNameText:n,fields:r,nameLengthErrMessage:i}=e,o=(e,t,n)=>a.createElement("div",{className:"row"},a.createElement(u.A,{type:h.TEXT,name:e,label:t,placeholder:t,className:"columns p-t-lg small-12 large-12 medium-12",validation:E.v.nameFieldsMaxLength(i),talosTag:n})),s={FIRST_NAME:{label:t,renderFunction:e=>o(y.FIRST_NAME,e,f.G.BE_THE_FIRST_REGISTRATION_FORM_FIRST_NAME)},LAST_NAME:{label:n,renderFunction:e=>o(y.LAST_NAME,e,f.G.BE_THE_FIRST_REGISTRATION_FORM_LAST_NAME)}},l=r.reduce(((e,t)=>{const n=null===t||void 0===t?void 0:t.fieldType;return s[n]&&e.push(s[n].renderFunction(s[n].label)),e}),[]);return a.createElement("div",null,l.map(((e,t)=>a.createElement("div",{key:t},e))))};var x=n(6715);const L="beTheFirst",k="on_phone_focus",w={PHONE:"phone",FIRST_LAST_NAME:"first_last_name",LEAGUE_TEAM:"league_team"};var O=n(97737),D=n(14876),R=n(64995);const P=e=>{const{appContext:t,favoriteTeamText:n,leagueText:r,availableLeagues:i}=e,[o,s]=(0,a.useState)([]),[l,c]=(0,a.useState)([]),d=async e=>{try{const n=await(async(e,t)=>{try{return(await R.A.getTeamsByOrg({orgId:t,locale:e})).body}catch(e){return v.A.error({message:`Error fetching teams ${e}`,spanName:"fetchTeams"}),[]}})(t.locale,e);S()(n)||s(n)}catch(e){v.A.error("Error while fetching teams with the given league",e)}};(0,a.useEffect)((()=>{S()(i)||(e=>{const t=e.map((e=>({id:e.id,name:e.name})));c(t)})(i)}),[]),(0,a.useEffect)((()=>{1===l.length&&0===o.length&&d(l[0].id)}),[o,l]);return a.createElement("div",null,l.length>1&&a.createElement("div",{className:"row"},a.createElement(D.A,{name:y.LEAGUE,items:l,label:r,placeholder:r,valueMember:"id",displayMember:"name",onSelectValue:e=>d(e),className:"columns p-t-lg small-12 large-12 medium-12",talosTag:f.G.BE_THE_FIRST_REGISTRATION_FORM_TEAM,noDefaultValue:!0})),a.createElement("div",{className:"row"},a.createElement(D.A,{name:y.FAVORITE_TEAM_ID,items:o,label:n,placeholder:n,valueMember:"teamId",displayMember:"text",className:"columns p-t-lg small-12 large-12 medium-12",talosTag:f.G.BE_THE_FIRST_REGISTRATION_FORM_TEAM,disabled:!(null===o||void 0===o?void 0:o.length),noDefaultValue:!0})))};var _=n(95909),M=n(17353),U=n(47068),B=n(73118),F=n(84827),j=n(7512),G=n(25159);const V=e=>{const[t,n]=(0,a.useState)([]),[i,o]=(0,a.useState)(!1),[s,l]=(0,a.useState)(""),[c,m]=(0,a.useState)(""),[b,D]=(0,a.useState)(""),[R,V]=(0,a.useState)(!1),[H,$]=(0,a.useState)(!0),[W,q]=(0,a.useState)([]),[z,Y]=(0,a.useState)({}),[X,K]=(0,a.useState)(!1),[J,Q]=(0,a.useState)(!1),Z=(0,a.useRef)(),{appContext:ee,successMessageOnFormSubmission:te,successTitle:ne,failureMessage:re,modalErrorHeader:ae,availableLeagues:ie,titleText:oe,subTitleText:se,emailText:le,submitButtonText:ce,campaignName:de,emailFieldErrMessage:pe,errorOnFormSubmission:ue,scrollToContainer:me,uncheckedEmailOptInError:ge,showLegalText:he,legalText:ye,legalMidText:fe,privacyText:Ee,termsAndConditionText:Te,termsAndConditionUrl:ve,privacyUrl:Ae,privacyTextAddendum:be,fields:Se,marketingLegalTextPrefix:Ne,marketingLegalTextSuffix:Ie,marketingLegalLinkText:Ce,marketingLegalLinkUrl:xe,favoriteTeamText:Le,leagueText:ke,phoneText:we,phoneRequired:Oe,smsConsentDisplay:De,phoneFieldErrMessage:Re,phoneCountryCodeErrMessage:Pe,allowedCountryCodes:_e=["US"],backgroundColor:Me,titleFontSize:Ue,subTitleFontSize:Be,titleFontWeight:Fe,subTitleFontWeight:je,fieldOrder:Ge=[],successMessageWithPhone:Ve,successTitleWithPhone:He}=e,$e=d()(ee,"lumenSettings.settings.SMS_CONSENT.settings",{}),We=d()($e,"enableSMSConsent",!1),qe=(null===ee||void 0===ee?void 0:ee.iso_country)||_e[0]||"US",[ze,Ye]=(0,a.useState)({countryCode:null,number:null}),[Xe,Ke]=(0,a.useState)(qe),Je=d()(ee,"lumenSettings.settings.MARKETING_PERMISSIONS.settings",{}),Qe=d()(ee,"lumenSettings.settings.SITE_ACCOUNT.settings.enableFanKey",!1),Ze=d()(ee,"userStatus.isLoggedIn",!0),et=Ge.map((e=>{let{key:t}=e;return t})),tt=et.includes(w.PHONE),nt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Xe;return _e.includes(e)}
1,rt=tt&&We&&nt()&&(De!==k||J||!!(null===ze||void 0===ze?void 0:ze.number)),at=()=>tt&&(null===ze||void 0===ze?void 0:ze.number)&&nt()?(0,_.nu)(ze.number,Xe,L,{subCaptureSource:de}).mobile:null,it=async e=>{if(Qe)try{const{body:t={}}=await(0,U.FZ)({email:e});(0,B.Mf)("be-the-first",t,Ze)}catch(e){v.A.warn({message:"Failed to resolve fan key during be-the-first registration",error:(0,F.u)(e),spanName:U.YV})}},ot=e=>{V(!0);m(He&&e?He:ne);l(Ve&&e?Ve:te),o(!0),$(!1),ct()},st=async e=>{var t;t=re,m(ae),D(t),o(!0),v.A.error({message:`Error while creating CRM account: ${e}`,spanName:"createOrUpdateCRMAccount"})},lt=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{const r=d()(ee,"rids[0].ids[0]");1===W.length&&(e.league=W[0].id),S()(t)&&(t=[{type:_.kK.SHOP,channel:_.rV.EMAIL,optIn:!0}]),await((e,t,n,r,a)=>{const{firstName:i="",lastName:o="",email:s="",league:l,favoriteTeamId:c}=e,d={email:s,firstName:i,lastName:o,subscriptionPreferences:n,isGuest:!0,reasonCode:L};return a&&(d.mobile=a),c&&(d.preferences={league:l,favoriteTeams:[c]}),d.fanFlowAttributes={et:"REGISTER_USER.CAMPAIGN",a:{purl:window.location.href,obpurl:window.location.href,cmpgnnm:t,rurl:window.document.referrer,cmpgnid:r,favlg:l,favtms:c?[c]:[]}},x.Ay.createOrUpdateCRMAccount(d)})(e,de,t,r,at()),await it(e.email),ot(n)}catch(t){if(409===(null===t||void 0===t?void 0:t.statusCode))try{await it(e.email),ot(n)}catch(e){st(e)}else st(t)}};(0,a.useEffect)((()=>{S()(ie)||(e=>{const t=e.map((e=>({id:e.id,name:e.name})));q(t)})(ie)}),[]);const ct=()=>{$(!0),n([]),Ye({countryCode:null,number:null}),Ke(qe),Q(!1),Z.current.clearForm()};return a.createElement("div",{className:"be-the-first-registration-form-container",style:{backgroundColor:Me}},a.createElement("div",{className:"be-the-first-registration-form-component"},S()(oe)?null:a.createElement("div",{className:g()(`header-title ${Ue} ${Fe}`)},oe),S()(se)?null:a.createElement("div",{className:g()(`header-subtitle ${Be} ${je}`)},se),a.createElement("div",{className:"header-subtitle-legal-text"},Ne," "," ",a.createElement(M.Ay,{className:"marketing-legal-link",href:xe,"data-trk-id":"marketing-legal-link"},Ce),Ie),a.createElement(A.A,{isSuccess:R,isOpen:i,modalHeader:c,toggleModal:()=>{o(!i),V(!1)},successMessage:s,errorMessage:b}),a.createElement(N.A,{onSubmit:async(e,t,r)=>{(null===r||void 0===r?void 0:r.preventDefault)&&r.preventDefault();const{isEnabled:a=!1}=Je;let i=[];const o=[];
1if(a&&(i=(0,_.oh)(Je,z),((e,t,n)=>{t&&!(e=>{const t=e.find((e=>{let{type:t,channel:n}=e;return"shop"===t&&"email"===n}));return!t||t.optIn})(e)&&n.push(ge)})(i,a,o)),tt&&(null===ze||void 0===ze?void 0:ze.number)&&!nt()&&o.push(Pe),e||o.push(ue),o.length>0)return void n(o);n([]),K(!0);const s=tt&&!!(null===ze||void 0===ze?void 0:ze.number);try{await lt(t,i,s)}catch(e){st(e)}finally{K(!1)}},scrollToContainer:me,ref:Z},a.createElement("div",{className:"row"},a.createElement(u.A,{type:h.EMAIL,name:y.EMAIL,label:le,placeholder:le,className:"columns p-t-lg small-12 large-12 medium-12",validation:E.v.email(pe),talosTag:f.G.BE_THE_FIRST_REGISTRATION_FORM_EMAIL,required:!0})),et.map((t=>{switch(t){case w.PHONE:return tt?a.createElement(a.Fragment,{key:w.PHONE},a.createElement("div",{className:"row"},a.createElement(j.A,{name:"phone",label:we,placeholder:we,className:"columns p-t-lg small-12 large-12 medium-12",userSelectedCountry:Xe,phoneNumberValidationEnabled:!0,retainValueOnError:!0,required:Oe,fieldRequiredErrorMsg:Re,invalidPhoneNumberErrorMsg:Re,setPhoneNumber:Ye,onCountryChange:Ke,onFocus:()=>Q(!0),talosTag:f.G.BE_THE_FIRST_REGISTRATION_FORM_PHONE_NUMBER})),rt?a.createElement("div",{className:"row"},a.createElement("div",{className:"columns small-12 medium-12 large-12 sms-consent-row"},a.createElement(G.A,{showCheckbox:!1}))):null):null;case w.FIRST_LAST_NAME:return S()(Se)?null:a.createElement(C,(0,r.A)({key:w.FIRST_LAST_NAME},e));case w.LEAGUE_TEAM:return S()(ie)?null:a.createElement(P,{key:w.LEAGUE_TEAM,appContext:ee,favoriteTeamText:Le,leagueText:ke,availableLeagues:ie});default:return null}})),H?a.createElement(I.A,{tabIndex:1,onPermissionsChange:Y}):null,!he||S()(ye)||S()(be)?null:a.createElement("div",{className:"legal-text"},a.createElement(O.A,{legalText:ye,legalMidText:fe,privacyText:Ee,termsAndConditionText:Te,termsAndConditionUrl:ve,privacyUrl:Ae,privacyTextAddendum:be})),a.createElement("div",{className:"submit-button-container"},a.createElement(p.$,{type:h.SUBMIT,"data-trk-id":"be-the-first-submit",className:"submit-button",isDisabled:X,isLoading:X},ce)),t.length>0?a.createElement("div",{className:"row error-message"},t.map(((e,t)=>a.createElement(T.pD,{key:`error-${t}`,variant:"error",hasIcon:!1,isDismissible:!1},a.createElement(T.hL,null,e))))):null)))};var H=n(1098),$=n(46341);const W=JSON.parse('{"id":"BE_THE_FIRST_REGISTRATION_FORM","name":"Be The First Registration Form","description":"A simple layout for Be The First section","root":true,"content":true,"type":"object","required":["campaignName"],"order":["backgroundColor","campaignName","titleText","titleFontSize","subTitleText","subTitleFontSize","titleFontWeight","subTitleFontWeight","marketingLegalTextPrefix","marketingLegalLinkText","marketingLegalLinkUrl","marketingLegalTextSuffix","fieldOrder","phoneText","phoneRequired","smsConsentDisplay","allowedCountryCodes","phoneFieldErrMessage","phoneCountryCodeErrMessage","fields","availableLeagues","favoriteTeamText","showLegalText","legalText","termsAndConditionUrl","termsAndConditionText","legalMidText","privacyUrl","privacyText","privacyTextAddendum","submitButtonText","successTitle","successTitleWithPhone","successMessageOnFormSubmission","successMessageWithPhone","uncheckedEmailOptInError"],"properties":{"backgroundColor":{"type":"string","name":"Background Color","description":"Defines the background color","pattern":"^#(?:[0-9a-fA-F]{3}){1,2}$","default":"#FFFFFF"},"titleText":{"type":"string","name":"Title","description":"Be the first - title","shouldTranslate":true},"titleFontSize":{"type":"string","name":"Title Font Size","description":"Font size for the title in pixels","enum":["small-16px","medium-18px","large-24px","x-large-32px","xx-large-44px"],"default":"large-24px"},"subTitleFontSize":{"type":"string","name":"Sub Title Font Size","description":"Font size for the sub title in pixels","enum":["small-16px","medium-18px","large-24px","x-large-32px","xx-large-44px"],"default":"medium-18px"},"titleFontWeight":{"type":"string","name":"Title Font Weight","description":"Defines the font weight of title","enum":["normal","semi-bold"],"default":"semi-bold"},"subTitleFontWeight":{"type":"string","name":"Sub Title Font Weight","description":"Defines the font weight of subTitle","enum":["normal","semi-bold"],"default":"semi-bold"},"subTitleText":{"type":"string","name":"Sub Title","description":"Be the first - sub title","shouldTranslate":true},"firstNameText":{"exposeToTools":false,"type":"string","name":"First Name","description":"Text for First Name input field","default":"First Name","shouldTranslate":true},"lastNameText":{"exposeToTools":false,"type":"string","name":"Last Name","description":"Text for Last Name input field","default":"Last Name","shouldTranslate":true},"emailText":{"exposeToTools":false,"type":"string","name":"Email","description":"Text for Email input field","default":"Email","shouldTranslate":true},"fieldOrder":{"type":"array","name":"Field Order","description":"Controls the render order of optional input fields. Omit a key to hide that field. Email is always shown.","default":[{"key":"first_last_name"},{"key":"league_team"}],"items":{"name":"Field","type":"object","properties":{"key":{"type":"string","name":"Field Key","description":"Field to include in the form","enum":["phone","first_last_name","league_team"]}}}}
1,"phoneText":{"exposeToTools":false,"type":"string","name":"Phone","description":"Text for optional phone input field","default":"Phone Number"},"phoneRequired":{"type":"boolean","name":"Phone Number Required","description":"When true, the Phone Number field is required and cannot be submitted empty","default":false},"smsConsentDisplay":{"type":"string","name":"SMS Consent Display","description":"Controls when SMS legal text is shown below the phone field","enum":["always","on_phone_focus"],"default":"on_phone_focus"},"allowedCountryCodes":{"type":"array","name":"Allowed Country Codes","description":"Country ISO codes eligible for SMS updates","default":["US"],"items":{"type":"string","name":"Country Code","description":"Two-letter ISO country code"}},"submitButtonText":{"type":"string","name":"Submit Button Text","description":"Text for Submit button","default":"Submit","shouldTranslate":true},"fields":{"type":"array","name":"Fields for the form","description":"Fields for Be the first section","items":{"name":"Fields","type":"object","properties":{"fieldType":{"type":"string","name":"Field Name","description":"Type of field","enum":["FIRST_NAME","LAST_NAME"]}}}},"leagueText":{"exposeToTools":false,"type":"string","name":"League Text","description":"Text for League input field","default":"League","shouldTranslate":true},"favoriteTeamText":{"type":"string","name":"Favorite Team Text","description":"Text for Favorite Team input field","default":"Select your favorite team","shouldTranslate":true},"campaignName":{"type":"string","name":"Campaign Name","description":"Name of Campaign"},"marketingLegalTextPrefix":{"shouldTranslate":true,"type":"string","name":"Marketing Legal Text Prefix","description":"Legal text prefix below the subtitle","default":"Sign up to receive emails about the newest additions to our store, related products, news, events, and promotions from our"},"marketingLegalLinkText":{"shouldTranslate":true,"type":"string","name":"Marketing Legal Link Text","description":"Text for Marketing Legal Link","default":"Fanatics Family of Companies"},"marketingLegalLinkUrl":{"type":"string","name":"Marketing Legal Link Url","description":"Marketing Legal Link Url for Fanatics Family Companies","default":"//www.fanaticsinc.com/our-businesses"},"marketingLegalTextSuffix":{"shouldTranslate":true,"type":"string","name":"Marketing Legal Text Suffix","description":"Legal text suffix below the subtitle","default":"."},"availableLeagues":{"type":"array","name":"Available Leagues","description":"The leagues that are available to be selected","default":[],"items":{"type":"object","name":"League","properties":{"id":{"type":"number","name":"Id","description":"League ID"},"name":{"type":"string","name":"Name","description":"League Name"}}}},"nameLengthErrMessage":{"exposeToTools":false,"type":"string","name":"Name Length Error Message","description":"Name Length Error Message","default":"This name is too long.","shouldTranslate":true},"emailFieldErrMessage":{"exposeToTools":false,"type":"string","name":"Email Field Error Message","description":"Email Field Error Message","default":"Please provide a valid e-mail address.","shouldTranslate":true},"phoneFieldErrMessage":{"exposeToTools":false,"type":"string","name":"Phone Field Error Message","description":"Phone field validation error message","default":"Please provide a valid phone number."},"phoneCountryCodeErrMessage":{"exposeToTools":false,"type":"string","name":"Phone Country Code Error Message","description":"Unsupported phone country error message","default":"Phone numbers from this country are not eligible for SMS updates."},"errorOnFormSubmission":{"exposeToTools":false,"type":"string","name":"Form Submission Error Message","description":"Error message on invalid form submission","default":"Some required fields are missing or incorrect. Please review and submit again.","shouldTranslate":true},"successMessageOnFormSubmission":{"type":"string","name":"Success Message for form submission","description":"Form submission success message","default":"We will send you an email notification when the new gear drops!","shouldTranslate":true},"successMessageWithPhone":{"type":"string","name":"Success Message (with phone)","description":"Modal success body shown when the user submitted with a phone number. Falls back to the default success message if empty."},"successTitle":{"type":"string","name":"successTitle","description":"Modal success title","default":"Thanks for signing up!","shouldTranslate":true},"successTitleWithPhone":{"type":"string","name":"Success Title (with phone)","description":"Modal success title shown when the user submitted with a phone number. Falls back to successTitle if empty."},"failureMessage":{"exposeToTools":false,"type":"string","name":"failureMessage","description":"Failure message for form submission","default":"We\'re sorry, something went wrong. Please try again later.","shouldTranslate":true},"uncheckedEmailOptInError":{"type":"string","name":"Unchecked Email Opt In Error","description":"Error message for unchecked email opt in checkbox","default":"To receive updates for this launch, you must opt in for emails from Fanatics or this site by checking the respective checkbox above.","shouldTranslate":true},"modalErrorHeader":{"exposeToTools":false,"type":"string","name":"Modal Error Header","description":"Modal Error Header","default":"Error","shouldTranslate":true},"showLegalText":{"type":"boolean","name":"Show Legal Text","description":"Show Legal Text","default":true},"legalText":{"shouldTranslate":true,"type":"string","name":"Legal Text","description":"Legal Text","default":"Please view our"},"termsAndConditionUrl":{"type":"string","name":"Terms and Condition Url","description":"A url string pointing to the terms and condition page","default":"/terms-of-use"},"privacyUrl":{"type":"string","name":"Privacy Url link","description":"A url string pointing to the privacy page","default":"/privacy-policy "},"termsAndConditionText":{"shouldTranslate":true,"type":"string","name":"Terms and Condition text","description":"Terms and Condition text","default":"Terms of Use"},"legalMidText":{"shouldTranslate":true,"type":"string","name":"Legal Middle text","description":"Text between Terms And Conditions and Privacy Policy","default":"and"},"privacyText":{"shouldTranslate":true,"type":"string","name":"Privacy Policy text","description":"Privacy Policy text","default":"Privacy Policy"},"privacyTextAddendum":{"shouldTranslate":true,"type":"string","name":"Privacy Policy addendum to link","description":"Privacy Policy addendum to link","default":" for more information."}}}'),q=(0,H.A)(V,[W]),z=(0,$.V4)(q,"be-the-first-registration-form");!function(e){const t=document.getElementsByClassName(e),n=s.A.getData("initialAppContext");for(let e=0;e<t.length;e++){const c=t[e],p=c.parentNode.dataset.trkId,u=d()(n,`lumenSettings.settings[${p}].settings`,{});i.render(a.createElement(o.A.Provider,{value:{translate:l.A,platform:s.A}},a.createElement(z,(0,r.A)({},u))),c)}}("pl-be-the-first-registration-form")},97765(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(60332),s=n(64022),l=n(92108),c=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],d=n.parentNode.dataset.trkId,{lumenSettings:{settings:{[d]:{settings:p}={}}}}=l.A.getData("initialAppContext");i.render(a.createElement(s.A.Provider,{value:{translate:c.A,platform:l.A}},a.createElement(o.Ay,(0,r.A)({},p))),n)}}("pl-bnpl-widget")},43542(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(64022),s=n(92108),l=n(39067),c=n.n(l),d=n(3514),p=n.n(d),u=n(37982),m=n(55934),g=n(48183),h=n(25345),y=n(99870),f=n.n(y),E=n(5765);const T=e=>{let{src:t,alt:n,className:r,href:i,trackId:o}=e;const[s,l]=(0,a.useState)(!1);return a.createElement(h.L,{href:i,className:f()("iwf-container",r),"data-trk-id":o,"aria-label":n},a.createElement(E.A,{src:t,alt:"",className:f()("iwf-image",{"is-loaded":s}),onLoad:()=>l(!0)}),!s&&a.createElement("span",{className:"iwf-label","aria-hidden":!0},n))};T.propTypes={src:c().string.isRequired,alt:c().string.isRequired,href:c().string.isRequired,trackId:c().string.isRequired,className:c().string};const v=T,A=e=>{let{isEnabled:t,placementName:n,title:r}=e;const i=(0,a.useContext)(o.A),{pageTypeCode:s}=i.platform.getData("initialAppContext")||{};if(!t)return null;const l=(0,m.F7)({context:i,placementName:n});return p()(l)||l.length<2?null:a.createElement("div",{className:"bc-wrapper"},r&&a.createElement("h2",{className:"bc-title"},r),a.createElement(u.S,{className:"bc-content"},l.map((function(){let{resourceId:e,text:t,href:r,trkId:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;return a.createElement("div",{key:e,className:"bc-item-container"},a.createElement(v,{src:(l=e,`/content/content/common/images/brands/br-${l}.svg`),alt:t,href:(0,g.Wf)({url:(0,g.DN)(r||""),pageType:s,moduleName:"guided-navigation",itemContext:"brand",placementName:n,itemPosition:`${o}`}),className:"bc-item",trackId:i||`brand-carousel-${e}`}),a.createElement("span",{className:"text"},t));var l}
1))))};A.propTypes={isEnabled:c().bool,placementName:c().string,title:c().string};const b=A;!function(e){const t=s.A.getData("initialAppContext"),n=document.getElementsByClassName(e);for(let e=0;e<n.length;e++){const l=n[e],c=l.parentNode.dataset.trkId,{[c]:{settings:d}={}}=t.lumenSettings.settings;i.render(a.createElement(o.A.Provider,{value:{platform:s.A}},a.createElement(b,(0,r.A)({},d,{placementName:c}))),l)}}("pl-brand-carousel")},57743(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(92108),s=n(60268),l=n(62508),c=n(36324),d=n(44734);const p=JSON.parse('{"id":"CAROUSEL_IMAGE_COMBO","name":"Carousel-Clickable-Image Combo","title":"JSON Schemas for Carousel-Clickable-Image Combo","description":"Properties that are needed for Carousel-Clickable image component","type":"object","root":true,"content":true,"properties":{"carouselProps":{"type":"Object","name":"Carousel Properties","description":"Carousel properties for Carousel-Clickable-Image Combo component","$ref":"CAROUSEL"},"clickableImageProps":{"type":"Object","name":"Clickable Image Properties","description":"Clickable Image properties for Carousel-Clickable-Image Combo component","$ref":"CLICKABLE_IMAGE"},"clickableImagePosition":{"type":"string","name":"Clickable Image Position","description":"Defines image position when carousel is used in pair with clickable image component","default":"TOP","enum":["TOP","BOTTOM"]},"backgroundStyle":{"type":"string","name":"Background Style","description":"whether to have SOLID or GRADIENT background of carousel","enum":["SOLID","GRADIENT"],"default":"SOLID"},"gradientDirection":{"type":"string","name":"Gradient Direction","description":"Decides the direction of background gradient to flow, when backgroundStyle is set to GRADIENT","enum":["TOP_TO_BOTTOM","LEFT_TO_RIGHT"],"default":"TOP_TO_BOTTOM"},"gradientStartColor":{"type":"string","name":"Gradient Start Color","pattern":"^#(?:[0-9a-fA-F]{3}){1,2}$","description":"Defines the gradient start color (hex color code, i.e. \'#FFFFFF\') of carousel background, when backgroundStyle is set to GRADIENT. ","default":"#FFFFFF"},"gradientEndColor":{"type":"string","name":"Gradient End Color","pattern":"^#(?:[0-9a-fA-F]{3}){1,2}$","description":"Defines the gradient end color (hex color code, i.e. \'#FFFFFF\') of carousel background, when backgroundStyle is set to GRADIENT.","default":"#FFFFFF"}}}'),u=e=>{let{appContext:t,items:n,viewAllUrl:i,clickableImagePosition:o="",clickableImageProps:s,placementName:d,backgroundStyle:p,gradientDirection:u,gradientStartColor:m,gradientEndColor:g,carouselProps:h={},listingType:y}=e;const f=o&&`clickable-image-${o.toLowerCase()}`;return a.createElement("div",{className:`carousel-image-combo-container ${f}`},a.createElement(c.Ay,(0,r.A)({},s)),a.createElement(l.A,(0,r.A)({},h,{listingType:y,items:n,appContext:t,placementName:d,viewAllUrl:i,backgroundStyle:p,gradientDirection:u,gradientStartColor:m,gradientEndColor:g})))};u.defaultProps=(0,d.CX)({schema:p});const m=u;var g=n(64022);(e=>{const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],l=n.parentNode.dataset.trkId,c=o.A.getData("initialAppContext"),{[l]:{settings:d}={}}=c.lumenSettings.settings;i.render(a.createElement(g.A.Provider,{value:{translate:s.A,platform:o.A}},a.createElement(m,(0,r.A)({},d,{appContext:c,placementName:l,listingType:l}))),n)}})("pl-carousel-image-combo")},87284(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(63401),s=n(92108),l=n(46123),c=n.n(l),d=n(64022),p=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],l=n.parentNode.dataset.trkId,u=s.A.getData("initialAppContext"),m=c()(u,`lumenSettings.settings[${l}].settings`,{});i.render(a.createElement(d.A.Provider,{value:{translate:p.A,platform:s.A}},a.createElement(o.Ay,(0,r.A)({placementName:l,appContext:u},m))),n)}}("pl-category-links")},64333(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=(n(14292),n(22622)),s=n(93675);let l=class extends a.Component{render(){const{title:e="",totalAmount:t,isCurrency:n,currency:r="USD",addDivider:i,style:l={}}=this.props,c=(0,s.fd)(l.color)?{color:l.color}:{}
1,d=n?t&&(0,o.A)(t,r).slice(0,-3):t&&t.toLocaleString();return a.createElement("div",{className:"charity-item-container"},a.createElement("div",{className:"charity-title",style:c},e,e&&d&&a.createElement("span",{style:c},":")),a.createElement("div",{className:"charity-value",style:c},d,i&&(e||d)&&a.createElement("span",{style:c},"|")))}};var c=n(5765),d=n(17353),p=n(46123),u=n.n(p),m=n(99870),g=n.n(m);const h=e=>{let{children:t,className:n}=e;return a.createElement("div",{className:n},t)};let y=class extends a.Component{render(){const{campaignName:e,campaignImage:t={},tracking:n=[],currency:i,campaignUrl:o={},style:p={},autoscroll:m}=this.props,y=(0,s.nA)(p.backgroundColor),f=o.href?d.Ay:h,E={key:e,href:o.href,className:"campaign-body"};return a.createElement("div",{className:"charity-tracker",style:y},a.createElement(f,(0,r.A)({},E),a.createElement("div",{className:"campaign-image"},a.createElement(c.A,{alt:t.alt,src:u()(t,"srcSet.SMALL")})),a.createElement("div",{className:"marquee-container"},a.createElement("div",{className:g()("charity-container",{"auto-scroll":!0===m})},n.map(((e,t)=>{const o=t!==n.length-1&&n.length>1;return a.createElement(l,(0,r.A)({key:t},e,{currency:i,addDivider:o}))}))))))}};var f=n(92108);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=f.A.getData("initialAppContext"),l=u()(s,`lumenSettings.settings[${o}].settings`,{}),c=u()(s,"lumenSettings.settings.CHARITY_TRACKER.settings",{});i.render(a.createElement(y,(0,r.A)({placementName:o,appContext:s},l,c)),n)}}("pl-charity-tracker")},77889(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(92108),s=n(46123),l=n.n(s),c=(n(14292),n(83089)),d=n(55009),p=n.n(d),u=n(99870),m=n.n(u),g=n(1098),h=n(46341),y=n(64485),f=n(13552);const E=JSON.parse('{"id":"CLICKABLE_IMAGE_SLIDESHOW","name":"CLICKABLE IMAGE SLIDESHOW","description":"settings for clickable image Slideshow","type":"object","root":true,"content":true,"properties":{"showNavigationArrows":{"name":"Show Navigation Arrows","description":"If true, \'previous\' and \'next\' navigation arrows will be visible on the slide","type":"boolean","default":false},"showNavigationIndicators":{"name":"Show Navigation Indicators","description":"If true, navigation indicators dots at the bottom of the slide will be visible","type":"boolean","default":false},"showPlayPauseIcon":{"name":"Show Play Pause icon","description":"If true, play/pause icon at the bottom of the slide will be visible","type":"boolean","default":false},"shouldAutoScroll":{"name":"Should Auto Scroll","description":"If true, initial state of the Slideshow will be auto scrolling","type":"boolean","default":false},"autoScrollInterval":{"name":"Auto Scroll Interval","description":"Time in milliseconds before the next slide is shown","type":"integer","default":4000,"enum":[1000,2000,3000,4000,5000,6000,7000,8000,9000,10000]},"shouldWrap":{"name":"Should Wrap","description":"If true, Slideshow should cycle continuously and shouldn\'t have hard stops","type":"boolean","default":false},"clickableImages":{"name":"Clickable Image","description":"Array of images in Slideshow","$ref":"CLICKABLE_IMAGE_SLIDESHOW_IMAGE_ARRAY"},"numberOfImages":{"name":"Number Of Images","description":"Number of images shown in slider","type":"integer","default":5}}}');var T=n(36324),v=n(8974),A=n(22377);const b={NONE:"none",LEFT:"left",RIGHT:"right"},S=(e,t,n,r,a,i,o)=>{var s;if(1!==(null===(s=e.changedTouches)||void 0===s?void 0:s.length)||n)return;const{clientX:l,clientY:c}=e.changedTouches[0],d=[l,c],p=(u=t[0],m=d[0],Math.abs(u-m)<8?b.NONE:u>m?b.LEFT:b.RIGHT);var u,m;const g=Math.abs(t[1]-d[1])>150;p===b.NONE||g||(e.preventDefault(),o(!1),p===b.RIGHT&&a>0?i((e=>e-1)):p===b.LEFT&&a<r-1&&i((e=>e+1)))},N=e=>{let{ariaPause:t,ariaPlay:n,isPlaying:r,clickHandler:i}=e;return a.createElement(c.$,{className:"play-pause-btn",ariaLabel:r?t:n,onPress:()=>{i(!r)},variant:y.Vt.UNSTYLED,size:"small","data-trk-id":r?"pause":"play"},a.createElement(A.A,{icon:r?"fa-pause":"fa-play"}))},I=e=>{let{indicatorsLength:t,activeIndicator:n,ariaNavIndicators:r,clickHandler:i}=e;return p()(t,(e=>a.createElement(c.$,{className:m()("nav-indicators",{active:n===e}),variant:y.Vt.UNSTYLED,size:"small",onPress:()=>{i(e)},ariaLabel:`${r} ${e+1}`,"data-trk-id":`nav-indicator-${e+1}`})))},C=(0,h.V4)((0,g.A)((e=>{const{clickableImages:t,numberOfImages:n,autoScrollInterval:i,shouldWrap:o,showNavigationArrows:s,shouldAutoScroll:l,showPlayPauseIcon:c,showNavigationIndicators:d,ariaPlay:p,ariaPause:u,ariaNavIndicators:m}=e,[g,h]=(0,a.useState)(l),[y,f]=(0,a.useState)(0),[E,A]=(0,a.useState)(!!o&&s),[b,C]=(0,a.useState)(s),[x,L]=(0,a.useState)([0,0]),[k,w]=(0,a.useState)(!1);(0,a.useEffect)((()=>{let e;return g&&(e=setTimeout((()=>{O(y+1)}),i)),()=>{e&&clearTimeout(e)}}),[g,y]);const O=(0,a.useCallback)((e=>{const t=n;e<0?(e=o?t-1:0,!o&&A(!1)):e>=t?(e=o?0:t-1,!o&&C(!1)):0===e?(C(!0),!o&&A(!1)):e===t-1?(A(!0),!o&&C(!1)):(A(s),C(s)),f(e)}),[E,b]);return a.createElement("div",{className:"clickable-image-slideshow p-b-xxl","data-trk-id":"clickable-image-slideshow"},a.createElement("div",{className:"slides-and-arrow-keys"},a.createElement("ul",{className:"sliding-section p-a-none",style:{transform:`translateX(-${100*y}%)`}},t.slice(0,n).map(((e,t)=>a.createElement("li",{key:`image-${t}`,className:"slides",onMouseEnter:()=>h(!1),onMouseLeave:()=>l&&!c&&h(!0),onTouchStart:e=>((e,t,n)=>{var r;if((null===(r=e.touches)||void 0===r?void 0:r.length)>1)n(!0);else{const{clientX:r,clientY:a}=e.touches[0];t([r,a]),n(!1)}})(e,L,w),onTouchEnd:e=>S(e,x,k,n,y,f,h)},a.createElement(T.Ay,(0,r.A)({},e.clickableImage,{placementName:`image-${t}`,dataTrkId:`image-${t}`})))))),s?a.createElement(v.Ay,{onClickHandler:(e,t)=>O(y+t),leftArrowVisible:E,rightArrowVisible:b,arrowSize:v.Xy.LARGE}):null),a.createElement("div",{className:"actions-wrapper"},c?a.createElement(N,{ariaPlay:p,ariaPause:u,isPlaying:g,clickHandler:h}):null,d?a.createElement(I,{activeIndicator:y,indicatorsLength:n,ariaNavIndicators:m,clickHandler:O}):null))}),[E,f]),"clickable-image-slideshow");!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],s=n.parentNode.dataset.trkId,c=l()(o.A.getData("initialAppContext"),`lumenSettings.settings[${s}].settings`,{}),d=l()(o.A.getData("initialAppContext"),"lumenSettings.settings.CLICKABLE_IMAGE_SLIDESHOW.settings",{});i.render(a.createElement(C,(0,r.A)({},c,d)),n)}}("pl-clickable-image-slideshow")},25931(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(36324),s=n(46123),l=n.n(s),c=n(64022),d=n(92108),p=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],s=n.parentNode.dataset.trkId,u=d.A.getData("initialAppContext"),m=l()(u,`lumenSettings.settings[${s}].settings`,{}),g=l()(u,"lumenSettings.settings.CLICKABLE_IMAGE_COMPONENT.settings",{});i.render(a.createElement(c.A.Provider,{value:{platform:d.A,translate:p.A}},a.createElement(o.Ay,(0,r.A)({placementName:s,dataTrkId:s},m,g))),n)}}("pl-clickable-image")},89361(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(56566),s=n(95893),l=n(97977),c=n(36155),d=n(1098);const p=JSON.parse('{"id":"COLLECTION_EXPLORER","name":"Collection Explorer","title":"JSON Schemas for Collection Explorer Configurator","description":"Component for exploring product collections with custom filters.","type":"object","root":true,"content":true,"properties":{"groups":{"name":"Groups","description":"The facet groups to include in the Explorer","type":"array","items":{"name":"Group","type":"object","properties":{"label":{"type":"string","name":"Label","description":"Title for the section","shouldTranslate":true},"groupBy":{"type":"string","name":"Group By","description":"The property by which to group the list of pids","enum":["colorStyle","genderAgeGroup","jerseyAttribute","sleeveLength","actorsList"]},"resources":{"type":"array","name":"Resources to Include","description":"The specific resources from the GroupBy to include in the UI plus thumbnail images","items":{"name":"Resource","type":"object","properties":{"id":{"type":"number","name":"ResourceID","description":"Resource ID to include in UI"},"label":{"type":"string","name":"Label","description":"Resource Label to include in UI (text inside the button)","shouldTranslate":true},"thumb":{"name":"Image Thumbnail","description":"The image to include as thumbnail for the group","type":"object","required":["alt"],"properties":{"alt":{"type":"string","name":"Alt Text","description":"alt attribute specifies an alternate text for an image"}
1,"srcSet":{"name":"srcSet","title":"Images","description":"Defines properties of the image src sets","type":"object","properties":{"SMALL":{"type":"string","name":"Image","pattern":"^(//|/)","description":"specifies the image for all breakpoints."}}}}},"resourceDescription":{"type":"string","name":"Resource Description","description":"Text displayed below the group to describe the currently selected option","shouldTranslate":true}},"required":["id"]}},"groupDescription":{"type":"object","name":"Group description with links","description":"Optional descriptive text displayed below the group, with optional inline link.","properties":{"textBeforeLink":{"type":"string","name":"Text Before Link","description":"Optional text displayed before the link.","shouldTranslate":true},"link":{"type":"object","name":"Link","description":"Optional link displayed inline with the text.","properties":{"href":{"type":"string","name":"Href","pattern":"^(//|/|#)","description":"Destination URL of the link."},"text":{"type":"string","name":"Link Text","description":"Text displayed for the link.","shouldTranslate":true},"addTeamRids":{"type":"boolean","name":"Add Team RIDs","description":"Whether to append team RIDs to the URL when the link is clicked. This is used for maintaining team context in the destination page.","default":false},"rids":{"type":"array","name":"Additional RIDs","description":"Additional RIDs to append to the URL when the link is clicked. This allows for adding specific context beyond team RIDs.","items":{"name":"RID","type":"object","properties":{"key":{"type":"string","name":"RID Key","description":"The key of the RID to append."},"value":{"type":"string","name":"RID Value","description":"The value of the RID to append."}},"required":["key","value"]}}}},"textAfterLink":{"type":"string","name":"Text After Link","description":"Optional text displayed after the link.","shouldTranslate":true}}},"hideUnavailableOptions":{"type":"boolean","default":false,"name":"Hide Unavailable Options From UI","description":"Whether to hide options that are unavailable based on the current selection. If false, unavailable options will be shown but not selectable, it will be greyed out."},"showValueInGroupLabel":{"type":"boolean","name":"Show Selected Value in Group Label","description":"When enabled, hides option labels under each image and displays the selected option value next to the group title instead.","default":false},"hasDynamicThumbs":{"type":"boolean","name":"Use Dynamic Thumbnails","description":"When enabled, the system generates thumbnails dynamically from product media when a static resource.thumb is not configured, ensuring consistent visual representation across groups.","default":false}}}},"dropdownGroups":{"type":"array","name":"Dropdown groups","description":"Defines which groupBy values should render as Dropdown instead of ToggleButtonGroup.","default":[{"value":"actorsList","switchDropdownToDrawerAt":3}],"items":{"type":"object","name":"Group type","properties":{"value":{"type":"string","enum":["colorStyle","genderAgeGroup","jerseyAttribute","sleeveLength","actorsList"]},"switchDropdownToDrawerAt":{"type":"number","name":"Switch Dropdown to Drawer At","description":"Maximum number of options this dropdown group can have to render as a plain dropdown on mobile. Groups with this many options or more will render as a drawer. Set to 0 to always use drawer.","default":3}},"required":["value"]},"exposeToTools":false},"panelTopTitle":{"name":"Title Text","type":"string","description":"The title above the product selector.","default":"Build Your Shirt","shouldTranslate":true},"moreDetailsText":{"name":"More Details Text","type":"string","description":"The text for the link that redirects to PDP page.","default":"More Details","shouldTranslate":true},"collectionID":{"type":"string","name":"Collection ID","description":"The collection ID of for the Products in the Collection"},"showCardWrapperDesktop":{"type":"boolean","name":"Show Card Wrapper on Desktop","description":"Whether to wrap the component in a Card on desktop screens","default":true},"buttonShape":{"type":"string","name":"Button Shape","description":"To change the shape of the buttons","default":"RECTANGLE","enum":["RECTANGLE","ROUNDED","NO_RADIUS"]},"enableStickyImageAndA2C":{"type":"boolean","name":"Enable Sticky Image and Add to Cart","description":"Whether to enable the sticky image and add to cart button on mobile devices.","default":false},"enableProductMediaThumbnails":{"type":"boolean","name":"Enable Product Media Thumbnails","description":"Whether to show product media thumbnails in the collection explorer or not.","default":false}}}');var u=n(37944),m=n(76561),g=n(34499),h=n(99870),y=n.n(h),f=n(5765),E=n(3514),T=n.n(E),v=n(10750),A=n.n(v),b=n(38256),S=n(64485),N=(n(27357),n(68392),n(74509),n(14292),n(18586),n(65922)),I=n(90706),C=n(24464),x=n(48648);const L=[x.RESOURCE_ID_TO_PAGE_TYPE.o.resourceIdentifier,x.RESOURCE_ID_TO_PAGE_TYPE.t.resourceIdentifier],k=(e,t)=>e.flatMap((e=>{let{key:n,ids:r=[]}=e;return r.map((e=>({key:t||n,value:e})))})),w=(e,t)=>{const n=x.RESOURCE_ID_TO_PAGE_TYPE.jc.resourceIdentifier,r=x.RESOURCE_ID_TO_PAGE_TYPE.c.resourceIdentifier,a=Array.isArray(null===t||void 0===t?void 0:t.rids)?t.rids:[],i=k(a.filter((e=>{let{key:t}=e;return L.includes(t)}))),o=a.filter((e=>{let{key:t}=e;return t===n}));return[...o.length>0?k(o,r):[{key:r,value:e}],...i]};const O=(e,t,n,r)=>{if(!e)return;if(e.startsWith("#"))return e;const a=r&&Array.isArray(r)?r:[],i=t?(o=n,Array.isArray(o)?o.filter((function(){let{key:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return L.includes(e)})).flatMap((e=>{let{key:t,ids:n=[]}=e;return n.map((e=>`${t}-${e}`))})):[]):[];var o;const s=a.map((e=>{let{key:t,value:n}=e;return`${t}-${n}`})),l=[...new Set([...i,...s])];if(!l.join("+"))return e;const c=e.indexOf("?"),d=e.indexOf("#");let p=-1;-1!==c&&-1!==d?p=Math.min(c,d):-1!==c?p=c:-1!==d&&(p=d);const u=-1!==p?e.slice(0,p):e,m=-1!==p?e.slice(p):"",g=u.endsWith("/")?u.slice(0,-1):u,h=g.split(/[/+]/),y=l.filter((e=>!h.includes(e))).join("+");if(!y)return e;
1const f=g.split("/"),E=(f[f.length-1]||"").split("+");return`${g}${l.some((e=>E.includes(e)))?"+":"/"}${y}${m}`},D=e=>{if(T()(e))return!1;const t=Array.isArray(e)?e:[e];return t.length>0&&t.some((e=>{return t=null===e||void 0===e?void 0:e.id,Number.isFinite(t)&&t>=0;var t}))},R=(e,t)=>{const n=[],r=e.filter((e=>{const r=((e,t)=>t.map((t=>{const n=t.groupBy,r=e[n];return D(r)?null:{attribute:n,value:r}})).filter(Boolean))(e,t);return!(r.length>0)||(n.push({productId:e.productId,invalidAttributes:r}),!1)}));return n.length>0&&C.A.warn({spanName:"collection-explorer.invalid-product-attributes",message:`[Collection Explorer] Excluding products due to invalid/missing attributes. Details: ${JSON.stringify(n)}.`}),r};var P=n(48183),_=n(87310);const M=e=>{let{description:t,groupBy:n,rids:r}=e;var i,o,s,l;const c=O(null===(i=t.link)||void 0===i?void 0:i.href,null===(o=t.link)||void 0===o?void 0:o.addTeamRids,r,null===(s=t.link)||void 0===s?void 0:s.rids);return a.createElement("p",{className:"group-description"},t.textBeforeLink&&a.createElement("span",null,t.textBeforeLink),c&&(null===(l=t.link)||void 0===l?void 0:l.text)&&a.createElement("a",{href:c,className:"underline","data-trk-id":`collection-explorer-${n}-group-description-link`},t.link.text),t.textAfterLink&&a.createElement("span",null,t.textAfterLink))},U=e=>{let{groups:t=[],selectOption:n,buttonShape:r,dropdownGroups:i=[],rids:o}=e;return a.createElement("div",{className:"product-selector"},t.map((e=>{const t=(e=>T()(null===e||void 0===e?void 0:e.options)?[]:e.hideUnavailableOptions?e.options.filter((e=>e.isAvailable)):e.options)(e),s=t.some((e=>null===e||void 0===e?void 0:e.thumbSrc)),l=t.find((e=>e.isSelected)),c=String((null===l||void 0===l?void 0:l.id)??""),d=i.find((t=>t.value===e.groupBy)),p=Boolean(d);return a.createElement("div",{key:e.groupBy,className:"groups"},a.createElement("span",{className:"label-top"},e.label,e.showValueInGroupLabel&&a.createElement("span",{className:"resource-selected-value"},null===l||void 0===l?void 0:l.value)),p?a.createElement(b.m,{selectedKey:c,onSelectionChange:t=>n(e.groupBy,Number(t)),isDisabled:t.every((e=>!e.isAvailable)),"data-trk-id":`collection-explorer-${A()(e.groupBy)}-select`,ariaLabel:`Select ${e.label}`,displayAsDrawer:t.length>=(null===d||void 0===d?void 0:d.switchDropdownToDrawerAt)},t.map((t=>{const n=String(t.id);return a.createElement(b.t,{key:n,id:n,isDisabled:!t.isAvailable,"data-trk-id":`collection-explorer-${A()(e.groupBy)}-${n}`,value:n},t.value)}))):a.createElement(u.W,{className:y()({"has-images":s}),selectedKeys:[c],onSelectionChange:t=>{const r=[...t][0];n(e.groupBy,Number(r))}},t.map((t=>{const n=(null===t||void 0===t?void 0:t.thumbSrc)||"",i=""!==n,o=String(t.id);return a.createElement(m.f,{key:o,id:o,value:o,isDisabled:!t.isAvailable,uiVariant:i?"unstyled":"toggle-button",className:y()((0,g.oh)(r),{"button-option":!i}),"data-trk-id":`collection-explorer-${A()(e.groupBy)}-${t.id}`,truncate:S.mv.WRAP},i?a.createElement(a.Fragment,null,a.createElement(f.A,{className:y()("image-option",(0,g.oh)(r)),alt:t.value,src:(0,P.CG)(n,`w=${_.BZ.LARGE}`)}),!e.showValueInGroupLabel&&a.createElement("div",{className:"image-label"},t.value)):a.createElement("span",{className:"option-label"},t.value))}))),(null===l||void 0===l?void 0:l.description)&&a.createElement("p",{className:"selected-option-description"},l.description),e.description&&a.createElement(M,{description:e.description,groupBy:e.groupBy,rids:o}))})))};var B=n(93473);const F=(e,t)=>{Array.isArray(e)?e.forEach((e=>t.add(e.id))):e&&t.add(e.id)},j=(e,t)=>Array.isArray(e)?e.some((e=>e.id===t)):(null===e||void 0===e?void 0:e.id)===t,G=(e,t)=>Array.isArray(e)?e.find((e=>e.id===t)):e,V=(e,t)=>{const n=new Set;return e.forEach((e=>{F(e[t],n)})),n},H=(e,t,n)=>e.slice(0,t).map((e=>({groupBy:e.groupBy,selection:n[e.groupBy]}))).filter((e=>e.selection)),$=e=>!(null===e||void 0===e?void 0:e.type)||e.type===B.A.IMAGE,W=e=>{let{groupBy:t,resourceId:n,products:r=[],imageHostname:a,ctx:i}=e;const o=r.find((e=>{var r;return j(e[t],n)&&(null===(r=e.media)||void 0===r?void 0:r.some($))}));if(!o)return null;const s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];for(let t=arguments.length>1?arguments[1]:void 0;t<e.length;t++)if($(e[t]))return e[t].url;return $(e[0])?e[0].url:null}(o.media,1);return s?(0,_.q0)({imageHostname:a,imagePath:s,context:i}):null},q=e=>{let{resource:t,products:n,group:r,imageHostname:a,ctx:i}=e;var o,s;const l=null===(o=t.thumb)||void 0===o||null===(s=o.srcSet)||void 0===s?void 0:s.SMALL;return r.hasDynamicThumbs&&!l?W({groupBy:r.groupBy,resourceId:t.id,products:n,imageHostname:a,ctx:i}):l};function z(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((r=>{const a=T()(r.resources)?((e,t)=>
1{if(!t||T()(e))return[];const n=new Map;return e.forEach((e=>{const r=e[t];T()(r)||(Array.isArray(r)?r:[r]).forEach((e=>{if(T()(e))return;const{id:t,value:r}=e;n.has(t)||n.set(t,{id:t,label:r})}))})),Array.from(n.values())})(e,r.groupBy):r.resources,i=a.map((a=>({...a,thumbSrc:q({resource:a,products:e,group:r,imageHostname:t,ctx:n})})));return{...r,resources:i}}))}const Y=(e,t,n,r)=>{const[i,o]=(0,a.useState)((null===r||void 0===r?void 0:r.selections)||{}),s=(0,a.useMemo)((()=>z(e,t,n)),[e,t,n]);(0,a.useEffect)((()=>{(null===s||void 0===s?void 0:s.length)&&(null===t||void 0===t?void 0:t.length)&&T()(i)&&o(((e,t)=>{const n={};let r=t;return e.forEach((e=>{const t=new Set;if(r.forEach((n=>{F(n[e.groupBy],t)})),t.size>0){var a;const i=null===(a=e.resources.find((e=>t.has(e.id))))||void 0===a?void 0:a.id;for(const t of r){const a=G(t[e.groupBy],i);if(a){n[e.groupBy]={id:i,value:a.value},r=r.filter((t=>G(t[e.groupBy],i)));break}}}})),n})(s,t))}),[s,t,i]);const l=(0,a.useMemo)((()=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.length&&0!==Object.keys(t).length?e.find((e=>Object.entries(t).every((t=>{let[n,r]=t;return j(e[n],r.id)})))):null}(t,i)),[t,i]),c=(0,a.useMemo)((()=>function(e){let{groups:t,products:n,selections:r}=e;return(null===t||void 0===t?void 0:t.length)&&(null===n||void 0===n?void 0:n.length)&&0!==Object.keys(r).length?t.map(((e,a)=>{var i;const o=H(t,a,r),s=n.filter((e=>o.every((t=>{let{groupBy:n,selection:r}=t;return j(e[n],r.id)})))),l=V(s,e.groupBy),c=r[e.groupBy],d=e.resources.map((t=>{var r;const a=n.find((n=>j(n[e.groupBy],t.id))),i=a&&a[e.groupBy],o=G(i,t.id);return{id:t.id,value:(null===o||void 0===o?void 0:o.value)||t.label||(null===(r=t.thumb)||void 0===r?void 0:r.alt),isSelected:c&&c.id===t.id,isAvailable:l.has(t.id),thumbSrc:t.thumbSrc,description:t.resourceDescription}})),{groupDescription:p}=e,u=!T()(null===p||void 0===p?void 0:p.textBeforeLink)||!T()(null===p||void 0===p||null===(i=p.link)||void 0===i?void 0:i.text)||!T()(null===p||void 0===p?void 0:p.textAfterLink);return{groupBy:e.groupBy,label:e.label,options:d,description:u&&e.groupDescription,showValueInGroupLabel:e.showValueInGroupLabel,hideUnavailableOptions:e.hideUnavailableOptions}})):[]}({groups:s,products:t,selections:i})),[s,t,i]);return{groups:T()(c)?null===r||void 0===r?void 0:r.uiGroups:c,currentProduct:l??(null===r||void 0===r?void 0:r.currentProduct),selectOption:(e,n)=>{if(!(null===s||void 0===s?void 0:s.length)||!(null===t||void 0===t?void 0:t.length))return;const r=t.find((t=>j(t[e],n)));if(!r)return;const a=G(r[e],n),l={id:n,value:null===a||void 0===a?void 0:a.value},c={...i,[e]:l},d=s.findIndex((t=>t.groupBy===e));s.slice(d+1).forEach(((e,n)=>{const r=H(s,d+1+n,c),a=t.filter((e=>r.every((t=>{let{groupBy:n,selection:r}=t;return j(e[n],r.id)})))),i=V(a,e.groupBy),o=c[e.groupBy];if(o&&!i.has(o.id)){const n=((e,t,n)=>{var r;const a=null===(r=t.resources.find((e=>n.has(e.id))))||void 0===r?void 0:r.id;if(!a)return null;for(const n of e){const e=n[t.groupBy],r=G(e,a);if(r)return{id:a,value:r.value}}return null})(t,e,i);n&&(c[e.groupBy]=n)}})),o(c)}}};var X=n(88005),K=n(50067),J=n(61537),Q=n(46341),Z=n(60652),ee=n(79801),te=n(28105),ne=n(82451),re=n.n(ne),ae=n(64022),ie=n(90095);const oe=JSON.parse('{"id":"CHARITY_ALL_IN_ENTRIES","name":"CHARITY_ALL_IN_ENTRIES","type":"object","description":"List of number of entries per dollar amount or itemId, itemIds override dollar amounts","properties":{"charityAllInEntries":{"type":"array","name":"charityAllInEntries","description":"numbers of entries per dollar amount or itemId","items":{"type":"object","name":"charityAllInEntry","required":["key","value","numOfEntries"],"properties":{"key":{"type":"string","name":"key","description":"ITEM_ID or AMOUNT","enum":["ITEM_ID","AMOUNT"]},"value":{"type":"number","name":"value","description":"itemId or dollar"},"numOfEntries":{"type":"number","name":"numOfEntries","description":"numOfEntries per itemId or dollar"}}}}}}');var se=n(67619),le=n(39150),ce=n(53739),de=n(64995),pe=n(11275);var ue=n(76286),me=n(82675),ge=n(39946),he=n(83609),ye=n(17353),fe=n(92108),Ee=n(34365);
1function Te(e){let{condition:t,wrapper:n,children:r}=e;return t?n(r):r}const ve=(0,d.A)((e=>{let{panelTopTitle:t,moreDetailsText:n,appContext:i,collectionID:p,groups:u,buttonShape:m,enableProductMediaThumbnails:g,dropdownGroups:h,showCardWrapperDesktop:f,enableStickyImageAndA2C:E,...v}=e;var A,b,S;const x=(0,a.useMemo)((()=>{var e;return null===(e=fe.A.getData("hotj-data"))||void 0===e?void 0:e.collexpInitialState}),[]),{siteId:L}=i||{},{translate:k}=(0,a.useContext)(ae.A)||{},[O,D]=(0,a.useState)((()=>!Ee.A&&window.matchMedia(`(max-width: ${J.LO.LARGE-1}px)`).matches)),[_,M]=(0,a.useState)((()=>(null===x||void 0===x?void 0:x.products)||[])),B=(()=>{const e=v.defaultTitleText,t=v.defaultButtonText,n=v.defaultProductPriceText;return{customJerseyStaticText:{noBadgeText:v.noBadgeText,customNameNumberText:v.customNameNumberText,rosterNameNumberText:v.rosterNameNumberText,selectPlayerText:v.selectPlayerText,noNameNumberText:v.noNameNumberText},customOptionsErrorMessages:{customOptionsNumberErrorMsg:v.customOptionsNumberErrorMsg,fieldMaxLengthErrorMsg:v.fieldMaxLengthErrorMsg,assemblyNameErrorMsg:v.assemblyNameErrorMsg,assemblyFieldErrorMsg:v.assemblyFieldErrorMsg,customNumberErrorMsg:v.customNumberErrorMsg},titleText:e,buttonText:t,priceText:n}})();(0,a.useEffect)((()=>{const e=window.matchMedia(`(max-width: ${J.LO.LARGE-1}px)`),t=e=>D(e.matches);return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}}),[]),(0,a.useEffect)((()=>{T()(_)&&async function(e){let{appContext:t,siteId:n,filters:r}=e;const a={queryType:"collectionExplorer",data:{siteId:n,filters:r,fetchDetails:!0}};try{const e=await N.A.fetchData(a,t);if(!(null===e||void 0===e?void 0:e.search))return{status:I.X.FAILURE,error:"No data found"};const{products:n,breadcrumb:r}=e.search||{};return{status:I.X.SUCCESS,products:n,breadcrumb:r}}catch(e){var i,o;return{status:I.X.FAILURE,error:`error: ${null===e||void 0===e||null===(i=e.response)||void 0===i||null===(o=i.body)||void 0===o?void 0:o.error}, status: ${null===e||void 0===e?void 0:e.statusCode}`}}}({appContext:i,filters:w(p,i),siteId:L}).then((e=>{const t=(null===e||void 0===e?void 0:e.products)?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=(e=>e.map((e=>{const t=e.genderAgeGroup||[];return t.some((e=>4===e.id))&&t.length>1?{...e,genderAgeGroup:t.filter((e=>4===e.id))}:e})))(e);return R(n,t)}(e.products,u):[];M(t)}))}),[i,p,L,u]);const{groups:F,currentProduct:j,selectOption:G}=Y(u,_,null===i||void 0===i?void 0:i.imageHostname,x),V=function(e){let{product:t,appContext:n,selectedSize:r}=e;var i,o;const{translate:s}=(0,a.useContext)(ae.A)||{},[l,c]=(0,a.useState)(r||null),[p,u]=(0,a.useState)(!1),[m,g]=(0,a.useState)(null),h=null===t||void 0===t?void 0:t.productId,y=(0,a.useMemo)((()=>(0,Q.CU)(["size-selector","charity-all-in-entries","item","pdp-buy-box"])),[]),f=(0,a.useMemo)((()=>re()((0,d.$)({schemas:[ie,oe,se,le],locale:null===s||void 0===s?void 0:s.locale,translate:s}),y)),[s,y]);return(0,a.useEffect)((()=>{c(r||null),u(!1),g(null)}),[null===t||void 0===t?void 0:t.productId,r]),{data:{sizes:null===t||void 0===t?void 0:t.sizes,selectedSize:l,sizeChartData:m,sizeChart:null===t||void 0===t?void 0:t.sizeChart,brandResource:null===t||void 0===t?void 0:t.brandResource,categories:null===t||void 0===t||null===(i=t.jerseyAttribute)||void 0===i?void 0:i.map((e=>{let{value:t}=e;return{categoryName:t}})),genderAgeGroup:null===t||void 0===t||null===(o=t.genderAgeGroup)||void 0===o?void 0:o.map((e=>{let{value:t}=e;return t}))},productId:null===t||void 0===t?void 0:t.productId,colorProductId:h,setSelectedSize:c,setDisplaySizeRequiredAlert:u,fetchSizeChartData:async function(e,t,n,r){const a=(r=(0,ce.GC)(r)).brand;try{const i=await de.A.sizeCharts({siteId:e,brand:a,sizeChartId:t,locale:n}),o=Object.keys((null===i||void 0===i?void 0:i.body)||{})[0];if(o){const e=(0,pe.uZ)(i.body,o,r);return g(e),e}}catch(e){const t=`Size Chart Service failed to load size chart: ${JSON.stringify(r)}`;return C.A.warn({message:t,spanName:"sizeChartFetch"}),g({error:{message:t}}),{error:{message:t}}}},sizeSelectorType:f.sizeSelectorType,selectSizeLabel:f.selectSizeLabel,outOfStockLabel:f.outOfStockLabel,sizeOutOfStock:f.sizeOutOfStock,fewLeftStringTemplate:f.fewLeftStringTemplate,showTotalInventoryForFewLeft:f.showTotalInventoryForFewLeft,charityAllInEntries:f.charityAllInEntries,sizeRequiredErrorMessage:f.sizeRequiredErrorMessage,amountLabel:f.amountLabel,sizeLabel:f.sizeLabel,appContext:n,displaySizeRequiredAlert:p,setNotifyMeSubmitted:()=>{},errors:[],specialEventAttributes:{},isGiftCard:!1,isSweepstakes:!1,isDonation:!1,giftCardDenominationRequiredErrorMessage:"",fcSiteIdFromProductInCar:void 0,isNotifyMeEnabled:!1,lowStock:!1,isOutOfStockSimulated:!1}}({appContext:i,product:j}),H=(0,ue.A)({appContext:i,product:j,itemId:null===V||void 0===V||null===(A=V.data)||void 0===A||null===(b=A.selectedSize)||void 0===b?void 0:b.itemId,productId:null===j||void 0===j?void 0:j.productId,quantity:1}),[$,W]=(0,a.useState)([]),[q,z]=(0,a.useState)([]);const Z=(0,a.useMemo)((()=>(0,Q.CU)(["add-to-cart","smart-exclusions","product-bundle","checkout-messages","pdp-value-prop-modal"])),[]),ne=(0,a.useMemo)((()=>{const e=[me,ee,he,ge];return re()((0,d.$)({schemas:e,locale:null===k||void 0===k?void 0:k.locale,translate:k}),Z)}),[Z,k]),ve=(0,a.useMemo)((()=>(null===j||void 0===j?void 0:j.media)?(0,X.CE)(j.media,i):[]),[null===j||void 0===j?void 0:j.media,i]);return T()(F)||T()(j)?null:a.createElement("div",{className:y()("collection-explorer",{"sticky-image-and-a2c":E})},a.createElement(Te,{condition:f&&!O,wrapper:e=>a.createElement(o.C,{variant:"padded"},e)},a.createElement("div",{className:"collection-explorer-card-content"},t&&a.createElement("h4",{className:"panel-top-title"},t),a.createElement(s.Ay,{media:ve,videoPlayPausePosition:"BOTTOM_LEFT",scrollToStartOnImageChange:!0,thumbnailOrientation:O?s.kE.HORIZONTAL:s.kE.VERTICAL,navigator:g?s.HW.THUMBNAILS:s.HW.NONE,controls:{arrows:{small:!0,medium:!0,large:!0}}}),a.createElement("div",{className:"form-panel"},a.createElement("div",{className:"top-selectors"},a.createElement(U,{groups:F,selectOption:G,buttonShape:m,dropdownGroups:h,ri
1ds:null===i||void 0===i?void 0:i.rids}),a.createElement("div",{className:"layout-row size-selector"},a.createElement(K.Ay,(0,r.A)({},V,{buttonCtx:"collection-explorer",handleErrors:!0})))),a.createElement("div",{className:"bottom-buttons ds-assembly ds-assembly-modal"},a.createElement("div",{className:"assembly-v3-form-wrapper assembly-price-wrapper"},a.createElement(c.Ay,{priceText:B.priceText,price:j.price,baseProduct:j})),(null===j||void 0===j?void 0:j.assemblyStructure)&&a.createElement(te.A,{appContext:i,baseProduct:{selectedSize:null===V||void 0===V||null===(S=V.data)||void 0===S?void 0:S.selectedSize,...j},assemblyStructure:j.assemblyStructure,displayDynamicImage:j.hasDynamicImages,settings:B,setDisplaySizeRequiredAlert:e=>V.setDisplaySizeRequiredAlert(e)}),a.createElement(l.A,(0,r.A)({},ne,H,{appContext:i,setDisplaySizeRequiredAlert:e=>V.setDisplaySizeRequiredAlert(e),setErrors:e=>W(e),uiErrors:$,setErrorMessages:e=>z(e),errorMessages:q,clearAllMessages:function(){W([]),z([])},sizeRequired:!0,isActive:!0,available:!0,hasInventory:!0,showErrorsAsSnackbar:!0})),(null===j||void 0===j?void 0:j.url)&&a.createElement(ye.Ay,{href:(0,P.DN)(j.url),"data-trk-id":"more-details-anchor",className:"more-details-link"},n))))))}),[p,ee,Z]),Ae=(0,Q.V4)(ve,"custom-options","assembly");var be=n(60268);!function(e){const t=document.getElementsByClassName(e),n=fe.A.getData("initialAppContext");for(let e=0;e<t.length;e++){const o=t[e],s=o.parentNode.dataset.trkId,{lumenSettings:{settings:{[s]:{settings:l}={}}}}=n;i.render(a.createElement(ae.A.Provider,{value:{translate:be.A,platform:fe.A}},a.createElement(Ae,(0,r.A)({},l,{appContext:n}))),o)}}("pl-collection-explorer")},66634(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(39067),s=n.n(o),l=n(46341),c=n(1098),d=n(89041),p=n(79212);const u=JSON.parse('{"id":"COLOR_STYLE_CAROUSEL","name":"COLOR_STYLE_CAROUSEL","description":"JSON Schemas for color style carousel placement (renders via departments carousel)","type":"object","root":true,"content":true,"required":["title"],"properties":{"isEnabled":{"type":"boolean","name":"Is Enabled","description":"Toggle to enable or disable the Color Style Carousel component. When set to false, the component will not be rendered on the page.","default":false},"hideOnRefinements":{"type":"string","name":"Hide on Refinements","description":"Controls whether the Carousel should be hidden based on user interactions with product filters.","enum":["NEVER","ALL_REFINEMENTS"],"default":"NEVER"},"title":{"type":"string","name":"Title","description":"Dynamic title including teamName (for example \\"Shop more {{teamName}}\\")"},"fallbackTitle":{"type":"string","name":"Fallback Title","description":"If `teamName` is not found to populate the dynamic title, the fallback title will be used.","default":"Complete Your Fan Collection"},"aggregationKey":{"type":"string","name":"Aggregation Key","description":"Identifies the aggregation scope for the carousel.","default":"JERSEY_COLOR_STYLE","enum":["JERSEY_COLOR_STYLE"]}}}'),m=e=>{const{isEnabled:t,title:n,fallbackTitle:r,hideOnRefinements:i,aggregationKey:o,placementName:s,appContext:l}=e;return a.createElement(d.A,{isEnabled:t,title:n,fallbackTitle:r,hideOnRefinements:i,aggregationKey:o,dataSource:p.YL.NAV_COMPONENT,filterTileStyle:p.lH.SQUARE_TILE,placementName:s,appContext:l})};m.propTypes={isEnabled:s().bool,title:s().string.isRequired,fallbackTitle:s().string,hideOnRefinements:s().string,aggregationKey:s().string,placementName:s().string,appContext:s().object};const g=(0,l.V4)((0,c.A)(m,[u]),"color-style-carousel");var h=n(92108),y=n(64022);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=h.A.getData("initialAppContext"),{[o]:{settings:l}={}}=s.lumenSettings.settings;i.render(a.createElement(y.A.Provider,{value:{platform:h.A}},a.createElement(g,(0,r.A)({},l,{placementName:o}))),n)}}("pl-color-style-carousel")},31997(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(46123),s=n.n(o),l=n(64022),c=n(92108),d=n(60268),p=(n(68392),n(39067)),u=n.n(p),m=n(42729),g=n(34365),h=n(10781);const y=function(){let{campaignFeedbackVariant:e,hasCampaignError:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e)return e;const n=(()=>{var e;return g.A?null:(null===(e=c.A.getData("initialAppContext"))||void 0===e?void 0:e.campaignFeedbackVariant)||null})();if(n)return n;const r=(()=>{var e;if(g.A||"undefined"===typeof window)return null;const t=(null===(e=c.A.getDecodedQueryString)||void 0===e?void 0:e.call(c.A))||{},n=(0,h.B4)(t);
1if(n)return n;const r={};return new URLSearchParams(window.location.search).forEach(((e,t)=>{r[t]=e})),(0,h.B4)(r)})();return r||(t?h.fn.ERROR:null)},f=()=>(()=>{var e;return g.A?"":(0,h.Hj)(null===(e=c.A.getData("initialAppContext"))||void 0===e?void 0:e.campaignName)})(),E=function(){let{campaignFeedbackCodes:e=[],campaignFeedbackVariant:t=null,currentCampaignName:n="",failureTitle:r="",hasCampaignError:a=!1,successTitle:i=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=y({campaignFeedbackVariant:t,hasCampaignError:a});if(!o)return null;const s=(e=>{let{campaignFeedbackCodes:t=[],campaignName:n}=e;const r=(0,h.Hj)(n);return r&&t.find((e=>(0,h.Hj)(null===e||void 0===e?void 0:e.value)===r))||null})({campaignFeedbackCodes:e,campaignName:n});return s?o===h.fn.ERROR?{message:s.overrideFailureMessage??"",title:s.failureTitle||r,variant:h.fn.ERROR}:{message:s.overrideSuccessMessage??"",title:s.successTitle||i,variant:h.fn.SUCCESS}:null},T=e=>{let{campaignFeedbackCodes:t,campaignFeedbackVariant:n,currentCampaignName:r,failureTitle:i,hasCampaignError:o,successTitle:s}=e;const l=r||f(),c=y({campaignFeedbackVariant:n,hasCampaignError:o}),d=E({campaignFeedbackCodes:t,campaignFeedbackVariant:c,currentCampaignName:l,failureTitle:i,hasCampaignError:o,successTitle:s});return d?a.createElement("div",{className:"coupon-feedback-container","data-trk-id":"coupon-feedback"},a.createElement(m.A,{className:"coupon-feedback-banner",hasIcon:!0,isDismissible:d.variant!==h.fn.ERROR,variant:d.variant},d.title?a.createElement(m.a,null,d.title):null,a.createElement(m.b,null,d.message))):null};T.defaultProps={campaignFeedbackCodes:[],campaignFeedbackVariant:null,currentCampaignName:"",failureTitle:"",hasCampaignError:!1,successTitle:""},T.propTypes={campaignFeedbackCodes:u().arrayOf(u().shape({failureTitle:u().string,overrideFailureMessage:u().string,overrideSuccessMessage:u().string,successTitle:u().string,value:u().string})),campaignFeedbackVariant:u().string,currentCampaignName:u().string,failureTitle:u().string,hasCampaignError:u().bool,successTitle:u().string};const v=e=>a.createElement(T,(0,r.A)({},e));!function(e){const t=document.getElementsByClassName(e),n=c.A.getData("initialAppContext")||{},o=s()(n,"lumenSettings.settings.COUPON_FEEDBACK.settings",{}),p=s()(n,"campaignName","");for(let e=0;e<t.length;e++){var u,m;const g=t[e],h=null===(u=g.parentNode)||void 0===u||null===(m=u.dataset)||void 0===m?void 0:m.trkId,y=s()(n,`lumenSettings.settings[${h}].settings`,{}),f=y.currentCampaignName||o.currentCampaignName||p,E=y.campaignFeedbackVariant||o.campaignFeedbackVariant||n.campaignFeedbackVariant||null;i.render(a.createElement(l.A.Provider,{value:{translate:d.A,platform:c.A}},a.createElement(v,(0,r.A)({},o,y,{campaignFeedbackVariant:E,currentCampaignName:f}))),g)}}("pl-coupon-feedback")},23061(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(46123),s=n.n(o),l=n(29548),c=n(60268),d=n(64022),p=n(92108);!function(e){const t=document.getElementsByClassName(e),n=p.A.getData("initialAppContext")||{};for(let e=0;e<t.length;e++){var o,u;const m=t[e],g=null===(o=m.parentNode)||void 0===o||null===(u=o.dataset)||void 0===u?void 0:u.trkId,h=s()(n,`lumenSettings.settings[${g}].settings`,{});i.render(a.createElement(d.A.Provider,{value:{translate:c.A,platform:p.A}},a.createElement(l.A,(0,r.A)({},h))),m)}}("pl-delivery-messaging")},4555(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(89041),s=n(92108),l=n(64022);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],c=n.parentNode.dataset.trkId,d=s.A.getData("initialAppContext"),{[c]:{settings:p}={}}=d.lumenSettings.settings;i.render(a.createElement(l.A.Provider,{value:{platform:s.A}},a.createElement(o.A,(0,r.A)({},p,{placementName:c}))),n)}}("pl-departments-carousel")},95427(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(92108),s=n(64022),l=n(60268),c=n(46123),d=n.n(c),p=n(3514),u=n.n(p),m=n(99870),g=n.n(m),h=n(83089),y=n(64485),f=n(17353),E=n(5765),T=n(89932),v=n(90078),A=n(99886),b=n(78135),S=n(70581),N=n(80565);const I=class extends a.Component{showPopup(e){N.A.add(a.createElement(S.A,{displaySnackbar:!0},e))}renderAmountSelector(e){const{selectAmountLabel:t,items:n=[],buttonText:r}=this.props,{selected:i}=this.state;return a.createElement("div",{className:g()("donation-amount-container",{"hide-for-small-only":!e,"show-for-small-only":e})},a.createElement("div",{className:"donation-amount-label"},t,":"),a.createElement("div",{className:"donation-amount-selector-list"},n.map((e=>a.createElement(f.Ay,{key:e.itemId,href:f.gF,className:g()("donation-amount-selector-button",{selected:i&&i.itemId===e.itemId}),title:e.displayValue,"data-sku-id":e.itemId,"data-trk-id":`amount ${e.displayValue}`,role:"radio",onClick:()=>this.selectItem(e)},e.displayValue))),a.createElement(h.$,{type:"button",className:"button-donate",variant:y.Vt.SECONDARY,isDisabled:u()(i),"data-trk-id":"donate-add-to-cart",onPress:this.addDonationToCart},r)))}render(){const{donationBoxTitle:e,callToActionMessage:t,isToolTipEnabled:n,dialogImage:{alt:i,srcSet:o}={},pageTypeCode:s="",toolTipDescription:l,charityNameText:c="charity",productId:p}=this.props;return!0!==d()(this.props,"cart.items",[]).some((e=>e.productId===p))?a.createElement("div",{className:`donation-box-container donation-box-${s.toLowerCase()}`},a.createElement("div",{className:"donation-box-title"}
1,e,n&&l?a.createElement(A.A,{isNonModal:!0,content:l,placement:"bottom"},a.createElement(b.A,{trkId:"donation-box-tooltip"})):null),a.createElement("div",{className:"donation-box-content-container"},a.createElement("div",{className:"donation-left-container"},a.createElement(E.A,(0,r.A)({className:"donation-box-image"},o,{alt:i}))),a.createElement("div",{className:"donation-right-container"},a.createElement("div",{className:"donation-charity-name"},c),a.createElement("div",{className:"donation-message"},t),this.renderAmountSelector(!1))),this.renderAmountSelector(!0),a.createElement(N.A,null)):a.createElement(N.A,null)}constructor(e){super(e),this.addDonationToCart=async()=>{const{productId:e,errorMessage:t,setCart:n}=this.props,{selected:r}=this.state,a={itemId:r.itemId,productId:e,quantity:1};try{const e=await T.Ay.addToCart(a)();e&&201===e.statusCode?(n(v.A.getModel(e.body)),this.resetAndShowThankYou()):this.showPopup(t)}catch(e){this.showPopup(t)}},this.resetAndShowThankYou=()=>{const{confirmationMessage:e}=this.props;this.showPopup(e),this.selectItem({})},this.selectItem=e=>{this.setState({selected:e})},this.state={selected:{}}}};var C=n(53089),x=n(43620),L=n(14020),k=n(45142);let w=class extends a.Component{static mapDispatchToProps(){return{setCart:x.setCart}}static mapStateToProps(e){return{cart:e.checkout.cart}}render(){return a.createElement(I,(0,r.A)({},this.props))}};const O=(0,C.Ng)(w.mapStateToProps,w.mapDispatchToProps())(w),D=(0,L.A)(O,k.A);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],c=n.parentNode.dataset.trkId,{locale:d,pageTypeCode:p,lumenSettings:{settings:{[c]:{settings:u}={}}}}=o.A.getData("initialAppContext");i.render(a.createElement(s.A.Provider,{value:{locale:d,translate:l.A,platform:o.A}},a.createElement(D,(0,r.A)({pageTypeCode:p},u))),n)}}("pl-donation-box")},26977(e,t,n){"use strict";n.d(t,{BU:()=>a,FP:()=>l,Vo:()=>s,ZB:()=>i,jq:()=>o});var r=n(14041);const a=e=>{let{children:t}=e;return r.createElement("div",{className:"ds-card"},t)},i=e=>{let{children:t}=e;return r.createElement("div",{className:"ds-card-title"},t)},o=e=>{let{children:t}=e;return t?r.createElement("div",{className:"ds-card-subtitle"},t):null},s=e=>{let{children:t}=e;return r.createElement("div",{className:"ds-card-media"},t)},l=e=>{let{children:t}=e;return r.createElement("div",{className:"ds-card-details"},t)}},8482(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144);const o=JSON.parse('{"id":"PRODUCT_FEATURES","name":"Product Features","description":"Settings to control product features or ECU(Extremely Close Up) Images","type":"object","root":true,"content":true,"properties":{"isProductFeaturesEnabled":{"type":"boolean","name":"Is Product Features Enabled","description":"Whether or not to display product features on the page","default":false}}}');var s=n(1098),l=n(90613),c=n(5765),d=n(26251),p=n(93361),u=n(26977),m=n(3514),g=n.n(m),h=n(92108),y=n(8974);const f=e=>{let{ecuItem:t}=e;return a.createElement(u.BU,null,a.createElement(u.Vo,null,a.createElement(c.A,{src:(0,d.$)(t.ecuMedia.src,570),alt:t.ecuMedia.alt,width:570,height:570})),a.createElement(u.FP,null,a.createElement(u.ZB,null,t.title),a.createElement(u.jq,null,t.subTitle)))},E=(0,s.A)((e=>{let{isProductFeaturesEnabled:t}=e;var n,r;const i=h.A.getData("product-content")||{},o=(null===i||void 0===i||null===(n=i.settings)||void 0===n||null===(r=n.ECU)||void 0===r?void 0:r.settings)||{};if(!t||g()(null===o||void 0===o?void 0:o.ecuItems))return null;const s=null===o||void 0===o?void 0:o.title,c=o.ecuItems;return a.createElement("div",{className:"product-features"},a.createElement(l.A,{variant:p.Gt.DESIGN_SYSTEM,title:s,arrowSize:y.Xy.LARGE,arrowVisibility:p.QV.DESKTOP_AND_TABLET},c.map(((e,t)=>a.createElement(f,{ecuItem:e,key:t})))))}),[o]);var T=n(64022),v=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,{lumenSettings:{settings:{[o]:{settings:s}={}}}}=h.A.getData("initialAppContext");i.render(a.createElement(T.A.Provider,{value:{translate:v.A,platform:h.A}},a.createElement(E,(0,r.A)({},s))),n)}}("pl-ds-product-features")},81667(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(59969),s=n(92108),l=n(64022),c=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],d=n.parentNode.dataset.trkId,p=s.A.getData("initialAppContext"),{[d]:{settings:u}={}}=p.lumenSettings.settings;i.render(a.createElement(l.A.Provider,{value:{translate:c.A,platform:s.A}},a.createElement(o.Ay,(0,r.A)({},u,{placementName:d,appContext:p,listingType:d}))),n)}}("pl-dynamic-carousel")},5061(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(78575),s=n(92108),l=n(64022),c=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],d=n.parentNode.dataset.trkId,p=s.A.getData("initialAppContext"),{[d]:{settings:u}={}}=p.lumenSettings.settings;i.render(a.createElement(l.A.Provider,{value:{translate:c.A,platform:s.A}},a.createElement(o.A,(0,r.A)({},u,{placementName:d,appContext:p,listingType:d}))),n)}}("pl-dynamic-tabbed-carousel")},39669(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(92108);const s="linked",l="unlinked",c="unenrolled";var d=n(13983),p=n(46123),u=n.n(p),m=n(88589);const g=e=>{const{linked:t,unlinked:n,unenrolled:r,loggedOut:i}=e,p=o.A.getData("initialAppContext");if(!u()(p,"userStatus.isLoggedIn"))return i&&a.createElement(d.A,{markup:(0,m.TY)(i)});switch(u()(p,"userStatus.enrollmentStatus",null)){case s:return t&&a.createElement(d.A,{markup:(0,m.TY)(t)});case l:return n&&a.createElement(d.A,{markup:(0,m.TY)(n)});case c:return r&&a.createElement(d.A,{markup:(0,m.TY)(r)});default:return i&&a.createElement(d.A,{markup:(0,m.TY)(i)})}};!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],s=n.parentNode.dataset.trkId,{[s]:{settings:l}={}}=o.A.getData("initialAppContext").lumenSettings.settings;i.render(a.createElement(g,(0,r.A)({},l)),n)}}("pl-enrollment-aware")}
1,94581(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(97748),s=n(92108);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],l=n.parentNode.dataset.trkId,{[l]:{settings:c}={}}=s.A.getData("initialAppContext").lumenSettings.settings;i.render(a.createElement(o.A,(0,r.A)({},c)),n)}}("pl-entity-showcase")},63789(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(46341),s=n(1098);const l=JSON.parse('{"id":"EVENTS_CAROUSEL","name":"EVENTS_CAROUSEL Settings","description":"The necessary properties to configure a carousel of events","type":"object","root":true,"content":true,"required":["events"],"properties":{"title":{"type":"string","name":"Title","description":"Title of the carousel.","shouldTranslate":true,"default":""},"events":{"type":"array","name":"Events List","items":{"type":"object","name":"Events List","required":["title","image","link"],"properties":{"title":{"type":"string","name":"Event Title","description":"Title of the event"},"subTitle":{"type":"string","name":"Event Sub Title","description":"Subtitle of the event, string format"},"description":{"type":"string","name":"Description of the Event","description":"Description of the event"},"image":{"$ref":"IMAGE","description":"Defines property of each image"},"link":{"$ref":"LINK_NO_REQ","description":"Defines Property of each event link"}}}}}}');var c=n(56566),d=n(5765),p=n(98532);const u=(0,o.V4)((function(e){const{title:t,image:n,subTitle:i,description:o,contentHostname:s}=e||{},{srcSet:l,alt:u}=n||{},m=(0,p.AN)(s,l);return a.createElement(c.C,{variant:"padded",className:"event-card"},a.createElement("div",{className:"image"},a.createElement(d.A,(0,r.A)({},m,{alt:u}))),a.createElement("h5",{className:"title"},t),a.createElement("span",{class:"subtitle"},i),a.createElement("p",{class:"description"},o))}),"assets");var m=n(90613),g=n(93361),h=n(3514),y=n.n(h),f=n(10750),E=n.n(f),T=n(8974);const v=(0,o.V4)((0,s.A)((function(e){const{events:t,title:n}=e||{};return y()(t)?null:a.createElement("div",{className:"events-carousel"},n?a.createElement("h4",{class:"title"},"All-Star Week Events"):null,a.createElement(m.A,{arrowVisibility:g.QV.ALL,arrowsType:T.jW.CHEVRON_CIRCLE},t.map((e=>a.createElement(u,(0,r.A)({key:E()(e.title)},e))))))}),l),"events-carousel");var A=n(92108),b=n(64022),S=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=A.A.getData("initialAppContext"),{[o]:{settings:l}={}}=s.lumenSettings.settings;i.render(a.createElement(b.A.Provider,{value:{translate:S.A,platform:A.A}},a.createElement(v,(0,r.A)({},l,{placementName:o,appContext:s}))),n)}}("pl-events-carousel")},84805(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=(n(74509),n(39067)),s=n.n(o),l=n(1098),c=n(46341);const d=JSON.parse('{"id":"FAN_AI_DISCOVERY","name":"Fan AI Discovery Settings","description":"The necessary settings to run the fan AI discovery component","type":"object","root":true,"content":true,"properties":{"isFanAIEnabled":{"type":"boolean","name":"Is Enabled","description":"Whether the fan AI discovery component is enabled","default":false},"fanAITitle":{"type":"string","name":"Fan AI Title","description":"Heading text displayed above the questions","shouldTranslate":true,"default":"Ask AI about this item"},"showFanAITitle":{"type":"boolean","name":"Show Fan AI Title","description":"Whether to show the title above the questions","default":true},"openingQuestions":{"type":"array","name":"Opening Questions","description":"The opening questions to display as question buttons","items":{"type":"object","name":"Opening Question","description":"A single opening question","required":["text"],"properties":{"text":{"type":"string","name":"Text","description":"The content of the opening question","shouldTranslate":true}}}},"askAnythingLabel":{"type":"string","name":"Ask Anything Label","description":"Label for the ask anything button","shouldTranslate":true,"default":"Ask anything"}
1,"questionDisplayStyle":{"type":"string","name":"Question Display Style","description":"How the questions are laid out","enum":["SCROLL","WRAP"],"default":"WRAP"}}}');var p=n(99870),u=n.n(p),m=n(83089),g=n(16036),h=n(64485);const y=e=>{const{text:t,trackingId:n,handlePress:r,isAskAnything:i}=e,o=(0,a.useCallback)((()=>i?r():r(t)),[r,i,t]);return a.createElement(m.$,{className:u()("fan-ai-discovery-question",{"fan-ai-discovery-question-outlined":i}),onPress:o,variant:h.Vt.SECONDARY,size:h.Vp.LARGE,"data-trk-id":n},a.createElement("div",{className:"fan-ai-discovery-question-contents"},a.createElement(g.A,{className:"fan-ai-discovery-question-icon",width:21,height:21}),a.createElement("span",{className:"fan-ai-discovery-question-text"},t)))};y.propTypes={text:s().string.isRequired,trackingId:s().string.isRequired,handlePress:s().func.isRequired,isAskAnything:s().bool},y.defaultProps={isAskAnything:!1};const f=y;var E=n(37982);const T="chat-messenger-loaded",v={SCROLL:"SCROLL",WRAP:"WRAP"},A=()=>{if("undefined"===typeof window)return null;const e=window.googleAgent;return e&&"function"===typeof e.openChat&&"function"===typeof e.sendQuery?e:null},b=()=>Boolean(A()),S=e=>{if("undefined"===typeof window)return!1;const t="string"===typeof e?e:"",n=()=>t?(e=>{const t=A();return!!t&&(t.openChat(),t.sendQuery(e),!0)})(t):(()=>{const e=A();return!!e&&(e.openChat(),!0)})();if(n())return!0;let r=null,a=0;const i=()=>{r&&window.clearInterval(r),window.removeEventListener(T,o)};function o(){n()&&i()}return window.addEventListener(T,o),r=window.setInterval((()=>{a+=1,(n()||a>=60)&&i()}),500),window.dispatchEvent(new CustomEvent("shopping-assistant-activated")),!1},N=e=>{const{displayStyle:t,children:n}=e;return t===v.SCROLL?a.createElement(E.S,{scrollAmount:200},a.createElement("div",{className:"fan-ai-discovery-questions fan-ai-discovery-questions-scroll"},n)):a.createElement("div",{className:"fan-ai-discovery-questions fan-ai-discovery-questions-wrap"},n)};N.propTypes={displayStyle:s().oneOf(Object.values(v)),children:s().node},N.defaultProps={displayStyle:v.WRAP,children:null};const I=N,C=e=>{var t,n,r,i;const{isFanAIEnabled:o,fanAITitle:s,showFanAITitle:l,openingQuestions:c,askAnythingLabel:d,questionDisplayStyle:p,appContext:u}=e,m=Boolean(null===u||void 0===u||null===(t=u.lumenSettings)||void 0===t||null===(n=t.settings)||void 0===n||null===(r=n.SHOPPING_ASSISTANT)||void 0===r||null===(i=r.settings)||void 0===i?void 0:i.isShoppingAssistantEnabled),[g,h]=(0,a.useState)(!1);if((0,a.useEffect)((()=>{if(!o)return;if(b())return void h(!0);let e=0;const t=()=>!!b()&&(h(!0),!0),n=window.setInterval((()=>{e+=1,(t()||e>=60)&&window.clearInterval(n)}),500);return window.addEventListener(T,t),()=>{window.clearInterval(n),window.removeEventListener(T,t)}}),[o]),!o||!g&&!m)return null;const y=a.createElement(f,{key:"ask-anything",text:d,trackingId:"fan-ai-discovery-ask-anything",handlePress:S,isAskAnything:!0}),E=c.filter((e=>{let{text:t}=e;return!((e,t)=>{const n=e=>(e||"").trim().toLowerCase();return n(e)===n(t)})(t,d)})).map(((e,t)=>{let{text:n}=e;return a.createElement(f,{key:n,text:n,trackingId:`fan-ai-discovery-question-${t}`,handlePress:S})}));return a.createElement("div",{className:"fan-ai-discovery"},l&&s&&a.createElement("h2",{className:"fan-ai-discovery-title"},s),a.createElement(I,{displayStyle:p},[...E,y]))};C.propTypes={isFanAIEnabled:s().bool,fanAITitle:s().string,showFanAITitle:s().bool,openingQuestions:s().arrayOf(s().shape({text:s().string.isRequired})),askAnythingLabel:s().string,questionDisplayStyle:s().oneOf(Object.values(v)),appContext:s().object},C.defaultProps={isFanAIEnabled:!1,showFanAITitle:!0,openingQuestions:[],askAnythingLabel:"Ask anything",questionDisplayStyle:v.WRAP};const x=(0,c.V4)((0,l.A)(C,[d]),"FAN_AI_DISCOVERY");var L=n(60268),k=n(92108),w=n(64022);!function(e){const t=k.A.getData("initialAppContext")||{},{lumenSettings:{settings:n={}}={}}=t,o=document.getElementsByClassName(e);for(let e=0;e<o.length;e++){const t=o[e],s=t.parentNode.dataset.trkId,{[s]:{settings:l}={}}=n;i.render(a.createElement(w.A.Provider,{value:{translate:L.A,platform:k.A}},a.createElement(x,(0,r.A)({},l,{placementName:s}))),t)}}("pl-fan-ai-discovery")},20087(e,t,n){"use strict";var r=n(14041),a=n(43144),i=n(60268),o=n(92108),s=n(64022),l=n(62781);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e];a.render(r.createElement(s.A.Provider,{value:{translate:i.A,platform:o.A}},r.createElement(l.Ay,null)),n)}}("global-messaging")},85253(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(92108),s=n(64022),l=n(86715),c=n(24464),d=n(3514),p=n.n(d),u=n(60268),m=n(69500);const g="pl-google-ad";p()(document.getElementsByClassName(g))||(0,l.T)().then((e=>{let{GPT:t}=e;t.enableSingleRequest(),function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],l=n.parentNode.dataset.trkId,{[l]:{settings:c}={}}=o.A.getData("initialAppContext").lumenSettings.settings;i.render(a.createElement(s.A.Provider,{value:{platform:o.A,translate:u.A}},a.createElement(m.A,(0,r.A)({},c,{placementName:l}))),n)}}(g)})).catch((e=>{c.A.error({message:"Error while dynamic load React GPT",error:JSON.stringify(e)})}))},23661(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(23985),s=n(41010),l=n(48183),c=n(64485),d=n(98319),p=n(58003),u=n(99870),m=n.n(u);const g=e=>{let{guidedLinks:t=[],links:n=[],appContext:r,showGuidedNavigation:i=!1,blockedBrandIds:u=[]}=e;var g,h;const y=(0,s.Hh)(r),f=u.some((e=>{var t,n;return e.brandId===(null===(t=y.br)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.id)}));if(!i||!t.length||f)return null;const E=(null===(g=null===(h=y.d)||void 0===h?void 0:h.find((e=>-999===e.parentId)))||void 0===g?void 0:g.name)||"",T=t.map(((e,t)=>{const r=n.find((e=>e.id===`GN-${t+1}`));if(!r)return null;const i=`/${r.link.url}`;let s="";switch(e.linkType){case"BRAND":var u,g;s=(null===(u=y.br)||void 0===u||null===(g=u[0])||void 0===g?void 0:g.name)||"";break;case"SUB_DEPARTMENT":var h,f;s=(null===(h=null===(f=y.d)||void 0===f?void 0:f.find((e=>-999!==e.parentId)))||void 0===h?void 0:h.name)||"";break;default:return null}if(!s)return null;const T=e.customCategoryText||E,v=(0,p.CK)(e.buttonText,{name:s,category:T});return a.createElement(o.N,{key:t,variant:c.zi.BUTTON_SECONDARY,size:c.Vp.LARGE,rightIcon:a.createElement(d.A,null),"data-trk-id":`guided-navigation-button-${s}`,className:m()("full-width","guided-navigation-button"),href:(0,l.DN)(i)},v)}));return T.length?a.createElement("div",{className:"guided-navigation-container"},T):null};var h=n(53089),y=n(59152),f=n(14020),E=n(46341),T=n(1098);const v=JSON.parse('{"id":"GUIDED_NAVIGATION","name":"GUIDED_NAVIGATION","de
1scription":"Settings to control the Guided Navigation component that provides generic links based on PDP data.","type":"object","root":true,"content":true,"properties":{"showGuidedNavigation":{"type":"boolean","name":"Show guided navigation","description":"Show/Hide the guided navigation component","default":false},"guidedLinks":{"type":"array","name":"Guided navigation links","description":"Array of links to be displayed in the guided navigation component","items":{"type":"object","name":"Link details","properties":{"linkType":{"type":"string","name":"Link type","description":"Type of link to be displayed in the guided navigation component","enum":["BRAND","SUB_DEPARTMENT"]},"buttonText":{"type":"string","name":"Button text","shouldTranslate":true,"description":"Label for the button links. Use {name} placeholder for athlete/brand and {category} for department (for example \u201cExplore more Nike Gear\u201c/ \u201cExplore more Fitted Hats\u201c) "},"customCategoryText":{"type":"string","name":"Custom category text","shouldTranslate":true,"description":"Custom text to replace the {category} placeholder in the `buttonText`. If provided, it will override the default category text. Defaults to Department.","default":""}},"required":["buttonText"]}},"blockedBrandIds":{"type":"array","name":"Blocked Brand IDs","description":"Array of Brand IDs for which guided navigation should not be shown.","default":[],"items":{"type":"object","name":"Blocked Brand ID","properties":{"brandId":{"type":"integer","name":"Brand ID","description":"Brand ID to block from guided navigation"}}}}}}');const A=(0,T.A)(g,[v]),b=(0,E.V4)(A,"guided-navigation"),S=(0,h.Ng)((function(e){const{links:t}=e;return{links:t}}))(b),N=(0,f.A)(S,y.A);var I=n(64022),C=n(92108),x=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=C.A.getData("initialAppContext"),{[o]:{settings:l}={}}=s.lumenSettings.settings;i.render(a.createElement(I.A.Provider,{value:{translate:x.A,platform:C.A}},a.createElement(N,(0,r.A)({},l,{placementName:o}))),n)}}("pl-guided-navigation")},5188(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(39067),s=n.n(o),l=n(56566),c=n(17353),d=n(5765),p=n(10750),u=n.n(p),m=n(48183),g=n(46341),h=n(98532);const y=e=>{const{text:t="",subtext:n="",srcSet:i={},href:o="",backgroundColor:s="#FFFFFF",color:p="#000000",contentHostname:g,pageTypeCode:y,itemIndex:f}=e,E=(0,h.AN)(g,i),T=(0,m.Wf)({url:o,pageType:y,moduleName:"hmeCrds",itemPosition:`${f}`});return a.createElement("div",{className:"card-container"},a.createElement(l.C,{key:t,variant:"no-padded",className:"card-content-container",style:{backgroundColor:s}},a.createElement(c.Ay,{key:o,href:T||c.gF,"data-trk-id":u()(t)},a.createElement(d.A,(0,r.A)({},E,{alt:t})),a.createElement("div",{className:"card-text-container"},a.createElement("h1",{className:"card-text",style:{color:p}},t),n?a.createElement("h3",{className:"card-subtext"},n):null))))};y.propTypes={text:s().string.isRequired,srcSet:s().object.isRequired,href:s().string.isRequired};const f=(0,g.V4)(y,"assets"),E=e=>{const{placementName:t="",data:n=[],backgroundColor:i="",color:o="",appContext:{pageTypeCode:s=""}={}}=e;return a.createElement("div",{key:t,className:"cards-container"},n.map(((e,t)=>a.createElement(f,(0,r.A)({key:t}
1,e,{itemIndex:t,pageTypeCode:s,backgroundColor:i,color:o})))))};E.propTypes={data:s().array.isRequired,placement:s().string,backgroundColor:s().string,color:s().string};const T=E,v=e=>{const{placementName:t="",data:n=[]}=e,i=n.length>0?a.createElement(T,(0,r.A)({},e)):null;return a.createElement("div",{key:t,className:"help-page-cards-container"},i)};v.propTypes={data:s().array.isRequired,placementName:s().string,backgroundColor:s().string,color:s().string};const A=v;var b=n(92108),S=n(46123),N=n.n(S);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=b.A.getData("initialAppContext"),l=N()(s,`lumenSettings.settings[${o}].settings`,{}),c=N()(s,"lumenSettings.settings.HELP_PAGE_CARDS.settings",{});i.render(a.createElement(A,(0,r.A)({placementName:o,appContext:s},l,c)),n)}}("pl-help-page-cards")},47367(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(40428),s=n(92108),l=n(64022),c=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],d=n.parentNode.dataset.trkId,p=s.A.getData("initialAppContext"),{[d]:{settings:u}={}}=p.lumenSettings.settings;i.render(a.createElement(l.A.Provider,{value:{translate:c.A,platform:s.A}},a.createElement(o.A,(0,r.A)({},u,{placementName:d,appContext:p,listingType:d}))),n)}}("pl-horizontal-grid-carousel")},97227(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(80389),s=n(64022),l=n(60268),c=n(92108);!function(e){const t=document.getElementsByClassName(e),{serverTimeUTCinMs:n}=c.A.getData("initialAppContext");for(let e=0;e<t.length;e++){const d=t[e],p=d.parentNode.dataset.trkId,{[p]:{settings:u}={}}=c.A.getData("initialAppContext").lumenSettings.settings;i.render(a.createElement(s.A.Provider,{value:{translate:l.A,platform:c.A}},a.createElement(o.A,(0,r.A)({},u,{serverTimeUTCinMs:n}))),d)}}("pl-image-card")},75363(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(1098),s=n(46341),l=(n(8947),n(39067)),c=n.n(l),d=n(32192),p=n(73118),u=n(5765),m=n(25345),g=n(64485),h=(n(74509),n(24464));const y={OPEN_REQUESTED:"openRequested",OPENED:"opened",MESSAGE:"message",BLOCKED:"blocked",CLOSED:"closed",ERROR:"error",NAVIGATION:"navigation"},f="WindowManager",E=()=>{},T=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];const i=((e,t)=>{try{return null===e||void 0===e?void 0:e[t]}catch{return null}})(e,t);if("function"!==typeof i)return!1;try{return i.call(e,...r),!0}catch{return!1}},v=e=>{try{return!e||e.closed}catch{return!0}},A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!e||"null"===e)return null;try{return new URL(e).origin}catch{return null}};const b=class{constructor({url:e,allowedOrigins:t=[],target:n="_blank",features:r={},browserWindow:a=window,pollInterval:i=500}){var o=this;this.on=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:E;return o.listeners[e]&&o.listeners[e].add(t),()=>{o.off(e,t)}},this.off=(e,t)=>{this.listeners[e]&&this.listeners[e].delete(t)},this.emit=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o.listeners[e]&&o.listeners[e].forEach((n=>{n({type:e,payload:t})}))},this.open=()=>{if(!v(this.popupWindow))return T(this.popupWindow,"focus"),this.popupWindow;this.cleanup(),this.emit(y.OPEN_REQUESTED,{url:this.url,target:this.target});const e=(e=>{let{features:t={},popupWidth:n=600,popupHeight:r=700,browserWindow:a=window}=e;if("tab"===t.mode)return;
1const i=t.width||n,o=t.height||r,s={popup:"yes",width:i,height:o};return t.centered&&(s.left=Math.round((a.screen.width-i)/2),s.top=Math.round((a.screen.height-o)/2)),Object.keys(s).map((e=>`${e}=${s[e]}`)).join(",")})({features:this.features,browserWindow:this.browserWindow});try{this.popupWindow=this.browserWindow.open(this.url,this.target,e)}catch(e){return this.emit(y.ERROR,{error:e}),null}return this.popupWindow?(this.attachPopupListeners(),this.emit(y.OPENED,{popupWindow:this.popupWindow,url:this.url,target:this.target}),this.popupWindow):(this.emit(y.BLOCKED,{url:this.url,target:this.target}),null)},this.close=()=>{v(this.popupWindow)||(T(this.popupWindow,"close"),this.checkClosedState())},this.destroy=()=>{const e=this.popupWindow;this.cleanup(),T(e,"close"),Object.keys(this.listeners).forEach((e=>{this.listeners[e].clear()}))},this.handleMessage=e=>{try{if(!this.popupWindow)return void h.A.warn({spanName:f,message:"Ignoring message as there is no popup window instance"});if(!e||e.source!==this.popupWindow)return void h.A.warn({spanName:f,message:"Ignoring message from an unexpected window",origin:A(null===e||void 0===e?void 0:e.origin)});const t=A(e.origin);if(!t||!this.allowedOrigins.includes(t))return void h.A.info({spanName:f,message:"Ignoring message received from invalid origin",origin:t});h.A.info({spanName:f,message:"New message received from active popup",origin:t}),this.emit(y.MESSAGE,{event:e,data:e.data,origin:e.origin,popupWindow:this.popupWindow})}catch(e){h.A.error({spanName:f,message:"Error handling message event",error:e})}},this.attachPopupListeners=()=>{this.browserWindow.addEventListener("message",this.handleMessage),this.closeInterval=this.browserWindow.setInterval(this.checkClosedState,this.pollInterval)},this.checkClosedState=()=>{if(!v(this.popupWindow))return void this.checkNavigationState();const e=this.popupWindow;this.cleanup(),this.emit(y.CLOSED,{popupWindow:e})},this.checkNavigationState=()=>{const e=(e=>{try{var t;return(null===e||void 0===e||null===(t=e.location)||void 0===t?void 0:t.href)||null}catch{return null}})(this.popupWindow);e&&e!==this.lastKnownLocation&&(this.lastKnownLocation=e,this.emit(y.NAVIGATION,{destinationUrl:e,popupWindow:this.popupWindow}))},this.cleanup=()=>{this.browserWindow.removeEventListener("message",this.handleMessage),this.closeInterval&&(this.browserWindow.clearInterval(this.closeInterval),this.closeInterval=null),this.popupWindow=null,this.lastKnownLocation=null},this.url=e,this.allowedOrigins=t,this.target=n,this.features=r,this.browserWindow=a,this.pollInterval=i,this.popupWindow=null,this.closeInterval=null,this.lastKnownLocation=null,this.listeners=Object.keys(y).reduce(((e,t)=>(e[y[t]]=new Set,e)),{}),this.handleMessage=this.handleMessage.bind(this)}};var S=n(88589),N=n(30285),I=n(45471),C=n(61743);class x extends N.A{static getServiceConfig(){return{protocol:I.A.ENDPOINTS.CART_API.PROTOCOL,port:I.A.ENDPOINTS.CART_API.PORT,domain:I.A.ENDPOINTS.CART_API.DOMAIN,version:I.A.ENDPOINTS.CART_API.VERSION}}associatePayment(e){const t=this;return async n=>{if(!n)return t.makeRequest({...N.A.DEFAULT_RP_OPTIONS,url:"/api/imprint/payment",method:"POST",body:e});const{accessToken:r,accountKey:a,fanTenantAccountId:i}=n.cookieManager;if(!r||!a)return(0,C.A)(n,{spanName:"ImprintPaymentAssociation",message:{error:"No access token or account key found in cookies. User is not authenticated."}},"error"),void N.A.setErrRespVals(n,{statusCode:401,statusMessage:"Unauthorized",headers:{},body:{error:"Unauthorized"}});const{customerId:o,campaignId:s}=n.request.body||{};if(!o||!i)return(0,C.A)(n,{spanName:"ImprintPaymentAssociation",message:{customerId:o,fanTenantAccountId:i,error:"Missing customerId in request body or fanTenantAccountId in cookies."}},"error"),void N.A.setErrRespVals(n,{statusCode:400,statusMessage:"Bad Request",headers:{},body:{error:"customerId from request body and fanTenantAccountId from cookies are required"}});(0,C.A)(n,{spanName:"ImprintPaymentAssociation",message:{customerId:o,message:"Requesting payment association to experience service",url:`${t.buildServerRootServiceURI("experience")}/${i}/imprintPostApproval`,body:{imprintCustomerId:o,campaignId:s}}},"info");
1const l=await t.makeRequest({...N.A.DEFAULT_RP_OPTIONS,url:`${t.buildServerRootServiceURI("experience")}/${i}/imprintPostApproval`,method:"POST",headers:N.A.getServerServiceHeaders(n),body:{imprintCustomerId:o,campaignId:s}});if(N.A.isErrorStatusCode(l.statusCode))return(0,C.A)(n,{spanName:"ImprintPaymentAssociation",message:{customerId:o,message:"Error response from experience service",statusCode:l.statusCode,error:l.body}},"error"),void N.A.setErrRespVals(n,l);(0,C.A)(n,{spanName:"ImprintPaymentAssociation",message:{customerId:o,associated:!0}},"info"),N.A.setResponseValues(n,{statusCode:200,statusMessage:"OK",headers:{},body:{success:!0}})}}constructor(){super(x)}}const L=new x;var k=n(16647);const w="ImprintWidget",O="isImprintCardHolder",D="imprint-card-holder",R={VISUAL:"visual",NONE:"none"};let P;const _=e=>{if("string"!==typeof e||!e.trim())return null;try{return new URL(e.trim()).hostname}catch{return null}},M=e=>{if("string"!==typeof e||!e.trim())return null;try{const t=new URL(e.trim());if("https:"!==t.protocol||!t.hostname)return null;const n=(()=>{var e;return"undefined"!==typeof window&&(null===(e=window.location)||void 0===e?void 0:e.origin)?`${window.location.origin}/transition/imprint/login`:null})();return n?(t.searchParams.set("source_tenant_auth_redirect_uri",n),t.toString()):t.toString()}catch{return null}},U=()=>{if("undefined"===typeof window)return!1;try{return"true"===window.localStorage.getItem(O)}catch{return!1}};function B(e){let{isEnabled:t,placement:n,image:i={},description:o,applyNowText:s,landingPageUrl:l,imprintOrigin:c,imprintMessageSource:f,popup:E={},renderMode:T=R.VISUAL,appContext:{device:{isMobile:v=!1}={}}={},fancashCampaignId:A}=e;const{srcSet:N,alt:I=""}=i,C=(0,a.useRef)(null),x=(0,a.useRef)(null),[B,F]=(0,a.useState)(!1),[j,G]=(0,a.useState)(U),{popupWidth:V,popupHeight:H,backdrop:$={}}=E,{enabled:W=!0,titleText:q,descriptionText:z,buttonText:Y}=$,X=M(l),K=(e=>{if("string"!==typeof e||!e.trim())return null;try{const t=new URL(e.trim());return"https:"===t.protocol&&t.hostname?t.origin:null}catch{return null}})(c),J=[t,X,K,!1===j].every(Boolean),Q=T!==R.NONE;(0,a.useEffect)((()=>{const e=()=>{G(!0)};return window.addEventListener(D,e),()=>{window.removeEventListener(D,e),C.current&&(C.current.destroy(),C.current=null)}}),[]),(0,a.useEffect)((()=>{if(J)return(e=>{if("undefined"===typeof window||P||"function"===typeof window.openImprintWidget)return()=>{};const t=()=>{e()};return P=t,window.openImprintWidget=t,()=>{window.openImprintWidget===t&&delete window.openImprintWidget,P===t&&(P=void 0)}})((()=>{var e;h.A.info({spanName:w,message:"Imprint window open triggered via window.openImprintWidget()",placement:n}),null===(e=x.current)||void 0===e||e.call(x)}))}),[J,n]);const Z=e=>{e.on(y.OPEN_REQUESTED,(()=>{h.A.info({spanName:w,message:"Imprint window open requested",placement:n,windowMode:v?"tab":"popup",landingPageHostname:_(l),imprintHostname:_(c)})}
1)),e.on(y.OPENED,(()=>{d.default.emitAndFlush({et:p.x5.CREDIT_CARD_APPLICATION_PAYMENT,a:{cps:"IMPRINT",ast:"WIDGET_OPEN",src:n}}),h.A.info({spanName:w,message:"Opened event received from WindowManager"}),F(!0)})),e.on(y.BLOCKED,(()=>{d.default.emitAndFlush({et:p.x5.CREDIT_CARD_APPLICATION_PAYMENT,a:{cps:"IMPRINT",ast:"WIDGET_BLOCKED",src:n}}),h.A.warn({spanName:w,message:"Blocked event received from WindowManager"}),F(!1)})),e.on(y.CLOSED,(()=>{d.default.emitAndFlush({et:p.x5.CREDIT_CARD_APPLICATION_PAYMENT,a:{cps:"IMPRINT",ast:"WIDGET_CLOSED",src:n}}),h.A.info({spanName:w,message:"Closed event received from WindowManager"}),F(!1)})),e.on(y.ERROR,(e=>{let{payload:{error:t}={}}=e;h.A.error({spanName:w,message:"WindowManager failed to open the Imprint window",errorName:(null===t||void 0===t?void 0:t.name)||"UnknownError"}),F(!1)})),e.on(y.NAVIGATION,(e=>{let{payload:{destinationUrl:t}={}}=e;var n;(e=>{var t;if("undefined"===typeof window||!(null===(t=window.location)||void 0===t?void 0:t.origin))return!1;try{const t=new URL(e),n=new URL(k.LQ.ERROR,window.location.origin);return t.origin===n.origin&&t.pathname===n.pathname&&t.searchParams.get("e_msg")===n.searchParams.get("e_msg")}catch{return!1}})(t)&&(h.A.warn({spanName:w,message:"Detected SSO error in Imprint popup"}),null===(n=C.current)||void 0===n||n.close(),window.location.assign(k.LQ.ERROR))})),e.on(y.MESSAGE,(e=>{let{payload:{data:t}={}}=e;d.default.emitAndFlush({et:p.x5.CREDIT_CARD_APPLICATION_PAYMENT,a:{cps:"IMPRINT",ast:"WIDGET_MESSAGE_RECEIVED",src:n}}),t&&t.source===f?(h.A.info({spanName:w,message:"Processing Imprint message",eventName:(null===t||void 0===t?void 0:t.event_name)||"missing"}),ee(t)):h.A.info({spanName:w,message:"Ignored Imprint message with an unexpected source",hasMessageData:!!t,hasMessageSource:!!(null===t||void 0===t?void 0:t.source)})}))},ee=e=>{const{event_name:t,customer_id:n}=e;switch(d.default.emitAndFlush({et:p.x5.CREDIT_CARD_APPLICATION_PAYMENT,a:{cps:"IMPRINT",ast:"DECISION",msg:t,cid:n}}),h.A.info({spanName:w,message:"Processing Imprint application result",eventName:t||"missing"}),t){case"PAYMENT_METHOD_CREATED":if(!n)return h.A.warn({spanName:w,message:"Missing customer id in PAYMENT_METHOD_CREATED event payload",hasCustomerId:!!n}),void d.default.emitAndFlush({et:p.x5.CREDIT_CARD_APPLICATION_PAYMENT,a:{cps:"IMPRINT",ast:"ERROR",msg:"Missing customer id in PAYMENT_METHOD_CREATED event payload"}});h.A.info({spanName:w,message:"Associating accepted Imprint offer with the user account"}),L.associatePayment({customerId:n,campaignId:A})().then((()=>{h.A.info({spanName:w,message:"Associated accepted Imprint offer successfully"}),d.default.emitAndFlush({et:p.x5.CREDIT_CARD_APPLICATION_PAYMENT,a:{cps:"IMPRINT",ast:"COMPLETE",cid:n}});try{window.localStorage.setItem(O,"true")}catch(e){h.A.warn({spanName:w,message:"Failed to persist Imprint card-holder flag in localStorage",errorName:(null===e||void 0===e?void 0:e.name)||"UnknownError"})}window.dispatchEvent(new Event(D))})).catch((e=>{h.A.error({spanName:w,message:"Failed to associate accepted Imprint offer",errorName:(null===e||void 0===e?void 0:e.name)||"UnknownError",statusCode:null===e||void 0===e?void 0:e.statusCode}),d.default.emitAndFlush({et:p.x5.CREDIT_CARD_APPLICATION_PAYMENT,a:{cps:"IMPRINT",ast:"ERROR",msg:e.error||e.message||"Unknown error"}})}));break;case"ACCOUNT_LINK_RESULT":h.A.info({spanName:w,message:"Received Imprint account link result",status:e.status||"missing"}),d.default.emitAndFlush({et:p.x5.CREDIT_CARD_APPLICATION_PAYMENT,a:{cps:"IMPRINT",ast:"ACCOUNT_LINK_RESULT",msg:`Account link result returned status '${e.status}'`}});break;case"CLOSED":var r;h.A.info({spanName:w,message:"Imprint requested application window closure"}),null===(r=C.current)||void 0===r||r.close();break;case"REJECTED":var a;h.A.warn({spanName:w,message:"Imprint application was rejected"}),d.default.emitAndFlush({et:p.x5.CREDIT_CARD_APPLICATION_PAYMENT,a:{cps:"IMPRINT",ast:"ERROR",msg:"Imprint application was rejected"}}),null===(a=C.current)||void 0===a||a.close();break;case"ERROR":var i;h.A.error({spanName:w,message:"Imprint reported an application error"}),d.default.emitAndFlush({et:p.x5.CREDIT_CARD_APPLICATION_PAYMENT,a:{cps:"IMPRINT",ast:"ERROR",msg:`Imprint returned an error: ${JSON.stringify(e)}`}}),null===(i=C.current)||void 0===i||i.close();break;default:h.A.warn({spanName:w,message:"Received unsupported Imprint event",eventName:t||"missing"})}},te=()=>{if(X){if(C.current)return h.A.info({spanName:w,message:"Reusing existing WindowManager for Imprint window"}),void C.current.open();
1try{C.current=new b({url:X,target:"_blank",features:{mode:v?"tab":"popup",width:V,height:H,centered:!v},allowedOrigins:[K]})}catch(e){return void h.A.error({spanName:w,message:"Failed to configure the Imprint window",errorName:(null===e||void 0===e?void 0:e.name)||"UnknownError",hasLandingPageUrl:!!l,hasImprintOrigin:!!c})}Z(C.current),C.current.open()}else h.A.error({spanName:w,message:"Cannot open the Imprint window with an unsafe landing page URL",hasLandingPageUrl:!!l})};x.current=te;const ne=J&&Q,re=B&&W&&!v;return ne||re?a.createElement(a.Fragment,null,ne&&a.createElement("div",{className:"imprint-widget"},N&&a.createElement("div",{className:"imprint-widget__image"},a.createElement(u.A,(0,r.A)({},N,{alt:I}))),a.createElement("div",{className:"imprint-widget__content"},((null===o||void 0===o?void 0:o.content)||s)&&a.createElement("div",{className:"imprint-widget__description"},(null===o||void 0===o?void 0:o.content)&&a.createElement("span",{dangerouslySetInnerHTML:{__html:(0,S.TY)(o.content)}}),(null===o||void 0===o?void 0:o.content)&&s&&" ",s&&a.createElement(m.L,{className:"imprint-widget__apply-now","data-trk-id":"imprint-widget-apply-now",onPress:te,variant:g.zi.DEFAULT},s)))),re&&a.createElement("div",{className:"imprint-widget-backdrop",role:"dialog","aria-modal":!0,"aria-label":q||Y,tabIndex:-1},a.createElement("div",{className:"imprint-widget-backdrop__scrim"}),a.createElement("div",{className:"imprint-widget-backdrop__content"},q&&a.createElement("p",{className:"imprint-widget-backdrop__title"},q),(null===z||void 0===z?void 0:z.content)&&a.createElement("div",{className:"imprint-widget-backdrop__description"},a.createElement("span",{dangerouslySetInnerHTML:{__html:(0,S.TY)(z.content)}})),Y&&a.createElement("button",{className:"imprint-widget-backdrop__button","data-trk-id":"imprint-widget-backdrop-continue",onClick:()=>{C.current?(h.A.info({spanName:w,message:"Backdrop requested Imprint window reopen"}),C.current.open()):h.A.warn({spanName:w,message:"Cannot reopen Imprint window without a WindowManager"})},type:"button"},Y)))):null}B.propTypes={isEnabled:c().bool,placement:c().string,image:c().shape({srcSet:c().shape({SMALL:c().string,MEDIUM:c().string}),alt:c().string}),description:c().shape({content:c().string}),applyNowText:c().string,landingPageUrl:c().string,imprintOrigin:c().string,imprintMessageSource:c().string,popup:c().shape({popupWidth:c().number,popupHeight:c().number,backdrop:c().shape({enabled:c().bool,titleText:c().string,descriptionText:c().shape({content:c().string}),buttonText:c().string})}),renderMode:c().oneOf([R.VISUAL,R.NONE]),appContext:c().shape({device:c().shape({isMobile:c().bool})}),fancashCampaignId:c().string};const F=B,j=JSON.parse('{"id":"IMPRINT_WIDGET","name":"Imprint Widget","description":"Settings to control the Imprint co-branded credit card widget","type":"object","root":true,"content":true,"properties":{"isEnabled":{"type":"boolean","name":"Is Enabled","description":"Enable the Imprint credit card widget","default":false},"image":{"type":"object","name":"CTA Image","description":"Image displayed as the widget call-to-action","properties":{"srcSet":{"$ref":"SRC_SET","description":"Responsive image sources for the CTA (SMALL, MEDIUM, LARGE)"},"alt":{"type":"string","name":"alt","description":"Alt text for the CTA image","shouldTranslate":true}}},"description":{"name":"Content","description":"Body copy content displayed in the widget. Supports HTML.","$ref":"RICH_TEXT"},"applyNowText":{"type":"string","name":"Apply Now Text","description":"Inline link text appended to the description that opens the application popup","shouldTranslate":true,"default":"Apply now."},"popup":{"id":"POPUP","type":"object","name":"Popup","description":"UI settings for the popup window","properties":{"popupWidth":{"type":"integer","name":"Popup Width","description":"Width of the desktop popup window in pixels","default":600},"popupHeight":{"type":"integer","name":"Popup Height","description":"Height of the desktop popup window in pixels","default":700},"backdrop":{"id":"BACKDROP","type":"object","name":"Backdrop","description":"Settings for the backdrop displayed while the popup is open","properties":{"enabled":{"type":"boolean","name":"Enabled","description":"Enable the popup backdrop","default":true},"titleText":{"type":"string","name":"Title Text","description":"Title displayed while the application window is open","shouldTranslate":true,"default":"Fanatics Card"},"descriptionText":{"name":"Description Text","description":"Description displayed while the application window is open","$ref":"RICH_TEXT"},"buttonText":{"type":"string","name":"Button Text","description":"Button text used to reopen the application window","
1shouldTranslate":true,"default":"Click to Continue"}}}}},"renderMode":{"type":"string","name":"Widget Render Mode","description":"Controls whether the widget renders its visual content or only exposes window.openImprintWidget() for an external CTA","enum":["visual","none"],"default":"visual"}}}'),G=(0,o.A)(F,j),V=(0,s.V4)(G,"imprint-api","imprint-widget");var H=n(64022),$=n(92108),W=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,{lumenSettings:{settings:{[o]:{settings:s}={}}}}=$.A.getData("initialAppContext");i.render(a.createElement(H.A.Provider,{value:{translate:W.A,platform:$.A}},a.createElement(V,(0,r.A)({},s,{placement:o}))),n)}}("pl-imprint-widget")},78750(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=(n(27357),n(74509),n(39067)),s=n.n(o),l=n(46123),c=n.n(l),d=n(5765),p=n(87310);const u=e=>{let{tierItem:t,imageHostname:n,currentSubDepartmentId:r}=e;const{jerseyType:a,text:i,subDepartmentId:o,imageSrc:s,href:l,description:c,iconUrl:d}=t;return{jerseyName:i||a,jerseyType:a,jerseyDescription:c?{description:c,iconUrl:d}:void 0,imageSource:(0,p.q0)({imageHostname:n,imagePath:s}),isSelected:null!==r&&void 0!==r&&String(o)===String(r),subDepartmentId:o,href:l}},m=e=>{let{jerseyType:t,trkPrefix:n}=e;return`${t}-${n}-dlp`},g=e=>{let{title:t,iconUrl:n,descriptions:r,jerseyType:i}=e;const o=((e,t)=>{var n;return null===(n=null===e||void 0===e?void 0:e.find((e=>e.jerseyType===t)))||void 0===n?void 0:n.text})(r,i);return a.createElement("div",{className:"comparison-row"},a.createElement("div",{className:"comparator-row"},n?a.createElement("div",{className:"row-title-wrapper"},a.createElement("span",{className:"row-icon"},a.createElement(d.A,{src:n,alt:""})),a.createElement("div",{className:"row-title"},t)):a.createElement("div",{className:"row-title"},t),a.createElement("div",{className:"description"},o)))};g.propTypes={title:s().string.isRequired,iconUrl:s().string,descriptions:s().arrayOf(s().shape({jerseyType:s().string,text:s().string})),jerseyType:s().string};const h=g;var y=n(34145),f=n(83089),E=n(23985),T=n(64485),v=n(48183);const A=e=>{let{isSelected:t,selectedItemText:n,ctaButtonText:r,jerseyName:i,ctaHref:o,ctaTrkId:s,selectedTrkId:l,size:c,truncate:d}=e;return t?a.createElement("div",{className:"jersey-tier-guide-cta-button-wrapper"},a.createElement(f.$,{variant:T.Vt.PRIMARY,isDisabled:!0,"data-trk-id":l,size:c,truncate:d},n)):a.createElement("div",{className:"jersey-tier-guide-cta-link-wrapper"},a.createElement(E.N,{href:(0,v.DN)(o),variant:T.zi.BUTTON_PRIMARY,"data-trk-id":s,size:c,truncate:d},a.createElement(y.A,{msg:r,replacements:{jerseyType:i}})))};A.propTypes={isSelected:s().bool,selectedItemText:s().string,ctaButtonText:s().string,jerseyName:s().string.isRequired,ctaHref:s().string,ctaTrkId:s().string,selectedTrkId:s().string,size:s().string,truncate:s().string};const b=A;var S=n(38256);const N=s().shape({subDepartmentId:s().oneOfType([s().string,s().number]).isRequired,jerseyType:s().string.isRequired,text:s().string,description:s().string,iconUrl:s().string,href:s().string,imageSrc:s().string,productCount:s().number}),I=s().shape({title:s().string,iconUrl:s().string,descriptions:s().array}),C=s().shape({jerseyType:s().string,description:s().string,iconUrl:s().string,subDepartmentId:s().string}),x=s().shape({pageTypeCode:s().string,imageHostname:s().string,rids:s().arrayOf(s().shape({key:s().string,ids:s().arrayOf(s().string)})),device:s().shape({isDesktop:s().bool})}),L=s().shape({platform:s().shape({getData:s().func})}),k=e=>{let{selectedItemText:t,ctaButtonText:n,ctaDropdownLabel:r,dropdownPlaceholder:i,tierItems:o=[],comparisonRows:s,subDepartmentId:l,jerseyName:c,jerseyType:p,href:u,jerseyDescription:g,imageSource:y,isSelected:f,selectedSubDepartmentIds:E=[],showDropdown:v,onSubDepartmentChange:A}=e;const N=m({jerseyType:p,trkPrefix:"jersey-tier-guide"});return a.createElement("div",{className:"jersey-comparator-card"},v?a.createElement("div",{className:"jersey-tier-dropdown-container"},a.createElement(S.m,{className:"jersey-tier-dropdown",label:r,placeholder:i,"data-trk-id":`${p}-jersey-tier-guide-dropdown`,selectedKey:l,onSelectionChange:e=>null===A||void 0===A?void 0:A(e),size:T.Vp.SMALL},o.map((e=>{const t=String(e.subDepartmentId),n=t===String(l),r=E.some((e=>String(e)===t));return a.createElement(S.t,{key:e.subDepartmentId,id:e.subDepartmentId,isDisabled:!n&&r},e.text||e.jerseyType)})))):a.createElement("div",{className:"jersey-title"},c),a.createElement("div",{className:"jersey-image"},a.createElement(d.A,{src:y,alt:c})),a.createElement("div",{className:"jersey-type-anchor-container"},a.createElement(b,{isSelected:f,selectedItemText:t,ctaButtonText:n,jerseyName:c,ctaHref:u,ctaTrkId:N,selectedTrkId:`${p}-jersey-tier-guide-selected`,size:T.Vp.MEDIUM,truncate:T.mv.WRAP})),g?a.createElement("div",{className:"jersey-description"},g.iconUrl?a.createElement("span",{className:"jersey-description-icon"},a.createElement(d.A,{src:g.iconUrl,alt:""})):null,g.description):null,a.createElement("div",{className:"comparison-rows-wrapper"},null===s||void 0===s?void 0:s.map(((e,t)=>a.createElement(h,{key:`${t}-${e.title}`,title:e.title,iconUrl:e.iconUrl,descriptions:e.descriptions,jerseyType:p})))))};k.propTypes={selectedItemText:s().string,ctaButtonText:s().string,ctaDropdownLabel:s().string,dropdownPlaceholder:s().string,tierItems:s().arrayOf(N),comparisonRows:s().arrayOf(I),subDepartmentId:s().oneOfType([s().string,
1s().number]),jerseyName:s().string.isRequired,jerseyType:s().string.isRequired,href:s().string,jerseyDescription:s().shape({description:s().string,iconUrl:s().string}),imageSource:s().string,isSelected:s().bool,selectedSubDepartmentIds:s().arrayOf(s().oneOfType([s().string,s().number])),showDropdown:s().bool,onSubDepartmentChange:s().func};const w=k;var O=n(9824),D=n(99870),R=n.n(D);const P=e=>{let{tierItem:t,comparisonRows:n,ctaButtonText:r,selectedItemText:i,currentSubDepartmentId:o,imageHostname:s}=e;const{jerseyName:l,jerseyType:c,jerseyDescription:p,imageSource:g,isSelected:y,href:f}=u({tierItem:t,imageHostname:s,currentSubDepartmentId:o}),E=m({jerseyType:c,trkPrefix:"jtg-card-view"});return a.createElement("div",{className:R()("jersey-card-slide",{"jersey-card-slide-selected":y})},y&&a.createElement("div",{className:"jersey-card-slide-header"},i),a.createElement("div",{className:"jersey-card-slide-body"},a.createElement("div",{className:"jersey-card-product-row"},a.createElement(d.A,{className:"jersey-card-product-image",src:g,alt:l}),a.createElement("div",{className:"jersey-card-product-info"},a.createElement("div",{className:"jersey-card-product-name"},l),(null===p||void 0===p?void 0:p.description)&&a.createElement("p",{className:"jersey-card-product-description"},p.description))),a.createElement("div",{className:"comparison-rows-wrapper"},null===n||void 0===n?void 0:n.map(((e,t)=>a.createElement(h,{key:`${t}-${e.title}`,title:e.title,iconUrl:e.iconUrl,descriptions:e.descriptions,jerseyType:c})))),a.createElement(b,{isSelected:y,selectedItemText:i,ctaButtonText:r,jerseyName:l,ctaHref:f,ctaTrkId:E,selectedTrkId:`${c}-jtg-card-view-selected`})))};P.propTypes={tierItem:N.isRequired,comparisonRows:s().arrayOf(I),ctaButtonText:s().string,selectedItemText:s().string,currentSubDepartmentId:s().oneOfType([s().string,s().number]),imageHostname:s().string};const _=P;var M=n(79991),U=n(52088),B=n(98319);const F=e=>{let{totalSlides:t,prevSlideAriaLabel:n,nextSlideAriaLabel:r}=e;const{currentIndex:i,scrollTo:o}=(0,a.useContext)(O.Wr);return a.createElement("div",{className:"jersey-card-footer"},a.createElement(O.Pg,{totalSlides:t}),a.createElement("div",{className:"jersey-card-arrows"},a.createElement(M.B,{variant:T.Vt.UNSTYLED,"data-trk-id":"jtg-card-view-prev",ariaLabel:n,onClick:()=>o(i-1),isDisabled:0===i},a.createElement(U.A,{width:24,height:24})),a.createElement(M.B,{variant:T.Vt.UNSTYLED,"data-trk-id":"jtg-card-view-next",ariaLabel:r,onClick:()=>o(i+1),isDisabled:i===t-1},a.createElement(B.A,{width:24,height:24}))))};F.propTypes={totalSlides:s().number.isRequired,prevSlideAriaLabel:s().string,nextSlideAriaLabel:s().string};const j=F,G=e=>{let{title:t,tierItems:n=[],comparisonRows:i,ctaButtonText:o,selectedItemText:s,currentSubDepartmentId:l,appContext:c={},prevSlideAriaLabel:d,nextSlideAriaLabel:p,isDesktop:u=!1}=e;const{imageHostname:m}=c,g=Math.max(0,n.findIndex((e=>null!==l&&void 0!==l&&String(e.subDepartmentId)===String(l)))),h={comparisonRows:i,ctaButtonText:o,selectedItemText:s,currentSubDepartmentId:l,imageHostname:m};return a.createElement("div",{className:"jersey-card-view"},a.createElement("div",{className:"jersey-card-title"},t),u?a.createElement("div",{className:"jersey-card-grid"},n.map((e=>a.createElement(_,(0,r.A)({key:e.subDepartmentId,tierItem:e},h))))):a.createElement(O.Ay,{slidesContent:n,arrowBehavior:O.rr.ALWAYS_VISIBLE,initialIndex:g},a.createElement("div",{className:"slides-wrapper"},a.createElement(O.tN,null,n.map((e=>a.createElement(_,(0,r.A)({key:e.subDepartmentId,tierItem:e},h)))))),a.createElement(j,{totalSlides:n.length,prevSlideAriaLabel:d,nextSlideAriaLabel:p})))};G.propTypes={title:s().string,tierItems:s().arrayOf(N),comparisonRows:s().arrayOf(I),ctaButtonText:s().string,selectedItemText:s().string,currentSubDepartmentId:s().oneOfType([s().string,s().number]),appContext:x,prevSlideAriaLabel:s().string,nextSlideAriaLabel:s().string,isDesktop:s().bool};const V=G;n(14292);var H=n(3514),$=n.n(H),W=n(84470),q=n(3882);const z=e=>Array.isArray(e)?e:[],Y=(e,t,n)=>{if(0===e.length)return[];const r=e.find((e=>String(e.subDepartmentId)===String(t)));return(r?[r,...e.filter((e=>e.subDepartmentId!==r.subDepartmentId))]:e).slice(0,n).map((e=>e.subDepartmentId))},X=e=>
1{let{aggregations:t,tiers:n,currentSubDepartmentId:r,appContext:i={},maxColumnsMobile:o=2,maxColumnsDesktop:s=3}=e;const l=(0,q.getWindowBreakpoint)(),c=!["small"].includes(l),d=c?s:o,p=(0,a.useMemo)((()=>((e,t)=>{const n=new Map(e.filter((e=>void 0!==(null===e||void 0===e?void 0:e.valueId)&&null!==(null===e||void 0===e?void 0:e.valueId))).map((e=>[String(e.valueId),e])));return t.map((e=>{if(!(null===e||void 0===e?void 0:e.subDepartmentId))return null;const t=n.get(String(e.subDepartmentId));return t?{subDepartmentId:String(e.subDepartmentId),jerseyType:e.jerseyType,text:t.text,description:e.description,iconUrl:e.iconUrl,href:t.href,imageSrc:t.imageSrc,productCount:t.productCount}:null})).filter(Boolean)})(z(t),z(n))),[t,n]),[u,m]=(0,a.useState)((()=>Y(p,r,d)));(0,a.useEffect)((()=>{m((e=>{const t=Y(p,r,d);return a=t,(n=e).length===a.length&&n.every(((e,t)=>e===a[t]))?e:t;var n,a}))}),[r,p,d]);const g=!$()(p);(0,a.useEffect)((()=>{g&&(0,W.Ji)({appContext:i,settingID:"JERSEY_TIER_GUIDE"})}),[]);const h=p.length>d;return{tierItems:p,selectedSubDepartmentIds:u,hasItems:g,showDropdown:h,handleSubDepartmentChange:(e,t)=>
1{const n=p.find((e=>String(e.subDepartmentId)===String(t)));n&&m((t=>{const r=[...t];return r[e]=n.subDepartmentId,r}))},isDesktop:c}},K=[{selector:".table-title",varName:"--jtg-title-h"},{selector:".jersey-tier-dropdown-container, .jersey-title",varName:"--jtg-dropdown-h"},{selector:".jersey-price",varName:"--jtg-price-h"}],J=e=>K.map((t=>{let{selector:n,varName:r}=t;const a=e.querySelector(n);return a?{el:a,varName:r}:null})).filter(Boolean),Q=()=>{const e=(0,a.useRef)(null);return(0,a.useEffect)((()=>{const t=e.current;if(!t||"undefined"===typeof window.ResizeObserver)return;const n=J(t);if(0===n.length)return;const r=()=>(e=>{e&&J(e).forEach((t=>{let{el:n,varName:r}=t;e.style.setProperty(r,`${n.offsetHeight}px`)}))})(t),a=new window.ResizeObserver(r);return n.forEach((e=>{let{el:t}=e;return a.observe(t)})),r(),()=>a.disconnect()}),[]),e},Z={TABLE_VIEW:"TABLE_VIEW",CARD_VIEW:"CARD_VIEW"},ee=e=>{let{context:t,placementName:n,title:r,selectedItemText:i,ctaButtonText:o,ctaDropdownLabel:s,dropdownPlaceholder:l,currentSubDepartmentId:d,comparisonRows:p,appContext:m={},tiers:g=[],maxColumnsMobile:h,maxColumnsDesktop:y,displayMode:f,cardDisplayModeSettings:{prevSlideAriaLabel:E,nextSlideAriaLabel:T}={}}=e;const v=(0,a.useMemo)((()=>((e,t)=>{var n,r;const a=((null===e||void 0===e||null===(n=e.platform)||void 0===n||null===(r=n.getData)||void 0===r?void 0:r.call(n,"nav-components"))||[]).find((e=>e.placementName===t));return c()(a,"properties",[]).flatMap((e=>(null===e||void 0===e?void 0:e.propertyAggregations)||[]))})(t,n)),[t,n]),{tierItems:A,selectedSubDepartmentIds:b,hasItems:S,showDropdown:N,handleSubDepartmentChange:I,isDesktop:C}=X({aggregations:v,tiers:g,currentSubDepartmentId:d,appContext:m,maxColumnsMobile:h,maxColumnsDesktop:y}),x=Q();if(!S)return null;const{imageHostname:L}=m;let k;switch(f){case Z.CARD_VIEW:{const e=C?b.map((e=>A.find((t=>t.subDepartmentId===e)))).filter(Boolean):A;k=a.createElement(V,{title:r,tierItems:e,comparisonRows:p,ctaButtonText:o,selectedItemText:i,currentSubDepartmentId:d,appContext:m,prevSlideAriaLabel:E,nextSlideAriaLabel:T,isDesktop:C});break}default:k=a.createElement(a.Fragment,null,a.createElement("div",{className:"table-title"},r),a.createElement("div",{className:"jersey-comparator-card-table",style:{"--cols-count":b.length}},b.map(((e,t)=>{const n=A.find((t=>t.subDepartmentId===e));if(!n)return null;const{jerseyName:r,jerseyType:c,jerseyDescription:m,imageSource:g,isSelected:h,href:y}=u({tierItem:n,imageHostname:L,currentSubDepartmentId:d});return a.createElement(w,{key:n.subDepartmentId,subDepartmentId:n.subDepartmentId,jerseyName:r,jerseyType:c,href:y,jerseyDescription:m,imageSource:g,isSelected:h,tierItems:A,selectedSubDepartmentIds:b,showDropdown:N,onSubDepartmentChange:e=>I(t,e),comparisonRows:p,ctaButtonText:o,ctaDropdownLabel:s,dropdownPlaceholder:l,selectedItemText:i})}))))}return a.createElement("div",{className:"jersey-comparator-content jersey-tier-guide-sticky",id:"jersey-tier-guide",ref:x},k)};ee.propTypes={context:L,placementName:s().string,title:s().string,selectedItemText:s().string,ctaButtonText:s().string,ctaDropdownLabel:s().string,dropdownPlaceholder:s().string,currentSubDepartmentId:s().oneOfType([s().string,s().number]),comparisonRows:s().arrayOf(I),appContext:x,tiers:s().arrayOf(C),maxColumnsMobile:s().number,maxColumnsDesktop:s().number,displayMode:s().oneOf(Object.values(Z)),cardDisplayModeSettings:s().shape({prevSlideAriaLabel:s().string,nextSlideAriaLabel:s().string})};const te=ee;var ne=n(59152);const re=JSON.parse('{"id":"JERSEY_TIER_GUIDE","name":"Jersey Tier Guide","description":"Properties for rendering the Nike jersey tier guide as a PDP placement","type":"object","root":true,"content":true,"properties":{"title":{"type":"string","name":"Title","description":"Title for Jersey Tier Guide","default":"Compare Jersey Type","shouldTranslate":true},"maxColumnsMobile":{"type":"number","name":"Max Columns Mobile","description":"Maximum number of jersey columns shown side-by-side on mobile breakpoints","default":2,"exposeToTools":false},"maxColumnsDesktop":{"type":"number","name":"Max Columns Desktop","description":"Maximum number of jersey columns shown side-by-side on desktop breakpoints","default":3,"exposeToTools":false},"selectedItemText":{"type":"string","name":"Selected Item Text","description":"Text indicating user has selected this jersey type","default":"Currently Viewing","shouldTranslate":true}
1,"displayMode":{"type":"string","name":"Display Mode","description":"Display mode for the guide - table view shows jersey types in a table; card view shows types side by side on desktop (up to Max Columns Desktop, others via dropdown) and as a mobile slideshow with arrows and dots","enum":["TABLE_VIEW","CARD_VIEW"],"default":"TABLE_VIEW"},"tiers":{"name":"Tiers","description":"Tiers shown in the guide. Presence and order of items here drive which jersey tiers are rendered and in what order; tiers whose `subDepartmentId` does not match a returned nav-component aggregation are excluded.","type":"array","items":{"name":"Tier","type":"object","required":["jerseyType","subDepartmentId"],"properties":{"jerseyType":{"type":"string","name":"Jersey Type","description":"The jersey type this tier represents. Use the same value in the comparison row descriptions below to link them to this tier.","enum":["Fanatics Fast Break","Swingman","Authentic","Nike Game","Nike Limited","Nike Elite","Replica","Nike Stadium","Nike Legend","Fanatics Breakaway","Fanatics Premium Jersey","Fanatics Authentic Pro"]},"description":{"type":"string","name":"Description","description":"General description or marketing copy shown for this jersey type"},"iconUrl":{"type":"string","name":"Icon Image URL","description":"Optional image URL (svg/png/jpg) for this jersey type badge"},"subDepartmentId":{"type":"string","name":"Sub-Department ID","description":"Sub-department ID (child of the parent jerseys department) used to match this tier to its nav-component aggregation (matches `propertyAggregations[].valueId`) and to mark the tier as currently-viewed when it matches the PDP product\'s own sub-department."}}}},"ctaButtonText":{"type":"string","name":"CTA Button Text","description":"Button text for call to action that links to jersey type, supports {jerseyType} placeholder","default":"Shop {jerseyType}","shouldTranslate":true},"cardDisplayModeSettings":{"type":"object","name":"Card Display Mode Settings","description":"Settings specific to the card view display mode","properties":{"prevSlideAriaLabel":{"type":"string","name":"Previous Slide Aria Label","description":"Accessible label for the previous slide arrow button in card view","default":"Previous slide","shouldTranslate":true},"nextSlideAriaLabel":{"type":"string","name":"Next Slide Aria Label","description":"Accessible label for the next slide arrow button in card view","default":"Next slide","shouldTranslate":true}}},"ctaDropdownLabel":{"type":"string","name":"CTA Dropdown Label","description":"Label for the jersey type dropdown selector","default":"Compare","shouldTranslate":true},"ctaSecondaryText":{"type":"string","name":"CTA Secondary Text","description":"Optional secondary CTA text template shown below the main CTA, supports {jerseyType} placeholder"},"dropdownPlaceholder":{"type":"string","name":"Dropdown Placeholder","description":"Placeholder text for the jersey type dropdown","default":"Select Jersey Type","shouldTranslate":true},"comparisonRows":{"type":"array","name":"Comparison Rows","description":"Comparison rows for actual jersey-to-jersey comparison text","maxItems":15,"items":{"name":"Row","description":"Row of comparison content - first in will be listed at the top","type":"object","required":["title"],"properties":{"title":{"type":"string","name":"Title","description":"Title for this comparison row"},"iconUrl":{"type":"string","name":"Icon Image URL","description":"Optional image URL (svg/png/jpg) shown next to the row title"},"descriptions":{"type":"array","name":"Descriptions","description":"Per-tier description texts. Match the tier by `jerseyType`.","items":{"name":"Jersey Type Description","type":"object","required":["jerseyType","text"],"properties":{"jerseyType":{"type":"string","name":"Jersey Type","description":"Matches the tier whose `jerseyType` equals this value.","enum":["Fanatics Fast Break","Swingman","Authentic","Nike Game","Nike Limited","Nike Elite","Replica","Nike Stadium","Nike Legend","Fanatics Breakaway","Fanatics Premium Jersey","Fanatics Authentic Pro"]},"text":{"type":"string","name":"Description Text","description":"Comparison row description text for this tier"}}}}}}}}}');var ae=n(46341),ie=n(71057),oe=n(1098),se=n(14020),le=n(53089);const ce=(0,oe.A)(te,re),de=(0,ie.A)(ce),pe=(0,ae.V4)(de,"jersey-tier-guide"),ue=(0,le.Ng)((function(e){var t;const n=(null===e||void 0===e||null===(t=e.resources)||void 0===t?void 0:t.d)||[],r=n.find((e=>-999===Number(null===e||void 0===e?void 0:e.parentId))),a=r?n.find((e=>String(null===e||void 0===e?void 0:e.parentId)===String(r.id))):void 0;return{currentSubDepartmentId:null===a||void 0===a?void 0:a.id}}))(pe),me=(0,se.A)(ue,ne.A);var ge=n(60268),he=n(64022),ye=n(92108);!function(e){const{locale:t}=ye.A.getData("initialAppContext"),n=document.getElementsByClassName(e);for(let e=0;e<n.length;e++){const o=n[e],s=o.parentNode.dataset.trkId,{lumenSettings:{settings:{[s]:{settings:l}={}}}}=ye.A.getData("initialAppContext");i.render(a.createElement(he.A.Provider,{value:{locale:t,translate:ge.A,platform:ye.A}},a.createElement(me,(0,r.A)({},l,{placementName:s}))),o)}}("pl-jersey-tier-guide")},98990(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(36324),s=n(9585),l=n(99870),c=n.n(l),d=n(3514),p=n.n(d);let u=class extends a.Component{isValidProps(){return!p()(this.props.content)}
1render(){if(!this.isValidProps())return!1;const e=a.createElement(o.Ay,(0,r.A)({},this.props.image)),t=this.props.style||{},n=this.props.content.style||{};return a.createElement("div",{className:c()("row league-banner-container"),style:t},e&&a.createElement("div",{className:c()("columns","medium-3","league-logo")},e),a.createElement("div",{className:c()("columns","medium-9","hide-for-small-only"),style:n},a.createElement(s.A,(0,r.A)({},this.props.content))))}};var m=n(92108);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,{[o]:{settings:s}={}}=m.A.getData("initialAppContext").lumenSettings.settings;i.render(a.createElement(u,(0,r.A)({},s)),n)}}("pl-league-banner")},19124(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(1098);const s=JSON.parse('{"id":"LICENSED_LEAGUES","name":"Licensed Leagues settings","description":"Settings for licensed leagues component","type":"object","root":true,"content":true,"properties":{"isEnabled":{"type":"boolean","name":"Is Licensed Leagues enabled","description":"Whether or not to show the licensed leagues component","default":false},"leagues":{"type":"array","name":"Licensed Leagues Array","description":"List of licensed leagues to display","items":{"type":"object","name":"Licensed League","properties":{"name":{"type":"string","name":"League Option","description":"League option to show in array","shouldTranslate":true,"enum":["NBA","NFL","MLB","NHL","MLS","NCAA","NASCAR"]}}}},"licensedLeaguesText":{"type":"string","name":"Licensed Leagues Text","description":"Text for licensed leagues component","default":"World\'s Largest Collection of Officially Licensed Gear","shouldTranslate":true}}}');var l=n(46341),c=n(3514),d=n.n(c);const p={NFL:"o-25",NBA:"o-23",MLB:"o-19",NHL:"o-26",MLS:"o-20",NCAA:"o-5",NASCAR:"o-22"},u=(0,o.A)((e=>{let{isEnabled:t,licensedLeaguesText:n,leagues:r}=e;return!1===t||d()(r)?null:a.createElement("div",{className:"licensed-leagues-container"},a.createElement("div",{className:"text"},n),a.createElement("div",{className:"leagues"},r.map((e=>{let{name:t}=e;return a.createElement("span",{key:t,className:`logo-30 ${p[t]}`})}))))}),s),m=(0,l.V4)(u,"licensed-leagues");var g=n(92108);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,{lumenSettings:{settings:{[o]:{settings:s}={}}}}=g.A.getData("initialAppContext");i.render(a.createElement(m,(0,r.A)({},s)),n)}}("pl-licensed-leagues")},15109(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(89993),s=n(92108),l=n(64022);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],c=n.parentNode.dataset.trkId,d=s.A.getData("initialAppContext"),{[c]:{settings:p}={}}=d.lumenSettings.settings;i.render(a.createElement(l.A.Provider,{value:{platform:s.A}},a.createElement(o.A,(0,r.A)({},p,{placementName:c}))),n)}}("pl-link-button-group")},33163(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(21298),s=n(92108),l=n(46123),c=n.n(l);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],l=n.parentNode.dataset.trkId,d=s.A.getData("initialAppContext"),p=c()(d,`lumenSettings.settings[${l}].settings`,{}),u=c()(d,"lumenSettings.settings.LINK_LIST_GRID.settings",{});i.render(a.createElement(o.A,(0,r.A)({placementName:l,appContext:d},p,u)),n)}}("pl-link-list-grid")},83240(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(64022),s=n(92108),l=n(60268),c=(n(18586),n(26105)),d=n(17353),p=n(96018),u=n(99870),m=n.n(u),g=n(3514),h=n.n(g),y=n(61537);const f=JSON.parse('{"id":"LIST_OF_ACCORDIONS","name":"List of accordions settings","description":"Settings for list of accordions","type":"object","root":true,"content":true,"properties":{"title":{"type":"string","name":"List of Accordions Title","description":"List of Accordions Title. Eg: FAQ\'s","shouldTranslate":true,"default":"More Details"},"content":{"name":"content","type":"array","items":{"name":"items","type":"object","properties":{"label":{"type":"string","name":"Label for accordion","description":"Label for each accordion. Eg: What is Fanatics Sportbook ?","shouldTranslate":true},"subLabel":{"type":"object","name":"SubLabel for accordion","description":"Sub Label for each accordion. ","properties":{"subLabelText":{"type":"string","name":"Sub Label Text for each accordion. ","description":"Sub Label Text for each accordion. To add n number of links in subLabelText add n number of`linkPlaceHolder`s that will populate `subLabelLinkPlaceHolders`. Eg: Fanatics Sportbook is a betting and gaming service. Click here {linkPlaceHolder} ","shouldTranslate":true},"subLabelLinkPlaceHolders":{"type":"array","name":"Link placeholders","description":"Accordion link placeholders for `subLabelText`. ","items":{"type":"object","name":"Configures link text and value","properties":{"linkText":{"type":"string","name":"Link Text","description":"Link Text. Eg: terms"},"linkValue":{"type":"string","name":"Link Value","description":"Link Value. Eg: https://www.sportsbook.com/end-user-terms"}}}}}},"isExpandable":{"type":"boolean","name":"isExpandable","description":"Whether to expand the accordion on load or not","default":false}}}},"backgroundImage":{"$ref":"IMAGE_NO_REQ","description":"Backgroun
1d image for List of Accordions"},"backgroundColor":{"type":"string","name":"Background Color on Banner","description":"Defines the background color used in List of Accordions","default":"#151940"}}}');var E=n(1098),T=n(46341);const v=(0,E.A)((e=>{const{title:t,content:n=[],backgroundColor:r,backgroundImage:i}=e,o=i?(0,y.iJ)(i.srcSet.LARGE):"";return a.createElement("div",{className:"accordion-list-section",style:{backgroundImage:h()(o)?"none":`url(${i.srcSet[o]})`,backgroundColor:r}},a.createElement("div",{className:"accordion-list-header"},t),a.createElement("div",{className:"accordion-list-content"},a.createElement(c.n,{defaultExpandedKeys:n.filter((e=>{let{isExpandable:t}=e;return t})).map((e=>{let{label:t}=e;return t}))},n.map((e=>{let{label:t,subLabel:n}=e;return a.createElement(c.A,{key:t,id:t,title:t},(e=>{const t=e.subLabelText.split("{linkPlaceHolder}"),n=e.subLabelLinkPlaceHolders;return t.map(((e,t)=>a.createElement(a.Fragment,null,e,n&&n.length>t?a.createElement(d.Ay,{className:m()("link",{"show-flex":h()(e)}),target:d.Fo,href:n[t].linkValue,"data-trk-id":(0,p.pl)({trackId:n[t].linkText})},n[t].linkText):null)))})(n))})))))}),[f]),A=(0,T.V4)(v,"list-of-accordions");!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],c=n.parentNode.dataset.trkId,{[c]:{settings:d}={}}=s.A.getData("initialAppContext").lumenSettings.settings;i.render(a.createElement(o.A.Provider,{value:{translate:l.A,platform:s.A}},a.createElement(A,(0,r.A)({},d))),n)}}("pl-list-of-accordions")},29559(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(64022),s=n(92108),l=n(60268),c=n(39067),d=n.n(c),p=n(3514),u=n.n(p),m=n(90613),g=n(80530),h=n(80389),y=n(45707),f=n(23985);const E=e=>{let{title:t,ctaLink:n={},children:r,trkId:i,team:o={}}=e;if(!r)return null;const{href:s,title:l}=n,{id:c,l:d}=o||{};return a.createElement(y.Z,{className:"modular-carousel-card tile-card","data-trk-id":`${i}`},t&&a.createElement("h2",{className:"tile-card-title",tabIndex:0},t,c&&d?a.createElement("span",{className:"card-logo"},a.createElement("div",{className:`logo-22 t-${c} o-${d}`})):null),a.createElement("div",{className:"tiles"},r),s&&l&&a.createElement(f.N,{href:s,"data-trk-id":"bottom-link",className:"tile-card-cta"},l))};E.propTypes={title:d().string,ctaLink:d().shape({href:d().string,title:d().string}),children:d().node,resourceId:d().string};const T=E;n(74509),n(14292);var v=n(80279),A=n(65922),b=n(35966);const S=e=>{let{algorithms:t=[],context:n,setIsProductDataFetched:r,initialProductData:i={},appContext:o}=e;const[s,l]=(0,a.useState)(i);return(0,a.useEffect)((()=>{(async()=>{const e=t.slice(1),a=await(async e=>{let{algorithms:t=[],context:n}=e;if(!t.length)return{};const r=await Promise.all(t.map((async e=>{const t=e.productListingAlgorithm,r=e.filters||"";try{var a;const i=await A.A.fetchData({queryType:"productListings",listing:{productListingAlgorithm:t,minimumProductCount:e.minimumProductCount,numberOfProducts:v.TH,...e.vertexServingConfig&&{vertexServingConfig:e.vertexServingConfig},...r&&{filterString:r}},data:{algorithm:t}},n),o=(null===i||void 0===i||null===(a=i.productListings)||void 0===a?void 0:a[0])||{};return{[t]:{products:o.products||[],viewAllUrl:o.listingUrl||""}}}catch{return{[t]:{products:[],viewAllUrl:""}}}})));return Object.assign({},...r)})({algorithms:e,context:n});r(!0);const s={...i,...a};((e,t,n)=>{e.forEach((e=>{var r;const a=null===e||void 0===e?void 0:e.productListingAlgorithm,i=(null===t||void 0===t||null===(r=t[a])||void 0===r?void 0:r.products)||[];if(!i.length)return;const o=i.map((e=>e.productId));(0,b.r$)({eventType:"VIEW.RECOMMENDATION",event:{rpids:o,agid:a},appContext:n})}))})(t,s,o),l(s)})()}),[]),s},N={[v.bt.IMAGE]:h.A,[v.bt.TILE]:T},I=()=>a.createElement(y.Z,{className:"modular-carousel-card placeholder-card",variant:"no-padded"}),C=e=>{let{tiles:t=[],imageFit:n}=e;return u()(t)?null:t.map(((e,t)=>
1a.createElement("div",{className:"tile",key:`tile-item-${t+1}`,"data-trk-id":`tile-${t+1}`},a.createElement(h.A,{mainImage:{...e.image,href:e.href},layout:{backgroundColor:"none"},text:{title:e.label||""},imageFit:n}))))},x=e=>{let{cards:t=[],items:n=[],trackedAlgorithm:i=[],viewAllUrl:s=""}=e;var l;if(u()(t))return null;const c=(0,a.useContext)(o.A),d=(null===c||void 0===c||null===(l=c.platform)||void 0===l?void 0:l.getData("initialAppContext"))||{},{imageHostname:p,device:{isMobile:f=!1}={}}=d,E=(0,g.FT)(t,i,d),[T,A]=(0,a.useState)(!1),b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.length?{[e[0].productListingAlgorithm]:{products:t,viewAllUrl:n}}:{}}(E,n,s),x=S({algorithms:E,context:c,setIsProductDataFetched:A,initialProductData:b,appContext:d});if(!f){const e=t.find((e=>e.cardType===v.bt.IMAGE));return e?a.createElement(h.A,(0,r.A)({},(0,g.Ph)(e))):null}const L=t.map(((e,t)=>{var n;const i=N[null===e||void 0===e?void 0:e.cardType];if(!i)return null;if(E.length>=v.DV&&t>=(null===(n=E[1])||void 0===n?void 0:n.cardIndex)&&!T)return a.createElement(I,{key:`placeholder-${t}`});const o=(0,g.Ph)(e,{productData:x,hostName:p,isMobile:f,context:d});switch(e.cardType){case v.bt.TILE:var s;if(((null===(s=o.tiles)||void 0===s?void 0:s.length)||0)<v.KA)return null;const n=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")===v.pb.FIRST_FAVORITE_TEAM?(0,g.tY)(e):null}(d,null===o||void 0===o?void 0:o.cardLogo);return a.createElement(i,(0,r.A)({key:`${e.cardType}-${t}`,team:n},o,{trkId:`${t+1}.${null===o||void 0===o?void 0:o.trkId}-tile-card`}),a.createElement(C,{tiles:o.tiles,imageFit:o.tileImageFit}));case v.bt.IMAGE:return a.createElement(y.Z,{key:`${e.cardType}-${t}`,className:"modular-carousel-card image-card","data-trk-id":`${t+1}.${null===o||void 0===o?void 0:o.trkId}`,variant:"no-padded"},a.createElement(i,(0,r.A)({},o)));default:return null}})).filter(Boolean);return 0===L.length?null:1===L.length?L[0]:a.createElement("div",{className:"modular-carousel-container","data-trk-id":"modular-carousel"},a.createElement(m.A,null,L))};x.propTypes={cards:d().arrayOf(d().object),items:d().array};const L=x;!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],c=n.parentNode.dataset.trkId,{[c]:{settings:d}={}}=s.A.getData("initialAppContext").lumenSettings.settings;i.render(a.createElement(o.A.Provider,{value:{translate:l.A,platform:s.A}},a.createElement(L,(0,r.A)({},d))),n)}}("pl-modular-carousel")},15953(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(92108),s=n(3514),l=n.n(s),c=n(88589);const d=e=>{const{title:t,subTitle:n,alignment:r="CENTER",className:i="multi-line-text-container",titleAndSubTitleText:o}=e,s=null===r||void 0===r?void 0:r.toLowerCase();return l()(null===o||void 0===o?void 0:o.content)?a.createElement("div",{className:i,style:{textAlign:s}},a.createElement("div",{className:"multi-line-text-title"},t),a.createElement("div",{className:"multi-line-text-subTitle"},n)):a.createElement("div",{className:"multiline-text-wrapper",dangerouslySetInnerHTML:{__html:(0,c.TY)(o.content)}})};!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],s=n.parentNode.dataset.trkId,{lumenSettings:{settings:{[s]:{settings:l}={}}}}=o.A.getData("initialAppContext");i.render(a.createElement(d,(0,r.A)({},l)),n)}}("pl-multi-line-text")},53898(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(99677),s=n.n(o),l=n(39067),c=n.n(l),d=n(26251),p=n(5765),u=n(99870),m=n.n(u),g=n(46341),h=n(84470),y=n(1098),f=n(61537);const E=JSON.parse('{"id":"SLIDESHOW","name":"SLIDESHOW","description":"Slideshow settings","type":"object","root":true,"content":true,"properties":{"thumbnailType":{"type":"string","name":"Thumbnail Type","description":"What form the thumbnail will take. When active, IMAGE_UNDERLINE represents image thumbnails with an underline; similarly, IMAGE_BORDER represents image thumbnails with a border.","enum":["DOT","IMAGE_UNDERLINE","IMAGE_BORDER"],"default":"IMAGE_BORDER"},"navButtonType":{"type":"string","name":"Navigation Button Type","description":"What type of right/left navigation button will be on the product image","enum":["NONE","ARROW"],"default":"NONE"}
1,"thumbnailSize":{"type":"string","name":"Thumbnail Size","description":"Size of the thumbnail","enum":["SMALL","MEDIUM","LARGE"],"default":"MEDIUM"},"overflowStyle":{"type":"string","name":"Thumbnail Overflow Style","description":"Overflow Style applies when thumbnails display as Images","enum":["CAROUSEL","LINE_WRAP"],"default":"LINE_WRAP"},"autoScrollInterval":{"name":"Auto Scroll Interval","description":"Time in milliseconds before the next slide is shown","type":"integer","enum":[1000,2000,3000,4000,5000,6000,7000,8000,9000,10000]}}}');var T=n(13552);const v={LARGE:180,MEDIUM:120,SMALL:80},A={DOT:"DOT",IMAGE_UNDERLINE:"IMAGE_UNDERLINE",IMAGE_BORDER:"IMAGE_BORDER"},b={NONE:"NONE",ARROW:"ARROW"},S=[A.IMAGE_BORDER,A.IMAGE_UNDERLINE];var N=n(10750),I=n.n(N),C=n(90613),x=n(39846),L=n(93361),k=n(8974),w=n(45239),O=n(83089),D=n(40897),R=n(64485);const P=a.memo((e=>{let{currentThumbnailIndex:t,scrollTo:n,useThumbnailImages:r,thumbnailType:i,thumbnailSize:o,items:s}=e;const l=i===A.IMAGE_UNDERLINE;return s.map(((e,s)=>{const{src:c,alt:u,imageId:g,type:h,mediaId:y}=r?e:{};return a.createElement(O.$,{key:s,"data-trk-id":(0,f.ZW)(s,g??y,h),className:m()("thumbnail-link m-a-sm",{active:s===t,"thumbnail-images":r},I()(i),[`${I()(o)}-thumbnail`]),onPress:()=>n(s),variant:R.Vt.UNSTYLED},r&&c?a.createElement(a.Fragment,null,a.createElement(p.A,{src:(0,d.$)(c,v[o]),alt:u}),l&&a.createElement("div",{className:"underline"})):null)}))}));class _ extends a.Component{componentDidUpdate(e,t){var n,r,a,i;const{scrollToStartOnImageChange:o,children:s,appContext:l,autoScrollInterval:c}=this.props;o&&(null===(n=s[0])||void 0===n||null===(r=n.props)||void 0===r?void 0:r.src)!==(null===(a=e.children[0])||void 0===a||null===(i=a.props)||void 0===i?void 0:i.src)&&this.scrollTo(0),this.state.currentIndex!==t.currentIndex&&(0,h.Ji)({appContext:l,settingID:"PRODUCT_IMAGE_VIEWER",settings:["useSlideshow"]}),c===e.autoScrollInterval&&this.state.currentIndex===t.currentIndex||this.handleAutoScroll()}componentDidMount(){var e;const t=null===(e=document.getElementById(this.props.id))||void 0===e?void 0:e.querySelector(".slides");t&&(this.addIntersectionObservers(t),t.addEventListener("scrollend",(()=>{this.setState({currentThumbnailIndex:this.state.currentIndex})}))),this.props.autoScrollInterval&&this.handleAutoScroll()}componentWillUnmount(){this.autoScrollTimeout&&clearTimeout(this.autoScrollTimeout)}addIntersectionObservers(e){this.slides=e.children;for(let t=0;t<this.slides.length;t++){new window.IntersectionObserver((e=>{e[e.length-1].isIntersecting&&this.setState({currentIndex:t})}),{root:e,threshold:.9}).observe(this.slides[t])}}scrollTo(e){if(e===this.state.currentIndex)return null;this.slides[e].scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"}),this.props.mobileZoomEnabled&&this.props.updateImageIndex(e)}render(){const{children:e=[],thumbnailType:t=A.IMAGE_BORDER,navButtonType:n=b.NONE,id:r,thumbnailSize:i=v.MEDIUM,thumbnailImages:o=[],overflowStyle:s,openModal:l,iconZoomEnabled:c,mobileZoomEnabled:d,arrowSize:p,arrowStyle:u,arrowCornerStyle:m,isAspireZoomButton:g,ariaZoomIcon:h}=this.props,{currentIndex:y,currentThumbnailIndex:f}=this.state;if(!r||!Array.isArray(e)||0===e.length)return null;const E=S.includes(t)&&o.length>0,T=E?o:e,N=E&&s===x.Pb.CAROUSEL,I=(null===T||void 0===T?void 0:T.length)>1?a.createElement(P,{currentThumbnailIndex:f,scrollTo:this.scrollTo.bind(this),useThumbnailImages:E,thumbnailType:t,thumbnailSize:i,items:T}):null;return a.createElement("div",{className:"slideshow-container",id:r,"data-trk-id":r,onClick:this.handleUserInteraction,onTouchStart:this.handleUserInteraction},a.createElement("div",{className:"slideshow"},a.createElement("div",{className:"slides",onClick:d?l:null},e.map(((e,t)=>a.createElement("span",{key:t}," ",e," ")))),n===b.ARROW?a.createElement(k.Ay,{leftArrowVisible:y>0,rightArrowVisible:y<e.length-1,onClickHandler:(e,t)=>this.scrollTo(y+t),arrowSize:p,arrowStyle:u,cornerStyle:m}):null,c?g?a.createElement(O.$,{leftIcon:a.createElement(D.A,null),variant:R.Vt.SECONDARY,"data-trk-id":"zoom-modal-icon",onPress:d?l:null,className:"zoom-icon",ariaLabel:h}):a.createElement(O.$,{variant:R.Vt.UNSTYLED,className:"zoom-icon-main-container","data-trk-id":"zoom-modal-icon",onPress:d?l:null,ariaLabel:h},a.createElement(w.A,{className:"zoom-icon-main-image",iconId:"zoom-icon"})):null),I?a.createElement("div",{className:"thumbnails text-center"},N?a.createElement(C.A,{arrowVisibility:L.QV.ALL,arrowPosition:L.NI.STRADDLE,scrollToItem:{index:f},scrollSpeed:C.P.SLOW},I):I):null)}constructor(e){super(e),this.handleAutoScroll=()=>{const{autoScrollInterval:e}=this.props;this.autoScrollTimeout&&clearTimeout(this.autoScrollTimeout),e&&this.state.shouldAutoScroll&&(this.autoScrollTimeout=setTimeout(this.autoScroll,e))},this.autoScroll=()=>{this.setState((e=>{const t=(e.currentIndex+1)%this.props.children.length;this.scrollTo(t)}))},this.handleUserInteraction=()=>{this.setState({shouldAutoScroll:!1})}
1,this.state={currentIndex:0,currentThumbnailIndex:0,shouldAutoScroll:!!e.autoScrollInterval},this.slides=null,this.autoScrollTimeout=null}}_.propTypes={id:c().string.isRequired,children:c().array,scrollToStartOnImageChange:c().bool,thumbnailImages:c().array};const M=(0,g.V4)((0,y.A)(_,[E,T]),"slideshow");const U={CLICKABLE_IMAGE:n(36324).Ay},B=e=>{const{slideType:t,...n}=e;return n[`${s()(t)}Props`]||{}},F=e=>{let{slideData:t}=e;var n;const i=U[t.slideType]||null;return i?a.createElement(i,(0,r.A)({},null===(n=B(t))||void 0===n?void 0:n.componentSettings)):null},j=e=>{let{slides:t,slideshowSettings:n}=e;return t.length?a.createElement(M,(0,r.A)({id:"multimedia-slideshow",scrollToStartOnImageChange:!0},n,{thumbnailImages:t.map((e=>(e=>{var t;const n=B(e).thumbnailImage;return{src:null===n||void 0===n||null===(t=n.srcSet)||void 0===t?void 0:t.MEDIUM,alt:null===n||void 0===n?void 0:n.alt}})(e)))}),t.map((e=>a.createElement(F,{slideData:e})))):null};j.defaultProps={slides:[]};const G=a.memo(j);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,{lumenSettings:{settings:{[o]:{settings:s}={}}}}=platform.getData("initialAppContext");i.render(a.createElement(G,(0,r.A)({},s)),n)}}("pl-multimedia-slideshow")},7360(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(90613),s=n(5765),l=n(17353),c=n(48183),d=n(96018),p=n(46341),u=n(98532);const m=(0,p.V4)((function(e){const{carouselItems:t=[],contentHostname:n,pageTypeCode:i,viewAllLink:p={}}=e,m=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,c.Wf)({url:e.link.href,pageType:i,moduleName:(0,d.ug)(n.title||e.title),itemContext:`r0c${t}`,itemPosition:`${t}`})};return a.createElement("div",{className:"non-product-carousel"},a.createElement("div",{className:"carousel-header"},a.createElement("h4",{className:"carousel-title"},e.title),p.href&&a.createElement(l.Ay,{className:"carousel-header-button",title:p.title,href:p.href,"data-trk-id":"view-all"},"View All")),a.createElement(o.A,null,t.map(((t,i)=>{const{title:o,image:c,link:d,style:p={}}=t,g=(0,u.AN)(n,c.srcSet);return a.createElement("div",{key:i,className:"non-product-carousel-item"},a.createElement(l.Ay,{title:d.title,href:m(t,i,{title:e.title}),"data-trk-id":`non-product-item-${i}`},a.createElement(s.A,(0,r.A)({},g,{tabIndex:"1",alt:c.alt})),o&&a.createElement("span",{className:"title",style:{...p}},o)))}))))}),"assets"),g=m;var h=n(92108);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=h.A.getData("initialAppContext"),{[o]:{settings:l}={}}=s.lumenSettings.settings,c=s.pageTypeCode;i.render(a.createElement(g,(0,r.A)({},l,{pageTypeCode:c})),n)}}("pl-non-product-carousel")},26160(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=(n(74509),n(36324)),s=n(17353),l=n(99870),c=n.n(l),d=n(93675);const p={backgroundColor:!0,color:!0,borderColor:!0};let u=class extends a.Component{render(){const{backgroundStyle:e={},backgroundImage:t={},overlayLabel:n={},overlayText:i={},href:l}=this.props,c=this.getAlignmentStyle(),d={...this.getStyle(e),...c},p=l?s.Ay:a.Fragment,u={href:l,style:d,className:"overlay-text-link"};return a.createElement("div",{className:"overlay-text",style:d},a.createElement(p,(0,r.A)({},u),a.createElement("div",{className:this.getContentClassName("overlay-image-container",c.flexDirection)},a.createElement(o.Ay,{srcSet:t.srcSet,alt:t.alt})),a.createElement("div",{className:this.getContentClassName("overlay-text-container",c.flexDirection)},n.text&&a.createElement("div",{className:"overlay-label",style:this.getStyle(n.style)},n.text),i.text&&a.createElement("div",{className:"text",style:this.getStyle(i.style)},i.text))))}constructor(...e){var t;super(...e),t=this,this.getColorValue=e=>(0,d.fd)(e)?"#ffffff"===e?"initial":e:"initial",this.getStyle=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.entries(e).reduce(((e,n)=>{let[r,a]=n;return p[r]&&(e[r]=t.getColorValue(a)),e}),{})},this.getFlexDirectionValue=()=>{const{textAlignment:e}=this.props;switch(e){case"LEFT":return"row-reverse";case"CENTER":return"column";default:return"row"}},this.getAlignmentStyle=()=>({flexDirection:this.getFlexDirectionValue()}),this.getContentClassName=(e,t)=>
1c()(e,{"fit-content":"column"===t})}};var m=n(92108),g=n(46123),h=n.n(g);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=m.A.getData("initialAppContext"),l=h()(s,`lumenSettings.settings[${o}].settings`,{}),c=h()(s,"lumenSettings.settings.OVERLAY_TEXT.settings",{});i.render(a.createElement(u,(0,r.A)({placementName:o,appContext:s},l,c)),n)}}("pl-overlay-text")},3301(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(99870),s=n.n(o),l=n(14876),c=n(90303),d=n(92304);const p=e=>{const{title:t,label:n,alignment:r,items:i}=e,o=e=>{let{item:t}=e;const{href:n,title:r,text:i,logo:o}=t,s=(0,d.l9)(o,"logo-22");return a.createElement(c.A,{href:n,role:"navigation",title:r,text:i,logoClassName:s})};return a.createElement("div",{className:s()("dropdown-selector-container",{"align-left":"left"===r,"align-center":"center"===r})},t?a.createElement("div",{className:"dropdown-selector-title"},t):null,a.createElement(l.A,{className:"dropdown-selector",name:"page-selector",items:i,valueMember:"href",itemsTitle:n,label:n,renderItem:e=>a.createElement(o,{item:e}),noDefaultValue:!0}))};var u=n(17537),m=n(37982),g=n(4554),h=n(95615),y=n(61148);const f=e=>{let{children:t}=e;return a.createElement("div",{className:"selection-tray"},t)};var E=n(79991),T=n(79521),v=n(64485);const A=e=>{let{title:t,useBoldTitle:n,seeAllText:i,titleSeeAllLayout:o,seeAllButtonStyle:l,items:c,modalTitle:d}=e;const[p,u]=(0,a.useState)(!1),m={ROUNDED:{variant:"secondary",isTransparent:!0,className:"see-all-button-rounded"},LINK:{variant:"link",className:"see-all-button-link"}}[l]||{};return a.createElement("div",{className:s()("sl-selector-header",{"space-between":o===y.tu.SPACE_BETWEEN,"rounded-button-gap":l===y.Eh.ROUNDED,"link-button-gap":l===y.Eh.LINK})},a.createElement("span",{className:s()("title",{bold:n})},t),a.createElement(E.B,(0,r.A)({"data-trk-id":"sl-selector-see-all",size:"small",onClick:()=>u(!0)},m),i),a.createElement(S,{isOpen:p,handleOnClose:()=>u(!1),items:c,modalTitle:d}))},b=e=>{let{items:t,itemDisplayStyle:n,selectorSizeStyle:r,useFallbackImage:i}=e;return a.createElement("div",{className:"sl-selections-container"},a.createElement(m.S,null,a.createElement("div",{className:"sl-selections"},null===t||void 0===t?void 0:t.map(((e,t)=>a.createElement(u.A,{key:t,item:e,index:t,itemDisplayStyle:n,logoBackgroundStyle:h.rp.ROUND_GREY,sizeStyle:r,useFallbackImage:i}))))))},S=e=>{let{isOpen:t,handleOnClose:n,modalTitle:r,items:i}=e;return a.createElement(g.a,{closeAriaLabel:(0,T.H)(),isOpen:t,onOpenChange:e=>{e||n()},className:"scrollable-list-selector-modal-container","aria-label":r,size:v.sE.LARGE},a.createElement("div",{className:"scrollable-list-selector-modal background-white"},a.createElement("div",{className:"sl-modal-title",slot:"title"},r),a.createElement(f,null,i.map(((e,t)=>a.createElement(u.A,{key:t,item:e,index:t,itemDisplayStyle:u.C.ICON_TEXT,logoContainerStyle:h.nv.SECONDARY}))))))},N=e=>{let{title:t,useBoldTitle:n,seeAllText:r,titleSeeAllLayout:i,seeAllButtonStyle:o,modalTitle:l,items:c,itemDisplayStyle:d,width:p,selectorSizeStyle:u,useFallbackImage:m}=e;const g=(0,a.useMemo)((()=>null===c||void 0===c?void 0:c.map((e=>{const[t,n]=(0,y.XC)(e.text);return{...e,text:n?a.createElement(a.Fragment,null,t,a.createElement("br",null),n):t}}))),[c]);return a.createElement("div",{className:"scrollable-list-selector-wrapper"},a.createElement("div",{className:s()("scrollable-list-selector-container",{"full-width":p===y._8.FULL_WIDTH,"uniform-size":u===y.mb.UNIFORM_SIZE})},a.createElement(A,{title:t,useBoldTitle:n,seeAllText:r,titleSeeAllLayout:i,seeAllButtonStyle:o,items:c,modalTitle:l}),a.createElement(b,{items:g,itemDisplayStyle:d,selectorSizeStyle:u,useFallbackImage:m})))},I=JSON.parse('{"id":"PAGE_SELECTOR","name":"Page Selector settings","title":"JSON Schemas for page selector","description":"JSON Schemas for page selector","root":true,"content":true,"type":"object","properties":{"isEnabled":{"type":"boolean","name":"Show page selector","description":"Whether the page selector should show or not","default":true},"title":{"type":"string","name":"Title text for page selector component"},"pageSelectorType":{"type":"string","name":"Type of page selector","description":"Define the type of page selector","default":"DROPDOWN","enum":["DROPDOWN","SCROLLABLE_LIST","SIMPLE_LIST"]},"items":{"name":"List of links","description":"Define the links items to populate the dropdown","$ref":"LINKS"},"dataSource":{"type":"string","name":"Data Source","description":"Decides the data source for page selector","enum":["LUMEN_SETTINGS","NAV_COMPONENT"],"default":"LUMEN_SETTINGS"}}
1,"required":["items"],"dependencies":{"pageSelectorType":{"oneOf":[{"properties":{"pageSelectorType":{"enum":["DROPDOWN"]},"label":{"type":"string","name":"Label text for page selector component"},"alignment":{"type":"string","name":"Horizontal alignment of component","description":"Define the horizontal alignment of component on screen","default":"left","enum":["left","center"]}}},{"properties":{"pageSelectorType":{"enum":["SIMPLE_LIST"]},"itemDisplayStyle":{"type":"string","name":"Show text for page selector component","description":"Define the text for show button","enum":["ICON","ICON_TEXT"],"default":"ICON_TEXT"}}},{"properties":{"pageSelectorType":{"enum":["SCROLLABLE_LIST"]},"useBoldTitle":{"type":"boolean","name":"Use Bold Title","description":"Applies bold style in title","default":false},"modalTitle":{"type":"string","name":"Title text for modal","description":"Define the title text for modal"},"seeAllText":{"type":"string","name":"See All text for page selector component","description":"Define the text for see all button","shouldTranslate":true,"default":"See All"},"seeAllButtonStyle":{"type":"string","name":"See All Button Style","description":"Defines the style of the See All Button - a rounded button or a link button","default":"ROUNDED","enum":["ROUNDED","LINK"]},"titleSeeAllLayout":{"type":"string","name":"Title See All Layout","description":"Defines how the Title and the See All button are laid out","enum":["ALIGN_LEFT","SPACE_BETWEEN"],"default":"ALIGN_LEFT"},"itemDisplayStyle":{"type":"string","name":"Show text for page selector component","description":"Define the text for show button","enum":["ICON","ICON_TEXT"],"default":"ICON_TEXT"},"width":{"type":"string","name":"Width of Scrollable List Component","description":"Defines the width of scrollable list component","default":"DEFAULT","enum":["DEFAULT","FULL_WIDTH"]},"selectorSizeStyle":{"type":"string","name":"Selector Sizes","de
1scription":"Defines the size of elements in the scrollable list component","default":"BREAKPOINT_BASED","enum":["BREAKPOINT_BASED","UNIFORM_SIZE"]}}}]},"dataSource":{"oneOf":[{"properties":{"dataSource":{"enum":["NAV_COMPONENT"]},"dataTemplate":{"type":"string","name":"Nav-component Data template","description":"Decides what data that needs to be loaded in the page selector if dataSource is nav-component","enum":["ALL_TEAMS","ALL_LEAGUES"],"default":"ALL_TEAMS"},"aggregationKey":{"type":"string","name":"Aggregation Key","description":"Identifies the aggregation scope for the page selector. Only applicable when Data Source is \\"NavComponent\\".","enum":["TOP_LEAGUES","LEAGUE_TEAM_SELECTOR"]}}}]}}}');var C=n(1098),x=n(3514),L=n.n(x),k=n(66809);const w=e=>{let{items:t,title:n,itemDisplayStyle:r}=e;const i=null===t||void 0===t?void 0:t.map((e=>{const[t,n]=(0,y.XC)(e.text);return{...e,text:n?a.createElement(a.Fragment,null,t,a.createElement("br",null),n):t}}));return a.createElement("div",{className:"simple-list-selector-container"},a.createElement("div",{className:"simple-list-selector-header"},n),a.createElement("div",{className:"simple-list-selector-items"},null===i||void 0===i?void 0:i.map(((e,t)=>a.createElement(u.A,{item:e,index:t,showRoundBackground:!0,itemDisplayStyle:r,logoBackgroundStyle:h.rp.ROUND_GREY,useFallbackImage:!0})))))};var O=n(55934),D=n(64022),R=n(84470),P=n(73118);const _=(0,C.A)((e=>{let{isEnabled:t,title:n,useBoldTitle:r,pageSelectorType:i,items:o,dataSource:s,label:l,alignment:c,modalTitle:d,seeAllText:u,titleSeeAllLayout:m,seeAllButtonStyle:g,itemDisplayStyle:h,appContext:f,placementName:E,width:T,selectorSizeStyle:v}=e;const A=(0,a.useContext)(D.A);(0,a.useEffect)((()=>{const e=(0,k.lG)(f);(0,k.X3)(e)}),[f]);const b=s===y.YL.NAV_COMPONENT;if(b&&(o=(0,y.a3)((0,O.F7)({context:A,placementName:E}))),(0,a.useEffect)((()=>{b&&(0,P.qF)(o)&&(0,R.Ji)({appContext:f,settingID:"FILTER_SORT_PROMOTION_SETTINGS",settings:["enableFavoriteTeamsSort"]})}),[]),!t||L()(o))return null;switch(i){case y._O.SCROLLABLE_LIST:return a.createElement(N,{title:n,useBoldTitle:r,modalTitle:d,seeAllText:u,titleSeeAllLayout:m,seeAllButtonStyle:g,itemDisplayStyle:h,items:o,width:T,selectorSizeStyle:v,useFallbackImage:!0});case y._O.SIMPLE_LIST:return a.createElement(w,{title:n,itemDisplayStyle:h,items:o,useFallbackImage:!0});default:return a.createElement(p,{title:n,label:l,alignment:c,items:o})}}),I);var M=n(92108),U=n(46123),B=n.n(U),F=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=M.A.getData("initialAppContext"),l=B()(s,`lumenSettings.settings[${o}].settings`,{}),c=B()(s,"lumenSettings.settings.PAGE_SELECTOR.settings",{});i.render(a.createElement(D.A.Provider,{value:{translate:F.A,platform:M.A}},a.createElement(_,(0,r.A)({placementName:o,appContext:s},l,c))),n)}}("pl-page-selector")},2473(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(36324),s=n(931);const l="APPLE_PAY",c="DEFAULT";const d=class extends a.Component{render(){const{clickableImages:e=[],componentSettings:t}=this.props,n=e.find((e=>e.imageType===c)),i=e.find((e=>e.imageType===l));return(0,s.Cb)()&&i.clickableImage?a.createElement(o.Ay,(0,r.A)({},i.clickableImage,t)):n&&n.clickableImage?a.createElement(o.Ay,(0,r.A)({},n.clickableImage,t)):null}};var p=n(92108),u=n(46123),m=n.n(u);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=m()(p.A.getData("initialAppContext"),`lumenSettings.settings[${o}].settings`,{}),l=m()(p.A.getData("initialAppContext"),"lumenSettings.settings.CLICKABLE_IMAGE_COMPONENT.settings",{});i.render(a.createElement(d,(0,r.A)({placementName:o},s,{componentSettings:l})),n)}}("pl-payment-aware-clickable-image")},64830(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(64022),s=n(92108),l=n(39067),c=n.n(l),d=n(3514),p=n.n(d),u=n(98087),m=n.n(u),g=n(37982),h=n(25345),y=n(55934),f=n(48183),E=n(96018),T=n(46341),v=n(1098);const A=JSON.parse('{"id":"PRICE_RANGE_CAROUSEL","name":"PRICE_RANGE_CAROUSEL","description":"JSON Schema for Price Range Carousel","type":"object","root":true,"content":true,"properties":{"title":{"type":"string","name":"Title","description":"Title displayed above the price range carousel","shouldTranslate":true,"default":""},"lowerBoundSuffix":{"type":"string","name":"Lower Bound Price Suffix","description":"Text appended after the lower bound value in a price range (e.g., \'$50 and up\'), indicating prices at or above this amount","shouldTranslate":true,"default":"and up"},"upperBoundSuffix":{"type":"string","name":"Upper Bound Price Suffix","description":"Text appended after the upper bound value in a price range (e.g., \'$100 and under\'), indicating prices at or below this amount","shouldTranslate":true,"default":"and under"}}}'),b="price-range-carousel",S={PFRL:"PFRL",PFRU:"PFRU"};const N={USD:"$",CAD:"$",AUD:"$",GBP:"\xa3",EUR:"\u20ac",JPY:"\xa5"},I=e=>{let{placementName:t,title:n,lowerBoundSuffix:r,upperBoundSuffix:i}=e;const s=(0,a.useContext)(o.A),l=s.platform.getData("initialAppContext")||{},c=(0,y.F7)({context:s,placementName:t}),d=null===l||void 0===l?void 0:l.userCurrency;
1if(p()(c))return null;function u(e){return(0,E.pl)({trackId:`${b}-${e}`})}return a.createElement("div",{className:"price-range-carousel"},n?a.createElement("h2",{className:"prc-title"},n):null,a.createElement(g.S,{className:"prc-content"},c.map(((e,n)=>{let{href:o,valueId:s,scalarFilters:c}=e;var p,g;const y=null===(p=m()(c))||void 0===p?void 0:p.valueId,E=function(e){let{lowerBoundSuffix:t,upperBoundSuffix:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e?S[null===e||void 0===e?void 0:e.toUpperCase()]===S.PFRU?n:t:""}(null===(g=m()(c))||void 0===g?void 0:g.propertyKey,{lowerBoundSuffix:r,upperBoundSuffix:i}),T=(0,f.Wf)({url:(0,f.DN)(o||""),pageType:null===l||void 0===l?void 0:l.pageTypeCode,moduleName:b,itemContext:y,placementName:t,itemPosition:`${n}`});return a.createElement(h.L,{key:s,href:T,className:"prc-item","data-trk-id":u(y),"aria-label":y},a.createElement("span",{className:"prc-price"},a.createElement("sup",{className:"prc-crcy-sign"},N[d]||N.USD),a.createElement("span",{className:"prc-price-vlaue"},y)),E?a.createElement("span",{className:"prc-price-suffix"},E):null)}))))};I.propTypes={placementName:c().string,title:c().string,currencySign:c().string,colorType:c().string,priceSuffix:c().string};const C=(0,T.V4)((0,v.A)(I,[A]),"price-range-carousel");!function(e){const t=s.A.getData("initialAppContext"),n=document.getElementsByClassName(e);for(let e=0;e<n.length;e++){const l=n[e],c=l.parentNode.dataset.trkId,{[c]:{settings:d}={}}=t.lumenSettings.settings;i.render(a.createElement(o.A.Provider,{value:{platform:s.A}},a.createElement(C,(0,r.A)({},d,{placementName:c}))),l)}}("pl-price-range-carousel")},93645(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(66446),s=n(25471),l=n.n(s),c=n(91147),d=n(39067),p=n.n(d),u=n(99870),m=n.n(u),g=(n(74509),n(23985)),h=n(83089),y=n(15549),f=n(6584),E=n(82628),T=n(64907),v=n(83123),A=n(87501),b=n(32756),S=n(67332);const N=["small","medium","large"],I={QBO:"QBO",BXGY:"BXGY",GENERIC_PROMO:"GENERIC_PROMO"},C={MODAL:"MODAL",NAVIGATE:"NAVIGATE"},x={TEXT_ONLY:"TEXT_ONLY",ICON_WITH_TEXT:"ICON_WITH_TEXT",CUSTOM_IMAGE_WITH_TEXT:"CUSTOM_IMAGE_WITH_TEXT"},L={CART_OUTLINED:"CartOutlinedIcon",CART_FILLED:"CartFilledIcon",SHIPPING:"ShippingIcon",PROMO:"PromoIcon",RETURNS:"ReturnsIcon",PRESELL:"PresellIcon",MOST_POPULAR:"MostPopularIcon"},k={[L.CART_OUTLINED]:y.A,[L.CART_FILLED]:f.A,[L.SHIPPING]:E.A,[L.PROMO]:T.A,[L.RETURNS]:v.A,[L.PRESELL]:A.A,[L.MOST_POPULAR]:b.A},w={[I.QBO]:{clickBehavior:C.NAVIGATE,contentType:x.ICON_WITH_TEXT,iconType:L.CART_OUTLINED,navigationLinks:[{linkText:"Shop Now",facetType:"specialOfferItems",facetLinkText:"qb",facetLinkValue:"1",defaultLink:"/?qb=1"}]},[I.BXGY]:{clickBehavior:C.MODAL,contentType:x.ICON_WITH_TEXT,iconType:L.PROMO}};function O(e,t){if(t>=N.length)return"";const n=[];for(let r=t;r<N.length;r++){const t=N[r];if(e[t])break;n.push(t)}return n.join(" ")}var D=n(64485),R=n(64022),P=n(46123),_=n.n(P);const M=e=>{let{content:t}=e;return N.map(((e,n)=>t[e]?a.createElement("span",{key:e,className:m()("section",e,O(t,n+1))},t[e]):null))};M.propTypes={content:p().object.isRequired};const U=e=>{let{iconType:t,className:n="generic-promo-icon"}=e;const r=k[t];return r?a.createElement(r,{className:n}):null};U.propTypes={iconType:p().string,className:p().string};var B=n(3514),F=n.n(B),j=n(5765);const G=e=>{let{mainText:t,iconImage:n,children:r}=e;const i=n&&!F()(n.srcSet)&&n.srcSet.SMALL&&n.srcSet.MEDIUM,o=i?n.srcSet:{},s=(null===n||void 0===n?void 0:n.alt)||"",l=a.Children.toArray(r).some(Boolean);return a.createElement(a.Fragment,null,i&&a.createElement("div",{className:"generic-promo-custom-icon"},a.createElement(j.A,{SMALL:o.SMALL,MEDIUM:o.MEDIUM,LARGE:o.LARGE,alt:s})),a.createElement("div",{className:"generic-promo-content"},a.createElement("div",{className:"generic-promo-text"},a.createElement(M,{content:t})),l&&a.createElement("div",{className:"generic-promo-line2"},r)))};G.propTypes={mainText:p().object,iconImage:p().shape({alt:p().string,srcSet:p().shape({SMALL:p().string,MEDIUM:p().string,LARGE:p().string})}),children:p().node};var V=n(62625),H=n(93469);const $=e=>{let{countdown:t,serverTimeUTCinMs:n,endsLabel:r}=e;const i=(0,a.useCallback)((e=>{const{hours:t,minutes:n,seconds:i}=e;return a.createElement("span",{className:"countdown-timer"},r," ",t,":",n,":",i)}),[r]);if(!t||!t.endTimeUtcInMs)return null;const o={...t,showTimerAtInHours:t.showTimerAtInHours??24},s=(0,H.rf)(n,o);return s.showTicker?a.createElement("div",{className:"countdown-timer-wrapper"},a.createElement(V.A,{startTimeMillis:n,endTimeMillis:s.endTimeMillis,customMarkupFn:i})):null};$.propTypes={countdown:p().shape({endTimeUtcInMs:p().number,showTimerAtInHours:p().number}),serverTimeUTCinMs:p().number,endsLabel:p().string};const W=e=>{let{mainText:t,iconType:n}=e;return a.createElement(a.Fragment,null,a.createElement(U,{iconType:n}),a.createElement("div",{className:"generic-promo-text"},a.createElement(M,{content:t})))};W.propTypes={mainText:p().object,iconType:p().string};const q=e=>{let{mainText:t}=e;return a.createElement("div",{className:"main-text"},a.createElement(M,{content:t}))};q.propTypes={mainText:p().object};const z=e=>{let{promoCode:t,useCodeLabel:n}=e;if(!t)return null;const r="string"===typeof n&&n.trim().length>0;return a.createElement("span",{className:"promo-code-wrapper"},r&&a.createElement("span",{className:"promo-code-label"},n),a.createElement("span",{className:"promo-code"},t))};z.propTypes={promoCode:p().string,useCodeLabel:p().string};const Y=e=>{let{clickBehavior:t,secondaryText:n,onOpenModal:r}=e;return t===C.MODAL&&n&&Object.values(n).some(Boolean)?a.createElement(h.$,{className:"secondary-text",onPress:r,variant:D.Vt.LINK,"data-trk-id":"generic-promo-terms"},a.createElement(M,{content:n})):null};
1Y.propTypes={clickBehavior:p().string,secondaryText:p().object,onOpenModal:p().func};const X=e=>{let{links:t,browseData:n,separator:r="|"}=e;return t&&Array.isArray(t)&&0!==t.length?a.createElement("span",{className:"navigation-links"},t.map(((e,t)=>{const i=((e,t)=>{if(!e)return"/";const{facetType:n,facetLinkText:r,defaultLink:a}=e;if(t&&t.facets&&Array.isArray(t.facets)&&n){const e=t.facets.find((e=>e.type===n));if(e&&e.links&&r){const t=e.links.find((e=>e.text===r||e.type===r));if(t&&t.href){const e=t.href.startsWith("/")?t.href:`/${t.href}`;return(0,S.s)(e)}}}if(a){if(a.startsWith("http://")||a.startsWith("https://"))return a;const e=a.startsWith("/")?a:`/${a}`;return(0,S.s)(e)}return"/"})(e,n),o=((e,t)=>{if(!e)return!1;const{facetLinkText:n,facetLinkValue:r}=e;if(n&&r&&t&&t.filters&&Array.isArray(t.filters)&&t.filters.some((e=>e.key===n&&e.value===r)))return!0;return!1})(e,n);return a.createElement(a.Fragment,{key:`${e.linkText}-${t}`},t>0&&a.createElement("span",{className:"link-separator"},r),o?a.createElement("span",{className:"navigation-link-disabled","aria-disabled":"true",tabIndex:"-1"},e.linkText):a.createElement(g.N,{href:i,variant:D.zi.DEFAULT,className:"navigation-link","data-trk-id":`generic-promo-nav-link-${t}`},e.linkText))}))):null};X.propTypes={links:p().arrayOf(p().shape({linkText:p().string,facetType:p().string,facetLinkText:p().string,facetLinkValue:p().string,defaultLink:p().string})),browseData:p().object,separator:p().string};const K=e=>{let{mainText:t={},secondaryText:n={},contentType:r,bannerContent:i,iconType:o,iconImage:s,promoCode:l,countdown:c,clickBehavior:d,navigationLinks:p,onOpenModal:u,className:g="",useCodeLabel:h,endsLabel:y}=e;const f=(0,a.useContext)(R.A),E=_()(f,"platform"),T=E&&E.getData?E.getData("browse-data"):null,v=_()(f,"appContext.serverTimeUTCinMs",Date.now()),A=((e,t)=>e&&"object"===typeof e&&Object.values(e).some(Boolean)?e:t?{small:t,medium:t,large:t}:{})(t,i),b=(()=>{switch(r){case x.ICON_WITH_TEXT:return a.createElement(W,{mainText:A,iconType:o});case x.CUSTOM_IMAGE_WITH_TEXT:return a.createElement(G,{mainText:A,iconImage:s},a.createElement(z,{promoCode:l,useCodeLabel:h}),a.createElement($,{countdown:c,serverTimeUTCinMs:v,endsLabel:y}),a.createElement(Y,{clickBehavior:d,secondaryText:n,onOpenModal:u}),d===C.NAVIGATE&&a.createElement(X,{links:p,browseData:T}));default:return a.createElement(q,{mainText:A})}})();if(d===C.NAVIGATE){const e=r!==x.CUSTOM_IMAGE_WITH_TEXT;return a.createElement("div",{className:m()("generic-promo-component",g)},b,e&&a.createElement(X,{links:p,browseData:T}))}const S=r!==x.CUSTOM_IMAGE_WITH_TEXT;return a.createElement("div",{className:m()("generic-promo-component",g)},b,S&&a.createElement(Y,{clickBehavior:d,secondaryText:n,onOpenModal:u}))};K.propTypes={mainText:p().object,secondaryText:p().object,contentType:p().string,bannerContent:p().string,iconType:p().string,iconImage:p().shape({alt:p().string,srcSet:p().shape({SMALL:p().string,MEDIUM:p().string,LARGE:p().string})}),promoCode:p().string,countdown:p().shape({endTimeUtcInMs:p().number,showTimerAtInHours:p().number}),clickBehavior:p().string,navigationLinks:p().array,onOpenModal:p().func,className:p().string,useCodeLabel:p().string,endsLabel:p().string};const J=K;var Q=n(4554),Z=n(79521);const ee=e=>{let{isOpen:t,onClose:n,mainText:r,bannerContent:i,modalTitle:o,promoExclusionsLabel:s,promoExclusionsHref:l,iconType:c}=e;const d=o||i||r&&(r.large||r.medium||r.small)||"";return a.createElement(Q.a,{closeAriaLabel:(0,Z.H)(),isOpen:t,onOpenChange:e=>!e&&n(),className:"aspire-sliver-text-based-modal",padding:D.wR.LARGE,"aria-label":d},a.createElement(U,{iconType:c,className:"aspire-promo-icon"}),a.createElement("h1",{className:"title"},d),s&&l&&a.createElement("div",{className:"promotions-disclaimer"},a.createElement(g.N,{"data-trk-id":"generic-promo-modal-exclusions",href:l,variant:D.zi.DEFAULT,className:"promotions-heading"},s)))};ee.propTypes={isOpen:p().bool.isRequired,onClose:p().func.isRequired,mainText:p().object,bannerContent:p().string,modalTitle:p().string,promoExclusionsLabel:p().string,promoExclusionsHref:p().string,iconType:p().string};const te=ee;var ne=n(46341),re=n(1098);const ae=JSON.parse('{"id":"PROMO","name":"Promotional Offers","description":"JSON Schemas for Promotional Offers","type":"object","root":true,"content":true,"properties":{"offerType":{"type":"string","name":"Offer Type","description":"Type of promotional offer","enum":["QBO","BXGY","GENERIC_PROMO"],"default":"QBO"}}
1,"required":["offerType"],"dependencies":{"offerType":{"oneOf":[{"properties":{"offerType":{"enum":["QBO"]},"mainText":{"type":"object","name":"Main Text","description":"Text that will be displayed for each breakpoint - main text","properties":{"small":{"type":"string","name":"Small Screen Text","default":""},"medium":{"type":"string","name":"Medium Screen Text","default":""},"large":{"type":"string","name":"Large Screen Text","default":""}}},"secondaryText":{"type":"object","name":"Secondary Text","description":"Text that will be displayed for each breakpoint - secondary text","properties":{"small":{"type":"string","name":"Small Screen Text","default":""},"medium":{"type":"string","name":"Medium Screen Text","default":""},"large":{"type":"string","name":"Large Screen Text","default":""}}},"contentType":{"type":"string","name":"Content Type","description":"Content type for promo button: -TEXT_ONLY: Text only -ICON_WITH_TEXT: Icon with text","enum":["TEXT_ONLY","ICON_WITH_TEXT"],"default":"TEXT_ONLY"},"bannerContent":{"type":"string","name":"Banner Content","description":"Text to display in the promotional banner","maxLength":50,"shouldTranslate":true}},"required":["mainText"]},{"properties":{"offerType":{"enum":["BXGY"]},"mainText":{"type":"object","name":"Main Text","description":"Text that will be displayed for each breakpoint - main text","properties":{"small":{"type":"string","name":"Small Screen Text","default":""},"medium":{"type":"string","name":"Medium Screen Text","default":""},"large":{"type":"string","name":"Large Screen Text","default":""}}},"secondaryText":{"type":"object","name":"Secondary Text","description":"Text that will be displayed for each breakpoint - secondary text","properties":{"small":{"type":"string","name":"Small Screen Text","default":""},"medium":{"type":"string","name":"Medium Screen Text","default":""},"large":{"type":"string","name":"Large Screen Text","default":""}}},"contentType":{"type":"string","name":"Content Type","description":"Content type for promo button: -TEXT_ONLY: Text only -ICON_WITH_TEXT: Icon with text","enum":["TEXT_ONLY","ICON_WITH_TEXT"],"default":"TEXT_ONLY"},"bannerContent":{"type":"string","name":"Banner Content","description":"Text to display in the promotional banner","maxLength":50,"shouldTranslate":true},"modalTitle":{"type":"string","name":"Modal Title","description":"Custom title to display in the BXGY modal (overrides banner content)","default":"Buy X Get Y Offer","maxLength":100,"shouldTranslate":true},"promoExclusionsLabel":{"type":"string","name":"Promotion Exclusions Label","description":"Label text for the promotion exclusions link","default":"Promotion Terms & Conditions","maxLength":100,"shouldTranslate":true},"promoExclusionsHref":{"type":"string","name":"Promotion Exclusions URL","description":"Relative URL for promotion exclusions page","default":"/promo-exclusions"}},"required":["mainText","secondaryText","modalTitle"]},{"properties":{"offerType":{"enum":["GENERIC_PROMO"]},"mainText":{"type":"object","name":"Main Text","description":"Primary promo text displayed in the carousel per breakpoint","properties":{"small":{"type":"string","name":"Small Screen Text","default":"","maxLength":55,"shouldTranslate":true},"medium":{"type":"string","name":"Medium Screen Text","default":"","maxLength":75,"shouldTranslate":true},"large":{"type":"string","name":"Large Screen Text","default":"","maxLength":100,"shouldTranslate":true}}},"contentType":{"type":"string","name":"Content Type","description":"Controls whether an icon is displayed with text: TEXT_ONLY (no icon), ICON_WITH_TEXT (select from available icons), or CUSTOM_IMAGE_WITH_TEXT (upload custom icon image)","enum":["TEXT_ONLY","ICON_WITH_TEXT","CUSTOM_IMAGE_WITH_TEXT"],"default":"TEXT_ONLY"},"clickBehavior":{"type":"string","name":"Click Behavior","description":"Determines the click interaction: MODAL displays a secondary/terms action that opens a popup when clicked, NAVIGATE displays inline navigation links after the promo text","enum":["MODAL","NAVIGATE"],"default":"MODAL"}},"dependencies":{"contentType":{"oneOf":[{"properties":{"contentType":{"enum":["TEXT_ONLY"]}}},{"properties":{"contentType":{"enum":["ICON_WITH_TEXT"]},"iconType":{"type":"string","name":"Icon Type","description":"Select a predefined icon to display","enum":["MostPopularIcon","ShippingIcon","PresellIcon","PromoIcon","ReturnsIcon","CartFilledIcon","CartOutlinedIcon"]}},"required":["iconType"]},{"properties":{"contentType":{"enum":["CUSTOM_IMAGE_WITH_TEXT"]},"iconImage":{"$ref":"IMAGE_LOGO","name":"Custom Icon Image","description":"Upload a custom logo/icon image per breakpoint. REQUIRED DIMENSIONS: Height 24-48px (recommended 32px). Width 32-120px. Horizontal/landscape logos preferred."},"promoCode":{"type":"string","name":"Promo Code","description":"Promotional code to display as \'Use Code: {code}\' on the second line of the sliver","default":"","maxLength":30},"countdown":{"name":"Countdown Timer","type":"object","description":"Properties to control an optional countdown timer","properties":{"endTimeUtcInMs":{"name":"Ending Date","type":"integer","description":"Choose end date/time for countdown","formType":"date-time"},"showTimerAtInHours":{"name":"Show Timer At (Hours)","type":"integer","description":"Show the countdown timer when less than this many hours remain. Default: 24 hours.","default":24,"minimum":1,"maximum":168}}},"useCodeLabel":{"type":"string","name":"Use Code Label","description":"Label text displayed before the promo code","default":"Use code:","shouldTranslate":true},"endsLabel":{"type":"string","name":"Ends Label","description":"Label text displayed before the countdown timer","default":"Ends","shouldTranslate":true}},"required":["iconImage"]}]},"clickBehavior":{"oneOf":[{"properties":{"clickBehavior":{"enum":["MODAL"]},"secondaryText":{"type":"object","name":"Secondary Text","description":"Additional text displayed below the main text per breakpoint","properties":{"small":{"type":"string","name":"Small Screen Text","default":"","maxLength":55,"shouldTranslate":true},"medium":{"type":"string","name":"Medium Screen Text","default":"","maxLength":75,"shouldTranslate":true},"large":{"type":"string","name":"Large Screen Text","default":"","maxLength":100,"shouldTranslate":true}}},"modalTitle":{"type":"string","name":"Modal Title","description":"Custom title displayed at the top of the modal (falls back to main text if empty)","default":"","maxLength":100,"shouldTranslate":true},"promoExclusionsLabel":{"type":"string","name":"Promotion Exclusions Label","description":"Label text for the promotion exclusions link in the modal","default":"","maxLength":100,"shouldTranslate":true},"promoExclusionsHref":{"type":"string","name":"Promotion Exclusions URL","description":"Relative URL for promotion exclusions page","default":"/promo-exclusions"}},"required":["secondaryText"]},{"properties":{"clickBehavior":{"enum":["NAVIGATE"]},"navigationLinks":{"type":"array","name":"Navigation Links","description":"Configurable navigation links displayed inline after main text when clickBehavior is NAVIGATE","minItems":1,"max
1Items":2,"items":{"type":"object","name":"Navigation Link Details","properties":{"linkText":{"type":"string","name":"Link Text","description":"Display text for the clickable link","maxLength":20,"shouldTranslate":true,"default":""},"facetType":{"type":"string","name":"Facet Type","description":"Facet type to look up in browseData (e.g., gender, priceRanges)","default":""},"facetLinkText":{"type":"string","name":"Facet Link Text","description":"Text to match in facet links","default":""},"facetLinkValue":{"type":"string","name":"Facet Link Value","description":"Expected value for the facet filter key when checking browseData.filters (e.g., 1 for qb=1). Used with facetLinkText for exact key+value matching.","default":""},"defaultLink":{"type":"string","name":"Default Link","description":"Relative site path (starting with /) or absolute http(s) URL to navigate to if facet is not found in browseData (e.g., /nfl/sale, /offers?qb=1, or https://example.com/offers)","default":""}},"required":["linkText","defaultLink"]}}},"required":["navigationLinks"]}]}},"required":["mainText","clickBehavior"]}]}}}'),ie=e=>{let{offerType:t=I.QBO,style:n,isPromoEnabledOnSite:i=!0,...o}=e;const[s,l]=(0,a.useState)(!1);if(!i)return null;const c=((e,t)=>{const n=w[e]||{};return e===I.GENERIC_PROMO?{...n,...t}:{...t,...n}})(t,o),d=c.clickBehavior,{mainText:p,bannerContent:u,modalTitle:g,promoExclusionsLabel:h,promoExclusionsHref:y,iconType:f,contentType:E}=c,T=E===x.CUSTOM_IMAGE_WITH_TEXT,v=m()("promo","generic-promo",{"custom-image-variant":T}),A=t;return d===C.MODAL?a.createElement(a.Fragment,null,a.createElement("div",{className:v,style:n,"data-trk-id":A},a.createElement(J,(0,r.A)({},c,{onOpenModal:()=>l(!0)}))),a.createElement(te,{isOpen:s,onClose:()=>l(!1),mainText:p,bannerContent:u,modalTitle:g,promoExclusionsLabel:h,promoExclusionsHref:y,iconType:f})):a.createElement("div",{className:v,style:n,"data-trk-id":A},a.createElement(J,(0,r.A)({},c)))};ie.propTypes={offerType:p().oneOf([I.QBO,I.BXGY,I.GENERIC_PROMO]),mainText:p().object,secondaryText:p().object,style:p().object,bannerContent:p().string,modalTitle:p().string,contentType:p().string,isPromoEnabledOnSite:p().bool,promoExclusionsLabel:p().string,promoExclusionsHref:p().string,clickBehavior:p().string,iconType:p().string,iconImage:p().shape({alt:p().string,srcSet:p().shape({SMALL:p().string,MEDIUM:p().string,LARGE:p().string})}),countdown:p().shape({endTimeUtcInMs:p().number,showTimerAtInHours:p().number}),promoCode:p().string,useCodeLabel:p().string,endsLabel:p().string,navigationLinks:p().array};const oe=(0,ne.V4)((0,re.A)(ie,ae));var se=n(10750),le=n.n(se);const ce="SLIVER",de="SIGNUP_AND_SAVE",pe="PROMO",ue=JSON.parse('{"id":"PROMO_CAROUSEL","name":"PROMO CAROUSEL Settings","description":"The necessary properties to configure multiple promotions such as Sliver, Sign Up and Save","type":"object","root":true,"content":true,"required":["promosList","borderPosition"],"properties":{"promosList":{"type":"array","name":"Promo List","maxItems":5,"items":{"type":"object","name":"Promo List","required":["component"],"properties":{"component":{"type":"string","name":"component","description":"Type of the promo component","enum":["SLIVER","SIGNUP_AND_SAVE","PROMO"]}},"dependencies":{"component":{"oneOf":[{"properties":{"component":{"enum":["SIGNUP_AND_SAVE"]},"signUpAndSaveProps":{"type":"object","name":"Sign Up And Save","properties":{"componentSettings":{"$ref":"SIGNUP_SAVE"}}}}},{"properties":{"component":{"enum":["PROMO"]},"promoProps":{"type":"object","name":"Promo Configuration","properties":{"componentSettings":{"$ref":"PROMO"}},"required":["componentSettings"]}}}]}}}},"borderPosition":{"type":"string","name":"Border Position","description":"Border position","enum":["TOP","BOTTOM","BOTH","NONE"]},"autoScrollInterval":{"name":"Auto Scroll Interval","description":"Time in milliseconds before the next slide is shown","type":"integer","default":4500,"enum":[1000,2000,3000,4000,4500,5000,6000,7000,8000,9000,10000]},"isDocked":{"type":"boolean","name":"isDocked","description":"Setting for docking the carousel at the top of the page.","default":true}}}');var me=n(90946),ge=n(93637);const he=e=>{let{promo:t,appContext:n}=e;const{component:i,signUpAndSaveProps:o,promoProps:s}=t,d=_()(n,"lumenSettings.settings.TOP_BANNER.settings",{});switch(i){case ce:return a.createElement(l(),(0,r.A)({},d,{isDocked:!1,borderPosition:"NONE"}));case de:return a.createElement(c.A,(0,r.A)({},null===o||void 0===o?void 0:o.componentSettings,{isSignUpAndSaveEnabledOnSite:!0}));case pe:return a.createElement(oe,(0,r.A)({},null===s||void 0===s?void 0:s.componentSettings));default:return null}},ye=e=>{let{promosList:t=[],borderPosition:n,appContext:r={},autoScrollInterval:i}=e;return a.createElement("div",{className:m()("promo-carousel",{[`border-${le()(n)}`]:"NONE"!==n})},a.createElement(o.A,{autoScrollInterval:i,shouldAutoScroll:!0},t.map((e=>a.createElement(he,{key:e.id,promo:e,appContext:r})))))},fe=(0,re.A)((e=>a.createElement(me.A,{position:e.isDocked?ge.Yl.TOP:ge.Yl.NONE,id:ge.AN.PROMO_CAROUSEL},a.createElement(ye,(0,r.A)({},e)))),ue);var Ee=n(60268),Te=n(92108);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=Te.A.getData("initialAppContext"),{lumenSettings:{settings:{[o]:{settings:l}={}}}}=s;i.render(a.createElement(R.A.Provider,{value:{translate:Ee.A,platform:Te.A}},a.createElement(fe,(0,r.A)({},l,{appContext:s}))),n)}}("pl-promo-carousel")},57122(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(64022),s=n(92108),l=n(60268),c=n(46123),d=n.n(c),p=n(62508),u=n(18387),m=n(3514),g=n.n(m),h=n(58003),y=n(56565
1),f=n(25935),E=n(99870),T=n.n(E),v=n(87129),A=n(73118),b=n(21309),S=n(48183);const N=e=>{const{hideVibrancies:t,hideFlags:n,appContext:r,items:i,clickedProductId:o}=e,s=(0,v.$s)(r),{isMobile:l}=d()(r,"device",{}),c=d()(r,"pageTypeCode");(0,a.useEffect)((()=>{if(g()(i))return;const e=i.map((e=>e.productId));(0,A.Wu)({rpids:e,algorithm:b.F.CUSTOM_PIDS,pid:o})}),[]);const p=null===i||void 0===i?void 0:i.map(((e,i)=>{var o,d,p;return e.url=(0,S.Wf)({url:e.url,pageType:c,moduleName:"GRID",itemContext:(d=i,p=l?2:4,`r${Math.floor(d/p)}c${d%p}`),itemPosition:`${i}`}),a.createElement(y.Ay,{index:i,productCardAdditionalClass:T()("carousel-product-card"),productMediaOverrideClass:"carousel-product-image",productInfoOverrideClass:"carousel-product-info",shouldRenderColorSelector:!1,data:e,productCardTitleLineClamp:3,bopisEligible:null===e||void 0===e||null===(o=e.shippingInfo)||void 0===o?void 0:o.bopisEligible,isPercentOffCoupon:(0,v.Vp)(s),couponValues:s,appContext:r,showJerseyAssuranceEligibility:!1,hideFlags:n,hideVibrancies:t})})),u=l?2:4;for(;p.length%u!==0;){const e=p.length%u;p.push(a.createElement("div",{key:`empty-${e}`,className:"empty"}))}return a.createElement(f.A,{gridItems:p,columnsSmall:2,columnsMedium:4})};var I=n(1098);const C=JSON.parse('{"id":"REFERRER_RECOMMENDATIONS","name":"REFERRER_RECOMMENDATIONS","description":"Referrer Recommendations settings","type":"object","root":true,"content":true,"properties":{"title":{"type":"string","name":"Title","description":"Title of the widget.","shouldTranslate":true},"subTitle":{"type":"string","name":"Sub-Title","description":"Sub-Title of the widget.","shouldTranslate":true},"hideFlags":{"type":"boolean","name":"Hide Flags","description":"Enable or Disable carousel Badges","default":false},"hideVibrancies":{"type":"boolean","name":"Hide Vibrancies","description":"Enable or Disable carousel Vibrancies","default":false},"numberOfProducts":{"type":"string","name":"Number Of Products","description":"Number of products to show in the carousel.","default":"12","enum":["8","12","18","24"]},"recommendationsDisplayType":{"type":"string","name":"Recommendation Display Type","description":"The type of view for the meta products","default":"CAROUSEL","enum":["CAROUSEL","GRID"]},"includeClickedProductInGrid":{"type":"boolean","name":"Include Clicked Product In Grid","description":"Whether to include the clicked product in the grid or not.","default":true},"itemsCountLabel":{"type":"string","name":"Items Count Label","description":"Number of items count in GRID. (example \u201c{itemsCount} items\u201c","default":"{itemsCount} items"},"productListingAlgorithm":{"type":"string","name":"Product Listing Algorithm","description":"The algorithm to use in the fpgp product listing","enum":["CUSTOM_PIDS"],"default":"CUSTOM_PIDS"},"fetchAndRenderOption":{"type":"string","name":"Fetch and Render Option","description":"Where we fetch the data and render the carousel/grid (client or server)","default":"SERVER","enum":["SERVER","CLIENT"]},"cardType":{"type":"string","name":"Card Type","description":"The type of card to use in the carousel.","enum":["PRODUCT_CARD","PRODUCT_IMAGE"],"default":"PRODUCT_CARD"},"imageSize":{"type":"string","name":"Image Size","description":"Image width preset (in pixels) to use for product images in the carousel/grid.","default":"WIDTH_150","enum":["DEFAULT","WIDTH_150","WIDTH_170"]}}}');var x=n(90706),L=n(39506),k=n(47057);const w=e=>{const{appContext:t,items:n,itemsCountLabel:i,title:o,productListingAlgorithm:s}=e,l=(0,h.CK)(i,{itemsCount:n.length});return a.createElement("div",{className:"referrer-grid-container"},o&&a.createElement("h3",{className:"referrer-grid-title"},o),n.length>0&&a.createElement("div",{className:"referrer-grid-view-items-count"},`${l}`),a.createElement("div",{className:"referrer-recommendations-grid"},a.createElement(N,(0,r.A)({},e,{appContext:t,cardType:"PRODUCT_CARD",fetchOnClient:!1,productListingAlgorithm:s,items:g()(n)?[]:n}))))},O=(0,I.A)((e=>{const t=s.A.getData("initialAppContext")||{},{originalUrl:n}=t,{items:i,recommendationsDisplayType:o,placementName:l,fetchAndRenderOption:c,productListingAlgorithm:m}=e,h=(0,u.E3)(n),y=(0,u.tb)(n);
1if(g()(h)||g()(y))return null;return"GRID"===o?"SERVER"===c?(null===i||void 0===i?void 0:i.length)&&a.createElement(w,(0,r.A)({},e,{appContext:t})):a.createElement(k.A,null,(n=>a.createElement(x.A,{initiateLoad:n,queryData:{queryType:"productListings",data:{algorithm:m,type:l,productIds:h}},appContext:t,clickedProductId:y},(t=>{let{status:n,data:i={}}=t;if(n===x.X.IDLE||n===x.X.LOADING)return a.createElement(L.A,{length:h.length,showTitlePlaceholder:!0});const o=d()(i,"productListings[0].products",[]);return g()(o)?null:a.createElement(w,(0,r.A)({},e,{items:o}))})))):g()(h)&&g()(i)?null:a.createElement("div",{className:"referrer-recommendations-carousel"},a.createElement(p.A,(0,r.A)({},e,{appContext:t,showCarousel:!0,fetchOnClient:"CLIENT"===c,productIds:h})))}),[C]);!function(e){const t=document.getElementsByClassName(e),n=s.A.getData("initialAppContext");for(let e=0;e<t.length;e++){const c=t[e],p=c.parentNode.dataset.trkId,u=d()(n,`lumenSettings.settings[${p}].settings`,{});i.render(a.createElement(o.A.Provider,{value:{translate:l.A,platform:s.A}},a.createElement(O,(0,r.A)({},u,{appContext:n,placementName:p}))),c)}}("pl-referrer-recommendations")},8891(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(64022),s=n(92108),l=n(60268),c=n(46123),d=n.n(c),p=n(82375),u=n(1098),m=(n(62832),n(39067)),g=n.n(m),h=n(47461),y=n(80904),f=n(58689);const E={SignalImpression:"SignalImpression",SignalViewed:"SignalViewed",SignalResponse:"SignalResponse"},T=[{name:"AdditionalData",value:"ImpressionSlot"}],v=[{name:"AdditionalData",value:"ImpressionCreative"}],A=[{name:"AdditionalData",value:"ImpressionPlacement"}],b=[{name:"AdditionalData",value:"ImpressionCreative"}];function S(e){return e&&e.uniqueIdClient||""}function N(){let{sessionId:e,clientUniqueId:t,slotGuid:n,creativeGuid:r,placementGuid:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[{guid:n,metadata:T},{guid:r,metadata:v},{guid:a,metadata:A}].filter((e=>{let{guid:t}=e;return Boolean(t)})).map((n=>{let{guid:r,metadata:a}=n;return function(){let{sessionId:e,clientUniqueId:t,parentGuid:n,metadata:r=T}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{eventType:E.SignalImpression,eventTime:(new Date).toISOString(),parentGuid:String(n||""),sessionId:String(e||""),clientUniqueId:String(t||""),metadata:Array.isArray(r)?r:T}}({sessionId:e,clientUniqueId:t,parentGuid:r,metadata:a})}))}function I(e,t){return Array.isArray(e)&&0!==e.length?(0,y.A)({method:"POST",uri:"/api/rokt/events",json:!0,body:{events:e,tagId:t}}).then((()=>{}),(e=>{"undefined"!==typeof console&&console.error&&console.error("[Rokt Pay+] Events API failed:",e)})):Promise.resolve()}function C(e){let{offersResponse:t,roktSettings:n,elementRef:r}=e;const i=(0,a.useRef)(!1),o=(0,a.useRef)(!1),s=(0,a.useRef)(null),{offer:l,placement:c}=(0,h.tP)(t);(0,a.useEffect)((()=>{i.current=!1,o.current=!1,clearTimeout(s.current),s.current=null}),[null===t||void 0===t?void 0:t.sessionId]),(0,a.useEffect)((()=>{if(!(null===l||void 0===l?void 0:l.creativeGuid)||!(null===t||void 0===t?void 0:t.sessionId))return;if(!(0,h.MJ)())return;if(i.current)return;i.current=!0;I(N({sessionId:t.sessionId,clientUniqueId:t.clientUniqueId,slotGuid:l.slotGuid,creativeGuid:l.creativeGuid,placementGuid:null===c||void 0===c?void 0:c.placementGuid}),S(n))}),[null===l||void 0===l?void 0:l.creativeGuid,null===l||void 0===l?void 0:l.slotGuid,null===c||void 0===c?void 0:c.placementGuid,null===t||void 0===t?void 0:t.sessionId,null===t||void 0===t?void 0:t.clientUniqueId,n]),(0,a.useEffect)((()=>{if(!(null===l||void 0===l?void 0:l.creativeGuid)||!(null===t||void 0===t?void 0:t.sessionId))return;if(!(0,h.MJ)())return;if(o.current)return;const e=null===r||void 0===r?void 0:r.current;if(!e)return;const a=()=>{if(o.current)return;o.current=!0;const e=function(){let{sessionId:e,clientUniqueId:t,parentGuid:n,metadata:r=b}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{eventType:E.SignalViewed,eventTime:(new Date).toISOString(),parentGuid:String(n||""),sessionId:String(e||""),clientUniqueId:String(t||""),metadata:Array.isArray(r)?r:b}}({sessionId:t.sessionId,clientUniqueId:t.clientUniqueId,parentGuid:l.creativeGuid});I([e],S(n))};if("undefined"===typeof window||!window.IntersectionObserver)return void a();let i=!1;const c=()=>{i&&"visible"===document.visibilityState&&!o.current&&null===s.current&&(s.current=setTimeout((()=>{a()}),1e3))},d=()=>{clearTimeout(s.current),s.current=null},p=new window.IntersectionObserver((e=>{let[t]=e;t.isIntersecting&&t.intersectionRatio>=.5?(i=!0,c()):(i=!1,d())}),{threshold:.5}),u=()=>{"visible"===document.visibilityState?c():d()};return document.addEventListener("visibilitychange",u),p.observe(e),()=>{p.disconnect(),document.removeEventListener("visibilitychange",u),d()}}),[null===l||void 0===l?void 0:l.creativeGuid,null===t||void 0===t?void 0:t.sessionId,null===t||void 0===t?void 0:t.clientUniqueId,n,r])}var x=n(84470),L=n(17353);const k=e=>"string"===typeof e&&/^https?:\/\//i.test(e);function w(e){let{cart:t,user:n,paymentState:r,availablePaymentMethods:i,paymentMethodsSettled:o,roktSettings:l={},isLoggedIn:c,changedEmail:d,enableRoktPayPlus:p,poweredByLabel:u,termsLabel:m,privacyPolicyLabel:g,offerAltText:E}=e;var T;const v=p&&"undefined"!==typeof window,A=v?l:{},b=(0,a.useRef)(null);(0,a.useEffect)((()=>
1{if((0,h.MJ)()){const e=s.A.getData("initialAppContext");(0,x.Ji)({appContext:e,settingID:"ROKT_OFFER",settings:["enableRoktPayPlus"]})}}),[]);const{offersResponse:S,isLoading:N}=function(e){let{cart:t,user:n,paymentState:r,availablePaymentMethods:i,paymentMethodsSettled:o,roktSettings:s,isLoggedIn:l,changedEmail:c}=e;const[d,p]=(0,a.useState)({offersResponse:null,isLoading:!0}),u=(0,h.mt)(t)||null,m=(0,a.useRef)(null);return(0,a.useEffect)((()=>{if(!((null===s||void 0===s?void 0:s.isEnabled)&&(null===s||void 0===s?void 0:s.uniqueIdClient)&&(null===s||void 0===s?void 0:s.pageIdentifier)))return void p({offersResponse:null,isLoading:!1});if(!(0,h.MJ)())return void p({offersResponse:null,isLoading:!1});const e=(c||u||"").trim().toLowerCase()||null;if(!e){const e=(0,h.qN)(void 0);return p(e?{offersResponse:e,isLoading:!1}:{offersResponse:null,isLoading:!1}),void(m.current=null)}if(e===m.current)return;let a=!0;return(async()=>{try{const d=e?await(0,f.A)(e):null;if(!a)return;const u=(0,h.qN)(d);if(u)return m.current=e,void p({offersResponse:u,isLoading:!1});if(!o)return;const g=await(0,h.ir)({cart:t,user:n,paymentState:r,availablePaymentMethods:i,roktSettings:s,isLoggedIn:l,changedEmail:c});if(!a)return;const E=await(0,y.A)({method:"POST",uri:"/api/rokt/offers",json:!0,resolveWithFullResponse:!0,body:g});if(!a)return;const T=(null===E||void 0===E?void 0:E.body)||{};(null===T||void 0===T?void 0:T.success)?(m.current=e,(0,h.mj)(T,d),p({offersResponse:T,isLoading:!1})):p({offersResponse:null,isLoading:!1})}catch(e){"undefined"!==typeof console&&console.error&&console.error("[Rokt Pay+] Offers API failed:",e),a&&p({offersResponse:null,isLoading:!1})}})(),()=>{a=!1}}),[o,c,u]),d}({cart:t,user:n,paymentState:r,availablePaymentMethods:i,paymentMethodsSettled:o,roktSettings:A,isLoggedIn:c,changedEmail:d});if(C({offersResponse:S,roktSettings:l,elementRef:b}),!v)return null;const{offer:I,copy:w,responseOptions:O}=(0,h.tP)(S);if(N){const e="rokt-pay-plus-wrapper enhanced";return a.createElement("section",{className:e,"data-trk-id":"rokt-pay-plus"},a.createElement("div",{className:"rokt-pay-plus-card"},a.createElement("div",{className:"rokt-pay-plus-card-top"},a.createElement("div",{className:"rokt-pay-plus-skeleton-block rokt-pay-plus-skeleton-image"}),a.createElement("div",{className:"rokt-pay-plus-skeleton-block rokt-pay-plus-skeleton-line"})),a.createElement("div",{className:"rokt-pay-plus-skeleton-block rokt-pay-plus-skeleton-line"}),a.createElement("div",{className:"rokt-pay-plus-skeleton-block rokt-pay-plus-skeleton-line"})))}if(!I)return null;const D=O.find((e=>e.isPositive))||O[0],R=(0,h.NS)(I,D),P="usage"===R,_=(0,h.a8)(I),M="compact"===_,U=w["creative.termsAndConditions.link"],B=w["creative.privacyPolicy.link"],F=(0,h.sO)(R,_);return a.createElement("section",{ref:b,className:F,"data-trk-id":"rokt-pay-plus"},a.createElement("div",{className:"rokt-pay-plus-card"},a.createElement("div",{className:"rokt-pay-plus-card-top"},k(w["creative.image.src"])&&a.createElement("div",{className:"rokt-pay-plus-media"},a.createElement("img",{src:w["creative.image.src"],alt:w["creative.alt"]||(null===I||void 0===I||null===(T=I.advertiser)||void 0===T?void 0:T.brand)||E,className:"rokt-pay-plus-image"})),w["creative.title"]&&a.createElement("p",{className:"rokt-pay-plus-title"},w["creative.title"])),!M&&w["creative.copy"]&&a.createElement("div",{className:"rokt-pay-plus-content"},a.createElement("p",{className:"rokt-pay-plus-copy"},w["creative.copy"],!P&&k(null===D||void 0===D?void 0:D.url)&&(null===D||void 0===D?void 0:D.label)&&a.createElement(a.Fragment,null," ",a.createElement(L.Ay,{href:D.url,className:"rokt-pay-plus-cta-inline",target:"_blank",rel:"noopener noreferrer","data-trk-id":"rokt-primary-cta-link"},D.label))))),a.createElement("div",{className:"rokt-pay-plus-footer"},a.createElement("span",{className:"rokt-pay-plus-footer-left"},u&&`${u.trimEnd()} `,a.createElement("a",{href:"https://www.rokt.com/policies/privacy-policy",target:"_blank",rel:"noopener noreferrer","data-trk-id":"rokt-powered-by-link"},"Rokt")),(k(U)||k(B))&&a.createElement("span",{className:"rokt-pay-plus-footer-right"},k(U)&&a.createElement(L.Ay,{href:U,target:"_blank",rel:"noopener noreferrer","data-trk-id":"rokt-terms-link"},m),k(U)&&k(B)&&a.createElement("span",{className:"rokt-pay-plus-footer-separator"}," | "),k(B)&&a.createElement(L.Ay,{href:B,target:"_blank",rel:"noopener noreferrer","data-trk-id":"rokt-privacy-policy-link"},g))))}w.propTypes={cart:g().object,user:g().object,paymentState:g().object,availablePaymentMethods:g().str
1ing,paymentMethodsSettled:g().bool,isLoggedIn:g().bool,changedEmail:g().string,roktSettings:g().shape({isEnabled:g().bool,uniqueIdClient:g().string,pageIdentifier:g().string}),enableRoktPayPlus:g().bool,poweredByLabel:g().string,termsLabel:g().string,privacyPolicyLabel:g().string,offerAltText:g().string};const O=w,D=JSON.parse('{"id":"ROKT_PAY_PLUS","name":"Rokt Pay Plus","description":"Settings for the Rokt Pay Plus placement component","root":true,"content":true,"type":"object","properties":{"enableRoktPayPlus":{"type":"boolean","name":"Enable Rokt Pay Plus","description":"Whether or not to enable the Rokt Pay Plus offer placement","default":false},"poweredByLabel":{"type":"string","name":"Powered By Label","description":"Label displayed before the Rokt link in the footer","default":"Powered by ","shouldTranslate":true},"termsLabel":{"type":"string","name":"Terms Label","description":"Fallback label for the terms and conditions link","default":"Terms","shouldTranslate":true},"privacyPolicyLabel":{"type":"string","name":"Privacy Policy Label","description":"Fallback label for the privacy policy link","default":"Privacy Policy","shouldTranslate":true},"offerAltText":{"type":"string","name":"Offer Alt Text","description":"Fallback alt text for the offer image","default":"Rokt offer","shouldTranslate":true}}}');const R=(0,u.A)(O,D),P=(0,p.A)(R,(function(e){return{cart:d()(e,"checkout.cart",{}),user:d()(e,"checkout.user",{}),paymentState:d()(e,"checkout.paymentState",{}),roktSettings:d()(e,"settings.ROKT.settings",{}),availablePaymentMethods:d()(e,"checkout.availablePaymentMethods",null),paymentMethodsSettled:d()(e,"checkout.paymentMethodsSettled",!1),isLoggedIn:d()(e,"appContext.userStatus.isLoggedIn",!1),changedEmail:d()(e,"checkout.changedEmail",null)}}));!function(e){const t=s.A.getData("initialAppContext"),{locale:n}=t,c=t,d=document.getElementsByClassName(e);for(let e=0;e<d.length;e++){const t=d[e],p=t.parentNode.dataset.trkId,{[p]:{settings:u}={}}=c.lumenSettings.settings;i.render(a.createElement(o.A.Provider,{value:{locale:n,translate:l.A,platform:s.A}},a.createElement(P,(0,r.A)({},u))),t)}}("pl-rokt-pay-plus")},59641(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=(n(81198),n(39067)),s=n.n(o),l=n(91234),c=n(90303),d=n(93637),p=n(90946);let u=class extends a.Component{scrollToElement(e){const t=document.querySelector(`[data-anchor-element="${e}"]`).offsetTop-70;window.scrollTo(document.body,t,400)}getLogoClassName(e,t){if(e){if(e.organization)return`${t} o-${e.organization}`;if(e.team)return`${t} t-${e.team}`}}renderLinksList(e){const{showListTitle:t,appContext:n}=this.props,{groupTitle:i,links:o,viewAll:s}=e,c={title:i.title,links:o,viewAll:s};return a.createElement(l.A,(0,r.A)({},c,{showListTitle:t,appContext:n}))}renderGroupListItems(e,t){const{groupTitle:n}=e,i=this.getLogoClassName(n.logo,"logo-64");return a.createElement("div",{key:t,className:"team-group-item","data-anchor-element":n.text},a.createElement("h3",{className:"title"},a.createElement(c.A,(0,r.A)({},n,{logoClassName:i}))),this.renderLinksList(e))}renderGroupList(){const{linkGroup:e}=this.props;return a.createElement("div",{className:"team-group-list"},e&&e.map(((e,t)=>this.renderGroupListItems(e,t))))}renderMobileHeaderItem(e,t){const{groupTitle:n}=e,r=this.getLogoClassName(n.logo,"logo-30"),i=r?r.replace(" ","-"):t;return a.createElement("li",{key:t,className:"item",onClick:this.scrollToElement.bind(this,n.text)},a.createElement("button",{className:r,"data-trk-id":`logo-${i}`}))}renderMobileHeader(){const{linkGroup:e,appContext:{device:{isMobile:t=!1}={}}={}}=this.props;return t?a.createElement(p.A,{id:d.AN.SALES_TEAM_LIST_MOBILE_HEADER},a.createElement("div",{className:"sales-mobile-header"},a.createElement("ul",{className:"list"},e&&e.map(((e,t)=>this.renderMobileHeaderItem(e,t)))))):null}render(){const e=this.renderGroupList(),t=this.renderMobileHeader();return a.createElement("div",{className:"sales-team-list"},t,e)}constructor(e){super(e)}};u.defaultProps={showListTitle:!1},u.propTypes={linkGroup:s().array.isRequired,showListTitle:s().bool};var m=n(92108);!function(e){const t=document.getElementsByClassName(e),n=m.A.getData("initialAppContext");for(let e=0;e<t.length;e++){const o=t[e],s=o.parentNode.dataset.trkId,{[s]:{settings:l}={}}=n.lumenSettings.settings;i.render(a.createElement(u,(0,r.A)({},l,{appContext:n})),o)}}("pl-sales-team-list")},84942(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(39067),s=n.n(o),l=n(97562),c=n(1290),d=n(58436),p=n(71573),u=n(64485),m=n(73118);let g=class extends a.Component{render(){var e;const{primarySelector:t,secondaryTitle:n,subtitle:r,appContext:i}=this.props,{isMobile:o,pageTypeCode:s,locale:l,siteId:g}=i||{},{tabSelected:h}=this.state;return a.createElement("div",{className:"modal-body"},a.createElement(c.A,{title:n}),r&&a.createElement("div",{className:"scrollable-selector-subheader"},r),a.createElement(p.tU,{spacing:u.Gv.SPREAD_FULL_WIDTH,selectedKey:h,onSelectionChange:e=>{var n;this.setState({tabSelected:e}),(0,m.nZ)({tabID:`${e}-${null===(n=t[e])||void 0===n?void 0:n.name}`,tabCtx:"scrollable-selector-modal"})}},a.createElement(p.wb,null,t.map(((e,t)=>{let{id:n,name:r}=e;return a.createElement(p.oz,{size:u.oF.MEDIUM,id:n||t},r)}))),a.createElement(p.Kp,{id:(null===(e=t[h])||void 0===e?void 0:e.id)||h},a.createElement(d.A,{selectedTab:h,primarySelector:t,pageTypeCode:s,locale:l,siteId:g,isMobile:o}))))}constructor(e){super(e);const{defaultSelected:t}=e;this.state={tabSelected:t}}};g.propTypes={defaultSelected:s().number,primarySelector:s().array.isRequired,secondaryTitle:s().string};var h=n(93675),y=n(46123),f=n.n(y);const E=JSON.parse('{"id":"SCROLLABLE_SELECTOR","name":"SCROLLABLE_SELECTOR","title":"JSON Schemas for scrollable selector","description":"JSON Schemas for scrollable selector","root":true,"content":true,"type":"object","properties":{"isEnabled":{"type":"boolean","name":"Show scrollable selector","description":"Whether the scrollable selector should show or not","default":true},"primaryTitle":{"type":"string","name":"Header text for scrollable selector component"},"secondaryTitle":{"type":"string","name":"Header text for modal component"},"subtitle":{"type":"string","name":"Sub-header text for modal component"},"style":{"$ref":"STYLE"},"primarySelector":{"$ref":"PRIMARY_SELECTOR"},"iconAlignment":{"type":"string","name":"Icon Alignment","description":"Alignment of Icons","enum":["LEFT","CENTER","RIGHT"],"default":"CENTER"},"primarySelectorBGColor":{"type":"string","name":"Primary Selector icon background color","description":"Backgroun
1d color for the icons \'buttons\'","enum":["WHITE","GREY_EXTRA_LIGHT"],"default":"WHITE"}},"required":["primarySelector"]}');var T=n(1098),v=n(90613),A=n(93361),b=n(99870),S=n.n(b),N=n(4554),I=n(37702),C=n(79521);let x=class extends a.Component{render(){const{isEnabled:e,style:t={},primaryTitle:n,appContext:i={},primarySelector:o=[],iconAlignment:s,secondaryTitle:d,subtitle:p,primarySelectorBGColor:m}=this.props;if(!1===e)return null;const y=f()(t,"backgroundColor");return a.createElement("div",{className:S()("scrollable-selector",s.toLowerCase()),style:(0,h.nA)(y)},a.createElement(c.A,{title:n}),a.createElement(v.A,{arrowVisibility:A.QV.NONE,useCustomScroll:!0},a.createElement("div",{className:"scrollable-container"},a.createElement(l.A,{primarySelector:o,handleClick:this.handlePrimarySelectorClick,primarySelectorBGColor:m}))),a.createElement(N.a,(0,r.A)({closeAriaLabel:(0,C.H)(),className:"scrollable-selector-modal",isOpen:this.state.showModal,onOpenChange:e=>{e||this.handleModalClose()},size:u.sE.LARGE,"aria-label":d||n},(0,I.Y)(I.G.MODAL_SCROLLABLE_SELECTOR)),a.createElement(g,{defaultSelected:this.state.tabSelected,primarySelector:o,secondaryTitle:d,subtitle:p,appContext:i})))}constructor(...e){super(...e),this.state={showModal:!1,tabSelected:null},this.handlePrimarySelectorClick=e=>()=>{this.setState({showModal:!0,tabSelected:e})},this.handleModalClose=()=>{this.setState({showModal:!1})}}};x.propTypes={primarySelector:s().array.isRequired,primaryTitle:s().string,style:s().object,iconAlignment:s().string,secondaryTitle:s().string,subtitle:s().string};const L=(0,T.A)(x,E);var k=n(92108);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=k.A.getData("initialAppContext"),l=f()(s,`lumenSettings.settings[${o}].settings`,{}),c=f()(s,"lumenSettings.settings.SCROLLABLE_SELECTOR.settings",{});i.render(a.createElement(L,(0,r.A)({placementName:o,appContext:s},l,c)),n)}}("pl-scrollable-selector")},38461(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(9585),s=n(92108);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],l=n.parentNode.dataset.trkId,{[l]:{settings:c}={}}=s.A.getData("initialAppContext").lumenSettings.settings;i.render(a.createElement(o.A,(0,r.A)({},c)),n)}}("pl-scrollable-text")},23135(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(39067),s=n.n(o),l=n(53089),c=n(46123),d=n.n(c),p=n(62508),u=n(46341),m=n(85596),g=n(14020),h=n(45142);const y=e=>{let{shopTheLookVariant:t=m.li.NONE,stlFallbackTitle:n="",carousel:i={},appContext:o,placementName:s,cartItems:l=[]}=e;return a.createElement(p.A,(0,r.A)({},i,{appContext:o,placementName:s,shopTheLookCartVariant:t,cartItems:l,stlFallbackTitle:n,isCartPage:!0}))};y.propTypes={shopTheLookVariant:s().oneOf([m.li.NONE,m.li.STL_ELSE_FALLBACK,m.li.STL_ELSE_NOTHING]),stlFallbackTitle:s().string,carousel:s().object,appContext:s().object.isRequired,cartItems:s().array,placementName:s().string};const f=(0,u.V4)(y,"shop-the-look-carousel"),E=(0,l.Ng)((e=>({cartItems:d()(e,"checkout.cart.items",[])})))(f),T=(0,g.A)(E,h.A);var v=n(92108),A=n(64022),b=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=v.A.getData("initialAppContext"),{[o]:{settings:l}={}}=s.lumenSettings.settings;i.render(a.createElement(A.A.Provider,{value:{translate:b.A,platform:v.A}},a.createElement(T,(0,r.A)({},l,{placementName:o,appContext:s}))),n)}}("pl-shop-the-look-carousel")},3311(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(92108),s=n(64022),l=n(60268),c=n(32192),d=n(99870),p=n.n(d),u=n(46123),m=n.n(u),g=n(3514),h=n.n(g),y=n(10750),f=n.n(y),E=n(53089),T=n(13552);const v=JSON.parse('{"id":"SHOP_THE_LOOK","name":"Shop The Look","description":"Settings needed to control the Shop The Look component","root":true,"content":true,"type":"object","properties":{"renderMode":{"type":"string","name":"Render Mode","description":"Controls which component to render in this placement \u2014 Shop The Look carousel or Buy Together carousel","enum":["SHOP_THE_LOOK","BUY_TOGETHER"],"default":"SHOP_THE_LOOK"},"productListingAlgorithm":{"type":"string","name":"Product Listing Algorithm","description":"The algorithm used to fetch recommendations","enum":["STYLITICS_OUTFITS","OPENAI_OUTFITS"],"default":"STYLITICS_OUTFITS"}},"dependencies":{"renderMode":{"oneOf":[{"properties":{"renderMode":{"enum":["SHOP_THE_LOOK"]},"enableShopTheLook":{"type":"boolean","name":"Enable Shop The Look","description":"Whether or not to enable Shop The Look component","default":false},"carouselTitle":{"type":"string","name":"Carousel Title","description":"Title for the Shop The Look carousel","default":"Shop The Look","shouldTranslate":true},"productCardLayout":{"type":"string","name":"Product Card Layout","description":"Layout for the shop the look product cards, either column grid (default) or masonry style","enum":["GRID","MASONRY"],"default":"GRID"},"showTitle":{"type":"boolean","name":"Handles the visibility of the title","description":"Whether or not to display the title of the Product Card","default":true}
1,"showPrice":{"type":"boolean","name":"Handles the visibility of the price","description":"Whether or not to display the price of the Product Card","default":true}}},{"properties":{"renderMode":{"enum":["BUY_TOGETHER"]},"enableLazyLoading":{"type":"boolean","name":"Enable Lazy Loading","description":"Defer the Buy Together recommendations request until the block scrolls into the viewport. Note: while off-screen the \\"Shop The Look\\" button on the product image will not be shown.","default":false},"showTopBorder":{"type":"boolean","name":"Show Top Border","description":"Show a divider above the Buy Together block, matching the dynamic carousel placements","default":false},"buyTogether":{"type":"object","$ref":"BUY_TOGETHER"}}}]}}}');var A=n(60044),b=n(59152),S=n(46341),N=n(37195),I=n(14020),C=n(48183),x=n(1098),L=n(9824),k=n(8974),w=n(26009),O=n(35966),D=n(90706),R=n(214),P=n(39506);const _=e=>{let{children:t,itemIndex:n}=e;return a.createElement("div",{className:p()(`masonry-item-${n}`,{"static-product":0===n})},t)},M=e=>{let{children:t,numberItems:n,dataTrkId:r}=e;return a.createElement("div",{className:`masonry-container masonry-${n}`,"data-trk-id":r},t)};n(14292);var U=n(52448),B=n(50664),F=n(72293),j=n(47057);n(74509);const G="STYLITICS_OUTFITS";var V=n(14818);const H=e=>{let{listingType:t,productId:n,listingAlgorithm:r,includeSizes:a=!1}=e;const i="OPENAI_OUTFITS"===r;return{queryType:"productListings",data:{algorithm:r,...a&&{queryFormat:V.d.ADD_SIZES}},listing:{listingType:t,productListingAlgorithm:r,excludeParentFilters:!1,...i&&{productIds:[n]}}}},$=e=>{let{className:t,products:n,setStyliticsData:i,buyTogether:o,appContext:s,productListingAlgorithm:l,placementName:c,selectedSize:d,setSelectedSize:p}=e;return(0,a.useEffect)((()=>(i(n.length),()=>i(0))),[n.length,i]),a.createElement("div",{className:t},a.createElement(U.A,(0,r.A)({},o,{appContext:s,products:n,productListingAlgorithm:l,placement:c,selectedSize:d,setSelectedSize:p})))},W=e=>{let{initiateLoad:t,query:n,wrapperClassName:r,appContext:i,currentProduct:o,buyTogether:s,productListingAlgorithm:l,placementName:c,setStyliticsData:d,selectedSize:p,setSelectedSize:u}=e;return a.createElement(D.A,{initiateLoad:t,queryData:n,appContext:i},(e=>{let{status:t,data:n={}}=e;if(t===D.X.IDLE||t===D.X.LOADING)return a.createElement("div",{className:r},a.createElement(B.AD,null));const g=m()(n,"productListings[0].products",[]).filter((e=>e.productId!==o.productId)).slice(0,3);if(h()(g))return null;const y=(0,F.H_)({appContext:i,items:g,currentProduct:o,placementName:c,moduleName:"SIW"});return a.createElement($,{className:r,products:y,setStyliticsData:d,buyTogether:s,appContext:i,productListingAlgorithm:l,placementName:c,selectedSize:p,setSelectedSize:u})}))},q=e=>{let{buyTogether:t,appContext:n,currentProduct:i,productListingAlgorithm:o,placementName:s,setStyliticsData:l,selectedSize:c,setSelectedSize:d,enableLazyLoading:u=!1,showTopBorder:m=!1}=e;var g,h,y;if(!(null===t||void 0===t?void 0:t.isBuyTogetherEnabled))return null;const f=(null===i||void 0===i?void 0:i.productId)||(null===(g=null===n||void 0===n||null===(h=n.rids)||void 0===h?void 0:h.find((e=>"p"===e.key)))||void 0===g||null===(y=g.ids)||void 0===y?void 0:y[0]);if(!f||!i)return null;const E={query:H({listingType:s,productId:f,listingAlgorithm:o,includeSizes:!0}),wrapperClassName:p()("stl-buy-together",{"stl-buy-together-bordered":m}),appContext:n,currentProduct:i,buyTogether:t,productListingAlgorithm:o,placementName:s,setStyliticsData:l,selectedSize:c,setSelectedSize:d};return u?a.createElement(j.A,null,(e=>a.createElement(W,(0,r.A)({initiateLoad:e},E)))):a.createElement(W,(0,r.A)({initiateLoad:!0},E))};const z=e=>{let{children:t,slide:n,appContext:r,placementName:i,productListingAlgorithm:o,active:s}=e;const l=(0,a.useCallback)((()=>{c.default.getBus()||(0,N.A)(),(0,O.r$)({eventType:"VIEW.RECOMMENDATION",event:{rpids:n.products.map((e=>e.productId)),agid:o,plid:i,rg:{gid:n.id,gn:n.name,gord:n.order}},appContext:r})}),[n,r,i,o]);return a.createElement(a.Fragment,null,a.createElement(R.M,{trigger:s,callback:l}),t)},Y=e=>{let{slides:t,setStyliticsData:n,appContext:r,carouselTitle:i,placementName:o,productCardLayout:s,showPrice:l,showTitle:c,productListingAlgorithm:d}=e;(0,a.useEffect)((()=>(n(t.length),()=>n(0))),[t.length,n]);const u=(0,a.useMemo)((()=>"MASONRY"===s?t.map(((e,t)=>{var n;return a.createElement(z,{key:t,slide:e,appContext:r,placementName:o,productListingAlgorithm:d},a.createElement(M,{dataTrkId:`stl-${o}-slide-${t}`,numberItems:e.products.length},null===(n=e.products)||void 0===n?void 0:n.map(((e,t)=>a.createElement(_,{itemIndex:t},a.createElement(w.A,{product:e,appContext:r,showPrice:0!==t&&l,showTitle:0!==t&&c}))))))})):t.map(((e,t)=>a.createElement(z,{key:t,slide:e,appContext:r,placementName:o,productListingAlgorithm:d},a.createElement("div",{key:t,className:p()("shop-the-look-grid",{"even-gap":!l&&!c}),"data-trk-id":`stl-${o}-slide-${t}`},e.products.map(((e,n)=>a.createElement("div",{key:`slide-${t}-item-${n}`,"data-trk-id":`stl-${o}-slide-${t}-p-${e.productId}`},a.createElement(w.A,{product:e,appContext:r,showTitle:c,showPrice:l}))))))))),[t,r,o,c,l,s,d]);return a.createElement("div",{className:"shop-the-look"},a.createElement(L.Ay,{zoomEnabled:!1,slidesContent:t,initialIndex:0,infiniteLoop:!0},a.createElement(L.yx,null,a.createElement("div",{className:"slide-grid-header"},a.createElement("h4",{className:"subhead-2"},i),(null===t||void 0===t?void 0:t.length)>1?a.createElement(L.Zm,{endIndex:t.length-1,arrowStyle:k.Zw.CIRCLE_SOLID,arrowSize:k.Xy.SMALL,wrapperClassName:"header-layout-arrows",trkId:`stl-${o}-arrows`}):null),a.createElement(L.tN,null,u))))},X=(0,x.A)((e=>{let{enableShopTheLook:t,appContext:n,carouselTitle:r,showTitle:i,showPrice:s,placementName:l,productCardLayout:c,productListingAlgorithm:d=G,setStyliticsData:p,renderMode:u,buyTogether:g={},currentProduct:y,selectedSize:E,setSelectedSize:T,enableLazyLoading:v=!1,showTopBorder:A=!1}=e;var b,S,N;
1if("BUY_TOGETHER"===u)return a.createElement(q,{buyTogether:g,appContext:n,currentProduct:y,productListingAlgorithm:d,placementName:l,setStyliticsData:p,selectedSize:E,setSelectedSize:T,enableLazyLoading:v,showTopBorder:A});if(!t)return null;const I=null===(b=null===n||void 0===n||null===(S=n.rids)||void 0===S?void 0:S.find((e=>"p"===e.key)))||void 0===b||null===(N=b.ids)||void 0===N?void 0:N[0],x=m()(o.A.getData("pdp-data"),"pdp");if(!I||!x)return null;const L={...x,colors:[]},k=H({listingType:l,productId:I,listingAlgorithm:d});return a.createElement("div",{className:`shop-the-look-wrapper ${f()(c)}-layout`,"data-trk-id":l},a.createElement(D.A,{initiateLoad:!0,queryData:k,appContext:n},(e=>{let{status:t,data:o={}}=e;if(t===D.X.IDLE||t===D.X.LOADING)return a.createElement(P.A,{length:6});if(t===D.X.FAILURE)return null;const u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(0===e.length)return[];const t={};return e.forEach((e=>{var n;null===(n=e.groupings)||void 0===n||n.forEach((n=>{const r=n.groupId;t[r]||(t[r]={id:r,order:n.groupOrder,type:n.groupType,name:n.groupName,products:Array(5)}),t[r].products[n.pidOrderInGroup]=e}))})),Object.entries(t).sort(((e,t)=>{let[,n]=e,[,r]=t;return n.order-r.order})).reduce(((e,t)=>{let[,n]=t;var r;const a=(null===(r=n.products)||void 0===r?void 0:r.filter((e=>void 0!==e)))||[];return a.length<=1?e:[...e,{...n,products:a}]}),[])}(m()(o,"productListings[0].products",[]).filter((e=>e.productId!==L.productId)));if(h()(u))return null;const g=u.map((e=>({...e,products:[L,...e.products].map((e=>({...e,url:(0,C.Wf)({url:e.url||e.productUrl,pageType:null===n||void 0===n?void 0:n.pageTypeCode,moduleName:"SIW",placementName:l})})))})));return a.createElement(Y,{slides:g,setStyliticsData:p,appContext:n,carouselTitle:r,placementName:l,productCardLayout:c,showPrice:s,showTitle:i,productListingAlgorithm:d})})))}),[T,v]),K=(0,S.V4)(X,"shop-the-look"),J=(0,E.Ng)((function(e){return{currentProduct:(0,F.ei)(e),selectedSize:e.selectedSize,selectedColor:e.selectedColor}}),(function(e){return{setStyliticsData:t=>e((0,A.Hv)(t)),setSelectedSize:t=>e((0,A.ZD)(t))}}))(K),Q=(0,I.A)(J,b.A);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],c=n.parentNode.dataset.trkId,d=o.A.getData("initialAppContext"),{[c]:{settings:p}={}}=d.lumenSettings.settings;i.render(a.createElement(s.A.Provider,{value:{translate:l.A,platform:o.A}},a.createElement(Q,(0,r.A)({},p,{appContext:d,placementName:c,listingType:c}))),n)}}("pl-shop-the-look")},61317(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(39067),s=n.n(o),l=n(1098),c=n(46341);const d=JSON.parse('{"id":"SHOPPING_ASSISTANT_BAR","name":"Shopping Assistant Bar Settings","description":"The necessary properties to control the Shopping Assistant bar settings","type":"object","root":true,"content":true,"properties":{"isBarEnabled":{"type":"boolean","name":"Enable Shopping Assistant Bar","description":"Toggle to show or hide the Shopping Assistant bar","default":false},"title":{"type":"string","name":"Title","description":"The title for the shopping assistant bar","shouldTranslate":true},"subtitle":{"type":"string","name":"Subtitle","description":"The subtitle for the shopping assistant bar","shouldTranslate":true}}}');var p=n(30451),u=n(50701);const m=e=>{let{isShoppingAssistantEnabled:t,isBarEnabled:n,title:r,subtitle:i}=e;return t&&n?a.createElement("div",{className:"shopping-assistant-bar"},a.createElement("div",{className:"shopping-assistant-bar-container"},r&&a.createElement("div",{className:"shopping-assistant-bar-title"},r),i&&a.createElement("div",{className:"shopping-assistant-bar-subtitle"},i)),a.createElement(u.A,null)):null};m.propTypes={isShoppingAssistantEnabled:s().bool,isBarEnabled:s().bool,title:s().string,subtitle:s().string},m.defaultProps={isShoppingAssistantEnabled:!1,isBarEnabled:!1};const g=(0,l.A)(m,[d,p]),h=(0,c.V4)(g,"shopping-assistant-bar","shopping-assistant");var y=n(64022),f=n(60268),E=n(92108);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){var n,o,s,l,c,d;const p=t[e],u=p.parentNode.dataset.trkId,m=E.A.getData("initialAppContext"),g=null===m||void 0===m||null===(n=m.lumenSettings)||void 0===n||null===(o=n.settings)||void 0===o||null===(s=o[u])||void 0===s?void 0:s.settings,T=null===m||void 0===m||null===(l=m.lumenSettings)||void 0===l||null===(c=l.settings)||void 0===c||null===(d=c.SHOPPING_ASSISTANT)||void 0===d?void 0:d.settings;i.render(a.createElement(y.A.Provider,{value:{translate:f.A,platform:E.A}},a.createElement(h,(0,r.A)({},g,T))),p)}}("pl-shopping-assistant-bar")},261(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(91147),s=n(64022),l=n(92108),c=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],d=n.parentNode.dataset.trkId,{[d]:{settings:p}={}}=l.A.getData("initialAppContext").lumenSettings.settings;i.render(a.createElement(s.A.Provider,{value:{translate:c.A,platform:l.A}},a.createElement(o.A,(0,r.A)({},p))),n)}}("pl-signup-save")},91147(e,t,n){"use strict";n.d(t,{A:()=>C});var r=n(14041),a=n(99870),i=n.n(a),o=n(39067),s=n.n(o),l=n(3514),c=n.n(l),d=n(3326),p=n.n(d),u=n(64485);const m=["small","medium","large"];function g(e,t){if(t>=m.length)return"";const n=[];for(let r=t;r<m.length;r++){const t=m[r];if(e[t])break;n.push(t)}return n.join(" ")}var h=n(33466),y=n(84859),f=n(62813),E=n(83089),T=n(45239),v=n(90946),A=n(93637),b=n(46341);const S=e=>{let{bannerContent:t}=e;return r.createElement(r.Fragment,null,r.createElement(T.A,{className:"sas-icon",iconId:"mail"}),r.createElement("span",{className:"sas-text"},t))},N=e=>{let{mainText:t,secondaryText:n,renderSection:a}=e;return r.createElement(r.Fragment,null,r.createElement("div",{className:"main-text"},a(t)),!c()(n)&&r.createElement("div",{className:"secondary-text"},a(n)))};class I extends r.Component{toggleSignupModal(e){this.setState({isOpenSignupSaveModal:e})}renderSignUpSaveModal(){const{isOpenSignupSaveModal:e}=this.state,{modalLocation:t="promoBanner"}=this.props;return(0,f.MK)()?e?r.createElement(y.A,{onClose:this.toggleSignupModal.bind(this,!1),location:t}):null:r.createElement(h.A,{isOpen:e,onClose:this.toggleSignupModal.bind(this,!1)})}renderSection(e){return m.map(((t,n)=>e[t]?r.createElement("div",{key:n,className:i()("section",t,g(e,n+1))},e[t]):null))}render(){const{mainText:e={},secondaryText:t={}
1,style:n,isSignUpAndSaveEnabledOnSite:a,contentType:o,bannerContent:s,bannerColorScheme:l,isSticky:c}=this.props;if(!a)return null;const d="PRIMARY_TEAM_COLOR"===l||"SECONDARY_TEAM_COLOR"===l?p()(n,["backgroundColor","color"]):n,m=i()("signup-save-wrapper",{"primary-team-color":"PRIMARY_TEAM_COLOR"===l,"secondary-team-color":"SECONDARY_TEAM_COLOR"===l}),g=r.createElement("div",{className:m},r.createElement(E.$,{className:"signup-save",style:d,onPress:this.toggleSignupModal.bind(this,!0),"data-trk-id":"Signup-save",variant:u.Vt.UNSTYLED},"ICON_WITH_TEXT"===o?r.createElement(S,{bannerContent:s}):r.createElement(N,{mainText:e,secondaryText:t,renderSection:this.renderSection})));return c?r.createElement(v.A,{id:A.AN.SIGNUP_SAVE_BANNER,position:A.Yl.TOP},g,this.renderSignUpSaveModal()):r.createElement(r.Fragment,null,g,this.renderSignUpSaveModal())}constructor(e){super(e),this.state={isOpenSignupSaveModal:!1}}}I.defaultProps={},I.propTypes={mainText:s().object,secondaryText:s().object,style:s().object,signupModal:s().object,bannerColorScheme:s().string,isSticky:s().bool,modalLocation:s().string};const C=(0,b.V4)(I,"signup-save","site-settings")},87165(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(92108),s=n(45366),l=n(46123),c=n.n(l),d=n(64022),p=n(60268),u=n(25471),m=n.n(u);!function(e){const t=document.getElementsByClassName(e),n=o.A.getData("initialAppContext"),l=c()(n,"device.isMobile",!1),u=c()(n,"isTestSiteMode",!1),g=c()(n,"serverTimeUTCinMs",void 0),h=c()(n,"originalUrl","");for(let e=0;e<t.length;e++){const y=t[e],f=y.parentNode.dataset.trkId,{[f]:{settings:E}={}}=c()(n,"lumenSettings.settings"),T=o.A.getData(s.Fb);let v=o.A.getData("ln-context");v={...v,requestUrl:h},i.render(a.createElement(d.A.Provider,{value:{translate:p.A,platform:o.A}},a.createElement(m(),(0,r.A)({},E,{appContext:n,lnContext:v,isNewSession:T,isMobile:l,isTestSiteMode:u,serverTimeUTCinMs:g}))),y)}}("pl-sliver")},18009(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(25219),s=n(5765);const l=JSON.parse('{"id":"SMART_IMAGE","name":"Smart Image","description":"Properties for smart image which sets different images to shown under certain conditions","type":"object","root":true,"content":true,"properties":{"smartImageDefaultImage":{"$ref":"IMAGE_NO_REQ","description":"Default content image for smart image component"},"smartImageConditions":{"type":"array","name":"Conditional Targeting","description":"The condition to target and the image to display","items":{"type":"object","name":"Select an option and add an image","description":"Options for conditions","properties":{"conditionType":{"type":"string","name":"Condition","description":"Condition for display","enum":["Order Promo Eligible","Smart Exclusion","Soft Exclusion","Clearance","Free Ship Eligible","Jersey Assurance","Return Eligible"]},"clickableImage":{"$ref":"CLICKABLE_IMAGE","name":"Image"}},"required":["conditionType","clickableImage"]}}}}');var c=n(59152),d=n(53089),p=n(14020),u=n(46341),m=n(1098),g=n(98532);class h extends a.Component{getImageContent(){const{smartImageDefaultImage:e,smartImageConditions:t,isPercentOffCoupon:n,returnEligible:r}=this.props,a=(0,o.S)({...this.props,isPercentOffCoupon:n,imageConditions:t,returnEligible:r});return a?a.clickableImage:e}render(){const e=this.getImageContent(),{srcSet:t,alt:n}=e||{},i=(0,g.AN)(this.props.contentHostname,t);return!!e&&a.createElement(s.A,(0,r.A)({className:"smart-image"},i,{alt:n}))}}h.mapStateToProps=e=>{const{selectedSize:t={},potentialDiscount:n,price:r,isJerseyAssuranceEligible:a,derivedExclusions:i,isPercentOffCoupon:o,returnEligible:s}=e;return{selectedSize:t,potentialDiscount:n,price:r,isJerseyAssuranceEligible:a,derivedExclusions:i,isPercentOffCoupon:o,returnEligible:s}};const y=(0,m.A)(h,l),f=(0,u.V4)(y,"smart-image","assets"),E=(0,d.Ng)(h.mapStateToProps)(f),T=(0,p.A)(E,c.A);var v=n(92108),A=n(46123),b=n.n(A),S=n(64022),N=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=b()(v.A.getData("initialAppContext"),`lumenSettings.settings[${o}].settings`,{});i.render(a.createElement(S.A.Provider,{value:{translate:N.A,platform:v.A}},a.createElement(T,(0,r.A)({},s))),n)}}("pl-smart-image")},72855(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(33190),s=n(92108);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],l=n.parentNode.dataset.trkId,{domainUrl:c,canonicalUrl:d,requestUrl:p,lumenSettings:{settings:{[l]:{settings:u}={}}}}=s.A.getData("initialAppContext"),m=`${c}/${d||p}`;i.render(a.createElement(o.A,(0,r.A)({currentUrl:m},u)),n)}}("pl-social-media-links")}
1,98941(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(62139),s=n(64022),l=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],c=n.parentNode.dataset.trkId,{lumenSettings:{settings:{[c]:{settings:d}={}}}}=platform.getData("initialAppContext");i.render(a.createElement(s.A.Provider,{value:{translate:l.A}},a.createElement(o.A,(0,r.A)({},d.storeLocator))),n)}}("pl-store-locator-widget")},25940(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(60268),s=n(64022),l=n(92108),c=(n(74509),n(39067)),d=n.n(c),p=n(56566),u=n(99870),m=n.n(u),g=n(3514),h=n.n(g),y=n(26251),f=n(90613),E=n(61537),T=n(36324),v=n(1098);const A=JSON.parse('{"id":"SWIPABLE_IMAGES_CAROUSEL","name":"Swipable Images Carousel settings","description":"The necessary properties to render the Swipable Images Carousel component","type":"object","root":true,"content":true,"properties":{"swipableImagesCarouselHeading":{"type":"string","name":"Swipable Images Carousel Heading","description":"Swipable Images Carousel Heading"},"headingColor":{"type":"string","name":"Text Color","description":"Color of the Swipable Images Carousel Heading, title and subtitle for each carousel item","default":"black","enum":["black","white"]},"carouselImages":{"type":"array","name":"Carousel Images","description":"Swipable Images Carousel Images","items":{"type":"object","name":"Carousel Image","properties":{"href":{"type":"string","name":"href","description":"href attribute specifies the destination address of the image"},"alt":{"type":"string","name":"alt","description":"alt attribute specifies an alternate text for an image"},"srcSet":{"$ref":"SRC_SET","description":"Defines properties of the image src sets"},"title":{"name":"Title text","type":"string","description":"Text for the title will wrap to a maximum of two lines","shouldTranslate":true,"maxLength":35},"subtitle":{"name":"Subtitle text","type":"string","description":"Text for the subtitle will wrap to a maximum of two lines","shouldTranslate":true,"maxLength":60}},"required":["alt","srcSet"]}},"backgroundImage":{"$ref":"IMAGE","description":"Defines Background Image for Swipable Images Carousel Container"},"fontStyling":{"type":"string","name":"Font Styling","description":"Controls the subtitle font size styling. DEFAULT uses standard font size. CONDENSED sets the subtitle font size to 12px on mobile devices.","enum":["DEFAULT","CONDENSED"],"default":"DEFAULT"},"version":{"type":"string","name":"Version","description":"Swipable Image Carousel version - BROADER defines old UI, COMPACT defines new UI","enum":["BROADER","COMPACT"],"default":"BROADER"}}}');var b=n(84470),S=n(52878),N=n(48648),I=n(46341),C=n(98532);const x={BROADER:"BROADER",COMPACT:"COMPACT"},L={DEFAULT:"DEFAULT",CONDENSED:"CONDENSED"},k=e=>{let{srcSet:t,alt:n,href:r,compact:i,contentHostname:o}=e;const s=a.createElement(T.Ay,{srcSet:(0,y.I)(t,{SMALL:500,MEDIUM:600,LARGE:600}),alt:n,href:r,dataTrkId:n,contentHostname:o});return i?a.createElement(p.C,{variant:"no-padded",className:"swipable-image"},s):s},w=e=>{const{appContext:t,headingColor:n,version:r,fontStyling:i,carouselImages:o,swipableImagesCarouselHeading:s,backgroundImage:l,placementName:c,contentHostname:d}=e,{srcSet:p={}}=l||{},u=p[(0,E.iJ)(p.LARGE)],g=u?(0,C.R_)(d,u):"",y=(e=>e===x.COMPACT)(r),T=y?"swipable-image-card":"swipable-image",v=(0,S.d)({appContext:t,only:[N.RESOURCE_ID_TO_PAGE_TYPE.o.resourceIdentifier,"l",{resource:N.RESOURCE_ID_TO_PAGE_TYPE.d.resourceIdentifier,name:"Jerseys"}]});return(0,a.useEffect)((()=>{v&&(0,b.Ji)({appContext:t,settingID:c})}),[]),a.createElement("div",{className:`swipable-images-carousel-container-${r.toLowerCase()}`,style:{background:`url(${g})`}},h()(o)?null:a.createElement("div",{className:m()("swipable-carousel",{"swipable-carousel-condensed":i===L.CONDENSED})},s?a.createElement("div",{className:m()("swipable-images-carousel-header",`text-${n}`)},s):null,a.createElement(f.A,{useCustomScroll:!0},o.map(((e,t)=>{let{srcSet:r,alt:i,href:o,title:s,subtitle:l}=e;return a.createElement("div",{key:t,className:m()("center",T)},a.createElement(k,{srcSet:r,alt:i,href:o,compact:y,contentHostname:d}),(s||l)&&a.createElement("div",{className:m()("swipable-image-text",`text-${n}`)},s&&a.createElement("div",{className:"swipable-image-title"},s),l&&a.createElement("div",{className:"swipable-image-subtitle"},l)))})))))};w.propTypes={appContext:d().object,headingColor:d().oneOf(["black","white"]),version:d().oneOf(Object.values(x)),fontStyling:d().oneOf(Object.values(L)),carouselImages:d().arrayOf(d().shape({srcSet:d().object,alt:d().string,href:d().string,title:d().string,
1subtitle:d().string})),swipableImagesCarouselHeading:d().string,backgroundImage:d().shape({srcSet:d().object}),placementName:d().string},w.defaultProps={headingColor:"black",version:x.BROADER,fontStyling:L.DEFAULT,carouselImages:[],swipableImagesCarouselHeading:"",backgroundImage:{}};const O=(0,I.V4)((0,v.A)(w,A),"assets");!function(e){const t=document.getElementsByClassName(e),n=l.A.getData("initialAppContext");for(let e=0;e<t.length;e++){const c=t[e],d=c.parentNode.dataset.trkId,{lumenSettings:{settings:{[d]:{settings:p}={}}}}=n;i.render(a.createElement(s.A.Provider,{value:{translate:o.A,platform:l.A}},a.createElement(O,(0,r.A)({},p,{appContext:n,placementName:d}))),c)}}("pl-swipable-images-carousel")},77857(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(22886),s=n(64022),l=n(60268),c=n(46123),d=n.n(c);!function(e){const t=document.getElementsByClassName(e);for(const e of t){const t=e.parentNode.dataset.trkId,n=platform.getData("initialAppContext"),c=d()(n,`lumenSettings.settings[${t}].settings`,{});i.render(a.createElement(s.A.Provider,{value:{translate:l.A,platform}},a.createElement(o.A,(0,r.A)({placementName:t},c))),e)}}("pl-team-widget")},10688(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(53089),s=n(46123),l=n.n(s),c=n(39067),d=n.n(c),p=n(14020),u=n(48984),m=n(62508),g=n(89041),h=n(46341),y=n(84470),f=n(54916),E=n(21309);const T=72,v={PRODUCT:"PRODUCT",DEPARTMENT:"DEPARTMENT"},A=e=>{let{maxResultThreshold:t=T,totalProductCount:n,carouselType:i=v.PRODUCT,carousel:o={},departmentsCarousel:s={},appContext:c,placementName:d,isThresholdBasedCarouselEnabled:p,...u}=e;const h=null!==n&&n<=t,A=i===v.DEPARTMENT,b=i===v.PRODUCT&&h&&l()(o,"carouselSubType")===E.c.FAVORITE_TEAMS,{additionalFilters:S,favoritesLoaded:N}=(0,f.A)({carouselSubType:l()(o,"carouselSubType"),enabled:b,filters:l()(o,"filters")||""}),I=N&&S.length>0,C=(0,a.useRef)(!1);return(0,a.useEffect)((()=>{h&&c&&d&&!A&&!C.current&&I&&(C.current=!0,(0,y.Ji)({appContext:c,settingID:d,settings:["isThresholdBasedCarouselEnabled"]}))}),[h,I]),h&&p?A?a.createElement(g.A,(0,r.A)({},u,s,{appContext:c,placementName:d,isProductCountWithinThreshold:h})):b&&!I?null:a.createElement(m.A,(0,r.A)({},u,o,{appContext:c,placementName:d})):null};A.defaultProps={maxResultThreshold:T,totalProductCount:null,carouselType:v.PRODUCT,carousel:{},departmentsCarousel:{},isThresholdBasedCarouselEnabled:!1},A.propTypes={maxResultThreshold:d().number,totalProductCount:d().oneOfType([d().number,d().oneOf([null])]),carouselType:d().oneOf([v.PRODUCT,v.DEPARTMENT]),carousel:d().object,departmentsCarousel:d().object,appContext:d().object.isRequired,placementName:d().string,isThresholdBasedCarouselEnabled:d().bool};const b=(0,h.V4)(A,"threshold-based-carousel"),S=(0,o.Ng)((e=>({totalProductCount:l()(e,"search.totalProductCount",null)})))(b),N=(0,p.A)(S,u.A);var I=n(92108),C=n(64022),x=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=I.A.getData("initialAppContext"),{[o]:{settings:l}={}}=s.lumenSettings.settings;i.render(a.createElement(C.A.Provider,{value:{translate:x.A,platform:I.A}},a.createElement(N,(0,r.A)({},l,{placementName:o,appContext:s}))),n)}}("pl-threshold-based-carousel")},76497(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(40387),s=n(92108),l=n(46123),c=n.n(l);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],l=n.parentNode.dataset.trkId,d=s.A.getData("initialAppContext"),p=c()(d,`lumenSettings.settings[${l}].settings`,{}),u=c()(d,"lumenSettings.settings.TITLE_LINK_LIST.settings",{});i.render(a.createElement(o.A,(0,r.A)({placementName:l,appContext:d},p,u)),n)}}("pl-title-link-list")},21784(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=(n(14292),n(46123)),s=n.n(o),l=n(3514),c=n.n(l),d=n(83089),p=n(64485);const u=JSON.parse('{"id":"VERTICAL_GRID","name":"Vertical Grid","description":"Settings needed to control the Vertical Grid","root":true,"content":true,"type":"object","properties":{"enableVerticalGrid":{"type":"boolean","name":"Enable Vertical Grid","description":"Whether or not to enable vertical grid","default":false},"numberOfProducts":{"type":"number","name":"Number Of Products","description":"Total number of products to be displayed on grid","enum":[8,12,16],"default":8},"initialProductsDisplayed":{"type":"number","name":"Initial Products Displayed","description":"The number of products to be displayed on page load.","enum":[4,6,8],"default":4},"additionalProductsOnButtonClick":{"type":"number","name":"Additional Products On Button Click","description":"The number of products to be displayed on clicking view more button.","enum":[4,6,8],"default":4},"carouselTitle":{"type":"string","name":"Carousel Title","description":"Title of the carousel.","shouldTranslate":true,"default":"You\'ll Also Love"},"viewMoreLabel":{"type":"string","name":"View More Label","description":"Label for the view more button. Avavilable placeholders: {count} ","shouldTranslate":true,"default":"View {count} More"}}}');var m=n(1098),g=n(46341),h=n(34145),y=n(90706),f=n(47057),E=n(56565
1),T=n(87129),v=n(39506),A=n(22377),b=n(21146);const S={IDLE:"IDLE",LOADING:"LOADING",SUCCESS:"SUCCESS",FAILURE:"FAILURE"},N=e=>{let{carouselTitle:t}=e;return a.createElement("h4",{className:"grid-title"},t)},I=e=>{let{numberOfProductsDisplayed:t,placementName:n,appContext:r,setShowButton:i,initialProductsDisplayed:o,setShowGrid:l}=e;const d=(e=>{let{placementName:t}=e;return{queryType:"productListings",data:{algorithm:"CUSTOMERS_ALSO_VIEWED",type:t}}})({placementName:n});return a.createElement(f.A,null,(e=>a.createElement(y.A,{initiateLoad:e,queryData:d,appContext:r},(e=>{let{status:n,data:d={}}=e;if(n===(null===S||void 0===S?void 0:S.IDLE)||n===(null===S||void 0===S?void 0:S.LOADING))return a.createElement(v.A,{length:o});if(n===(null===S||void 0===S?void 0:S.FAILURE))return null;const p=s()(d,"productListings[0].products",[]);if(c()(p))return l(!1),null;const u=p.length,m=p.slice(0,t),g=(0,T.$s)(r);return i(!0),a.createElement("div",{className:"grid-container"},m.map(((e,t)=>{var n;return a.createElement("div",{className:"grid-item",key:t},a.createElement(E.Ay,{index:t,productCardAdditionalClass:"carousel-product-card",productMediaOverrideClass:"carousel-product-image",productInfoOverrideClass:"carousel-product-info",shouldRenderColorSelector:!1,data:e,bopisEligible:null===e||void 0===e||null===(n=e.shippingInfo)||void 0===n?void 0:n.bopisEligible,isPercentOffCoupon:(0,T.Vp)(g),couponValues:g,appContext:r,showJerseyAssuranceEligibility:!1,isDynamicCarousel:!0,showAdditionalImages:!1,productFlagLocationContext:b.DR.CAROUSEL_PRODUCT_CARD,isLastCard:t===u-1}))})))}))))},C=e=>{let{buttonCount:t,viewMoreLabel:n}=e;const r={count:t};return a.createElement(h.A,{msg:n,replacements:r})},x=e=>{let{buttonCount:t,viewMoreLabel:n,loadMoreProducts:r}=e;return a.createElement(d.$,{className:"vertical-grid-button",onPress:()=>r(),"data-trk-id":"vertical-grid-carousel",variant:p.Vt.UNSTYLED},a.createElement("div",{className:"view-more-label"},a.createElement(C,{buttonCount:t,viewMoreLabel:n}),a.createElement(A.A,{icon:"plus"})))},L=(0,m.A)((e=>{let{enableVerticalGrid:t,numberOfProducts:n,initialProductsDisplayed:r,additionalProductsOnButtonClick:i,carouselTitle:o,viewMoreLabel:s,appContext:l,placementName:c}=e;const[d,p]=(0,a.useState)(r),[u,m]=(0,a.useState)(!1),[g,h]=(0,a.useState)(!0);if(!t)return null;const y=Math.min(i,n-d);return g?a.createElement("div",{className:"vertical-grid-container"},a.createElement(N,{carouselTitle:o}),a.createElement(I,{numberOfProductsDisplayed:d,placementName:c,appContext:l,setShowButton:m,initialProductsDisplayed:r,setShowGrid:h}),u&&d<n?a.createElement(x,{buttonCount:y,loadMoreProducts:()=>{p((e=>{const t=e+i;return t<=n?t:n}))},viewMoreLabel:s}):null):null}),[u]),k=(0,g.V4)(L,"vertical-grid");var w=n(92108),O=n(64022),D=n(60268);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,s=w.A.getData("initialAppContext"),{[o]:{settings:l}={}}=s.lumenSettings.settings;i.render(a.createElement(O.A.Provider,{value:{translate:D.A,platform:w.A}},a.createElement(k,(0,r.A)({},l,{placementName:o,appContext:s}))),n)}}("pl-vertical-grid")},5068(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(385),s=n(90303),l=n(66809),c=n(17353),d=n(96018);let p=class extends a.Component{componentDidUpdate(){this.state.usesTeamLogos&&(0,l.X3)(this.props.onDemandSpriteUrl)}getColSize(e){if(e)return`column linkGroups large-${Math.floor(12/e)}`}getLogoClassName(e,t){if(e){if(e.organization)return`${t} o-${e.organization}`;if(e.team)return this.state.usesTeamLogos||this.setState({usesTeamLogos:!0}),`${t} t-${e.team}`}}buildLinkGroupTitle(e){if(e)return a.createElement("div",{className:"title-text"},a.createElement(s.A,(0,r.A)({},e,{logoClassName:this.getLogoClassName(e.logo,"logo-64")})))}buildLinkGroup(e){const t=[],{links:n=[]}=e;return n.forEach((e=>{t.push(a.createElement(c.Ay,{href:e.href,logoClassName:this.getLogoClassName(e.logo,"logo-22"),"data-trk-id":(0,d.pl)({trackId:e.title}),className:"link"},e.logo?a.createElement("span",{className:this.getLogoClassName(e.logo,"logo-22")}):null,e.text))})),a.createElement(o.A,{items:t,type:"ul"})}buildViewAllLink(e){if(e.viewAll)return a.createElement("div",{className:"view-all"},a.createElement(c.Ay,{href:e.viewAll.href,"data-trk-id":(0,d.pl)({trackId:e.viewAll.title}),className:"link"},e.viewAll.text))}buildLinkGroups(e){const t=this.getColSize(e.length);return e.map(((e,n)=>a.createElement("div",{className:t,key:n},this.buildLinkGroupTitle(e.groupTitle,n),this.buildLinkGroup(e,n),this.buildViewAllLink(e))))}buildLeagueCard(e){return e.map(((e,t)=>a.createElement("div",{className:"column small-6 medium-4",key:t},a.createElement("div",{className:"league-card"},a.createElement(s.A,(0,r.A)({},e.groupTitle,{logoClassName:this.getLogoClassName(e.groupTitle.logo,"logo-64")}))))))}render(){return a.createElement("div",{className:"league-navigation"},a.createElement("div",{className:"league-list row"},this.buildLinkGroups(this.props.data)),a.createElement("div",{className:"league-cards row small-collapse"},this.buildLeagueCard(this.props.data)))}constructor(e){super(e),this.state={usesTeamLogos:!1}}};p.defaultProps={data:[]};let u=class extends a.Component{render(){return a.createElement("div",{className:"vertical-list"},a.createElement(p,{data:this.props.linkGroup,onDemandSpriteUrl:(0,l.lG)(this.props.appContext)}))}};var m=n(92108);!function(e){const t=document.getElementsByClassName(e),n=m.A.getData("initialAppContext");for(let e=0;e<t.length;e++){const o=t[e],s=o.parentNode.dataset.trkId,{[s]:{settings:l}={}}=n.lumenSettings.settings;i.render(a.createElement(u,(0,r.A)({},l,{appContext:n})),o)}}("pl-vertical-list")}
1,51177(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(99870),s=n.n(o),l=n(39067),c=n.n(l),d=n(1098);const p=JSON.parse('{"id":"VIDEO_CARD","name":"Video Card","title":"JSON Schemas for Video Card","description":"The necessary properties to overlay a video with optional text, buttons, and other components","root":true,"content":true,"type":"object","properties":{"videoCardType":{"type":"string","name":"Video Card Type","description":"Controls the display format of the video card. \'DEFAULT\' shows only the video with overlay elements. \'TITLE_AND_SPACING\' adds a prominent title above the video with additional padding around the entire component.","enum":["DEFAULT","TITLE_AND_SPACING"],"default":"DEFAULT"},"autoPlay":{"type":"boolean","name":"Auto Play","description":"Whether the video plays automatically when in view or requires manual interaction. Note: Most browsers only allow autoplay when the video is muted.","default":true},"overlay":{"type":"object","name":"Overlay","description":"Overlay sections for different positions on the video card","properties":{"top":{"type":"object","name":"Overlay Section","description":"Individual overlay section content and style","properties":{"backgroundColor":{"type":"string","name":"Background Color","description":"Color of the rectangle behind the content"},"backgroundOpacity":{"type":"integer","name":"Background Opacity","description":"How opaque / transparent should the background rectangle be? 100 = Fully Opaque","enum":[100,75,50,25,0]},"verticalAlign":{"type":"string","name":"Vertical Align","description":"Where the children should be aligned vertically within the rectangle overlay","enum":["start","center","end"]},"horizontalAlign":{"type":"string","name":"Horizontal Align","description":"Where the children should be aligned horizontally within the rectangle overlay","enum":["start","center","end"]},"contents":{"type":"object","name":"Contents Configuration","properties":{"component":{"type":"string","name":"component","description":"Define the type of component to render.","enum":["LIVE_TEXT","CTA","LIVE_TEXT_AND_CTA"]}},"dependencies":{"component":{"oneOf":[{"properties":{"component":{"enum":["LIVE_TEXT"]},"liveText":{"type":"object","name":"Live Text Settings","description":"Settings for the live text component.","$ref":"LIVE_TEXT"}}},{"properties":{"component":{"enum":["CTA"]},"cta":{"type":"array","name":"CTA List","description":"Up to 3 CTA buttons","maxItems":3,"items":{"type":"object","$ref":"CTA"}}}},{"properties":{"component":{"enum":["LIVE_TEXT_AND_CTA"]},"liveTextAndCta":{"type":"object","name":"Live Text with CTA Settings","description":"Settings for the live text component with a list of call-to-action buttons.","properties":{"text":{"type":"object","$ref":"LIVE_TEXT"},"cta":{"type":"array","name":"CTA List","description":"Up to 3 CTA buttons","maxItems":3,"items":{"type":"object","$ref":"CTA"}}}}}}]}}}}}
1,"top_left":{"type":"object","name":"Overlay Section","description":"Individual overlay section content and style","properties":{"backgroundColor":{"type":"string","name":"Background Color","description":"Color of the rectangle behind the content"},"backgroundOpacity":{"type":"integer","name":"Background Opacity","description":"How opaque / transparent should the background rectangle be? 100 = Fully Opaque","enum":[100,75,50,25,0]},"verticalAlign":{"type":"string","name":"Vertical Align","description":"Where the children should be aligned vertically within the rectangle overlay","enum":["start","center","end"]},"horizontalAlign":{"type":"string","name":"Horizontal Align","description":"Where the children should be aligned horizontally within the rectangle overlay","enum":["start","center","end"]},"contents":{"type":"object","name":"Contents Configuration","properties":{"component":{"type":"string","name":"component","description":"Define the type of component to render.","enum":["LIVE_TEXT","CTA","LIVE_TEXT_AND_CTA"]}},"dependencies":{"component":{"oneOf":[{"properties":{"component":{"enum":["LIVE_TEXT"]},"liveText":{"type":"object","name":"Live Text Settings","description":"Settings for the live text component.","$ref":"LIVE_TEXT"}}},{"properties":{"component":{"enum":["CTA"]},"cta":{"type":"array","name":"CTA List","description":"Up to 3 CTA buttons","maxItems":3,"items":{"type":"object","$ref":"CTA"}}}},{"properties":{"component":{"enum":["LIVE_TEXT_AND_CTA"]},"liveTextAndCta":{"type":"object","name":"Live Text with CTA Settings","description":"Settings for the live text component with a list of call-to-action buttons.","properties":{"text":{"type":"object","$ref":"LIVE_TEXT"},"cta":{"type":"array","name":"CTA List","description":"Up to 3 CTA buttons","maxItems":3,"items":{"type":"object","$ref":"CTA"}}}}}}]}}}}},"top_right":{"type":"object","name":"Overlay Section","description":"Individual overlay section content and style","properties":{"backgroundColor":{"type":"string","name":"Background Color","description":"Color of the rectangle behind the content"},"backgroundOpacity":{"type":"integer","name":"Background Opacity","description":"How opaque / transparent should the background rectangle be? 100 = Fully Opaque","enum":[100,75,50,25,0]},"verticalAlign":{"type":"string","name":"Vertical Align","description":"Where the children should be aligned vertically within the rectangle overlay","enum":["start","center","end"]},"horizontalAlign":{"type":"string","name":"Horizontal Align","description":"Where the children should be aligned horizontally within the rectangle overlay","enum":["start","center","end"]},"contents":{"type":"object","name":"Contents Configuration","properties":{"component":{"type":"string","name":"component","description":"Define the type of component to render.","enum":["LIVE_TEXT","CTA","LIVE_TEXT_AND_CTA"]}},"dependencies":{"component":{"oneOf":[{"properties":{"component":{"enum":["LIVE_TEXT"]},"liveText":{"type":"object","name":"Live Text Settings","description":"Settings for the live text component.","$ref":"LIVE_TEXT"}}},{"properties":{"component":{"enum":["CTA"]},"cta":{"type":"array","name":"CTA List","description":"Up to 3 CTA buttons","maxItems":3,"items":{"type":"object","$ref":"CTA"}}}},{"properties":{"component":{"enum":["LIVE_TEXT_AND_CTA"]},"liveTextAndCta":{"type":"object","name":"Live Text with CTA Settings","description":"Settings for the live text component with a list of call-to-action buttons.","properties":{"text":{"type":"object","$ref":"LIVE_TEXT"},"cta":{"type":"array","name":"CTA List","description":"Up to 3 CTA buttons","maxItems":3,"items":{"type":"object","$ref":"CTA"}}}}}}]}}}}},"bottom":{"type":"object","name":"Overlay Section","description":"Individual overlay section content and style","properties":{"backgroundColor":{"type":"string","name":"Background Color","description":"Color of the rectangle behind the content"},"backgroundOpacity":{"type":"integer","name":"Background Opacity","description":"How opaque / transparent should the background rectangle be? 100 = Fully Opaque","enum":[100,75,50,25,0]},"verticalAlign":{"type":"string","name":"Vertical Align","description":"Where the children should be aligned vertically within the rectangle overlay","enum":["start","center","end"]},"horizontalAlign":{"type":"string","name":"Horizontal Align","description":"Where the children should be aligned horizontally within the rectangle overlay","enum":["start","center","end"]},"contents":{"type":"object","name":"Contents Configuration","properties":{"component":{"type":"string","name":"component","description":"Define the type of component to render.","enum":["LIVE_TEXT","CTA","LIVE_TEXT_AND_CTA"]}},"dependencies":{"component":{"oneOf":[{"properties":{"component":{"enum":["LIVE_TEXT"]}
1,"liveText":{"type":"object","name":"Live Text Settings","description":"Settings for the live text component.","$ref":"LIVE_TEXT"}}},{"properties":{"component":{"enum":["CTA"]},"cta":{"type":"array","name":"CTA List","description":"Up to 3 CTA buttons","maxItems":3,"items":{"type":"object","$ref":"CTA"}}}},{"properties":{"component":{"enum":["LIVE_TEXT_AND_CTA"]},"liveTextAndCta":{"type":"object","name":"Live Text with CTA Settings","description":"Settings for the live text component with a list of call-to-action buttons.","properties":{"text":{"type":"object","$ref":"LIVE_TEXT"},"cta":{"type":"array","name":"CTA List","description":"Up to 3 CTA buttons","maxItems":3,"items":{"type":"object","$ref":"CTA"}}}}}}]}}}}},"bottom_left":{"type":"object","name":"Overlay Section","description":"Individual overlay section content and style","properties":{"backgroundColor":{"type":"string","name":"Background Color","description":"Color of the rectangle behind the content"},"backgroundOpacity":{"type":"integer","name":"Background Opacity","description":"How opaque / transparent should the background rectangle be? 100 = Fully Opaque","enum":[100,75,50,25,0]},"verticalAlign":{"type":"string","name":"Vertical Align","description":"Where the children should be aligned vertically within the rectangle overlay","enum":["start","center","end"]},"horizontalAlign":{"type":"string","name":"Horizontal Align","description":"Where the children should be aligned horizontally within the rectangle overlay","enum":["start","center","end"]},"contents":{"type":"object","name":"Contents Configuration","properties":{"component":{"type":"string","name":"component","description":"Define the type of component to render.","enum":["LIVE_TEXT","CTA","LIVE_TEXT_AND_CTA"]}},"dependencies":{"component":{"oneOf":[{"properties":{"component":{"enum":["LIVE_TEXT"]},"liveText":{"type":"object","name":"Live Text Settings","description":"Settings for the live text component.","$ref":"LIVE_TEXT"}}},{"properties":{"component":{"enum":["CTA"]},"cta":{"type":"array","name":"CTA List","description":"Up to 3 CTA buttons","maxItems":3,"items":{"type":"object","$ref":"CTA"}}}},{"properties":{"component":{"enum":["LIVE_TEXT_AND_CTA"]},"liveTextAndCta":{"type":"object","name":"Live Text with CTA Settings","description":"Settings for the live text component with a list of call-to-action buttons.","properties":{"text":{"type":"object","$ref":"LIVE_TEXT"},"cta":{"type":"array","name":"CTA List","description":"Up to 3 CTA buttons","maxItems":3,"items":{"type":"object","$ref":"CTA"}}}}}}]}}}}},"bottom_right":{"type":"object","name":"Overlay Section","description":"Individual overlay section content and style","properties":{"backgroundColor":{"type":"string","name":"Background Color","description":"Color of the rectangle behind the content"},"backgroundOpacity":{"type":"integer","name":"Background Opacity","description":"How opaque / transparent should the background rectangle be? 100 = Fully Opaque","enum":[100,75,50,25,0]},"verticalAlign":{"type":"string","name":"Vertical Align","description":"Where the children should be aligned vertically within the rectangle overlay","enum":["start","center","end"]},"horizontalAlign":{"type":"string","name":"Horizontal Align","description":"Where the children should be aligned horizontally within the rectangle overlay","enum":["start","center","end"]},"contents":{"type":"object","name":"Contents Configuration","properties":{"component":{"type":"string","name":"component","description":"Define the type of component to render.","enum":["LIVE_TEXT","CTA","LIVE_TEXT_AND_CTA"]}},"dependencies":{"component":{"oneOf":[{"properties":{"component":{"enum":["LIVE_TEXT"]},"liveText":{"type":"object","name":"Live Text Settings","description":"Settings for the live text component.","$ref":"LIVE_TEXT"}}},{"properties":{"component":{"enum":["CTA"]},"cta":{"type":"array","name":"CTA List","description":"Up to 3 CTA buttons","maxItems":3,"items":{"type":"object","$ref":"CTA"}}}},{"properties":{"component":{"enum":["LIVE_TEXT_AND_CTA"]},"liveTextAndCta":{"type":"object","name":"Live Text with CTA Settings","de
1scription":"Settings for the live text component with a list of call-to-action buttons.","properties":{"text":{"type":"object","$ref":"LIVE_TEXT"},"cta":{"type":"array","name":"CTA List","description":"Up to 3 CTA buttons","maxItems":3,"items":{"type":"object","$ref":"CTA"}}}}}}]}}}}}}},"videos":{"type":"object","name":"Video","description":"Properties for the background videos","properties":{"list":{"type":"array","name":"Videos on background","description":"Videos per media size","items":{"type":"object","name":"Video Item","properties":{"locale":{"type":"string","description":"Language this content is made for","name":"Locale","default":"en-US"},"href":{"type":"string","name":"Href","pattern":"^(//|/|#)","description":"The destination of the main video link"},"breakpoint":{"type":"string","description":"Defines the media size at which this video should be displayed","name":"Breakpoint","enum":["small","medium","large"]},"src":{"type":"string","name":"Video Source","description":"URL of the video file"},"thumbnailUrl":{"name":"Poster Image","description":"Fallback image to display until the video loads.","type":"object","properties":{"component":{"type":"string","name":"component","description":"Define the type of component to render.","enum":["IMAGE_UPLOAD","STRING_SRC"]}},"dependencies":{"component":{"oneOf":[{"properties":{"component":{"enum":["IMAGE_UPLOAD"]},"srcSet":{"type":"object","name":"Image Upload","$ref":"IMAGE_UPLOAD"}}},{"properties":{"component":{"enum":["STRING_SRC"]},"stringSrc":{"type":"string","description":"URL of the poster image.","pattern":"^(https?:\\\\/\\\\/)?.*\\\\.(jpg|jpeg|png|gif|webp)$","name":"Poster Image URL"}}}]}}},"muted":{"type":"boolean","name":"Muted","description":"Should the video start muted?","default":false},"hideMute":{"type":"boolean","name":"Hide Mute Icon","description":"Should this video be permanent muted?","default":false},"loop":{"type":"boolean","name":"Loop","description":"Should the video loop?","default":true}},"required":["src"]}}}}},"dependencies":{"videoCardType":{"oneOf":[{"properties":{"videoCardType":{"enum":["DEFAULT"]}}},{"properties":{"videoCardType":{"enum":["TITLE_AND_SPACING"]},"title":{"type":"string","name":"Title","description":"Title to display in the video card when using TITLE_AND_SPACING type"}},"required":["title"]}]}},"required":["videos"]}');var u=n(13746),m=n(3514),g=n.n(m),h=n(12784),y=n.n(h),f=n(92108),E=n(46123),T=n.n(E),v=n(61537);const A=()=>{if("undefined"===typeof window)return"medium";const e=640,t=1024;return window.matchMedia(`(min-width: ${t+1}px)`).matches?"large":window.matchMedia(`(min-width: ${e+1}px)`).matches?"medium":"small"},b=()=>{const e=(()=>{const[e,t]=(0,a.useState)((()=>A())),n=(0,a.useRef)(y()((()=>{t(A())}),200));return(0,a.useEffect)((()=>{const e=n.current,t=()=>e();return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t),e.cancel()}}),[]),e})(),t=(0,a.useCallback)((t=>{if(g()(t))return null;const n=(()=>{const e=f.A.getData("initialAppContext");return(null===e||void 0===e?void 0:e.locale)??"en-US"})();return((e,t,n)=>{const r=(e=>({small:["small","medium","large"],medium:["medium","large","small"],large:["large","medium","small"]}[e]))(t);for(const t of r){const r=e.filter((e=>e.breakpoint===t)),a=r.find((e=>e.locale===n));if(a)return a;if(!g()(r))return r[0]}return e[0]||null})(t,e,n)}),[e]);return{getBestVideoToShow:t,getThumbnailUrl:e=>T()(e,"stringSrc")?e.stringSrc:T()(e,"srcSet.LARGE")?e.srcSet.LARGE:null,getVideoAspectRatio:e=>{const{mediaWidth:t,mediaHeight:n}=(0,v.wN)(e);if(n&&t)return`${t} / ${n}`}}};var S=n(70392),N=n(33354);n(74509);const I=JSON.parse('{"id":"LIVE_TEXT","name":"Live Text","description":"Component for displaying standalone live text content, including title and optional subtitle.","type":"object","content":true,"properties":{"title":{"type":"object","name":"Title Settings","description":"Settings for the main title text.","properties":{"text":{"name":"Title Text","type":"string","description":"The text displayed as the main title.","shouldTranslate":true}
1,"color":{"name":"Title Color","type":"string","description":"The color applied to the title text.","default":"inherit"}}},"subtitle":{"type":"object","name":"Subtitle Settings","description":"Settings for the subtitle text.","properties":{"text":{"name":"Subtitle Text","type":"string","description":"The text displayed as the subtitle.","shouldTranslate":true},"color":{"name":"Subtitle Color","type":"string","description":"The color applied to the subtitle text.","default":"inherit"}}}}}'),C=e=>{let{title:t,subtitle:n}=e;return a.createElement("div",{className:"live-text-wrapper"},(null===t||void 0===t?void 0:t.text)&&a.createElement("h1",{className:"video-card-title",style:{color:t.color}},t.text),(null===n||void 0===n?void 0:n.text)&&a.createElement("h2",{className:"video-card-subtitle",style:{color:n.color}},n.text))};C.propTypes={title:c().shape({text:c().string.isRequired,color:c().string}),subtitle:c().shape({text:c().string,color:c().string})};const x=(0,d.A)(C,I);var L=n(24806);const k=JSON.parse('{"id":"CTA","name":"Call to Action","description":"Component that renders a customizable call-to-action button.","type":"object","content":true,"properties":{"text":{"type":"string","name":"Button Text","description":"The text displayed on the CTA button.","shouldTranslate":true},"href":{"type":"string","name":"Button URL","description":"The URL or action triggered when the CTA button is clicked.","pattern":"^(//|/|#)"},"backgroundColor":{"type":"string","name":"Button Background Color","description":"The background color of the CTA button.","default":"#000"},"textColor":{"type":"string","name":"Button Text Color","description":"The color of the text inside the CTA button.","default":"#fff"},"buttonShape":{"type":"string","name":"Button Shape","description":"To change the shape of the button","default":"ROUNDED","enum":["RECTANGLE","ROUNDED","NO_RADIUS"]}}}');var w=n(34499);const O=e=>{let{ctas:t}=e;const n=Array.isArray(t)?t:[t];return a.createElement(a.Fragment,null,a.createElement("div",{className:"button-container"},n.map(((e,t)=>a.createElement(L.A,{key:t,href:(null===e||void 0===e?void 0:e.href)??"",anchorStyle:"button",buttonShape:e.buttonShape,style:{backgroundColor:e.backgroundColor,color:e.textColor},className:s()("video-card-button",(0,w.oh)(e.buttonShape)),"data-trk-id":"cta-btn",id:"cta-btn",onClick:e=>e.stopPropagation()},e.text)))))};O.propTypes={ctas:c().oneOfType([c().shape({text:c().string.isRequired,href:c().string,backgroundColor:c().string,textColor:c().string,buttonShape:c().oneOf(["ROUNDED","RECTANGLE","NO_RADIUS"])}),c().arrayOf(c().shape({text:c().string.isRequired,href:c().string,backgroundColor:c().string,textColor:c().string,buttonShape:c().oneOf(["ROUNDED","RECTANGLE","NO_RADIUS"])}))])};const D=(0,d.A)(O,k),R=JSON.parse('{"id":"LIVE_TEXT_AND_CTA","name":"Live Text with CTA","description":"Component that combines live text with an optional call-to-action button.","type":"object","content":true,"properties":{"title":{"type":"object","name":"Title Settings","description":"Settings for the main title text.","properties":{"text":{"name":"Title Text","type":"string","description":"The text displayed in the title.","shouldTranslate":true},"color":{"name":"Title Color","type":"string","description":"The color of the title text."}}},"subtitle":{"type":"object","name":"Subtitle Settings","description":"Settings for the subtitle text.","properties":{"text":{"name":"Subtitle Text","type":"string","description":"The text displayed in the subtitle.","shouldTranslate":true},"color":{"name":"Subtitle Color","type":"string","description":"The color of the subtitle text."}}},"cta":{"type":"object","name":"Call to Action Button Settings","description":"Settings for the call-to-action button.","properties":{"text":{"type":"string","name":"Button Text","description":"The text displayed on the CTA button.","shouldTranslate":true},"href":{"type":"string","name":"Button URL","description":"The URL or action triggered when the CTA button is clicked.","pattern":"^(//|/|#)"}
1,"backgroundColor":{"type":"string","name":"Button Background Color","description":"The background color of the CTA button."},"textColor":{"type":"string","name":"Button Text Color","description":"The color of the text inside the CTA button."},"buttonShape":{"type":"string","name":"Button Shape","description":"To change the shape of the button","default":"ROUNDED","enum":["RECTANGLE","ROUNDED","NO_RADIUS"]}}}}}'),P=e=>{let{title:t,subtitle:n,ctas:r}=e;return a.createElement("div",{className:"live-text-with-cta-wrapper"},(t||n)&&a.createElement(x,{title:t,subtitle:n}),r&&a.createElement(D,{ctas:r}))};P.propTypes={title:c().shape({text:c().string.isRequired,color:c().string}).isRequired,subtitle:c().shape({text:c().string,color:c().string}),ctas:c().arrayOf(c().shape({text:c().string.isRequired,href:c().string,backgroundColor:c().string,textColor:c().string,buttonShape:c().oneOf(["ROUNDED","RECTANGLE","NO_RADIUS"])}))};const _=(0,d.A)(P,R);var M=n(3326),U=n.n(M);const B={LIVE_TEXT:{Component:x,propKey:"liveText"},CTA:{Component:D,propKey:"cta"},LIVE_TEXT_AND_CTA:{Component:_,propKey:"liveTextAndCta"}},F=e=>{let{overlay:t}=e;if(!t||g()(t))return null;const n=Object.entries(t);return a.createElement(a.Fragment,null,n.map((e=>{let[t,n]=e;if(i=n,g()(U()(i,"contents"))&&(!i.contents||0===Object.keys(i.contents).length))return null;var i;const{horizontalAlign:o="center",verticalAlign:l="center",backgroundOpacity:c=0,backgroundColor:d="black",contents:p=null}=n,u=(e=>{if(!(null===e||void 0===e?void 0:e.component))return null;const t=B[e.component];return(null===t||void 0===t?void 0:t.Component)||null})(p),m=(e=>{if(!(null===e||void 0===e?void 0:e.component))return null;const{component:t}=e,n=B[t];if(!n)return null;const r=e[n.propKey];if("CTA"===t&&r)return{ctas:Array.isArray(r)?r:[r]};if("LIVE_TEXT_AND_CTA"===t&&r){const{text:e,cta:t}=r;return{title:null===e||void 0===e?void 0:e.title,subtitle:null===e||void 0===e?void 0:e.subtitle,ctas:Array.isArray(t)?t:[t]}}return r})(p);return a.createElement("div",{key:t,className:s()("video-text-container",`${t}-overlay`),style:{alignItems:o,justifyContent:l}},a.createElement("div",{className:"video-text-background",style:{backgroundColor:d,opacity:c/100}}),u&&a.createElement(u,(0,r.A)({},m)))})))},j=c().shape({horizontalAlign:c().oneOf(["start","center","end"]),verticalAlign:c().oneOf(["start","center","end"]),backgroundOpacity:c().oneOf([100,75,50,25,0]),backgroundColor:c().string,contents:c().object});F.propTypes={overlay:c().shape({top:j,top_left:j,top_right:j,bottom:j,bottom_left:j,bottom_right:j})};const G=F,V={DEFAULT:"DEFAULT",TITLE_AND_SPACING:"TITLE_AND_SPACING"},H=e=>{let{overlay:t,videos:n,videoCardType:r,title:i,autoPlay:o}=e;const{getBestVideoToShow:l,getThumbnailUrl:c,getVideoAspectRatio:d}=b(),p=l(n.list),m=d(null===p||void 0===p?void 0:p.src),g=c(null===p||void 0===p?void 0:p.thumbnailUrl),h=r===V.TITLE_AND_SPACING;return a.createElement("div",{className:s()("video-card-container",(null===p||void 0===p?void 0:p.href)&&"clickable",{"video-card-with-title":h}),onClick:()=>{(null===p||void 0===p?void 0:p.href)&&(window.location.href=p.href)}},h&&i&&a.createElement("h4",{className:"video-card-title"},i),a.createElement("figure",{className:"video-card"},a.createElement(G,{overlay:t}),a.createElement(u.A,{src:p.src,loop:p.loop,thumbnailUrl:g,customIcons:{play:a.createElement("span",{className:"custom-play-btn"},a.createElement(S.A,{height:24,width:24})),pause:a.createElement("span",{className:"custom-play-btn"},a.createElement(N.A,{height:24,width:24}))},controls:{play:!0,pause:!0,mute:!p.hideMute},buttonPosition:"bottom-right",aspectRatio:m,muted:p.muted,autoPlay:o})))},$=c().shape({horizontalAlign:c().oneOf(["start","center","end"]),verticalAlign:c().oneOf(["start","center","end"]),backgroundOpacity:c().oneOf([100,75,50,25,0]),backgroundColor:c().string,contents:c().object});H.propTypes={overlay:c().shape({top:$,top_left:$,top_right:$,bottom:$,bottom_left:$,bottom_right:$}),videos:c().shape({list:c().arrayOf(c().shape({locale:c().string,breakpoint:c().oneOf(["small","medium","large"]),src:c().string.isRequired,thumbnailUrl:c().oneOfType([c().string,c().shape({srcSet:c().object.isRequired})]),loop:c().bool,muted:c().bool,hideMute:c().bool,href:c().string})).isRequired}).isRequired,videoCardType:c().oneOf([V.DEFAULT,V.TITLE_AND_SPACING]),title:c().string,autoPlay:c().bool};const W=(0,d.A)(H,p);!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,{lumenSettings:{settings:{[o]:{settings:s}={}}}}=platform.getData("initialAppContext");i.render(a.createElement(W,(0,r.A)({},s)),n)}}("pl-video-card")},24749(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144),o=n(46341),s=n(1098);const l=JSON.parse('{"id":"VIDEO_PLAYER","name":"Video Player","description":"video properties","type":"object","root":true,"content":true,"properties":{"videoDescription":{"type":"string","name":"Video Description","description":"Description of the video for screen readers"},"videoPrimaryURL":{"type":"string","name":"Primary video URL","pattern":"^(//|/|#)","description":"Primary Video URL - DASH or HLS"},"videoSecondaryURL":{"type":"string","name":"Fallback video URL","pattern":"^(//|/|#)","description":"Secondary Video URL if the first video file type does not work"},"srcSet":{"name":"Poster","description":"Image shown while video is loading","type":"object","properties":{"MEDIUM":{"type":"string","name":"Poster Image","pattern":"^(//|/)","de
1scription":"video poster"}}}}}'),c=(0,o.V4)((0,s.A)((e=>{let{videoPrimaryURL:t,videoSecondaryURL:n,srcSet:r,videoDescription:i}=e;return t?a.createElement("div",{className:"video-container",ariaDescribedBy:i},a.createElement("video",{poster:r.MEDIUM,controls:!0,controlsList:"nodownload",disablePictureInPicture:!0},a.createElement("source",{src:t}),a.createElement("source",{src:n}))):null}),l),"video-player");!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],o=n.parentNode.dataset.trkId,{lumenSettings:{settings:{[o]:{settings:s}={}}}}=platform.getData("initialAppContext");i.render(a.createElement(c,(0,r.A)({},s)),n)}}("pl-video-player")},76739(e,t,n){"use strict";var r=n(11552),a=n(14041),i=n(43144);function o(e){const{link:t}=e;return a.createElement("div",{className:"video-wrapper"},a.createElement("iframe",{className:"iframe-video-container",width:"100%",height:"100%",src:t,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}))}!function(e){const t=document.getElementsByClassName(e);for(let e=0;e<t.length;e++){const n=t[e],s=n.parentNode.dataset.trkId,{lumenSettings:{settings:{[s]:{settings:l}={}}}}=platform.getData("initialAppContext");i.render(a.createElement(o,(0,r.A)({},l)),n)}}("pl-video")}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,n.amdO={},(()=>{var e=[];n.O=(t,r,a,i)=>{if(!r){var o=1/0;for(d=0;d<e.length;d++){for(var[r,a,i]=e[d],s=!0,l=0;l<r.length;l++)(!1&i||o>=i)&&Object.keys(n.O).every((e=>n.O[e](r[l])))?r.splice(l--,1):(s=!1,i<o&&(o=i));if(s){e.splice(d--,1);var c=a();void 0!==c&&(t=c)}}return t}i=i||0;for(var d=e.length;d>0&&e[d-1][2]>i;d--)e[d]=e[d-1];e[d]=[r,a,i]}})(),n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"===typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&a&&r;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>o[e]=()=>r[e]));return o.default=()=>r,n.d(i,o),i}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>(({708:"react-phone-number-input",2616:"cart-summary-toast",3549:"react-zoom-pan-pinch",5688:"jsonwebtoken",7160:"algoliasearch",9200:"react-gpt"}[e]||e)+".js"),n.miniCssF=e=>{},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="iris:";n.l=(r,a,i,o)=>{if(e[r])e[r].push(a);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var p=c[d];if(p.getAttribute("src")==r||p.getAttribute("data-webpack")==t+i){s=p;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+i),s.src=r),e[r]=[a];var u=(t,n)=>{s.onerror=s.onload=null,clearTimeout(m);var a=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),a&&a.forEach((e=>e(n))),t)return t(n)},m=setTimeout(u.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=u.bind(null,s.onerror),s.onload=u.bind(null,s.onload),l&&document.head.appendChild(s)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=9633,n.p="/static/1.1.0-rc-20260917.183576/js/",(()=>{var e={9633:0};n.f.j=(t,r)=>{var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var i=new Promise(((n,r)=>a=e[t]=[n,r]));r.push(a[2]=i);var o=n.p+n.u(t),s=new Error;n.l(o,(r=>{if(n.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,a[1](s)}}),"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,r)=>{var a,i,[o,s,l]=r,c=0;if(o.some((t=>0!==e[t]))){for(a in s)n.o(s,a)&&(n.m[a]=s[a]);if(l)var d=l(n)}for(t&&t(r);c<o.length;c++)i=o[c],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(d)},r=self.webpackChunkiris=self.webpackChunkiris||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.O(void 0,[829,4121,2076],(()=>n(81667))),n.O(void 0,[829,4121,2076],(()=>
1n(4555))),n.O(void 0,[829,4121,2076],(()=>n(66634))),n.O(void 0,[829,4121,2076],(()=>n(23661))),n.O(void 0,[829,4121,2076],(()=>n(25931))),n.O(void 0,[829,4121,2076],(()=>n(2473))),n.O(void 0,[829,4121,2076],(()=>n(94581))),n.O(void 0,[829,4121,2076],(()=>n(38461))),n.O(void 0,[829,4121,2076],(()=>n(85253))),n.O(void 0,[829,4121,2076],(()=>n(261))),n.O(void 0,[829,4121,2076],(()=>n(98990))),n.O(void 0,[829,4121,2076],(()=>n(59641))),n.O(void 0,[829,4121,2076],(()=>n(87165))),n.O(void 0,[829,4121,2076],(()=>n(39669))),n.O(void 0,[829,4121,2076],(()=>n(5068))),n.O(void 0,[829,4121,2076],(()=>n(95427))),n.O(void 0,[829,4121,2076],(()=>n(76739))),n.O(void 0,[829,4121,2076],(()=>n(72855))),n.O(void 0,[829,4121,2076],(()=>n(84942))),n.O(void 0,[829,4121,2076],(()=>n(7360))),n.O(void 0,[829,4121,2076],(()=>n(64333))),n.O(void 0,[829,4121,2076],(()=>n(3301))),n.O(void 0,[829,4121,2076],(()=>n(87284))),n.O(void 0,[829,4121,2076],(()=>n(26160))),n.O(void 0,[829,4121,2076],(()=>n(91872))),n.O(void 0,[829,4121,2076],(()=>n(5188))),n.O(void 0,[829,4121,2076],(()=>n(76497))),n.O(void 0,[829,4121,2076],(()=>n(75158))),n.O(void 0,[829,4121,2076],(()=>n(33163))),n.O(void 0,[829,4121,2076],(()=>n(18009))),n.O(void 0,[829,4121,2076],(()=>n(56969))),n.O(void 0,[829,4121,2076],(()=>n(77857))),n.O(void 0,[829,4121,2076],(()=>n(77889))),n.O(void 0,[829,4121,2076],(()=>n(57743))),n.O(void 0,[829,4121,2076],(()=>n(25940))),n.O(void 0,[829,4121,2076],(()=>n(83240))),n.O(void 0,[829,4121,2076],(()=>n(15953))),n.O(void 0,[829,4121,2076],(()=>n(24749))),n.O(void 0,[829,4121,2076],(()=>n(53898))),n.O(void 0,[829,4121,2076],(()=>n(93645))),n.O(void 0,[829,4121,2076],(()=>n(97227))),n.O(void 0,[829,4121,2076],(()=>n(51177))),n.O(void 0,[829,4121,2076],(()=>n(62030))),n.O(void 0,[829,4121,2076],(()=>n(8482))),n.O(void 0,[829,4121,2076],(()=>n(39675))),n.O(void 0,[829,4121,2076],(()=>n(21784))),n.O(void 0,[829,4121,2076],(()=>n(47367))),n.O(void 0,[829,4121,2076],(()=>n(20087))),n.O(void 0,[829,4121,2076],(()=>n(31997))),n.O(void 0,[829,4121,2076],(()=>n(15109))),n.O(void 0,[829,4121,2076],(()=>n(63789))),n.O(void 0,[829,4121,2076],(()=>n(19124))),n.O(void 0,[829,4121,2076],(()=>n(57122))),n.O(void 0,[829,4121,2076],(()=>n(29559))),n.O(void 0,[829,4121,2076],(()=>n(3311))),n.O(void 0,[829,4121,2076],(()=>n(43542))),n.O(void 0,[829,4121,2076],(()=>n(23135))),n.O(void 0,[829,4121,2076],(()=>n(89361))),n.O(void 0,[829,4121,2076],(()=>n(97765))),n.O(void 0,[829,4121,2076],(()=>n(98941))),n.O(void 0,[829,4121,2076],(()=>n(8891))),n.O(void 0,[829,4121,2076],(()=>n(75363))),n.O(void 0,[829,4121,2076],(()=>n(78750))),n.O(void 0,[829,4121,2076],(()=>n(10688))),n.O(void 0,[829,4121,2076],(()=>n(5061))),n.O(void 0,[829,4121,2076],(()=>n(61317))),n.O(void 0,[829,4121,2076],(()=>n(64830))),n.O(void 0,[829,4121,2076],(()=>n(23061)));var r=n.O(void 0,[829,4121,2076],(()=>n(84805)));r=n.O(r)})();

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.