PageSourceSearch

https://support.ultimatetax.com/auth/v3/_next/static/chunks/pages/sso_bypass-4f639aa03b8919d2.js

js ultimatetax.com collected 2026-09-29 14:56:47 UTC 4,375 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[764],{399:(e,s,r)=>{"use strict";r.r(s),r.d(s,{__N_SSP:()=>b,default:()=>v});var t=r(7876),a=r(4232),i=r(7328),n=r.n(i),l=r(9099),o=r(8893),u=r(9374),c=r(6118),_=r(1011),d=r(6182);let p=async({email:e,auth_origin:s,return_to_on_failure:r,brand_id:t})=>await fetch("/access/token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,auth_origin:s,return_to_on_failure:r,brand_id:t})});var h=r(5777),g=r(8516);let f=r(7856).Ay.div.withConfig({displayName:"styled__IntroDiv",componentId:"sc-42c70886-0"})(["text-wrap:wrap;text-align:center;display:inline-block;"]),x=()=>{let{t:e}=(0,o.Bd)();return(0,t.jsxs)(g.eJ,{children:[(0,t.jsx)(f,{children:(0,t.jsx)(d.XL,{isBold:!0,tag:"h1",children:e("login_ui_service.sso_bypass.success.title")})}),(0,t.jsx)(g.IW,{space:"25px"}),(0,t.jsx)(g.z6,{children:e("login_ui_service.sso_bypass.success.paragraph_1_v2")}),(0,t.jsx)(g.IW,{space:"25px"}),(0,t.jsx)(g.kR,{children:e("login_ui_service.sso_bypass.success.paragraph_2_v2")})]})};var b=!0;let v=()=>{let{t:e}=(0,o.Bd)(),[s,r]=(0,a.useState)(!1),[i,b]=(0,a.useState)(null),[v,y]=(0,a.useState)(""),[j,m]=(0,a.useState)(null),w=(0,a.useRef)(null),$=(0,l.useRouter)(),A=(0,a.useCallback)(async s=>{if(s.preventDefault(),m(null),b(null),!v){w.current?.focus(),m(e("login_ui_service.sso_bypass.error.provide_an_email"));return}if(!h.Uo.test(v)){w.current?.focus(),m(e("login_ui_service.sso_bypass.error.invalid_email"));return}let t=await p({email:v,auth_origin:$.query.auth_origin,return_to_on_failure:window.location.href,brand_id:$.query.brand_id});if(t.ok)r(!0);else{let s=await t.json();b(e("login_ui_service.sso_bypass.error.could_not_send",{error:s.message||s.error}))}},[v,e,$.query.auth_origin,$.query.brand_id]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n(),{children:(0,t.jsx)("title",{children:e("login_ui_service.sso_bypass.header.title")})}),s?(0,t.jsx)(x,{}):(0,t.jsxs)(g.eJ,{children:[i&&(0,t.jsx)(g.cN,{"data-testid":"sso-bypass-error",type:"error",children:i}),(0,t.jsx)(f,{children:(0,t.jsx)(d.XL,{tag:"h1",children:e("login_ui_service.sso_bypass.form.header_v2")})}),(0,t.jsx)(g.DF,{}),(0,t.jsx)("form",{onSubmit:e=>A(e),children:(0,t.jsx)("fieldset",{children:(0,t.jsxs)(g.mh,{children:[(0,t.jsx)(u.D.Label,{children:e("login_ui_service.sso_bypass.form.email.label_v2")}),(0,t.jsx)(c.p,{"data-testid":"email-input",onChange:e=>y(e.target.value),value:v,ref:w,autoFocus:!0,autoComplete:"email","aria-required":"true"}),j&&(0,t.jsx)(u.D.Message,{validation:"error",children:j})]})})}),(0,t.jsx)(_.$,{"data-testid":"submit-button",isPrimary:!0,isStretched:!0,onClick:e=>A(e),children:e("login_ui_service.sso_bypass.form.submit_button")})]})]})}},5251:(e,s,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/sso_bypass",function(){return r(399)}])},5777:(e,s,r)=>{"use strict";r.d(s,{$G:()=>v,AO:()=>b,EI:()=>a,Gu:()=>f,Il:()=>i,LT:()=>x,Mv:()=>l,RO:()=>t,SJ:()=>g,Uo:()=>p,eA:()=>u,kx:()=>o,lj:()=>n,n6:()=>_,o2:()=>h,rL:()=>c,zB:()=>d});let t=/^\/hc\/[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?/,a=/^\/(agent|tickets|csv_exports|reports|connect|chat|admin|peeps|sell|rosetta|knowledge|explore|oauth_bridge)(\?|\/|$)/,i=/^\/(billing)(\?|\/|$)/,n=/^\/(qa)(\?|\/|$)/,l=/^\/(app_market)(\?|\/|$)/,o=/^\/(email-integrations)(\?|\/|$)/,u=/^\/(forethought\/dashboard)(\?|\/|#|$)[\w\-./~:?#@!$&'()*+,;=%]*$/,c=/^\/(attachments)(\?|\/|$)/,_=/^\/(approvals)(\?|\/|$)/,d=/^\/ai-agents(\?|\/|$)/,p=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,h=/[^\p{L}
1\d]/gu,g=/[0-9]/,f=/[^a-z0-9]/i,x=/[A-Z]/,b=/[a-z]/,v=(e,s)=>{if(!s||e>s.length)return!1;let r=1,t=1,a=null;for(let i of s){if(i===a){if((r+=1)>e)return!0}else r=1;if(y(i,a)){if((t+=1)>e)return!0}else t=1;a=i}return!1},y=(e,s)=>{if(!s)return!1;let r=e.charCodeAt(0),t=s.charCodeAt(0);return r===t+1||t-1===r}},6182:(e,s,r)=>{"use strict";r.d(s,{XL:()=>l});var t=r(4232),a=r(5062),i=r.n(a),n=r(5274);let l=(0,t.forwardRef)(({isBold:e,tag:s="div",...r},a)=>t.createElement(n.p,Object.assign({$size:"extralarge",$isBold:e,ref:a,as:s},r)));l.displayName="XL",l.propTypes={tag:i().any,isBold:i().bool}},7328:(e,s,r)=>{e.exports=r(8022)},9099:(e,s,r)=>{e.exports=r(9603)}},e=>{e.O(0,[636,593,792],()=>e(e.s=5251)),_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.