PageSourceSearch

https://bookiebase.ie/_next/static/chunks/pages/self_exclude-57daf78802b1f8b7.js

js bookiebase.ie collected 2026-09-28 07:14:26 UTC 9,177 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2393],{14784:(e,r,o)=>{"use strict";o.r(r),o.d(r,{default:()=>D});var l=o(37876),a=o(55103),c=o(57380),n=o(91314),s=o(87953),t=o(56203),i=o(50008),d=o(99707),u=o(88965),h=o(64512),p=o(66420),b=o(58691),g=o(47308),m=o(77328),f=o.n(m),k=o(48230),x=o.n(k),y=o(89099),v=o(14232),S=o(44844),j=o(947),C=o(68900),w=o(38635);let D=()=>{let[e,r]=(0,v.useState)(void 0),o=(0,y.useRouter)(),m=(0,b.m)({initialValues:{first_name:"",last_name:"",dob:null,email:"",phone:"",postcode:""},transformValues:e=>({...e,dob:null===e.dob?null:(0,g.A)(e.dob,{representation:"date"})})}),{loading:k,handleSubmit:D}=(0,j.A)({apiFunc:C.A.nonCustomerSelfExclude,debug:!1,form:m,onSuccess:e=>{let r=e.data;o.push("/self_exclude/".concat(r.self_exclusion.uuid))}}),N="no"!==e,P="".concat(w.qt.name," | Self-Exclude");return(0,l.jsxs)(a.m,{size:"xs",mt:"md",sx:e=>({[e.fn.largerThan("sm")]:{marginTop:80}}),children:[(0,l.jsx)(f(),{children:(0,l.jsx)("title",{children:P})}),(0,l.jsx)(c.t,{p:"xl",mb:100,children:(0,l.jsxs)(n.B,{children:[(0,l.jsx)(s.h,{order:5,inline:!0,children:"Self-Exclude"}),(0,l.jsx)(t.E,{children:"You can use this form to self-exclude from our services."}),(0,l.jsx)(i.p.Wrapper,{label:"Do you have an account with ".concat(w.qt.name,"?"),children:(0,l.jsx)(d.v.Group,{multiple:!1,value:e,onChange:e=>r(e),children:(0,l.jsxs)(u.Y,{spacing:"xs",children:[(0,l.jsx)(d.v,{value:"yes",children:"Yes"}),(0,l.jsx)(d.v,{value:"no",children:"No"})]})})}),"yes"===e?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(t.E,{children:"To ensure your self-exclusion is registered correctly, please self exclude through your account."}),(0,l.jsx)(x(),{href:"/account/self_exclude",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)(h.$,{component:"a",children:"Continue to Account"})})]}):(0,l.jsx)("form",{onSubmit:m.onSubmit(D),children:(0,l.jsxs)(n.B,{children:[(0,l.jsxs)(u.Y,{noWrap:!0,children:[(0,l.jsx)(p.k,{label:"First Name",placeholder:"First Name",...m.getInputProps("first_name"),disabled:N}),(0,l.jsx)(p.k,{label:"Last Name",placeholder:"Last Name",...m.getInputProps("last_name"),disabled:N})]}
1),(0,l.jsx)(S.A,{...m.getInputProps("dob"),disabled:N}),(0,l.jsx)(p.k,{label:"Phone Number",placeholder:"First Name",...m.getInputProps("phone"),disabled:N}),(0,l.jsx)(p.k,{label:"Email",placeholder:"Email",...m.getInputProps("email"),disabled:N}),(0,l.jsx)(p.k,{label:"Postcode",placeholder:"Postcode",...m.getInputProps("postcode"),disabled:N}),(0,l.jsx)(h.$,{type:"submit",loading:k,disabled:N,children:"Submit"})]})})]})})]})}},68629:(e,r,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/self_exclude",function(){return o(14784)}])},99707:(e,r,o)=>{"use strict";o.d(r,{v:()=>W});var l=o(14232),a=o(34883),c=o(16853),n=o(62117);let s=(0,l.createContext)(null),t=s.Provider,i={};function d(e){let{value:r,defaultValue:o,onChange:a,multiple:s,children:d}=(0,n.a1)("ChipGroup",i,e),[u,h]=(0,c.Z)({value:r,defaultValue:o,finalValue:s?[]:null,onChange:a});return l.createElement(t,{value:{isChipSelected:e=>Array.isArray(u)?u.includes(e):e===u,onChange:e=>{let r=e.currentTarget.value;Array.isArray(u)?h(u.includes(r)?u.filter(e=>e!==r):[...u,r]):h(r)},multiple:s}},d)}d.displayName="@mantine/core/ChipGroup";var u=o(1577),h=o(80802),p=o(88),b=o(44307),g=Object.defineProperty,m=Object.defineProperties,f=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,v=(e,r,o)=>r in e?g(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,S=(e,r)=>{for(var o in r||(r={}))x.call(r,o)&&v(e,o,r[o]);if(k)for(var o of k(r))y.call(r,o)&&v(e,o,r[o]);return e},j=(e,r)=>m(e,f(r));let C={xs:(0,u.D)(24),sm:(0,u.D)(28),md:(0,u.D)(32),lg:(0,u.D)(36),xl:(0,u.D)(40)},w={xs:(0,u.D)(10),sm:(0,u.D)(12),md:(0,u.D)(14),lg:(0,u.D)(16),xl:(0,u.D)(18)},D={xs:(0,u.D)(16),sm:(0,u.D)(20),md:(0,u.D)(24),lg:(0,u.D)(28),xl:(0,u.D)(32)},N={xs:(0,u.D)(7.5),sm:(0,u.D)(10),md:(0,u.D)(11.5),lg:(0,u.D)(13),xl:(0,u.D)(15)};var P=(0,h.r)((e,{radius:r,color:o},{size:l,variant:a})=>{let c=function(e,{color:r},o){let l=e.fn.variant({variant:"filled",color:r}),a=e.fn.variant({variant:"light",color:r});return"light"===o?{label:S({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[1]},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]})),checked:j(S({color:a.color,backgroundColor:a.background},e.fn.hover({backgroundColor:a.hover})),{"&, &:hover":{backgroundColor:e.fn.variant({variant:"light",color:r}).background}})}:"filled"===o?{label:S({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[1]},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]})),checked:S({color:l.color,backgroundColor:l.background},e.fn.hover({backgroundColor:l.hover}))}:"outline"===o?{label:S({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]})),checked:{border:`${(0,u.D)(1)} solid ${l.background}`}}:{label:null,checked:null}}(e,{color:o},a);return{root:{},label:j(S(j(S({ref:(0,p.k)("label")},e.fn.fontStyles()),{boxSizing:"border-box",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,display:"inline-block",alignItems:"center",userSelect:"none",border:`${(0,u.D)(1)} solid transparent`,borderRadius:e.fn.radius(r),height:(0,b.Y)({size:l,sizes:C}),fontSize:(0,b.Y)({size:l,sizes:e.fontSizes}),lineHeight:`calc(${(0,b.Y)({size:l,sizes:C})} - ${(0,u.D)(2)})`,paddingLeft:(0,b.Y)({size:l,sizes:D}),paddingRight:(0,b.Y)({size:l,sizes:D}),cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 100ms ease",WebkitTapHighlightColor:"transparent"}),c.label),{"&[data-disabled]":j(S({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1],borderColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1],color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5],cursor:"not-allowed"},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1]})),{[`& .${(0,p.k)("iconWrapper")}`]:{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]}}),"&[data-checked]":{paddingLeft:(0,b.Y)({size:l,sizes:N}),paddingRight:(0,b.Y)({size:l,sizes:N}),"&:not([data-disabled])":c.checked}}),iconWrapper:{ref:(0,p.k)("iconWrapper"),color:"filled"===a?e.white:e.fn.variant({variant:"filled",color:o}).background,width:`calc(${(0,b.Y)({size:l,sizes:w})}
1 + (${(0,b.Y)({size:l,sizes:e.spacing})} / 1.5))`,maxWidth:`calc(${(0,b.Y)({size:l,sizes:w})} + (${(0,b.Y)({size:l,sizes:e.spacing})} / 1.5))`,height:(0,b.Y)({size:l,sizes:w}),display:"inline-block",verticalAlign:"middle",overflow:"hidden"},checkIcon:{width:(0,b.Y)({size:l,sizes:w}),height:`calc(${(0,b.Y)({size:l,sizes:w})} / 1.1)`,display:"block"},input:{width:0,height:0,padding:0,opacity:0,margin:0,"&:focus":{outline:"none",[`& + .${(0,p.k)("label")}`]:S({},"always"===e.focusRing||"auto"===e.focusRing?e.focusRingStyles.styles(e):e.focusRingStyles.resetStyles(e)),"&:focus:not(:focus-visible)":{[`& + .${(0,p.k)("label")}`]:S({},"auto"===e.focusRing||"never"===e.focusRing?e.focusRingStyles.resetStyles(e):null)}}}}}),E=o(77793),_=o(58969),z=o(23221),O=Object.defineProperty,Y=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,I=(e,r,o)=>r in e?O(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,A=(e,r)=>{for(var o in r||(r={}))$.call(r,o)&&I(e,o,r[o]);if(Y)for(var o of Y(r))R.call(r,o)&&I(e,o,r[o]);return e};let T={type:"checkbox",size:"sm",radius:"xl",variant:"outline"},W=(0,l.forwardRef)((e,r)=>{let o=(0,n.a1)("Chip",T,e),{radius:t,type:i,size:d,variant:u,disabled:h,id:p,color:b,children:g,className:m,classNames:f,style:k,styles:x,checked:y,defaultChecked:v,onChange:S,sx:j,wrapperProps:C,value:w,unstyled:D}=o,N=((e,r)=>{var o={};for(var l in e)$.call(e,l)&&0>r.indexOf(l)&&(o[l]=e[l]);if(null!=e&&Y)for(var l of Y(e))0>r.indexOf(l)&&R.call(e,l)&&(o[l]=e[l]);return o}
1)(o,["radius","type","size","variant","disabled","id","color","children","className","classNames","style","styles","checked","defaultChecked","onChange","sx","wrapperProps","value","unstyled"]),O=(0,l.useContext)(s),I=(0,a.B)(p),{systemStyles:W,rest:F}=(0,E.z)(N),{classes:V,cx:B}=P({radius:t,color:b},{classNames:f,styles:x,unstyled:D,name:"Chip",variant:u,size:d}),[G,L]=(0,c.Z)({value:y,defaultValue:v,finalValue:!1,onChange:S}),H=O?{checked:O.isChipSelected(w),onChange:O.onChange,type:O.multiple?"checkbox":"radio"}:{},q=H.checked||G;return l.createElement(_.a,A(A({className:B(V.root,m),style:k,sx:j},W),C),l.createElement("input",A(A({type:i,className:V.input,checked:q,onChange:e=>L(e.currentTarget.checked),id:I,disabled:h,ref:r,value:w},H),F)),l.createElement("label",{htmlFor:I,"data-checked":q||void 0,"data-disabled":h||void 0,className:V.label},q&&l.createElement("span",{className:V.iconWrapper},l.createElement(z.S,{className:V.checkIcon})),g))});W.displayName="@mantine/core/Chip",W.Group=d}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=68629)),_N_E=e.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.