1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7985],{7187:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});var r=n(1808),i=n(91054);function o(e){var t,n,o=e.children,c=function(e,t){if(null==e)return{};var n,r,i,o={};if("undefined"!=typeof Reflect&&Reflect.ownKeys){for(i=0,n=Reflect.ownKeys(Object(e));i<n.length;i++)r=n[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}if(o=function(e,t){if(null==e)return{};var n,r,i={},o=Object.getOwnPropertyNames(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,t),Object.getOwnPropertySymbols)for(i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)r=n[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,["children"]);return(0,r.jsx)(i.E,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},c),n=n={children:o},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))}o.ariane={category:"typography",type:"component",status:"beta"}},15658:(e,t,n)=>{"use strict";n.d(t,{Hw:()=>y,LN:()=>l,O$:()=>b,SD:()=>j,XP:()=>a,ZB:()=>p,ZM:()=>d,c5:()=>s,fx:()=>f,uZ:()=>u});var r=n(75684),i=n(40092);let{mazeWebAppUrl:o,signupApiUrl:c}=r.W;function u(){return o}function l(){return"".concat(o,"home")}function a(e){return"".concat(o,"projects/").concat(e)}function s(e){return(0,i.N)("/signup",e)}function f(e){return(0,i.N)("/login",e)}function p(e){return(0,i.N)("/join",e)}function d(e){return(0,i.N)("/join-project",e)}function b(e){return(0,i.N)("/forgot",e)}function j(e){return(0,i.N)("/verify-sso",{teamRefName:e})}function y(e){return(0,i.N)(new URL("/public/auth/sso/enter",c).href,{teamRefName:e})}},40092:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(57688),i=n.n(r),o=n(10810);function c(e,t){if(i()(t)||t&&!Object.values(t).some(e=>e))return e;let[n,r]=decodeURIComponent(e).split("?"),c={...(0,o.parse)(r),...t};return"".concat(n,"?").concat((0,o.stringify)(c))}},71725:(e,t,n)=>{"use strict";n.d(t,{D:()=>j});var r=n(1808),i=n(43793),o=n(47059),c=n(54654),u=n(1728),l=n(7187),a=n(19939),s=n(84074),f=n(73628),p=n(6152),d=n(55600),b=n(15658);let j=()=>{let{teamRefNameDefaultValue:e=""}=(0,s.useRouter)().query,[t,n]=(0,f.useState)(e),[j,y]=(0,f.useState)(),[m,h]=(0,f.useState)(!1);
1return(0,r.jsx)(d.D,{leftColumnWidth:[1,1,1,"560px"],rightColumnType:"landing",children:(0,r.jsx)(p.e,{isActive:!0,position:"relative",normalizeAutofill:!0,children:(0,r.jsxs)(c.s,{flexDirection:"column",justifyContent:"space-between",height:"100%",mt:"20px",children:[(0,r.jsxs)("form",{onSubmit:e=>{if(e.preventDefault(),!t.length)return void y("Please enter your team identifier");h(!0);let n=(0,b.Hw)(t);window.location.assign(n)},children:[(0,r.jsx)(u.D,{level:1,children:"Log in with SSO"}),(0,r.jsx)(i.a,{p:"4px",children:(0,r.jsx)(i.a,{mt:"40px",children:(0,r.jsx)(a.A,{name:"teamRefName",label:"Enter team identifier",type:"text",value:t,onChange:e=>{n(e.target.value),y(void 0)},"data-e2e":"team_id_input",id:"team_id_input",error:j,minLength:1})})}),(0,r.jsx)(c.s,{mt:"24px",justifyContent:"end",children:(0,r.jsx)(o.$,{waiting:m,type:"submit","data-e2e":"login_submit_button",size:"MD",children:"Continue to SSO login"})})]}),(0,r.jsx)(i.a,{mb:"48px",children:(0,r.jsx)(l.N,{href:"/login",color:"default.extra.awake",children:"Log in with email"})})]})})})}},82494:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/login-sso/[teamRefNameDefaultValue]",function(){return n(96984)}])},96984:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>u,default:()=>l});var r=n(1808),i=n(66513),o=n.n(i),c=n(71725),u=!0;let l=function(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o(),{children:(0,r.jsx)("title",{children:"Maze â SSO Login"})}),(0,r.jsx)(c.D,{})]})}}},e=>{e.O(0,[1448,7096,7688,7182,8904,1413,2382,7059,775,9939,636,6593,8792],()=>e(e.s=82494)),_N_E=e.O()}]); 2//# sourceMappingURL=[teamRefNameDefaultValue]-0cdfebc4089e3981.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.