1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[955],{30955:(e,o,i)=>{i.r(o),i.d(o,{AntSwitch:()=>y,default:()=>v});var t=i(37876),a=i(71509),r=i(27956),l=i(57947),n=i(56990),d=i(60964),s=i(83455),c=i(61726),p=i(16832),x=i(61428),u=i(27481),h=i(70381),m=i(78600),b=i(38578),g=i(14232),k=i(83679),f=i(31777);let y=(0,l.Ay)(n.A,{shouldForwardProp:e=>"isPremiumUser"!==e})(e=>{let{theme:o}=e;return{width:"59px",height:"32px",border:"1px solid #373737",borderRadius:"16px",padding:0,display:"flex","&:active":{"& .MuiSwitch-thumb":{width:"24px"},"& .MuiSwitch-switchBase.Mui-checked":{transform:"translateX(26px)"}},"& .MuiSwitch-switchBase":{padding:3,"&.Mui-checked":{transform:"translateX(26px)",color:"#fff","& + .MuiSwitch-track":{opacity:1,backgroundColor:o.palette.primary.main,...o.applyStyles("dark",{backgroundColor:o.palette.primary.main})}}},"& .MuiSwitch-thumb":{boxShadow:"0 2px 4px 0 rgb(0 35 11 / 20%)",width:"24px",height:"24px",borderRadius:"50px",backgroundColor:"".concat(o.palette.common.white," !important"),transition:o.transitions.create(["width"],{duration:200})},"& .MuiSwitch-track":{borderRadius:"16px",opacity:1,backgroundColor:o.palette.common.black,boxSizing:"border-box",...o.applyStyles("dark",{backgroundColor:o.palette.common.black})}}}),w=[{id:1,title:"Strictly Necessary Cookies",description:"These cookies are required for NoSho to function. They protect your security, and remember your settings. You canât turn these off."},{id:2,title:"Performance Cookies",description:"These cookies help us understand how people use NoSho so we can make it better. They collect anonymous statistics about things like which pages are visited and how features are used."},{id:3,title:"Targeting Cookies",description:"These cookies are used to show ads that are more relevant to you. They may also limit how often you see an ad and help us measure campaign performance."},{id:4,title:"Functional Cookies",description:"These cookies let us remember your preferences and customise your experience. For example, they might store your location or language choice so you donât have to set them each time."}],v=()=>{let e=(0,d.A)(),o=(0,f.wA)(),i=(0,s.A)(e=>e.breakpoints.up("md")),{openPrivacyPreferences:l}=(0,f.d4)(e=>null==e?void 0:e.account),[n,v]=(0,g.useState)({1:!0,2:!0,3:!1,4:!0}),[C,S]=(0,g.useState)(null),R=()=>{(0,r._9)(!0),o((0,a.Rq)(!1))};return(0,t.jsx)(c.A,{"aria-label":"Privacy preferences",open:l,hideBackdrop:!0,disableScrollLock:!0,slotProps:{container:{sx:{alignItems:"flex-end"}},paper:{"aria-label":"Privacy preferences","aria-labelledby":void 0,sx:{border:"none",maxHeight:"calc(100dvh - 170px)",alignItems:"center",backgroundColor:"transparent",maxWidth:"100%",borderRadius:"16px",margin:i?"32px":"0px 22px 22px 22px"}}},children:(0,t.jsxs)(p.A,{sx:{width:"100%",backgroundColor:"white",padding:i?"24px":"16px",display:"flex",flexDirection:"column",gap:"24px",maxWidth:"800px",borderTopRightRadius:"16px",borderTopLeftRadius:"16px"},children:[(0,t.jsxs)(p.A,{sx:{width:"100%",display:"flex",flexDirection:"column",gap:"16px"},children:[(0,t.jsx)(p.A,{sx:{display:"flex",justifyContent:"space-between"},children:(0,t.jsx)(x.A,{sx:{fontSize:i?"22px":"20px",fontWeight:800,lineHeight:"100%",color:e.palette.common.black},children:"Privacy Preferences"})}),(0,t.jsx)(x.A,{sx:{fontSize:i?"14px":"12px",fontWeight:400,lineHeight:"20px",color:e.palette.common.black},children:"At NoSho, we use small files called cookies to make our site work, remember your settings, and (with your permission) improve things like performance, ads, and personalisation. Some cookies are essential, others are optional. You can update your choices any time here."})]}),(0,t.jsx)(p.A,{sx:{display:"flex",justifyContent:"flex-end",alignItems:"center",flexDirection:i?"row":"column",gap:i?"0px":"16px"},children:(0,t.jsx)(u.A,{onClick:R,disableElevation:!0,disableFocusRipple:!0,disableRipple:!0,disableTouchRipple:!0,variant:"contained",sx:{padding:0,margin:0,minWidth:0,color:e.palette.common.white,backgroundColor:e.palette.common.black,fontSize:i?"16px":"14px",fontWeight:700,height:"45px",width:"100%",borderRadius:"16px",textTransform:"none","&:hover":{color:e.palette.common.white,backgroundColor:e.palette.common.black}},children:"Accept all"})}),(0,t.jsx)(p.A,{sx:{width:"100%",border:"1px solid #ABB0B0",borderRadius:"16px"},children:null==w?void 0:w.map(o=>(0,t.jsxs)(h.A,{onChange:(e,i)=>{C===(null==o?void 0:o.id)?S(null):S(null==o?void 0:o.id)},expanded:(null==o?void 0:o.id)===C,slotProps:{root:{sx:{backgroundColor:e.palette.common.white,boxShadow:"none",borderRadius:"16px","&:first-of-type":{borderRadius:"16px"},"&:last-of-type":{borderRadius:"16px"},"&.Mui-expanded":{margin:0,padding:"0px 0px 16px 0px",borderBottom:"1px solid ".concat(e.palette.grey[200]),borderBottomLeftRadius:(null==o?void 0:o.id)===(null==w?void 0:w.length)?"16px":"0px",borderBottomRightRadius:(null==o?void 0:o.id)===(null==w?void 0:w.length)?"16px":"0px","&.last-of-type":{border:"none"}},"&::before":{backgroundColor:e.palette.grey[200]},"&.Mui-expanded::before":{opacity:1}}},heading:{sx:{borderRadius:"16px"}}},children:[(0,t.jsx)(m.A,{sx:{backgroundColor:e.palette.common.white,padding:"16px",borderRadius:"16px"},slotProps:{content:{sx:{margin:0,"&.Mui-expanded":{margin:0}}}},children:(0,t.jsxs)(p.A,{sx:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,t.jsxs)(p.A,{sx:{width:"100%",display:"flex",gap:"16px",alignItems:"center"},children:[C===(null==o?void 0:o.id)?(0,t.jsx)(k.iu5,{color:"black",size:13}):(0,t.jsx)(k.OiG,{color:"black",size:13}),(0,t.jsx)(x.A,{sx:{color:e.palette.common.black,fontSize:i?"16px":"14px",fontWeight:700},children:null==o?void 0:o.title})]}),(0,t.jsx)(p.A,{onClick:e=>e.stopPropagation(),onFocus:e=>e.stopPropagation(),children:(0,t.jsx)(y,{disableFocusRipple:!0,disableRipple:!0,disableTouchRipple:!0,disabled:(null==o?void 0:o.id)===1,checked:n["".concat(null==o?void 0:o.id)],onChange:(e,i)=>{v({...n,["".concat(null==o?void 0:o.id)]:i}),e.stopPropagation()},sx:{"&.MuiSwitch-root":{borderColor:(null==o?void 0:o.id)===1?e.palette.grey[100]:"inherit"},"& .MuiSwitch-thumb":{backgroundColor:e.palette.common.white},"& .MuiSwitch-track":{backgroundColor:(null==o?void 0:o.id)===1?e.palette.grey[100]:e.palette.grey[200]},"& .MuiSwitch-switchBase.Mui-checked+.MuiSwitch-track":{backgroundColor:(null==o?void 0:o.id)===1?e.palette.grey[100]:e.palette.common.black}}})})]})}),(0,t.jsx)(b.A,{sx:{padding:"0px 16px"},children:(0,t.jsx)(x.A,{sx:{color:e.palette.common.black,fontSize:"13px"},children:null==o?void 0:o.description})})]},null==o?void 0:o.id))}),(0,t.jsxs)(p.A,{sx:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"16px",flexDirection:i?"row":"column"},children:[(0,t.jsx)(u.A,{onClick:R,disableElevation:!0,disableFocusRipple:!0,disableRipple:!0,disableTouchRipple:!0,variant:"outlined",sx:{padding:0,margin:0,minWidth:0,color:e.palette.common.black,backgroundColor:e.palette.common.white,borderColor:e.palette.common.black,fontSize:i?"16px":"14px",fontWeight:700,height:"45px",width:i?"390px":"
1100%",borderRadius:"16px",textTransform:"none","&:hover":{color:e.palette.common.black,backgroundColor:e.palette.common.white,borderColor:e.palette.common.black}},children:"Allow only necessary cookies"}),(0,t.jsx)(u.A,{onClick:R,disableElevation:!0,disableFocusRipple:!0,disableRipple:!0,disableTouchRipple:!0,variant:"outlined",sx:{padding:0,margin:0,minWidth:0,color:e.palette.common.black,backgroundColor:e.palette.common.white,borderColor:e.palette.common.black,fontSize:i?"16px":"14px",fontWeight:700,height:"45px",width:i?"390px":"100%",borderRadius:"16px",textTransform:"none","&:hover":{color:e.palette.common.black,backgroundColor:e.palette.common.white,borderColor:e.palette.common.black}},children:"Save your selected preferences"})]})]})})}}}]);
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.