1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1974],{587:(e,t,s)=>{(e.exports=s(7523)).tz.load(s(6644))},974:(e,t,s)=>{"use strict";function n(e){var t;return null!=(t=null==e?void 0:e.length)?t:0}function l(e){var t;return null!=(t=null==e?void 0:e.reduce((e,t)=>{var s,n;return e+(null!=(n=null==(s=t.PostReaction)?void 0:s.usefuls)?n:0)},0))?t:0}function r(e){var t;return null!=(t=null==e?void 0:e.filter(e=>{var t,s;return(null!=(s=null==(t=e._count)?void 0:t.PostFiles)?s:0)>0}).length)?t:0}function a(e){return e>=10?"gold":e>=5?"silver":e>=1?"bronze":void 0}s.d(t,{Bv:()=>r,dY:()=>n,dn:()=>l,nK:()=>a})},1268:(e,t,s)=>{"use strict";s.d(t,{e:()=>l,w:()=>n});let n=e=>fetch(e).then(e=>e.json()),l=e=>{let[t,s]=e;return fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}).then(e=>e.json())}},1463:(e,t,s)=>{"use strict";s.d(t,{d:()=>l});var n=s(2115);let l=()=>{let[e,t]=(0,n.useState)([]),s=(0,n.useCallback)(function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"success",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e3,l={id:Math.random().toString(36).substr(2,9),message:e,type:s,duration:n};t(e=>[...e,l])},[]),l=(0,n.useCallback)(e=>{t(t=>t.filter(t=>t.id!==e))},[]),r=(0,n.useCallback)((e,t)=>{s(e,"success",t)},[s]),a=(0,n.useCallback)((e,t)=>{s(e,"error",t)},[s]),o=(0,n.useCallback)((e,t)=>{s(e,"info",t)},[s]);return{toasts:e,showToast:s,hideToast:l,showSuccess:r,showError:a,showInfo:o}}},1668:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var n=s(5155),l=s(2115);function r(e){let{className:t=""}=e,[s,r]=(0,l.useState)(!1);return(0,n.jsxs)("details",{className:"group rounded-2xl border border-slate-200 bg-white/80 p-4 shadow-sm ".concat(t),onToggle:e=>r(e.currentTarget.open),children:[(0,n.jsxs)("summary",{className:"flex cursor-pointer items-center justify-between text-xs font-semibold text-slate-400 sm:text-sm",children:[(0,n.jsx)("span",{children:"ãã¤ã³ãä»ä¸æ¡ä»¶ã«ã¤ãã¦"}),(0,n.jsx)("span",{className:"text-base transition ".concat(s?"ri-arrow-up-s-line":"ri-arrow-down-s-line")})]}),(0,n.jsxs)("div",{className:"mt-3 space-y-3 text-xs leading-relaxed text-slate-500",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-semibold text-slate-900",children:"â ãã¤ã³ãä»ä¸æ¡ä»¶"}),(0,n.jsxs)("ul",{className:"mt-2 space-y-1",children:[(0,n.jsx)("li",{children:"â»ååã¨ãã¦ã1人ããããåæã®æåã®5ä»¶ã®æ¿èªãã¾ã§ãä»ä¸å¯¾è±¡ã§ãï¼ä¸é¨ã®æ¡ä»¶ãé¤ãï¼ã6ä»¶ç®ä»¥éã¯ãç»é¢ä¸ã«ãã¤ã³ãæ°ã表示ããã¦ãã¦ãä»ä¸ãããªãå ´åãããã¾ãã"}),(0,n.jsx)("li",{children:"â»ã審æ»å£ã³ããåéãã¦ãããµã¼ãã¹ãã®æç¨¿ã®ã¿å¯¾è±¡ã§ããåéç¶æ³ã¯ã審æ»å£ã³ãåéä¸ï¼ãã§ã確èªãã ããã"}),(0,n.jsx)("li",{children:"â»ãã¤ã³ãè¨å®ãã0ptãã®ãµã¼ãã¹ã¯ä»ä¸ããã¾ããã"}),(0,n.jsx)("li",{children:"â»ãæç¨¿ããã ããå
容ã¯ãéå¶ã確èªãã¾ãã"}),(0,n.jsx)("li",{children:"â»å
容ã妥å½ã¨å¤æãããæç¹ã§æ¿èªã¨ãªãããã®å¾ãã¤ã³ããä»ä¸ãã¾ãã"}),(0,n.jsx)("li",{children:"â»æµãï¼æç¨¿ â éå¶ç¢ºèª â æ¿èª â ãã¤ã³ãä»ä¸ï¼é æ¬¡åæ ï¼"})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-semibold text-slate-900",children:"â ä»ä¸å¯¾è±¡å¤ã¨ãªããã®"}),(0,n.jsxs)("ul",{className:"mt-2 space-y-1",children:[(0,n.jsx)("li",{children:"â»åæã®5ä»¶ãè¶
ãã審æ»å£ã³ã"}),(0,n.jsx)("li",{children:"â»åéãçµäºãããµã¼ãã¹ã¸ã®æç¨¿ï¼ã審æ»å£ã³ãåéä¸ï¼ãã§ææ°ã®åéç¶æ³ã確èªãã¦ãã ããï¼"}),(0,n.jsx)("li",{children:"â»ä¸æ£ã»ããããã¨å¤æãããæç¨¿"}),(0,n.jsx)("li",{children:"â»ç»åãå å·¥ãã¦å
å®¹ãæ¹å¤ãã¦ãããã®"}),(0,n.jsx)("li",{children:"â»è»¢è¼ï¼ã³ããï¼ããAIçæã®ã¿ã¨å¤æãããæç¨¿"}),(0,n.jsx)("li",{children:"â»æåæ°ãå¢ãããã¨ã ããç®çã¨ããè¨è¿°ï¼åãæå³ã®ããè¿ãã»æå³ãæããªãæãªã©ï¼"}),(0,n.jsx)("li",{children:"â»ãã®ä»ãå½ãµã¤ãã®åºæºã«æºããªãå ´åã¯æ¿èªããã
1ªããã¨ãããã¾ã"})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-semibold text-slate-900",children:"â ãã®ä»ã®æ³¨æäºé
"}),(0,n.jsxs)("ul",{className:"mt-2 space-y-1",children:[(0,n.jsx)("li",{children:"â»å¿
ããèªèº«ã®å®ä½é¨ã®ã¿ãæç¨¿ãã¦ãã ããã"}),(0,n.jsx)("li",{children:"â»ç»åãæ·»ä»ããå ´åã¯ãæ°åã»ä½æã»çªå·ãªã©ã®å人æ
å ±ãå¿
ãé ãã¦ãã ããã"}),(0,n.jsx)("li",{children:"â»æ¨©å©ä¾µå®³ã®ããããããç»åããæ©å¯æ
å ±ãå«ã¾ããç»åã¯ä½¿ç¨ã§ãã¾ããã"}),(0,n.jsx)("li",{children:"â»ã³ã¡ã³ãã®å
容ã«åé¡ãããå ´åããå½ãµã¤ããä¸é©åã¨å¤æããå ´åã¯ãæç¨¿ãé表示ã«ãããã¨ãããã¾ãã"})]})]})]})]})}},5701:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var n=s(5155),l=s(2115);function r(e){let{message:t,type:s="success",duration:r=3e3,onClose:a}=e,[o,i]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{i(!0);let e=setTimeout(()=>{i(!1),setTimeout(a,300)},r);return()=>clearTimeout(e)},[r,a]),(0,n.jsxs)("div",{className:"fixed bottom-4 right-4 z-50 flex items-center px-4 py-3 rounded-lg shadow-lg transition-all duration-300 transform ".concat(o?"translate-x-0 opacity-100":"translate-x-full opacity-0"," ").concat((()=>{switch(s){case"success":default:return"bg-green-500 text-white";case"error":return"bg-red-500 text-white";case"info":return"bg-blue-500 text-white"}})()),children:[(0,n.jsxs)("div",{className:"flex items-center space-x-2",children:[(()=>{switch(s){case"success":return(0,n.jsx)("svg",{className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})});case"error":return(0,n.jsx)("svg",{className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})});case"info":return(0,n.jsx)("svg",{className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})});default:return null}})(),(0,n.jsx)("span",{className:"font-medium",children:t})]}),(0,n.jsx)("button",{onClick:()=>{i(!1),setTimeout(a,300)},className:"ml-4 text-white hover:text-gray-200 focus:outline-none",children:(0,n.jsx)("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})}function a(e){let{toasts:t,onClose:s}=e;return(0,n.jsx)("div",{className:"fixed bottom-4 right-4 z-50 flex flex-col-reverse space-y-reverse space-y-2",children:t.map(e=>(0,n.jsx)(r,{message:e.message,type:e.type,duration:e.duration,onClose:()=>s(e.id)},e.id))})}},5748:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var n=s(5155);function l(){return(0,n.jsx)("div",{className:"animate-spin rounded-full h-5 w-5 border-b-2 border-white"})}},7523:function(e,t,s){var n,l,r;!function(a,o){"use strict";e.exports?e.exports=o(s(1001)):(l=[s(1001)],void 0===(r="function"==typeof(n=o)?n.apply(t,l):n)||(e.exports=r))}(0,function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,s,n={},l={},r={},a={},o={};e&&"string"==typeof e.version||C("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var i=e.version.split("."),c=+i[0],d=+i[1];function u(e){return e>96?e-87:e>64?e-29:e-48}function x(e){var t,s=0,n=e.split("."),l=n[0],r=n[1]||"",a=1,o=0,i=1;for(45===e.charCodeAt(0)&&(s=1,i=-1);s<l.length;s++)o=60*o+(t=u(l.charCodeAt(s)));for(s=0;s<r.length;s++)a/=60,o+=(t=u(r.charCodeAt(s)))*a;return o*i}function m(e){for(var t=0;t<e.length;t++)e[t]=x(e[t])}function p(e,t){var s,n=[];for(s=0;s<t.length;s++)n[s]=e[t[s]];return n}function h(e){var t=e.split("|"),s=t[2].split(" "),n=t[3].split(""),l=t[4].split(" ");m(s),m(n),m(l);for(var r=n.length,a=0;a<r;a++)l[a]=Math.round((l[a-1]||0)+6e4*l[a]);return l[r-1]=1/0,{name:t[0],abbrs:p(t[1].split(" "),n),offsets:p(s,n),untils:l,population:0|t[5]}}function f(e){e&&this._set(h(e))}function j(e,t){this.name=e,this.zones=t}
1function g(e){var t=e.toTimeString(),s=t.match(/\([a-z ]+\)/i);"GMT"===(s=s&&s[0]?(s=s[0].match(/[A-Z]/g))?s.join(""):void 0:(s=t.match(/[A-Z]{3,5}/g))?s[0]:void 0)&&(s=void 0),this.at=+e,this.abbr=s,this.offset=e.getTimezoneOffset()}function v(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function b(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:e.zone.population!==t.zone.population?t.zone.population-e.zone.population:t.zone.name.localeCompare(e.zone.name)}function y(e){return(e||"").toLowerCase().replace(/\//g,"_")}function N(e){var t,s,l,r;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)n[r=y(s=(l=e[t].split("|"))[0])]=e[t],a[r]=s,function(e,t){var s,n;for(m(t),s=0;s<t.length;s++)o[n=t[s]]=o[n]||{},o[n][e]=!0}(r,l[2].split(" "))}function w(e,t){var s,r=n[e=y(e)];return r instanceof f?r:"string"==typeof r?(r=new f(r),n[e]=r,r):l[e]&&t!==w&&(s=w(l[e],w))?((r=n[e]=new f)._set(s),r.name=a[e],r):null}function k(e){var t,s,n,r;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)n=y((s=e[t].split("|"))[0]),r=y(s[1]),l[n]=r,a[n]=s[0],l[r]=n,a[r]=s[1]}function z(e){return z.didShowError||(z.didShowError=!0,C("moment.tz.zoneExists('"+e+"') has been deprecated in favor of !moment.tz.zone('"+e+"')")),!!w(e)}function S(e){var t="X"===e._f||"x"===e._f;return!!(e._a&&void 0===e._tzm&&!t)}function C(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function _(t){var s,n=Array.prototype.slice.call(arguments,0,-1),l=arguments[arguments.length-1],r=e.utc.apply(null,n);return!e.isMoment(t)&&S(r)&&(s=w(l))&&r.add(s.parse(r),"minutes"),r.tz(l),r}(c<2||2===c&&d<6)&&C("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),f.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t;if((t=function(e,t){var s,n=t.length;if(e<t[0])return 0;if(n>1&&t[n-1]===1/0&&e>=t[n-2])return n-1;if(e>=t[n-1])return -1;for(var l=0,r=n-1;r-l>1;)t[s=Math.floor((l+r)/2)]<=e?l=s:r=s;return r}(+e,this.untils))>=0)return t},countries:function(){var e=this.name;return Object.keys(r).filter(function(t){return -1!==r[t].zones.indexOf(e)})},parse:function(e){var t,s,n,l,r=+e,a=this.offsets,o=this.untils,i=o.length-1;for(l=0;l<i;l++)if(t=a[l],s=a[l+1],n=a[l?l-1:l],t<s&&_.moveAmbiguousForward?t=s:t>n&&_.moveInvalidForward&&(t=n),r<o[l]-6e4*t)return a[l];return a[i]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return C("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(e)]},utcOffset:function(e){return this.offsets[this._index(e)]}},v.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.utcOffset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},_.version="0.5.48",_.dataVersion="",_._zones=n,_._links=l,_._names=a,_._countries=r,_.add=N,_.link=k,_.load=function(e){N(e.zones),k(e.links),function(e){var t,s,n,l;if(e&&e.length)for(t=0;t<e.length;t++)s=(l=e[t].split("|"))[0].toUpperCase(),n=l[1].split(" "),r[s]=new j(s,n)}(e.countries),_.dataVersion=e.version},_.zone=w,_.zoneExists=z,_.guess=function(e){return(!s||e)&&(s=function(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&e.length>3){var t=a[y(e)];if(t)return t;C("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var s,n,l,r=function(){var e,t,s,n,l=new Date().getFullYear()-2,r=new g(new Date(l,0,1)),a=r.offset,o=[r];for(n=1;n<48;n++)(s=new Date(l,n,1).getTimezoneOffset())!==a&&(o.push(e=function(e,t){for(var s,n;n=((t.at-e.at)/12e4|0)*6e4;)(s=new g(new Date(e.at+n))).offset===e.offset?e=s:t=s;return e}(r,t=new g(new Date(l,n,1)))),o.push(new g(new Date(e.at+6e4))),r=t,a=s);for(n=0;n<4;n++)o.push(new g(new Date(l+n,0,1))),o.push(new g(new Date(l+n,6,1)));return o}(),i=r.length,c=function(e){var t,s,n,l,r=e.length,i={},c=[],d={};for(t=0;t<r;t++)if(n=e[t].offset,!d.hasOwnProperty(n)){for(s in l=o[n]||{})l.hasOwnProperty(s)&&(i[s]=!0);d[n]=!0}for(t in i)i.hasOwnProperty(t)&&c.push(a[t]);return c}(r),d=[];for(n=0;n<c.length;n++){for(l=0,s=new v(w(c[n]),i);l<i;l++)s.scoreOffsetAt(r[l]);d.push(s)}return d.sort(b),d.length>0?d[0].zone.name:void 0}()),s},_.names=function(){var e,t=[];for(e in a)a.hasOwnProperty(e)&&(n[e]||n[l[e]])&&a[e]&&t.push(a[e]);return t.sort()},_.Zone=f,_.unpack=h,_.unpackBase60=x,_.needsOffset=S,_.moveInvalidForward=!0,_.moveAmbiguousForward=!1,_.countries=function(){return Object.keys(r)},_.zonesForCountry=function(e,t){if(!(e=r[e.toUpperCase()]||null))return null;var s=e.zones.sort();return t?s.map(function(e){var t=w(e);return{name:e,offset:t.utcOffset(new Date)}}):s};var A=e.fn;function T(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function O(e){return function(){return this._z=null,e.apply(this,arguments)}}e.tz=_,e.defaultZone=null,e.updateOffset=function(t,s){var n,l=e.defaultZone;if(void 0===t._z&&(l&&S(t)&&!t._isUTC&&t.isValid()&&(t._d=e.utc(t._a)._d,t.utc().add(l.parse(t),"minutes")),t._z=l),t._z)if(16>Math.abs(n=t._z.utcOffset(t))&&(n/=60),void 0!==t.utcOffset){var r=t._z;t.utcOffset(-n,s),t._z=r}else t.zone(n,s)},A.tz=function(t,s){if(t){if("string"!=typeof t)throw Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=w(t),this._z?e.updateOffset(this,s):C("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},A.zoneName=T(A.zoneName),A.zoneAbbr=T(A.zoneAbbr),A.utc=O(A.utc),A.local=O(A.local),t=A.utcOffset,A.utcOffset=function(){return arguments.length>0&&(this._z=null),t.apply(this,arguments)},e.tz.setDefault=function(t){return(c<2||2===c&&d<9)&&C("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?w(t):null,e};var M=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(M)?(M.push("_z"),M.push("_a")):M&&(M._z=null),e})},7548:(e,t,s)=>{"use strict";s.d(t,{A:()=>
1o});var n=s(5155),l=s(2115),r=s(8354);let a=[".png",".jpeg",".jpg",".webp",".svg",".doc",".docx",".xls",".xlsx",".ppt",".pptx",".pdf",".txt",".csv",".zip",".json"];function o(e){let{files:t,setFiles:s,label1:o,label2:i}=e,[c,d]=(0,l.useState)(!1),[u,x]=(0,l.useState)(!1),[m,p]=(0,l.useState)(null),[h,f]=(0,l.useState)(null),j=(0,l.useRef)(null),g=async e=>{if(0===e.length)return;f(null);let n=(e=>{for(let s of e){var t;let e="."+(null==(t=s.name.split(".").pop())?void 0:t.toLowerCase());if(s.name.length>100)return'ãã¡ã¤ã«å "'.concat(s.name,'" ãé·ããã¾ãã').concat(100,"æå以å
ã«ãã¦ãã ããã");if(!a.includes(e))return'ãã¡ã¤ã« "'.concat(s.name,'" ã¯ãµãã¼ãããã¦ããªãå½¢å¼ã§ãã');if(s.size>5242880)return'ãã¡ã¤ã« "'.concat(s.name,'" ã®ãµã¤ãºã5MBãè¶
ãã¦ãã¾ãã')}return null})(e);if(n)return void f(n);x(!0);let l=new FormData;e.forEach(e=>{l.append("files",e)});try{let n=await fetch("/api/file/upload",{method:"POST",body:l});if(n.ok){let l=(await n.json()).map((t,s)=>({...t,localUrl:URL.createObjectURL(e[s])}));s([...t,...l])}}catch(e){console.error("Upload failed:",e)}finally{x(!1)}};return(0,n.jsxs)("div",{className:"w-full",children:[h&&(0,n.jsx)("div",{className:"mb-4 p-3 bg-red-100 border border-red-400 text-red-700 rounded-2xl text-xs",children:h}),(0,n.jsxs)("div",{className:"mx-auto flex h-14 w-full max-w-md items-center justify-center gap-2 rounded-xl border border-dashed border-slate-200 bg-slate-50/80 text-slate-400 transition cursor-pointer ".concat(c?"border-sky-200 bg-sky-50 text-sky-500":"hover:border-sky-200 hover:bg-sky-50 hover:text-sky-500"),onDragOver:e=>{e.preventDefault(),d(!0)},onDragLeave:e=>{e.preventDefault(),d(!1)},onDrop:e=>{e.preventDefault(),d(!1),g(Array.from(e.dataTransfer.files))},onClick:()=>{var e;return null==(e=j.current)?void 0:e.click()},children:[(0,n.jsx)("input",{ref:j,type:"file",multiple:!0,className:"hidden",onChange:e=>{g(Array.from(e.target.files||[]))},accept:".png,.jpeg,.jpg,.webp,.svg,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf,.txt,.csv,.zip,.json"}),u?(0,n.jsx)(r.A,{variant:"default"}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"ri-upload-cloud-2-line text-lg"}),o||"ãã¡ã¤ã«ããã©ãã°&ããããã¾ãã¯ã¯ãªãã¯ãã¦é¸æ"]})]}),(0,n.jsx)("p",{className:"mt-2 text-center text-xs text-slate-400",children:i||"è¤æ°ãã¡ã¤ã«å¯¾å¿ (æå¤§10ãã¡ã¤ã«ãå5MB以ä¸)"}),t.length>0&&(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)("div",{className:"grid gap-3",children:t.map((e,l)=>{var r;return(0,n.jsxs)("div",{className:"flex items-center justify-between p-3 bg-slate-50 rounded-2xl border border-slate-200",children:[(0,n.jsxs)("div",{className:"flex items-center space-x-3",children:[["png","jpg","jpeg","webp"].includes((null==(r=e.inputfile.split(".").pop())?void 0:r.toLowerCase())||"")?(0,n.jsx)("img",{src:e.localUrl||e.s3url,alt:e.inputfile,className:"w-10 h-10 object-cover rounded-lg cursor-pointer hover:opacity-80 border border-slate-200",onClick:()=>p(e.localUrl||e.s3url)}):(0,n.jsx)("div",{className:"text-lg",children:(e=>{var t;let s=null==(t=e.split(".").pop())?void 0:t.toLowerCase();if(["png","jpg","jpeg","webp","svg"].includes(s||""))return"\uD83D\uDDBCï¸";switch(s){case"pdf":return"\uD83D\uDCC4";case"doc":case"docx":return"\uD83D\uDCDD";case"xls":case"xlsx":return"\uD83D\uDCCA";case"ppt":case"pptx":return"\uD83D\uDCCB";case"zip":return"\uD83D\uDDDCï¸";case"txt":return"\uD83D\uDCC3";case"csv":return"\uD83D\uDCC8";case"json":return"âï¸";default:return"\uD83D\uDCCE"}})(e.inputfile)}),(0,n.jsx)("span",{className:"text-xs text-slate-600 font-medium truncate max-w-xs",children:e.inputfile})]}),(0,n.jsx)("button",{type:"button",onClick:()=>{s(t.filter((e,t)=>t!==l))},className:"text-slate-400 hover:text-red-500 text-sm transition-colors",title:"åé¤",children:(0,n.jsx)("span",{className:"ri-close-line text-base"})})]},l)})})}),m&&(0,n.jsx)("div",{className:"fixed inset-0 bg-slate-900/80 flex items-center justify-center z-50 px-4 py-6",onClick:()=>p(null),children:(0,n.jsxs)("div",{className:"relative w-full max-w-3xl overflow-hidden rounded-2xl bg-white shadow-2xl shadow-slate-900/30",children:[(0,n.jsx)("button",{onClick:()=>p(null),className:"absolute right-3 top-3 inline-flex h-9 w-9 items-center justify-center rounded-full bg-white/90 text-slate-500 shadow-md ring-1 ring-slate-200 transition hover:text-slate-700",children:(0,n.jsx)("span",{className:"ri-close-line text-lg"})}),(0,n.jsx)("div",{className:"max-h-[80vh] overflow-auto p-4 sm:p-6",children:(0,n.jsx)("img",{src:m,alt:"æ¡å¤§è¡¨ç¤º",className:"mx-auto h-auto max-h-[70vh] w-full max-w-2xl rounded-xl border border-slate-200 object-contain"})})]})})]})}},8354:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var n=s(5155),l=s(2115),r=s(7650);function a(e){let{variant:t="default",targetElementId:s,delay:a=300}=e,[o,i]=(0,l.useState)(null),[c,d]=(0,l.useState)(!1);if((0,l.useEffect)(()=>{s&&i(document.getElementById(s))},[s]),(0,l.useEffect)(()=>{let e=setTimeout(()=>{d(!0)},a);return()=>clearTimeout(e)},[a]),!c)return null;let u=(0,n.jsxs)("div",{className:"dots-spinner",children:[(0,n.jsx)("span",{}),(0,n.jsx)("span",{}),(0,n.jsx)("span",{})]});if(s){if(!o)return null;let e=(0,n.jsx)("div",{className:"absolute inset-0 bg-white bg-opacity-75 flex items-center justify-center z-10",children:u});return(0,r.createPortal)(e,o)}return"overlay"===t?(0,n.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50",children:u}):"page"===t?(0,n.jsx)("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:u}):"inline"===t?(0,n.jsx)("div",{className:"flex items-center justify-center py-8",children:u}):(0,n.jsx)("div",{className:"flex items-center justify-center",children:u})}},9433:(e,t,s)=>{"use strict";s.d(t,{A:()=>v});var n=s(5155),l=s(2115),r=s(6199),a=s(5400),o=s(5883),i=s(587),c=s.n(i),d=s(1268),u=s(1463),x=s(5701),m=s(8354),p=s(5748),h=s(1668),f=s(7548),j=s(5408);let g={creditcard:"CREDITCARD_SCREENING_POST",cardloan:"CARDLOAN_SCREENING_POST","deferred-payment":"DEFERRED_PAYMENT_SCREENING_POST"};function v(e){var t,s,i,v,b,y,N,w,k,z,S,C,_,A,T,O,M,D;let{cardSelectionMode:E,projects:L,selectedProject:P,apiEndpoint:F,postType:I,onSuccess:q}=e,{data:R}=(0,r.wV)(),{toasts:B,showSuccess:V,showError:U,hideToast:Z}=(0,u.d)(),[Y,G]=(0,l.useState)(!1),[W,H]=(0,l.useState)(""),[J,K]=(0,l.useState)(null),[X,Q]=(0,l.useState)(!1),[$,ee]=(0,l.useState)(!1),[et,es]=(0,l.useState)([]),[en,el]=(0,l.useState)(!1),[er,ea]=(0,l.useState)(!1),[eo,ei]=(0,l.useState)(""),[ec,ed]=(0,l.useState)(""),eu=c()().tz("Asia/Tokyo"),ex=eu.year(),em=eu.month()+1,ep=ec===ex.toString()?em:12;(0,l.useEffect)(()=>{ei("")},[I]);let eh=(null==R||null==(t=R.user)?void 0:t.id)?"/api/account/monthly-post-status":null,{data:ef}=(0,a.Ay)(eh,d.w,{revalidateOnFocus:!1}),{data:ej}=(0,a.Ay)((null==R||null==(s=R.user)?void 0:s.id)?["/api/account/attribute/get",{}]:null,d.e,{revalidateOnFocus:!1}),eg={age:(null==ej||null==(i=ej.data)?void 0:i.age)||"",job:(null==ej||null==(v=ej.data)?void 0:v.job)||"",annualIncome:(null==ej||null==(b=ej.data)?void 0:b.annualIncome)||"",lengthOfService:(null==ej||null==(y=ej.data)?void 0:y.lengthOfService)||"",loanAmount:(null==ej||null==(N=ej.data)?void 0:N.loanAmount)||"",creditInformation:(null==ej||null==(w=e
1j.data)?void 0:w.creditInformation)||""},{data:ev}=(0,a.Ay)(["/api/page_parts/get",{name:"screening-form-information-text"}],d.e,{revalidateOnFocus:!1}),eb=null!=(M=null==ev||null==(z=ev.data)||null==(k=z.config)?void 0:k.contents)?M:"",{data:ey}=(0,a.Ay)(["/api/page_parts/get",{name:"screening-result-mail-from-list"}],d.e,{revalidateOnFocus:!1}),eN=null!=(D=null==ey||null==(C=ey.data)||null==(S=C.config)?void 0:S[I])?D:[],ew=async e=>{e.preventDefault(),G(!0),K(null);try{let t=new FormData(e.currentTarget),s=t.get("comment");if("dropdown"===E&&!eo){K({type:"error",message:"審æ»ãåãã".concat(ek(),"ã鏿ãã¦ãã ããã")}),Q(!0),setTimeout(()=>{Q(!1),K(null)},3e3),G(!1);return}if(s&&s.length<50){K({type:"error",message:"ã³ã¡ã³ãã¯50æå以ä¸ã§å
¥åãã¦ãã ããã"}),Q(!0),setTimeout(()=>{Q(!1),K(null)},3e3),G(!1);return}let n=[];et.length>0&&(n=et.map(e=>e.s3key));let l={postType:g[I],cardName:t.get("card"),year:t.get("review-year"),month:t.get("review-month"),age:t.get("age"),job:t.get("occupation"),annualIncome:t.get("income"),lengthOfService:t.get("work-years"),loanAmount:t.get("debt"),creditInformation:t.get("credit"),screeningTime:t.get("screening-time"),result:t.get("result"),comment:t.get("comment")||void 0};n.length>0&&(l.files=n);let r=await fetch("/api/screening/post",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}),a=await r.json();if(r.ok&&(200===r.status||201===r.status))if(a&&(a.message||a.data)){let t=e.target;t&&t.reset&&t.reset(),H(""),ed(""),es([]),ei(""),eh&&await (0,o.j)(eh),q&&q(),ee(!0)}else K({type:"error",message:"æç¨¿ã¯å®äºãã¾ããããã¬ã¹ãã³ã¹å½¢å¼ãäºæããªããã®ã§ããã"});else K({type:"error",message:(null==a?void 0:a.error)||"審æ»å£ã³ãã®æç¨¿ã«å¤±æãã¾ããã"}),Q(!0),setTimeout(()=>{Q(!1),K(null)},3e3)}catch(t){let e="ãããã¯ã¼ã¯ã¨ã©ã¼ãçºçãã¾ãããå度ã試ããã ããã";t instanceof TypeError&&t.message.includes("fetch")?e="ãããã¯ã¼ã¯æ¥ç¶ã¨ã©ã¼ãçºçãã¾ãããã¤ã³ã¿ã¼ãããæ¥ç¶ã確èªãã¦ãã ããã":t instanceof SyntaxError&&(e="ãµã¼ãã¼ããã®å¿çã䏿£ã§ãããã°ããæéãããã¦å度ã試ããã ããã"),K({type:"error",message:e}),Q(!0),setTimeout(()=>{Q(!1),K(null)},8e3),console.error("Form submission error:",t)}finally{G(!1)}},ek=()=>{switch(I){case"cardloan":return"ã«ã¼ããã¼ã³";case"deferred-payment":return"ã¢ããª";case"creditcard":return"ã¯ã¬ã¸ããã«ã¼ã";default:return"ãµã¼ãã¹"}},ez="fixed"===E?P:"dropdown"===E&&eo&&L?L.find(e=>e.projectName===eo):null;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.A,{toasts:B,onClose:Z}),X&&J&&(0,n.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center px-4",children:(0,n.jsx)("div",{className:"p-6 rounded-lg shadow-lg text-lg font-medium w-full max-w-sm ".concat("success"===J.type?"bg-green-100 text-green-800":"bg-red-100 text-red-800"),children:J.message})}),(0,n.jsx)("section",{children:(0,n.jsx)("div",{className:"mx-auto flex w-full max-w-5xl flex-col gap-6 px-4 py-1 sm:px-6",children:(0,n.jsx)("div",{className:"p-0 shadow-slate-200/60 ring-1 ring-white/80",children:(0,n.jsxs)("form",{className:"mt-8 space-y-6 text-sm text-slate-600 lg:mx-auto lg:max-w-[640px]",onSubmit:ew,children:[ef&&(0,n.jsxs)("div",{className:"rounded-2xl border px-4 py-3 text-xs lg:text-center ".concat((ef.isLimitReached,"border-amber-200 bg-amber-50 text-amber-700")),children:[(0,n.jsxs)("span",{className:"font-semibold",children:["仿ãã¨",ef.remaining,"ä»¶"]}),"ã¾ã§æç¨¿ã§ãã¤ã³ããç²å¾å¯è½ã§ããï¼ç¾å¨",ef.currentCount,"ä»¶æ¿èªæ¸ã¿ï¼"]}),eb&&(0,n.jsx)("div",{className:"bg-gradient-to-r from-blue-50 to-indigo-50 border border-blue-200 rounded-2xl p-4 shadow-sm",children:(0,n.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,n.jsx)("div",{className:"flex-shrink-0",children:(0,n.jsx)("svg",{className:"w-5 h-5 text-blue-600 mt-0.5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",clipRule:"evenodd"})})}),(0,n.jsx)("div",{className:"text-sm text-gray-700 leading-relaxed [&_a]:text-blue-600 [&_a]:underline [&_a:hover]:text-blue-800",dangerouslySetInnerHTML:{__html:eb}})]})}),"deferred-payment"===I&&(0,n.jsx)("div",{className:"bg-white border border-blue-200 rounded-2xl p-3 sm:p-4 shadow-sm",children:(0,n.jsxs)("div",{className:"flex items-center sm:items-start",children:[(0,n.jsx)("div",{className:"hidden sm:block flex-shrink-0 mr-3",children:(0,n.jsx)("div",{className:"w-5 h-5 sm:w-6 sm:h-6 bg-blue-100 rounded-full flex items-center justify-center",children:(0,n.jsx)("i",{className:"ri-information-line text-blue-600 text-xs"})})}),(0,n.jsx)("p",{className:"text-xs sm:text-sm text-gray-600",children:"å¾æãæ©è½ã®å©ç¨æãªã©ã®ã審æ»ãè¡ãªãããéã®å¯©æ»å£ã³ããããå¯ããã ããã"})]})}),(0,n.jsxs)("div",{className:"grid gap-5 sm:grid-cols-2",children:[(0,n.jsxs)("label",{className:"flex flex-col gap-2 min-w-0",children:[(0,n.jsxs)("span",{className:"text-sm font-semibold text-slate-900",children:["審æ»ãåãã",ek(),(0,n.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),"dropdown"===E?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("input",{type:"hidden",name:"card",value:eo}),(0,n.jsx)(j.A,{variant:"boxed",isSingleSelect:!0,showPoint:!0,selectedProjects:eo?[{projectName:eo,displayName:(null==ez||null==(_=ez.display)?void 0:_.name)||eo}]:[],onChange:e=>{var t;return ei((null==(t=e[0])?void 0:t.projectName)||"")},postType:[g[I]],apiPath:"/api/project/list",method:"GET",placeholder:"".concat(ek(),"ã
1鏿ãã¦ãã ãã")}),(null==ez||null==(A=ez.display)?void 0:A.pointAdditionalNote)&&""!==ez.display.pointAdditionalNote&&(0,n.jsx)("p",{className:"text-sm font-bold text-yellow-600",children:ez.display.pointAdditionalNote})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("select",{name:"card",className:"w-full rounded-2xl border border-slate-200 px-3 py-2 bg-gray-100",value:(null==P?void 0:P.projectName)||"",disabled:!0,required:!0,children:(0,n.jsxs)("option",{value:(null==P?void 0:P.projectName)||"",children:[(null==P||null==(T=P.display)?void 0:T.name)||""," ",(null==P?void 0:P.point2)?"".concat(P.point,"ã").concat(P.point2):null==P?void 0:P.point,"pt"]})}),(0,n.jsx)("input",{type:"hidden",name:"card",value:(null==P?void 0:P.projectName)||""}),(null==ez||null==(O=ez.display)?void 0:O.pointAdditionalNote)&&""!==ez.display.pointAdditionalNote&&(0,n.jsx)("p",{className:"text-sm font-bold text-yellow-600",children:ez.display.pointAdditionalNote})]})]}),(0,n.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,n.jsxs)("label",{className:"flex flex-col gap-2",children:[(0,n.jsxs)("span",{className:"text-sm font-semibold text-slate-900",children:["審æ»ãåããå¹´æ",(0,n.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,n.jsxs)("select",{name:"review-year",className:"w-full rounded-2xl border border-slate-200 px-3 py-2 focus:border-sky-400 focus:outline-none focus:ring-2 focus:ring-sky-200",required:!0,onChange:e=>{var t;let s=e.target.value;ed(s);let n=null==(t=e.target.form)?void 0:t.elements.namedItem("review-month");s===ex.toString()&&n&&Number(n.value)>em&&(n.value="")},children:[(0,n.jsx)("option",{value:"",children:"å¹´"}),(()=>{let e=[];for(let t=0;t<7;t++){let s=ex-t;e.push((0,n.jsxs)("option",{value:s.toString(),children:[s,"å¹´"]},s))}return e})()]})]}),(0,n.jsxs)("label",{className:"flex flex-col gap-2",children:[(0,n.jsx)("span",{"aria-hidden":"true",className:"invisible text-sm font-semibold text-slate-900",children:"æ"}),(0,n.jsxs)("select",{name:"review-month",className:"w-full rounded-2xl border border-slate-200 px-3 py-2 focus:border-sky-400 focus:outline-none focus:ring-2 focus:ring-sky-200",required:!0,children:[(0,n.jsx)("option",{value:"",children:"æ"}),Array.from({length:ep},(e,t)=>t+1).map(e=>(0,n.jsxs)("option",{value:e.toString(),children:[e,"æ"]},e))]})]})]}),(0,n.jsxs)("div",{className:"grid grid-cols-2 gap-5 sm:col-span-2",children:[(0,n.jsxs)("label",{className:"flex flex-col gap-2 order-1 sm:order-1",children:[(0,n.jsxs)("span",{className:"text-sm font-semibold text-slate-900",children:["å¹´é½¢",(0,n.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,n.jsxs)("select",{name:"age",defaultValue:eg.age,className:"w-full rounded-2xl border border-slate-200 px-3 py-2 focus:border-sky-400 focus:outline-none focus:ring-2 focus:ring-sky-200",required:!0,children:[(0,n.jsx)("option",{value:"",children:"鏿ãã¦ãã ãã"}),(0,n.jsx)("option",{value:"18-19",children:"18ã»19æ³"}),(0,n.jsx)("option",{value:"20-24",children:"20~24æ³"}),(0,n.jsx)("option",{value:"25-29",children:"25~29æ³"}),(0,n.jsx)("option",{value:"30-39",children:"30~39æ³"}),(0,n.jsx)("option",{value:"40-49",children:"40~49æ³"}),(0,n.jsx)("option",{value:"50-59",children:"50~59æ³"}),(0,n.jsx)("option",{value:"60+",children:"60æ³ä»¥ä¸"})]},"age-".concat(eg.age))]}),(0,n.jsxs)("label",{className:"flex flex-col gap-2 order-3 sm:order-2 col-span-2 sm:col-span-1",children:[(0,n.jsxs)("span",{className:"text-sm font-semibold text-slate-900",children:["è·æ¥ï¼éç¨å½¢æ
ï¼",(0,n.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,n.jsxs)("select",{name:"occupation",defaultValue:eg.job,className:"w-full rounded-2xl border border-slate-200 px-3 py-2 focus:border-sky-400 focus:outline-none focus:ring-2 focus:ring-sky-200",required:!0,children:[(0,n.jsx)("option",{value:"",children:"鏿ãã¦ãã ãã"}),(0,n.jsx)("option",{value:"regular",children:"æ£ç¤¾å¡ã»å
¬åå¡"}),(0,n.jsx)("option",{value:"executive",children:"ä¼ç¤¾ä»£è¡¨è
"}),(0,n.jsx)("option",{value:"self-employed",children:"åäººäºæ¥ä¸»ã»èªå¶æ¥"}),(0,n.jsx)("option",{value:"contract",children:"æ´¾é£ã»å¥ç´ç¤¾å¡"}),(0,n.jsx)("option",{value:"part-time",children:"ãã¼ãã»ã¢ã«ãã¤ãï¼å¦çé¤ãï¼"}),(0,n.jsx)("option",{value:"pension",children:"å¹´éã»ä¸åç£ã»å©åé
å½"}),(0,n.jsx)("option",{value:"homemaker",children:"å°æ¥ä¸»å©¦ã»ä¸»å¤«"}),(0,n.jsx)("option",{value:"student",children:"å¦ç"}),(0,n.jsx)("option",{value:"unemployed",children:"ç¡è·"})]},"job-".concat(eg.job))]}),(0,n.jsxs)("label",{className:"flex flex-col gap-2 order-2 sm:order-3",children:[(0,n.jsxs)("span",{className:"text-sm font-semibold text-slate-900",children:["å¹´å",(0,n.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,n.jsxs)("select",{name:"income",defaultValue:eg.annualIncome,className:"w-full rounded-2xl border border-slate-200 px-3 py-2 focus:border-sky-400 focus:outline-none focus:ring-2 focus:ring-sky-200",required:!0,children:[(0,n.jsx)("option",{value:"",children:"鏿ãã¦ãã ãã"}
1),(0,n.jsx)("option",{value:"700+",children:"700ä¸å以ä¸"}),(0,n.jsx)("option",{value:"600-700",children:"600~700ä¸åæªæº"}),(0,n.jsx)("option",{value:"500-600",children:"500~600ä¸åæªæº"}),(0,n.jsx)("option",{value:"400-500",children:"400~500ä¸åæªæº"}),(0,n.jsx)("option",{value:"300-400",children:"300~400ä¸åæªæº"}),(0,n.jsx)("option",{value:"200-300",children:"200~300ä¸åæªæº"}),(0,n.jsx)("option",{value:"under200",children:"200ä¸åæªæº"})]},"income-".concat(eg.annualIncome))]}),(0,n.jsxs)("label",{className:"flex flex-col gap-2 order-4 sm:order-4",children:[(0,n.jsxs)("span",{className:"text-sm font-semibold text-slate-900",children:["å¤ç¶å¹´æ°",(0,n.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,n.jsxs)("select",{name:"work-years",defaultValue:eg.lengthOfService,className:"w-full rounded-2xl border border-slate-200 px-3 py-2 focus:border-sky-400 focus:outline-none focus:ring-2 focus:ring-sky-200",required:!0,children:[(0,n.jsx)("option",{value:"",children:"鏿ãã¦ãã ãã"}),(0,n.jsx)("option",{value:"10+",children:"10年以ä¸"}),(0,n.jsx)("option",{value:"5-10",children:"5~10å¹´æªæº"}),(0,n.jsx)("option",{value:"3-5",children:"3~5å¹´æªæº"}),(0,n.jsx)("option",{value:"1-3",children:"1~3å¹´æªæº"}),(0,n.jsx)("option",{value:"under1",children:"1å¹´æªæº"}),(0,n.jsx)("option",{value:"not-working",children:"åãã¦ããªã"})]},"work-years-".concat(eg.lengthOfService))]}),(0,n.jsxs)("label",{className:"flex flex-col gap-2 order-5 sm:order-5",children:[(0,n.jsxs)("span",{className:"text-sm font-semibold text-slate-900",children:["ä»ç¤¾åå
¥é¡ï¼å¹´åæ¯ï¼",(0,n.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,n.jsxs)("select",{name:"debt",defaultValue:eg.loanAmount,className:"w-full rounded-2xl border border-slate-200 px-3 py-2 focus:border-sky-400 focus:outline-none focus:ring-2 focus:ring-sky-200",required:!0,children:[(0,n.jsx)("option",{value:"",children:"鏿ãã¦ãã ãã"}),(0,n.jsx)("option",{value:"none",children:"åå
¥ãªã"}),(0,n.jsx)("option",{value:"under10",children:"å¹´åã®10%æªæº"}),(0,n.jsx)("option",{value:"10-20",children:"å¹´åã®10~20%æªæº"}),(0,n.jsx)("option",{value:"20-30",children:"å¹´åã®20~30%æªæº"}),(0,n.jsx)("option",{value:"30+",children:"å¹´åã®30%以ä¸"})]},"debt-".concat(eg.loanAmount))]}),(0,n.jsxs)("label",{className:"flex flex-col gap-2 order-6 sm:order-6 col-span-2 sm:col-span-1",children:[(0,n.jsxs)("span",{className:"text-sm font-semibold text-slate-900",children:["ä¿¡ç¨æ
å ±",(0,n.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,n.jsxs)("select",{name:"credit",defaultValue:eg.creditInformation,className:"w-full rounded-2xl border border-slate-200 px-3 py-2 focus:border-sky-400 focus:outline-none focus:ring-2 focus:ring-sky-200",required:!0,children:[(0,n.jsx)("option",{value:"",children:"鏿ãã¦ãã ãã"}),(0,n.jsx)("option",{value:"good",children:"è¯å¥½ï¼å»¶æ»çµé¨ãªãï¼"}),(0,n.jsx)("option",{value:"slight-delay",children:"軽微ãªå»¶æ»ããï¼1~2åç¨åº¦ï¼"}),(0,n.jsx)("option",{value:"frequent-delay",children:"å»¶æ»ãå¤ãï¼3å以ä¸ï¼"}),(0,n.jsx)("option",{value:"debt-consolidation",children:"åµåæ´ççµé¨ãã"}),(0,n.jsx)("option",{value:"unknown",children:"ããããªã"})]},"credit-".concat(eg.creditInformation))]})]}),(0,n.jsxs)("label",{className:"flex flex-col gap-2 sm:col-span-2",children:[(0,n.jsxs)("span",{className:"text-sm font-semibold text-slate-900",children:["å¯©æ»æé",(0,n.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,n.jsxs)("select",{name:"screening-time",className:"w-full rounded-2xl border border-slate-200 px-3 py-2 focus:border-sky-400 focus:outline-none focus:ring-2 focus:ring-sky-200",required:!0,children:[(0,n.jsx)("option",{value:"",children:"鏿ãã¦ãã ãã"}),(0,n.jsx)("option",{value:"minutes-to-1hour",children:"æ°åã1æé"}),(0,n.jsx)("option",{value:"same-day",children:"彿¥ä¸"}),(0,n.jsx)("option",{value:"2-3days",children:"ç¿æ¥ã3æ¥"}),(0,n.jsx)("option",{value:"4-6days",children:"4ã6æ¥"}),(0,n.jsx)("option",{value:"over-7days",children:"7æ¥ä»¥ä¸"})]})]}),(0,n.jsxs)("label",{className:"flex flex-col gap-2 sm:col-span-2",children:[(0,n.jsxs)("span",{className:"text-sm font-semibold text-slate-900",children:["審æ»çµæ",(0,n.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,n.jsxs)("select",{name:"result",className:"w-full rounded-2xl border border-slate-200 px-3 py-2 focus:border-sky-400 focus:outline-none focus:ring-2 focus:ring-sky-200",required:!0,children:[(0,n.jsx)("option",{value:"",children:"鏿ãã¦ãã ãã"}),(0,n.jsx)("option",{value:"approved",children:"éé"}),(0,n.jsx)("option",{value:"rejected",children:"審æ»è½ã¡"})]})]})]}),(0,n.jsxs)("label",{className:"flex flex-col gap-2",children:[(0,n.jsxs)("span",{className:"text-sm font-semibold text-slate-900",children:["ã³ã¡ã³ãï¼50æå以ä¸ï¼",(0,n.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,n.jsxs)("span",{className:"mt-1 block text-xs font-normal text-slate-400 leading-tight",children:["è¨å
¥ä¾ï¼",(0,n.jsx)("br",{}),"ã»å¯©æ»ã®æµãï¼ä¾ï¼ç³è¾¼ãã30åã§çµæãæ¥ã¾ããï¼",(0,n.jsx)("br",{}),"ã»ç³è¾¼çç±ï¼ä¾ï¼éå
çãé«ãé
åãæãã¾ããï¼",(0,n.jsx)("br",{}),"ã»ä½¿ã£ãææ³ï¼ä¾ï¼ã¢ããªãè¦ããã管çãæ¥½ã§ãï¼",(0,n.jsx)("br",{}),"ã»å¯©æ»è½ã¡ã®å¿å½ããï¼ä¾ï¼ä»ç¤¾åå
¥ãå¤ãã£ãã
1®ããï¼åææã«ã«ã¼ããâ¯æç³ãè¾¼ãã§ããï¼",(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{className:"text-rose-500",children:"â»å¯©æ»è½ã¡ã®å ´åã¯ãå¿å½ãããå¿
ãè¨è¼ãã¦ãã ãã"})]}),(0,n.jsx)("textarea",{name:"comment",className:"min-h-[120px] rounded-2xl border border-slate-200 px-3 py-2 text-sm text-slate-600 focus:border-sky-400 focus:outline-none focus:ring-2 focus:ring-sky-200 placeholder:text-slate-300 placeholder:font-normal",placeholder:"ä¾ï¼å¯©æ»ã¯1æéã»ã©ã§æ¿èªãæµ·å¤æ
è¡ã«ããè¡ãã®ã§ã空港ã©ã¦ã³ã¸ç¹å
¸ã«é
åãæãç³ãè¾¼ã¿ã¾ãããå¾
ã¡æéãå¿«é©ã«éããã¦å¤§å¤ä¾¿å©ã§ããã",value:W,onChange:e=>H(e.target.value),maxLength:500}),(0,n.jsxs)("span",{className:"text-xs text-right ".concat(W.length<50?"text-red-500":"text-slate-400"),children:[W.length,"/500æå ",W.length<50?"(ãã¨".concat(50-W.length,"æåå¿
è¦)"):""]})]}),(0,n.jsx)("p",{className:"mt-4 text-sm font-semibold text-slate-900",children:"審æ»çµæã¡ã¼ã«"}),(0,n.jsxs)("div",{className:"mt-2 space-y-2 rounded-2xl border border-slate-200 bg-white/90 px-4 py-4 text-xs leading-relaxed text-slate-500",children:[(0,n.jsx)("p",{className:"font-semibold text-slate-900",children:"ã¢ãããã¼ãå¯è½ãªç»å"}),(0,n.jsxs)("ul",{className:"list-disc space-y-1 pl-4",children:[(0,n.jsx)("li",{children:"審æ»çµæããããã¡ã¼ã«ã®ã¹ã¯ãªã¼ã³ã·ã§ãã"}),(0,n.jsxs)("li",{children:["次ã®3ç¹ã確èªã§ããç»å",(0,n.jsxs)("ul",{className:"mt-1 list-disc pl-4 text-[11px] text-slate-400",children:[(0,n.jsx)("li",{children:"ç¾å¨ã®æå»"}),(0,n.jsx)("li",{children:"ã¡ã¼ã«ã®åä¿¡æ¥"}),(0,n.jsx)("li",{children:"該å½ãµã¼ãã¹å"})]})]})]}),(0,n.jsx)("div",{className:"mt-3 flex justify-center",children:(0,n.jsxs)("button",{type:"button",onClick:()=>el(!0),className:"group inline-flex flex-col items-center gap-2 text-center",children:[(0,n.jsx)("img",{alt:"審æ»çµæã¡ã¼ã«ã®åèç»å",className:"h-24 w-auto rounded-lg border border-slate-200 object-cover shadow-sm transition group-hover:scale-[1.03]",src:"/images/screening-sample-images/screening-evidence-sample.png"}),(0,n.jsx)("span",{className:"text-[11px] text-slate-400 transition group-hover:text-slate-500",children:"åèç»åãã¯ãªãã¯ããã¨æ¡å¤§è¡¨ç¤ºã§ãã¾ã"})]})}),eN.length>0&&(0,n.jsxs)("p",{className:"text-[11px] text-slate-400 lg:text-center",children:["審æ»çµæã¡ã¼ã«ããæ¢ãã®éã¯",(0,n.jsx)("button",{type:"button",onClick:()=>ea(!0),className:"text-sky-500 underline mx-1",children:"ãã¡ã"}),"ã®ã¡ã¼ã«ã¢ãã¬ã¹ã§æ¤ç´¢ããã¨è¦ã¤ãããããã§ãã"]})]}),(0,n.jsxs)("div",{className:"space-y-1 rounded-2xl border border-rose-200 bg-rose-50 px-4 py-3 text-[11px] text-rose-500",children:[(0,n.jsx)("p",{children:"â»å人æ
å ±ãå«ã¾ããé¨åã¯ãã¹ãã³ã°ãã¦ãã ãã"}),(0,n.jsx)("p",{children:"â»ãã¹ãã³ã°ä»¥å¤ã®å å·¥ã»åãæãã¯ãé æ
®ãã ãã"}),(0,n.jsx)("p",{children:"â»ç»åã¯æ¿èªä½æ¥ä»¥å¤ã®ç®çã§ã¯å©ç¨ãããã¾ãã"})]}),(0,n.jsx)("div",{className:"rounded-2xl border border-dashed border-slate-200 bg-white/90 p-4",children:(0,n.jsx)(f.A,{files:et,setFiles:es,label1:"ç»åãã¢ãããã¼ããã",label2:"æå¤§10ãã¡ã¤ã«ï¼å5MB以å
"})}),(0,n.jsx)("div",{className:"mt-6 flex justify-center",children:(0,n.jsx)("button",{type:"submit",disabled:Y||W.length<50,className:"inline-flex w-full items-center justify-center gap-2 rounded-full px-8 py-3 text-base font-semibold text-white shadow-lg transition sm:w-auto lg:w-auto disabled:bg-gray-400 disabled:cursor-not-allowed disabled:shadow-none disabled:hover:transform-none disabled:hover:brightness-100",style:Y||W.length<50?{}:{background:"linear-gradient(to right, #0ea5e9, #2563eb, #4f46e5)",boxShadow:"0 10px 15px -3px rgba(14, 165, 233, 0.3)"},onMouseEnter:e=>{e.currentTarget.disabled||(e.currentTarget.style.transform="translateY(1px)",e.currentTarget.style.filter="brightness(1.1)")},onMouseLeave:e=>{e.currentTarget.disabled||(e.currentTarget.style.transform="",e.currentTarget.style.filter="")},children:Y?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(p.A,{})}):"æç¨¿ãã"})}),(0,n.jsx)("div",{className:"mt-6",children:(0,n.jsx)(h.A,{})})]})})})}),er&&(0,n.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4",onClick:()=>ea(!1),children:(0,n.jsx)("div",{className:"bg-white rounded-2xl max-w-2xl max-h-[90vh] overflow-auto w-full",onClick:e=>e.stopPropagation(),children:(0,n.jsxs)("div",{className:"p-4",children:[(0,n.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,n.jsx)("h3",{className:"text-lg font-semibold",children:"審æ»çµæã¡ã¼ã«éä¿¡å
ä¸è¦§"}),(0,n.jsx)("button",{onClick:()=>ea(!1),className:"text-gray-500 hover:text-gray-700 text-2xl",children:"\xd7"})]}),(0,n.jsx)("div",{className:"space-y-3",children:eN.length>0?eN.map((e,t)=>(0,n.jsxs)("div",{className:"border-b border-gray-200 pb-2",children:[(0,n.jsx)("p",{className:"font-medium text-gray-800",children:e.name}),(0,n.jsx)("p",{className:"text-sm text-gray-600",children:e.mail})]},t)):(0,n.jsx)("div",{className:"py-4",children:(0,n.jsx)(m.A,{variant:"inline"})})})]})})}),en&&(0,n.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4",onClick:()=>el(!1),children:(0,n.jsx)("div",{className:"bg-white rounded-2xl max-w-4xl max-h-[90vh] overflow-auto",onClick:e=>e.stopPropagation(),children:(0,n.jsxs)("div",{className:"p-4",children:[(0,n.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,n.jsx)("h3",{className:"text-lg font-semibold",children:"証æç»åã®ãµã³ãã«"}),(0,n.jsx)("button",{onClick:()=>el(!1),className:"text-gray-500 hover:text-gray-700 text-2xl",children:"\xd7"})]}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("img",{src:"/images/screening-sample-images/screening-evidence-sample.png",alt:"証æç»åã®ãµã³ãã«ï¼PCçï¼",className:"max-w-full h-auto rounded border border-gray-300 hidden md:block mx-auto"}),(0,n.jsx)("img",{src:"/images/screening-sample-images/screening-evidence-sample.png",alt:"証æç»åã®ãµã³ãã«ï¼SPçï¼",className:"max-w-full h-auto rounded border border-gray-300 md:hidden mx-auto"}),(0,n.jsx)("p",{className:"text-sm text-gray-600 mt-3",children:"ãã®ãããªå¯©æ»çµæç»é¢ã®ã¹ã¯ãªã¼ã³ã·ã§ãããæ·»ä»ãã¦ãã ãã"})]})]})})}),$&&(0,n.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4",onClick:()=>ee(!1),children:(0,n.jsxs)("div",{className:"bg-white rounded-2xl max-w-md w-full mx-4 p-6 text-center",onClick:e=>e.stopPropagation(),children:[(0,n.jsxs)("div",{className:"mb-4",children:[(0,n.jsx)("div",{className:"w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,n.jsx)("svg",{className:"w-8 h-8 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M5 13l4 4L19 7"})})}),(0,n.jsx)("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:"æç¨¿ãããã¨ããããã¾ãï¼"}),(0,n.jsxs)("p",{className:"text-gray-600 mb-6",children:["ãå¾ãªæ
å ±ãè¦éããªãããã«",(0,n.jsx)("br",{}),"ããéã«ããããã©ãã¼ãã\uD83D\uDC47ï¸"]})]}),(0,n.jsx)("div",{className:"mb-6",children:(0,n.jsxs)("div",{className:"bg-blue-50 rounded-2xl p-4",children:[(0,n.jsx)("p",{className:"font-semibold text-blue-900",children:"@okanerepo"}),(0,n.jsx)("a",{href:"https://x.com/okanerepo",target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 underline text-sm",children:"https://x.com/okanerepo"})]})}),(0,n.jsx)("button",{onClick:()=>ee(!1),className:"w-full px-4 py-2 bg-gray-100 text-gray-700 rounded-2xl hover:bg-gray-200 transition-colors",children:"éãã"})]})})]})}}}]);
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.