PageSourceSearch

https://ordercheck.ai/_next/static/chunks/pages/mobile/contact-f7c06bef389c8cfd.js

js ordercheck.ai collected 2026-10-05 12:23:01 UTC 27,133 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]="745dce44-a6a8-42bf-8e8e-2b18000fd6fa",e._sentryDebugIdIdentifier="sentry-dbid-745dce44-a6a8-42bf-8e8e-2b18000fd6fa")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[686],{60447:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/contact",function(){return n(77586)}])},77586:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return S}});var i=n(85893),a=n(67294),o=n(78237),l=n(4359),s=n(14189),r=n(66925),c=n(16062),Contact_ContactFilter=e=>{let{onFilterChange:t,currentFilter:n="ALL"}=e,[o,l]=(0,a.useState)(n),handleFilterChange=e=>{l(e),t(e)};return(0,a.useEffect)(()=>{l(n)},[n]),(0,i.jsx)("div",{className:"flex w-full justify-between bg-white px-4 py-3",children:(0,i.jsxs)("div",{className:"flex w-full justify-start gap-2",children:[(0,i.jsx)(s.Af,{label:"전체",type:"outlined",isSelected:"ALL"===o,size:"xs",onClick:()=>handleFilterChange("ALL")}),(0,i.jsx)(s.Af,{label:"오더체크 회원",type:"outlined",isSelected:"MEMBER_ONLY"===o,size:"xs",onClick:()=>handleFilterChange("MEMBER_ONLY")}),(0,i.jsx)(s.Af,{label:"미가입",type:"outlined",isSelected:"GUEST_ONLY"===o,size:"xs",onClick:()=>handleFilterChange("GUEST_ONLY")})]})})},d=n(13455),u=n(44035),h=n(47043),f=n(93218),Contact_ContactItem=e=>{let{name:t,phoneNumber:n,isUser:a,isNew:o=!1}=e,l=(0,f.k)(),handleCopyPhone=async e=>{e.stopPropagation();try{await navigator.clipboard.writeText(n),l.mobile_info("전화번호가 복사되었습니다.")}catch(e){l.mobile_warn("전화번호 복사에 실패했습니다.")}};return(0,i.jsxs)("div",{className:"flex items-center justify-between border-b border-border2",children:[(0,i.jsx)("div",{className:"flex w-full max-w-[70%] gap-3 py-4 pl-5",children:(0,i.jsxs)("div",{className:"row items-center gap-2 overflow-hidden",children:[(0,i.jsx)(u.Z,{fontSize:"subtitle1",color:a?h.$.font.default:h.$.font.input,className:"max-w-[100px] flex-shrink-0 truncate",children:t}),(0,i.jsx)(u.Z,{fontSize:"body1",color:a?h.$.font.default:h.$.font.input,className:"line-clamp-1 flex-grow",children:n})]})}),(0,i.jsxs)("div",{className:"row flex items-center gap-1 pr-5",children:[o?(0,i.jsx)(s.Vp,{label:"NEW",size:"s",type:"red"}):a?null:(0,i.jsx)(s.Vp,{label:"미가입",size:"s",type:"green"}),(0,i.jsx)("div",{className:"cursor-pointer rounded p-1",onClick:e=>void handleCopyPhone(e),children:(0,i.jsx)(d.Z,{className:"h-[24px] w-[24px] text-green"})})]})]})},p=n(246),C=n.n(p),Contact_ContactListBlock=e=>{let{data:{contactsData:t,contactTotalCount:n,newContactCount:o},hasNextPage:l,fetchNextPage:s,isFiltered:r}=e,c=(0,a.useMemo)(()=>{try{if(!t||!("pages"in t))return[];return t.pages.flatMap(e=>{var t,n;return null!==(n=null===(t=e.data)||void 0===t?void 0:t.content)&&void 0!==n?n:[]})}catch(e){return console.error("Error parsing contactsData:",e),[]}},[t]),{newContactList:d,oldContactList:f}=(0,a.useMemo)(()=>{let e=[],t=[],n=new Date;return null==c||c.forEach(i=>{let a=new Date(i.cardAddedDateTime),o=n.getTime()-a.getTime();r?t.push(i):o/36e5<=24?e.push(i):t.push(i)}),{newContactList:e,oldContactList:t}},[c,r]);return(0,i.jsx)("div",{className:"column w-full",children:(0,i.jsxs)(C(),{pageStart:0,loadMore:()=>{l&&setTimeout(async()=>{s&&await s()},200)},hasMore:l,loader:(0,i.jsx)("div",{className:"row h-[20vh] w-full items-center justify-center",children:(0,i.jsx)("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-point3 border-t-transparent"})},"loader"),useWindow:!0,children:[!r&&o>0&&(0,i.jsxs)("div",{className:"flex items-center gap-[4px] self-stretch bg-bg_default px-[20px] py-[4px]",children:[(0,i.jsx)(u.Z,{fontSize:"caption",color:h.$.font.normal,children:"새로 추가된 연락처"}),(0,i.jsxs)(u.Z,{fontSize:"breadcrumbs",color:h.$.font.border3_icon,children:[o,"명"]})]},"new-contacts-header"),d.map(e=>(0,i.jsx)(Contact_ContactItem,{name:e.userinfo.name,phoneNumber:e.userinfo.phoneNumber,isUser:e.isUser,isNew:!0},e.userinfo.phoneNumber)),f.length>0&&(0,i.jsxs)("div",{className:"flex items-center gap-[4px] self-stretch bg-bg_default px-[20px] py-[4px]",children:[(0,i.jsx)(u.Z,{fontSize:"caption",color:h.$.font.normal,children:"연락처"}),(0,i.jsxs)(u.Z,{fontSize:"breadcrumbs",color:h.$.font.border3_icon,children:[r?n:n-o,"명"]})]},"old-contacts-header"),f.map(e=>(0,i.jsx)(Contact_ContactItem,{name:e.userinfo.name,phoneNumber:e.userinfo.phoneNumber,isUser:e.isUser},e.userinfo.phoneNumber))]})})},m=n(15814),g=n(66029),A=n(7253),x=n(11163),Contact_ContactBlock=e=>{let{searchValue:t}=e,n=(0,x.useRouter)(),{permissionStatus:o}=(0,g.s)(),{contactsData:d,isContactsLoading:f,hasNextPage:p,fetchNextPage:C,contactTotalCount:v,newContactCount:b,onClickAsyncContact:w,openAppDownloadModal:j,setOpenAppDownloadModal:y,openPcAppGuideModal:N,setOpenPcAppGuideModal:S,setContactListMemberType:_,updateContactList:L}=(0,A.g)({query:t}),[E,M]=(0,a.useState)("ALL"),R=(0,a.useRef)(o.isGranted);return((0,a.useEffect)(()=>{t.length>0||R.current===o.isGranted||(L(),R.current=o.isGranted)},[o.isGranted,L]),(0,a.useEffect)(()=>
1{if(n.isReady){if("true"===n.query.isShowAppDownloadModal||""===n.query.isShowAppDownloadModal){(!o.isGranted||o.isLimited)&&((0,l.Dt)()&&y(!0),(0,l.gn)()&&window.webkit.messageHandlers.openAppSettings.postMessage(""));let{isShowAppDownloadModal:e,...t}=n.query;n.replace({pathname:n.pathname,query:t},void 0,{shallow:!0})}n.query.filter&&M(n.query.filter)}},[n.isReady,n]),f)?(0,i.jsxs)("div",{className:"column mt-[100px] flex w-full flex-col items-center gap-[12px] px-[20px] pb-[20px] pt-[40px]",children:[(0,i.jsx)("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-point3 border-t-transparent"}),(0,i.jsx)(u.Z,{fontSize:"subtitle1",color:h.$.font.border3_icon,children:"연락처 데이터를 불러오고 있어요."})]}):(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"column flex justify-center pb-[100px]",children:[(0,i.jsx)(Contact_ContactFilter,{onFilterChange:e=>{M(e),_(e)},currentFilter:E}),0===v?(0,i.jsxs)("div",{className:"column w-full items-center gap-3 px-5 pt-10",children:[t&&(0,i.jsx)("div",{className:"h-5"}),(0,i.jsx)(u.Z,{fontSize:"subtitle1",color:h.$.font.border3_icon,children:t?"검색 결과가 없어요.":"연락처가 비어있어요."}),o.isGranted&&("MEMBER_ONLY"!==E&&0===t.length||t.length>0)?null:(0,i.jsxs)("div",{className:"column items-center",children:[(0,i.jsx)(u.Z,{fontSize:"body1",color:h.$.font.border3_icon,children:"MEMBER_ONLY"===E&&o.isGranted?"내 연락처에 있는":"연락처를 연동해 내 연락처에 있는"}),(0,i.jsx)(u.Z,{fontSize:"body1",color:h.$.font.border3_icon,children:"프로필과 일정을 확인할 수 있어요."}),(0,i.jsx)("div",{className:"pt-5",children:(0,i.jsx)(s.Af,{label:"연락처 연동하기",type:"outlined",size:"m",onClick:()=>{w()}})})]})]}):(0,i.jsx)(Contact_ContactListBlock,{data:{contactsData:d,contactTotalCount:v,newContactCount:b},hasNextPage:p,fetchNextPage:C,isFiltered:"ALL"!==E}),(0,i.jsx)("div",{className:"mobile-layout column fixed bottom-0 left-0 right-0 z-20 items-end justify-center gap-2 bg-transparent px-4 pb-4",children:(!(0,l.tq)()||!o.isGranted||o.isLimited)&&0!==v&&(0,i.jsx)(r.Z,{onClickBanner:()=>void w()})}),(0,i.jsx)(m.Z,{open:j,toggle:()=>y(!1)}),(0,i.jsx)(c.Z,{open:N,onClose:()=>S(!1)})]})})},v=n(1188),b=n(42822),w=n(82641),j=n(84556),y=n(48498),N=n(1352);let RefreshIcon=e=>{let{className:t}=e;return(0,i.jsx)("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z",fill:h.$.font.normal})})},ContactPage=()=>{let e=(0,x.useRouter)(),[t,n]=(0,a.useState)(""),[l,s]=(0,a.useState)(!1),r=(0,a.useRef)(null),d=(0,N.Z)(t,250),{isLoading:u,handleSyncContacts:f}=(0,A.g)({}),onSyncContacts=async()=>{let{openSyncContactsModal:e}=await f();s(e)};return(0,i.jsxs)("div",{className:"column flex justify-center",children:[(0,i.jsxs)("div",{className:"row items-center gap-3 px-4 py-[6px]",children:[(0,i.jsx)(w.Z,{inputSize:"small",ref:r,isFocus:!1,placeholder:"전화번호, 이름 검색",value:t,onChange:e=>n(e.target.value)}),(0,i.jsx)("div",{className:"cursor-pointer",onClick:()=>void onSyncContacts(),children:(0,i.jsx)(RefreshIcon,{className:"transition-transform ".concat(u?"animate-spin":"")})}),(0,i.jsx)("div",{className:"cursor-pointer",onClick:()=>{n(""),(0,y.v)(e,b.Z.myPage)},children:(0,i.jsx)(v.I,{source:o.Z,color:h.$.font.normal,size:"size24"})})]}),(0,i.jsx)(Contact_ContactBlock,{searchValue:d}),(0,i.jsx)(c.Z,{open:l,onClose:()=>s(!1)})]})};ContactPage.Template=j.Z;var S=ContactPage},13455:function(e,t,n){"use strict";var i=n(85893);t.Z=e=>(0,i.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,i.jsx)("g",{"clip-path":"url(#clip0_17547_4143)",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.85461 1.27658C8.88597 0.994283 9.14024 0.79086 9.42254 0.822221C10.8913 0.985393 12.261 1.64315 13.3067 2.68748C14.3523 3.73182 15.0118 5.10067 15.1768 6.56927C15.2085 6.85152 15.0054 7.10605 14.7232 7.13776C14.4409 7.16948 14.1864 6.96638 14.1547 6.68412C14.0157 5.4474 13.4604 4.29469 12.5798 3.41525C11.6993 2.53581 10.5459 1.98191 9.30897 1.8445C9.02667 1.81314 8.82325 1.55887 8.85461 1.27658ZM4.00477 2.9722C3.77234 2.85463 3.49785 2.85463 3.26542 2.9722C3.16704 3.02195 3.05813 3.12172 2.67525 3.5046L2.57016 3.60969C2.20135 3.97851 2.08334 4.10218 1.99044 4.26756C1.88429 4.45652 1.79941 4.78289 1.80006 4.99963C1.80064 5.19329 1.83214 5.31503 1.94155 5.70048C2.4922 7.64055 3.53101 9.47135 5.05941 10.9997C6.5878 12.5281 8.4186 13.567 10.3587 14.1176C10.7441 14.227 10.8659 14.2585 11.0595 14.2591C11.2763 14.2597 11.6026 14.1749 11.7916 14.0687C11.957 13.9758 12.0806 13.8578 12.4495 13.489L12.5545 13.3839C12.9374 13.001 13.0372 12.8921 13.087 12.7937C13.2045 12.5613 13.2045 12.2868 13.087 12.0544C13.0372 11.956 12.9374 11.8471 12.5545 11.4642L12.8778 11.141L12.5545 11.4642L12.4246 11.3343C12.173 11.0827 12.1018 11.0154 12.0412 10.976C11.7697 10.7995 11.4197 10.7995 11.1483 10.976C11.0877 11.0154 11.0164 11.0827 10.7648 11.3343C10.7599 11.3392 10.755 11.3441 10.75 11.3491C10.6887 11.4105 10.6218 11.4776 10.5417 11.535C10.2551 11.7402 9.86211 11.8072 9.52366 11.7086C9.42938 11.6811 9.35208 11.6439 9.28252 11.6104C9.27754 11.608 9.2726 11.6056 9.2677 11.6033C8.24969 11.1145 7.29607 10.4484 6.45342 9.60573C5.61076 8.76307 4.94465 7.80946 4.45588 6.79144C4.45352 6.78654 4.45115 6.7816 4.44875 6.77663C4.41526 6.70706 4.37804 6.62977 4.35056 6.53549L4.8443 6.39156L4.35056 6.53549C4.2519 6.19704 4.31891 5.80409 4.52415 5.51746L4.52415 5.51746C4.58152 5.43734 4.64862 5.37041 4.71004 5.30913C4.71502 5.30417 4.71995 5.29925 4.72484 5.29436C4.97648 5.04272 5.04373 4.97148 5.08313 4.91089L5.08313 4.91089C5.25963 4.63942 5.25963 4.28945 5.08313 4.01798C5.04373 3.95739 4.97648 3.88615 4.72484 3.63451L4.59493 3.5046C4.21205 3.12172 4.10314 3.02195 4.00477 2.9722ZM2.80117 2.05435C3.32549 1.78915 3.94469 1.78915 4.46901 2.05435C4.73457 2.18867 4.96757 2.42206 5.26565 2.72064C5.28425 2.73927 5.30311 2.75816 5.32224 2.77729L5.45215 2.9072C5.46475 2.9198 5.47719 2.93222 5.48945 2.94448C5.68596 3.14076 5.83911 3.29375 5.94546 3.45732C6.34362 4.0697 6.34362 4.85917 5.94546 5.47156L5.51429 5.19122L5.94546 5.47156C5.83911 5.63513 5.68595 5.788
111 5.48945 5.9844C5.47719 5.99665 5.46475 6.00907 5.45215 6.02167C5.4118 6.06202 5.39018 6.08373 5.37429 6.10072C5.36114 6.11477 5.35931 6.11783 5.36038 6.11635C5.33898 6.14632 5.32774 6.21232 5.33803 6.24764L5.3381 6.24786C5.33847 6.24916 5.33938 6.25234 5.34431 6.26369C5.35152 6.28026 5.3617 6.30165 5.38311 6.34625C5.82234 7.26106 6.42128 8.11897 7.18073 8.87842C7.94018 9.63787 8.79808 10.2368 9.71289 10.676L9.49178 11.1366L9.71289 10.676C9.7575 10.6974 9.77889 10.7076 9.79545 10.7148C9.8068 10.7198 9.80998 10.7207 9.81129 10.721L9.81151 10.7211L9.68218 11.1648L9.81151 10.7211C9.84686 10.7314 9.91292 10.7202 9.94287 10.6987C9.94123 10.6999 9.94417 10.6982 9.95843 10.6849C9.97541 10.669 9.99713 10.6473 10.0375 10.607C10.0501 10.5944 10.0625 10.582 10.0748 10.5697C10.271 10.3732 10.424 10.22 10.5876 10.1137C11.2 9.71553 11.9894 9.71553 12.6018 10.1137C12.7654 10.22 12.9184 10.3732 13.1147 10.5697C13.1269 10.582 13.1393 10.5944 13.1519 10.607L13.2819 10.7369C13.301 10.756 13.3199 10.7749 13.3385 10.7935C13.6371 11.0916 13.8705 11.3246 14.0048 11.5901C14.27 12.1145 14.27 12.7337 14.0048 13.258C13.8705 13.5235 13.6371 13.7565 13.3385 14.0546C13.3199 14.0732 13.301 14.0921 13.2819 14.1112L13.1768 14.2163C13.1638 14.2292 13.151 14.2421 13.1384 14.2547C12.8217 14.5716 12.5979 14.7955 12.2953 14.9655C11.9516 15.1586 11.4507 15.2888 11.0565 15.2877C10.7098 15.2866 10.4598 15.2156 10.1094 15.116C10.0989 15.1131 10.0884 15.1101 10.0778 15.1071C7.97336 14.5098 5.98768 13.3826 4.3321 11.727C2.67652 10.0715 1.54937 8.08579 0.952059 5.98133C0.949048 5.97072 0.946061 5.96021 0.9431 5.94978C0.843564 5.59939 0.772523 5.34931 0.771492 5.00269C0.770319 4.60847 0.900596 4.10751 1.09367 3.7638L1.54205 4.01568L1.09367 3.7638C1.26365 3.46122 1.48754 3.23747 1.80444 2.92078C1.81709 2.90813 1.8299 2.89534 1.84285 2.88238L1.94794 2.77729C1.96708 2.75816 1.98593 2.73927 2.00454 2.72064C2.30261 2.42206 2.53561 2.18867 2.80117 2.05435L3.02521 2.4973L2.80117 2.05435ZM8.86098 3.90155C8.91537 3.62277 9.18546 3.44087 9.46424 3.49526C10.2159 3.6419 10.9066 4.0095 11.4481 4.551C11.9896 5.09249 12.3572 5.78326 12.5039 6.53488C12.5582 6.81365 12.3763 7.08374 12.0976 7.13813C11.8188 7.19252 11.5487 7.01062 11.4943 6.73184C11.3869 6.18115 11.1175 5.67505 10.7208 5.27831C10.3241 4.88157 9.81796 4.61224 9.26727 4.5048C8.98849 4.45041 8.80659 4.18032 8.86098 3.90155Z",fill:"currentColor"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_17547_4143",children:(0,i.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]})},27751:function(e,t,n){"use strict";var i=n(85893);t.Z=e=>(0,i.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.16611 3.2147C5.8787 3.2147 3.21373 5.87968 3.21373 9.16709C3.21373 12.4545 5.8787 15.1195 9.16611 15.1195C10.7732 15.1195 12.2315 14.4826 13.3024 13.4475C13.3226 13.4206 13.3449 13.3948 13.3694 13.3703C13.3938 13.3459 13.4196 13.3236 13.4465 13.3034C14.4816 12.2325 15.1185 10.7741 15.1185 9.16709C15.1185 5.87968 12.4535 3.2147 9.16611 3.2147ZM14.866 13.8568C15.9163 12.5817 16.5471 10.948 16.5471 9.16709C16.5471 5.0907 13.2425 1.78613 9.16611 1.78613C5.08972 1.78613 1.78516 5.0907 1.78516 9.16709C1.78516 13.2435 5.08972 16.548 9.16611 16.548C10.9471 16.548 12.5807 15.9173 13.8558 14.8669L16.9944 18.0055C17.2733 18.2844 17.7256 18.2844 18.0045 18.0055C18.2835 17.7265 18.2835 17.2743 18.0045 16.9953L14.866 13.8568Z",fill:"currentColor"})})},82641:function(e,t,n){"use strict";var i=n(85893),a=n(47043),o=n(67294),l=n(1188),s=n(27751);let r=(0,o.forwardRef)(function(e,t){let{isFocus:n,inputSize:r,value:c,maxLength:d,...u}=e;return o.useEffect(()=>{if(n){var e;null===(e=t.current)||void 0===e||e.focus()}},[n,t]),(0,i.jsx)("div",{className:"flex w-full flex-row gap-1",children:(0,i.jsxs)("div",{className:"relative w-full ".concat("small"===r?"h-9":"h-11"),children:[(0,i.jsx)("div",{className:"absolute ".concat("small"===r?"left-3 top-2":"left-3 top-3"),children:(0,i.jsx)(l.I,{source:s.Z,color:a.$.font.normal,size:"size20"})}),(0,i.jsx)("input",{ref:t,...u,className:"focus:border-1 h-full w-full rounded border border-transparent bg-bg_default py-2 pl-10 pr-3 text-sm font-normal text-default placeholder-font-input focus:outline focus:outline-ic_unselected",value:c,maxLength:d})]})})});r.displayName="SearchInput",t.Z=r},16062:function(e,t,n){"use strict";var i=n(85893),a=n(18509),o=n(14189),l=n(71508),s=n(44035),r=n(47043);t.Z=e=>{let{open:t,onClose:n}=e;return(0,i.jsx)(o.P0,{open:t,onOpenChange:()=>n(),title:"앱 안내",buttonType:"single",children:(0,i.jsxs)("div",{className:"column items-center gap-4 px-6 py-2",children:[(0,i.jsx)(s.Z,{fontSize:"body1",color:r.$.font.normal,children:"앱에서 연락처 연동이 가능합니다."}),(0,i.jsx)(s.Z,{fontSize:"body1",color:r.$.font.border3_icon,children:"QR코드를 스캔하여 앱을 설치해주세요."}),(0,i.jsxs)("div",{className:"row justify-center gap-10",children:[(0,i.jsxs)("div",{className:"column items-center gap-2",children:[(0,i.jsx)(l.t,{value:a.m_,size:120,level:"M"}),(0,i.jsx)(s.Z,{fontSize:"caption",color:r.$.font.border3_icon,children:"App Store"})]}),(0,i.jsxs)("div",{className:"column items-center gap-2",children:[(0,i.jsx)(l.t,{value:a.Pd,size:120,level:"M"}),(0,i.jsx)(s.Z,{fontSize:"caption",color:r.$.font.border3_icon,children:"Google Play"})]})]})]})})}},66925:function(e,t,n){"use strict";n.d(t,{Z:function(){return Contact_ContactBanner}});var i=n(85893),a=n(14189),o=n(25675),l=n.n(o),s=n(44035),r=n(47043),c=n(4359),d={src:"/_next/static/media/profileCard.7ae88073.png",height:72,width:72,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAARVBMVEVMaXGPxPulz/2z2P3B3v1dp/jW6v7Q5f6u1f2p0v3F3/262v2izPxxs/l7vfprpveTyftjp/dTmfbX6v6izvygzfyCt/lIPb7lAAAAFXRSTlMA/Ov9/CgaD+v9BXTUsHqaUN/T/fVC8aC0AAAACXBIWXMAACE4AAAhOAFFljFgAAAAP0lEQVR4nB3LSRKAIAwAwQFCFnC34v+faumlbw2Ajc++refVoZcs5dnhiCYSy0BDbomqmLeWWQ2mV/f5Z1WDFzz4AaxoQYZJAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},u=n(66029),h=n(67294),Contact_ContactBanner=e=>{let{onClickBanner:t}=e,{permissionStatus:n}=(0,u.s)(),{id:o,text:f,cta:p}=(0,h.useMemo)(()=>n.isGranted?n.isGranted&&n.isLimited?{id:"click-async-contact-banner-limited-btn",text:"접근 권한을 전체 허용으로 변경해주세요.",cta:"설정하기"}:{id:"",text:"",cta:""}:(0,c.LO)()?{id:"click-async-contact-banner-app-btn",text:"연락처를 연동해 동료 기사를 추가하세요.",cta:"연동하기"}:{id:"click-async-contact-banner-web-btn",text:"앱에서 나의 연락처를 연동할 수 있어요.",cta:"연동하기"},[n]);return(0,i.jsxs)("div",{className:"row sm-shadow w-full cursor-pointer items-center gap-2 rounded-xl border border-point3 bg-white/70 px-4 py-3",onClick:t,id:o,children:[n.isGranted&&n.isLimited?(0,i.jsx)(a.JO,{source:a.aN,size:"size24"}):(0,i.jsx)(l(),{src:d,alt:"profileCard",width:24,height:24}),(0,i.jsx)(s.Z,{fontSize:"subtitle2",color:r.$.point.point3,className:"flex-1",children:f}),p&&(0,i.jsx)(s.Z,{fontSize:"subtitle2",color:r.$.font.white,className:"shrink-0 rounded-full bg-point3 px-3 py-1",children:p})]})}},15814:function(e,t,n){"use strict";n.d(t,{Z:function(){return Contact_ContactSettingModal}});var i=n(85893);n(49321),n(16780);var a=n(67294),o=n(68278),l={src:"/_next/static/media/contact_setting_1.6ce35147.png",height:684,width:864,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAD1BMVEUFBQU0NTYVFRU/QUMiJCYoItK9AAAACXBIWXMAACE4AAAhOAFFljFgAAAAJUlEQVR4nD2IsQ0AMAyDwMn/N1fxUAYLgyYB2L09eltScFTHLw8GEQA/SXbRcwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:6},s={src:"/_next/static/media/contact_setting_2.27514244.png",height:684,width:864,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAElBMVEUcHBwUFBQwMDAnKClAQEBOTk5fMBT1AAAACXBIWXMAACE4AAAhOAFFljFgAAAAJUlEQVR4nCXGsREAAAgCsRdw/5U9NVXA1AL7SgEXrC0onaSD9QYGmwBPvOqxCAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:6},r={src:"/_next/static/media/contact_setting_3.82d4cba8.png",height:684,width:864,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAD1BMVEUUFRUnJygzMzM9PT1PT0/ZiCsmAAAACXBIWXMAACE4AAAhOAFFljFgAAAAJElEQVR4nDXJwQkAAAzCQFO7/8xFikfAh1LBBLK9SQAD/JmpAwaAADacVfehAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:6},c=n(25675),d=n.n(c),u=n(86017),h=n(46066),f=n(44035),p=n(47689),C=n(47043),m=n(4359),g=n(56183),A=n.n(g),Contact_ContactSettingModal=e=>{let{open:t,toggle:n}=e;(0,a.useEffect)(()=>{t||(0,p.hI)()},[t]);let c=(0,a.useCallback)(async()=>{try{await (0,p.hI)()}catch(e){console.error("연락처 권한 확인 중 오류 발생:",e)}},[]);return(0,i.jsx)(u.Z,{open:t,toggle:n,title:"",mainButton:(0,i.jsx)(o.x,{className:"w-full",primary2:!0,md:!0,onClick:()=>{(0,m.Dt)()&&(window.Android.openAppSettings(),document.addEventListener("visibilitychange",async function onVisibilityChange(){"visible"===document.visibilityState&&(await c(),document.removeEventListener("visibilitychange",onVisibilityChange))})),(0,m.gn)()&&window.webkit.messageHandlers.openAppSettings.postMessage("")},children:"설정하러 가기"}),children:(0,i.jsxs)("div",{className:"column gap-6 pb-6",children:[(0,i.jsxs)("div",{className:"column gap-3",children:[(0,i.jsx)(f.Z,{fontSize:"subtitle1",color:C.$.font.default,children:"더 많은 프로필을 추가하기 위해 연락처 권한을 허용해주세요!"}),(0,i.jsx)(f.Z,{fontSize:"body1",color:C.$.font.normal,children:"권한 > 연락처 > 허용"})]}),(0,i.jsx)("div",{className:A().sliderContainer,children:(0,i.jsxs)(h.Z,{dots:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,arrows:!1,autoplay:!0,autoplaySpeed:2e3,pauseOnHover:!0,pauseOnFocus:!0,children:[(0,i.jsx)("div",{className:"px-[6px]",children:(0,i.jsx)(d(),{src:l,alt:"연락처 설정 가이드 1",width:300,height:300})}),(0,i.jsx)("div",{className:"px-[6px]",children:(0,i.jsx)(d(),{src:s,alt:"연락처 설정 가이드 2",width:300,height:300})}),(0,i.jsx)("div",{className:"px-[6px]",children:(0,i.jsx)(d(),{src:r,alt:"연락처 설정 가이드 3",width:300,height:300})})]})})]})})}},84556:function(e,t,n){"use strict";n.d(t,{Z:function(){return templates}});var i=n(85893),a=n(82596),o=n(4359),l=n(67294),react_useRootClassName=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];let s=l.useMemo(()=>(0,a.cn)(...n),[n]);l.useEffect(()=>{if(!(0,o.jU)())return;let t=document.querySelector(e);
1if(!t)return;let n=t.className;return t.className=n?"".concat(n," ").concat(s):s,()=>{t.className.includes(s)&&(t.className=n)}},[s,e])},templates_MobileTemplate=function(e){let{children:t}=e;return react_useRootClassName("body"),react_useRootClassName("#__next","mobile-layout min-h-full column justify-start items-stretch "),(0,i.jsx)(i.Fragment,{children:t})},s=n(2039),templates=e=>{let[t,n]=l.useState(!1);return(l.useEffect(()=>{n(!0)},[]),(0,s.Z)(),t)?(0,i.jsx)(templates_MobileTemplate,{children:(0,i.jsx)(i.Fragment,{children:e.children})}):(0,i.jsx)(i.Fragment,{})}},1352:function(e,t,n){"use strict";n.d(t,{Z:function(){return useDebounce}});var i=n(67294);function useDebounce(e,t){let[n,a]=(0,i.useState)(e);return(0,i.useEffect)(()=>{let n=setTimeout(()=>{a(e)},t);return()=>clearTimeout(n)},[e,t]),n}},2039:function(e,t,n){"use strict";var i=n(6245),a=n(13382),o=n(97749),l=n(93218),s=n(76890),r=n(70238),c=n(11163),d=n(67294);t.Z=function(e){var t,n,u,h,f,p,C,m,g,A,x;let{required:v=!0}=null!=e?e:{},b=(0,c.useRouter)(),[w]=(0,s.Z)(r.M3),j=(0,i.GA)(),y=null===(t=(0,a.h7)(null!==(A=null===(u=j.data)||void 0===u?void 0:null===(n=u.data)||void 0===n?void 0:n.userId)&&void 0!==A?A:NaN).data)||void 0===t?void 0:t.data,{info:N}=(0,l.k)(),[S,_]=d.useReducer(e=>!e,!1),[L,E]=d.useReducer(e=>!e,!1),M=(0,o.n6)(null!==(x=null===(f=j.data)||void 0===f?void 0:null===(h=f.data)||void 0===h?void 0:h.userId)&&void 0!==x?x:NaN);return d.useEffect(()=>{if(y&&b.isReady&&void 0!==w&&v&&!j.isError&&w){if(j.isSuccess&&!b.pathname.startsWith("/mobile/signup")&&!b.pathname.startsWith("/mobile/invite/success")){var e,t,n,i;(null===(t=j.data)||void 0===t?void 0:null===(e=t.data)||void 0===e?void 0:e.name)&&""!=j.data.data.name?0===y.length&&E():_(),!(y.length>0)||(null===(n=j.data.data)||void 0===n?void 0:n.currentCompany)||M.mutateAsync(null!==(i=null==y?void 0:y[0].company.id)&&void 0!==i?i:NaN)}return}},[N,null==y?void 0:y.length,null===(C=j.data)||void 0===C?void 0:null===(p=C.data)||void 0===p?void 0:p.currentCompany,null===(g=j.data)||void 0===g?void 0:null===(m=g.data)||void 0===m?void 0:m.name,j.isError,j.isSuccess,v,b,w,y]),{nameOpen:S,nameToggle:_,companyOpen:L,companyToggle:E}}},48498:function(e,t,n){"use strict";n.d(t,{v:function(){return navigateBackOrFallback}});var i=n(4359);let navigateBackOrFallbackIOS=async function(e){var t,n,i;let a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",l=null===(t=window.history)||void 0===t?void 0:t.state,s=l&&"number"==typeof l.idx&&l.idx>0,r="undefined"!=typeof document?document.referrer:"",c=!!r&&r.startsWith(window.location.origin),d=window.location.href,u=r===d,h=window.history.length>1;if(console.log("\uD83C\uDF4E iOS Navigation Debug:",{canGoBackByIdx:s,sameOriginReferrer:c,isSamePageReferrer:u,canGoBackByLength:h,historyState:l,historyLength:null===(i=window)||void 0===i?void 0:null===(n=i.history)||void 0===n?void 0:n.length,referrer:r,currentUrl:d}),u)return console.log("⚠️ Same page referrer detected (iOS), using fallback"),e.replace(o);if(!(s||c||h))return e.replace(o);let f=window.location.href,p=!1,C=!1,onRouteChangeStart=e=>{e!==f&&(p=!0,cleanup())},onRouteChange=e=>{p=e!==f,cleanup()},onPopState=()=>{p=window.location.href!==f,cleanup()},cleanup=()=>{C||(C=!0,window.removeEventListener("popstate",onPopState),e.events.off("routeChangeStart",onRouteChangeStart),e.events.off("routeChangeComplete",onRouteChange),a&&(window.clearTimeout(a),a=void 0),p||e.replace(o))};window.addEventListener("popstate",onPopState),e.events.on("routeChangeStart",onRouteChangeStart),e.events.on("routeChangeComplete",onRouteChange),e.back(),a=window.setTimeout(()=>{cleanup()},400)},navigateBackOrFallbackAndroid=function(e){var t,n,i;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",o=null===(t=window.history)||void 0===t?void 0:t.state,l=o&&"number"==typeof o.idx&&o.idx>0,s="undefined"!=typeof document?document.referrer:"",r=!!s&&s.startsWith(window.location.origin),c=window.location.href,d=s===c,u=window.history.length>1;if(console.log("\uD83D\uDD0D Navigation Debug:",{canGoBackByIdx:l,sameOriginReferrer:r,isSamePageReferrer:d,canGoBackByLength:u,historyState:o,historyLength:null===(i=window)||void 0===i?void 0:null===(n=i.history)||void 0===n?void 0:n.length,referrer:s,currentUrl:c}),d){console.log("⚠️ Same page referrer detected, using fallback"),e.replace(a);return}l||r||u?e.back():e.replace(a)},navigateBackOrFallback=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";return(0,i.gn)()?navigateBackOrFallbackIOS(e,t):navigateBackOrFallbackA
1ndroid(e,t)}},16780:function(){},49321:function(){},56183:function(e){e.exports={sliderContainer:"ContactSettingModal_sliderContainer__GGdWR"}}},function(e){e.O(0,[1508,6066,7253,9774,2888,179],function(){return e(e.s=60447)}),_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.