1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[900],{876:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(85893),s=r(67294),i=r(29163),o=r(32769),a=r(55977);let c=(0,i.ZP)(o.Z).withConfig({displayName:"CheckboxStyled",componentId:"-__sc-e6d8891f-0"})(["padding-top:",";"],a.W0.sm);var d=r(73342),l=r(15158),m=r(86706),f=r(78121),p=r(81154),g=r(1563);let u=(0,m.$j)((e,t)=>({attributeValue:(0,f.R)(e.customer,t.attribute,e.settings.retailer.maintainCustomerPreferences.optInMarketingPreferences,e.settings.retailer.maintainCustomerPreferences.sections.marketingPreferences.includes(t.attribute),(0,p.Z)(e.ui.currentUrl,[g.ZP.registrationStepTwo]))}))(e=>{let{t}=s.useContext(d.q),[r,i]=s.useState(e.attributeValue),o=()=>{let t=!r;i(t),e.handleChange(e.attribute,t)};return(0,l.Z)(()=>{let s;return(0,n.jsx)(c,{"data-testid":(s=e.attribute,`preferences-checkbox-test-id-${s}`),checkboxName:e.attribute,ariaLabel:t(`myPreferencesPage.${e.compartment}.${e.attribute}`),label:t(`myPreferencesPage.${e.compartment}.${e.attribute}`),handleChange:o,checked:r})},{componentName:"PreferenceCheckbox"})})},28261:(e,t,r)=>{r.d(t,{J9:()=>i,Us:()=>o,cv:()=>n,iz:()=>s});let n="PreferencesDropdownWrapperTestId",s="PreferencesDropdownInputTestId",i="PreferencesDropdownResetTestId",o="PreferencesDropdownInputMissingErrorTestId"},11530:(e,t,r)=>{r.d(t,{Z:()=>Z});var n=r(85893),s=r(67294),i=r(29163),o=r(32769),a=r(55977),c=r(51667),d=r(29039);(0,i.ZP)(o.Z).withConfig({displayName:"DropdownStyled",componentId:"-__sc-934ee081-0"})(["padding-top:",";"],a.W0.sm);let l=i.ZP.div.withConfig({displayName:"PreferenceWrapper",componentId:"-__sc-934ee081-1"})(["display:grid;"]),m=i.ZP.label.withConfig({displayName:"PreferenceHeader",componentId:"-__sc-934ee081-2"})(({theme:e})=>` 2 font-size: ${e.typography.text.fontSM.fontSize}; 3 font-weight: ${e.typography.weights.bold}; 4 margin: ${a.W0.sm} 0 ${a.W0.sm} 0; 5 `),f=i.ZP.div.withConfig({displayName:"PreferenceInputWrapper",componentId:"-__sc-934ee081-3"})(["position:relative;"]),p=(0,i.ZP)(c.UP).withConfig({displayName:"PreferenceInput",componentId:"-__sc-934ee081-4"})(["width:100%;padding:"," "," "," ",";"],a.W0.sm,a.W0.xxl,a.W0.sm,a.W0.sm),g=(0,i.ZP)(c.zx).withConfig({displayName:"PreferenceReset",componentId:"-__sc-934ee081-5"})(({theme:e})=>` 6 display: flex; 7 justify-content: center; 8 align-items: center; 9 width: ${a.W0.lg}; 10 height: ${a.W0.lg}; 11 position: absolute; 12 top: 50%; 13 right: ${a.W0.xs}; 14 transform: translateY(-50%); 15 cursor: pointer; 16 17 ${(0,d.E0)()}; 18 19 svg { 20 fill: ${e.colors.uiColors.greyscale4}; 21 transition: all 0.3s ease; 22 } 23 24 &:hover { 25 svg { 26 transform: rotate(90deg); 27 fill: ${e.colors.uiColors.greyscale5}; 28 } 29 } 30 `),u=(0,i.ZP)(c.zx).withConfig({displayName:"PreferenceSubmitButton",componentId:"-__sc-934ee081-6"})(({theme:e})=>` 31 display: flex; 32 justify-content: center; 33 align-items: center; 34 width: ${a.W0.lg}; 35 height: ${a.W0.lg}; 36 position: absolute; 37 top: 50%; 38 right: ${a.W0.xs}; 39 transform: translateY(-50%); 40 cursor: pointer; 41 font-size: ${e.typography.text.fontSM.fontSize}; 42 min-width: ${a.W0.xs}; 43 44 color: inherit; 45 border: none; 46 padding: 0; 47 outline: inherit; 48 49 50 51 ${(0,d.E0)()}; 52 53 svg { 54 margin: 0; 55 }`),h=i.ZP.div.withConfig({displayName:"ErrorMessage",componentId:"-__sc-934ee081-7"})(({theme:e})=>` 56 display: inline-flex; 57 color: ${e.colors.uiColors.alert}; 58 font-size: ${e.typography.text.fontSM.fontSize}; 59 margin-top:${a.W0.xs} 60 `);var C=r(59499),y=r(15158),P=r(28261),x=r(86706);(0,i.ZP)(c.XZ).withConfig({displayName:"DropdownStyled",componentId:"-__sc-41a4f4e7-0"})(["padding-top:",";"],a.W0.sm);let S=i.ZP.div.withConfig({displayName:"PreferenceAutosuggestionsWrapper",componentId:"-__sc-41a4f4e7-1"})(({theme:e})=>` 61 overflow: auto; 62 max-height: 170px; 63 64 border: none; 65 font-family: ${e.typography.text.fontSM.fontFamily}; 66 box-shadow: ${d.q.medium}; 67 68 svg { 69 fill: ${e.colors.uiColors.greyscale4}; 70 } 71`),b=i.ZP.div.withConfig({displayName:"PreferenceAutosuggestion",componentId:"-__sc-41a4f4e7-2"})(({theme:e})=>{let t=e.colors.uiColors.greyscale4;return` 72 display: flex; 73 align-items: center; 74 line-height: ${e.typography.text.fontSM.lineHeight}; 75 font-size: ${e.typography.text.fontSM.fontSize}; 76 font-weight: ${e.typography.text.fontSM.fontWeight}; 77 padding: ${a.W0.xs} ${a.W0.sm}; 78 color: ${t}; 79 cursor: pointer; 80 border: none; 81 min-height: ${a.W0.lgr}; 82 text-align: left; 83 84 svg { 85 fill: ${t}; 86 } 87 88 &:hover { 89 color: ${e.colors.uiColors.greyscale6}; 90 background-color: ${e.colors.brandColors.tertiary1}; 91 } 92 `}),I=(0,i.ZP)(c.pA).withConfig({displayName:"PreferenceAutosuggestionIcon",componentId:"-__sc-41a4f4e7-3"})(["width:",";height:",";margin-right:",";"],a.W0.sm,a.W0.sm,a.W0.vsm),v=e=>{let t=t=>{e.savePreferredStore(t)};return(0,y.Z)(()=>!e.listOfStores||e.listOfStores&&e.listOfStores.length<=0?null:(0,n.jsx)(S,{"data-testid":"PreferenceSuggestionsWrapperTestId",children:e.listOfStores.map((e,r)=>(0,n.jsxs)(b,{tabIndex:0,onKeyDown:r=>{13===r.which&&t(e)},onClick:()=>t(e),"data-testid":`PreferenceSuggestionsAutoSuggestionTestId_${e.retailerStoreId}`,children:[(0,n.jsx)(I,{name:"LocationPin"}),e.name]},r))}),{componentName:"PreferenceStoreField"})};var _=r(15009),w=r(73342),$=r(8618),k=r(33526),j=r(39834),N=r(75199);let Z=(0,x.$j)(e=>({storesList:(0,N.M)(e),currentPreferredMarketingStore:e.customer.attributes&&e.customer.attributes[k.SQv],marketingStoreIdentifier:(0,_.Q4)(e)}),{})(e=>{let{t}=s.useContext(w.q),[r,i]=s.useState(!1),[o,a]=s.useState(""),[c,d]=s.useState([]);s.useEffect(()=>{try{if(e.currentPreferredMarketingStore){let t=e.storesList.find(t=>t.retailerStoreId===e.currentPreferredMarketingStore[e.marketingStoreIdentifier]);t&&(a(t.name),e.setSelectedMarketingStore({retailerStoreId:t.retailerStoreId,marketingStoreIdentifier:e.marketingStoreIdentifier}))}}catch(e){$.logger.error("PreferenceDropdown - initialiseInputValue() error",e)}},[]),s.useEffect(()=>{d([])},[e.selectedMarketingStore]);let x=t=>{try{let{value:r}=t.target;a(r);let n=e.storesList.filter(e=>e.name.toLowerCase().match(r.toLowerCase()));d(n),i(!0)}catch(e){b()}},S=()=>{try{e.resetErrorMessage(),i(!0),d(e.storesList)}catch(e){b()}},b=()=>{i(!1),a(""),d([]),e.setSelectedMarketingStore({retailerStoreId:"",marketingStoreIdentifier:""})},I=t=>{a(t.name),e.resetErrorMessage(),e.setSelectedMarketingStore({retailerStoreId:t.retailerStoreId,marketingStoreIdentifier:e.marketingStoreIdentifier})},_=()=>{i(!1),d([])};return(0,y.Z)(()=>(0,n.jsxs)(l,{id:P.cv,"data-testid":P.cv,children:[(0,n.jsx)(m,{htmlFor:"PreferenceInput",children:t("myPreferencesPage.marketingPreferences.marketingStoreHeader")}),(0,n.jsxs)(j.default,{onOutsideClick:_,children:[(0,n.jsxs)(f,{children:[(0,n.jsx)(p,{hasError:e.hasErrorMessage,handleChange:x,handleFocus:x,autoComplete:"off",placeholder:"",value:o,id:"PreferenceInput",n
92ame:"PreferenceInput","data-testid":P.iz}),o?(0,n.jsx)(g,{ariaLabel:t("common.button.resetSearch"),buttonStyle:"iconTransparent",icon:"Clear",handleClick:b,role:"button","data-testid":P.J9}):(0,n.jsx)(u,{icon:r?"Close":"ChevronDown",iconPosition:"left",ariaLabel:t("common.button.showDropdown"),buttonStyle:"search",handleClick:r?b:S})]}),!!c.length&&(0,n.jsx)(v,{listOfStores:c,savePreferredStore:I}),e.hasErrorMessage&&(0,n.jsxs)(h,{"aria-atomic":!0,"data-testid":P.Us,role:"alert",children:[(0,n.jsx)(C.a,{name:"Warning"}),t("myPreferencesPage.marketingPreferences.marketingStoreError")]})]})]}),{componentName:"PreferenceDropdown"})})},9754:(e,t,r)=>{r.d(t,{G9:()=>a,WT:()=>l,pj:()=>d,uP:()=>c});var n=r(29163),s=r(1849),i=r(29039),o=r(51667);let a="624px",c=n.ZP.div.withConfig({displayName:"Preferences",componentId:"-__sc-c5ea43c2-0"})(({theme:e})=>` 93 background-color: ${e.colors.uiColors.greyscale1}; 94 box-shadow: ${i.q.large}; 95 position: relative; 96 max-width: ${a}; 97`),d=n.ZP.div.withConfig({displayName:"PreferencesSpinnerWrapper",componentId:"-__sc-c5ea43c2-1"})(({theme:e})=>` 98 position: absolute; 99 top: 0; 100 left: 0; 101 width: 100%; 102 height: 100%; 103 z-index: ${s.CJ}; 104 &:before { 105 content: ''; 106 position: absolute; 107 top: 0; 108 left: 0; 109 width: 100%; 110 height: 100%; 111 background: ${e.colors.uiColors.greyscale1}; 112 opacity: 60%; 113 } 114`),l=(0,n.ZP)(o.$j).withConfig({displayName:"PreferencesSpinner",componentId:"-__sc-c5ea43c2-2"})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);"])},63074:(e,t,r)=>{r.d(t,{Z:()=>P});var n=r(85893),s=r(67294),i=r(29163),o=r(55977),a=r(29039),c=r(51667);let d=i.ZP.section.withConfig({displayName:"Heading",componentId:"-__sc-16b91fec-0"})(["display:flex;flex-direction:column;align-items:center;padding:"," ",";"],o.W0.lg,o.qJ),l=i.ZP.div.withConfig({displayName:"AvatarContainer",componentId:"-__sc-16b91fec-1"})(["margin-bottom:",";",";box-shadow:",";overflow:hidden;"],o.W0.sm,(0,a.E0)("50%"),a.q.small),m=i.ZP.div.withConfig({displayName:"Avatar",componentId:"-__sc-16b91fec-2"})(({theme:e})=>` 115 display: flex; 116 flex-direction: column; 117 align-items: center; 118 width: ${o.W0.xxl}; 119 height: ${o.W0.xxl}; 120 background: ${e.colors.brandColors.primary1}; 121 mask-image: radial-gradient(circle, white 100%, black 100%); 122 `),f=(0,i.ZP)(c.pA).withConfig({displayName:"AvatarIcon",componentId:"-__sc-16b91fec-3"})(({theme:e})=>` 123 fill: ${e.colors.uiColors.greyscale1}; 124 transform: translateY(10px); 125 `),p=i.ZP.h1.withConfig({displayName:"HeadTitle",componentId:"-__sc-16b91fec-4"})(["margin:0;"]),g=i.ZP.span.withConfig({displayName:"MemberSince",componentId:"-__sc-16b91fec-5"})(({theme:e})=>` 126 color: ${e.colors.uiColors.greyscale5}; 127 margin-top: ${o.W0.xs}; 128 `);var u=r(86706),h=r(15158),C=r(73342),y=r(48710);let P=(0,u.$j)(e=>({customerDetails:e.customer.details}))(e=>{let{t}=s.useContext(C.q),{createdOn:r,firstName:i}=e.customerDetails;return(0,h.Z)(()=>(0,n.jsxs)(d,{children:[(0,n.jsx)(l,{"data-testid":"AvatarContainer-testId",children:(0,n.jsx)(m,{children:(0,n.jsx)(f,{name:"AccountSolid",size:"56"})})}),(0,n.jsx)(p,{"data-testid":"AvatarHeadTitle-testId",...y.kf,children:t("myAccount.welcome",{name:i})}),(0,n.jsx)(g,{children:t("myAccount.joinDate",{year:new Date(r).getFullYear()})})]}),{componentName:"AccountHeading"})})},68527:(e,t,r)=>{r.r(t),r.d(t,{default:()=>U});var n=r(85893),s=r(67294),i=r(86706),o=r(29163);let a=o.ZP.div.withConfig({displayName:"Wrapper",componentId:"-__sc-bc983c-0"})(({theme:e})=>` 129 display: flex; 130 flex-direction: column; 131 align-items: center; 132 background: ${e.body.backgroundColor}; 133 `);var c=r(93336),d=r(15158),l=r(63074),m=r(9754),f=r(55977),p=r(51667),g=r(29039),u=r(67979);let h=o.ZP.div.withConfig({displayName:"Compartment",componentId:"-__sc-5ff0322f-0"})(({theme:e})=>` 134 background-color: ${e.colors.uiColors.greyscale1}; 135 136 ${(0,u.Z)("md",{noUpper:!0})} { 137 ${(0,g.E0)()} 138 } 139 `),C=o.ZP.div.withConfig({displayName:"CompartmentHeader",componentId:"-__sc-5ff0322f-1"})(({theme:e})=>` 140 align-items: center; 141 padding: ${f.W0.sm} ${f.W0.sm}; 142 border-bottom: 1px solid ${e.colors.uiColors.greyscale2}; 143 144 ${(0,u.Z)("md",{noUpper:!0})} { 145 padding: ${f.W0.sm} ${f.W0.lg}; 146 } 147 `),y=o.ZP.div.withConfig({displayName:"CompartmentHeaderDetails",componentId:"-__sc-5ff0322f-2"})(["display:flex;align-items:center;"]),P=(0,o.ZP)(p.pA).withConfig({displayName:"CompartmentHeaderIcon",componentId:"-__sc-5ff0322f-3"})(({theme:e})=>` 148 fill: ${e.colors.brandColors.primary1}; 149 margin-right: ${f.W0.sm};`),x=o.ZP.h3.withConfig({displayName:"CompartmentHeadline",componentId:"-__sc-5ff0322f-4"})(["margin:0;"]),S=o.ZP.div.withConfig({displayName:"CompartmentBody",componentId:"-__sc-5ff0322f-5"})(["padding:"," ",";","{padding:"," ",";}"],f.W0.md,f.W0.sm,(0,u.Z)("md",{noUpper:!0}),f.W0.md,f.W0.lg),b=o.ZP.div.withConfig({displayName:"InfoLabel",componentId:"-__sc-5ff0322f-6"})(({theme:e})=>` 150 font-size: ${e.typography.text.fontSM.fontSize}; 151 font-weight: ${e.typography.weights.bold};`),I=o.ZP.div.withConfig({displayName:"Checkboxes",componentId:"-__sc-5ff0322f-7"})(["display:flex;flex-direction:column;margin-left:",";"],f.W0.sm),v=o.ZP.p.withConfig({displayName:"CompartmentBodyDescription",componentId:"-__sc-5ff0322f-8"})(({theme:e})=>` 152 padding-top: ${f.W0.sm}; 153 font-size: ${e.typography.text.fontSM.fontSize}; 154 `),_="preferences-compartment-test-id";var w=r(73342),$=r(876);let k=e=>{let{t}=s.useContext(w.q),{attributes:r,compartment:i,description:o,handleChange:a}=e;return!r||r&&0===r.length?null:(0,d.Z)(()=>(0,n.jsxs)(s.Fragment,{children:[(0,n.jsx)(b,{children:t(`myPreferencesPage.${i}.subtitle`)}),(0,n.jsx)(I,{children:r.map(e=>(0,n.jsx)($.Z,{compartment:i,attribute:e,handleChange:a},e))}),!!o&&(0,n.jsx)(v,{"data-testid":"CompartmentBodyDescriptionTestId",children:o})]}),{componentName:"PreferencesCompartmentBody"})},j=e=>{let{t}=s.useContext(w.q);return!e.compartment||e.compartment&&0===e.compartment.length?null:(0,d.Z)(()=>(0,n.jsx)(C,{children:(0,n.jsxs)(y,{children:[(0,n.jsx)(P,{name:e.iconName,size:"16"}),(0,n.jsx)(x,{"data-testid":"PreferencesCompartmentHeaderHeaderLineTestId",children:t(`myPreferencesPage.${e.compartment}.title`)})]})}),{componentName:"PreferencesCompartmentHeader"})},N=e=>{let{attributes:t,compartment:r,dataTestId:s,description:i,handleChange:o,iconName:a}=e;return!t||t&&0===t.length?null:(0,d.Z)(()=>(0,n.jsxs)(h,{"data-testid":s?`${s}-${_}`:_,children:[(0,n.jsx)(j,{compartment:r,iconName:a}),(0,n.jsx)(S,{children:(0,n.jsx)(k,{attributes:t,compartment:r,description:i,handleChange:o,iconName:a})})]}),{componentName:"PreferencesCompartment"})},Z=(0,o.ZP)(p.zx).withConfig({displayName:"ButtonStyled",componentId:"-__sc-6722b52f-0"})(["margin:",";","{margin:",";width:90%;}"],f.W0.lg,(0,u.Z)("sm",{noUpper:!0}),f.W0.sm),W=e=>{let{t}=s.useContext(w.q);return(0,d.Z)(()=>(0,n.jsx)(Z,{buttonStyle:"primary",disabled:e.disabled,handleClick:e.handleClick,"data-testid":"preferences-save-button-test-id",children:t("myPreferencesPage.save")}),{componentName:"PreferencesSaveButton"})};var M=r(95029),A=r(32865),E=r(33526),D=r(15009),O=r(11530);let L=e=>!e.attributes||e.attributes&&0===e.attributes.length?(0,n.jsx)(s.Fragment,{}):(0,d.Z)(()=>(0,n.jsxs)(h,{"data-testid":_,children:[(0,n.jsx)(j,{compartment:e.compartment,iconName:e.iconName}),(0,n.jsxs)(S,{children:[(0,n.jsx)(k,{attributes:e.attributes,compartment:e.compartment,handleChange:e.handleChange,iconName:e.iconName}),e.hasMarketingPreferencesEnabledAndChecked?(0,n.jsx)(O.Z,{selectedMarketingStore:e.selectedMarketingStore,setSelectedMarketingStore:t=>{e.setSelectedMarketingStore(t)},hasErrorMessage:!!e.hasErrorMessage,resetErrorMessage:()=>e.resetErrorMessage()}):null]})]}),{componentName:"MarketingPreferencesCompartment"});var z=r(28261);let H={updateCustomerPreferencesAttributes:A.UO,setCustomerSurveysOptOut:A.do}
154,T=(0,i.$j)(e=>({savedCustomerPreferencesAttributes:(0,M.R)(e.customer,e.settings.retailer.maintainCustomerPreferences.sections.marketingPreferences),isSaving:e.customer.isSavingCustomerDetails,forgottenPreferences:e.settings.retailer.checkout.enableInterimModal,maintainCustomerPreferences:e.settings.retailer.maintainCustomerPreferences,hasMarketingPreferencesEnabledAndChecked:(0,D.e0)(e),currentPreferredMarketingStore:e.customer.attributes&&e.customer.attributes[E.SQv],marketingStoreIdentifier:(0,D.Q4)(e),surveysOptOut:e.customer.details.surveysOptIn,SmsEnabled:(0,D.Mc)(e)}),H)(e=>{let{t}=s.useContext(w.q),[r,i]=s.useState(!1),o=null!==e.surveysOptOut,[a,c]=s.useState(e.savedCustomerPreferencesAttributes),l=(e,t)=>{c({...a,[e]:t})},f=()=>{try{let t=a[E.SQv];if(o&&e.setCustomerSurveysOptOut(!a[E.pCU]),e.hasMarketingPreferencesEnabledAndChecked(a)&&(!t||t&&!t[e.marketingStoreIdentifier])){i(!0),(()=>{try{let e=document&&document.getElementById(z.cv);e&&e.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}catch{return}})();return}}catch{return}let t=a;e.hasMarketingPreferencesEnabledAndChecked(a)||c(t={...a,[E.SQv]:{[e.marketingStoreIdentifier]:""}}),e.updateCustomerPreferencesAttributes(t)},p=t=>c({...a,[E.SQv]:{...e.currentPreferredMarketingStore,[e.marketingStoreIdentifier]:t.retailerStoreId}});return(0,d.Z)(()=>(0,n.jsxs)(m.uP,{"data-testid":"preferences-test-id",children:[e.isSaving&&(0,n.jsx)(m.pj,{children:(0,n.jsx)(m.WT,{})}),(0,n.jsx)(L,{iconName:"ListLarge",compartment:"marketingPreferences",attributes:e.maintainCustomerPreferences.sections.marketingPreferences,handleChange:l,hasErrorMessage:r,resetErrorMessage:()=>i(!1),selectedMarketingStore:a[E.SQv],setSelectedMarketingStore:p,hasMarketingPreferencesEnabledAndChecked:e.hasMarketingPreferencesEnabledAndChecked(a)}),o&&(0,n.jsx)(N,{iconName:"InstructionsFilled",compartment:"surveyPreferences",attributes:[E.pCU],handleChange:l,dataTestId:"survey-preferences-compartment-test-id"}),(0,n.jsx)(N,{iconName:"Substitute",compartment:"substitutionPreferences",attributes:[E.Hw_],handleChange:l}),e.forgottenPreferences&&(0,n.jsx)(N,{iconName:"PromoSolid",compartment:"forgottenAnything",attributes:[E.IWi],handleChange:l}),e.SmsEnabled&&(0,n.jsx)(N,{attributes:[E.m8y],compartment:"smsPreferences",description:t("myPreferencesPage.smsPreferences.termsAndConditions"),handleChange:l,iconName:"Notifications"}),(0,n.jsx)(W,{disabled:(()=>{try{return e.isSaving||JSON.stringify(a)===JSON.stringify(e.savedCustomerPreferencesAttributes)}catch{return!1}})(),handleClick:f})]}),{componentName:"Preferences"})}),U=(0,i.$j)(e=>({maintainCustomerPreferences:e.settings.retailer.maintainCustomerPreferences}))(e=>e.maintainCustomerPreferences.enabled?(0,d.Z)(()=>(0,n.jsxs)(a,{"data-testid":"preferences-page-wrapper-testId",children:[(0,n.jsx)(l.Z,{}),(0,n.jsx)(T,{})]}),{componentName:"PreferencesPage"}):(0,n.jsx)(c.default,{}))},78121:(e,t,r)=>{r.d(t,{R:()=>s});var n=r(33526);let s=(e,t,r=!1,s=!1,i=!1)=>{if(r&&s&&i)return!0;if(t===n.pCU)return!!e.details.surveysOptIn;if(t===n.Hw_)return e.details.allowSubstitutions;let o=!1;try{o=e.attributes.find(e=>e.toLowerCase()===t.toLowerCase())}catch{o=e.attributes[t]}return void 0===o?t===n.IWi:t===n.SQv?o:!!o}},95029:(e,t,r)=>{r.d(t,{R:()=>o});var n=r(33526);let s=[n.Hw_,n.IWi,n.pCU,n.SQv,n.m8y,n.zd3];[n.l3O,n.SVt,...s];var i=r(78121);let o=(e,t,r=!1,n=!1)=>{let o={};return s.forEach(t=>{o={...o,[t]:(0,i.R)(e,t)}}),t.forEach(t=>{o={...o,[t]:(0,i.R)(e,t,r,!0,n)}}),o}}}]);
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.