1(()=>{(function(){try{var h=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},p=new h.Error().stack;p&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[p]="c2a21d79-92ec-4500-b8cb-bd03a95043b9",h._sentryDebugIdIdentifier="sentry-dbid-c2a21d79-92ec-4500-b8cb-bd03a95043b9")}catch(t){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[19267],{1249:((h,p,t)=>{t.d(p,{p:()=>E});var e=t(96540),v=t(58562),f=t(13516);const r={colorRed:"#b60e0e",textSecondaryDarkMode:"#c5cad3",alertDarkMode:"#ff6b6b",textDarkModeColor:"#fff",darkGreyDarkModeColor:"#2a2a2a"},E=({suggestedEmail:o,onAccept:M,onDismiss:y,show:D})=>{var O,S,i;const c=(0,v.b0)(["didYouMean","acceptSuggestion","dismissSuggestion"],{didYouMean:{email:o},acceptSuggestion:{email:o},dismissSuggestion:{email:o}}),_=n=>{n.preventDefault(),M(o)},U=n=>{n.preventDefault(),y()},d=(n,u)=>{(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),u())},s=e.createElement("button",{type:"button",className:"email-suggestion__suggestion",onClick:_,onKeyPress:n=>d(n,()=>M(o)),"aria-label":(O=c.acceptSuggestion)==null?void 0:O.value,tabIndex:0},e.createElement("bdi",null,o)),l=(S=(0,v.jZ)(["didYouMean","acceptSuggestion","dismissSuggestion"],{didYouMean:{email:s}}).didYouMean)==null?void 0:S.value;return!D||!o?null:e.createElement("div",{className:(0,f.AH)("email-suggestion",D?"email-suggestion--visible":void 0),role:"region","aria-live":"polite","aria-label":c.didYouMean.value},e.createElement("div",{className:"email-suggestion__content"},e.createElement("span",{className:"email-suggestion__text"},Array.isArray(l)?l.map((n,u)=>e.createElement(e.Fragment,{key:u},n)):l),e.createElement("button",{type:"button",className:"email-suggestion__dismiss",onClick:U,onKeyPress:n=>d(n,y),"aria-label":(i=c.dismissSuggestion)==null?void 0:i.value,tabIndex:0},"\xD7")))},P=null}),3608:((h,p,t)=>{t.d(p,{q:()=>f});var e=t(32248),v=t(90953);const f=()=>{var r,E;return((E=(r=(0,v.U)())==null?void 0:r.settings)==null?void 0:E.EMAIL_SPELL_CHECKER)===e.AvailabilityState.ENABLED}}),11036:(()=>{var h={colorRed:"#b60e0e",textSecondaryDarkMode:"#c5cad3",alertDarkMode:"#ff6b6b",textDarkModeColor:"#fff",darkGreyDarkModeColor:"#2a2a2a"}}),21678:((h,p,t)=>{t.d(p,{Z:()=>v});var e=t(96540);const v=f=>{const r=e.useRef(null);return e.useEffect(()=>{r.current=f}),r.current}}),36555:((h,p,t)=>{t.d(p,{y:()=>y});var e=t(96540),v=t(20181),f=t.n(v),r=t(3608);const E=300;var P=t(96763);let o=null;const M=async()=>{if(o)return o;try{return o=await t.e(97080).then(t.bind(t,97080)),o}catch(D){return P.error("Error loading email-misspelled library"),null}},y=D=>{const O=(0,r.q)(),[S,i]=(0,e.useState)(""),[c,_]=(0,e.useState)(!1),U=(0,e.useCallback)(f()(async a=>{var l;if(!O||!(a!=null&&a.includes("@"))){i(""),_(!1);return}const n=await M();if(n)try{const g=(l=n.default({domains:n.top100})(a).find(C=>C.corrected!==a&&C.corrected.trim()))==null?void 0:l.corrected;g?(i(g),_(!0)):(i(""),_(!1))}catch(u){i(""),_(!1)}},E),[O]),d=a=>{D(a),_(!1),i("")},s=()=>{_(!1),i("")};return(0,e.useEffect)(()=>()=>{U.cancel()},[U]),{isEnabled:O,suggestion:S,showSuggestion:c,checkEmailSpelling:U,acceptSuggestion:d,dismissSuggestion:s}}}),41949:((h,p,t)=>{t.d(p,{l:()=>U,t:()=>_});var e=t(96540),v=t(58562),f=t(58116),r=t(2275),E=t(11036),P=Object.defineProperty,o=Object.defineProperties,M=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,S=(d,s,a)=>s in d?P(d,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):d[s]=a,i=(d,s)=>{for(var a in s||(s={}))D.call(s,a)&&S(d,a,s[a]);if(y)for(var a of y(s))O.call(s,a)&&S(d,a,s[a]);return d},c=(d,s)=>o(d,M(s));const _=d=>{var s,a,l;if(!d)return null;const[n,u,g]=d.split("-"),C=(s=parseInt(n,10).toString())!=null?s:"",b=(a=parseInt(u,10).toString())!=null?a:"",I=(l=parseInt(g,10).toString())!=null?l:"";return{year:C,month:b,day:I}},U=(0,f.A)()(({label:d,value:s,onChange:a,error:l,id:n,className:u="",onFocus:g,required:C,moment:b,testId:I,onBlur:L})=>{const N=(0,v.b0)(["signupFieldYear","signupFieldMonth","signupFieldDay",d,"year","month","day"]),[{year:Y,month:W,day:x},F]=e.useState({year:(s==null?void 0:s.year)||null,month:(s==null?void 0:s.month)||null,day:(s==null?void 0:s.day)||null}),B=e.useRef(null),V=e.useRef(null),X=e.useRef(null),$=N[d].value;e.useEffect(()=>{z({year:Y,month:W,day:x})},[Y,W,x]);const G=({target:m})=>{const w=/^[0-9]{0,4}$/.test(m.value);let R;m.value?w&&(R=m.value):R="",F(T=>c(i({},T),{year:R!=null?R:T.year})),w&&m.value.length===4&&K("y")},k=({target:m})=>{const w=parseInt(m.value,10),R=/^[0-9]{0,2}$/.test(m.value)&&w<=12;let T;m.value?R&&(T=m.value):T="",F(H=>c(i({},H),{month:T!=null?T:H.month})),R&&m.value.length===2&&K("m")},Z=({target:m})=>{const w=parseInt(m.value,10),R=/^[0-9]{0,2}$/.test(m.value)&&w<=31;let T;m.value?R&&(T=m.value):T="",F(H=>c(i({},H),{day:T!=null?T:H.day})),R&&m.value.length===2&&K("d")},z=({year:m,month:w,day:R})=>{if(m&&w&&R){const T=`${(0,r.eV)(m,4)}-${(0,r.eV)(w,2)}-${(0,r.eV)(R,2)}`;a(T)}else a(null)},K=m=>{const w=Q.indexOf(m);w<2&&te[Q[w+1]].ref.focus()},J=e.createElement("div",null,e.createElement("input",{id:"year",placeholder:N.signupFieldYear.value,name:"year",ref:X,type:"text",value:Y||"",onChange:G,"data-testId":`${I}InputYear`,onBlur:L,"aria-label":$,"aria-invalid":!!l,"aria-describedby":l&&n?`${n}-error`:void 0})),A=e.createElement("div",null,e.createElement("input",{id:"month",placeholder:N.signupFieldMonth.value,
1name:"month",ref:B,type:"text",value:W||"",onChange:k,"data-testId":`${I}InputMonth`,onBlur:L,"aria-label":$,"aria-invalid":!!l,"aria-describedby":l&&n?`${n}-error`:void 0})),j=e.createElement("div",null,e.createElement("input",{id:"date",placeholder:N.signupFieldDay.value,name:"date",ref:V,type:"text",value:x||"",onChange:Z,"data-testId":`${I}InputDay`,onBlur:L,"aria-label":$,"aria-invalid":!!l,"aria-describedby":l&&n?`${n}-error`:void 0})),ee=["yyyy/mm/dd","mm/dd/yyyy","dd/mm/yyyy"],ae=b.localeData().longDateFormat("L").toLowerCase(),Q=(ee.find(m=>m===ae)||ee[0]).split("/").map(m=>m[0]),te={d:{element:j,ref:V.current},m:{element:A,ref:B.current},y:{element:J,ref:X.current}},q=Q.map(m=>te[m].element);return e.createElement("div",{className:"form-text"},e.createElement("label",{htmlFor:n},N[d].value,C?e.createElement("span",null," *"):null),e.createElement("div",{onFocus:g,className:`form-date ${u}`},q[0],e.createElement("span",{className:"form-date__separator"},"/"),q[1],e.createElement("span",{className:"form-date__separator"},"/"),q[2]),l?e.createElement("p",{id:n?`${n}-error`:void 0,className:"field-validation field-validation--error",role:"alert"},l):null)})}),51095:((h,p,t)=>{t.d(p,{A:()=>S});var e=t(96540),v=t(85092),f=Object.defineProperty,r=Object.defineProperties,E=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,y=(i,c,_)=>c in i?f(i,c,{enumerable:!0,configurable:!0,writable:!0,value:_}):i[c]=_,D=(i,c)=>{for(var _ in c||(c={}))o.call(c,_)&&y(i,_,c[_]);if(P)for(var _ of P(c))M.call(c,_)&&y(i,_,c[_]);return i},O=(i,c)=>r(i,E(c));const S=(i=>e.createElement(v.A,O(D({},i),{viewBox:"0 0 18 14"}),e.createElement(e.Fragment,null,e.createElement("path",{d:"M14.6793 1.08465C15.2783 0.485617 16.2495 0.485617 16.8486 1.08465C17.4476 1.68369 17.4476 2.65492 16.8486 3.25395L7.55013 12.5524C6.95109 13.1514 5.97986 13.1514 5.38083 12.5524C4.78179 11.9534 4.78179 10.9821 5.38083 10.3831L14.6793 1.08465Z"}),e.createElement("path",{d:"M1.06068 8.34863C0.474892 7.76284 0.474891 6.81309 1.06068 6.22731C1.64646 5.64152 2.59621 5.64152 3.182 6.22731L7.46174 10.507C8.04753 11.0928 8.04753 12.0426 7.46174 12.6284C6.87596 13.2142 5.92621 13.2142 5.34042 12.6284L1.06068 8.34863Z"}))))}),58116:((h,p,t)=>{t.d(p,{A:()=>s});var e=t(96540),v=t(86364),f=Object.defineProperty,r=Object.defineProperties,E=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,y=(a,l,n)=>l in a?f(a,l,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[l]=n,D=(a,l)=>{for(var n in l||(l={}))o.call(l,n)&&y(a,n,l[n]);if(P)for(var n of P(l))M.call(l,n)&&y(a,n,l[n]);return a},O=(a,l)=>r(a,E(l));const S="en-gb",i="gb",c="nz",_="en",U=({services:{labels:{activeLocale:a}}})=>({activeLocale:a}),d=a=>{a.updateLocale("en-gb",{longDateFormat:O(D({},{}),{LL:"Do MMM, YYYY",L:"DD/MM/YYYY"})}),a.updateLocale("en",{longDateFormat:O(D({},{}),{LL:"MMM Do, YYYY"})})},s=(()=>a=>{class l extends e.PureComponent{constructor(){super(...arguments),this.state={momentLib:null,activeLocale:null},this.getTime=(u,g=!0,C)=>{const{momentLib:b}=this.state;if(u){const I=g?"HH:mm:ss":"mm:ss",L=b.utc(u*1e3);return C&&L.locale(C),L.format(I)}else return g?"00:00:00":"00:00"},this.getFromNow=(u,g=!1,C)=>{const{momentLib:b}=this.state;if(!b||!u)return"";const I=b(u);return C&&I.locale(C),I.fromNow(g)}}async componentDidMount(){const{default:u}=await Promise.resolve().then(t.t.bind(t,95093,23));this.setState({momentLib:u},()=>{u&&d(u),this.setLocale()})}componentDidUpdate(){this.setLocale()}setLocale(){var u,g,C,b,I;const{activeLocale:L}=this.props,{momentLib:N}=this.state;if(!N||!L)return;const Y=N.locale().slice(0,2).toLowerCase(),W=L.slice(0,2).toLowerCase(),x=Y!==W,F=(g=(u=L==null?void 0:L.split("_"))==null?void 0:u[1])==null?void 0:g.toLowerCase(),B=(I=(b=(C=N.locale())==null?void 0:C.split("-"))==null?void 0:b[1])==null?void 0:I.toLowerCase();x?(N.locale(L),this.setState({activeLocale:L})):F!==B&&(F===i||F===c)&&W===_&&(N.locale(S),this.setState({activeLocale:S}))}render(){const{momentLib:u,activeLocale:g}=this.state;return u?e.createElement(a,O(D({},this.props),{activeLocale:g,moment:u,getTime:this.getTime,getFromNow:this.getFromNow})):null}}return(0,v.Ng)(U,null,null)(l)})}),74176:((h,p,t)=>{t.d(p,{E:()=>M});var e=t(96540),v=t(58562),f=t(13516),r=t(76569),E=t(78270),P=t(2275),o=t(11036);const M=({label:y,hint:D,type:O="text",isValueFixed:S,value:i,onChange:c,onBlur:_,onEnter:U,error:d,id:s,autofocus:a,required:l,maxValue:n,minValue:u,readonly:g,className:C,minLength:b,maxLength:I,testId:L,onFocus:N,onPaste:Y,inputAriaLabel:W,autoComplete:x,inputAriaLabelledBy:F,inputRef:B})=>{const V=(0,v.b0)([y]),[X,$]=e.useState(O),G=s?`${s}-error`:void 0,k=({target:A})=>{const j=(0,P.T6)(A.value);c(j)},Z=({target:A})=>{const j=(0,P.T6)(A.value);_(j)},z=e.useCallback(A=>{$(A?"text":O)},[O]),K=s===E.yw.PASSWORD||s===E.yw.CONFIRM_PASSWORD,J=A=>{U&&(A.keyCode===13||A.key==="Enter")&&U(A)};return e.createElement("div",{className:(0,f.AH)("form-text",C)},e.createElement("label",{htmlFor:s},V[y].value,l?e.createElement("span",null," *"):null),e.createElement("div",{className:K?"form-password-input-container":"form-input-container"},e.createElement("input",{ref:B,id:s,name:s,type:X,defaultValue:S?void 0:i,onChange:c?k:null,onBlur:_?Z:null,onKeyPress:A=>J(A),autoFocus:!!a,max:n,min:u,value:S&&i,readOnly:g,minLength:b,maxLength:I,"data-testid":`${L||s}Input`,onFocus:N,onPaste:Y,className:K?"password-input":void 0,autoComplete:x,"aria-label":W||(F?void 0:V[y].value),"aria-labelledby":W?void 0:F,"aria-required":l,"aria-invalid":!!d,"aria-describedby":d&&G?G:void 0}),K&&e.createElement(r.K,{setVisibility:z})),D?e.createElement("em",{className:"form-input--hint"},D):null,d?e.createElement("p",{id:G,className:"field-validation field-validation--error",role:"alert"},d):null)}}),76968:((h,p,t)=>{t.d(p,{E:()=>e});const e=v=>{if(!v)return v;let f;const r=v.replace(/[^0-9]+/g,""),E=r.length,P=r.slice(0,3)+".",o=r.slice(3,6)+".",M=r.slice(6,9)+"-";return E<4?f=r:E>=4&&E<7?f=P+r.slice(3):E>=7&&E<10?f=P+o+r.slice(6):E>=10&&E<12?f=P+o+M+r.slice(9):E>=12&&(f=P+o+M+r.slice(9,11)),f}}),81412:((h,p,t)=>{t.d(p,{W0:()=>P,XK:()=>v,XS:()=>E,xM:()=>r});var e=t(35604),v=(o=>(o[o.DISABLE_PARENTAL_CONTROLS=0]="DISABLE_PARENTAL_CONTROLS",o[o.ENABLE_PARENTAL_CONTROLS=1]="ENABLE_PARENTAL_CONTROLS",o))(v||{});const f=14;var r=(o=>(o.SUBSCRIPTIONS="SUBSCRIPTIONS",o.ACCOUNT_DETAILS="ACCOUNT_DETAILS",o.ACCOUNT_SECURITY="ACCOUNT_SECURITY",o.PAYMENT_DETAILS="PAYMENT_DETAILS",o.PREFERENCES="PREFERENCES",o.PARTITIONS="PARTITIONS",o.ACCOUNT_SETTINGS="ACCOUNT_SETTINGS",o))(r||{});const E=[{title:"subscriptions",type:e.xU.VIEW,data:{view:"SUBSCRIPTIONS"}},{title:"accountDetails",type:e.xU.VIEW,data:{view:"ACCOUNT_DETAILS"}},{title:"accountSecurity",type:e.xU.VIEW,data:{view:"ACCOUNT_SECURITY"}},{title:"paymentDetails",type:e.xU.VIEW,data:{view:"PAYMENT_DETAILS"}},{title:"preferences",type:e.xU.VIEW,data:{view:"PREFERENCES"}},{title:"partitions",type:e.xU.VIEW,data:{view:"PARTITIONS"}},{title:"accountSettings",type:e.xU.VIEW,data:{view:"ACCOUNT_SETTINGS"}}],P="Something went wrong"})}]);})(); 2 3//# sourceMappingURL=19267.3c9d6188f71c96ab644a.js.map
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.