1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2caef9ea-0bc0-4cc4-82f3-883ec2598a35",e._sentryDebugIdIdentifier="sentry-dbid-2caef9ea-0bc0-4cc4-82f3-883ec2598a35")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9799],{21040:(e,t,n)=>{"use strict";var r=n(29563);t.A=void 0;var i=r(n(73231)),a=n(37876);t.A=(0,i.default)((0,a.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft")},21289:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(18153),i=n(21040),a=n(70496),s=n(48230),u=n.n(s),c=n(38470);let o=e=>{let{onContinue:t,onBack:n,backUrl:s,nextUrl:o,continueButtonText:d="Continue",continueButtonTextSmall:h="Continue"}=e,l=!o&&!t;return(0,r.FD)(c.F,{children:[(n||s)&&(0,r.Y)(a.A,{variant:"text",LinkComponent:u(),href:s,onClick:n,startIcon:(0,r.Y)(i.A,{}),"data-cy":"dbs-page-shell-back-button",children:"Back"}),(0,r.Y)(a.A,{disabled:l,onClick:t,LinkComponent:u(),href:o,"data-cy":"dbs-page-shell-continue-button",sx:{display:{xs:"none",sm:"inline-block",lineHeight:"inherit"}},children:d}),(0,r.Y)(a.A,{disabled:l,onClick:t,LinkComponent:u(),href:o,"data-cy":"dbs-page-shell-continue-small-button",sx:{display:{sm:"none",lineHeight:"inherit"}},children:h})]})}},26649:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Form:()=>S,__N_SSP:()=>b,default:()=>x});var r=n(18153),i=n(37182),a=n(10871),s=n(5067),u=n(81516),c=n(36960),o=n(9227),d=n(38308),h=n(77923),l=n(21289),f=n(52562),p=n(27092),v=n(80508),g=n(79441),y=n(70496),m=n(56557),$=n.n(m),D=n(89099),Y=n(87419),b=!0;function x(){return(0,r.FD)(r.FK,{children:[(0,r.Y)(c.a,{}),(0,r.Y)(u.A,{maxWidth:"sm",sx:{marginTop:{xs:"88px",md:"max(88px, 15VH)"},mb:3},children:(0,r.FD)(a.A,{spacing:3,justifyContent:"space-around",children:[(0,r.Y)(s.A,{variant:"h2",children:"Are you registered with the DBS Update Service?"}),(0,r.Y)(a.A,{children:(0,r.FD)(i.A,{sx:{padding:"1.5rem"},"data-cy":"serviceDescription",children:[(0,r.FD)(s.A,{variant:"text1",children:[(0,r.Y)("b",{children:"Important: "}),"90% of tutors on site are ",(0,r.Y)("b",{children:"not"})," ","registered with the Update Service. Incorrectly claiming that you are registered may put your application at risk.",(0,r.Y)("br",{}),"If you're unsure, select 'No' below."]}),(0,r.Y)("br",{}),(0,r.Y)(s.A,{variant:"text1",fontStyle:"italic",children:"How do I know if I'm registered?"}),(0,r.FD)(o.A,{sx:{listStyleType:"disc",pl:4,padding:"4px 0 4px 28px"},children:[(0,r.Y)(d.Ay,{sx:{display:"list-item",padding:"0"},children:(0,r.Y)(s.A,{variant:"text1",children:"You've paid \xa316 per year to the DBS Update Service"})}),(0,r.Y)(d.Ay,{sx:{display:"list-item",padding:"0"},children:(0,r.Y)(s.A,{variant:"text1",children:"You've received confirmation emails from them"})}),(0,r.Y)(d.Ay,{sx:{display:"list-item",padding:"0"},children:(0,r.Y)(s.A,{variant:"text1",children:"You have login details for the online portal"})})]})]})})]})}),(0,r.Y)(S,{})]})}let S=()=>{let e=(0,D.useRouter)(),{updateDbsData:t,dbsData:n}=(0,h.Mh)(),c=null==n?void 0:n.issuingDate,o=null==n?void 0:n.registeredWithUpdateService,d=void 0!==o?()=>{if(void 0===c)return void e.push("".concat(f.L1.ISSUE_DATE));let t=$()().subtract(84,"day").format("YYYY-MM-DD"),n=!$()(t).isBefore(c);e.push("".concat(n&&!1===o?f.L1.NEED_DBS_EXPIRED:f.L1.DBS_TYPE))}:void 0;return(0,r.FD)(r.FK,{children:[(0,r.Y)(u.A,{maxWidth:"sm",children:(0,r.FD)(a.A,{spacing:1,"data-cy":"registeredWithUpdateService",children:[(0,r.Y)(i.A,{children:(0,r.Y)(p.A,{sx:{padding:"1.5rem"},children:(0,r.Y)(v.A,{control:(0,r.Y)(g.A,{}),label:(0,r.Y)(s.A,{variant:"h4",paddingLeft:2,children:"No, I don't have a paid subscription with the DBS Update Service"}),value:"false",onChange:()=>{t("registeredWithUpdateService",!1)},checked:!1===o,sx:{margin:0}})})}),(0,r.Y)(i.A,{children:(0,r.Y)(p.A,{sx:{padding:"1.5rem"},children:(0,r.Y)(v.A,{control:(0,r.Y)(g.A,{}),label:(0,r.Y)(s.A,{variant:"h4",paddingLeft:2,children:"Yes, I have a paid subscription and can provide my registration details for verification"}
1),value:"true",onChange:()=>{t("registeredWithUpdateService",!0)},checked:!0===o,sx:{margin:0}})})}),(0,r.Y)(a.A,{direction:"row",children:(0,r.Y)(y.A,{color:"primary",startIcon:(0,r.Y)(Y.A,{sx:{color:"#006E63"}}),variant:"text",href:"https://intercom.help/mytutor_help/en/articles/6576238-what-is-the-dbs-update-service",target:"_blank",children:"How do I know if I've signed up?"})})]})}),(0,r.Y)(l._,{backUrl:"".concat(f.L1.ISSUE_DATE),onContinue:d})]})}},38470:(e,t,n)=>{"use strict";n.d(t,{F:()=>c});var r=n(18153),i=n(78581),a=n(73020),s=n(81516),u=n(9129);let c=e=>{let{children:t}=e;return(0,r.Y)(i.A,{position:"fixed",color:"default",elevation:0,sx:{top:"auto",bottom:0,backgroundColor:"secondary.lighter",height:{xs:"80px",md:"72px"}},children:(0,r.Y)(a.A,{sx:{height:{xs:"80px",md:"72px"},padding:"0!important"},children:(0,r.Y)(s.A,{maxWidth:"lg",sx:{padding:"0!important"},children:(0,r.Y)(u.Ay,{container:!0,justifyContent:"space-around",alignItems:"center",sx:{padding:{xs:"0",md:"0 34px"}},children:t})})})})}},56557:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="week",a="month",s="quarter",u="year",c="date",o="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,l=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},f="en",p={};p[f]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};var v="$isDayjsObject",g=function(e){return e instanceof D||!(!e||!e[v])},y=function e(t,n,r){var i;if(!t)return f;if("string"==typeof t){var a=t.toLowerCase();p[a]&&(i=a),n&&(p[a]=n,i=a);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var u=t.name;p[u]=t,i=u}return!r&&i&&(f=i),i||!r&&f},m=function(e,t){if(g(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new D(n)},$={s:l,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+l(Math.floor(n/60),2,"0")+":"+l(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,a),s=n-i<0,u=t.clone().add(r+(s?-1:1),a);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(o){return({M:a,y:u,w:i,d:"day",D:c,h:r,m:n,s:t,ms:e,Q:s})[o]||String(o||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};$.l=y,$.i=g,$.w=function(e,t){return m(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var D=function(){function l(e){this.$L=y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[v]=!0}var f=l.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if($.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(d);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return $},f.isValid=function(){return this.$d.toString()!==o},f.isSame=function(e,t){var n=m(e);return this.startOf(t)<=n&&n<=this.endOf(t)},f.isAfter=function(e,t){return m(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<m(e)},f.$g=function(e,t,n){return $.u(e)?this[t]:this.set(n,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,s){var o=this,d=!!$.u(s)||s,h=$.p(e),l=function(e,t){var n=$.w(o.$u?Date.UTC(o.$y,t,e):new Date(o.$y,t,e),o);return d?n:n.endOf("day")},f=function(e,t){return $.w(o.toDate()[e].apply(o.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),o)},p=this.$W,v=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case u:return d?l(1,0):l(31,11);case a:return d?l(1,v):l(0,v+1);case i:var m=this.$locale().weekStart||0,D=(p<m?p+7:p)-m;return l(d?g-D:g+(6-D),v);case"day":case c:return f(y+"Hours",0);case r:return f(y+"Minutes",1);case n:return f(y+"Seconds",2);case t:return f(y+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(i,s){var o,d=$.p(i),h="set"+(this.$u?"UTC":""),l=((o={}).day=h+"Date",o[c]=h+"Date",o[a]=h+"Month",o[u]=h+"FullYear",o[r]=h+"Hours",o[n]=h+"Minutes",o[t]=h+"Seconds",o[e]=
1h+"Milliseconds",o)[d],f="day"===d?this.$D+(s-this.$W):s;if(d===a||d===u){var p=this.clone().set(c,1);p.$d[l](f),p.init(),this.$d=p.set(c,Math.min(this.$D,p.daysInMonth())).$d}else l&&this.$d[l](f);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[$.p(e)]()},f.add=function(e,s){var c,o=this;e=Number(e);var d=$.p(s),h=function(t){var n=m(o);return $.w(n.date(n.date()+Math.round(t*e)),o)};if(d===a)return this.set(a,this.$M+e);if(d===u)return this.set(u,this.$y+e);if("day"===d)return h(1);if(d===i)return h(7);var l=((c={})[n]=6e4,c[r]=36e5,c[t]=1e3,c)[d]||1,f=this.$d.getTime()+e*l;return $.w(f,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||o;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=$.z(this),a=this.$H,s=this.$m,u=this.$M,c=n.weekdays,d=n.months,l=n.meridiem,f=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},p=function(e){return $.s(a%12||12,e,"0")},v=l||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(h,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return $.s(t.$y,4,"0");case"M":return u+1;case"MM":return $.s(u+1,2,"0");case"MMM":return f(n.monthsShort,u,d,3);case"MMMM":return f(d,u);case"D":return t.$D;case"DD":return $.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(n.weekdaysMin,t.$W,c,2);case"ddd":return f(n.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(a);case"HH":return $.s(a,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return v(a,s,!0);case"A":return v(a,s,!1);case"m":return String(s);case"mm":return $.s(s,2,"0");case"s":return String(t.$s);case"ss":return $.s(t.$s,2,"0");case"SSS":return $.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(e,c,o){var d,h=this,l=$.p(c),f=m(e),p=(f.utcOffset()-this.utcOffset())*6e4,v=this-f,g=function(){return $.m(h,f)};switch(l){case u:d=g()/12;break;case a:d=g();break;case s:d=g()/3;break;case i:d=(v-p)/6048e5;break;case"day":d=(v-p)/864e5;break;case r:d=v/36e5;break;case n:d=v/6e4;break;case t:d=v/1e3;break;default:d=v}return o?d:$.a(d)},f.daysInMonth=function(){return this.endOf(a).$D},f.$locale=function(){return p[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=y(e,t,!0);return r&&(n.$L=r),n},f.clone=function(){return $.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},l}(),Y=D.prototype;return m.prototype=Y,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",a],["$y",u],["$D",c]].forEach(function(e){Y[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),m.extend=function(e,t){return e.$i||(e(t,D,m),e.$i=!0),m},m.locale=y,m.isDayjs=g,m.unix=function(e){return m(1e3*e)},m.en=p[f],m.Ls=p,m.p={},m}()},58177:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/tutors/secure/onboarding/dbs/update-service",function(){return n(26649)}])},87419:(e,t,n)=>{"use strict";var r=n(29563);t.A=void 0;var i=r(n(73231)),a=n(37876);t.A=(0,i.default)((0,a.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutlineOutlined")}},e=>{e.O(0,[871,2786,8308,636,6593,8792],()=>e(e.s=58177)),_N_E=e.O()}]); 2//# sourceMappingURL=update-service-5c9da2c210e88bb4.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.