PageSourceSearch

https://mintice.net/_next/static/chunks/pages/account/creator/monetization/stripe-a61b4b56547c7cc5.js

js mintice.net collected 2026-10-04 19:05:40 UTC 7,826 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5785],{39361:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/creator/monetization/stripe",function(){return n(95097)}])},10787:function(e,t,n){"use strict";n.d(t,{GP:function(){return u},Gl:function(){return o},Ud:function(){return r},h9:function(){return d},me:function(){return p},sj:function(){return l}});var s=n(59820);n(75362);var c=n(49102);let r=e=>(0,c.zq)({url:"/stripe/account-link",method:"POST",headers:{"Content-Type":"application/json"},data:e}),a=()=>(0,c.zq)({url:"/stripe/dashboard",method:"GET"}),i=()=>["/stripe/dashboard"],l=e=>{var t;let{swr:n}=null!=e?e:{},c=(null==n?void 0:n.enabled)!==!1,r=null!==(t=null==n?void 0:n.swrKey)&&void 0!==t?t:()=>c?i():null,l=(0,s.ZP)(r,()=>a(),n);return{swrKey:r,...l}},o=e=>(0,c.zq)({url:"/stripe/payment-intent",method:"POST",headers:{"Content-Type":"application/json"},data:e}),u=e=>(0,c.zq)({url:"/stripe/customer",method:"PUT",headers:{"Content-Type":"application/json"},data:e}),d=e=>(0,c.zq)({url:"/stripe/order",method:"POST",headers:{"Content-Type":"application/json"},data:e}),p=e=>(0,c.zq)({url:"/stripe/tx-execute",method:"POST",headers:{"Content-Type":"application/json"},data:e})},42073:function(e,t,n){"use strict";n.d(t,{B:function(){return a}});var s=n(85893),c=n(704),r=n(15080);n(2304),n(47002);let a=e=>{let{className:t,fieldError:n,message:a,typography:i="body2",...l}=e;return n&&(0,s.jsx)("p",{className:(0,r.f)("".concat("_1480szc0"," ").concat(c.cp[i]),t),...l,children:null!=a?a:n.message})}},87076:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var s=n(85893),c=n(704),r=n(15080),a=n(67421);n(2304),n(18338);let i=e=>{let{hideStatus:t,required:n,onChained:i,typography:l="title2",className:o,children:u,...d}=e,{t:p}=(0,a.$G)(),h=p("components.label.required");return i&&(h=p("components.label.required_not_edit")),(0,s.jsxs)("label",{className:(0,r.f)(c.cp[l],o),...d,children:[u,!t&&(n?(0,s.jsxs)("span",{className:"_12m4kve0",children:["(",h,")"]}):(0,s.jsx)("span",{className:"_12m4kve1",children:p("components.label.not_required")}))]})}},19989:function(e,t,n){"use strict";n.d(t,{P:function(){return d}});var s=n(85893),c=n(62469),r=n(14833),a=n(67294),i=n(80759),l=n(191);n(2304),n(75636);let o=(0,a.forwardRef)((e,t)=>{let{children:n,...a}=e;return(0,s.jsxs)(r.ck,{className:"_1drrq0e0 _16e3s7l21",...a,ref:t,children:[(0,s.jsx)(r.eT,{children:n}),(0,s.jsx)(r.wU,{className:"_1drrq0e1",children:(0,s.jsx)(c.nQG,{})})]})});n(39534);var u="_1tsi2q97";let d=(0,a.forwardRef)(function(e,t){let{items:n,label:d,ariaLabel:p,placeholder:h,name:_,onChange:v,required:m,disabled:f,defaultValue:j,isLoading:x}=e,[b,y]=(0,a.useState)(0===n.length||n.some(e=>e.value===j)?j:void 0);return(0,s.jsxs)(r.fC,{name:_,value:b,onValueChange:e=>{y(e),v&&v({target:{name:_,value:e}})},required:m,disabled:f||x,children:[(0,s.jsxs)(r.xz,{className:"".concat("_1tsi2q90 _16e3s7l21"," ").concat(x?"_1tsi2q92":"_1tsi2q91"),ref:t,"aria-label":p,children:[x?(0,s.jsx)(i.g,{size:"s",centering:!1}):(0,s.jsx)("div",{className:"_1tsi2q99",children:(0,s.jsx)(r.B4,{placeholder:h})}),!x&&(0,s.jsx)(r.JO,{className:"_1tsi2q93",children:(0,s.jsx)(c.v4q,{})})]}),(0,s.jsx)(r.h_,{children:(0,s.jsxs)(r.VY,{className:"_1tsi2q94",children:[(0,s.jsx)(r.u_,{className:u,children:(0,s.jsx)(c.g8U,{})}),(0,s.jsx)(r.l_,{className:"_1tsi2q95",children:(0,s.jsxs)(r.ZA,{children:[d&&(0,s.jsx)(r.__,{className:"_1tsi2q96",children:(0,s.jsx)(l.Z,{variant:"body2",children:d})}),n.map(e=>{var t;return(0,s.jsx)(o,{value:e.value,children:(0,s.jsx)("span",{children:null!==(t=e.label)&&void 0!==t?t:e.value})},e.value)})]})}),(0,s.jsx)(r.$G,{className:u,children:(0,s.jsx)(c.v4q,{})})]})})]})})},3753:function(e,t,n){"use strict";n.d(t,{v:function(){return p}});var s=n(85893),c=n(15080),r=n(91824),a=n(82695),i=n(191);n(2304),n(28181);var l={active:"_1i2976cb _1i2976ca",inactive:"_1i2976cc _1i2976ca"},o={"in progress":"_1i2976c1 _1i2976c0",complete:"_1i2976c2 _1i2976c0"},u={active:"_1i2976c7 _1i2976c6",inactive:"_1i2976c8 _1i2976c6"},d={"1-2":"_1i2976c4 _1i2976c3","3-":"_1i2976c5 _1i2976c3"};let p=e=>
1{let{title:t,activeStep:n,steps:p,progress:h,className:_}=e;return(0,s.jsxs)(a.K,{className:(0,c.f)(o[null!=h?h:"in progress"],_),children:[(0,s.jsx)(i.Z,{variant:"h1",children:t}),(0,s.jsx)(r.k,{className:d[p.length<=2?"1-2":"3-"],children:p.map((e,t)=>(0,s.jsxs)(a.K,{className:u[t===n?"active":"inactive"],children:[(0,s.jsx)("span",{className:"_1i2976c9 _16e3s7l25",children:e}),(0,s.jsx)("div",{className:l[t===n?"active":"inactive"]})]},t))})]})}},25914:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var s=n(85893),c=n(80759),r=n(89993),a=n(67294);function i(e){return(0,s.jsx)(r.N,{children:(0,s.jsx)(a.Suspense,{fallback:(0,s.jsx)(c.g,{}),children:e})})}},95097:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var s=n(85893),c=n(99373),r=n(42073),a=n(87076),i=n(80759),l=n(19989),o=n(82695),u=n(3753),d=n(191),p=n(59601),h=n(25914),_=n(59921);n(2304),n(39390);var v=n(34405),m=n(10787),f=n(31252),j=n(11163),x=n(67294),b=n(67421),y=n(56312),N=n(87536),q=n(1604);let g=q.z.object({businessType:q.z.string().nonempty("選択してください")}),T=()=>(0,N.cI)({defaultValues:{businessType:""},mode:"onSubmit",resolver:(0,y.F)(g)}),z=()=>{var e,t,n;let s=(0,j.useRouter)(),{currentUser:c}=(0,f.x)(),[r,a]=(0,x.useState)(!1),{t:i}=(0,b.$G)(),l=T(),o=l.handleSubmit(async e=>{a(!0);let{result:t}=await (0,m.Ud)({businessType:e.businessType});t.url&&location.replace(t.url)}),u=null==c?void 0:null===(n=c.user)||void 0===n?void 0:null===(t=n.selectedAccount)||void 0===t?void 0:null===(e=t.creator)||void 0===e?void 0:e.monetizationStatusFlg;return(0,x.useEffect)(()=>{u!==v.un.APPLICABLE&&s.replace("/setting/account")},[u,s]),{currentUser:c,shouldFetchAccountLink:!1,isLoading:r,onClickAccountLink:o,t:i,methods:l,router:s}};var k=n(36609);let P=[{value:"0",label:(0,k.t)("account.creator.stripe.business_type0")},{value:"1",label:(0,k.t)("account.creator.stripe.business_type1")}];function w(){let{t:e,isLoading:t,onClickAccountLink:n,methods:h,router:v}=z(),{register:m,formState:{errors:f}}=h;return(0,s.jsxs)(o.K,{className:"tyiz7t0",children:[(0,s.jsx)(p.P,{avatar:!0,back:!0}),(0,s.jsx)(u.v,{title:e("account.creator.stripe.headline"),activeStep:1,steps:(0,_.$M)()}),(0,s.jsxs)(o.K,{className:"tyiz7t1",children:[(0,s.jsx)(o.K,{className:"tyiz7t2",children:(0,s.jsx)(d.Z,{variant:"body2",children:e("account.creator.stripe.next")})}),(0,s.jsxs)(o.K,{children:[(0,s.jsx)(a._,{className:"tyiz7t4",hideStatus:!0,children:e("account.creator.stripe.business_type_label")}),(0,s.jsx)(l.P,{items:P,...m("businessType")}),(0,s.jsx)(r.B,{fieldError:f.businessType})]}),(0,s.jsxs)(o.K,{className:"tyiz7t6",children:[(0,s.jsx)(c.z,{className:"block",variant:"contained",colorTheme:"submit",typography:"title2",onClick:n,children:t?(0,s.jsx)(i.g,{}):e("account.creator.stripe.register")}),(0,s.jsx)(c.z,{variant:"text",colorTheme:"sub",typography:"title2",onClick:()=>v.replace("/setting/account"),className:"tyiz7t5",children:e("account.creator.stripe.not_now")})]})]})]})}w.getLayout=h.B},59921:function(e,t,n){"use strict";n.d(t,{$M:function(){return i},It:function(){return r}});var s=n(36609);let c=["account.creator.steps.register_creator_info","account.creator.steps.legal","account.creator.steps.finish"],r=()=>c.map(e=>(0,s.t)(e)),a=["account.creator.steps.conditions","account.creator.steps.business_type","account.creator.steps.account","account.creator.steps.finish"],i=()=>a.map(e=>(0,s.t)(e))},47002:function(){},18338:function(){},75636:function(){},39534:function(){},28181:function(){},39390:function(){}},function(e){e.O(0,[7409,5675,2989,3760,3133,4833,9601,2888,9774,179],function(){return e(e.s=39361)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.