PageSourceSearch

https://careerpark.jp/app-packs/chunk.4219.b68e45c1f3d2c112bcea.js

js careerpark.jp collected 2026-09-25 02:35:48 UTC 39,676 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkchai_app=self.webpackChunkchai_app||[]).push([[4219],{14121(e,t,a){a.d(t,{B:()=>j});var s=a(74848),n=a(53321),r=a(96540),o=a(49785),i=a(34666),l=a(36525),c=a(43897),u=a(55774),d=a(48551),m=a(42306),h=a(60791);const p={form:"form-b9fkd",formHeading:"formHeading-h7dsx",sectionClearButton:"sectionClearButton-ApcyZ"},x={form:"form-rM02W",formHeading:"formHeading-9dbjL",sectionClearButton:"sectionClearButton-gujXk"},b={initial:"initial",animate:"animate",variants:{initial:{opacity:0},animate:{opacity:1,transition:{delay:.2,duration:1,ease:[.19,1,.22,1]}}}},j=()=>{const e=(0,u.GO)(p,x),{getValues:t,register:a,formState:{errors:r}}=(0,o.xW)(),l=(0,u.hS)(),c=(0,m.P)("addressText",r);return t("postCode")||l.isModalActive?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.P.div,{className:e.section,...b,children:(0,s.jsx)("div",{className:e.sectionInner,children:(0,s.jsx)(i.TM,{label:"お住まいの住所",mt:6,placeholder:"登録してください",rows:1,suffix:(0,s.jsx)(S,{className:e.sectionClearButton,label:"編集",onClick:l.handleOpenModal}),value:f([t("postCode"),(0,h.L)(t("prefectureId")),t("city"),t("addressText")]),readOnly:!0,required:!0})})}),(0,s.jsx)(v,{...l})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:e.sectionInner,children:(0,s.jsx)(i.A_,{errorMessage:c?.message,label:"お住まいの住所",mt:6,placeholder:"登録してください",...a("addressText",{required:d.YI.required}),suffix:(0,s.jsx)(S,{className:e.sectionClearButton,onClick:l.handleOpenModal}),value:f([t("postCode"),(0,h.L)(t("prefectureId")),t("city"),t("addressText")]),disabled:!0,required:!0})}),(0,s.jsx)(v,{...l})]})},f=e=>e[0]?e.join("\n"):"",v=({isModalActive:e,handleCloseModal:t})=>{const a=(0,u.GO)(p,x),{formState:n,getValues:r}=(0,o.xW)();
1return(0,s.jsx)(i.aF,{canOutsideClick:!1,isOpen:e,children:(0,s.jsx)(i.sC,{centered:!0,children:(0,s.jsxs)(i.Bs,{children:[(0,s.jsx)("div",{className:a.formHeading,children:"住所を入力"}),(0,s.jsxs)("div",{className:a.form,children:[(0,s.jsx)(l.cJ,{fields:{postcode:{show:!0,required:!0,default:null,name:"postCode"},prefecture_id:{show:!0,required:!0,default:null,name:"prefectureId"},city:{name:"city",default:null,show:!0,required:!0},address_text:{name:"addressText",show:!0,required:!0},abroad_checkbox:{name:"abroad_checkbox",default:null,show:!1,required:!1}}}),(0,s.jsx)(c.$,{color:"orange",disabled:!!n.errors.postCode||!!n.errors.prefectureId||!!n.errors.city||!!n.errors.addressText||g(r()),mt:8,px:8,text:"決定",type:"button",isArrowNext:!0,onClick:()=>{t()}})]})]})})})},g=e=>!(e.postCode&&e.prefectureId&&e.city&&e.addressText),S=(0,r.memo)((({className:e="",onClick:t,label:a="登録"})=>(0,s.jsx)("button",{className:e,type:"button",onClick:t,children:a})));S.displayName="ClearButton"},48710(e,t,a){a.d(t,{$:()=>i});var s=a(74848),n=(a(96540),a(49785)),r=a(36525),o=a(48551);function i({viewLimit:e}){const{register:t,formState:{errors:a}}=(0,n.xW)();return(0,s.jsx)(r.zQ,{...t("workplaces",{required:o.YI.required}),"data-testid":"input-workplaces",errorMessage:"string"==typeof a.workplaces?.message?a.workplaces.message:void 0,id:"workplaces",label:"希望勤務地",modalTitle:"希望勤務地",names:"workplaces",options:o.l7,tips:"複数選択可能です",viewLimit:e,required:!0})}},60791(e,t,a){a.d(t,{$:()=>r,L:()=>n});const s=[{value:1,label:"北海道"},{value:2,label:"青森県"},{value:3,label:"岩手県"},{value:4,label:"宮城県"},{value:5,label:"秋田県"},{value:6,label:"山形県"},{value:7,label:"福島県"},{value:8,label:"茨城県"},{value:9,label:"栃木県"},{value:10,label:"群馬県"},{value:11,label:"埼玉県"},{value:12,label:"千葉県"},{value:13,label:"東京都"},{value:14,label:"神奈川県"},{value:15,label:"新潟県"},{value:16,label:"富山県"},{value:17,label:"石川県"},{value:18,label:"福井県"},{value:19,label:"山梨県"},{value:20,label:"長野県"},{value:21,label:"岐阜県"},{value:22,label:"静岡県"},{value:23,label:"愛知県"},{value:24,label:"三重県"},{value:25,label:"滋賀県"},{value:26,label:"京都府"},{value:27,label:"大阪府"},{value:28,label:"兵庫県"},{value:29,label:"奈良県"},{value:30,label:"和歌山県"},{value:31,label:"鳥取県"},{value:32,label:"島根県"},{value:33,label:"岡山県"},{value:34,label:"広島県"},{value:35,label:"山口県"},{value:36,label:"徳島県"},{value:37,label:"香川県"},{value:38,label:"愛媛県"},{value:39,label:"高知県"},{value:40,label:"福岡県"},{value:41,label:"佐賀県"},{value:42,label:"長崎県"},{value:43,label:"熊本県"},{value:44,label:"大分県"},{value:45,label:"宮崎県"},{value:46,label:"鹿児島県"},{value:47,label:"沖縄県"},{value:48,label:"海外"}],n=e=>s.find((t=>t.value===Number(e)))?.label,r=e=>s.find((t=>t.label===e))?.value},68667(e,t,a){a.d(t,{q:()=>u});var s=a(74848),n=a(34164),r=(a(96540),a(26281)),o=a(55774),i=a(44757),l=a(68420),c=a(29870);const u=({className:e="",isActive:t=!1,text:a,disabled:u,inputRef:d,value:m,name:h,onClick:p,...x})=>{const b=(0,o.GO)(l.A,c.A);return(0,s.jsx)(r.$x,{as:"button",className:(0,n.$)(b.button,e,u&&b.isDisabled,t&&b.isActive),disabled:u,ref:d,type:"button",...x,name:h,value:m,onClick:e=>{p?.(e),(0,i.wc)({name:h,value:m,...x})},children:a})}},85057(e,t,a){a.d(t,{F:()=>st});var s=a(74848),n=a(54999),r=a(53321),o=a(96540),i=a(34666),l=a(36525),c=a(21547),u=a(1806),d=a(55774),m=a(46553),h=a(63894);const p=1,x=2,b=3,j=4,f=5,v=0,g=1,S=2,y=3,N=4,k=5,C=6,I=7,w=12,T=13,B=14,_=15,G=(e,t)=>{if("back"===t.type)return V(e,t);switch(t.type){case g:return{...e,step:x,scene:N,graduationDateYear:t.year,graduationDateMonth:t.month,is_partner_service:t.is_partner_service,isAdsense:t.isAdsense,userType:t?.userType??e?.userType,isEvent:t.isEvent};case S:return{...e,step:p,userType:t.userType,scene:S};case y:return{...e,userType:t.userType,step:p,scene:y};case N:{const a=b,s=w;return{...e,step:a,scene:s,educationGroup:t.educationGroup}}
1case w:return{...e,step:b,scene:T,educationFirstLetter:t.educationFirstLetter};case T:return{...e,step:b,scene:B,educationSchoolId:t.educationSchoolId,educationSchoolText:t.educationSchoolText,educationSchoolSubjectId:void 0,educationSchoolSubjectText:void 0,educationSchoolSubjectItemId:void 0,educationSchoolSubjectItemText:void 0};case B:return{...e,step:b,scene:_,educationSchoolSubjectId:t.educationSchoolSubjectId,educationSchoolSubjectText:t.educationSchoolSubjectText,educationSchoolSubjectItemId:void 0,educationSchoolSubjectItemText:void 0};case _:return{...e,step:j,scene:C,educationSchoolSubjectItemId:t.educationSchoolSubjectItemId,educationSchoolSubjectItemText:t.educationSchoolSubjectItemText};case k:return{...e,step:j,scene:C,educationFirstLetter:t.educationFirstLetter,educationSchoolId:t.educationSchoolId,educationSchoolSubjectId:t.educationSchoolSubjectId,educationSchoolSubjectItemId:t.educationSchoolSubjectItemId,educationSchoolText:t.educationSchoolText,educationSchoolSubjectText:t.educationSchoolSubjectText,educationSchoolSubjectItemText:t.educationSchoolSubjectItemText,majors:t.majors};case C:return{...e,step:f,scene:I,lastName:t.lastName,firstName:t.firstName,lastNameKana:t.lastNameKana,firstNameKana:t.firstNameKana,gender:t.gender,majors:t.majors,birthdayYear:t.birthdayYear,birthdayMonth:t.birthdayMonth,birthdayDay:t.birthdayDay};case I:return{...e,step:f,scene:I,phoneNumber:t.phoneNumber,lineProfilePhoneNumber:t.lineProfilePhoneNumber,email:t.email,password:t.password,postCode:t.postCode,prefectureId:t.prefectureId,city:t.city,addressText:t.addressText,isSubmit:t.isSubmit,workplaces:t.workplaces,errorType:t.errorType,fieldErrors:t.fieldErrors};default:return e}},V=(e,t)=>{if("back"===t.type&&t.isHistoryReset)return{step:p,scene:g,graduationDateYear:e.graduationDateYear,graduationDateMonth:e.graduationDateMonth};if("back"===t.type)switch(e.scene){case g:case S:return{step:p,scene:v};case y:return{step:p,scene:g};case N:return e.isEvent?{...e,step:p,scene:g}:{...e,step:p,scene:v};case k:return{step:x,scene:N,userType:e?.userType,graduationDateYear:e.graduationDateYear,graduationDateMonth:e.graduationDateMonth};case w:return{...e,step:x,scene:N};case T:{const t=w;return{...e,scene:t}}case B:return{...e,scene:T};case _:return{...e,scene:B};case C:{if(e.contract)return{...e,step:p,scene:N};const t=_;return{...e,step:b,scene:t}}case I:return{...e,step:j,scene:C};default:return e}return e},P=(0,o.createContext)({}),F=()=>(0,o.useContext)(P),L=({children:e,step:t=p,scene:a=g,initState:n={}})=>{const[r,i]=(0,o.useReducer)(G,{...n,step:t,scene:a}),l=(0,o.useCallback)((()=>{i({type:"back"})}),[i]);return(0,s.jsx)(P.Provider,{value:{state:r,dispatch:i,handleBack:l},children:e})},D={formContainer:"formContainer-J5RYI",formWrapper:"formWrapper-kmiZm",form:"form-8+PoZ",formHeading:"formHeading-HNgbE",formHeadingTitle:"formHeadingTitle-dsJ1r",formInnerHeading:"formInnerHeading-YynyZ",formContent:"formContent-Zrq3-",wrapper:"wrapper-Z-Osf",stepbar:"stepbar-260Np",scene:"scene-nvcTa"},Y={formContainer:"formContainer-dcqH9",formWrapper:"formWrapper-HE-2K",form:"form-1UBaK",formHeading:"formHeading-ET4i5",formHeadingTitle:"formHeadingTitle-gHziL",formInnerHeading:"formInnerHeading-Q8eq5",formContent:"formContent-cegmX",wrapper:"wrapper-fzf28",stepbar:"stepbar-fGi7i",scene:"scene-VKrrJ"},E={wrapper:"wrapper-79tbu",stepbar:"stepbar-Qa0Ac",scene:"scene-dTiYY",container:"container-u3XXW"},O={wrapper:"wrapper-UuEo7",stepbar:"stepbar-yYEs5",scene:"scene-civ0g"};var M=a(34164),q=a(43897);const H={wrapper:"wrapper-qtUYA",relativeWrapper:"relativeWrapper-ivnL-",overlay:"overlay-gk6bb",navigationBar:"navigationBar-FQDYB","is-focused":"is-focused",isFocused:"is-focused",inner:"inner-AkuCX",backButton:"backButton-f-nci",nextButton:"nextButton-9EMI6"},W={wrapper:"wrapper-XVAzS",relativeWrapper:"relativeWrapper-FMVwh",overlay:"overlay-wygxi",navigationBar:"navigationBar-KGcpK","is-focused":"is-focused",isFocused:"is-focused",inner:"inner-5CFtl",backButton:"backButton-LW6Oy",nextButton:"nextButton-HYsr3","is-viewportShrink":"is-viewportShrink",isViewportShrink:"is-viewportShrink"},A={formId:null,isHiddenBack:!1,isHiddenNext:!1,canBack:!0,canNext:!0,backText:"戻る",nextText:"次の質問へ進む",isProcessing:!1,isValid:!1,setContext:()=>""},$=(0,o.createContext)({}),K=()=>(0,o.useContext)($),Z=e=>{const[t,a]=(0,o.useState)(A),{handleBack:n}=F(),r=(0,o.useCallback)((e=>{const{formId:t,isValid:s,nextText:r}=e;switch(t){case"formEducation":{const e=s??!1;return a((()=>({...A,formId:t,onBackClick:n,canNext:e,isValid:s})))}case"formName":return a((()=>({...A,formId:t,onBackClick:e.onBackClick??n,canNext:!!s,isValid:s})));case"formProfile":return a((()=>({...A,formId:t,nextText:r,onBackClick:e.onBackClick??n,canNext:!!s,isValid:s})));default:a((()=>({...A,...e,onBackClick:n,isValid:s})))}}),[n]),i=(0,o.useRef)(t.onBackClick);i.current=t.onBackClick;const l=(0,o.useCallback)((()=>{"formName"===t.formId&&a((e=>({...e,isHiddenNext:!0}))),i.current?.()}),[t.formId]);return(0,s.jsx)($.Provider,{...e,value:{...t,onBackClick:l,onNextClick:()=>{a({...t,canNext:!1})},setContext:r}}
1)},R=({overlay:e=!1,customBack:t})=>{const a=(0,d.GO)(H,W),{formId:n,isHiddenBack:r,isHiddenNext:i,canBack:l,backText:c,nextText:u,onBackClick:m,onNextClick:h,isProcessing:p,canNext:x,isValid:b}=K(),{state:j}=F(),f=(0,o.useCallback)((()=>{if(t)return t();m&&m()}),[]),v=(0,o.useCallback)((()=>{if(h?.(),!n)return;const e=document.getElementById(n);e instanceof HTMLFormElement&&e.requestSubmit()}),[n,h]);return(0,s.jsxs)("div",{className:(0,M.$)(a.wrapper,a.relativeWrapper,{[a.overlay]:e}),children:[(0,s.jsx)("div",{className:a.navigationBar,id:"navigationBar"}),(0,s.jsxs)("div",{className:a.inner,children:[!r&&(0,s.jsx)(q.$,{className:a.backButton,disabled:!l||j.isSubmit,isValid:b,mr:2,name:"back",pl:2,relation:j.scene,text:c,isArrowPrev:!0,isStatic:!0,onClick:f}),!i&&!!n&&(0,s.jsx)(q.$,{className:a.nextButton,color:"orange",data:"next",disabled:!x||p||j.isSubmit,form:n,isValid:b,name:"submit",relation:j.scene,text:u,type:"submit",isArrowNext:!0,isStatic:!0,onClick:v})]})]})};var J=a(49785),z=a(26281),Q=a(70158),X=a(68667),U=a(24447),ee=a(48551),te=a(44757);function ae(){const{state:e}=F(),{educationGroup:t,graduationDateYear:a}=e,s=!["junior_college","vocational_school","technical_college","high_school","other"].includes(t??"");return{educationGroup:t??"",graduationDateYear:a,joinItemName:se(t),itemNames:ne(t),isSchoolSubjectRequired:s}}const se=e=>ne(e).join("・"),ne=e=>{switch(e){case"doctor":case"master":return["学校名","学科","専攻"];case"junior_college":case"vocational_school":case"high_school":case"technical_college":return["学校名","学科","コース"];default:return["学校名","学部","学科"]}},re="backButton-+MSob",oe=({disabled:e=!1,text:t="次の質問へ進む",...a})=>{const{state:n}=F();return(0,s.jsx)(q.$,{color:"orange",data:"next",disabled:e,mt:8,name:"submitBtn",text:t,type:"submit","data-disable-enter-next-field":!0,isArrowNext:!0,...a,relation:n.scene})},ie=({name:e="back",onClick:t})=>{const{state:a}=F();return(0,s.jsxs)(z.$x,{as:"button",className:re,mt:4,name:e,type:"button",onClick:e=>{t?.(e),(0,te.wc)({name:"back",relation:a.scene})},children:[(0,s.jsx)(i.rP,{name:"arrowLeft"}),(0,s.jsx)("span",{children:"戻る"})]})},le={section:"section-msgPN",sectionInner:"sectionInner-xT2cT",sectionTitle:"sectionTitle-saQAh",sectionValue:"sectionValue-TlI-2",sectionClearButton:"sectionClearButton-+Y5e8",form:"form-q7wQ+",formSection:"formSection-ifaPJ",formHeading:"formHeading-DkakO",scrollContainer:"scrollContainer-Z6EjP",scrollInner:"scrollInner-suScR",syllabaryList:"syllabaryList-FbWpR",syllabaryButton:"syllabaryButton-RMBjj",list:"list-5mYkw",listItem:"listItem-wlDNr",listItemButton:"listItemButton-j7EBJ",phAnimation:"phAnimation-QKhxs",modalContainer:"modalContainer-d8OWi",backStyle:"backStyle-oESPv",notSelect:"notSelect-OECNK",inner:"inner-R8ziw",text:"text-j1O7S",button:"button-kn1EK",isBlock:"isBlock-qY-pZ",isStatic:"isStatic-OqmZL",isDisabled:"isDisabled-tWVhP",arrowPrev:"arrowPrev-VHtYR",arrowNext:"arrowNext-B3akn",startButton:"startButton-Xafbz",syllabary:"syllabary-7aKzq",syllabaryText:"syllabaryText-pBQK-",listPlaceholder:"listPlaceholder-hXYU+",nextButton:"nextButton-Rzp2Q"},ce={section:"section-NhtNJ",sectionInner:"sectionInner-WP7N2",sectionTitle:"sectionTitle-gNy9J",sectionValue:"sectionValue-i1GPg",sectionClearButton:"sectionClearButton-sbO+t",form:"form-KgPK7",formSection:"formSection-gl+VS",formHeading:"formHeading-6Epxe",scrollContainer:"scrollContainer-8lOJY",scrollInner:"scrollInner--wwLD",syllabaryList:"syllabaryList-elOKS",syllabaryButton:"syllabaryButton-1LY2p",list:"list-ddNfY",listItem:"listItem-jv-2i",listItemButton:"listItemButton-6rGYy",phAnimation:"phAnimation-7tYg-",modalContainer:"modalContainer-QTJPr",backStyle:"backStyle-tQDlS",notSelect:"notSelect-+6KpE",inner:"inner-OXqiL",text:"text-w1k8a",button:"button-isJMH",isBlock:"isBlock-aeFMe",isStatic:"isStatic-jYtCe",isDisabled:"isDisabled-Wtz2E",arrowPrev:"arrowPrev-RDQ7Q",arrowNext:"arrowNext-avFvl",syllabary:"syllabary-TamPl",syllabaryText:"syllabaryText-H2tCS",listPlaceholder:"listPlaceholder-9utdd",modalInner:"modalInner-201r5",nextButton:"nextButton-FmUX-"};function ue(){const e=(0,d.GO)(le,ce),{state:t,dispatch:a}=F();return(0,s.jsx)(r.P.div,{className:e.formSection,...m.W,children:(0,s.jsx)("div",{className:e.syllabary,children:[pe,xe].map(((n,r)=>(0,s.jsx)("ul",{className:e.syllabaryList,children:n.map(((n,r)=>(0,s.jsx)("li",{className:e.syllabaryItem,children:(0,s.jsx)(ge,{className:e.syllabaryButton,disabled:!n,name:"educationFirstLetter",relation:t.scene,text:(0,s.jsx)("span",{className:e.syllabaryText,children:n}),value:n,onClick:()=>{a({type:w,educationFirstLetter:n}
1)}})},r)))},r)))})},"educationFirstLetter")}function de({schools:e,isLoading:t}){const a=(0,d.GO)(le,ce),{state:n,dispatch:o}=F();return(0,s.jsx)(r.P.div,{className:a.formSection,...m.W,children:(0,s.jsx)("div",{className:a.scrollContainer,children:(0,s.jsx)("div",{className:a.scrollInner,children:(0,s.jsx)(Ne,{isLoading:t,children:(0,s.jsx)(r.P.div,{animate:{opacity:1},initial:{opacity:0},children:(0,s.jsxs)("ul",{className:a.list,children:[e.map((({id:e,name:t})=>(0,s.jsx)("li",{className:a.listItem,children:(0,s.jsx)(je,{className:a.listItemButton,label:t,name:"schoolName",relation:n.scene,value:t,onClick:()=>((e,t)=>{o({type:T,educationSchoolId:e,educationSchoolText:t})})(e,t)})},e))),(0,s.jsx)(Se,{defaultCheck:0===e.length||!!n.educationSchoolText&&!n.educationSchoolId,defaultValue:n.educationSchoolId?void 0:n?.educationSchoolText,handleClickNext:e=>{o({type:T,educationSchoolText:e})},name:"educationSchoolText",relation:n.scene,required:!0})]})},"list")})})})},"schoolName")}function me({schoolSubjects:e}){const t=(0,d.GO)(le,ce),{state:a,dispatch:n}=F(),{isSchoolSubjectRequired:o}=ae();return(0,s.jsx)(r.P.div,{className:t.formSection,...m.W,children:(0,s.jsx)("div",{className:t.scrollContainer,children:(0,s.jsx)("div",{className:t.scrollInner,children:(0,s.jsxs)("ul",{className:t.list,children:[e.map((({id:e,name:r})=>(0,s.jsx)("li",{className:t.listItem,children:(0,s.jsx)(je,{className:t.listItemButton,label:r,name:"schoolSubject",relation:a.scene,value:r,onClick:()=>((e,t)=>{n({type:B,educationSchoolSubjectId:e,educationSchoolSubjectText:t})})(e,r)})},e))),(0,s.jsx)(Se,{defaultCheck:0===e.length||!!a.educationSchoolSubjectText&&!a.educationSchoolSubjectId,defaultValue:a.educationSchoolSubjectId?void 0:a?.educationSchoolSubjectText,handleClickNext:e=>{n({type:B,educationSchoolSubjectText:e})},name:"educationSchoolSubjectText",relation:a.scene,required:o})]})})})},"schoolSubject")}function he({schoolSubjectItems:e,isLoading:t}){const a=(0,d.GO)(le,ce),{state:n,dispatch:o}=F(),{isSchoolSubjectRequired:i}=ae();return(0,s.jsx)(r.P.div,{className:a.formSection,...m.W,children:(0,s.jsx)("div",{className:a.scrollContainer,children:(0,s.jsx)("div",{className:a.scrollInner,children:(0,s.jsx)(Ne,{isLoading:t,children:(0,s.jsxs)("ul",{className:a.list,children:[e.map((({id:e,name:t})=>(0,s.jsx)("li",{className:a.listItem,children:(0,s.jsx)(je,{className:a.listItemButton,label:t,name:"schoolSubjectItem",relation:n.scene,value:t,onClick:()=>((e,t)=>{o({type:_,educationSchoolSubjectItemId:e,educationSchoolSubjectItemText:t})})(e,t)})},e))),(0,s.jsx)(Se,{defaultCheck:0===e.length||!!n?.educationSchoolSubjectItemText&&!n?.educationSchoolSubjectItemId,defaultValue:n?.educationSchoolSubjectItemId?void 0:n?.educationSchoolSubjectItemText,handleClickNext:e=>{o({type:_,educationSchoolSubjectItemText:e})},name:"educationSchoolSubjectItemText",relation:n.scene,required:i})]})})})})},"schoolSubjectItem")}const pe=["あ","い","う","え","お","か","き","く","け","こ","さ","し","す","せ","そ","た","ち","つ","て","と","な","に","ぬ","ね","の"],xe=["は","ひ","ふ","へ","ほ","ま","み","む","め","も","や","","ゆ","","よ","ら","り","る","れ","ろ","わ","","を","","ん"],be=({className:e=""})=>(0,s.jsxs)("button",{className:e,type:"button",disabled:!0,children:[(0,s.jsx)(i.a,{size:"small",disabled:!0}),(0,s.jsx)("span",{})]}),je=(0,U.W)((({isTouch:e,className:t="",onClick:a,name:n,value:r,label:o,checked:l=!1,relation:c})=>(0,s.jsx)(Q.r,{name:n,relation:c,value:r,children:(0,s.jsxs)("button",{className:t,name:n,type:"button",value:r,onClick:a,children:[(0,s.jsx)(i.a,{checked:l,isTouch:e,size:"small",value:r,onChange:a}),(0,s.jsx)("span",{children:o})]})}))),fe=({isTracking:e=!1})=>{const{state:t,handleBack:a}=F(),[n,r]=(0,o.useState)(window.innerHeight),i=(0,d.EN)({group:t.educationGroup??"bachelor",firstLetter:t.educationFirstLetter??"",schoolNameId:t.educationSchoolId,schoolSubjectId:t.educationSchoolSubjectId}),{isLoading:l}=i,u=(0,d.GO)(le,ce),{target:m}=(0,d.Y0)(),{itemNames:h}=ae();return(0,o.useEffect)((()=>{const e=()=>{const e=document.getElementById("modalHeader")?.getBoundingClientRect().height??0;r(window.innerHeight-270-e)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.D,{mb:7,number:"03",children:(()=>
1{if(l)return(0,s.jsx)(s.Fragment,{children:"読み込み中"});switch(t.scene){case w:return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{children:"学校名の頭文字の読み"}),"を選択してください"]});case T:return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{children:"学校名"}),"を選択してください"]});case B:return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{children:h[1]}),"を選択してください"]});case _:return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{children:h[2]}),"を選択してください"]});default:return null}})()}),(0,s.jsx)("div",{className:u.form,style:{maxHeight:n},children:(0,s.jsx)(ve,{isTracking:e})}),"pc"===m&&(0,s.jsx)(ie,{onClick:a})]})},ve=({isTracking:e})=>{const{state:t}=F(),a=(0,d.EN)({group:t.educationGroup??"bachelor",firstLetter:t.educationFirstLetter??"",schoolNameId:t.educationSchoolId,schoolSubjectId:t.educationSchoolSubjectId}),{isLoading:n,schools:r,schoolSubjects:o,schoolSubjectItems:i}=a,l=t.contract??"contractNone",c=t.userType??"userTypeNone";switch(t.scene){case w:return(0,s.jsx)(Q.F,{isTracking:e,page_path:`top/modal/educationFirstLetter/${c}/${l}`,page_title:"頭文字の読みを選択",relation:t.scene,children:(0,s.jsx)(ue,{})},t.scene);case T:return(0,s.jsx)(Q.F,{isTracking:e,page_path:`top/modal/schoolName/${c}/${l}`,page_title:"学校一覧",relation:t.scene,children:(0,s.jsx)(de,{isLoading:n,schools:r})},t.scene);case B:return(0,s.jsx)(Q.F,{isTracking:e,page_path:`top/modal/schoolSubject/${c}/${l}`,page_title:"学部選択",relation:t.scene,children:(0,s.jsx)(me,{schoolSubjects:o})},t.scene);case _:return(0,s.jsx)(Q.F,{isTracking:e,page_path:`top/modal/schoolSubjectItem/${c}/${l}`,page_title:"学科選択",relation:t.scene,children:(0,s.jsx)(he,{isLoading:n,schoolSubjectItems:i})},t.scene);default:return null}},ge=e=>(0,s.jsx)(X.q,{...e}),Se=({name:e,relation:t,handleClickNext:a,defaultValue:n,defaultCheck:r,required:l=!1})=>{const c=(0,d.GO)(le,ce),[u,m]=(0,o.useState)(r),h=(0,J.mN)({mode:"onBlur",defaultValues:{[e]:n}}),{register:p}=h,{isValid:x,errors:b}=h.formState,j=b?.[e]?.message;return(0,s.jsxs)("li",{className:c.listItem,children:[(0,s.jsx)(je,{checked:u,className:c.listItemButton,label:"該当なし",name:e,value:"該当なし",onClick:()=>{m(!0)}}),u&&(0,s.jsx)("form",{autoComplete:"off",onSubmit:h.handleSubmit((()=>{a(h.getValues(e))})),children:(0,s.jsx)("div",{className:c.wrapper,children:(0,s.jsxs)("div",{className:c.inner,children:[(0,s.jsx)("div",{className:c.text,children:(0,s.jsx)(i.A_,{className:c.sectionTextField,errorMessage:j,placeholder:"項目が無い場合はこちらに入力",...p(e,{required:{value:l,message:ee.YI.required},setValueAs:e=>e.trim()}),type:"text",autoFocus:!0})}),(0,s.jsx)("div",{children:(0,s.jsx)(ye,{isValid:x,name:e,relation:t,type:"submit"})})]})})})]},"not-applicable")},ye=({isValid:e,name:t,relation:a,onClick:n})=>{const r=(0,d.GO)(le,ce);return(0,s.jsxs)(z.$x,{as:"button",className:(0,M.$)(r.button,r.isStatic),"data-color":"orange",ml:2,py:2,type:"submit",onClick:s=>{n?.(s),(0,te.wc)({name:t,isValid:e,relation:a})},children:["次へ",(0,s.jsx)(i.rP,{className:r.arrowNext,name:"pagerNext"})]})},Ne=({isLoading:e,children:t})=>{const a=(0,d.GO)(le,ce);return e?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(r.P.div,{animate:{opacity:1},className:a.listPlaceholder,initial:{opacity:0}
1,children:[...Array(4).keys()].map((e=>(0,s.jsx)(be,{className:a.listItemButton},e)))},"listPlaceholder")}):(0,s.jsx)(s.Fragment,{children:t})},ke={sceneContainer:"sceneContainer-dsfWh",backButton:"backButton-Dzw5n"},Ce={scene:"scene-GbLLF",sceneContainer:"sceneContainer-BOAX-"},Ie={buttonGroup:"buttonGroup-LGTS5"},we={buttonGroup:"buttonGroup-5ZiB5"},Te=(e,t)=>{if("Student"===e){const e=["high_school"];return t&&e.push("junior_college","vocational_school","technical_college"),Be.filter((t=>!e.includes(t.value)))}return Be},Be=[{name:"大学",value:"bachelor"},{name:"大学院(博士)",value:"doctor"},{name:"大学院(修士)",value:"master"},{name:"短期大学",value:"junior_college"},{name:"専門学校",value:"vocational_school"},{name:"高校",value:"high_school"},{name:"高専",value:"technical_college"},{name:"海外大学",value:"foreign_universities"}],_e=({isTracking:e=!1,customBack:t})=>{const{state:a,dispatch:n}=F(),[r,i]=(0,o.useState)(Te(a.userType,a.isAdsense)),l=(0,d.GO)(ke,Ce),c=(0,d.GO)(Ie,we),{target:u}=(0,d.Y0)(),{setContext:m}=K();(0,o.useEffect)((()=>{i(Te(a.userType,a.isAdsense))}),[a.userType,a.isAdsense]);const h=(0,o.useCallback)((()=>{if(t)return t();n({type:"back"})}),[n,t]),p=(0,o.useCallback)((e=>{n({type:N,educationGroup:e})}),[n,e,u]);return(0,o.useEffect)((()=>{m({isHiddenNext:!0,onBackClick:h})}),[m,h]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:l.sceneContainer,children:(0,s.jsx)("div",{className:c.buttonGroup,children:r.map((({name:e,value:t})=>(0,s.jsx)(Ge,{text:e,onClick:()=>p(t)},t)))})}),"pc"===u&&(0,s.jsx)(ie,{onClick:h})]})},Ge=e=>{const{state:t}=F();return(0,s.jsx)(X.q,{...e,name:"educationGroup",relation:t.scene,value:e.text})};var Ve=a(91389),Pe=a(38069);const Fe={buttonGroup:"buttonGroup-OTyW2",optionsGroupTitle:"optionsGroupTitle-wYtQL",optionsGroupButtons:"optionsGroupButtons-53OWo",optionsGroup:"optionsGroup-JEmyR",loginButton:"loginButton-icGxD"},Le={buttonGroup:"buttonGroup-RZZvN",optionsGroupTitle:"optionsGroupTitle-OWybW",optionsGroupButtons:"optionsGroupButtons-TpFl9",optionsGroup:"optionsGroup-xQtM3",loginButton:"loginButton-vGXA+"},[De,Ye,...Ee]=(0,Ve.ai)({max:3}),Oe=[De,Ye,...Ee],Me=(0,Ve.oM)()?[Ye,De,...Ee]:Oe,qe=({onSubmit:e,customYears:t,hiddenSignup:a})=>{const{target:i}=(0,d.Y0)(),l=(0,d.GO)(ke,Ce),c=(0,d.GO)(Fe,Le),{dispatch:u}=F(),h="sp"===i?Me:Oe,p=(0,o.useRef)(null),x=(0,o.useCallback)((t=>{u(t),e?.()}),[u,e]),[b,j]=(0,o.useState)(!1);return(0,s.jsxs)("div",{className:l.sceneContainer,ref:p,children:[(0,Pe.J)(t)?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(n.N,{initial:!1,exitBeforeEnter:!0,children:b?(0,s.jsx)(r.P.div,{...m.W,children:t.map((e=>(0,s.jsxs)("div",{className:c.optionsGroup,children:[(0,s.jsxs)("div",{className:c.optionsGroupTitle,children:[e,"年"]}),(0,s.jsx)("div",{className:c.optionsGroupButtons,children:[3,9].map((t=>(0,s.jsx)(X.q,{className:c.optionsGroupButton,text:`${t}月`,onClick:()=>x({type:g,year:e,month:t,userType:"Student"})},t)))})]},e)))},"scene2"):(0,o.createElement)(r.P.div,{...m.W,key:"scene1",className:c.buttonGroup,"data-length":t.length+1},t.map((e=>(0,s.jsx)(X.q,{text:`${e}年3月`,onClick:()=>x({type:g,year:e,month:3,userType:"Student"})},e))),(0,s.jsx)(X.q,{text:"その他",onClick:()=>j(!0)}))})}):(0,s.jsxs)("div",{className:c.buttonGroup,children:[h.map(((e,t)=>t===h.length-1?(0,s.jsx)(X.q,{text:`${e}年以降`,onClick:()=>x({type:y,userType:"Student"})},e):(0,s.jsx)(X.q,{text:`${e}年3月`,onClick:()=>x({type:g,year:e,month:3,userType:"Student"})},e))),(0,s.jsx)(X.q,{text:"卒業済み",onClick:()=>x({type:S})})]}),(0,s.jsx)("div",{className:c.loginButton,children:(0,s.jsx)(X.q,{name:"LoginLinkStepGraduationDate",text:"すでに会員の方はこちらからログイン",onClick:()=>window.location.assign(`${ee.bw.SessionsNew}?authenticate=true${a?"&hidden_signup=true":""}`)})})]})},He=()=>{const{target:e}=(0,d.Y0)(),t=(0,d.GO)(ke,Ce),{dispatch:a}=F(),n=(0,o.useRef)(null),r=(0,J.mN)({mode:"onBlur"}),{setContext:i}=K(),c=()=>{a({type:"back"})};return(0,o.useEffect)((()=>{i({formId:"formGraduationDateFuture",canNext:r.formState.isValid,onBackClick:c})}),[r.formState.isValid]),(0,s.jsxs)(J.Op,{...r,children:[(0,s.jsxs)("form",{className:t.
1sceneContainer,id:"formGraduationDateFuture",method:"post",ref:n,noValidate:!0,onSubmit:r.handleSubmit((()=>{a({type:g,year:r.getValues("graduationDateYear"),month:r.getValues("graduationDateMonth")})})),children:[(0,s.jsx)(l.ZP,{monthOptions:[3,9],nameMonth:"graduationDateMonth",nameYear:"graduationDateYear",yearOptions:(0,Ve.ai)({min:3,max:6})}),"pc"===e&&(0,s.jsx)(oe,{})]}),"pc"===e&&(0,s.jsx)(ie,{onClick:c})]})},We=()=>{const{target:e}=(0,d.Y0)(),t=(0,d.GO)(ke,Ce),{dispatch:a}=F(),n=(0,o.useRef)(null),r=(0,J.mN)({mode:"onBlur"}),{setContext:i}=K(),c=()=>{a({type:"back"})};return(0,o.useEffect)((()=>{i({formId:"formGraduationDatePast",canNext:r.formState.isValid,onBackClick:c})}),[r.formState.isValid]),(0,s.jsxs)(J.Op,{...r,children:[(0,s.jsxs)("form",{className:t.sceneContainer,id:"formGraduationDatePast",method:"post",ref:n,noValidate:!0,onSubmit:r.handleSubmit((()=>{a({type:g,year:r.getValues("graduationDateYear"),month:r.getValues("graduationDateMonth")})})),children:[(0,s.jsx)(l.ZP,{label:"最終学歴の卒業年月",monthOptions:[3,9],nameMonth:"graduationDateMonth",nameYear:"graduationDateYear",yearOptions:(0,Ve.ai)({fixedMinYear:1990,max:-1}).reverse()}),"pc"===e&&(0,s.jsx)(oe,{})]}),"pc"===e&&(0,s.jsx)(ie,{onClick:c})]})},Ae=({extraFieldsForName:e=[],useFormMode:t="all"})=>{const{target:a}=(0,d.Y0)(),n=(0,d.GO)(ke,Ce),{state:r,dispatch:i,handleBack:c}=F(),u=(0,o.useRef)(null),m=(0,J.mN)({mode:t,criteriaMode:"firstError",defaultValues:{lastName:r.lastName,firstName:r.firstName,lastNameKana:r.lastNameKana,firstNameKana:r.firstNameKana,gender:r.gender,majors:r.majors,birthdayYear:r.birthdayYear,birthdayMonth:r.birthdayMonth,birthdayDay:r.birthdayDay}}),{setContext:h}=K();(0,o.useLayoutEffect)((()=>{h({formId:"formName",isValid:m.formState.isValid})}),[h,m.formState.isValid]),(0,d.nq)({formRef:u});const p=m.watch("lastName"),x=m.watch("firstName");return(0,s.jsxs)(J.Op,{...m,children:[(0,s.jsxs)("form",{autoComplete:"off",className:n.sceneContainer,id:"formName",method:"post",ref:u,noValidate:!0,onSubmit:m.handleSubmit((()=>{i({type:C,lastName:m.getValues("lastName"),firstName:m.getValues("firstName"),lastNameKana:m.getValues("lastNameKana"),firstNameKana:m.getValues("firstNameKana"),gender:m.getValues("gender"),majors:m.getValues("majors"),birthdayYear:m.getValues("account.user_attributes.birthday_year"),birthdayMonth:m.getValues("account.user_attributes.birthday_month"),birthdayDay:m.getValues("account.user_attributes.birthday_day")})})),children:[(0,s.jsx)(l.c1,{nameFirst:"firstName",nameLast:"lastName"}),(0,s.jsx)(l.p_,{firstName:x,lastName:p,mt:4,nameFirstKana:"firstNameKana",nameLastKana:"lastNameKana"}),e.includes("gender")&&(0,s.jsx)(l.Nf,{mt:4,name:"gender",required:!0}),e.includes("majors")&&(0,s.jsx)(l.CI,{mt:4,name:"majors",required:!0}),e.includes("birthday")&&(0,s.jsx)(l.C7,{defaultDay:r.birthdayDay,defaultMonth:r.birthdayMonth,defaultYear:r.birthdayYear,mt:4}),"pc"===a&&(0,s.jsx)(oe,{disabled:!m.formState.isValid})]}),"pc"===a&&(0,s.jsx)(ie,{onClick:c})]})};var $e=a(90961),Ke=a(14121),Ze=a(48710),Re=a(7060),Je=a(7561),ze=a(69002);const Qe=({submitLabel:e="次へ",materialName:t,isShowEmailLoginErrorMessage:a,useFormMode:n="all",isSubmit:r,extraFieldsForProfile:i=[]})=>{const{target:c}=(0,d.Y0)(),u=(0,d.GO)(ke,Ce),{state:m,dispatch:h,handleBack:p}=F(),[x,b]=(0,o.useState)(!1),j=(0,o.useRef)(null),f=(0,J.mN)({mode:n,defaultValues:{email:m.email,lineProfilePhoneNumber:m.lineProfilePhoneNumber,phoneNumber:m.phoneNumber,password:m.password,postCode:m.postCode,prefectureId:m.prefectureId,city:m.city,addressText:m.addressText,workplaces:m.workplaces},shouldUnregister:!1}),{setContext:v}=K(),g=(0,o.useCallback)((()=>{h({type:I,...f.getValues(),password:"",isSubmit:!1}),p()}),[h,f,p]);return(0,o.useEffect)((()=>{if((0,Je.W9)("lineProfilePlus")){const e=JSON.parse((0,Je.W9)("lineProfilePlus")??"{}");if(e?.phone_number){const t=new $e.g(e?.phone_number).formatNational().replace(/-/g,"");f.setValue("lineProfilePhoneNumber",t),f.setValue("phoneNumber",t)}e?.email&&f.setValue("email",e.email)}}),[]),(0,o.useLayoutEffect)((()=>{v({formId:"formProfile",nextText:e,isValid:f.formState.isValid,onBackClick:g})}),[v,e,f.formState.isValid,g]),(0,d.nq)({formRef:j}),(0,s.jsxs)(J.Op,{...f,children:[(0,s.jsx)("div",{inert:x?"true":void 0,children:(0,s.jsxs)("form",{autoComplete:"off",className:u.sceneContainer,id:"formProfile",method:"post",ref:j,noValidate:!0,onSubmit:f.handleSubmit((async()=>{b(!0);try{if(await(0,ze.PU)(f.getValues("email")))return void f.setError("email",{type:"register",message:ee.YI.emailRejected});if(await(0,ze.yF)(f.getValues("phoneNumber")))return void f.setError("phoneNumber",{type:"register",message:ee.YI.phoneNumberRe
1jected});if(!await(0,Re.r)(f.getValues("email")))return void f.setError("email",{type:"register",message:ee.YI.emailRegistrable});h({type:I,...f.getValues(),isSubmit:!!r})}finally{b(!1)}})),children:[m.fieldErrors&&(0,s.jsx)(l.y6,{errors:m.fieldErrors,mb:6}),t&&(0,s.jsxs)(z.EY,{fontWeight:"bold",mb:6,children:["こちらの入力後、",t,"利用可能となります"]}),(0,s.jsx)(l.Il,{name:"phoneNumber"}),(0,s.jsx)(l.nT,{isShowEmailLoginErrorMessage:a,mt:"sp"===c?4:5,name:"email",shouldValidateProviderCPCustom:(0,ze.hq)(m.educationGroup),hiddenSignup:!0}),(0,s.jsx)(l.cA,{autoComplete:"new-password",mt:"sp"===c?4:5,name:"password"}),i.includes("address")&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(z.$x,{mt:"sp"===c?4:5}),(0,s.jsx)(Ke.B,{})]}),i.includes("prefecture")&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(z.$x,{mt:"sp"===c?4:5}),(0,s.jsx)(l.YY,{name:"prefectureId"})]}),i.includes("workplaces")&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(z.$x,{mt:"sp"===c?4:5}),(0,s.jsx)(Ze.$,{viewLimit:"sp"===c?4:9})]}),r&&(0,s.jsx)(l.tJ,{mt:"sp"===c?4:5,centered:!0}),"pc"===c&&(0,s.jsx)(oe,{disabled:!f.formState.isValid||x||!!m.isSubmit,mt:8,px:8,text:x||m.isSubmit?"処理中":e})]})}),"pc"===c&&(0,s.jsx)(ie,{onClick:g})]})},Xe=({...e})=>{const{state:{isSubmit:t}}=F();return t?(0,s.jsx)(Ue,{...e}):null},Ue=({authenticityToken:e,post_path:t,hidden_information:a=[],onSubmitComplete:n,tracking:r})=>{const{resetBeforeUnloadEvent:i}=(0,h.rn)(),c=et({authenticityToken:e,hidden_information:a}),u=(0,o.useRef)(null),d=(0,o.useCallback)((()=>{r&&(0,te.wc)({name:"submit",value:"submit",data:"complete"}),n?.()}),[]),{state:m}=F(),p=m.contract??"contractNone",x=m.userType??"userTypeNone";return(0,o.useLayoutEffect)((()=>{i(),d(),u.current?.submit()}),[]),(0,s.jsxs)(s.Fragment,{children:[r&&(0,s.jsx)(Q.F,{page_path:`top/modal/complete/${x}/${p}`,page_title:"完了ページ",onUnMount:!0}),(0,s.jsx)("form",{acceptCharset:"UTF-8",action:t,"data-testid":"form",method:"post",ref:u,noValidate:!0,children:(0,s.jsx)(l.wG,{items:c})})]})},et=e=>{const{authenticityToken:t}=e,{state:a}=F(),s=[...(0,Pe.J)(e.hidden_information)?e.hidden_information:[],{name:"authenticity_token",value:t},{name:ee.wi.email,value:a.email},{name:ee.wi.password,value:a.password},{name:ee.ZG.phone_number,value:a.phoneNumber},{name:ee.ZG.line_profile_phone_number,value:a.lineProfilePhoneNumber},{name:ee.ZG.last_name,value:a.lastName},{name:ee.ZG.last_name_kana,value:a.lastNameKana},{name:ee.ZG.first_name,value:a.firstName},{name:ee.ZG.first_name_kana,value:a.firstNameKana},{name:ee.ZG.type,value:a.userType??"Student"},{name:ee.wx.group,value:a.educationGroup}];return a.birthdayDay&&(s.push({name:ee.ZG.birthday_year,value:a.birthdayYear}),s.push({name:ee.ZG.birthday_month,value:a.birthdayMonth}),s.push({name:ee.ZG.birthday_day,value:a.birthdayDay})),(a.graduationDateYear??a.graduationDateMonth)&&(s.push({name:ee.wx.graduation_date_year,value:a.graduationDateYear}),s.push({name:ee.wx.graduation_date_month,value:a.graduationDateMonth})),a.is_partner_service&&s.push({name:ee.Hk.is_partner_service,value:"true"}),a.contract&&s.push({name:ee.pl.contract,value:a.contract}),a.educationFirstLetter&&(s.push({name:ee.wx.first_letter,value:a.educationFirstLetter}),s.push({name:ee.wx.school_id,value:a.educationSchoolId}),s.push({name:ee.wx.school_text,value:a.educationSchoolText})),(a.educationSchoolSubjectId??a.educationSchoolSubjectText)&&(s.push({name:ee.wx.school_subject_id,value:a.educationSchoolSubjectId}),s.push({name:ee.wx.school_subject_text,value:a.educationSchoolSubjectText})),(a.educationSchoolSubjectItemId??a.educationSchoolSubjectItemText)&&(s.push({name:ee.wx.school_subject_item_id,value:a.educationSchoolSubjectItemId}),s.push({name:ee.wx.school_subject_item_text,value:a.educationSchoolSubjectItemText})),a.majors&&s.push({name:ee.ZG.majors,value:a.majors}),a.gender&&s.push({name:ee.ZG.gender,value:a.gender}),a.postCode&&(s.push({name:ee.ZG.postcode,value:a.postCode}),s.push({name:ee.ZG.prefecture_id,value:a.prefectureId}),s.push({name:ee.ZG.city,value:a.city}),s.push({name:ee.ZG.address_text,value:a.addressText})),a.workplaces&&a.workplaces.length>0&&(s.push({name:"account[user_attributes][user_sub_profile_attributes][answered_workplace]",value:"true"}
1),a.workplaces.forEach(((e,t)=>{s.push({name:`account[user_attributes][user_sub_profile_attributes][user_sub_profile_workplaces_attributes][${t}][prefecture_id]`,value:e})}))),s},tt=({error_information:e=[],...t})=>{const a=(0,d.GO)(D,Y),{state:o}=F();return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(Z,{children:(0,s.jsxs)(d.zn,{theme:"lpEfoForm",isFieldLabel:!0,children:[(0,s.jsx)(l.y6,{errors:e,mb:6}),(0,s.jsx)(u.Mx,{currentStep:o.step}),(0,s.jsx)("div",{className:a.scene,children:(0,s.jsx)(n.N,{initial:!1,exitBeforeEnter:!0,children:(o.scene===g||o.scene===v)&&(0,s.jsxs)(r.P.div,{...m.W,children:[(0,s.jsxs)(c.D,{mb:7,number:"01",children:[(0,s.jsx)("strong",{children:"卒業年/月"}),"を選択して下さい"]}),(0,s.jsx)(qe,{hiddenSignup:t.hidden_signup})]},"step1")})}),(0,s.jsx)(h.kp,{isDirty:o.scene>g,children:(0,s.jsx)(at,{...t,error_information:e})})]})})})},at=({...e})=>{const t=(0,d.GO)(E,O),{target:a}=(0,d.Y0)(),{state:n}=F();return(0,s.jsxs)(i.aF,{canOutsideClick:!1,isOpen:n.scene>1,children:[(0,s.jsxs)("div",{className:t.wrapper,children:[(0,s.jsxs)("div",{className:t.container,children:[(0,s.jsx)("div",{className:t.stepbar,children:(0,s.jsx)(u.Mx,{currentStep:n.step})}),(0,s.jsxs)("div",{className:t.scene,children:[n.scene===N&&(0,s.jsxs)(r.P.div,{...m.W,children:[(0,s.jsxs)(c.D,{mb:7,number:"02",children:[(0,s.jsx)("strong",{children:"最終学歴"}),"を選択して下さい"]}),(0,s.jsx)(_e,{})]},"step3"),n.scene===S&&(0,s.jsxs)(r.P.div,{...m.W,children:[(0,s.jsxs)(c.D,{mb:7,number:"01",children:[(0,s.jsx)("strong",{children:"最終学歴の卒業年/月"}),"を選択して下さい"]}),(0,s.jsx)(We,{})]},"stepGraduationDateBefore"),n.scene===y&&(0,s.jsxs)(r.P.div,{...m.W,children:[(0,s.jsxs)(c.D,{mb:7,number:"01",children:[(0,s.jsx)("strong",{children:"卒業年/月"}),"を選択して下さい"]}),(0,s.jsx)(He,{})]},"stepGraduationDateAfter"),n.step===b&&(0,s.jsx)(fe,{}),n.scene===C&&(0,s.jsxs)(r.P.div,{...m.W,children:[(0,s.jsxs)(c.D,{mb:7,number:"04",children:[(0,s.jsx)("strong",{children:"お名前"}),"を入力して下さい"]}),(0,s.jsx)(Ae,{})]},"step5"),n.scene===I&&(0,s.jsxs)(r.P.div,{...m.W,children:[(0,s.jsxs)(c.D,{mb:7,number:"05",children:[(0,s.jsx)("strong",{children:"ご連絡先・パスワード"}),"を",(0,s.jsx)("br",{}),"入力して下さい"]}),(0,s.jsx)(Qe,{submitLabel:"同意の上、会員登録する",isShowEmailLoginErrorMessage:!0,isSubmit:!0})]},"step6")]})]}),"sp"===a&&n.scene>=S&&(0,s.jsx)(R,{})]}),(0,s.jsx)(Xe,{...e})]})},st=e=>{const t=(0,d.GO)(D,Y);return(0,s.jsx)("div",{className:t.formContainer,children:(0,s.jsx)("div",{className:t.formWrapper,children:(0,s.jsxs)(L,{scene:g,step:p,children:[(0,s.jsx)(c.D,{mb:7,children:"新規会員登録"}),(0,s.jsx)(tt,{...e})]})})})}}}]);
2//# sourceMappingURL=chunk.4219.b68e45c1f3d2c112bcea.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.