1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2170],{10171:(e,a,t)=>{t.d(a,{A:()=>c});var r=t(37876),o=t(94208),i=t.n(o),s=t(85556),l=t(14232),n=t(88464);let d=new String(`.selectContainer.jsx-77187c38786315dc{overflow:hidden;position:relative;border:1px solid ${n.A.color.gray[60]};background:${n.A.color.gray[100]};width:100%;height:42px;flex:1}.selectContainer.jsx-77187c38786315dc::before{position:absolute;top:50%;right:12px;transform:translatey(-50%);content:" ";width:0;height:0;border-top:4px solid ${n.A.color.gray[35]};border-left:4px solid transparent;border-right:4px solid transparent;pointer-events:none;z-index:2}.selectBox.jsx-77187c38786315dc{width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;padding:8px 20px 8px 12px;font-size:1.6rem;cursor:pointer;background:${n.A.color.gray[100]};color:${n.A.color.gray[15]}}.selectBox.jsx-77187c38786315dc:disabled{background:${n.A.color.gray[80]}}.selectBox.jsx-77187c38786315dc .jsx-77187c38786315dc::-ms-expand{display:none}.selectBox.jsx-77187c38786315dc:focus{outline:none;border-color:${n.A.color.blue[35]}}.error.jsx-77187c38786315dc{border-color:${n.A.color.red[50]}}html[data-theme="dark"]{}html[data-theme="dark"] .selectContainer.jsx-77187c38786315dc{border:1px solid ${n.A.color.gray[20]};background:${n.A.color.gray[10]}}html[data-theme="dark"] .selectContainer.jsx-77187c38786315dc::before{border-top:4px solid ${n.A.color.gray[60]}}html[data-theme="dark"] .selectBox.jsx-77187c38786315dc{background:${n.A.color.gray[10]};color:${n.A.color.gray[80]}}html[data-theme="dark"] .selectBox.jsx-77187c38786315dc:disabled{background:${n.A.color.gray[20]}}html[data-theme="dark"] .selectBox.jsx-77187c38786315dc:focus{border-color:${n.A.color.blue[98]}}html[data-theme="dark"] .error.jsx-77187c38786315dc{border-color:${n.A.color.red[30]}}`);d.__hash="77187c38786315dc";let c=({items:e,innerRef:a,...t})=>{let{t:o}=(0,s.Bd)("locale");return(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)("div",{"aria-label":o("並ã³é "),className:`jsx-${d.__hash} ${t.containerClassName} selectContainer`,children:(0,r.jsxs)("select",{...t,ref:a,className:`jsx-${d.__hash} ${t.selectClassName??""} selectBox`,children:[t.placeholder&&(0,r.jsx)("option",{value:"",disabled:!0,className:`jsx-${d.__hash}`,children:t.placeholder}),e.map(({children:e,value:a,...t},o)=>(0,r.jsx)("option",{value:a,...t,className:`jsx-${d.__hash} `+(t&&null!=t.className&&t.className||""),children:e},`${o}_${a}`))]})}),(0,r.jsx)(i(),{id:d.__hash,children:d})]})}},13639:(e,a,t)=>{t.d(a,{A:()=>n});var r=t(85278),o=t(89099),i=t(85556),s=t(14232),l=t(31418);let n=function(e){let a=(0,o.useRouter)(),{t}=(0,i.Bd)(),[n,d]=(0,r.fp)(l.TN),c=e||t("å
¥åä¸ã®å
容ãä¿åããã¾ãããããã®ãã¼ã¸ãé¢ãã¾ããï¼");(0,s.useEffect)(()=>{let e=e=>{let t=new URL(e,window.location.origin);if(!("/workspace"===a.pathname&&"/workspace"===t.pathname&&t.searchParams.has("historyId"))){if(!n)return!0;if(!confirm(c))throw a.events.emit("routeChangeError"),"routeChange aborted.";d(!1)}};return a.events.on("beforeHistoryChange",e),()=>{a.events.off("beforeHistoryChange",e)}},[a.events,n,c,d]),(0,s.useEffect)(()=>{let e=e=>{if(n)return e.returnValue=c,c};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}},[c,n])}},33335:(e,a,t)=>{t.d(a,{te:()=>k,xv:()=>$});var r=t(37876),o=t(14232);let{min:i,max:s}=Math,l="current",n=(0,r.jsx)("span",{style:{color:"transparent"},children:"â"}),d=["direction","padding","paddingTop","paddingBottom","paddingLeft","paddingRight","margin","marginTop","marginBottom","marginLeft","marginRight","border","borderWidth","borderTopWidth","borderBottomWidth","borderLeftWidth","borderRightWidth","borderStyle","borderTopStyle","borderBottomStyle","borderLeftStyle","borderRightStyle","fontSize","fontFamily","fontStyle","fontVariant","fontWeight","fontStretch","fontSizeAdjust","textAlign","textTransform","textIndent","letterSpacing","wordSpacing","lineHeight","whiteSpace","wordBreak","overflowWrap","tabSize","MozTabSize"],c=(e,a,t)=>{e.setProperty(a,t)},x=(e,a)=>{let t=e.getPropertyValue(a);return t?parseInt(t,10):0},h=e=>"string"==typeof e&&e.endsWith("%"),p=(e,a,t)=>{let r="pointer-events",o=e.style,i=a.style,s=o.getPropertyValue(r),l=i.getPropertyValue(r);c(o,r,"none"),c(i,r,"auto");let n=document.elementFromPoint(t.clientX,t.clientY);return c(o,r,s),c(i,r,l),f(n,a)?n:null},f=(e,a)=>!!e&&a!==e&&a.contains(e),m=(e,a,t)=>{e.dispatchEvent(new MouseEvent(a,t))},b=(e,a)=>{m(e,a.type,a)},g=(e,a)=>{e&&m(e,"mouseout",a)},u=e=>{e.stopPropagation()},j=(e,a,t)=>(e.addEventListener(a,t),()=>{e.removeEventListener(a,t)}),_="u">typeof window?o.useLayoutEffect:o.useEffect,A=(0,o.memo)(({u:e,p:a,h:t,v:i})=>{let[s,l]=(0,o.useState)("");return(0,o.useImperativeHandle)(a,()=>l,[]),(0,r.jsxs)("div",{ref:e,"aria-hidden":!0,style:(0,o.useMemo)(()=>({width:i,transform:"translate(0px, 0px)",pointerEvents:"none",userSelect:"none",msUserSelect:"none",WebkitUserSelect:"none",boxSizing:"content-box",textSizeAdjust:"100%",WebkitTextSizeAdjust:"100%",MozTextSizeAdjust:"100%"}),[i]),onClick:u,onMouseDown:u,onMouseUp:u,onMouseOver:u,onMouseOut:u,onMouseMove:u,children:[(0,o.useMemo)(()=>t?t(s):s,[s,t]),n]})}),k=(0,o.forwardRef)(({children:e,autoHeight:a,style:t,onChange:n,onKeyDown:c,onSelectionChange:f,...u},k)=>{var $;let y,v=(0,o.useRef)(null),w=(0,o.useRef)(null),N=(0,o.useRef)(null),[[C,z,I,S],E]=(0,o.useState)([0,0,0,0]),[T,F]=(0,o.useState)(!1),D=(0,o.useRef)(""),[[B,R],M]=(0,o.useState)([null,null]),L=($=()=>{let e,a,t;return a=[null,null],t={t(){setTimeout(()=>{let e,r;M((e=t.o(),r=t.i(),a[0]===e&&a[1]===r||(a=[e,r]),a))})},l(a){e=a},o(){let a=v[l];
1if(!a)return 0;let t=a.selectionStart;return e?i(t,a.selectionEnd-e.data.length):t},i(){let a=v[l];if(!a)return 0;let t=a.selectionEnd;return e?i(t,a.selectionStart+e.data.length):t}}},(y=(0,o.useRef)(void 0))[l]||(y[l]=$())),P=C+I,H=z+S,O=!!(P+H);return(0,o.useImperativeHandle)(k,()=>{let e=v[l],a={get selectionStart(){return L.o()},get selectionEnd(){return L.i()},setRangeText(a,t,r,o){e.setRangeText?e.setRangeText(a,t,r,o):(e.focus(),e.selectionStart=t,e.selectionEnd=r,document.execCommand("insertText",!1,a)),e.dispatchEvent(new Event("input",{bubbles:!0}))}};return new Proxy(e,{get(e,t){if(a[t])return a[t];let r=e[t];return"function"==typeof r?r.bind(e):r},set:(e,a,t)=>(e[a]=t,!0)})},[]),_(()=>{let e=v[l],a=w[l];if(e&&a){let t,r,o,i,s,l,n,d,c,h,f,u,_,A;return t=null,r=new ResizeObserver(([a])=>{let{contentRect:{width:t,height:r},borderBoxSize:o}=a;if(o&&o[0])return void E([t,r,o[0].inlineSize-t,o[0].blockSize-r]);let i=getComputedStyle(e);E([t,r,x(i,"padding-left")+x(i,"padding-right")+x(i,"border-left")+x(i,"border-right"),x(i,"padding-top")+x(i,"padding-bottom")+x(i,"border-top")+x(i,"border-bottom")])}),o=j(e,"focus",()=>{F(!0)}),i=j(e,"blur",()=>{F(!1)}),s=j(e,"scroll",()=>{let{scrollTop:t,scrollLeft:r}=e;a.style.transform=`translate(${-r}px, ${-t}px)`}),l=j(e,"mousedown",t=>{L.t();let r=j(document,"mouseup",()=>{L.t(),r()}),o=p(e,a,t);o&&b(o,t)}),n=j(e,"mouseup",t=>{let r=p(e,a,t);r&&b(r,t)}),d=j(e,"mousemove",r=>{var o;let i=p(e,a,r);o=t,i&&b(i,r),o!==i&&(g(o,r),i&&m(i,"mouseover",r)),t=i}),c=j(e,"mouseleave",e=>{g(t,e),t=null}),h=j(e,"click",t=>{let r=p(e,a,t);r&&b(r,t)}),f=j(e,"input",()=>{L.t()}),u=j(e,"compositionstart",e=>{L.l(e)}),_=j(e,"compositionupdate",e=>{L.l(e)}),A=j(e,"compositionend",()=>{L.l()}),r.observe(e),()=>{o(),i(),s(),l(),n(),d(),c(),h(),f(),u(),_(),A(),r.disconnect()}}},[]),_(()=>{let e=v[l];e&&N[l](e.value)},[u.value]),_(()=>{let e=v[l],a=w[l];a&&e&&((e,a,t,r)=>{let o=getComputedStyle(e),i=e.style,s=a.style;t[l]||(t[l]=o.getPropertyValue("color")),d.forEach(e=>{s[e]=o[e]}),i.color=s.borderColor="transparent",i.caretColor=(null==r?void 0:r.caretColor)||t[l]})(e,a,D,t)},[t]),(0,o.useEffect)(()=>{if(null!=B&&null!=R&&f)if(T){let e=(function(e,a,t,r){var o=e.ownerDocument;r||(r=o.createRange());let i,l,n=o.createNodeIterator(e,NodeFilter.SHOW_TEXT,null,!1),d={},c={};for(;i=n.nextNode();)l=i.nodeValue.length,!d.node&&l>a&&(d.node=i,d.offset=a),!c.node&&l>=t&&(c.node=i,c.offset=t),a-=l,t-=l;return d.node&&r.setStart(d.node,s(d.offset,0)),c.node&&r.setEnd(c.node,s(c.offset,0)),r})(w[l],B,B+1).getBoundingClientRect();f({focused:!0,top:e.top,left:e.left,height:e.height,selectionStart:B,selectionEnd:R})}else f({focused:!1,selectionStart:B,selectionEnd:R})},[T,B,R]),(0,o.useEffect)(()=>{let e=v[l];a&&e&&(e.style.height="auto",e.style.height=e.scrollHeight+"px")}),(0,r.jsxs)("div",{style:(0,o.useMemo)(()=>{let e=P,a=H;return t&&(h(t.width)&&(e=t.width),h(t.height)&&(a=t.height)),{display:"inline-block",position:"relative",width:e,height:a}},[P,H,t]),children:[(0,r.jsx)("div",{style:(0,o.useMemo)(()=>{let e={position:"absolute",overflow:"hidden",top:0,left:0,width:P,height:H};return t&&["background","backgroundColor"].forEach(a=>{t[a]&&(e[a]=t[a])}),e},[P,H,t]),children:(0,r.jsx)(A,{u:w,p:N,h:e,v:C})}),(0,r.jsx)("textarea",{...u,ref:v,style:(0,o.useMemo)(()=>({...t,background:"transparent",margin:0,position:"absolute",...!O&&{position:void 0,verticalAlign:"top"}}),[t,O]),onChange:(0,o.useCallback)(e=>{var a;null==(a=N[l])||a.call(N,e.target.value),null==n||n(e)},[n]),onKeyDown:(0,o.useCallback)(e=>{e.nativeEvent.isComposing||229===e.nativeEvent.keyCode||(null==c||c(e),L.t())},[c])})]})}),$=e=>{let a=e.map(([,e])=>e);return t=>{var o;let[i,s,l]=e.reduce((e,[a,r,o])=>(((e,a,t)=>{let r=[],o=null;for(;o=e.exec(a);)t&&!t(a,o)||r.push(o);return r})(a,t,o).forEach(a=>{let t=a.index,o=a.index+a[0].length;e[0].add(t).add(o);let i=e[1].get(t),s=e[2].get(o);i||e[1].set(t,i=[]),s||e[2].set(o,s=[]),i.push(r),s.push(r)}),e),[new Set,new Map,new Map]),n=Array.from(i);n.sort((e,a)=>e-a);let d=0,c=[],x=[];for(let e=0;e<n.length;e++){let i=n[e],h=null!=(o=n[e+1])?o:t.length;if(i===h)continue;let p=t.slice(d,i);p&&x.push(p);let f=s.get(i),m=l.get(h);
1f&&(f.forEach(e=>{c.push(e)}),c.sort((e,t)=>a.indexOf(t)-a.indexOf(e)));let b=t.slice(i,h);x.push(c.reduceRight((e,a,t)=>{let o=0===t?i+"":void 0;return"function"==typeof a?a({children:e,value:b,key:o}):(0,r.jsx)("span",{style:a,children:e},o)},b)),m&&m.forEach(e=>{c.splice(c.indexOf(e),1)}),d=h}let h=t.slice(d);return h&&x.push(h),x}}},37821:(e,a,t)=>{t.d(a,{A:()=>m,$:()=>f});var r=t(37876),o=t(94208),i=t.n(o),s=t(85556),l=t(14232),n=t(33335),d=t(88419),c=t(78309),x=t(88464);let h=new String(`label.jsx-6bef97e5f4fb097e{font-size:1.3rem;line-height:1;color:${x.A.color.gray[15]}}.c-Note.jsx-6bef97e5f4fb097e,.c-ExtraNote.jsx-6bef97e5f4fb097e{margin-top:4px;font-size:1.2rem;color:${x.A.color.gray[35]}}.c-Required.jsx-6bef97e5f4fb097e{font-size:1.2rem;color:${x.A.color.red[50]}}.c-Condition.jsx-6bef97e5f4fb097e{font-size:1.2rem;color:${x.A.color.gray[35]};white-space:pre-wrap}.c-Input.jsx-6bef97e5f4fb097e{position:relative}.c-Count.jsx-6bef97e5f4fb097e{position:absolute;top:-18px;right:0}.c-ErrorText.jsx-6bef97e5f4fb097e{font-size:1.2rem;line-height:1.4;color:${x.A.color.red[50]};margin-top:8px}.flexbox.jsx-6bef97e5f4fb097e{margin-top:4px;width:100%;display:flex}.preunit.jsx-6bef97e5f4fb097e{display:inline-block;white-space:nowrap;padding-right:8px}.unit.jsx-6bef97e5f4fb097e{display:inline-block;padding-left:8px}.password-input.jsx-6bef97e5f4fb097e{position:relative;width:100%}.eye.jsx-6bef97e5f4fb097e{width:36px;position:absolute;right:-16px;top:50%;transform:translate(-50%,-50%);padding:10px 8px;text-align:center;cursor:pointer}.TextArea.jsx-6bef97e5f4fb097e{width:100%}.TextArea.jsx-6bef97e5f4fb097e div{width:100%;background:${x.A.color.gray[100]}}.TextArea.jsx-6bef97e5f4fb097e textarea{display:block;-webkit-appearance:none;resize:none;font-size:1.6rem;border:1px solid ${x.A.color.gray[60]};background:${x.A.color.gray[100]};padding:8px 12px;width:100%;overflow-y:hidden;color:${x.A.color.gray[15]}}.TextArea.jsx-6bef97e5f4fb097e .error{border-color:${x.A.color.red[50]}}.TextArea.jsx-6bef97e5f4fb097e textarea:focus{outline:none;border-color:${x.A.color.gray[20]}}textarea.jsx-6bef97e5f4fb097e textarea::placeholder{font-size:1.6rem;color:${x.A.color.gray[35]}}`);h.__hash="6bef97e5f4fb097e";let p=new String(`label.jsx-c5e4894faa9f8711{font-size:1.3rem;line-height:1;color:${x.A.color.gray[15]}}.c-Note.jsx-c5e4894faa9f8711,.c-ExtraNote.jsx-c5e4894faa9f8711{margin-top:4px;font-size:1.2rem;color:${x.A.color.gray[35]}}.c-Required.jsx-c5e4894faa9f8711{font-size:1.2rem;color:${x.A.color.red[50]}}.c-Condition.jsx-c5e4894faa9f8711{font-size:1.2rem;color:${x.A.color.gray[35]};white-space:pre-wrap}.c-Input.jsx-c5e4894faa9f8711{position:relative}.c-Count.jsx-c5e4894faa9f8711{position:absolute;top:-18px;right:0}.c-ErrorText.jsx-c5e4894faa9f8711{font-size:1.2rem;line-height:1.4;color:${x.A.color.red[50]};margin-top:8px}.flexbox.jsx-c5e4894faa9f8711{margin-top:4px;width:100%;display:flex}.preunit.jsx-c5e4894faa9f8711{display:inline-block;white-space:nowrap;padding-right:8px}.unit.jsx-c5e4894faa9f8711{display:inline-block;padding-left:8px}.jsx-c5e4894faa9f8711::placeholder{font-size:1.3rem}.password-input.jsx-c5e4894faa9f8711{position:relative;width:100%}.eye.jsx-c5e4894faa9f8711{width:36px;position:absolute;right:-16px;top:50%;transform:translate(-50%,-50%);padding:10px 8px;text-align:center}.TextArea.jsx-c5e4894faa9f8711{width:100%}.TextArea.jsx-c5e4894faa9f8711 div{width:100%;background:${x.A.color.gray[100]}}.TextArea.jsx-c5e4894faa9f8711 textarea{display:block;-webkit-appearance:none;resize:none;font-size:1.6rem;border:1px solid ${x.A.color.gray[60]};background:${x.A.color.gray[100]};padding:8px 12px;width:100%;overflow-y:hidden;color:${x.A.color.gray[15]}}.TextArea.jsx-c5e4894faa9f8711 .error{border-color:${x.A.color.red[50]}}.TextArea.jsx-c5e4894faa9f8711 textarea:focus{outline:none;border-color:${x.A.color.gray[20]}}textarea.jsx-c5e4894faa9f8711 textarea::placeholder{font-size:1.6rem;color:${x.A.color.gray[35]}}`);p.__hash="c5e4894faa9f8711";let f=(0,n.xv)([[/(^|\s)#[a-zA-Z0-9_\u3040-\u309F\u30A0-\u30FF\u4E00-\u9FFF]+(?=$|\s)/g,{borderRadius:"3px",color:x.A.color.blue[50]}]]),m=(0,l.forwardRef)(({labelProps:e,required:a,condition:t,note:o,caution:x,extraNote:f,unit:m,preUnit:b,maxChar:g,curChar:u,value:j,onChange:_,onFocus:A,onBlur:k,onKeyDown:$,error:y,flex:v,maxHeight:w,minHeight:N,children:C,renderer:z},I)=>{let{t:S}=(0,s.Bd)("locale"),E=(0,d.A)(h,p),[T,F]=(0,l.useState)(null);(0,l.useEffect)(()=>{(async()=>{y&&"string"!=typeof y?F(await y):F(y)})()},[y,F]);let D=(0,l.useRef)(null);return(0,l.useImperativeHandle)(I,()=>D.current),(0,l.useEffect)(()=>{D.current&&(D.current.selectionStart=D.current.selectionEnd=j?j.length:0,D.current.scrollTop=D.current.scrollHeight)},[]),(0,l.useEffect)(()=>{let e=D.current;if(e)return e.addEventListener("input",a),()=>{e.removeEventListener("input",a)};function a(){e&&v&&(e.style.height="auto",!w||e.scrollHeight<w?(e.style.height="auto",e.style.height=`${e.scrollHeight}px`):(e.style.height=`${w}px`,e.style.overflowY="scroll"))}},[v,w]),(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)("div",{className:`jsx-${E.__hash}`,children:[(0,r.jsx)("label",{...e,className:`jsx-${E.__hash} `+(e&&null!=e.className&&e.className||""),children:C}),a&&(0,r.jsx)("span",{className:`jsx-${E.__hash} c-Required`,children:S("å¿
é ")}),t&&(0,r.jsx)("div",{className:`jsx-${E.__hash} c-Condition`,children:t}),f&&(0,r.jsx)("div",{className:`jsx-${E.__hash} c-ExtraNote`,children:f}),o&&(0,r.jsx)("div",{className:`jsx-${E.__hash} c-Note`,children:o}),x&&(0,r.jsx)("div",{className:`jsx-${E.__hash} c-Caution`,children:x})]}),(0,r.jsxs)("div",{className:`jsx-${E.__hash} c-Input`,children:[(0,r.jsx)("div",{className:`jsx-${E.__hash} c-Count`,children:(0,r.jsx)(c.A,{maxChar:g,curChar:u})}),(0,r.jsx)("div",{className:`jsx-${E.__hash} flexbox`,children:(0,r.jsxs)("div",{className:`jsx-${E.__hash} TextArea`,children:[b&&(0,r.jsx)("span",{className:`jsx-${E.__hash} preunit`,children:b}),(0,r.jsx)(n.te,{value:j??"",onChange:_,onFocus:A,onBlur:k,onKeyDown:$,ref:D,style:{width:"100%",minHeight:`${N}px`},spellCheck:!1,className:`${T?"error":""}`,children:z}),m&&(0,r.jsx)("span",{className:`jsx-${E.__hash} unit`,children:m})]})})]}),T&&(0,r.jsx)("div",{className:`jsx-${E.__hash} c-ErrorText`,children:S(T)}),(0,r.jsx)(i(),{id:E.__hash,children:E})]})})},47795:(e,a,t)=>{t.d(a,{A:()=>c});var r=t(37876),o=t(94208),i=t.n(o),s=t(14232),l=t(97015),n=t(82912);let d=new String(`.loading-container.jsx-2598838dac78150f{position:fixed;inset:0;display:flex;justify-content:center;align-items:flex-start;padding-top:calc(50dvh - 60px);background-color:${n.A.ui.queryLoadingBg};z-index:1000}`);d.__hash="2598838dac78150f";let c=({queryLoading:e,size:a=120,children:t})=>(0,r.jsxs)(s.Fragment,{children:[e?(0,r.jsx)("div",{className:`jsx-${d.__hash} loading-container`,children:(0,r.jsx)(l.A,{size:a})}):(0,r.jsx)(s.Fragment,{children:t}),(0,r.jsx)(i(),{id:d.__hash,children:d})]})},56250:(e,a,t)=>{t.d(a,{A:()=>b});var r=t(37876),o=t(94208),i=t.n(o),s=t(85556),l=t(14232),n=t(88419),d=t(78309),c=t(27828),x=t(27395);let h=({isRevealPassword:e})=>(0,r.jsx)(l.Fragment,{children:e?(0,r.jsx)(x.A,{name:"ActionEyesOpen",width:20}):(0,r.jsx)(x.A,{name:"ActionEyesClose",width:20})});var p=t(88464);let f=new String(`label.jsx-3e870fc93fe5506{font-size:1.3rem;line-height:1;color:${p.A.color.gray[15]}}.c-Note.jsx-3e870fc93fe5506,.c-ExtraNote.jsx-3e870fc93fe5506{margin-top:4px;font-size:1.2rem;color:${p.A.color.gray[35]}}.c-Required.jsx-3e870fc93fe5506{font-size:1.2rem;color:${p.A.color.red[50]}}.c-Condition.jsx-3e870fc93fe5506{font-size:1.2rem;color:${p.A.color.gray[35]};white-space:pre-wrap}.c-Caution.jsx-3e870fc93fe5506{margin-top:12px;font-size:1.4rem;color:${p.A.color.gray[10]}}.c-Input.jsx-3e870fc93fe5506{position:relative}.c-Count.jsx-3e870fc93fe5506{position:absolute;top:-18px;right:0}.c-ErrorText.jsx-3e870fc93fe5506{font-size:1.2rem;line-height:1.4;color:${p.A.color.red[50]};margin-top:8px}.flexbox.jsx-3e870fc93fe5506{margin-top:4px;width:100%;display:flex}.preunit.jsx-3e870fc93fe5506{display:inline-block;white-space:nowrap;padding-right:8px}.unit.jsx-3e870fc93fe5506{display:inline-block;padding-left:8px}.password-input.jsx-3e870fc93fe5506{position:relative;width:100%}.eye.jsx-3e870fc93fe5506{width:36px;position:absolute;right:-16px;top:50%;transform:translate(-50%,-50%);padding:10px 8px;text-align:center;cursor:pointer;height:41px}`);f.__hash="3e870fc93fe5506";let m=new String(`label.jsx-9a2daa0131e518d4{font-size:1.3rem;line-height:1;color:${p.A.color.gray[15]}}.c-Note.jsx-9a2daa0131e518d4,.c-ExtraNote.jsx-9a2daa0131e518d4{margin-top:4px;font-size:1.2rem;color:${p.A.color.gray[35]}}.c-Required.jsx-9a2daa0131e518d4{font-size:1.2rem;color:${p.A.color.red[50]}}.c-Condition.jsx-9a2daa0131e518d4{font-size:1.2rem;color:${p.A.color.gray[35]};white-space:pre-wrap}.c-Input.jsx-9a2daa0131e518d4{position:relative}.c-Count.jsx-9a2daa0131e518d4{position:absolute;top:-18px;right:0}.c-ErrorText.jsx-9a2daa0131e518d4{font-size:1.2rem;line-height:1.4;color:${p.A.color.red[50]};margin-top:8px}.flexbox.jsx-9a2daa0131e518d4{margin-top:4px;width:100%;display:flex}.preunit.jsx-9a2daa0131e518d4{display:inline-block;white-space:nowrap;padding-right:8px}.unit.jsx-9a2daa0131e518d4{display:inline-block;padding-left:8px}.jsx-9a2daa0131e518d4::placeholder{font-size:1.3rem}.password-input.jsx-9a2daa0131e518d4{position:relative;width:100%}.eye.jsx-9a2daa0131e518d4{width:36px;position:absolute;right:-16px;top:50%;transform:translate(-50%,-50%);padding:10px 8px;text-align:center;height:41px}`);m.__hash="9a2daa0131e518d4";let b=({labelProps:e,inputProps:a,required:t,condition:o,note:x,caution:p,extraNote:b,unit:g,preUnit:u,maxChar:j,
1curChar:_,error:A,children:k})=>{let{t:$}=(0,s.Bd)("locale"),y=(0,n.A)(f,m),[v,w]=(0,l.useState)(null),[N,C]=(0,l.useState)(!1),{type:z,...I}=a;return(0,l.useEffect)(()=>{(async()=>{A&&"string"!=typeof A?w(await A):w(A)})()},[A,w]),(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)("div",{className:`jsx-${y.__hash}`,children:[(0,r.jsx)("label",{...e,className:`jsx-${y.__hash} `+(e&&null!=e.className&&e.className||""),children:k}),t&&(0,r.jsx)("span",{className:`jsx-${y.__hash} c-Required`,children:$("å¿
é ")}),o&&(0,r.jsx)("div",{className:`jsx-${y.__hash} c-Condition`,children:o}),b&&(0,r.jsx)("div",{className:`jsx-${y.__hash} c-ExtraNote`,children:b}),x&&(0,r.jsx)("div",{className:`jsx-${y.__hash} c-Note`,children:x}),p&&(0,r.jsx)("div",{className:`jsx-${y.__hash} c-Caution`,children:p})]}),(0,r.jsxs)("div",{className:`jsx-${y.__hash} c-Input`,children:[(0,r.jsx)("div",{className:`jsx-${y.__hash} c-Count`,children:(0,r.jsx)(d.A,{maxChar:j,curChar:_})}),(0,r.jsxs)("div",{className:`jsx-${y.__hash} c-InputWrap`,children:[u&&(0,r.jsx)("span",{className:`jsx-${y.__hash} preunit`,children:u}),"password"===a.type?(0,r.jsx)(l.Fragment,{children:(0,r.jsxs)("div",{className:`jsx-${y.__hash} password-input`,children:[(0,r.jsx)(c.A,{className:v?"error password":"password",type:N?"text":"password",...I}),(0,r.jsx)("div",{role:"presentation",onClick:()=>{C(e=>!e)},className:`jsx-${y.__hash} eye`,children:(0,r.jsx)(h,{isRevealPassword:N})})]})}):(0,r.jsx)(c.A,{className:v?"error":"",type:z,...I}),g&&(0,r.jsx)("span",{className:`jsx-${y.__hash} unit`,children:g})]})]}),v&&(0,r.jsx)("div",{className:`jsx-${y.__hash} c-ErrorText`,children:$(v)}),(0,r.jsx)(i(),{id:y.__hash,children:y})]})}},66192:(e,a,t)=>{t.d(a,{A:()=>p});var r=t(37876),o=t(94208),i=t.n(o),s=t(48230),l=t.n(s),n=t(14232),d=t(88419),c=t(88464);let x=new String(`.p-Tab--link.jsx-29c0ffea5fccaeb0{display:flex;border-bottom:4px solid ${c.A.color.gray[80]};align-items:flex-end;font-weight:600;color:${c.A.color.gray[15]};width:100%;margin:0 auto}.p-Tab--link.jsx-29c0ffea5fccaeb0 li.jsx-29c0ffea5fccaeb0{width:100%}.p-Tab--link.jsx-29c0ffea5fccaeb0 .tab.jsx-29c0ffea5fccaeb0>a{display:block;font-size:1.4rem;position:relative;text-align:center;padding:8px 12px;width:100%;color:${c.A.color.gray[20]}}.p-Tab--link.jsx-29c0ffea5fccaeb0 .tab.jsx-29c0ffea5fccaeb0>a:hover{background:${c.A.color.gray[98]};color:${c.A.color.gray[20]}}.p-Tab--link.jsx-29c0ffea5fccaeb0 .active.jsx-29c0ffea5fccaeb0{color:${c.A.color.gray[20]}}.p-Tab--link.jsx-29c0ffea5fccaeb0 .active.jsx-29c0ffea5fccaeb0>a:hover{background:initial}.p-Tab--link.jsx-29c0ffea5fccaeb0 .active.jsx-29c0ffea5fccaeb0>a:before{position:absolute;left:50%;bottom:-4px;z-index:1;display:block;width:100%;height:4px;content:"";transform:translatex(-50%);background-color:${c.A.color.gray[20]}}.p-Tab--selector.jsx-29c0ffea5fccaeb0{display:flex;border-bottom:4px solid ${c.A.color.gray[80]};align-items:flex-end;font-weight:600;color:${c.A.color.gray[15]};width:100%;margin:0 auto}.p-Tab--selector.jsx-29c0ffea5fccaeb0 .tab.jsx-29c0ffea5fccaeb0{font-size:1.4rem;position:relative;text-align:center;padding:8px 12px;cursor:pointer;width:100%;color:${c.A.color.gray[20]}}.p-Tab--selector.jsx-29c0ffea5fccaeb0 .tab.jsx-29c0ffea5fccaeb0:hover{background:${c.A.color.gray[98]};color:${c.A.color.gray[20]}}.p-Tab--selector.jsx-29c0ffea5fccaeb0 .active.jsx-29c0ffea5fccaeb0{color:${c.A.color.gray[20]}}.p-Tab--selector.jsx-29c0ffea5fccaeb0 .active.jsx-29c0ffea5fccaeb0:hover{background:initial;color:initial}.p-Tab--selector.jsx-29c0ffea5fccaeb0 .active.jsx-29c0ffea5fccaeb0::before{position:absolute;left:50%;bottom:-4px;z-index:1;display:block;width:100%;height:4px;content:"";transform:translatex(-50%);background-color:${c.A.color.gray[20]}}`);x.__hash="29c0ffea5fccaeb0";let h=new String(`.p-Tab--link.jsx-4d2c6d306afb215e{display:flex;border-bottom:4px solid ${c.A.color.gray[80]};align-items:flex-end;font-weight:600;color:${c.A.color.gray[15]};width:100%;margin:0 auto}.p-Tab--link.jsx-4d2c6d306afb215e li.jsx-4d2c6d306afb215e{width:100%}.p-Tab--link.jsx-4d2c6d306afb215e .tab.jsx-4d2c6d306afb215e>a{display:block;font-size:1.4rem;position:relative;text-align:center;padding:8px 12px;width:100%;color:${c.A.color.gray[20]}}.p-Tab--link.jsx-4d2c6d306afb215e .tab.jsx-4d2c6d306afb215e>a:hover{background:${c.A.color.gray[98]};color:${c.A.color.gray[20]}}.p-Tab--link.jsx-4d2c6d306afb215e .active{color:${c.A.color.gray[20]}}.p-Tab--link.jsx-4d2c6d306afb215e .active.jsx-4d2c6d306afb215e>a:hover{background:initial}.p-Tab--link.jsx-4d2c6d306afb215e .active.jsx-4d2c6d306afb215e>a::before{position:absolute;
1left:50%;bottom:-4px;z-index:1;display:block;width:100%;height:4px;content:"";transform:translatex(-50%);background-color:${c.A.color.gray[20]}}.p-Tab--selector.jsx-4d2c6d306afb215e{display:flex;border-bottom:4px solid ${c.A.color.gray[80]};align-items:flex-end;font-weight:600;color:${c.A.color.gray[15]};width:100%;margin:0 auto}.p-Tab--selector.jsx-4d2c6d306afb215e .tab.jsx-4d2c6d306afb215e{font-size:1.4rem;position:relative;text-align:center;padding:8px 12px;cursor:pointer;width:100%;color:${c.A.color.gray[20]}}.p-Tab--selector.jsx-4d2c6d306afb215e .tab.jsx-4d2c6d306afb215e:hover{background:${c.A.color.gray[98]};color:${c.A.color.gray[20]}}.p-Tab--selector.jsx-4d2c6d306afb215e .active.jsx-4d2c6d306afb215e{color:${c.A.color.gray[20]}}.p-Tab--selector.jsx-4d2c6d306afb215e .active.jsx-4d2c6d306afb215e:hover{background:initial}.p-Tab--selector.jsx-4d2c6d306afb215e .active.jsx-4d2c6d306afb215e::before{position:absolute;left:50%;bottom:-4px;z-index:1;display:block;width:100%;height:4px;content:"";transform:translatex(-50%);background-color:${c.A.color.gray[20]}}`);h.__hash="4d2c6d306afb215e";let p=({tabs:e,tabActive:a,className:t,onClick:o})=>{let s=(0,d.A)(x,h);return(0,r.jsxs)(n.Fragment,{children:[(0,r.jsx)("ul",{className:`jsx-${s.__hash} ${t||""}`,children:e.map((e,t)=>(0,r.jsxs)("li",{onClick:()=>{o&&o(e.value)},tabIndex:e.href?void 0:0,className:`jsx-${s.__hash} `+((e.value===a?"tab active":"tab")||""),children:[e.href&&(0,r.jsxs)(l(),{href:e.href,children:[e.iconClass&&(0,r.jsx)("div",{className:`jsx-${s.__hash} `+(e.iconClass||"")}),e.name]}),!e.href&&e.iconClass&&(0,r.jsx)("div",{className:`jsx-${s.__hash} `+(e.iconClass||"")}),!e.href&&e.name]},t))}),(0,r.jsx)(i(),{id:s.__hash,children:s})]})}},66465:(e,a,t)=>{t.d(a,{A:()=>u,b:()=>g});var r=t(37876),o=t(75776),i=t(63911),s=t(94208),l=t.n(s),n=t(14232),d=t(87225),c=t(88464);let x=new String(`.f-SideFrame.jsx-4d55e3a74bde518{max-width:1280px;
1display:flex;align-items:flex-start;margin:53px auto 64px auto;padding:0 20px}.f-SideFrame__side.jsx-4d55e3a74bde518{min-width:200px}.f-SideFrame__side.jsx-4d55e3a74bde518 ul.jsx-4d55e3a74bde518{margin-right:40px}.f-SideFrame__side.jsx-4d55e3a74bde518 li.jsx-4d55e3a74bde518{position:relative;padding:4px 0 4px 20px;margin:8px 0}.f-SideFrame__side.jsx-4d55e3a74bde518 li.jsx-4d55e3a74bde518::before{content:"";width:8px;height:8px;border-top:solid 2px ${c.A.color.gray[20]};border-right:solid 2px ${c.A.color.gray[20]};position:absolute;left:5px;top:10px;transform:rotate(45deg)}.f-SideFrame__side.jsx-4d55e3a74bde518 li.jsx-4d55e3a74bde518::before{color:${c.A.color.gray[60]}}.f-SideFrame__main.jsx-4d55e3a74bde518{flex:1 0 0%;max-width:769px;width:100%;padding:0 20px}.f-BreadcrumbList.jsx-4d55e3a74bde518{width:100%;max-width:1e3px;padding:20px;margin:12px auto}.c-ErrorBox.jsx-4d55e3a74bde518{width:100%;margin:20px auto}.f-Content.jsx-4d55e3a74bde518{margin:0 auto}@media(max-width:768px){.f-SideFrame.jsx-4d55e3a74bde518{margin:24px auto 64px auto;padding:0 6%}}@media(max-width:959px){.f-SideFrame.jsx-4d55e3a74bde518{flex-direction:column}.f-SideFrame__side.jsx-4d55e3a74bde518 ul.jsx-4d55e3a74bde518{display:flex;margin-bottom:32px}.f-SideFrame__side.jsx-4d55e3a74bde518 li.jsx-4d55e3a74bde518{padding-right:32px}}`);x.__hash="4d55e3a74bde518";var h=t(15414),p=t(47795);let f=({queryLoading:e=!1,mutationLoading:a=!1,children:t,menuItems:o})=>(0,r.jsxs)(n.Fragment,{children:[(0,r.jsx)(p.A,{queryLoading:e}),(0,r.jsx)(h.A,{mutationLoading:a}),(0,r.jsxs)("div",{className:`jsx-${x.__hash} f-SideFrame`,children:[(0,r.jsx)("div",{className:`jsx-${x.__hash} f-SideFrame__side`,children:(0,r.jsx)("ul",{className:`jsx-${x.__hash}`,children:o.map(e=>(0,r.jsx)("li",{className:`jsx-${x.__hash}`,children:(0,r.jsx)(d.A,{className:"color-main",href:e.path,children:e.title})},e.path))})}),(0,r.jsxs)("div",{className:`jsx-${x.__hash} f-SideFrame__main`,children:[Array.isArray(t)&&t.length>1&&(0,r.jsx)(n.Fragment,{children:t[0]}),Array.isArray(t)&&t.length>1&&(0,r.jsx)(n.Fragment,{children:t[1]})]})]}),(0,r.jsx)(l(),{id:x.__hash,children:x})]}),m=new String(`.f-SideFrame.jsx-98f7efa7cb44a5d{margin:53px auto 64px auto;padding:0 6%}.f-SideFrame__side.jsx-98f7efa7cb44a5d{margin-top:40px}.f-SideFrame__side.jsx-98f7efa7cb44a5d ul.jsx-98f7efa7cb44a5d{border:6px solid ${c.A.color.gray[90]};padding:8px 24px;display:flex;flex-wrap:wrap}.f-SideFrame__side.jsx-98f7efa7cb44a5d li.jsx-98f7efa7cb44a5d{position:relative;padding:4px 0 4px 20px;margin:4px 16px 4px 0}.f-SideFrame__side.jsx-98f7efa7cb44a5d li.jsx-98f7efa7cb44a5d::before{content:"";width:8px;height:8px;border-top:solid 2px ${c.A.color.gray[20]};border-right:solid 2px ${c.A.color.gray[20]};position:absolute;left:5px;top:10px;transform:rotate(45deg)}.f-SideFrame__side.jsx-98f7efa7cb44a5d li.jsx-98f7efa7cb44a5d::before{color:${c.A.color.gray[60]}}.f-SideFrame__main.jsx-98f7efa7cb44a5d{flex:1 0 0%;max-width:700px}.f-BreadcrumbList.jsx-98f7efa7cb44a5d{width:100%;margin:12px auto;padding:0 6%}.f-Template.jsx-98f7efa7cb44a5d{width:100%;margin:0px auto 48px}.c-ErrorBox.jsx-98f7efa7cb44a5d{width:100%;margin:20px auto}.f-Content.jsx-98f7efa7cb44a5d{margin:0 auto}@media(max-width:768px){.f-SideFrame.jsx-98f7efa7cb44a5d{margin:24px auto 64px auto}}`);m.__hash="98f7efa7cb44a5d";let b=({mutationLoading:e=!1,children:a,menuItems:t})=>(0,r.jsxs)(n.Fragment,{children:[(0,r.jsx)(h.A,{mutationLoading:e}),(0,r.jsxs)("div",{className:`jsx-${m.__hash} f-SideFrame`,children:[(0,r.jsxs)("div",{className:`jsx-${m.__hash} f-SideFrame__main`,children:[Array.isArray(a)&&a.length>1&&(0,r.jsx)(n.Fragment,{children:a[0]}),Array.isArray(a)&&a.length>1&&(0,r.jsx)(n.Fragment,{children:a[1]})]}),(0,r.jsx)("div",{className:`jsx-${m.__hash} f-SideFrame__side`,children:(0,r.jsx)("ul",{className:`jsx-${m.__hash}`,children:t.map(e=>(0,r.jsx)("li",{className:`jsx-${m.__hash}`,children:(0,r.jsx)(d.A,{className:"color-main",href:e.path,children:e.title})},e.path))})})]}),(0,r.jsx)(l(),{id:m.__hash,children:m})]}),g=(e,a)=>(0,r.jsx)(i.A,{...a,children:e}),u=e=>(0,o.A)(f,b)(e)},66971:(e,a,t)=>{t.d(a,{A:()=>c});var r=t(37876),o=t(94208),i=t.n(o),s=t(85556),l=t(14232),n=t(88464);let d=new String(`label.jsx-cc9f11d9622ee4c3{color:${n.A.color.gray[15]};font-size:1.4rem;line-height:20px;
1display:inline-block;overflow:hidden;position:relative;padding-left:24px;text-align:left;cursor:pointer}.radio-disabled.jsx-cc9f11d9622ee4c3{color:${n.A.color.gray[60]};-webkit-user-select:none;user-select:none;cursor:inherit}label.jsx-cc9f11d9622ee4c3:not(:last-child){margin-right:3rem}label.jsx-cc9f11d9622ee4c3::before{width:18px;height:18px;border-radius:50%;z-index:3;position:absolute;top:50%;left:0;border:1px solid ${n.A.color.gray[35]};content:"";transform:translate(0,-50%)}.radio-disabled.jsx-cc9f11d9622ee4c3::before{border:1px solid ${n.A.color.gray[80]}}.radio-error.jsx-cc9f11d9622ee4c3::before{width:18px;height:18px;border-radius:50%;z-index:3;position:absolute;top:50%;left:0;border:1px solid ${n.A.color.red[50]};content:"";transform:translate(0,-50%)}label.jsx-cc9f11d9622ee4c3::after{width:8px;height:8px;border-radius:50%;z-index:1;position:absolute;top:50%;left:0;margin-left:5px;background-color:${n.A.color.gray[20]};content:"";transform:translate(0,-50%)}input[type="radio"].jsx-cc9f11d9622ee4c3{z-index:2;position:absolute;top:1px;left:-50px;width:24px;height:24px;margin:0;padding:0;box-shadow:45px -1px ${n.A.color.gray[100]};vertical-align:middle;line-height:24px;-moz-appearance:none;-webkit-appearance:none}input[type="radio"].jsx-cc9f11d9622ee4c3:checked{box-shadow:none}.c-ErrorText.jsx-cc9f11d9622ee4c3{font-size:1.2rem;line-height:1.4;color:${n.A.color.red[50]};margin-top:8px}.error.jsx-cc9f11d9622ee4c3::before{width:18px;height:18px;border-radius:50%;z-index:3;position:absolute;top:50%;left:0;border:1px solid ${n.A.color.red[50]};content:"";transform:translate(0,-50%)}`);d.__hash="cc9f11d9622ee4c3";let c=({className:e,error:a,labelProps:t,radioButtonProps:o,children:n})=>{let{t:c}=(0,s.Bd)("locale");return(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)("label",{...t,className:`jsx-${d.__hash} `+((o.disabled?`${e} radio-disabled`:a?`${e} radio-error`:e)||""),children:[(0,r.jsx)("input",{type:"radio",...o,className:`jsx-${d.__hash} `+(o&&null!=o.className&&o.className||"")}),n]}),a&&(0,r.jsx)("div",{className:`jsx-${d.__hash} c-ErrorText`,children:c(a)}),(0,r.jsx)(i(),{id:d.__hash,children:d})]})}},78309:(e,a,t)=>{t.d(a,{A:()=>d});var r=t(37876),o=t(94208),i=t.n(o),s=t(14232),l=t(88464);let n=new String(`.normal.jsx-4e731628c7cce83f{font-size:1.2rem;color:${l.A.color.gray[35]}}.error.jsx-4e731628c7cce83f{font-size:1.2rem;color:${l.A.color.red[50]}}html[data-theme="dark"] .normal.jsx-4e731628c7cce83f{color:${l.A.color.gray[60]}}html[data-theme="dark"] .error.jsx-4e731628c7cce83f{color:${l.A.color.red[98]}}`);n.__hash="4e731628c7cce83f";let d=({maxChar:e,curChar:a})=>e&&void 0!==a?(0,r.jsxs)(s.Fragment,{children:[(0,r.jsx)("div",{className:`jsx-${n.__hash} `+((e<a?"error":"normal")||""),children:`${e-a}/${e}`}),(0,r.jsx)(i(),{id:n.__hash,children:n})]}):(0,r.jsx)(s.Fragment,{})},82649:(e,a,t)=>{t.d(a,{A:()=>x});var r=t(37876),o=t(94208),i=t.n(o),s=t(85556),l=t(14232),n=t(88464);let d=new String(`label.AiModelCheckBox.jsx-42825309337933fe{display:flex;align-items:center;background-color:${n.A.color_light.background.white};border:1px solid ${n.A.color_light.border.default};border-radius:${n.A.borderRadius.infinity};padding:4px 8px;gap:4px;cursor:pointer;min-height:36px;transition:background-color.15s ease,border-color.15s ease,color.15s ease}label.AiModelCheckBox.jsx-42825309337933fe span{display:flex}label.AiModelCheckBox.jsx-42825309337933fe::before,label.AiModelCheckBox.jsx-42825309337933fe::after{display:none!important}label.AiModelCheckBox.jsx-42825309337933fe input[type="checkbox"].jsx-42825309337933fe{display:none!important}label.AiModelCheckBox.is-checked.jsx-42825309337933fe{border:1px solid ${n.A.color_light.border.info};color:${n.A.color_light.text.info};background-color:${n.A.color_light.background.info}}label.SettingCheckBox.jsx-42825309337933fe{display:flex;align-items:center;background-color:${n.A.color.gray[100]};border:1px solid ${n.A.color_light.border.default};border-radius:${n.A.borderRadius.md};gap:4px;cursor:pointer;padding:0}label.SettingCheckBox.jsx-42825309337933fe::before{display:none!important}label.SettingCheckBox.jsx-42825309337933fe::after{display:none!important}label.SettingCheckBox.jsx-42825309337933fe input[type="checkbox"].jsx-42825309337933fe{display:none!important}label.SettingCheckBox.is-checked.jsx-42825309337933fe{border:1px solid ${n.A.color_light.border.info};color:${n.A.color_light.text.info};background-color:${n.A.color_light.background.info}}label.jsx-42825309337933fe{font-size:1.4rem;color:${n.A.color_light.text.default};display:inline-block;position:relative;overflow:hidden;cursor:pointer;padding-left:28px;vertical-align:middle;appearance:none}label.jsx-42825309337933fe::before{z-index:3;display:block;position:absolute;top:50%;left:0;width:18px;height:18px;border-radius:4px;border:1px solid ${n.A.color_light.icon.subtle};content:"";transform:translate(0,-50%)}label.jsx-42825309337933fe::after{z-index:1;display:block;position:absolute;top:50%;left:0;width:8px;height:12px;margin-top:-4px;margin-left:1px;
1border-right:3px solid ${n.A.color_light.text.link};border-bottom:3px solid ${n.A.color_light.text.link};content:"";transform:rotate(45deg)translate(0,-50%)}input[type="checkbox"].jsx-42825309337933fe{z-index:2;display:block;position:absolute;left:-40px;width:18px;height:42px;margin:0;padding:0;outline:none;box-shadow:40px 0 ${n.A.color_light.background.white};appearance:none;margin-top:1px}input[type="checkbox"].jsx-42825309337933fe:checked{box-shadow:none}.checkbox-error.jsx-42825309337933fe::before{border:1px solid ${n.A.color_light.text.error}}.checkbox-error.jsx-42825309337933fe{border-color:${n.A.color_light.text.error}}.c-ErrorText.jsx-42825309337933fe{font-size:1.2rem;line-height:1.4;color:${n.A.color_light.text.error};margin-top:8px}.inactive.jsx-42825309337933fe{opacity:.4;pointer-events:none;-webkit-user-select:none;user-select:none}.main.jsx-42825309337933fe{color:${n.A.color_light.text.default};height:24px;z-index:1}.main.jsx-42825309337933fe::before{border-radius:0;border:1px solid ${n.A.color_light.border.default};background-color:${n.A.color_light.background.white};width:24px;height:24px;z-index:1}.main.jsx-42825309337933fe::after{border-right:3px solid ${n.A.color_light.text.link};border-bottom:3px solid ${n.A.color_light.text.link};left:3px;z-index:2}.main.jsx-42825309337933fe input[type="checkbox"].jsx-42825309337933fe{width:22px;height:22px;left:-39px;z-index:3}.workspace.jsx-42825309337933fe{display:flex;align-items:center;justify-content:center;height:100%;width:32px;border-radius:8px;background-color:${n.A.color_light.border.default};cursor:pointer}.workspace.jsx-42825309337933fe::before{border-radius:0;border:1px solid ${n.A.color_light.border.default};background-color:${n.A.color_light.border.default};width:24px;height:24px;left:4px;z-index:1}.workspace.jsx-42825309337933fe::after{border-right:3px solid ${n.A.color_light.text.subtle};border-bottom:3px solid ${n.A.color_light.text.subtle};left:7px;z-index:2}.workspace.jsx-42825309337933fe input[type="checkbox"].jsx-42825309337933fe{width:22px;height:22px;left:-35px;z-index:3}.disabled.jsx-42825309337933fe{color:${n.A.color_light.icon.subtle}}.disabled.jsx-42825309337933fe::after,.main.disabled.jsx-42825309337933fe::after,.workspace.disabled.jsx-42825309337933fe::after{border-right:3px solid ${n.A.color_light.icon.subtle};border-bottom:3px solid ${n.A.color_light.icon.subtle}}.disabled.jsx-42825309337933fe::before,.main.disabled.jsx-42825309337933fe::before,.workspace.disabled.jsx-42825309337933fe::before{border:1px solid ${n.A.color_light.icon.subtle}}.disabled.jsx-42825309337933fe input[type="checkbox"].jsx-42825309337933fe,.main.disabled.jsx-42825309337933fe input[type="checkbox"].jsx-42825309337933fe,.workspace.disabled.jsx-42825309337933fe input[type="checkbox"].jsx-42825309337933fe{box-shadow:40px 0 ${n.A.color_light.background.subtler}}label.mainInfo.jsx-42825309337933fe{font-size:1.4rem;color:${n.A.color_light.text.default};display:inline-block;position:relative;overflow:visible;cursor:pointer;padding-left:28px;vertical-align:middle;appearance:none}label.mainInfo.jsx-42825309337933fe::before{z-index:1;display:block;position:absolute;top:50%;left:0;width:18px;height:18px;border-radius:4px;background-color:${n.A.color_light.background.white};border:2px solid ${n.A.color_light.icon.default};content:"";transform:translate(0,-50%)}label.mainInfo.jsx-42825309337933fe::after{display:none!important}label.mainInfo.jsx-42825309337933fe .mainInfo-check-svg.jsx-42825309337933fe{display:none;position:absolute;top:50%;left:1px;width:16px;height:16px;transform:translatey(-50%);pointer-events:none;z-index:1}label.mainInfo.jsx-42825309337933fe:has(input[type="checkbox"]:checked) .mainInfo-check-svg.jsx-42825309337933fe{display:block}label.mainInfo.jsx-42825309337933fe:has(input[type="checkbox"]:checked)::before{background-color:${n.A.color_light.text.info};border-color:${n.A.color_light.text.info}}label.mainInfo.jsx-42825309337933fe input[type="checkbox"].jsx-42825309337933fe{z-index:2;display:block;position:absolute;left:0;top:0;width:18px;height:18px;margin:0;padding:0;outline:none;opacity:0;appearance:none;cursor:pointer}html[data-theme="dark"]{}html[data-theme="dark"] label.AiModelCheckBox.jsx-42825309337933fe{background-color:${n.A.color_dark.background.black};border:1px solid ${n.A.color.gray[30]}}html[data-theme="dark"] label.AiModelCheckBox.is-checked.jsx-42825309337933fe{background-color:${n.A.color.gray[30]}}html[data-theme="dark"] label.jsx-42825309337933fe{color:${n.A.color_dark.text.default}}html[data-theme="dark"] label.jsx-42825309337933fe::before{border:1px solid ${n.A.color_dark.border.default}}html[data-theme="dark"] label.jsx-42825309337933fe::after{border-right:3px s
1olid ${n.A.color_dark.text.link};border-bottom:3px solid ${n.A.color_dark.text.link}}html[data-theme="dark"] input[type="checkbox"].jsx-42825309337933fe{box-shadow:40px 0 ${n.A.color_dark.background.black}}html[data-theme="dark"] input[type="checkbox"].jsx-42825309337933fe:checked{box-shadow:none}html[data-theme="dark"] .checkbox-error.jsx-42825309337933fe::before{border:1px solid ${n.A.color_dark.text.error}}html[data-theme="dark"] .checkbox-error.jsx-42825309337933fe{border-color:${n.A.color_dark.text.error}}html[data-theme="dark"] .c-ErrorText.jsx-42825309337933fe{color:${n.A.color_dark.text.error}}html[data-theme="dark"] .main.jsx-42825309337933fe{color:${n.A.color_dark.text.default}}html[data-theme="dark"] .main.jsx-42825309337933fe::before{border:1px solid ${n.A.color_dark.border.subtle};background-color:${n.A.color_dark.background.black}}html[data-theme="dark"] .main.jsx-42825309337933fe::after{border-right:3px solid ${n.A.color_dark.text.link};border-bottom:3px solid ${n.A.color_dark.text.link}}html[data-theme="dark"] .workspace.jsx-42825309337933fe{background-color:${n.A.color_dark.background.subtle}}html[data-theme="dark"] .workspace.jsx-42825309337933fe::before{border:1px solid ${n.A.color_dark.background.subtle};background-color:${n.A.color_dark.background.subtle}}html[data-theme="dark"] .workspace.jsx-42825309337933fe::after{border-right:3px solid ${n.A.color_dark.icon.default};border-bottom:3px solid ${n.A.color_dark.icon.default}}html[data-theme="dark"] .disabled.jsx-42825309337933fe{color:${n.A.color_dark.text.subtle}}html[data-theme="dark"] .disabled.jsx-42825309337933fe::after,html[data-theme="dark"] .main.disabled.jsx-42825309337933fe::after,html[data-theme="dark"] .workspace.disabled.jsx-42825309337933fe::after{border-right:3px solid ${n.A.color_dark.border.subtle};border-bottom:3px solid ${n.A.color_dark.border.subtle}}html[data-theme="dark"] .disabled.jsx-42825309337933fe::before,html[data-theme="dark"] .main.disabled.jsx-42825309337933fe::before,html[data-theme="dark"] .workspace.disabled.jsx-42825309337933fe::before{border:1px solid ${n.A.color_dark.border.subtle}}html[data-theme="dark"] .disabled.jsx-42825309337933fe input[type="checkbox"].jsx-42825309337933fe,html[data-theme="dark"] .main.disabled.jsx-42825309337933fe input[type="checkbox"].jsx-42825309337933fe,html[data-theme="dark"] .workspace.disabled.jsx-42825309337933fe input[type="checkbox"].jsx-42825309337933fe{box-shadow:40px 0 ${n.A.color_dark.background.subtle}}html[data-theme="dark"] label.SettingCheckBox.jsx-42825309337933fe{border:1px solid ${n.A.color_dark.border.subtle}}html[data-theme="dark"] label.SettingCheckBox.is-checked.jsx-42825309337933fe{border:1px solid ${n.A.color_dark.text.info};color:${n.A.color_dark.text.info};background-color:${n.A.color.blue["25"]}}html[data-theme="dark"] label.mainInfo.jsx-42825309337933fe{font-size:1.4rem;color:${n.A.color_light.text.default};display:inline-block;position:relative;overflow:visible;cursor:pointer;padding-left:28px;vertical-align:middle;appearance:none}html[data-theme="dark"] label.mainInfo.jsx-42825309337933fe::before{background-color:${n.A.color_dark.background.black};border:2px solid ${n.A.color_dark.icon.default}}html[data-theme="dark"] label.mainInfo.jsx-42825309337933fe:has(input[type="checkbox"]:checked)::before{background-color:${n.A.color_dark.text.info};border-color:${n.A.color_dark.text.info}}`);d.__hash="42825309337933fe";var c=t(27395);let x=({className:e,error:a,labelProps:t,checkBoxProps:o,children:n})=>{let{t:x}=(0,s.Bd)("locale");return(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)("label",{...t,className:`jsx-${d.__hash} `+((a?`${e} checkbox-error`:e)||""),children:[(0,r.jsx)("input",{type:"checkbox",...o,className:`jsx-${d.__hash} `+(o&&null!=o.className&&o.className||"")}),n,e?.includes("mainInfo")&&(0,r.jsx)("span",{className:`jsx-${d.__hash} mainInfo-check-svg`,children:(0,r.jsx)(c.A,{name:"StatusChecked",className:"color-white",width:16,height:16})})]}),a&&(0,r.jsx)("div",{className:`jsx-${d.__hash} c-ErrorText`,children:x(a)}),(0,r.jsx)(i(),{id:d.__hash,children:d})]})}},92170:(e,a,t)=>{t.d(a,{A:()=>O});var r=t(37876),o=t(85556),i=t(66465),s=t(94208),l=t.n(s),n=t(11041),d=t(97460),c=t(85278),x=t(89099),h=t(14232),p=t(24288),f=t(31418),m=t(66378),b=t(13639),g=t(68688),u=t(41314),j=t(10171),_=t(32597),A=t(36897),k=t(37249),$=t(56250),y=t(66971),v=t(37821),w=t(14393),N=t(6279),C=t(82649),z=t(88464);let I=new String(`.p-ItemEditDetailConfirmRiskModal.jsx-52a3cad738969b84{padding:24px;overflow-y:auto;height:100%}.p-ItemEditDetailConfirmRiskModal.jsx-52a3cad738969b84 p{margin-top:24px}.p-ItemEditDetailConfirmRiskModal__notification.jsx-52a3cad738969b84{line-height:1.7;margin-top:12px;margin-bottom:24px}.p-ItemEditDetailConfirmRiskModal__notification.jsx-52a3cad738969b84>li.jsx-52a3cad738969b84{position:relative;margin-left:1em;text-indent:-1em}.p-ItemEditDetailConfirmRiskModal__notification.jsx-52a3cad738969b84>li.jsx-52a3cad738969b84::before{content:"ã»";padding-right:4px}.p-ItemEditDetailConfirmRiskModal__confirmation.jsx-52a3cad738969b84{background-color:${z.A.color.gray[98]};z-index:${z.A.zIndex.modalButton};bottom:0;left:0;right:0;width:100%}.p-ItemEditDetailConfirmRiskModal__check.jsx-52a3cad738969b84{display:flex;justify-content:center;padding-top:12px}.p-ItemEditDetailConfirmRiskModal__button.jsx-52a3cad738969b84{background-color:${z.A.color.gray[98]};z-index:${z.A.zIndex.modalButton};bottom:0;left:0;right:0;width:100%;padding:16px 6%;display:flex;align-items:center;justify-content:center;transition:all ease-in.3s;border-radius:0 0 2px 2px}@media(max-width:768px){.p-ItemEditDetailConfirmRiskModal__notification.jsx-52a3cad738969b84{margin-bottom:80px}.p-ItemEditDetailConfirmRiskModal__confirmation.jsx-52a3cad738969b84{overflow:auto;position:fixed}}.p-ItemEditDetailConfirmRiskModal__button.jsx-52a3cad738969b84 button{width:148px;height:48px;margin:0 4px}.p-ItemEditDetailConfirmRiskModal__button.jsx-52a3cad738969b84 button+button{margin-top:0}`);I.__hash="52a3cad738969b84";var S=t(72855);let E=({onCancel:e,onConfirm:a})=>{let{t}=(0,o.Bd)("locale"),[i,s]=(0,h.useState)(!1);return(0,r.jsxs)(N.A,{onClick:e,className:"autoHeight",children:[(0,r.jsxs)("div",{className:`jsx-${I.__hash} p-ItemEditDetailConfirmRiskModal`,children:[(0,r.jsx)(S.A,{children:t("å
¬éåã«ã確èªãã ãã")}),(0,r.jsx)(_.A,{children:t("å°éçãªè³æ ¼ãå¿
è¦ãªè¡çºã»å©è¨ãè¡ãAIã¯ãå
容ã«ããå種æ³è¦ãã¬ã¤ãã©ã¤ã³ã«éåããå¯è½æ§ãããã¾ãã")}),(0,r.jsx)(_.A,{children:t("ãèªèº«ã§å
容ãã確èªã®ä¸ã誤解ã®ãªãããã³ããåã»ããã³ãã説æã®è¨å®ããé¡ããããã¾ãã")}),(0,r.jsx)(_.A,{children:t("ç¹ã«ã以ä¸ã®å
容ãå«ãå ´åã¯æ
éã«ã確èªãã ããã")}),(0,r.jsxs)("ul",{className:`jsx-${I.__hash} p-ItemEditDetailConfirmRiskModal__notification`,children:[(0,r.jsx)("li",{className:`jsx-${I.__hash}`,children:t("æ³å¾ã»ç¨åã«é¢ããå
容")}),(0,r.jsx)("li",{className:`jsx-${I.__hash}`,children:t("å»çè¡çºã«é¢ããå
容")}),(0,r.jsx)("li",{className:`jsx-${I.__hash}`,children:t("çå½ã»èº«ä½ã»è²¡ç£ã«å½±é¿ãåã¼ãå
容")})]}),(0,r.jsxs)("div",{className:`jsx-${I.__hash} p-ItemEditDetailConfirmRiskModal__confirmation`,children:[(0,r.jsx)("div",{className:`jsx-${I.__hash} p-ItemEditDetailConfirmRiskModal__check`,children:(0,r.jsx)(C.A,{checkBoxProps:{onCh
1ange:e=>s(e.target.checked)},children:t("確èªãã¾ãã")})}),(0,r.jsxs)("div",{className:`jsx-${I.__hash} p-ItemEditDetailConfirmRiskModal__button`,children:[(0,r.jsx)(A.A,{className:"size-large color-tertiary",onClick:e,children:t("æ»ã")}),(0,r.jsx)(A.A,{className:"size-large color-main",onClick:a,disabled:!i,children:t("å
¬éãã")})]})]})]}),(0,r.jsx)(l(),{id:I.__hash,children:I})]})},T=new String(`.c-ErrorText.jsx-d03ebc106ac37475{font-size:1.2rem;line-height:1.4;color:${z.A.color.red[50]};margin-top:8px}.p-ItemDetailForm.jsx-d03ebc106ac37475{margin:32px 0}.p-ItemDetailForm__inputImg.jsx-d03ebc106ac37475{width:80px;height:80px;position:relative;cursor:pointer}.p-ItemDetailForm__inputImg.jsx-d03ebc106ac37475 div.jsx-d03ebc106ac37475{background:${z.A.color.gray[35]};position:absolute;top:2px;right:2px;width:24px;height:24px;border-radius:50%;display:flex;justify-content:center;align-items:center}.p-ItemDetailForm__radio.jsx-d03ebc106ac37475{margin-top:8px}.p-ItemDetailForm__button.jsx-d03ebc106ac37475{display:flex;flex-direction:column;justify-content:center;align-items:center}.p-ItemDetailForm__button.jsx-d03ebc106ac37475 button+a{margin-top:16px}.p-ItemDetailForm__input.jsx-d03ebc106ac37475 .c-InputWrap>textarea{min-height:8em}.p-ItemDetailForm__select.jsx-d03ebc106ac37475 .selectContainer{width:50%}.p-ItemDetailForm__select.jsx-d03ebc106ac37475 .selectContainer+.selectContainer{margin-top:4px}@media screen and (max-width:480px){.p-ItemDetailForm__select.jsx-d03ebc106ac37475 .selectContainer{width:100%}}`);T.__hash="d03ebc106ac37475";var F=t(88419),D=t(66192);let B=new String(`.c-ErrorText.jsx-908aeb99e58728ef{font-size:1.2rem;line-height:1.4;color:${z.A.color.red[50]};margin-top:8px}.c-ErrorBox.jsx-908aeb99e58728ef{width:100%;margin:20px auto}.p-ItemEditThumbnail.jsx-908aeb99e58728ef{padding:20px}.p-ItemEditThumbnail__title.jsx-908aeb99e58728ef{margin-bottom:8px}.p-ItemEditThumbnailListWrap.jsx-908aeb99e58728ef{overflow-y:auto;height:60vh;margin:20px 0}.p-ItemEditThumbnailList.jsx-908aeb99e58728ef{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:10px;padding-right:8px}.p-ItemEditThumbnailList.jsx-908aeb99e58728ef li img{width:100%;height:auto}`);B.__hash="908aeb99e58728ef";let R=new String(`.c-ErrorText.jsx-af27cc2b2696f1cf{font-size:1.2rem;line-height:1.4;color:${z.A.color.red[50]};margin-top:8px}.c-ErrorBox.jsx-af27cc2b2696f1cf{width:100%;margin:20px auto}.p-ItemEditThumbnail.jsx-af27cc2b2696f1cf{padding:20px}.p-ItemEditThumbnail__title.jsx-af27cc2b2696f1cf{margin-bottom:8px}.p-ItemEditThumbnailListWrap.jsx-af27cc2b2696f1cf{overflow-y:auto;height:90vh;margin:20px 0}.p-ItemEditThumbnailList.jsx-af27cc2b2696f1cf{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:10px;padding-right:8px}.p-ItemEditThumbnailList.jsx-af27cc2b2696f1cf li img{width:100%;height:auto}`);R.__hash="af27cc2b2696f1cf";let M=({aiPaintingHistories:e,onClickAiPaintingHistory:a,onClick:t})=>{let i=(0,F.A)(B,R),{t:s}=(0,o.Bd)("locale"),n=[{name:s("æè¿çæãããç»å"),value:"images"}];return(0,r.jsxs)(N.A,{onClick:t,children:[(0,r.jsxs)("div",{className:`jsx-${i.__hash} p-ItemEditThumbnail`,children:[(0,r.jsx)("div",{className:`jsx-${i.__hash} p-ItemEditThumbnail__title`,children:(0,r.jsx)(S.A,{type:"h2",className:"size-large weight-bold",children:s("ãµã ãã¤ã«é¸æ")})}),(0,r.jsx)("div",{className:`jsx-${i.__hash} p-ItemEditThumbnailTab`,children:(0,r.jsx)(D.A,{className:"p-Tab--selector",tabs:n,tabActive:"images",onClick:()=>null})}),(0,r.jsx)("div",{className:`jsx-${i.__hash} p-ItemEditThumbnailListWrap`,children:(0,r.jsx)("ul",{className:`jsx-${i.__hash} p-ItemEditThumbnailList`,children:(e??[]).map(e=>(0,r.jsx)("li",{className:`jsx-${i.__hash}`,children:(0,r.jsx)(u.A,{src:e.imageUrl,alt:`image_thumb_${e.id}`,width:100,height:100,onClick:()=>{a&&a(e.id),t&&t()}})},e.id))})})]}),(0,r.jsx)(l(),{id:i.__hash,children:i})]})},L=({onClickThumbnailOption:e,onClick:a})=>{let t=(0,F.A)(B,R),{t:i}=(0,o.Bd)("locale"),[s,n]=(0,h.useState)(""),d=(0,p.FBA)({fetchPolicy:"cache-and-network"});(0,h.useEffect)(()=>{d.data?.thumbnailOptionGroups&&d.data.thumbnailOptionGroups.length>0&&n(d.data.thumbnailOptionGroups[0].id)},[d.data]);let c=(0,h.useMemo)(()=>d.data?.thumbnailOptionGroups?d.data.thumbnailOptionGroups.map(e=>({name:e.name,value:e.id})):[],[d.data]),x=(0,h.useMemo)(()=>d.data?.thumbnailOptionGroups?d.data?.thumbnailOptionGroups.find(e=>e.id===s)?.thumbnailOptions:[],[d.data,s]);return(0,r.jsxs)(N.A,{onClick:a,mutationLoading:!d.data,className:"autoHeight",children:[(0,r.jsxs)("div",{className:`jsx-${t.__hash} p-ItemEditThumbnail`,children:[(0,r.jsx)("div",{className:`jsx-${t.__hash} p-ItemEditThumbnail__title`,children:(0,r.jsx)(S.A,{type:"h2",className:"size-large weight-bold",children:i("ãµã ãã¤ã«é¸æ")})}),(0,r.jsx)("div",{className:`jsx-${t.__hash} p-ItemEditThumbnailTab`,children:(0,r.jsx)(D.A,{className:"p-Tab--selector",tabs:c,tabActive:s,onClick:e=>n(e)})}),(0,r.jsx)("div",{className:`jsx-${t.__hash} p-ItemEditThumbnailListWrap`,children:(0,r.jsx)("ul",{className:`jsx-${t.__hash} p-ItemEditThumbnailList`,children:(x??[]).map(o=>(0,r.jsx)("li",{className:`jsx-${t.__hash}`,children:(0,r.jsx)(u.A,{src:o.thumbnailUrl,alt:`thumb_${o.id}`,width:100,height:100,onClick:()=>{e&&e(o),a&&a()}})},o.id))})})]}),(0,r.jsx)(l(),{id:t.__hash,children:t})]})};var P=t(84160);let H=({item:e,categories:a=[],isDraft:t=!1,updateMutation:i,updateMutationResult:s,riskCheckQuery:N,turnstileExecute:C,turnstileRef:I})=>{let{t:S}=(0,o.Bd)("locale"),F=(0,x.useRouter)();(0,b.A)();let[D,B]=(0,h.useState)(null),[R,H]=(0,h.useState)(!1),[O,W]=(0,h.useState)(null),[q,U]=(0,h.useState)(null),[G,Q]=(0,h.useState)(e.title),[V,X]=(0,h.useState)(null),[Y,K]=(0,h.useState)(e.description),[Z,J]=(0,h.useState)(null),[ee,ea]=(0,h.useState)(e.accessibility===p.ejQ.Public),[et,er]=(0,h.useState)(e.visibility===p.bQA.Show),{categoryGroups:eo,categoriesMap:ei}=(0,m.A)(a),es=a.find(a=>e.category?e.category.id===a.id:void 0)?.id,el=e.category?.categoryGroupName,[en,ed]=(0,h.useState)(el??""),[ec,ex]=(0,h.useState)(null),[eh,ep]=(0,h.useState)(es),[ef,em]=(0,h.useState)(e.youtubeUrl??null),[eb,eg]=(0,h.useState)(null),[eu,ej]=(0,h.useState)(e.xUrl??null),[e_,eA]=(0,h.useState)(null),ek={id:e.id,partialItem:{title:G,description:Y,accessibility:ee?p.ejQ.Public:p.ejQ.Private,visibility:et?p.bQA.Show:p.bQA.Hide,categoryId:eh,youtubeUrl:ef,xUrl:eu,thumbnailOptionId:O?O.id:void 0,aiPaintingHistoryId:q||void 0}},e$=a=>{eC(!1),i({variables:{...ek,publish:a}}).then(async r=>{await s.client.resetStore(),r.data&&F.push(t&&!a?`/item_drafts/${e.id}`:`/items/${e.id}`)}).catch(e=>{let a=(0,g.h0)(e);a&&B(S(a))})},ey=async()=>{N&&i({variables:{...ek,publish:!1}}).then(async a=>{a.data&&C&&C("check_legal_risk",a=>{N({variables:{id:e.id,turnstileToken:a}}).then(e=>{e.data?.hasLegalRiskItemDraft?eI(!0):e$(!0)}).catch(e=>{let a=(0,g.h0)(e);a&&B(S(a))})})}).catch(e=>{let a=(0,g.h0)(e);a&&B(S(a))})},ev=e=>{e&&N?ey():e$(!1)},ew=e.content.templateText.length>0&&e.content.initialMessage.length>0,eN=q?e.aiPaintingHistories.find(e=>e.id===q):null,eC=(0,c.Xr)(f.TN),[ez,eI]=(0,h.useState)(!1);return(0,r.jsxs)(h.Fragment,{children:[D&&(0,r.jsx)("div",{className:`jsx-${T.__hash} c-ErrorBox`,children:(0,r.jsx)(P.A,{children:D})}),ez&&(0,r.jsx)(E,{onCancel:()=>eI(!1),onConfirm:()=>e$(!0)}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm`,children:[(0,r.jsx)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__title`,children:(0,r.jsx)(_.A,{className:"size-small weight-bold",children:S("ã¤ã¡ã¼ã¸ç»å")})}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__inputImg`,children:[R&&e.modelType!==p.e3q.Image&&(0,r.jsx)(L,{onClick:()=>H(!1),onClickThumbnailOption:e=>{W(e),U(null)}}),R&&e.modelType===p.e3q.Image&&(0,r.jsx)(M,{aiPaintingHistories:e.aiPaintingHistories,onClick:()=>H(!1),onClickAiPaintingHistory:e=>{W(null),U(e)}}),(0,r.jsx)("div",{className:`jsx-${T.__hash}`,children:(0,r.jsx)(d.g,{icon:n.LFz,color:z.A.color.gray[100],onClick:()=>H(!0)})}),(0,r.jsx)(u.A,{src:O?O.thumbnailUrl:eN?eN.imageUrl:e.thumbnailUrl,alt:e.title,width:80,height:80,onClick:()=>H(!0)})]})]}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm`,children:[(0,r.jsx)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__title`,children:(0,r.jsx)(_.A,{className:"size-small weight-bold",children:S("ããã³ããå")})}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__input`,children:[(0,r.jsx)($.A,{inputProps:{type:"text",value:G??"",onChange:e=>{eC(!0);let a=e.target.value;Q(a),X((0,w.sA)(a))},autoFocus:!0,placeholder:S("ä¾ï¼çæAIã§ã¡ã¼ã«ã®æ¬æã使ããããã³ãã")},required:!0,maxChar:w.Nj,curChar:G?.length??0,error:V}),(0,r.jsx)(_.A,{className:"size-small color-gray-light",children:S("â»ããã³ããã®ç®çãããããããååã«ããã¨ãããå¤ãã®äººã«è¦ã¦ãããããããªãã¾ãã")})]})]}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm`,children:[(0,r.jsx)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__title`,children:(0,r.jsx)(_.A,{className:"size-small weight-bold",children:S("ããã³ãã説æ")})}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__input`,children:[(0,r.jsx)(v.A,{value:Y??"",onChange:e=>{eC(!0);let a=e.target.value;K(a),J((0,w.Cz)(a))},maxChar:w.LM,curChar:Y?.length??0,flex:!0,maxHeight:300,error:Z,renderer:v.$,required:!0}),(0,r.jsx)(_.A,{className:"size-small color-gray-light",children:S("â»ããã³ããã®æ¦è¦ãä½¿ãæ¹ã工夫ããç¹ãã¢ãã¼ã«ãã¤ã³ããè¨è¼ããã¨ãããå¤ãã®äººã«æ´»ç¨ãã¦ããããã¨ãã§ãã¾ãã")}),(0,r.jsx)(_.A,{className:"size-small color-gray-light",children:S("â»ããã·ã¥ã¿ã°ãå©ç¨ã§ãã¾ããã#ãã«ç¶ãã¦ãã¼ã¯ã¼ããå
¥åããã¨ãããå¤ãã®äººã«è¦ã¦ãããããããªãã¾ããä¾ï¼ #midjourney #sunoai #ã¡ã¼ã«")})]})]}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm`,children:[(0,r.jsx)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__title`,children:(0,r.jsx)(_.A,{className:"size-small weight-bold",children:S("ã«ãã´ãª")})}),(0,r.jsx)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__required`,children:(0,r.jsx)(_.A,{className:"color-alert size-xsmall",children:S("å¿
é ")})}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__select`,children:[(0,r.jsx)(j.A,{placeholder:S("鏿ãã¦ãã ãã"),value:en,items:eo.map(e=>({children:e,value:e})),onChange:e=>{if(eC(!0),ed(e.target.value),e.target.value!==en){let a=ei.get(e.target.value);ep(a?a[0].id:"")}ex((0,w.wg)(e.target.value))}}),(0,r.jsx)(j.A,{placeholder:S("鏿ãã¦ãã ãã"),value:eh,disabled:!en,items:ei.get(en)?.map(e=>({children:e.categoryName,value:e.id}))??[],onChange:e=>{eC(!0),ep(e.target.value)}}),ec&&(0,r.jsx)("div",{className:`jsx-${T.__hash} c-ErrorText`,children:S(ec)})]})]}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm`,children:[(0,r.jsx)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__youtube`,children:(0,r.jsx)(_.A,{className:"size-small weight-bold",children:S("YouTube URL")})}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__input`,children:[(0,r.jsx)($.A,{inputProps:{type:"text",value:ef??"",onChange:e=>{eC(!0);let a=e.target.value;em(a.length>0?a:null),eg((0,w.vj)(a))},placeholder:"https://www.youtube.com/watch?v=xxxxx"},error:eb}),(0,r.jsx)(_.A,{className:"size-small color-gray-light",children:S("â»ä½¿ãæ¹ãå®è¡ä¾ãç´¹ä»ããYouTubeã®åç»ãåãè¾¼ããã¨ãã§ãã¾ãã")})]})]}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm`,children:[(0,r.jsx)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__x`,children:(0,r.jsx)(_.A,{className:"size-small weight-bold",children:S("X URL")})}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__input`,children:[(0,r.jsx)($.A,{inputProps:{type:"text",value:eu??"",onChange:e=>{eC(!0);let a=e.target.value;ej(a.length>0?a:null),eA((0,w.Aw)(a))},placeholder:"https://x.com/Xã®ID/status/xxxx"},error:e_}),(0,r.jsx)(_.A,{className:"size-small color-gray-light",children:S("â»ä½¿ãæ¹ãå®è¡ä¾ãç´¹ä»ããXã®æç¨¿ãåãè¾¼ããã¨ãã§ãã¾ãã")})]})]}),e.modelType===p.e3q.Llm&&(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm`,children:[(0,r.jsx)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__title`,children:(0,r.jsx)(_.A,{className:"size-small weight-bold",children:S("å
¬éè¨å®")})}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__radio`,children:[(0,r.jsx)(y.A,{radioButtonProps:{checked:ee,onChange:()=>{eC(!0),ea(!0)}},children:S("å
¨ä½å
¬é")}),(0,r.jsx)(y.A,{radioButtonProps:{checked:!ee,onChange:()=>{eC(!0),ea(!1)}},children:S("éå®å
¬é")}),(0,r.jsx)(_.A,{className:"size-small color-gray-light",children:S("â»éå®å
¬éã®ããã³ããã¯ããªã³ã¯ãç¥ã£ã¦ãã人ã®ã¿ã¢ã¯ã»ã¹ã§ãã¾ãã")})]})]}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm`,children:[(0,r.jsx)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__title`,children:(0,r.jsx)(_.A,{className:"size-small weight-bold",children:S("ããã³ããé示è¨å®")})}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__radio`,children:[(0,r.jsx)(y.A,{radioButtonProps:{checked:et,onChange:()=>{eC(!0),er(!0)}},children:S("è¦ãã")}),(0,r.jsx)(y.A,{radioButtonProps:{checked:!et,onChange:()=>{eC(!0),er(!1)}},children:S("é ã")}),(0,r.jsx)(_.A,{className:"size-small color-gray-light",children:S("â»ãé ãããæå®ãã¦ããAIãããã³ããã®å
容ãåºåããå ´åãããã¾ããæ©å¯æ
å ±ã¯ãããã³ããã«å«ãã
1ªãã§ãã ããã")})]})]}),(0,r.jsxs)("div",{className:`jsx-${T.__hash} p-ItemDetailForm__button`,children:[t&&!ew&&(0,r.jsx)(_.A,{className:"color-alert",children:S("å
¬éã«ã¯ããã³ããã®ç»é²ãå¿
è¦ã§ãã")}),t&&(0,r.jsx)(A.A,{className:"color-main size-large",onClick:()=>{X((0,w.sA)(G)),J((0,w.Cz)(Y)),ex((0,w.wg)(en)),eg((0,w.vj)(ef)),eA((0,w.Aw)(eu)),(0,w.sA)(G)||(0,w.Cz)(Y)||(0,w.wg)(en)||(0,w.vj)(ef)||(0,w.Aw)(eu)||ev(!0)},disabled:!ew,children:S("å
¬éãã")}),t&&(0,r.jsx)(A.A,{className:"color-main-border size-large",onClick:()=>{X((0,w.sA)(G)),J((0,w.Cz)(Y)),ex((0,w.wg)(en)),eg((0,w.vj)(ef)),eA((0,w.Aw)(eu)),(0,w.sA)(G)||(0,w.Cz)(Y)||(0,w.wg)(en)||(0,w.vj)(ef)||(0,w.Aw)(eu)||ev(!1)},children:S("䏿¸ãä¿åãã")}),!t&&(0,r.jsx)(A.A,{className:"color-main size-large",onClick:()=>{X((0,w.sA)(G)),J((0,w.Cz)(Y)),ex((0,w.wg)(en)),eg((0,w.vj)(ef)),eA((0,w.Aw)(eu)),(0,w.sA)(G)||(0,w.Cz)(Y)||(0,w.wg)(en)||(0,w.vj)(ef)||(0,w.Aw)(eu)||ev(!0)},children:S("ä¿åãã")}),(0,r.jsx)(k.A,{href:t?`/item_drafts/${e.id}/delete`:`/items/${e.id}/delete`,onClick:()=>{eC(!1)},className:"color-tertiary size-large","aria-label":S("ããã³ãããåé¤ãã"),children:S("ããã³ãããåé¤ãã")})]}),I&&(0,r.jsx)("div",{ref:I,className:`jsx-${T.__hash}`}),(0,r.jsx)(l(),{id:T.__hash,children:T})]})},O=({menuItems:e,item:a,categories:t=[],isDraft:s,updateMutation:l,updateMutationResult:n,riskCheckQuery:d,queryLoading:c,mutationLoading:x,turnstileExecute:h,turnstileRef:p})=>{let{t:f}=(0,o.Bd)("locale");return(0,r.jsxs)(i.A,{queryLoading:c,mutationLoading:x,menuItems:e,categories:t,children:[(0,r.jsx)("div",{className:"c-Title",children:(0,r.jsx)(S.A,{type:"h2",className:"size-large weight-bold",children:f("ããã³ãã詳細è¨å®")})}),a&&t&&t.length>0&&(0,r.jsx)(H,{item:a,categories:t,isDraft:s,updateMutation:l,updateMutationResult:n,riskCheckQuery:d,turnstileExecute:h,turnstileRef:p})]})}}}]);
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.