PageSourceSearch

https://ordercheck.ai/_next/static/chunks/pages/mobile/team/create-f2fcc9f1ba92e422.js

js ordercheck.ai collected 2026-10-05 12:25:21 UTC 4,430 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8f793cdd-29b1-4859-8ef8-79912a083f39",e._sentryDebugIdIdentifier="sentry-dbid-8f793cdd-29b1-4859-8ef8-79912a083f39")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7990],{73170:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/team/create",function(){return a(96641)}])},96641:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return C}});var n=a(85893),i=a(14189),l=a(42822),o=a(67294),r=a(37701),s=a(75656),d=a(98772),u=a(76124),c=a(7277),m=a(85662),p=a(47043),f=a(15668),g=a(62909),h=a(11163),b=a(52168),y=a(41304),v=a(10838),MyTeam_TeamCreateFormBlock=()=>{let e=(0,h.useRouter)(),t=e.query.type,{uploadTeamProfile:a,createTeam:x}=(0,v.k)(),F=(0,o.useRef)(null),{formState:C,setName:_,setDescription:j,setRegions:w,setProfileFileData:T}=(0,b.y)(),{isValidating:k,isDuplicated:I,validationMessage:S,validateName:D,clearValidation:N}=(0,y.o)(),{isUploading:R,limitFiles:M,fileNumber:Z,openFileLimitModal:E,validFiles:A,handleFileChange:B,setOpenFileLimitModal:q,createFileGroupWithValidFiles:z,resetUpload:O,currentFileData:P}=(0,g.t)({limitFileCount:1,limitFileSize:5,createFileGroupMutation:a}),[U,G]=(0,o.useState)(!1),[L,$]=(0,o.useState)(!1),V=C.name.trim().length>0&&!I&&!S,handleFileInputChange=async e=>{if(!e.target.files||0===e.target.files.length){e.target.value="";return}await B(e),e.target.value=""},handleUploadFromModal=async()=>{q(!1);let e=await z();e&&T(e)},handleSubmit=async()=>{if(!V)return;let a=await D(C.name);if(a){G(!0);try{var n,i,o;let a=await x.mutateAsync({title:C.name,profileFileGroupId:null!==(o=null===(n=C.profileFileData)||void 0===n?void 0:n.fileGroupId)&&void 0!==o?o:null,possibleSidos:C.regions.map(e=>e.sidoCode),memo:C.description});if(null==a?void 0:null===(i=a.data)||void 0===i?void 0:i.data){let n=a.data.data.teamId;"schedule"===t?e.replace({pathname:l.Z.scheduleRegister,query:{step:"form",teamId:n.toString(),teamName:a.data.data.title}}):e.replace((0,f.G)(l.Z.teamDetail,{teamId:n}))}}catch(e){console.error(e)}finally{G(!1)}}};return(0,o.useEffect)(()=>{P&&T(P)},[P,T]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"column gap-2",children:[(0,n.jsx)(u.Z,{value:C.name,onChange:e=>{_(e.target.value),N()},onBlur:()=>{D(C.name)},error:S}),(0,n.jsx)(c._,{currentFileData:P,existingUrl:null,isUploading:R,onUploadClick:()=>{var e;R||null===(e=F.current)||void 0===e||e.click()},onRemove:()=>{O(),T(null)},onFileChange:handleFileInputChange,fileInputRef:F,showRemoveButton:!1}),(0,n.jsx)(m.q,{regions:C.regions,onOpenSheet:()=>{$(!0)}}),(0,n.jsx)(d.R,{value:C.description,onChange:e=>{j(e.target.value)}}),(0,n.jsxs)("section",{className:"column mx-4 gap-2 rounded-[10px] border border-border2_input_tab bg-[#F2F5FF] p-[15px]",children:[(0,n.jsx)(i.xv,{fontSize:"subtitle2",color:p.$.font.default,children:"\uD83D\uDCCC 작업자 생성 안내"}),(0,n.jsxs)("div",{className:"column gap-1",children:[(0,n.jsx)(i.xv,{fontSize:"caption",color:p.$.point.point4,children:"• 작업자 생성 후 작업자를 초대할 수 있습니다."}),(0,n.jsx)(i.xv,{fontSize:"caption",color:p.$.point.point4,children:"• 작업자 정보는 언제든지 수정할 수 있습니다."})]})]}),(0,n.jsx)(i.yh,{type:"single",mainActionText:"작업자 만들기",mainActionDisabled:!V,mainActionLoading:U||k,onClickMainAction:handleSubmit})]}),(0,n.jsx)(s.Z,{isOpen:L,onClose:()=>{$(!1)},onConfirm:e=>{w(e),$(!1)},selectedRegionList:C.regions,title:"지역 선택",buttonText:"선택 완료",isAllSelectable:!0}),(0,n.jsx)(r.Z,{openFileLimitModal:E,setOpenFileLimitModal:q,fileNumber:Z,limitFiles:M,uploadHandler:handleUploadFromModal,limitFileCount:1,limitFileSize:5})]})},x=a(84556),F=a(48498);let TeamCreatePage=()=>{let e=(0,h.useRouter)();return(0,n.jsxs)("div",{className:"column flex-1",children:[(0,n.jsx)(i.oR,{title:"작업자 생성",backButton:!0,backButtonFunction:()=>{"schedule"===e.query.type?e.replace({pathname:l.Z.scheduleRegister,query:{step:"form",teamId:"0"}}):(0,F.v)(e,l.Z.myTeam)}}),(0,n.jsx)(MyTeam_TeamCreateFormBlock,{})]})};TeamCreatePage.Template=x.Z;var C=TeamCreatePage}},function(e){e.O(0,[4469,9774,2888,179],function(){return e(e.s=73170)}),_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.