PageSourceSearch

https://mypg.jp/_next/static/chunks/pages/onestop-myna-less/application-review-4d4849bcc3308402.js

js mypg.jp collected 2026-10-03 20:28:09 UTC 13,224 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7166],{7148:(e,t,i)=>{"use strict";i.d(t,{a:()=>w});var n=i(89099),a=i(55729),o=i(99194),r=i(68144),s=i(41633),c=i(18249),l=i(93290),u=i(26107),p=i(24997),d=i(94279),m=i(80444),_=i(17639),f=i(59433),h=i(56039),b=i(42443),g=i(39487),v=i(44597);function w(){let e=(0,n.useRouter)(),[t,i]=(0,a.useState)(),[w,x]=(0,a.useState)(!1),y=(0,a.useRef)(!1),k=(0,a.useRef)(null),{switchOpacityLoading:N}=(0,r.M)(),I=(0,b.v)(i),j=function(e){let t=(0,n.useRouter)(),{setSubscribes:i,subscribes:o}=(0,f.Y)(),[r,b]=(0,a.useState)([]),[g,v]=(0,a.useState)(!1),[w,x]=(0,a.useState)("/onestop-myna-less/terms/"),[y,k]=(0,a.useState)("/onestop-myna-less/complete"),{completed:N,customLabel:I,execute:j,complete:E,reset:C}=(0,u.d)("complete");return(0,a.useEffect)(()=>{(async()=>{if(!t.query)return;let e=t.query.subscribeId;if(!e)return;Array.isArray(e)||(e=[e]);let n=e.map(e=>(0,c.n)(`/subscribe/client/display/subscribes/${e}`)),a=await Promise.all(n);b(a.map(e=>{if(e.props.status!==p.pn)return null;let t=e.props.data.subscribeData;return{subscribeId:t.subscribeId,receivedOn:t.paidOn,donation:t.donation,receptionNo:t.receptionNo,oneStopStatus:t.oneStopStatus,municipality:{id:t.municipality.id,name:t.municipality.name,prefecture:{name:t.municipality.prefecture.name}}}}));let o=a.map(e=>e.props.data.subscribeData).find(t=>t?.subscribeId===Number(e[0]));o&&i([{subscribeId:o.subscribeId,receivedDate:o.paidOn,donationAmount:o.donation,receptionNumber:o.receptionNo,oneStopApplicationStatus:o.oneStopStatus,municipalityId:o.municipalityId,municipalityName:o.municipality.name,prefecture:o.municipality.prefecture.name}])})(),t.query.incomplete&&(v(!0),x("/onestop-incomplete/select/"),k("/onestop-incomplete/complete"))},[t.query]),{interruptButton:{onClick:e=>{e.preventDefault(),(0,l.lJ)("最初の画面に戻ります。入力内容が失われますがよろしいですか?","はい","いいえ").then(e=>{e.isConfirmed&&(window.scrollTo(0,0),window.location.href=w)})}},nextButton:{onClick:async i=>{i.preventDefault();try{j();let i={subscribes:o.map(e=>({subscribeId:e.subscribeId,requestUuid:e.requestUuid}
1)),s3Uuid:e.requestUuid,is_incomplete:g?1:null},n=await (0,s.y)().apiClientV1MynaLessOneStopsPost(i);if(await E(),n.status!==p.sC){C(),localStorage.removeItem("formData"),await t.push({pathname:"/multi/error",query:{screenName:m.w.getMessage(g?"M_INC_000":"M_ALL_000"),errorCode:d.J.getKey(g?"E_M_INC_170":"E_M_ALL_190"),errorMessage:encodeURIComponent(d.J.getMessage(g?"E_M_INC_170":"E_M_ALL_190"))}});return}C(),(0,h.O)(o.map(e=>({receiptNumber:e.receptionNumber,municipalityName:`${e.prefecture}${e.municipalityName}`}))),_.R.isIosAppRequest()?window.location.href=y:await t.push(y)}catch(e){await E(),C(),localStorage.removeItem("formData"),await t.push({pathname:"/single/error",query:{screenName:m.w.getMessage(g?"M_INC_000":"M_ALL_000"),errorCode:d.J.getKey(g?"E_M_INC_170":"E_M_ALL_190"),errorMessage:encodeURIComponent(d.J.getMessage(g?"E_M_INC_170":"E_M_ALL_190"))}});return}}},progressBar:{completed:N,customLabel:I},form:null,targetSubscribes:r,myNumberIdentificationPapers:e.myNumberIdentificationPapers,identificationPapers:e.identificationPapers,applicationFormImage:e.applicationFormImage,myNumberImage:e.myNumberImage,identificationImage:e.identificationImage,facePhotoImage:e.facePhotoImage,facePhotoMirrored:e.facePhotoMirrored,isIncomplete:g,isRelief:!1}}({myNumberIdentificationPapers:I.myNumberIdentificationPapers,identificationPapers:I.identificationPapers,requestUuid:I.requestUuid,applicationFormImage:I.hook.applicationFormImage,myNumberImage:I.hook.myNumberImage,identificationImage:I.hook.identificationImage,facePhotoImage:I.hook.facePhotoImage,sideFacePhotoImage:I.hook.sideFacePhotoImage,facePhotoMirrored:I.hook.facePhotoMirrored});async function E(e){e.preventDefault(),await (0,o.lJ)("最初の画面に戻ります。入力内容が失われますがよろしいですか?",{confirmButtonText:"はい",cancelButtonText:"いいえ"}).then(e=>{e.isConfirmed&&(window.location.href=g.Zc.onestopMynaLessTerms)})}async function C(e){x(!0),await E(e),x(!1)}function L(e){return y.current||w?(e.returnValue=null,null):(e.preventDefault(),e.returnValue="","")}async function A(e){(0,v.gN)()&&await E(e)}function M(e){0!==e.progressBar.completed?N(!0,e.progressBar.customLabel):N(!1)}return(0,a.useEffect)(()=>{(()=>{if("function"==typeof performance.getEntriesByType){let[e]=performance.getEntriesByType("navigation");if(e){if(e.name&&e.name.includes("/onestop-myna-less/terms/"))return!1;let t=window.location.pathname;return(!e.name||!!e.name.includes(t))&&("reload"===e.type||"back_forward"===e.type)}}return performance.navigation.type===performance.navigation.TYPE_RELOAD||performance.navigation.type===performance.navigation.TYPE_BACK_FORWARD})()&&(y.current=!0,window.removeEventListener("beforeunload",L),(0,o.z3)("再読み込みされたため、最初の画面に戻ります。\n申し訳ありませんが、入力内容は失われます。").then(e=>{e.isConfirmed&&(window.location.href=g.Zc.onestopMynaLessTerms)}),e.push(g.Zc.onestopMynaLessTerms))},[]),(0,a.useEffect)(()=>(window.addEventListener("beforeunload",L),window.addEventListener("popstate",A),e.beforePopState(()=>((0,o.lJ)("最初の画面に戻ります。入力内容が失われますがよろしいですか?").then(t=>{t.isConfirmed&&e.push(g.Zc.onestopMynaLessTerms)}),!1)),e.isReady&&i("upload"),()=>{window.removeEventListener("beforeunload",L),window.removeEventListener("popstate",A),e.beforePopState(()=>!0)}),[e]),(0,a.useEffect)(()=>{"confirm"===t&&k.current&&k.current.stopCamera(),setTimeout(()=>{window.scrollTo(0,0)},300)},[t]),(0,a.useEffect)(()=>(window.removeEventListener("beforeunload",L),window.removeEventListener("popstate",A),w||(window.addEventListener("beforeunload",L),window.addEventListener("popstate",A)),()=>{w||(window.removeEventListener("beforeunload",L),window.removeEventListener("popstate",A))}),[w]),(0,a.useEffect)(()=>{M(I.hook)},[I.hook.progressBar.completed]),(0,a.useEffect)(()=>{M(j)},[j.progressBar.completed]),{displayPage:t,uploadProps:I.hook,confirmProps:j,handleGoBack:C}}},24327:(e,t,i)=>{"use strict";i.d(t,{Q:()=>c});var n=i(6029),a=i(23059);i(8214);var o=i(55729),r=i(43471),s=i.n(r);function c({files:e,altTitle:t,onSlideChange:i}){let r=(0,o.useRef)(null),[l,u]=(0,o.useState)([]);return((0,o.useEffect)(()=>{let e;if(!r.current||!i)return;let t=setTimeout(()=>{let t=r.current?.splide;if(t){let n=()=>{i(t.index)};t.on("move",n),n(),e=()=>{t.off("move",n)}}},100);return()=>{clearTimeout(t),e&&e()}},[i,e.length]),(0,o.useEffect)(()=>{let t=e.map(e=>"string"==typeof e?{url:e,shouldRevoke:!1}:{url:URL.createObjectURL(e),shouldRevoke:!0});return u(t),()=>{t.forEach(({url:e,shouldRevoke:t})=>{t&&URL.revokeObjectURL(e)})}},[e]),0===e.length)?null:(0,n.jsx)(a.eB,{ref:r,options:{autoplay:!1,gap:"5%",padding:"3%",pagination:!0,arrows:e.length>1},className:s().c_slider,children:l.map(({url:e},i)=>(0,n.jsx)(a.Nn,{className:s().application_slide,children:(0,n.jsx)("img",{src:e,alt:`${t} ${i+1} 枚目`,className:s().application_slide_image})},i))})}},34169:(e,t,i)=>{"use strict";i.d(t,{A:()=>m});var n=i(6029),a=i(22484),o=i(14854),r=i(35393),s=i(50091),c=i(78803),l=i(39487),u=i(89099),p=i(81894),d=i(5233);let m=function(e){let{children:t,title:i,currentStep:m,onBackClick:_}=e,f=(0,u.useRouter)(),h=[{url:l.Zc.multiTop,children:"ホーム"}
1,{url:l.Zc.onestopMode,children:"オンラインワンストップ申請"},{url:"",children:"全部アップロード申請"}],b={href:"#",children:"戻る",onClick:_||f.back},g=(0,n.jsx)(s.A,{currentStep:m,steps:6,size:"large",border:"bottom",children:(0,n.jsx)(c.A,{children:i})}),v=(0,n.jsx)(r.A,{href:"#",children:"戻る",onClick:_||f.back,prefixIcon:(0,n.jsx)(o.A.ChevronLeftSolid,{}),variant:"text"});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.A,{title:"オンラインワンストップ"}),(0,n.jsx)(a.A,{options:h}),(0,n.jsxs)(p.A,{children:[(0,n.jsx)(p.A.Top,{title:{upper:g,lower:v}}),(0,n.jsx)(p.A.Content,{footerLink:b,children:(0,n.jsx)(p.A.Container,{children:t})})]})]})}},43132:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/onestop-myna-less/application-review",function(){return i(57538)}])},43471:e=>{e.exports={c_slider:"ApplicationFileImage_c_slider__Nzo1H",application_slide:"ApplicationFileImage_application_slide__Rrbgj",application_slide_image:"ApplicationFileImage_application_slide_image__mG_3c"}},48680:(e,t,i)=>{"use strict";i.d(t,{A:()=>u});var n=i(6029),a=i(55729),o=i(51996),r=i.n(o),s=i(32988),c=i.n(s);let l=function({value:e,label:t,onChange:i,checked:o,defaultChecked:s,className:l,style:u,...p}){let[d,m]=(0,a.useState)(o??s??!1);return(0,a.useEffect)(()=>{m(o??s)},[o,s]),(0,n.jsxs)("label",{className:c()(r().checkbox_label,{[r().check]:d,[r().disabled]:p.disabled},l),style:u,children:[(0,n.jsx)("input",{type:"checkbox",value:e,checked:d,onChange:e=>{m(e.target.checked),"function"==typeof i&&i?.(e)},...p}),(0,n.jsx)("span",{children:t})]})};l.Group=function({options:e=[],defaultValue:t=["1","3"],className:i,onChange:o,...s}){let[u,p]=(0,a.useState)(s.value||t||[]);return(0,a.useEffect)(()=>{"value"in s&&p(s.value||[])},[s.value]),(0,n.jsx)("div",{className:c()(r().checkbox_group,i),children:e.map((e,t)=>(0,n.jsx)(l,{value:e.value,label:e.label,checked:u.includes(e.value),onChange:()=>{var t;return t=e.value,void(p(e=>u.includes(t)?u.filter(e=>e!==t):[...e,t]),o?.(u))},disabled:e.disabled},t))})};let u=l},51996:e=>{e.exports={checkbox_label:"CheckBox_checkbox_label__8eUKk",check:"CheckBox_check__G9QEW",disabled:"CheckBox_disabled__Whgq0"}},57538:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var n=i(6029),a=i(26126),o=i(48680),r=i(14854),s=i(78803),c=i(14042),l=i(34169),u=i(24327),p=i(59433),d=i(7148),m=i(74135),_=i.n(m),f=i(39487),h=i(32988),b=i.n(h),g=i(89099),v=i(55729);let w=v.memo(function(){let e=(0,g.useRouter)(),{applicationSubscribeList:t,applicationFormImages:i,isDocumentReused:m}=(0,p.Y)(),[h,w]=(0,v.useState)(!1),[x,y]=(0,v.useState)(!1),[k,N]=(0,v.useState)(new Set),{handleGoBack:I}=(0,d.a)(),j=(0,v.useCallback)(()=>{m?e.push(f.Zc.onestopMynaLessFacePhotoInstructions):e.push(f.Zc.onestopMynaLessMyNumberUpload)},[m,e]),E=(0,v.useCallback)(e=>{w(e.target.checked)},[]),C=(0,v.useCallback)(e=>{"number"!=typeof e||isNaN(e)||N(t=>{let i=new Set(t);return i.add(e),i})},[]);(0,v.useEffect)(()=>{let e=t.length;1===e?y(!0):y(k.size===e)},[k,t.length]);let L=(0,v.useMemo)(()=>({title:"マイナンバーの手書き入力",currentStep:2,onBackClick:I}),[I]),A=(0,v.useMemo)(()=>!h||!x,[h,x]),M=(0,v.useMemo)(()=>h&&!x,[h,x]),S=(0,v.useMemo)(()=>b()(_().button_container,_().text_red),[]);return(0,n.jsxs)(l.A,{...L,children:[(0,n.jsx)(s.A,{level:2,className:_().title,children:"申請内容の確認"}),(0,n.jsx)(c.A,{level:2,children:"以下の申請内容に間違いがないか確認してください。"}),(0,n.jsx)("div",{className:_().description,children:(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:"提出先の自治体名"}),(0,n.jsx)("li",{children:"氏名"}),(0,n.jsx)("li",{children:"生年月日"}),(0,n.jsx)("li",{children:"個人番号"}),(0,n.jsx)("li",{children:"電話番号"}),(0,n.jsx)("li",{children:"住所"})]})}),(0,n.jsxs)(c.A,{level:3,className:_().note_paragraph,children:["※ワンストップ特例申請の住所については、各種確認書類に記載された住所ではなく、下記の住所が申請住所となります。",(0,n.jsx)("br",{}
1)," 寄附をした翌年1月1日時点の住民税課税住所が記載されていることをご確認ください。"]}),(0,n.jsx)("div",{className:_().application_file_image_container,children:(0,n.jsx)(u.Q,{files:i,altTitle:"ワンストップ申請書",onSlideChange:C})}),(0,n.jsx)("div",{className:_().confirmation_block,children:(0,n.jsx)(o.A,{id:"municipality_confirmation",className:_().confirmation_checkbox,label:"すべての申請書の記載内容に問題がないことを確認した。",checked:h,onChange:E})}),(0,n.jsx)("div",{className:_().button_container,children:(0,n.jsx)(a.A,{className:_().next_button,postfixIcon:(0,n.jsx)(r.A.ChevronRight,{}),onClick:j,disabled:A,children:"間違いない、次へ"})}),M&&(0,n.jsxs)("div",{className:S,children:["※次へが押せない場合は、すべての申請書の確認ができておりません。",(0,n.jsx)("br",{}),"横スクロールして、すべての申請書の確認をしてください。"]})]})})},74135:e=>{e.exports={title:"application-review_title__td4cS",description:"application-review_description__6Zduk",note_paragraph:"application-review_note_paragraph__xGqp8",application_file_image_container:"application-review_application_file_image_container__quYNG",confirmation_block:"application-review_confirmation_block____tQ8",confirmation_checkbox:"application-review_confirmation_checkbox__pnZ8d",button_container:"application-review_button_container__ycq34",next_button:"application-review_next_button__c6OaU",text_red:"application-review_text_red__ihcQs"}}},e=>{e.O(0,[883,5804,9532,6078,181,3921,9997,2443,636,6593,8792],()=>e(e.s=43132)),_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.