1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[735],{4408:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ami/submit/completion",function(){return n(4568)}])},9650:function(e,i,n){"use strict";n.d(i,{R:function(){return o},b:function(){return t}});let o=e=>"en",t=(e,i)=>({})},4568:function(e,i,n){"use strict";n.r(i),n.d(i,{default:function(){return x}});var o=n(5893),t=n(7294),r=n(1163),a=n(8139),s=n(9650),l=n(4045),c=n(4183),u=n(3144),d=n(2428);let p={minHeight:"100vh",padding:"48px 20px",background:"#e44d7b"},y={maxWidth:"720px",margin:"0 auto",padding:"32px",borderRadius:"10px",backgroundColor:"#ffffff",color:"#212529",boxShadow:"0 8px 24px rgba(33, 37, 41, 0.08)"},f={display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"14px 16px",borderRadius:"5px",backgroundColor:"#e44d7b",color:"#ffffff",fontSize:"16px",fontWeight:700,textDecoration:"none"},g={display:"flex",gap:"12px",flexWrap:"wrap",marginTop:"16px"},h={...f,backgroundColor:"#ffffff",color:"#e44d7b",border:"1px solid #e44d7b"},m={display:"block",width:"100%",maxWidth:"280px",margin:"0 auto 28px auto",borderRadius:"18px",backgroundColor:"#fff7fa",objectFit:"contain",aspectRatio:"1 / 1"},b={en:{imageAlt:"Your submitted Manko-chan",fallbackImageAlt:"Manko-chan project illustration",successTitle:"Submission complete",missingTitle:"Submission information was not found",successDescription:"Your Manko-chan has joined the project. Share the link to your work and invite someone to join in.",openNotion:"View your submission",openGallery:"Open gallery",openGuide:"About the Ami-Tech Group",missingDescription:"Please submit the form again.",share:"Share your work",copyLink:"Copy link",linkLabel:"Link to share",copied:"Link copied.",shared:"Sharing completed.",manualCopy:"Select the link below and copy it from your browser."},ja:{imageAlt:"æç¨¿ããã¾ããã¡ãã",fallbackImageAlt:"ã¾ããã¡ããããã¸ã§ã¯ãã®ã¤ã©ã¹ã",successTitle:"æç¨¿ãå®äºãã¾ãã",missingTitle:"æç¨¿æ
å ±ãè¦ã¤ããã¾ãã",successDescription:"ããªãã®ã¾ããã¡ããã仲éå
¥ããã¾ãããä½åã®ãªã³ã¯ãã·ã§ã¢ãã¦ãåã ã¡ãèªã£ã¦ã¿ã¦ãã ããã",openNotion:"æç¨¿ããä½åãè¦ã",openGallery:"ã®ã£ã©ãªã¼ãéã",openGuide:"ç·¨ã¿ããã¯ã®ä¼ã®ãæ¡å
",missingDescription:"ããä¸åº¦ãã©ã¼ã ããæç¨¿ãã¦ãã ããã",share:"ä½åãã·ã§ã¢ãã",copyLink:"ãªã³ã¯ãã³ãã¼",linkLabel:"ã·ã§ã¢ãããªã³ã¯",copied:"ãªã³ã¯ãã³ãã¼ãã¾ããã",shared:"å
±æãã¾ããã",manualCopy:"ä¸ã®ãªã³ã¯ã鏿ãããã©ã¦ã¶ã®ã¡ãã¥ã¼ããã³ãã¼ãã¦ãã ããã"}};function x(){let e=(0,r.useRouter)(),[i,n]=(0,t.useState)("en"),[x,k]=(0,t.useState)(""),[j,_]=(0,t.useState)(""),[w,C]=(0,t.useState)(!1),[I,S]=(0,t.useState)(!1),T=b[i];(0,t.useEffect)(()=>{var i;e.isReady&&(n((0,s.R)(e.query)),k((null===(i=(0,u._B)(e.query.userId,e.query.notionPageId))||void 0===i?void 0:i.imageDataUrl)||""),S("undefined"!=typeof navigator&&"function"==typeof navigator.share))},[e.asPath,e.isReady,e.query]);let q=(0,t.useMemo)(()=>e.isReady?(0,l._C)({userId:"string"==typeof e.query.userId?e.query.userId:"",notionPageId:"string"==typeof e.query.notionPageId?e.query.notionPageId:"",notionPageUrl:"string"==typeof e.query.notionPageUrl?e.query.notionPageUrl:""}):"",[e.isReady,e.query.notionPageId,e.query.notionPageUrl,e.query.userId]),P=!!q,v=P?(0,u.YY)(e.query.userId,i):"",R="".concat(u.lU,"?").concat("ja"===i?"lang=ja&":"","ref=ami_completion"),A=async e=>{if(!w){C(!0),_("");try{let n=await (0,u.bx)(v,T.imageAlt,e);"web_share"===n||"copy"===n?((0,d.j)("artwork_share",{source:"ami",language:i,share_method:n}),_("copy"===n?T.copied:T.shared)):"manual"===n&&_(T.manualCopy)}finally{C(!1)}}};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.Z,{title:"".concat(T.successTitle," | AMI"),robots:c._U}),(0,o.jsx)("main",{style:p,children:(0,o.jsxs)("section",{style:y,children:[P?(0,o.jsx)("img",{src:x||"/pictograms/ami/fused.jpeg",alt:x?T.imageAlt:T.fallbackImageAlt,style:m}):null,(0,o.jsx)("h1",{style:{margin:0,fontSize:"36px",color:"#212529"},children:P?T.successTitle:T.missingTitle}),P?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("p",{style:{marginTop:"16px",lineHeight:1.7},children:T.successDescription}),v?(0,o.jsxs)("div",{style:{marginBottom:"24px"},children:[(0,o.jsxs)("div",{style:g,children:[I?(0,o.jsx)("button",{type:"button",disabled:w,onClick:()=>A("web_share"),style:{...f,border:0,cursor:"pointer"},children:T.share}):null,(0,o.jsx)("button",{type:"button",disabled:w,onClick:()=>A("copy"),style:{...h,cursor:"pointer"},children:T.copyLink})]}),(0,o.jsx)("label",{htmlFor:"ami-share-url",style:{display:"block",marginTop:"16px",fontWeight:700},children:T.linkLabel}),(0,o.jsx)("input",{id:"ami-share-url",readOnly:!0,value:v,onFocus:e=>e.currentTarget.select(),style:{display:"block",width:"100%",minWidth:0,padding:"12px",boxSizing:"border-box",marginTop:"8px",color:"#212529",background:"#fff",border:"1px solid #ced4da",borderRadius:"5px",fontSize:"16px"}}),(0,o.jsx)("p",{role:"status",style:{minHeight:"1.5em",marginBottom:0},children:j})]}):null,(0,o.jsx)("a",{href:q,target:"_blank",rel:"noreferrer",style:f,children:T.openNotion}),(0,o.jsxs)("div",{style:g,children:[(0,o.jsx)("a",{href:"https://sticky-pineapple-852.notion.site/",target:"_blank",rel:"noreferrer",style:h,onClick:()=>(0,d.j)("project_gallery_open",{source:"ami",language:i}),children:T.openGallery}),(0,o.jsx)("a",{href:R,style:h,onClick:()=>(0,d.j)("project_participation_open",{source:"ami",language:i}),children:T.openGuide})]})]}):(0,o.jsx)("p",{style:{marginTop:"16px",lineHeight:1.7},children:T.missingDescription})]})})]})}}},function(e){e.O(0,[2564,3850,9774,2888,179],function(){return e(e.s=4408)}),_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.