PageSourceSearch

https://community.fds.or.jp/_next/static/chunks/pages/sso/saml/link-a953cf86518756c6.js

js fds.or.jp collected 2026-09-24 20:36:08 UTC 12,633 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="000ca706-a3ea-5b8d-b80d-b5667a9bf8a2")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3290],{9356:(e,t,s)=>{"use strict";s.d(t,{B_:()=>i,Ki:()=>o,Uv:()=>c,mb:()=>n});var a=s(49151),r=s(33179);let i=()=>{let e=(0,a.q)();return{validateSamlResponse:async t=>(0,r.Lx)(e,t)}},o=()=>{let e=(0,a.q)();return{ssoSignInWithSaml:async t=>(0,r.vW)(e,t)}},n=()=>{let e=(0,a.q)();return{ssoSignUpWithSaml:async(t,s)=>(0,r.HN)(e,t,s)}},c=()=>{let e=(0,a.q)();return{linkSamlAccount:async(t,s)=>(0,r.Tc)(e,t,s)}}},19181:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>I});var a=s(45023),r=s(51949),i=s.n(r),o=s(23144),n=s.n(o),c=s(36439),l=s(90524),d=s(38982),p=s(41471),h=s(7347),m=s(14643),u=s(63451),g=s(65893),f=s(52901),x=s(40924),y=s(84822),b=s(70284),S=s(28182),w=s(9356),v=s(81496);let I=function(){let e=(0,p.useSelector)(e=>e.user.samlResponse),t=(0,p.useSelector)(e=>e.user.samlLinkMaskedEmail),s=(0,p.useSelector)(e=>e.app.brand.design?.common.logo.src),r=(0,p.useDispatch)(),{t:o}=(0,l.B)(["pages/sso"]),I=(0,y.R)(),{redirectSuccess:_,redirectFailed:N}=(0,S.w)(),{linkSamlAccount:Y}=(0,w.Uv)(),[j,D]=(0,c.useState)(""),[k,E]=(0,c.useState)(!1),[L,T]=(0,c.useState)(),C={"password-invalid":o("Incorrect password. Check the password you set for this community and try again."),network:o("Could not connect. Check your network connection and try again.")};if((0,c.useEffect)(()=>{e||N()},[e]),!e)return null;let O=async t=>{t.preventDefault();try{E(!0),T(void 0);let{token:t}=await Y(e,j);r(b.jl.request({token:t,successCb:_,errCb:N}))}catch(e){if(E(!1),!(0,v.F)(e))return void N();if(void 0===e.response)return void T("network");if(e.response.data?.error?.code===h.TH.PasswordInvalid){D(""),T("password-invalid");return}N()}};return(0,a.FD)(f.B,{height:450,headerText:o("Link your account"),headerImage:(0,a.Y)("section",{className:"jsx-4d35ab62cec4f98a text-center image-container",children:(0,a.Y)("img",{src:s,style:{maxWidth:240},alt:"commmune-logo",className:"jsx-4d35ab62cec4f98a"})}),children:[(0,a.Y)("p",{className:"jsx-4d35ab62cec4f98a body-txt",children:o("You’ve signed in with SSO. This community already has an account registered with the same email address.")}),t&&(0,a.FD)("section",{className:"jsx-4d35ab62cec4f98a acct-box",children:[(0,a.Y)(u.A,{style:{fontSize:20,color:"#717171"}}),(0,a.FD)("span",{className:"jsx-4d35ab62cec4f98a",children:[(0,a.Y)("span",{className:"jsx-4d35ab62cec4f98a acct-email",children:t}),(0,a.Y)("span",{className:"jsx-4d35ab62cec4f98a acct-caption",children:o("Existing account")})]})]}),(0,a.Y)("p",{className:"jsx-4d35ab62cec4f98a body-txt",children:(0,a.Y)(d.x,{t:o,i18nKey:"To confirm it’s you, enter <1>the password for this community</1>.",components:{1:(0,a.Y)("strong",{className:"jsx-4d35ab62cec4f98a"})}})}),(0,a.Y)("p",{className:"jsx-4d35ab62cec4f98a note-sm",children:o("Note: this is not your company system password — it’s the password you set when you registered for this community.")}),(0,a.FD)("form",{onSubmit:O,className:"jsx-4d35ab62cec4f98a",children:[(0,a.Y)("section",{className:"jsx-4d35ab62cec4f98a form-group password-field",children:(0,a.Y)(x.E,{password:j,onChange:e=>D(e.target.value),label:o("Password for this community"),invalid:void 0!==L,helperText:L&&C[L]})}),(0,a.Y)("section",{className:"jsx-4d35ab62cec4f98a cta-row text-center",children:(0,a.Y)(g.a,{type:"submit",className:"w-75",color:I.ctaColor,disabled:k||j.length<1,"data-cy":"sso-link-button",children:o("Link account and log in")})})]}),(0,a.FD)("section",{className:"jsx-4d35ab62cec4f98a text-center foot",children:[(0,a.Y)("p",{className:"jsx-4d35ab62cec4f98a note-sm",children:o("You’ll only be asked to do this once.")}),(0,a.Y)(n(),{className:"foot-link",href:m.default.VIEW_PASSWORD_NEW,"data-cy":"forgot-password-link",children:o("Forgot Password? (reset)")}),(0,a.Y)(n(),{className:"foot-link",href:m.default.SSO_SAML_LINK_HELP,"data-cy":"sso-link-help-link",children:o("Don’t recognize this account?")})]}),(0,a.Y)(i(),{id:"4d35ab62cec4f98a",children:".image-container.jsx-4d35ab62cec4f98a{margin-bottom:30px}.body-txt.jsx-4d35ab62cec4f98a{font-size:14px;color:#454545;line-height:1.8;margin:24px 0 0}.acct-box.jsx-4d35ab62cec4f98a{display:flex;align-items:center;gap:10px;background:#f7f7f7;border-radius:6px;padding:12px 14px;margin-top:20px}.acct-email.jsx-4d35ab62cec4f98a{display:block;font-size:14px;font-weight:600;color:#262626;line-height:1.4}.acct-caption.jsx-4d35ab62cec4f98a{display:block;font-size:11px;color:#717171;margin-top:1px}.note-sm.jsx-4d35ab62cec4f98a{font-size:12px;color:#909090;line-height:1.7;margin:8px 0 0}.password-field.jsx-4d35ab62cec4f98a{margin-top:24px}.cta-row.jsx-4d35ab62cec4f98a{margin-top:32px}.foot.jsx-4d35ab62cec4f98a{margin-top:16px}.foot.jsx-4d35ab62cec4f98a .foot-link{display:block;margin-top:8px;font-size:12px;color:#909090;text-decoration:underline}"})]})}},22884:(e,t,s)=>{"use strict";s.d(t,{b:()=>i});var a=s(45023),r=s(78201);let i=e=>{let{invalid:t,style:s,type:i,...o}=e;return(0,a.Y)(r.A_,{type:i||"text",style:{...s,display:"block"},error:t,fullWidth:!0,inputProps:{"data-cy":"labeled-text-input"},...o})}},28182:(e,t,s)=>{"use strict";s.d(t,{w:()=>n});var a=s(14643),r=s(93137),i=s(26612),o=s(58367);let n=()=>{let e=(0,r.useRouter)();return{redirectOidcSignUp:()=>{e.replace(a.default.SSO_OIDC_SIGN_UP)},redirectSamlSignUp:()=>{e.replace(a.default.SSO_SAML_SIGN_UP)},redirectSamlLink:()=>{e.replace(a.default.SSO_SAML_LINK)},redirectSuccess:()=>{let e=o.tN.popURL(),t=e&&"undefined"!==e?e:a.default.VIEW_HOME;(0,i.eM)(t)},redirectFailed:()=>e.replace(a.default.SSO_FAILED),redirectSamlLinkFailed:()=>e.replace(a.default.SSO_SAML_LINK_FAILED)}}},33179:(e,t,s)=>{"use strict";s.d(t,{ES:()=>n,HN:()=>d,Lx:()=>c,Tc:()=>p,d4:()=>a,vW:()=>l});let a=async e=>{let{data:t}=await e.get("/sso/saml/configurations");return t};
3class r extends Error{}class i extends Error{}class o extends Error{}let n=async(e,t)=>{try{let{data:s}=await e.get("/sso/saml/request",{params:{samlConfigurationId:t}});return s}catch(e){throw new r(e.message||"Saml request url fetch failed")}},c=async(e,t)=>{try{let{data:s}=await e.post("/sso/saml/validate",{encodedSamlResponse:t});return s}catch(e){throw new i(e.message||"Saml response validation failed")}},l=async(e,t)=>{try{let{data:s}=await e.post("/sso/saml/signin",{encodedSamlResponse:t});return s}catch(e){throw new o(e.message||"Sign-in failed")}},d=async(e,t,s)=>{try{let{data:a}=await e.post("/sso/saml/signup",{encodedSamlResponse:t,mailNotifyOptions:s});return a}catch(e){throw new o(e.message||"Sign-up failed")}},p=async(e,t,s)=>{let{data:a}=await e.post("/sso/saml/link",{encodedSamlResponse:t,password:s});return a}},40924:(e,t,s)=>{"use strict";s.d(t,{E:()=>c});var a=s(45023),r=s(36439),i=s(90524),o=s(22884),n=s(41187);let c=e=>{let{t}=(0,i.B)("pages/view"),s=r.useRef(null);return(0,a.Y)(o.b,{inputRef:s,name:"password",type:"password",label:e.label??t("Password"),value:e.password,onChange:e.onChange,invalid:e.invalid,helperText:e.helperText,"data-cy":"input-password",InputProps:{endAdornment:(0,a.Y)(n.k,{inputFormRef:s})}})}},52901:(e,t,s)=>{"use strict";s.d(t,{B:()=>l});var a=s(45023),r=s(51949),i=s.n(r);s(36439);var o=s(86404),n=s(93801),c=s(84822);function l({disableSiteDesign:e,headerText:t,headerImage:s,children:r,...d}){let p=(0,c.R)();return e?(0,a.FD)(o.W,{...d,children:[s,(0,a.Y)("section",{children:(0,a.Y)(n.n,{text:t})}),r]}):(0,a.FD)("div",{className:"jsx-bafd874e9de19258 siteDesignBackground",children:[(0,a.FD)("div",{className:"jsx-bafd874e9de19258 siteDesignCard",children:[(0,a.FD)("div",{className:"jsx-bafd874e9de19258",children:[s,(0,a.Y)("section",{className:"jsx-bafd874e9de19258",children:(0,a.Y)(n.n,{text:t,color:p.headingColor})})]}),(0,a.Y)("div",{className:"jsx-bafd874e9de19258 siteDesignCardContent",children:r})]}),(0,a.Y)(i(),{id:"bafd874e9de19258",children:".siteDesignBackground.jsx-bafd874e9de19258{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding-block:16px}.siteDesignCard.jsx-bafd874e9de19258{width:min(408px,90%);min-height:514px;display:grid;grid-template-rows:auto 1fr;align-items:center;margin:0 auto;background-color:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.06);padding:32px 24px}.siteDesignCardContent.jsx-bafd874e9de19258{min-width:0}.siteDesignCard.jsx-bafd874e9de19258 button:disabled{opacity:.25}"})]})}},58367:(e,t,s)=>{"use strict";s.d(t,{Ae:()=>a,Al:()=>o,RG:()=>r,tN:()=>i});class a{static{this.TITLE="temporaryPostTitle"}static{this.BODY="temporaryPostBody"}static{this.IS_TWEET="temporaryPostIsTweet"}static{this.URL_PREVIEW="temporaryUrlPreview"}static store(e,t,s){sessionStorage.setItem(this.TITLE,e),sessionStorage.setItem(this.BODY,t),this.storeIsTweet(s)}static storePreview(e){sessionStorage.setItem(this.URL_PREVIEW,JSON.stringify(e))}static storeTitle(e){sessionStorage.setItem(this.TITLE,e)}static storeBody(e){sessionStorage.setItem(this.BODY,e)}static storeIsTweet(e){void 0!==e&&localStorage.setItem(this.IS_TWEET,`${e}`)}static getTitle(){return sessionStorage.getItem(this.TITLE)||""}static getBody(){return sessionStorage.getItem(this.BODY)||""}static getIsTweet(){return"true"===localStorage.getItem(this.IS_TWEET)}static clearSessionStorage(){sessionStorage.removeItem(this.TITLE),sessionStorage.removeItem(this.BODY)}}class r{static{this.BODY="temporaryCommentBody"}static storeBody(e){sessionStorage.setItem(this.BODY,e)}static getBody(){return sessionStorage.getItem(this.BODY)||""}static clearSessionStorage(){sessionStorage.removeItem(this.BODY)}}let i={URL:"temporaryReferrerURL",storeURL:e=>{sessionStorage.setItem(i.URL,void 0===e?"undefined":e)},popURL:()=>{let e=sessionStorage.getItem(i.URL)||"";return sessionStorage.removeItem(i.URL),"undefined"===e?"":e}},o=(e,t)=>{let s=()=>{let s=Number(localStorage.getItem(e));if(!s)return!1;let a=Date.now()-s;return a>=0&&a<t};return{isAvailable:()=>{try{return!s()}catch{return!1}},tryConsume:()=>{try{if(s())return!1;return localStorage.setItem(e,String(Date.now())),!0}catch{return!1}},clear:()=>{try{localStorage.removeItem(e)}catch{return}}}}},63451:(e,t,s)=>{"use strict";var a=s(3396);t.A=void 0;var r=a(s(18969)),i=s(2183);t.A=(0,r.default)((0,i.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 14H4V8l8 5 8-5zm-8-7L4 6h16z"}),"MailOutline")},63626:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/sso/saml/link",function(){return s(19181)}])},84822:(e,t,s)=>{"use strict";s.d(t,{R:()=>i});var a=s(41471),r=s(92835);let i=()=>(0,a.useSelector)(r.$f)},86404:(e,t,s)=>{"use strict";s.d(t,{W:()=>n});var a=s(45023),r=s(51949),i=s.n(r),o=s(36439);class n extends o.Component{render(){return(0,a.FD)("div",{className:i().dynamic([["e758bd21b0ac938c",[this.props.width?this.props.width:"360",this.props.center?"0":"-10%",this.props.height]]])+" sharedContainer",children:[this.props.children,(0,a.Y)(i(),{id:"e758bd21b0ac938c",dynamic:[this.props.width?this.props.width:"360",this.props.center?"0":"-10%",this.props.height],children:`.sharedContainer.__jsx-style-dynamic-selector{width:90%;max-width:${this.props.width?this.props.width:"360"}px;margin:auto;position:absolute;top:${this.props.center?"0":"-10%"};bottom:0;left:0;right:0;height:${this.props.height}px}`})]})}}},93801:(e,t,s)=>{"use strict";s.d(t,{n:()=>c});var a=s(45023),r=s(51949),i=s.n(r),o=s(48208),n=s(78201);let c=e=>(0,a.FD)(a.FK,{children:[(0,a.FD)("section",{className:i().dynamic([["24351ea278c5f977",[e.color||"#254860"]]])+" header",children:[e.route&&(0,a.Y)(o.N,{route:e.route,children:(0,a.Y)(n.K0,{style:{position:"absolute",top:-5,left:0},children:(0,a.Y)("i",{className:i().dynamic([["24351ea278c5f977",[e.color||"#254860"]]])+" fas fa-chevron-left"})})}),(0,a.Y)("span",{className:i().dynamic([["24351ea278c5f977",[e.color||"#254860"]]]),children:e.text})]}),(0,a.Y)(i(),{id:"24351ea278c5f977",dynamic:[e.color||"#254860"],children:`.header.__jsx-style-dynamic-selector{font-size:24px;font-weight:bold;text-align:center}.header.__jsx-style-dynamic-selector span.__jsx-style-dynamic-selector{color:${e.color||"#254860"}}.iconButton.__jsx-style-dynamic-selector{position:absolute;top:7px;left:15px}`})]})}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=63626)),_N_E=e.O()}]);
4//# sourceMappingURL=link-a953cf86518756c6.js.map
5//# debugId=000ca706-a3ea-5b8d-b80d-b5667a9bf8a2

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.