PageSourceSearch

https://tarotmoon.co.kr/_next/static/chunks/pages/master/info-bb25cad7006e5b43.js

js tarotmoon.co.kr collected 2026-10-02 02:01:54 UTC 179,722 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9837],{2593:(t,e,n)=>{"use strict";n.d(e,{A:()=>a}),n(14232);var i=n(77232),o=n(37876),r=i.Ay.div.withConfig({displayName:"BottomSmallIcon__BottomBlock",componentId:"sc-4k769c-0"})(["width:20px;height:20px;float:right;svg{width:20px;height:20px;cursor:pointer;}#hover{display:none;}#pressed{display:none;}#disabled{display:none;}&:hover{#normal{display:none;}#hover{display:block;}#pressed{display:none;}#disabled{display:none;}}&:active{#normal{display:none;}#hover{display:none;}#pressed{display:block;}#disabled{display:none;}}"]);let a=function(){return(0,o.jsxs)(r,{children:[(0,o.jsx)("svg",{id:"normal",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:(0,o.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,o.jsxs)("g",{children:[(0,o.jsx)("path",{d:"M0 0L20 0 20 20 0 20z",opacity:".8"}),(0,o.jsx)("path",{fill:"#645A82",d:"M5.833 8.333L10 12.5 14.167 8.333z"})]})})}),(0,o.jsx)("svg",{id:"hover",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:(0,o.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,o.jsxs)("g",{children:[(0,o.jsx)("path",{d:"M0 0L20 0 20 20 0 20z",opacity:".8"}),(0,o.jsx)("path",{fill:"#7A6F98",d:"M5.833 8.333L10 12.5 14.167 8.333z"})]})})}),(0,o.jsx)("svg",{id:"pressed",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:(0,o.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,o.jsxs)("g",{children:[(0,o.jsx)("path",{d:"M0 0L20 0 20 20 0 20z",opacity:".8"}),(0,o.jsx)("path",{fill:"#3B3153",d:"M5.833 8.333L10 12.5 14.167 8.333z"})]})})}),(0,o.jsx)("svg",{id:"disabled",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:(0,o.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,o.jsxs)("g",{children:[(0,o.jsx)("path",{d:"M0 0L20 0 20 20 0 20z",opacity:".8"}),(0,o.jsx)("path",{fill:"#CEC5E0",d:"M5.833 8.333L10 12.5 14.167 8.333z"})]})})})]})}},22867:(t,e,n)=>{"use strict";n.d(e,{s0:()=>o,x7:()=>i});var i=function(t){return t.END="상담완료",t.WAIT="답장대기",t.REFUND="환불처리",t.EXPIRE="기한만료",t}({}),o=function(t){return t.PREPAID="전화",t.POSTPAID="ARS",t.ARS="ARS",t.MESSAGE="쪽지",t.CHAT="채팅",t.VOICE="음성",t.VIDEO="화상",t}({})},29451:(t,e,n)=>{"use strict";n.d(e,{A:()=>j});
1var i,o,r=n(45794),a=n(32228),l=n(3061),s=n(89099),c=n(14232),d=n(77232),p=n(446),h=n(77962),x=n(37876),f=d.Ay.div.withConfig({displayName:"LightSolidLabel__LightSolidBlock",componentId:"sc-qt4ovh-0"})(["height:20px;padding:3px 5px;border-radius:4px;border:none;float:left;background-color:var(--PG300);cursor:default;p{width:100%;height:14px;float:left;font-family:NotoSansCJKkr;font-size:10px;font-weight:500;font-stretch:normal;font-style:normal;line-height:14px;letter-spacing:normal;text-align:center;color:var(--PG700);}"]);let m=function(t){var e=t.title;return(0,x.jsx)(f,{children:(0,x.jsx)("p",{children:e})})};var g=n(22371),u=c.useState,w=(0,d.i7)(["0%{opacity:0;}100%{opacity:0.8;}"]),v=d.Ay.div.withConfig({displayName:"StoryInfoModal__ModalContainer",componentId:"sc-1khfo5m-0"})(["position:fixed;top:50%;left:50%;z-index:3;width:414px;max-width:414px;height:80%;max-height:699px;border-radius:8px;background-color:var(--PG100);animation:"," 0.25s ease-in-out;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);",""],w,function(t){return t.theme.mobile(i||(i=(0,a.A)(["\n        width: 100%;\n        max-width: 100%;\n        height: 100%;\n        max-height: 100%;\n        border-radius: 0;\n    "])))}),y=d.Ay.div.withConfig({displayName:"StoryInfoModal__ModalOverlay",componentId:"sc-1khfo5m-1"})(["transition:5s linear;position:fixed;top:0;left:0;bottom:0;right:0;opacity:0.8;background-color:#000000;z-index:3;overflow:hidden;animation:"," 0.25s ease-in-out;"],w);let j=function(t){(0,s.useRouter)();var e=(0,s.useRouter)().push,n=u({id:0,name:null,review_count:0,average_star:null}),i=(0,r.A)(n,2),o=i[0],a=i[1],d=u([{id:0,story_id:0,path:null,order:null}]),f=(0,r.A)(d,2),w=f[0],j=f[1],N=u([]),S=(0,r.A)(N,2),L=S[0],I=S[1],P=L.filter(function(t){if(!0===t.highlight)return!0}),G=t.story_id,z=t.master_id,M=t.master_hide;(0,c.useEffect)(function(){h.A.get("/api/master/story/view",{params:{story_id:G}}).then(function(t){return j(t.data.data.master_story_list)}),h.A.get("/api/master/view",{params:{master_id:z}}).then(function(t){if(null!==t.data.data){var e=t.data.data;a(e.master_detail),I(e.master_detail.master_consult_category)}else console.log("error")})},[]);var T=(0,p.A)();return(0,c.useEffect)(function(){if(T.width>1023);else{var e=function(){t.getPreventGoBack("getPreventGoBack")};return history.pushState(null,"",location.href),window.addEventListener("popstate",e),function(){return window.removeEventListener("popstate",e)}}},[T.width]),(0,x.jsx)(c.Fragment,{children:(0,x.jsxs)(c.Fragment,{children:[(0,x.jsx)(y,{}),(0,x.jsxs)(v,{id:"modal",children:[(0,x.jsx)(A,{children:(0,x.jsxs)(_,{children:[(0,x.jsx)("label",{children:o.name}),(0,x.jsx)(b,{onClick:t.isModalClose,children:(0,x.jsx)(g.A,{})})]})}),(0,x.jsx)(C,{children:(0,x.jsx)("div",{className:"storyInfoInner",onClick:function(){document.body.style.overflow="unset",document.body.classList.remove("not_scroll"),e("/master/info/?id=".concat(t.master_id),void 0,{shallow:!0})},children:w.map(function(t){return(0,x.jsx)("div",{children:null!==t.path?(0,x.jsx)("img",{src:t.path,alt:"master_story_list",className:"storyImg"}):(0,x.jsx)("div",{className:"storyImgEmpty"})},t.id)})})}),(0,x.jsxs)(k,{children:[(0,x.jsxs)("div",{className:"master",children:[(0,x.jsx)("div",{className:"id",children:(0,x.jsxs)("label",{children:[o.name," ",(0,x.jsx)("label",{className:"point",children:o.id})]})}),(0,x.jsxs)("div",{className:"info",children:[(0,x.jsxs)("div",{className:"review",children:[(0,x.jsx)("div",{className:"starIcon",children:(0,x.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/icon-star.svg"),alt:"Star",width:20,height:20})}),(0,x.jsx)("label",{className:"average_start",children:null!==o.average_star?o.average_star:"-"}),(0,x.jsxs)("label",{className:"reviewNumber",children:["(",function(t){if(0===o.review_count)return"-";if(o.review_count>0&&o.review_count<=9)return o.review_count;if(o.review_count>=10&&o.review_count<=49)return"10+";if(o.review_count>=50&&o.review_count<=99)return"50+";if(o.review_count>=100&&o.review_count<=9999)return 100*Math.floor(o.review_count/100)+"+";else return"9999+"}(o.review_count),")"]})]}),(0,x.jsx)("div",{className:"category",children:0!==L.length?(0,x.jsx)(x.Fragment,{children:P.slice(0,3).map(function(t){return(0,x.jsx)(x.Fragment,{children:(0,x.jsx)("div",{className:"categoryWrap",children:(0,x.jsx)(m,{title:t.code_name})})})})}):(0,x.jsx)("div",{className:"categoryWrap",children:(0,x.jsx)(m,{title:"-"})})})]})]}),1===M?(0,x.jsx)(l.A,{title:"프로필 바로가기",onClick:t.handleHideMaster}):(0,x.jsx)(l.A,{title:"프로필 바로가기",onClick:t.handleSubmit})]})]})]})})};var b=d.Ay.div.withConfig({displayName:"StoryInfoModal__CloseWrap",componentId:"sc-1khfo5m-2"})(["float:right;width:24px;height:24px;position:absolute;right:16px;"]),A=d.Ay.div.withConfig({displayName:"StoryInfoModal__TextWrap",componentId:"sc-1khfo5m-3"})(["float:left;width:100%;position:initial;top:0;overflow:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;"]),_=d.Ay.div.withConfig({displayName:"StoryInfoModal__TitleLabel",componentId:"sc-1khfo5m-4"})(["width:100%;height:48px;text-align:center;padding:12px;text-align:center;border-bottom:1px solid var(--PG200);label{width:100%;height:24px;float:left;font-family:NotoSansCJKkr;font-size:16px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:24px;letter-spacing:normal;text-align:center !important;color:var(--PG900);}"]),C=d.Ay.div.withConfig({displayName:"StoryInfoModal__InfoWrapper",componentId:"sc-1khfo5m-5"})(["width:100%;height:calc(100% - 160px - 48px);overflow-y:scroll;float:left;cursor:pointer;padding:12px 24px 36px 24px;.storyImg{width:100%;border-radius:6.7px;margin:12px 0;float:left;}.storyImgEmpty{width:100%;border-radius:6.7px;margin:12px 0;float:left;background-color:var(--PG300);}.storyInfoInner{float:left;width:100%;}",""],function(t){return t.theme.mobile(o||(o=(0,a.A)(["\n        border-top-left-radius: 0;\n        border-top-right-radius: 0;\n    "])))}),k=d.Ay.div.withConfig({displayName:"StoryInfoModal__ProfileWrap",componentId:"sc-1khfo5m-6"})(["width:100%;height:160px;background-color:var(--white);border-top:1px solid var(--PG200);padding:24px;position:fixed;bottom:0;border-bottom-left-radius:8px;border-bottom-right-radius:8px;.master{width:100%;float:left;.id{width:100%:height:24px;label{height:24px;font-family:NotoSansCJKkr;font-size:16px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:24px;letter-spacing:normal;color:var(--PG800);.point{color:var(--P400);}}}.info{width:100%;height:20px;float:left;margin:16px 0;.review{width:30%;height:20px;float:left;.starIcon{width:20px;height:20px;float:left;}label{font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG800);float:left;}.average_start{height:20px;font-family:NotoSansCJKkr;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG800);}.reviewNumber{color:var(--PG600);}}.category{float:right;height:20px;margin:0 -4px;.categoryWrap{float:left;margin:0 4px;}}}}"])},33341:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(77232),o=n(37876),r=i.Ay.button.withConfig({displayName:"LightSolidButton2Fix__LargeLineButton",componentId:"sc-12skzxw-0"})(["width:100%;height:56px;border:none;border-radius:8px;float:left;background-color:var(--PG300);color:var(--PG700);#active{background-color:var(--PG600);p{color:var(--PG100);}}p{height:24px !important;font-family:NotoSansCJKkr;font-size:16px !important;font-weight:bold !important;font-stretch:normal;font-style:normal;line-height:24px !important;letter-spacing:normal;text-align:center !important;color:var(--PG700) !important;}&:hover{background-color:var(--PG300);p{color:var(--PG600) !important;}}&:active{background-color:var(--PG300);p{color:var(--PG800) !important;}}&:disabled{background-color:var(--PG300);p{color:var(--PG500) !important;}cursor:default;}"]);
1let a=function(t){var e=t.title,n=t.isDisabled,i=t.onClick;return(0,o.jsx)(r,{disabled:n,onClick:i,children:(0,o.jsx)("p",{children:e})})}},39524:(t,e,n)=>{"use strict";n.d(e,{rB:()=>c,w7:()=>d,zj:()=>p});var i=n(63857),o=n(43081),r=n.n(o),a=n(28496),l=n(75105),s=n(74359),c=function(){return(0,s.I)({queryKey:["favorites"],queryFn:l.qM,enabled:!!(0,a.iD)()})},d=function(){return(0,s.I)({queryKey:["masterRecommend"],queryFn:l.do,enabled:!!(0,a.iD)(),staleTime:3e5,refetchOnMount:!1,refetchOnWindowFocus:!1})},p=function(t){var e;return(0,s.I)({queryKey:["masterLatestList",null==t?void 0:t.master_id],queryFn:(e=(0,i.A)(r().mark(function e(){var n,i,o,s,c;return r().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=(0,a.rr)()){e.next=3;break}return e.abrupt("return",null);case 3:return s=Array.isArray(o=JSON.parse(i))?o.join():"0",c=null!=(n=null==t?void 0:t.master_id)?n:s,e.abrupt("return",(0,l.Sn)({master_id:c}));case 7:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)}),enabled:!!(0,a.rr)(),staleTime:3e5,refetchOnMount:!1,refetchOnWindowFocus:!1})}},57889:(t,e,n)=>{"use strict";n.d(e,{bR:()=>p,up:()=>x,xJ:()=>d,xx:()=>h});var i=n(63857),o=n(43081),r=n.n(o),a=n(74359),l=n(40097),s=n(19596),c=n(12310),d=function(){var t;return(0,a.I)({queryKey:["lastMessage"],queryFn:(t=(0,i.A)(r().mark(function t(){var e;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.A.get("/api/history/message/last");case 2:return e=t.sent,t.abrupt("return",e.data.data.message);case 4:case"end":return t.stop()}},t)})),function(){return t.apply(this,arguments)}),enabled:!1})},p=function(){var t;return(0,l.n)({mutationFn:(t=(0,i.A)(r().mark(function t(e){return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.A.post("/api/history/message/insert",null,{params:e});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t)})),function(e){return t.apply(this,arguments)})})},h=function(){var t,e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return(0,s.q)({queryKey:["messageList"],queryFn:(t=(0,i.A)(r().mark(function t(e){var n,i,o;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=void 0===(n=e.pageParam)?1:n,t.next=3,c.A.get("/api/history/message/list",{params:{page:i}});case 3:return o=t.sent,t.abrupt("return",o.data.data);case 5:case"end":return t.stop()}},t)})),function(e){return t.apply(this,arguments)}),getNextPageParam:function(t){var e=t.paging,n=Math.ceil(e.totalCount/e.pageSize);return e.page<n?e.page+1:void 0},enabled:e,initialPageParam:1})},x=function(t){var e,n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,a.I)({queryKey:["messageResult",t],queryFn:(e=(0,i.A)(r().mark(function e(){var n;return r().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.A.get("/api/history/message/view",{params:{id:t}});case 2:return n=e.sent,e.abrupt("return",n.data.data.historyMessage);case 4:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)}),enabled:n&&!!t})}},63492:(t,e,n)=>{"use strict";n.d(e,{A:()=>v});var i,o,r,a,l=n(85572),s=n(36720),c=n(45709),d=n(18042),p=n(14232),h=n(77232),x=n(48697),f=n(22371),m=n(32228),g=n(62341),u={Container:(0,g.A)(c.A)(i||(i=(0,m.A)(["\n    display: flex;\n    width: 100%;\n    flex-direction: column;\n  "]))),InputBox:(0,g.A)(c.A)(o||(o=(0,m.A)(["\n    display: flex;\n    width: 100%;\n    flex-direction: column;\n    position: relative;\n    cursor: pointer;\n    overflow: hidden;\n\n    .bottomIcon {\n      position: absolute;\n      right: 16px;\n      margin: 16px 0;\n    }\n  "]))),BottomIcon:(0,g.A)(c.A)(r||(r=(0,m.A)(["\n    position: absolute;\n    right: 16px;\n    margin: 16px 0;\n  "]))),Input:(0,g.A)(c.A)(a||(a=(0,m.A)(["\n    width: 100%;\n    height: 56px;\n    border: solid 1px var(--PG300);\n    border-radius: 8px;\n    float: left;\n    color: var(--PG700);\n    padding: 16px;\n    font-size: 16px;\n    background-color: white;\n    text-align: left;\n\n    ::placeholder,\n    ::-webkit-input-placeholder {\n      color: var(--PG500) !important;\n      font-size: 16px;\n    }\n    :-ms-input-placeholder {\n      color: var(--PG500) !important;\n      font-size: 16px;\n    }\n\n    #active {\n      background-image: linear-gradient(to top, #6448a5, #7e5dc9 2%);\n      p {\n        color: var(--white);\n      }\n    }\n    p {\n      height: 24px;\n      font-family: NotoSansCJKkr;\n      font-size: 16px;\n      font-weight: bold;\n      font-stretch: normal;\n      font-style: normal;\n      line-height: 24px;\n      letter-spacing: normal;\n      text-align: center;\n      color: var(--PG700);\n    }\n\n    &:active,\n    &:focus {\n      border: 1px solid var(--P500);\n    }\n    &:disabled {\n      border: 1px solid var(--PG300);\n      background-color: var(--PG200);\n      p {\n        color: var(--PG500);\n      }\n    }\n  "])))},w=n(37876);let v=function(t){var e=(0,s.A)({},((0,l.A)(t),t)),n=e.title,i=(e.name,e.value,e.selectValue),o=e.options,r=e.onClick,a=(0,p.useState)(!1),c=a[0],h=a[1],m=(0,d.y)(),g=m.lock,v=m.unlock,y=function(t){r(t),h(!1)},L=function(){h(!1)};return(0,p.useEffect)(function(){c?g():v()}
1,[c,g,v]),(0,w.jsxs)(u.Container,{children:[(0,w.jsxs)(u.InputBox,{onClick:function(){h(!c)},children:[(0,w.jsx)(u.Input,{children:i}),(0,w.jsx)(u.BottomIcon,{children:(0,w.jsx)(x.A,{})})]}),c&&o&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_,{onClick:L}),(0,w.jsx)(C,{children:(0,w.jsxs)(j,{children:[(0,w.jsx)(k,{children:(0,w.jsxs)(N,{children:[(0,w.jsx)("label",{children:n}),(0,w.jsx)(S,{onClick:L,children:(0,w.jsx)(f.A,{})})]})}),(0,w.jsx)(b,{children:o.map(function(t){return(0,w.jsx)(A,{onClick:function(e){return y(t.value)},value:String(t.value),id:String(t.value),children:(0,w.jsx)("h4",{children:t.title})},t.value)})})]})})]})]})};var y=(0,h.i7)(["0%{opacity:0;transform:translateY(300px);}100%{opacity:3;transform:none;}"]),j=h.Ay.div.withConfig({displayName:"DropdownList__FilterWrap",componentId:"sc-12wq8vj-0"})(["width:100%;height:100%;"]),b=h.Ay.div.withConfig({displayName:"DropdownList__FilterSelect",componentId:"sc-12wq8vj-1"})(["float:left;width:100%;padding:20px 24px 44px 24px;max-height:100%;position:initial;overflow-y:auto;"]),A=h.Ay.button.withConfig({displayName:"DropdownList__SelectWrap",componentId:"sc-12wq8vj-2"})(["float:left;width:100%;height:56px;cursor:pointer;background:none;border:none;text-align:left;p{height:24px;font-family:NotoSansCJKkr;font-size:16px;font-weight:bold;line-height:24px;color:var(--PG800);}"]),_=(0,h.Ay)(c.A).withConfig({displayName:"DropdownList__ModalOverlay",componentId:"sc-12wq8vj-3"})(["display:flex;background-color:#000000;z-index:3;opacity:0.7;position:fixed;top:0;bottom:0;width:100%;max-width:500px;@media (min-width:501px){left:auto;right:max(0px,calc((100vw - 1460px) / 2));width:500px;max-width:500px;}@media (max-width:500px){left:0;right:0;width:100%;max-width:100%;}"]),C=(0,h.Ay)(c.A).withConfig({displayName:"DropdownList__ModalContainer",componentId:"sc-12wq8vj-4"})(["display:flex;z-index:3;background-color:var(--PG100);position:fixed;bottom:56px;width:100%;max-width:500px;height:100%;max-height:368px;animation:"," 0.3s ease-in-out;@media (min-width:501px){left:auto;right:max(0px,calc((100vw - 1460px) / 2));width:500px;max-width:500px;}@media (max-width:500px){left:0;right:0;width:100%;max-width:100%;}"],y),k=h.Ay.div.withConfig({displayName:"DropdownList__TitleWrap",componentId:"sc-12wq8vj-5"})(["width:100%;height:48px;float:left;border-bottom:1px solid var(--PG200);background-color:var(--PG100);"]),N=h.Ay.div.withConfig({displayName:"DropdownList__TitleLabel",componentId:"sc-12wq8vj-6"})(["width:100%;height:24px;text-align:center;padding:12px;label{width:100%;float:left;font-family:NotoSansCJKkr;font-size:16px;font-weight:bold;line-height:24px;text-align:center;color:var(--PG900);}"]),S=h.Ay.div.withConfig({displayName:"DropdownList__CloseWrap",componentId:"sc-12wq8vj-7"})(["float:right;width:24px;height:24px;position:absolute;right:16px;cursor:pointer;"])},97088:(t,e,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/master/info",function(){return n(99696)}])},99696:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>rW});var i,o,r,a,l,s,c,d,p,h,x,f,m,g,u,w,v,y,j,b,A,_,C,k,N,S,L,I,P,G,z,M,T,B,W,R,E,K,J,O,F,q,D,V,H,Z,U,Q,Y,X,$,tt,te,tn,ti,to,tr,ta,tl,ts,tc,td,tp,th,tx,tf,tm,tg,tu,tw,tv,ty,tj,tb,tA,t_,tC,tk,tN,tS,tL,tI,tP,tG,tz,tM,tT,tB,tW,tR,tE,tK,tJ,tO,tF,tq,tD,tV,tH,tZ,tU,tQ,tY,tX,t$,t0,t1,t2,t4,t5,t6,t3,t8,t9,t7,et,ee,en=n(63857),ei=n(42969),eo=n(43081),er=n.n(eo),ea=n(3061),el=n(14873),es=n(70135),ec=n(85572),ed=n(36720),ep=n(14232),eh=n(77232),ex=n(37876),ef=eh.Ay.div.withConfig({displayName:"MessageNormalButton__StyledWrap",componentId:"sc-5so2qz-0"})(["width:56px;height:56px;border-radius:8px;border:solid 1px var(--PG300);background:none;display:flex;justify-content:center;flex-direction:column;svg{width:24px;height:24px;float:left;cursor:pointer;}#hover{display:none;}#active{display:none;}#disabled{display:none;}&:hover{#normal{display:none;}#active{display:none;}#disabled{display:none;}#hover{display:block;}}&:active{#normal{display:none;}#active{display:block;}#disabled{display:none;}#hover{display:none;}}}&:disabled{#normal{display:none;}#hover{display:none;}#disabled{display:block;}}"]);let em=function(){return(0,ex.jsxs)(ef,{children:[(0,ex.jsx)("svg",{id:"normal",width:"19",height:"21",viewBox:"0 0 19 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 0H16V10.949L18.0622 12.9983L12.9999 18.0607L10.5 15.5608L6.00011 20.0607L0.439453 14.5001L4 10.9395V0ZM5.5 9.43951L8.93945 6.00006L5.5 2.5606V9.43951ZM6.56072 1.5L10.0001 4.9394L13.4395 1.5H6.56072ZM14.5 2.56083L11.0608 6.00006L14.5 9.43928V2.56083ZM9.97973 7.0811L13.4298 10.5097L6.00011 17.9394L2.56077 14.5001L9.97973 7.0811ZM14.4938 11.567L15.9375 13.0017L12.9999 15.9393L11.5607 14.5002L14.4938 11.567Z",fill:"#3B3153"})}),(0,ex.jsx)("svg",{id:"hover",width:"19",height:"21",viewBox:"0 0 19 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 0H16V10.949L18.0622 12.9983L12.9999 18.0607L10.5 15.5608L6.00011 20.0607L0.439453 14.5001L4 10.9395V0ZM5.5 9.43951L8.93945 6.00006L5.5 2.5606V9.43951ZM6.56072 1.5L10.0001 4.9394L13.4395 1.5H6.56072ZM14.5 2.56083L11.0608 6.00006L14.5 9.43928V2.56083ZM9.97973 7.0811L13.4298 10.5097L6.00011 17.9394L2.56077 14.5001L9.97973 7.0811ZM14.4938 11.567L15.9375 13.0017L12.9999 15.9393L11.5607 14.5002L14.4938 11.567Z",fill:"#8F74CD"})}),(0,ex.jsx)("svg",{id:"active",width:"19",height:"21",viewBox:"0 0 19 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 0H16V10.949L18.0622 12.9983L12.9999 18.0607L10.5 15.5608L6.00011 20.0607L0.439453 14.5001L4 10.9395V0ZM5.5 9.43951L8.93945 6.00006L5.5 2.5606V9.43951ZM6.56072 1.5L10.0001 4.9394L13.4395 1.5H6.56072ZM14.5 2.56083L11.0608 6.00006L14.5 9.43928V2.56083ZM9.97973 7.0811L13.4298 10.5097L6.00011 17.9394L2.56077 14.5001L9.97973 7.0811ZM14.4938 11.567L15.9375 13.0017L12.9999 15.9393L11.5607 14.5002L14.4938 11.567Z",fill:"#6045BA"})}),(0,ex.jsx)("svg",{id:"disabled",width:"19",height:"21",viewBox:"0 0 19 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 0H16V10.949L18.0622 12.9983L12.9999 18.0607L10.5 15.5608L6.00011 20.0607L0.439453 14.5001L4 10.9395V0ZM5.5 9.43951L8.93945 6.00006L5.5 2.5606V9.43951ZM6.56072 1.5L10.0001 4.9394L13.4395 1.5H6.56072ZM14.5 2.56083L11.0608 6.00006L14.5 9.43928V2.56083ZM9.97973 7.0811L13.4298 10.5097L6.00011 17.9394L2.56077 14.5001L9.97973 7.0811ZM14.4938 11.567L15.9375 13.0017L12.9999 15.9393L11.5607 14.5002L14.4938 11.567Z",fill:"#CEC5E0"})})]})};var eg=eh.Ay.div.withConfig({displayName:"MessageDisabledButton__StyledWrap",componentId:"sc-19s4546-0"})(["width:56px;height:56px;border-radius:8px;border:solid 1px var(--PG300);background:none;display:flex;justify-content:center;flex-direction:column;svg{width:24px;height:24px;float:left;cursor:default;}"]);let eu=function(){return(0,ex.jsx)(eg,{children:(0,ex.jsx)("svg",{id:"disabled",width:"19",height:"21",viewBox:"0 0 19 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 0H16V10.949L18.0622 12.9983L12.9999 18.0607L10.5 15.5608L6.00011 20.0607L0.439453 14.5001L4 10.9395V0ZM5.5 9.43951L8.93945 6.00006L5.5 2.5606V9.43951ZM6.56072 1.5L10.0001 4.9394L13.4395 1.5H6.56072ZM14.5 2.56083L11.0608 6.00006L14.5 9.43928V2.56083ZM9.97973 7.0811L13.4298 10.5097L6.00011 17.9394L2.56077 14.5001L9.97973 7.0811ZM14.4938 11.567L15.9375 13.0017L12.9999 15.9393L11.5607 14.5002L14.4938 11.567Z",fill:"#CEC5E0"})})})};var ew=n(28496),ev=n(12310),ey=eh.Ay.div.withConfig({displayName:"MessageButton__StyledWrap",componentId:"sc-s0ohg8-0"})(["display:flex;cursor:pointer;width:56px;height:56px;justify-content:center;align-items:center;p{color:var(--PG800);font-family:NotoSansCJKkr;font-size:10px;font-weight:500;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;text-align:center;}"]);let ej=function(t){var e,n,i=(0,ed.A)({},((0,ec.A)(t),t)),o=(e=(0,en.A)(er().mark(function t(){return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ev.A.get("/api/history/message/block/check?master_id=".concat(i.master_id));case 2:t.sent.data.data.block?i.getUserBlockModal(!0):i.getMessageCounselModal(!0);case 4:case"end":return t.stop()}},t)})),function(){return e.apply(this,arguments)}),r=(n=(0,en.A)(er().mark(function t(){return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:1===i.isActive&&((0,ew.iD)()?i.userCoin>=i.coinPrice?o():i.getCoinChargeModal(!0):(document.body.style.overflow="hidden",document.body.classList.add("not_scroll"),i.getLoginModal(!0)));case 1:case"end":return t.stop()}},t)})),function(){return n.apply(this,arguments)});return(0,ex.jsx)(ey,{children:(0,ex.jsx)("div",{className:"favoriteIcon",onClick:r,children:1===i.isActive?(0,ex.jsx)(em,{}):(0,ex.jsx)(eu,{})})})};var eb=n(93036),eA=n(32228),e_=n(62341),eC=n(45709),ek=n(88483),eN={Container:(0,e_.A)(eC.A)(i||(i=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    gap: 12px;\n  "]))),Title:(0,e_.A)(ek.A)(o||(o=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 18px;\n    font-weight: bold;\n    line-height: 36px;\n    color: var(--PG900);\n  "]))),Content:(0,e_.A)(eC.A)(r||(r=(0,eA.A)(["\n    display: flex;\n    width: 100%;\n    height: 100%;\n    margin: 16px 0;\n    gap: 8px;\n    flex-wrap: wrap;\n  "]))),CategoryBox:(0,e_.A)(eC.A)(a||(a=(0,eA.A)(["\n    display: flex;\n    width: fit-content;\n    height: 24px;
1\n    align-items: center;\n    padding: 4px 6px;\n    border-radius: 4px;\n    background-color: var(--PG300);\n    cursor: default;\n    margin: 4px 0;\n  "]))),CategoryTitle:(0,e_.A)(ek.A)(l||(l=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 12px;\n    font-weight: 500;\n    line-height: 16px;\n    letter-spacing: normal;\n    color: var(--PG700);\n  "])))},eS=eh.Ay.div.withConfig({displayName:"StarDarkIcon__StarIconWrapper",componentId:"sc-yomweh-0"})(["width:16px;height:16px;cursor:pointer;float:left;svg{float:left;}"]);let eL=function(){return(0,ex.jsx)(eS,{children:(0,ex.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0H24V24H0z"}),(0,ex.jsx)("path",{fill:"#645A82",d:"M12 16.5L7.592 18.818 8.434 13.909 4.867 10.432 9.796 9.716 12 5.25 14.204 9.716 19.133 10.432 15.566 13.909 16.408 18.818z"})]})})})})},eI=function(t){var e=t.categories;return(0,ex.jsxs)(eN.Container,{children:[(0,ex.jsx)(eN.Title,{children:"전문 분야"}),(0,ex.jsx)(eN.Content,{children:null==e?void 0:e.map(function(t,e){return(0,ex.jsx)(ep.Fragment,{children:(0,ex.jsxs)(eN.CategoryBox,{children:[t.highlight&&(0,ex.jsx)(eL,{}),(0,ex.jsx)(eN.CategoryTitle,{children:t.code_name})]})},"".concat(t.code_name,"-").concat(e))})})]})};var eP=n(57683),eG={Container:(0,eP.Ay)(eC.A)(s||(s=(0,eA.A)(["\n    display: flex;\n    width: 100%;\n    min-height: 333px;\n  "]))),BannerWrapper:(0,eP.Ay)(eC.A)(c||(c=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    flex: 1;\n  "]))),FavoriteIcon:(0,eP.Ay)(eC.A)(d||(d=(0,eA.A)(["\n    float: right;\n    width: 24px;\n    height: 24px;\n    margin: 24px;\n    border-radius: 50%;\n    position: inherit;\n  "]))),MasterCarouselEmpty:(0,eP.Ay)(eC.A)(p||(p=(0,eA.A)(["\n    width: 100%;\n    overflow: hidden;\n    position: relative;\n    background-color: var(--PG300);\n    flex: 1;\n    min-height: 333px;\n  "]))),CarouselContainer:(0,eP.Ay)(eC.A)(h||(h=(0,eA.A)(["\n    width: 100%;\n\n    .detail-image-slider.slick-initialized {\n      width: 100% !important;\n      margin: 0 !important;\n    }\n\n    .detail-image-slider .slick-list {\n      width: 100% !important;\n      height: 333px;\n      float: none !important;\n    }\n\n    .detail-image-slider .slick-track {\n      width: auto !important;\n      float: none !important;\n    }\n\n    .detail-image-slider .slick-slide {\n      width: 100% !important;\n      height: 333px !important;\n      margin: 0 !important;\n      border-radius: 0 !important;\n      float: none !important;\n      display: block !important;\n      position: relative !important;\n    }\n\n    .slick-dots {\n      bottom: 24px !important;\n\n      li {\n        width: 12px !important;\n        height: 12px !important;\n        margin: 0 !important;\n\n        button:before {\n          color: var(--white) !important;\n          opacity: 0.5 !important;\n        }\n      }\n\n      li.slick-active button:before {\n        opacity: 1 !important;\n      }\n    }\n  "]))),SlideItem:(0,eP.Ay)(eC.A)(x||(x=(0,eA.A)(["\n    width: 100%;\n    height: 333px;\n\n    img {\n      width: 100%;\n      height: 100%;\n      object-fit: cover;\n      display: block;\n    }\n  "]))),FileImageContainer:(0,eP.Ay)(eC.A)(f||(f=(0,eA.A)(["\n    width: 100% !important;\n    height: 333px;\n    position: relative;\n    overflow: hidden;\n    display: block !important;\n  "]))),FileImage:(0,eP.Ay)(eC.A)(m||(m=(0,eA.A)(["\n    position: absolute;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    transition: transform 0.2s;\n    pointer-events: none;\n    border: 0;\n\n    img {\n      width: 100%;\n      height: 100%;\n      object-fit: cover;\n      display: block;\n    }\n  "])))},ez=n(19357);function eM(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function eT(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?eM(Object(n),!0).forEach(function(e){(0,ei.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):eM(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}let eB=function(t){var e=[t.web_image_detail1,t.web_image_detail2,t.web_image_detail3,t.web_image_detail4,t.web_image_detail5].filter(function(t){return null!=t&&""!==t});if(0===e.length)return(0,ex.jsx)(eG.MasterCarouselEmpty,{});var n={dots:!0,infinite:e.length>1,speed:500,slidesToShow:1,slidesToScroll:1,initialSlide:0,autoplay:e.length>1,autoplaySpeed:2e3,cssEase:"ease-in-out",arrows:!1};return(0,ex.jsx)(eG.Container,{children:(0,ex.jsx)(eG.CarouselContainer,{children:(0,ex.jsx)(ez.A,eT(eT({},n),{},{children:e.map(function(t,e){return(0,ex.jsx)(eG.SlideItem,{children:(0,ex.jsx)("img",{src:String(t),alt:"Master detail ".concat(e+1)})},e)})}),e[0])})})};var eW=n(89099),eR=eh.Ay.div.withConfig({displayName:"DropdownSamllIcon__DropDownBlock",componentId:"sc-1emfv30-0"})(["width:20px;height:20px;float:right;svg{width:20px;height:20px;cursor:pointer;}#hover{display:none;}#pressed{display:none;}#active{display:none;}#disabled{display:none;}&:hover{#normal{display:none;}#hover{display:block;}#pressed{display:none;}#active{display:none;}#disabled{display:none;}}&:active{#normal{display:none;}#hover{display:none;}#pressed{display:block;}#active{display:none;}#disabled{display:none;}}"]);let eE=function(){return(0,ex.jsxs)(eR,{children:[(0,ex.jsx)("svg",{id:"normal",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0L24 0 24 24 0 24z",transform:"rotate(90 12 12)"}),(0,ex.jsx)("path",{fill:"#312841",d:"M10 6L8.59 7.41 13.17 12 8.59 16.59 10 18 16 12z",transform:"rotate(90 12 12)"})]})})}),(0,ex.jsx)("svg",{id:"hover",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0L24 0 24 24 0 24z",transform:"rotate(90 12 12)"}),(0,ex.jsx)("path",{fill:"#7A6F98",d:"M10 6L8.59 7.41 13.17 12 8.59 16.59 10 18 16 12z",transform:"rotate(90 12 12)"})]})})}),(0,ex.jsx)("svg",{id:"pressed",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0L24 0 24 24 0 24z",transform:"rotate(90 12 12)"}),(0,ex.jsx)("path",{fill:"#000",d:"M10 6L8.59 7.41 13.17 12 8.59 16.59 10 18 16 12z",transform:"rotate(90 12 12)"})]})})}),(0,ex.jsx)("svg",{id:"active",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0L24 0 24 24 0 24z",transform:"rotate(90 12 12)"}),(0,ex.jsx)("path",{fill:"#000",d:"M10 6L8.59 7.41 13.17 12 8.59 16.59 10 18 16 12z",transform:"rotate(90 12 12)"})]})})}),(0,ex.jsx)("svg",{id:"disabled",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0L24 0 24 24 0 24z",transform:"rotate(90 12 12)"}),(0,ex.jsx)("path",{fill:"#CEC5E0",d:"M10 6L8.59 7.41 13.17 12 8.59 16.59 10 18 16 12z",transform:"rotate(90 12 12)"})]})})})]})},eK=function(t){(0,eW.useRouter)();var e=(0,ep.useState)([]),n=e[0],i=e[1],o=(0,ep.useState)(null),r=o[0],a=o[1],l=(0,ep.useState)(null),s=l[0],c=l[1];(0,ep.useEffect)(function(){i(t.interview)},[t.interview]);var d=function(t){r===t?(a(null),c(null)):(a(t),c(t))},p=n.map(function(t,e){var n=e===r?"show-description":"hidden-description-accordion",i=e===s?"dropdown active":"dropdown";return String(t.question),(0,ex.jsx)(ep.Fragment,{children:(0,ex.jsxs)(eJ,{className:"contentsItem",onClick:function(){d(e)},children:[(0,ex.jsxs)("div",{children:[(0,ex.jsx)("p",{className:"question",children:"Q."}),(0,ex.jsx)(eO,{children:null!==t.question?(0,ex.jsx)("p",{children:t.question}):(0,ex.jsx)("p",{children:"-"})}),(0,ex.jsx)(eq,{children:(0,ex.jsx)("div",{className:i,id:i,children:(0,ex.jsx)(eE,{})})})]}),(0,ex.jsx)("div",{children:(0,ex.jsx)(eF,{className:n,id:n,children:null!==t.answer?(0,ex.jsxs)("pre",{children:['"',t.answer,'"']}):(0,ex.jsx)("pre",{children:"-"})})})]},t.order)})});return(0,ex.jsx)(ep.Fragment,{children:p})};var eJ=eh.Ay.div.withConfig({displayName:"InterviewToggleCard__CardWrap",componentId:"sc-1eapvnu-0"})(["width:100%;height:100%;float:left;cursor:default;margin-bottom:8px;border-radius:8px;border:solid 1px var(--PG300);background-color:var(--white);padding:16px;p{color:var(--P500);font-family:NotoSansCJKkr;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;text-align:left;}.question{width:20px;float:left;}"]),eO=eh.Ay.div.withConfig({displayName:"InterviewToggleCard__TitleWrap",componentId:"sc-1eapvnu-1"})(["float:left;width:calc( 100% - 40px - 8px );margin:0 0 0 8px;p{font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG800);text-align:left overflow:hidden;text-overflow:ellipsis;word-wrap:break-word;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;float:left;}"]),eF=eh.Ay.div.withConfig({displayName:"InterviewToggleCard__TextWrap",componentId:"sc-1eapvnu-2"})(["float:left;width:100%;display:none;margin:16px 0 0 0;pre{font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG600);overflow:hidden;text-overflow:ellipsis;word-wrap:break-word;display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;white-space:pre-wrap;}"]),eq=eh.Ay.div.withConfig({displayName:"InterviewToggleCard__ReserveDrop",componentId:"sc-1eapvnu-3"})(["right:0;float:right;height:20px;transition:all 0.25s ease;.dropdown{float:right;transform:rotate(0);transition:all 0.25s ease;}.active{float:right;transform:rotate(180deg);transition:all 0.25s ease;}"]);let eD=function(t){return(0,ex.jsx)(eV,{children:null===t.interview||0==t.interview?(0,ex.jsx)(eH,{children:(0,ex.jsx)("p",{className:"empty",children:"아직 인터뷰가 없어요."})}):(0,ex.jsx)(eK,{interview:t.interview})})};var eV=eh.Ay.div.withConfig({displayName:"InterviewToggle__InterviewListBlock",componentId:"sc-1leebxi-0"})(["width:100%;height:100%;float:left;"]);eh.Ay.div.withConfig({displayName:"InterviewToggle__InterviewCard",componentId:"sc-1leebxi-1"})(["width:100%;height:100%;flaot:left;border:;"]);var eH=eh.Ay.div.withConfig({displayName:"InterviewToggle__EmptyWrap",componentId:"sc-1leebxi-2"})(["width:100%;height:100%;float:left;position:relative;margin:24px 0;float:left;.empty{margin:auto;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;text-align:center;letter-spacing:normal;color:var(--PG600);margin:0 auto;}"]),eZ=n(89372),eU=n(97032),eQ=n(8570),eY=n(77962);let eX=function(t){var e=(0,ep.useState)(0),n=e[0],i=e[1],o=null!==t.video?t.video:null;null!==t.video&&String(t.video.url).split("/")[3];var r=function(t){o.length/2<=n?i(n):i(n+1)},a=function(t){n<1?i(0):i(n-1)},l=function(t){eY.A.get("/api/tarot/video/view",{params:{video_id:t}}).then(function(t){return t.data.data})};return(0,ex.jsxs)(ep.Fragment,{children:[(0,ex.jsxs)(e5,{children:[(0,ex.jsx)("div",{className:"title",children:(0,ex.jsx)("label",{children:"타로영상"})}),(0,ex.jsxs)("div",{className:"videoButton",children:[(0,ex.jsx)(e1,{onClick:function(t){return a(t)},children:(0,ex.jsx)(eU.A,{})}),(0,ex.jsx)(e2,{onClick:function(t){return r(t)},children:(0,ex.jsx)(eQ.A,{})})]})]}),(0,ex.jsx)(e4,{style:{textAlign:"center"},children:null===o?(0,ex.jsx)("p",{className:"empty",children:"아직 영상이 없어요."}):(0,ex.jsx)(ex.Fragment,{children:o.slice(n,n+2).map(function(t){return(0,ex.jsx)("div",{children:(0,ex.jsxs)(e$,{children:[null===t.url?(0,ex.jsx)("a",{href:t.url,target:"_blank",rel:"noreferrer",children:(0,ex.jsx)("div",{className:"emptyImg"})}):(0,ex.jsx)("a",{href:t.url,target:"_blank",rel:"noreferrer",onClick:function(e){return l(t.id)},children:(0,ex.jsx)(e0,{thumbnail:null!==t.url?"https://img.youtube.com/vi/".concat((String(t.url).split("/")[3]||"").split("&")[0],"/maxresdefault.jpg"):t.thumbnail})}),(0,ex.jsxs)("div",{className:"videoTitle",children:[(0,ex.jsx)("p",{className:"title",children:t.title}),(0,ex.jsx)("p",{className:"master",children:t.master_name})]})]})},t.id)})})})]})};var e$=eh.Ay.div.withConfig({displayName:"VideoCarousel__CardItem",componentId:"sc-qsn3kv-0"})(["width:calc(50% - 24px);height:100%;float:left;margin:0 12px;img{cursor:pointer;display:inline-block;}.emptyImg{width:100%;height:245px;background-color:var(--PG300);border-radius:11px;}.youtube{width:100%;cursor:pointer;background-size:100% 100%;background-image:url('","');}.videoTitle{float:left;}.title{margin:24px 0 0 0;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG800);text-align:left;overflow:hidden;text-overflow:ellipsis;word-wrap:break-word;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;}.master{margin:8px 0 0 0;font-family:NotoSansCJKkr;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG600);text-align:left;}"],function(t){return t.thumbnail||void 0}),e0=eh.Ay.div.withConfig({displayName:"VideoCarousel__VideoWrap",componentId:"sc-qsn3kv-1"})(["float:left;width:100%;padding-bottom:56.2%;height:100%;position:relative;border-radius:11px;background-size:100% 100%;background-image:url('","');"],function(t){return t.thumbnail||void 0}),e1=eh.Ay.button.withConfig({displayName:"VideoCarousel__NextButton",componentId:"sc-qsn3kv-2"})(["width:37px;height:36px;padding:6px;border-top-left-radius:8px;border-bottom-left-radius:8px;border:solid 1px var(--PG400);background:none;float:left;"]),e2=eh.Ay.button.withConfig({displayName:"VideoCarousel__PrevButton",componentId:"sc-qsn3kv-3"})(["width:36px;height:36px;padding:6px;border-top-right-radius:8px;border-bottom-right-radius:8px;border-top:solid 1px var(--PG400);border-right:solid 1px var(--PG400);border-bottom:solid 1px var(--PG400);border-left:none;background:none;float:left;"]),e4=eh.Ay.div.withConfig({displayName:"VideoCarousel__ButtonCarouselWrapper",componentId:"sc-qsn3kv-4"})(["width:calc(100% + 24px);float:left;margin:24px -12px 0 -12px;.empty{margin:auto;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG600);text-align:center;margin:0 12px 0 12px;}"]),e5=eh.Ay.div.withConfig({displayName:"VideoCarousel__VideoTop",componentId:"sc-qsn3kv-5"})(["width:100%;float:left;margin:20px 0 0 0;.title{float:left;label{font-family:NotoSansCJKkr;font-size:18px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:36px;letter-spacing:normal;color:var(--PG900);}}.videoButton{float:right;}"]),e6=n(33968),e3=n(60553);n(12688),n(46646);let e8=function(t){(0,eW.useRouter)().push;var e=(String(t.url).split("/")[3]||"").split("&")[0],n=(0,ep.useState)(e);return n[0],n[1],(0,ex.jsxs)(e9,{children:[(0,ex.jsx)(e7,{children:(0,ex.jsx)("a",{href:t.url,target:"_blank",onClick:function(e){eY.A.get("/api/tarot/video/view",{params:{video_id:t.id}}).then(function(t){return t.data.data})},rel:"noreferrer",children:(0,ex.jsx)(nt,{thumbnail:null!==t.url?"https://img.youtube.com/vi/".concat(e,"/maxresdefault.jpg"):t.thumbnail})})}),(0,ex.jsxs)("div",{className:"videoTitle",children:[(0,ex.jsx)("div",{className:"title",children:(0,ex.jsx)("p",{children:t.title})}),(0,ex.jsxs)("div",{className:"master",children:[" ",(0,ex.jsx)("p",{children:t.master_name})]})]})]})};var e9=eh.Ay.div.withConfig({displayName:"VideoItems__CardItem",componentId:"sc-pzntqp-0"})(["width:120px;float:left;.emptyImg{width:120px;float:left;height:68px;background-color:var(--PG300);border-radius:11px;}.img{width:120px;float:left;object-fit:cover;pointer-events:none;}.videoTitle{width:100%;float:left;}.title{width:100%;font-family:NotoSansCJKkr;font-size:12px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;color:var(--PG800);margin:0 0 4px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;text-overflow:ellipsis;text-aline:left;float:left;}.master{width:100%;font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;color:var(--PG600);}"]),e7=eh.Ay.div.withConfig({displayName:"VideoItems__TopCardBlock",componentId:"sc-pzntqp-1"})(["float:left;width:100%;height:100%;margin:0 0 16px 0;border:none;cursor:pointer;box-sizing:border-box;.name{width:100%;margin:16px 0 0 0;font-family:NotoSansCJKkr;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;text-align:center;color:var(--PG900);float:left;}"]),nt=eh.Ay.div.withConfig({displayName:"VideoItems__VideoWrap",componentId:"sc-pzntqp-2"})(["float:left;width:100%;padding-bottom:67.5px;height:100%;position:relative;background-size:100% 100%;background-image:url('","');"],function(t){return t.thumbnail||void 0});let ne=function(t){var e=null!==t.video?t.video:null;return t.master,(0,ex.jsxs)(ep.Fragment,{children:[(0,ex.jsx)(no,{children:(0,ex.jsx)("div",{className:"title",children:(0,ex.jsx)("label",{children:"타로영상"})})}),null===e?(0,ex.jsx)(nn,{children:(0,ex.jsx)("p",{className:"empty",children:"아직 영상이 없어요."})}):(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsx)(ni,{children:(0,ex.jsx)(e6.R,{className:"swiper-container",spaceBetween:0,slidesPerView:"auto",loop:!1,pagination:!1,scrollbar:{draggable:!0},children:e.map(function(t){return(0,ex.jsx)(nr,{children:(0,ex.jsx)(e3.q,{className:"swiper-main",children:(0,ex.jsx)(e8,{id:t.id,url:t.url,thumbnail:t.thumbnail,title:t.title,master_name:t.master_name},t.id)},t.id)})})})})})]})};var nn=eh.Ay.div.withConfig({displayName:"VideoSwiper__EmptyWrap",componentId:"sc-iot8nk-0"})(["width:100%;height:100%;float:left;position:relative;margin:24px 0;float:left;.empty{margin:auto;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;text-align:center;letter-spacing:normal;color:var(--PG600);margin:0 auto;}"]),ni=eh.Ay.div.withConfig({displayName:"VideoSwiper__Container",componentId:"sc-iot8nk-1"})(["width:calc(100% - 24px);height:100%;float:left;position:relative;margin:24px 0;float:left;.empty{margin:auto;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;text-align:center;letter-spacing:normal;color:var(--PG600);margin:0 auto;}"]),no=eh.Ay.div.withConfig({displayName:"VideoSwiper__VideoTop",componentId:"sc-iot8nk-2"})(["width:100%;float:left;
1margin:36px 0 0 0;.title{float:left;label{font-family:NotoSansCJKkr;font-size:18px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:36px;letter-spacing:normal;color:var(--PG900);}}"]),nr=eh.Ay.div.withConfig({displayName:"VideoSwiper__SlideBlock",componentId:"sc-iot8nk-3"})(["float:left;width:calc(100% + 24px);margin:0 -12px;",""],function(t){return t.theme.mobile(g||(g=(0,eA.A)(["\n        width: 172px !important;\n        margin: 0 auto;\n    "])))});eh.Ay.div.withConfig({displayName:"VideoSwiper__CardItem",componentId:"sc-iot8nk-4"})(["width:120px;float:left;margin:0 12px;.emptyImg{width:120px;float:left;height:68px;background-color:var(--PG300);border-radius:11px;}.img{width:120px;float:left;object-fit:cover;pointer-events:none;}.title{width:100%;font-family:NotoSansCJKkr;font-size:12px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;color:var(--PG800);margin:16px 0 4px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;text-overflow:ellipsis;text-aline:left;float:left;}.master{width:100%;font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;color:var(--PG600);}"]);var na=n(45794),nl=ep.useState;let ns=function(t){var e=t.text;t.onChange;var n=nl(""),i=(0,na.A)(n,2);return i[0],i[1],(0,ex.jsx)(nc,{children:(0,ex.jsx)(nd,{children:(0,ex.jsx)("pre",{children:e})})})};var nc=eh.Ay.div.withConfig({displayName:"MessageTextArea__TextWrapper",componentId:"sc-1l1xhs8-0"})(["float:left;width:100%;height:100%;"]),nd=eh.Ay.div.withConfig({displayName:"MessageTextArea__TextArea",componentId:"sc-1l1xhs8-1"})(["width:100%;height:100%;padding:16px;border-radius:8px;border:solid 1px var(--PG300);background-color:var(--white);float:left;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--white);word-break:break-all;pre{width:100%;white-space:pre-wrap;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG800);}"]),np=n(29451),nh=ep.useState;let nx=function(t){var e=t.text;t.onChange;var n=nh(""),i=(0,na.A)(n,2);return i[0],i[1],(0,ex.jsx)(nf,{children:(0,ex.jsx)(nm,{children:(0,ex.jsx)("pre",{children:e})})})};var nf=eh.Ay.div.withConfig({displayName:"Medium_Fill_Texttextarea__TextWrapper",componentId:"sc-1vy3eua-0"})(["float:left;width:100%;height:100%;"]),nm=eh.Ay.div.withConfig({displayName:"Medium_Fill_Texttextarea__TextArea",componentId:"sc-1vy3eua-1"})(["width:100%;height:100%;padding:16px;border-radius:8px;border:solid 1px var(--PG300);background-color:var(--white);float:left;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG800);pre{width:100%;white-space:pre-wrap;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG800);}"]),ng=n(18042),nu={Container:(0,e_.A)(eC.A)(u||(u=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n  "]))),Section:(0,e_.A)(eC.A)(w||(w=(0,eA.A)(["\n    width: 100%;\n    margin-bottom: 36px;\n  "]))),TitleWrapper:(0,e_.A)(eC.A)(v||(v=(0,eA.A)(["\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    width: 100%;\n    margin: 20px 0 12px 0;\n\n    @media (max-width: 767px) {\n      margin: 36px 0 12px 0;\n    }\n  "]))),NoticeTitleWrapper:(0,e_.A)(eC.A)(y||(y=(0,eA.A)(["\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    width: 100%;\n    margin: 20px 0 12px 0;\n\n    @media (max-width: 767px) {\n      margin: 12px 0;\n    }\n  "]))),Title:(0,e_.A)(ek.A)(j||(j=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 18px;\n    font-weight: bold;\n    line-height: 36px;\n    color: var(--PG900);\n  "]))),UpdateDate:(0,e_.A)(ek.A)(b||(b=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 14px;\n    line-height: 28px;\n    color: var(--PG600);\n  "]))),Content:(0,e_.A)(eC.A)(A||(A=(0,eA.A)(["\n    width: 100%;\n    margin: 12px 0;\n  "]))),TextBox:(0,e_.A)(eC.A)(_||(_=(0,eA.A)(["\n    width: 100%;\n    padding: 16px;\n    border-radius: 8px;\n    border: 1px solid var(--PG300);\n    background-color: var(--white);\n\n    pre {\n      white-space: pre-wrap;\n      font-family: NotoSansCJKkr;\n      font-size: 14px;\n      font-weight: normal;\n      line-height: 20px;\n      color: var(--PG800);\n      margin: 0;\n    }\n  "]))),VideoContainer:(0,e_.A)(eC.A)(C||(C=(0,eA.A)(["\n    width: 100%;\n\n    .buttonCarousel {\n      display: block;\n    }\n\n    .slideCarousel {\n      display: none;\n    }\n\n    @media (max-width: 767px) {\n      .buttonCarousel {\n        display: none;\n      }\n\n      .slideCarousel {\n        display: block;\n      }\n    }\n  "])))};let nw=function(t){var e=t.master,n=t.interview,i=t.video,o=(0,ng.y)(),r=(o.lock,o.unlock),a=(0,ep.useState)(!1),l=a[0],s=a[1],c=(0,ep.useState)(!1),d=c[0],p=c[1],h=e.updated_at.split(" ")[0].replace(/-/g,"."),x=function(){r(),s(!1),p(!1)};return(0,ex.jsxs)(nu.Container,{children:[(0,ex.jsxs)(nu.Section,{children:[(0,ex.jsxs)(nu.NoticeTitleWrapper,{children:[(0,ex.jsx)(nu.Title,{children:"개인 공지"}),(0,ex.jsxs)(nu.UpdateDate,{children:["Last update: ",h]})]}),(0,ex.jsx)(nu.Content,{children:(0,ex.jsx)(ns,{text:e.greeting})})]}),(0,ex.jsxs)(nu.Section,{children:[(0,ex.jsx)(nu.TitleWrapper,{children:(0,ex.jsx)(nu.Title,{children:"주 활동시간"})}),(0,ex.jsx)(nu.Content,{children:(0,ex.jsxs)(nu.TextBox,{children:[(0,ex.jsx)("pre",{children:e.weekday_time}),(0,ex.jsx)("pre",{children:e.weekend_time})]})})]}),(0,ex.jsxs)(nu.Section,{children:[(0,ex.jsx)(nu.TitleWrapper,{children:(0,ex.jsx)(nu.Title,{children:"상세 이력"})}),(0,ex.jsx)(nu.Content,{children:(0,ex.jsx)(nx,{text:e.description})})]}),(0,ex.jsxs)(nu.Section,{children:[(0,ex.jsx)(nu.TitleWrapper,{children:(0,ex.jsx)(nu.Title,{children:"인터뷰"})}),(0,ex.jsx)(nu.Content,{children:(0,ex.jsx)(eD,{interview:n})})]}),i&&(0,ex.jsxs)(nu.VideoContainer,{children:[(0,ex.jsx)("div",{className:"slideCarousel",children:(0,ex.jsx)(ne,{video:i,master:e,id:i})}),(0,ex.jsx)("div",{className:"buttonCarousel",children:(0,ex.jsx)(eX,{video:i,master:e,id:i})})]}),l&&(0,ex.jsx)(np.A,{story_id:e.story_id,master_id:e.id,isModalClose:x,handleSubmit:x}),d&&(0,ex.jsx)(eZ.A,{title:"알림",text:"준비중입니다.",button:"확인",handleClose:x})]})};var nv=n(2593),ny=eh.Ay.button.withConfig({displayName:"GhostFIlterButton1__GhostButtonBlock",componentId:"sc-1cdwh1g-0"}
1)(["height:36px;border:1px solid var(--PG700);background:none;border-radius:8px;padding:0 12px;float:right;color:var(--PG700);#active{border:1px solid var(--PG800);p{color:var(--white);}}.icon{float:right;width:20px;height:20px;}p{height:20px;min-width:40px;font-family:'Noto Sans KR',sans-serif;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;text-align:left;color:var(--PG700) !important;float:left;}&:hover{border:1px solid var(--PG600);p{color:var(--PG600);}}&:active{border:1px solid var(--PG800);p{color:var(--PG800);}}&:disabled{border:1px solid var(--PG500);p{color:var(--PG500);}}",""],function(t){return t.theme.mobile(k||(k=(0,eA.A)(["\n        width: 100%;\n        height : 36px;\n        border: 1px solid var(--PG700);\n        background: none;\n        border-radius: 8px;\n        padding: 0 11px;\n        float: left;\n        color: var(--PG700);\n        \n        #active {\n                border: 1px solid var(--PG800);\n                p {\n                color: var(--white);\n                }\n            }\n        .icon {\n            float: right;\n            width: 20px;\n            height: 20px;\n        }\n        p {\n            height: 20px;\n            font-family: NotoSansCJKkr;\n            font-size: 14px;\n            font-weight: bold;\n            font-stretch: normal;\n            font-style: normal;\n            line-height: 20px;\n            letter-spacing: normal;\n            text-align: left;\n            color: var(--PG700);\n            float: left;\n        }\n        &:hover {\n            border: 1px solid var(--PG600);\n            p {\n            color: var(--PG600);\n            }\n        }\n        &:active {\n            border: 1px solid var(--PG800);\n            p {\n            color: var(--PG800);\n            }\n        }\n        &:disabled {\n            border: 1px solid var(--PG500);\n             p {\n            color: var(--PG500);\n            }\n        }\n    "])))});let nj=function(t){var e=t.title;return(0,ex.jsxs)(ny,{children:[(0,ex.jsx)("p",{children:e}),(0,ex.jsx)("div",{className:"icon",children:(0,ex.jsx)(nv.A,{})})]})};var nb=n(33341),nA=n(14265),n_=eh.Ay.div.withConfig({displayName:"RightSmallBlackIcon__BottomBlock",componentId:"sc-1d44mka-0"})(["width:16px;height:16px;float:right;svg{width:16px;height:16px;cursor:pointer;}#hover{display:none;}#pressed{display:none;}#disabled{display:none;}&:hover{#normal{display:none;}#hover{display:block;}#pressed{display:none;}#disabled{display:none;}}&:active{#normal{display:none;}#hover{display:none;}#pressed{display:block;}#disabled{display:none;}}"]);let nC=function(){return(0,ex.jsxs)(n_,{children:[(0,ex.jsx)("svg",{id:"normal",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsx)("g",{children:(0,ex.jsx)("g",{children:(0,ex.jsx)("g",{children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0L16 0 16 16 0 16z",transform:"translate(-456.000000, -1116.000000) translate(120.000000, 1090.000000) translate(291.000000, 26.000000) translate(45.000000, 0.000000)"}),(0,ex.jsx)("path",{fill:"#645A82",d:"M6.667 4L5.727 4.94 8.78 8 5.727 11.06 6.667 12 10.667 8z",transform:"translate(-456.000000, -1116.000000) translate(120.000000, 1090.000000) translate(291.000000, 26.000000) translate(45.000000, 0.000000)"})]})})})})})}),(0,ex.jsx)("svg",{id:"pressed",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsx)("g",{children:(0,ex.jsx)("g",{children:(0,ex.jsx)("g",{children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0L16 0 16 16 0 16z",transform:"translate(-456.000000, -1116.000000) translate(120.000000, 1090.000000) translate(291.000000, 26.000000) translate(45.000000, 0.000000)"}),(0,ex.jsx)("path",{fill:"#645A82",d:"M6.667 4L5.727 4.94 8.78 8 5.727 11.06 6.667 12 10.667 8z",transform:"translate(-456.000000, -1116.000000) translate(120.000000, 1090.000000) translate(291.000000, 26.000000) translate(45.000000, 0.000000)"})]})})})})})}),(0,ex.jsx)("svg",{id:"hover",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsx)("g",{children:(0,ex.jsx)("g",{children:(0,ex.jsx)("g",{children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0L16 0 16 16 0 16z",transform:"translate(-456.000000, -1116.000000) translate(120.000000, 1090.000000) translate(291.000000, 26.000000) translate(45.000000, 0.000000)"}),(0,ex.jsx)("path",{fill:"#645A82",d:"M6.667 4L5.727 4.94 8.78 8 5.727 11.06 6.667 12 10.667 8z",transform:"translate(-456.000000, -1116.000000) translate(120.000000, 1090.000000) translate(291.000000, 26.000000) translate(45.000000, 0.000000)"})]})})})})})})]})};ep.useState;let nk=function(t){var e=t.title,n=t.link,i=t.text,o=t.onClick;return(0,ex.jsxs)(nS,{children:[(0,ex.jsx)(nL,{children:(0,ex.jsx)("label",{children:e})}),(0,ex.jsxs)(nN,{onClick:o,children:[(0,ex.jsx)("p",{children:n}),(0,ex.jsx)(nC,{})]}),(0,ex.jsx)(nI,{children:(0,ex.jsx)("p",{children:i})})]})};var nN=eh.Ay.button.withConfig({displayName:"Policy_Button__TextRightBlock",componentId:"sc-v7ovk9-0"})(["float:right;background:none;padding:10px 0;border:none;p{font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;text-align:center;color:var(--PG700);float:left;}&:hover{p{color:var(--PG600);}}&:active{color:var(--PG800);}}&:disabled{color:var(--PG500);}}"]),nS=eh.Ay.div.withConfig({displayName:"Policy_Button__ButtonWrapper",componentId:"sc-v7ovk9-1"})(["width:100%;height:100%;float:left;padding:16px;border-radius:8px;border:solid 1px var(--PG300);background-color:var(--white);"]),nL=eh.Ay.div.withConfig({displayName:"Policy_Button__TitleWrap",componentId:"sc-v7ovk9-2"})(["width:calc(100% - 61px - 24px);height:16px;float:left;margin-bottom:4px;label{float:left;font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;color:var(--PG800);overflow:hidden;text-overflow:ellipsis;word-wrap:break-word;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;}"]),nI=eh.Ay.div.withConfig({displayName:"Policy_Button__TextWrap",componentId:"sc-v7ovk9-3"})(["width:calc(100% - 61px - 24px);float:left;height:16px;bottom:0;p{text-align:left;height:16px !important;font-family:NotoSansCJKkr;font-size:12px !important;font-weight:normal;font-stretch:normal;font-style:normal;line-height:16px !important;letter-spacing:normal;color:var(--PG600);overflow:hidden;text-overflow:ellipsis;word-wrap:break-word;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;}"]),nP=n(38993),nG=n(22371),nz=(0,nP.i7)(N||(N=(0,eA.A)(["\n  0% {\n    opacity: 0;
1\n    transform: translateY(300px);\n  }\n  100% {\n    opacity: 1;\n    transform: none;\n  }\n"])));let nM=function(t){var e=t.getSelectOption,n=t.getClose,i=(0,ng.y)().unlock,o=function(t,n){i(),e(t,n)},r=function(){i(),n(!1)};return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(nB,{onClick:r}),(0,ex.jsx)(nT,{children:(0,ex.jsxs)(nW,{children:[(0,ex.jsx)(nR,{children:(0,ex.jsxs)(nE,{children:[(0,ex.jsx)("label",{children:"정렬"}),(0,ex.jsx)(nK,{onClick:r,children:(0,ex.jsx)(nG.A,{})})]})}),(0,ex.jsx)(nJ,{children:[{id:0,option:"최신순",order:"new_desc"},{id:1,option:"좋아요순",order:"like_desc"},{id:2,option:"별점높은순",order:"star_desc"},{id:3,option:"별점낮은순",order:"star_asc"}].map(function(t){return(0,ex.jsx)(nO,{onClick:function(){return o(t.option,t.order)},children:(0,ex.jsx)("p",{children:t.option})},t.id)})})]})})]})};var nT=(0,e_.A)(eC.A)(S||(S=(0,eA.A)(["\n  display: flex;\n  z-index: 3;\n  background-color: var(--PG100);\n  position: fixed;\n  bottom: 56px;\n  width: 100%;\n  max-width: 500px;\n  height: 100%;\n  max-height: 368px;\n  animation: "," 0.3s ease-in-out;\n\n  @media (min-width: 501px) {\n    left: auto;\n    right: max(0px, calc((100vw - 1460px) / 2));\n    width: 500px;\n    max-width: 500px;\n  }\n\n  /* 모바일: 전체 화면 기준 */\n  @media (max-width: 500px) {\n    left: 0;\n    right: 0;\n    width: 100%;\n    max-width: 100%;\n  }\n"])),nz),nB=(0,e_.A)(eC.A)(L||(L=(0,eA.A)(["\n  display: flex;\n  background-color: #000000;\n  z-index: 3;\n  opacity: 0.7;\n  position: fixed;\n  top: 0;\n  bottom: 0;\n  width: 100%;\n  max-width: 500px;\n\n  /* 데스크톱: MobileContentSection의 Content 영역(500px) 기준으로 위치 */\n  @media (min-width: 501px) {\n    left: auto;\n    right: max(0px, calc((100vw - 1460px) / 2));\n    width: 500px;\n    max-width: 500px;\n  }\n\n  /* 모바일: 전체 화면 기준 */\n  @media (max-width: 500px) {\n    left: 0;\n    right: 0;\n    width: 100%;\n    max-width: 100%;\n  }\n"]))),nW=e_.A.div(I||(I=(0,eA.A)(["\n  width: 100%;\n  height: 100%;\n  float: left;
1\n"]))),nR=e_.A.div(P||(P=(0,eA.A)(["\n  width: 100%;\n  height: 48px;\n  float: left;\n  border-bottom: 1px solid var(--PG200);\n  background-color: var(--PG100);\n"]))),nE=e_.A.div(G||(G=(0,eA.A)(["\n  width: 100%;\n  height: 24px;\n  text-align: center;\n  padding: 12px;\n\n  label {\n    width: 100%;\n    float: left;\n    font-family: NotoSansCJKkr;\n    font-size: 16px;\n    font-weight: bold;\n    line-height: 24px;\n    text-align: center;\n    color: var(--PG900);\n  }\n"]))),nK=e_.A.div(z||(z=(0,eA.A)(["\n  float: right;\n  width: 24px;\n  height: 24px;\n  position: absolute;\n  right: 16px;\n  cursor: pointer;\n"]))),nJ=e_.A.div(M||(M=(0,eA.A)(["\n  float: left;\n  width: 100%;\n  padding: 20px 24px 44px 24px;\n  max-height: 100%;\n  position: initial;\n  overflow-y: auto;\n"]))),nO=e_.A.button(T||(T=(0,eA.A)(["\n  float: left;\n  width: 100%;\n  height: 56px;\n  margin: 4px 0;\n  cursor: pointer;\n  background: none;\n  border: none;\n  text-align: left;\n\n  p {\n    height: 24px;\n    font-family: NotoSansCJKkr;\n    font-size: 16px;\n    font-weight: bold;\n    line-height: 24px;\n    color: var(--PG800);\n    margin: 16px 0;\n    opacity: 1;\n  }\n"]))),nF=n(79412),nq=eh.Ay.div.withConfig({displayName:"LikeActiveIcon__LikeBlock",componentId:"sc-5gjio3-0"})(["width:20px;height:20px;float:left;svg{width:20px;height:20px;cursor:pointer;}"]);let nD=function(){return(0,ex.jsx)(nq,{children:(0,ex.jsx)("svg",{id:"normal",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0H20V20H0z"}),(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0L16 0 16 16 0 16z",transform:"translate(2 2)"}),(0,ex.jsx)("path",{fill:"#F8F5FD",d:"M2.34 14c.549 0 .993-.453.993-.997V6.997c0-.55-.44-.997-.993-.997h-.68c-.549 0-.993.453-.993.997v6.006c0 .55.44.997.993.997h.68zM14 5.333H9.793l.634-3.046.02-.214c0-.273-.114-.526-.294-.706-.39-.387-1.022-.384-1.411.006L5.06 5.06c-.247.24-.393.573-.393.94v6.667C4.667 13.4 5.267 14 6 14h6c.553 0 1.027-.333 1.227-.813l2.013-4.7c.06-.154.093-.314.093-.487V6.727l-.006-.007.006-.053c0-.734-.6-1.334-1.333-1.334z",transform:"translate(2 2)"})]})]})})})})};var nV=eh.Ay.button.withConfig({displayName:"LikeButton__LikeButtonBlock",componentId:"sc-1atmkh8-0"})(["width:100%;height:36px;padding:8px 12px;border:none;border-radius:8px;float:left;background-color:var(--PG300);color:var(--PG700);.likeIcon{width:16px;height:16px;float:left;background:var(--white);margin-right:8px;}#active{background-color:var(--PG600);p{color:var(--PG100);}}p{height:20px;font-family:NotoSansCJKkr;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;text-align:center;color:var(--PG700);float:left;margin-left:4px;}&:hover{background-color:var(--PG300);p{color:var(--PG600);}}&:active{background-color:var(--PG300);p{color:var(--PG800);}}&:disabled{background-color:var(--PG300);p{color:var(--PG500);}}"]),nH=eh.Ay.button.withConfig({displayName:"LikeButton__LikeButtonActiveBlock",componentId:"sc-1atmkh8-1"})(["width:58px;height:36px;padding:8px 12px;border:none;border-radius:8px;float:left;background-color:var(--PG600);color:var(--PG100);.likeIcon{width:16px;height:16px;float:left;background:var(--white);margin-right:8px;}#active{background-color:var(--PG600);p{color:var(--PG100);}}p{height:20px;font-family:NotoSansCJKkr;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;text-align:center;color:var(--PG100);}"]);let nZ=function(t){var e=(0,eW.useRouter)(),n=(0,ep.useState)(t.like_count),i=n[0],o=n[1],r=(0,ep.useState)(t.is_like),a=r[0],l=r[1],s=(0,ep.useState)(!1),c=s[0],d=s[1],p=t.review_id;return(0,ex.jsxs)(ep.Fragment,{children:[a?(0,ex.jsxs)(nH,{onClick:function(){if(null!==(0,ew.iD)()){var t=new FormData;t.append("review_id",p),ev.A.delete("/api/master/review/like",{data:t}).then(function(t){o(i-1),l(!1),200!==t.data.status&&alert(t.data.message)}).catch(function(t){})}else document.body.style.overflow="hidden",document.body.classList.add("not_scroll"),d(!0)},children:[(0,ex.jsx)(nD,{}),(0,ex.jsx)("p",{children:i})]}):(0,ex.jsxs)(nV,{onClick:function(t){null!==(0,ew.iD)()?ev.A.post("/api/master/review/like",null,{params:{review_id:p}}).then(function(t){o(i+1),l(!0),200!==t.data.status&&alert(t.data.message)}
1).catch(function(t){}):(document.body.style.overflow="hidden",document.body.classList.add("not_scroll"),d(!0))},children:[(0,ex.jsx)(nF.A,{}),(0,ex.jsx)("p",{children:i})]}),c&&(0,ex.jsx)(eb.A,{isOpen:c,message:"로그인이 필요해요.",buttonText:"로그인",onClick:function(){e.push("/login")},onClose:function(){document.body.style.overflow="unset",document.body.classList.remove("not_scroll"),d(!1)}})]})};var nU=eh.Ay.div.withConfig({displayName:"LikeButtonDisabled__LikeButtonBlock",componentId:"sc-y5dchn-0"})(["width:100%;height:36px;padding:8px 12px;border:none;border-radius:8px;float:left;background-color:var(--PG300);color:var(--PG700);cursor:default;.likeIcon{width:16px;height:16px;float:left;background:var(--white);margin-right:8px;cursor:default;}#active{background-color:var(--PG600);p{color:var(--PG100);cursor:default;}}p{height:20px;font-family:NotoSansCJKkr;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;text-align:center;color:var(--PG700);float:left;margin-left:4px;cursor:default;}&:hover{background-color:var(--PG300);p{color:var(--PG600);}}&:active{background-color:var(--PG300);p{color:var(--PG800);}}&:disabled{background-color:var(--PG300);p{color:var(--PG500);}}"]),nQ=eh.Ay.div.withConfig({displayName:"LikeButtonDisabled__LikeButtonActiveBlock",componentId:"sc-y5dchn-1"})(["width:58px;height:36px;padding:8px 12px;border:none;border-radius:8px;float:left;background-color:var(--PG600);color:var(--PG100);pointer:default;.likeIcon{width:16px;height:16px;float:left;background:var(--white);margin-right:8px;}#active{background-color:var(--PG600);p{color:var(--PG100);}}p{height:20px;font-family:NotoSansCJKkr;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;text-align:center;color:var(--PG100);}"]);let nY=function(t){var e=(0,ep.useState)(t.like_count),n=e[0];e[1];var i=(0,ep.useState)(t.is_like),o=i[0];return i[1],(0,ex.jsx)(ep.Fragment,{children:o?(0,ex.jsxs)(nQ,{children:[(0,ex.jsx)(nD,{}),(0,ex.jsx)("p",{children:n})]}):(0,ex.jsxs)(nU,{children:[(0,ex.jsx)(nF.A,{}),(0,ex.jsx)("p",{children:n})]})})};var nX=eh.Ay.div.withConfig({displayName:"TextSmallLabel__SolidBlock",componentId:"sc-yot2z4-0"}
1)(["height:20px;border:none;float:left;cursor:default;p{font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;text-align:center;}.active{color:var(--count);}.disabled{color:var(--PG600);}",""],function(t){return t.theme.mobile(B||(B=(0,eA.A)(["\n        height: 16px;\n        \n         p {\n             font-family: NotoSansCJKkr;\n             font-size: 12px;\n             font-weight: normal;\n             font-stretch: normal;\n             font-style: normal;\n             line-height: 16px;\n             letter-spacing: normal;\n             text-align: center;\n    }\n    "])))});let n$=function(t){var e=t.title,n=t.type;return(0,ex.jsx)(nX,{children:(0,ex.jsx)("p",{className:"active"===n?"active":"disabled",children:e})})};var n0=n(22867),n1=ep.useState;let n2=function(t){t.writer;var e,n,i,o=n1(!1),r=(0,na.A)(o,2),a=r[0],l=r[1],s=n1(!1),c=(0,na.A)(s,2),d=c[0],p=c[1],h=n1(""),x=(0,na.A)(h,2),f=x[0],m=x[1],g=(0,eW.useRouter)(),u=function(t){"delete"===t?(document.body.style.overflow="hidden",document.body.classList.add("not_scroll"),l(!0)):(document.body.style.overflow="unset",document.body.classList.remove("not_scroll"),p(!d))},w=function(t){"delete"===t&&(document.body.style.overflow="unset",document.body.classList.remove("not_scroll"),l(!1))};return(0,ex.jsxs)(ep.Fragment,{children:[(0,ex.jsx)(n4,{children:(0,ex.jsxs)(n6,{children:[(0,ex.jsxs)(n3,{children:[(0,ex.jsxs)(n8,{children:[(0,ex.jsx)("div",{className:"starIcon",children:(0,ex.jsx)(ex.Fragment,{children:5===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):4===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):3===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):2===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):1===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"})})}),(0,ex.jsx)("div",{className:"starCount",children:5===t.star||4===t.star||3===t.star||2===t.star||1===t.star?(0,ex.jsxs)("p",{children:[t.star,".0"]}):(0,ex.jsx)("p",{children:t.star})})]}),(0,ex.jsx)(n5,{children:(0,ex.jsx)(n$,{title:n0.s0[t.type]||"-"})})]}),(0,ex.jsx)(it,{children:(0,ex.jsx)("pre",{children:t.text})}),(0,ex.jsxs)(n9,{children:[(null==(e=t.user)?void 0:e.name)===t.writer?(0,ex.jsx)("p",{className:"userName",children:t.writer}):null!==t.writer?(0,ex.jsx)(ex.Fragment,{children:t.writer.length<=2?(0,ex.jsxs)("p",{className:"name",children:[t.writer,"******"]}):(0,ex.jsx)("p",{className:"name",children:null!==t.writer?t.writer.replace(/^(.{2})[^@]+/,"$1******"):t.writer})}):(0,ex.jsx)("p",{className:"name",children:null!==t.writer?t.writer.replace(/^(.{2})[^@]+/,"$1******"):t.writer}),(0,ex.jsx)(n7,{}),t.create_date?(0,ex.jsx)("p",{children:t.create_date.replace(/-/gi,".")}):(0,ex.jsx)("p",{children:"0000.00.00"})]}),(null==(n=t.user)?void 0:n.name)===t.writer?(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(n7,{}),(0,ex.jsx)(ir,{onClick:function(t){return u("delete")},children:(0,ex.jsx)("p",{children:"삭제"})}),a&&(0,ex.jsx)(eb.A,{isOpen:a,title:"알림",message:"삭제 시 복구할 수 없어요. \n그래도 삭제하시겠어요?",buttonText:"삭제",onClose:function(){return w("delete")},onClick:function(){if(document.body.style.overflow="hidden",document.body.classList.add("not_scroll"),null!==(0,ew.iD)()){var e=new FormData;e.append("review_id",t.review_id),ev.A.delete("/api/master/review",{data:e}).then(function(t){200!==t.data.status?(l(!1),m(t.data.message),p(!0)):(l(!1),g.reload())}).catch(function(t){document.body.style.overflow="unset",document.body.classList.remove("not_scroll")})}}})]}):null,(0,ex.jsx)(ia,{}),(0,ex.jsxs)(ie,{children:[(0,ex.jsx)(ii,{children:(0,ex.jsx)("p",{children:"후기가 도움이 되었나요 ?"})}),(0,ex.jsx)(io,{children:(null==(i=t.user)?void 0:i.name)===t.writer?(0,ex.jsx)(nY,{like_count:t.like_count,is_like:t.is_like,user:t.user,review_id:t.review_id}):(0,ex.jsx)(nZ,{like_count:t.like_count,is_like:t.is_like,user:t.user,review_id:t.review_id})})]})]})}),d?(0,ex.jsx)(eZ.A,{title:"알림",text:f,handleClose:u,button:"확인"}):null]})};var n4=eh.Ay.div.withConfig({displayName:"OnlyReviewList__ReviewWrapper",componentId:"sc-o83z79-0"})(["width:100%;height:100%;float:left;padding:0 0 24px 0;border-bottom:1px solid var(--PG200);"]),n5=eh.Ay.div.withConfig({displayName:"OnlyReviewList__CategoryWrapper",componentId:"sc-o83z79-1"})(["float:right;"]),n6=eh.Ay.div.withConfig({displayName:"OnlyReviewList__UserWrapper",componentId:"sc-o83z79-2"})(["width:100%;height:100%;float:left;"]),n3=eh.Ay.div.withConfig({displayName:"OnlyReviewList__UserStarWrapper",componentId:"sc-o83z79-3"})(["float:left;width:100%;height:16px;"]),n8=eh.Ay.div.withConfig({displayName:"OnlyReviewList__StarList",componentId:"sc-o83z79-4"})(["float:left;width:50%;height:100%;.starIcon{float:left;}.star0{width:94px;height:20px;float:left;}.starCount{float:left;font-family:NotoSansCJKkr;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;text-align:center;color:var(--PG600);margin-left:8px;}h1{height:16px;font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;text-align:left;color:var(--PG900);}.starCount{font-size:12px;line-height:16px;}.starIcon{width:75px;height:16px;float:left;}.starImg{width:75px;height:16px;float:left;}"]),n9=eh.Ay.div.withConfig({displayName:"OnlyReviewList__UserInfo",componentId:"sc-o83z79-5"})(["float:left;p{float:left;font-family:NotoSansCJKkr;font-size:12px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;color:var(--PG600);}"]),n7=eh.Ay.div.withConfig({displayName:"OnlyReviewList__Line",componentId:"sc-o83z79-6"})(["width:2px;height:2px;margin:7px 8px;background-color:var(--PG400);float:left;"]),it=eh.Ay.div.withConfig({displayName:"OnlyReviewList__UserComment",componentId:"sc-o83z79-7"})(["margin:24px 0 8px 0;width:100%;height:100%;float:left;pre{height:100%;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG800);white-space:pre-wrap;word-wrap:break-word;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-break:break-all;}"]),ie=eh.Ay.div.withConfig({displayName:"OnlyReviewList__LikeWrapper",componentId:"sc-o83z79-8"})(["width:100%;height:36px;float:left;"]),ii=eh.Ay.div.withConfig({displayName:"OnlyReviewList__LikeTitle",componentId:"sc-o83z79-9"})(["height:36px;float:left;p{height:36px !important;font-family:NotoSansCJKkr;font-size:14px !important;font-weight:normal;font-stretch:normal;font-style:normal;line-height:36px !important;letter-spacing:normal;color:var(--PG600);}"]),io=eh.Ay.div.withConfig({displayName:"OnlyReviewList__ButtonWrapper",componentId:"sc-o83z79-10"})(["float:right;height:36px;"]),ir=eh.Ay.div.withConfig({displayName:"OnlyReviewList__DeleteWrapper",componentId:"sc-o83z79-11"})(["float:left;cursor:pointer;p{font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;color:var(--P500);}"]),ia=eh.Ay.div.withConfig({displayName:"OnlyReviewList__CommentWrapper",componentId:"sc-o83z79-12"})(["width:100%;float:left;margin:24px 0 0 0;"]);let il=function(t){var e=t.master,n=t.create_date,i=t.comment;return(0,ex.jsxs)(is,{children:[(0,ex.jsx)(ip,{children:(0,ex.jsx)("pre",{children:i})}),(0,ex.jsxs)(ic,{children:[(0,ex.jsx)("p",{children:e}),(0,ex.jsx)(id,{}),n?(0,ex.jsx)("p",{children:n.split(" ")[0].replace(/-/gi,".")}):(0,ex.jsx)("p",{children:"0000.00.00"})]})]})};var is=eh.Ay.div.withConfig({displayName:"CommentBox__Wrapper",componentId:"sc-1wcfd6x-0"})(["width:100%;height:100%;float:left;"]),ic=eh.Ay.div.withConfig({displayName:"CommentBox__MasterWrapper",componentId:"sc-1wcfd6x-1"})(["width:100%;float:left;p{float:left;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG600);}",""],function(t){return t.theme.mobile(W||(W=(0,eA.A)(["\n        width: 100%;\n        height: 16px;\n        float: left;\n        p {\n          height: 16px;\n          float: left;\n          font-family: NotoSansCJKkr;\n          font-size: 12px;\n          font-weight: normal;\n          font-stretch: normal;\n          font-style: normal;\n          line-height: 16px;\n          letter-spacing: normal;\n          color: var(--PG600); \n        }\n    "])))}),id=eh.Ay.div.withConfig({displayName:"CommentBox__Line",componentId:"sc-1wcfd6x-2"})(["float:left;width:2px;height:2px;border-radius:50%;background:var(--PG400);margin:8px 8px;"]),ip=eh.Ay.div.withConfig({displayName:"CommentBox__Comment",componentId:"sc-1wcfd6x-3"})(["width:100%;height:100%;float:left;margin:0 0 8px 0;pre{float:left;text-align:left;font-family:NotoSansCJKkr;font-size:16px;line-height:24px;font-weight:normal;font-stretch:normal;font-style:normal;letter-spacing:normal;color:var(--PG800);white-space:pre-wrap;word-wrap:break-word;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-break:break-all;}",""],function(t){return t.theme.mobile(R||(R=(0,eA.A)(["\n  pre {\n      float: left;\n      text-align: left;\n      font-family: NotoSansCJKkr;\n      font-size: 14px;\n      line-height: 20px;\n      font-weight: normal;\n      font-stretch: normal;\n      font-style: normal;\n      letter-spacing: normal;\n      color: var(--PG800);\n      white-space: pre-wrap;\n      word-wrap: break-word;\n      white-space: -moz-pre-wrap;white-space: -pre-wrap;white-space: -o-pre-wrap;word-break:break-all;\n    }\n    "])))}),ih=ep.useState;let ix=function(t){var e,n,i,o,r=t.writer,a=r&&r.slice("").substr(0,2)+"******",l=ih(!1),s=(0,na.A)(l,2),c=s[0],d=s[1],p=ih(!1),h=(0,na.A)(p,2),x=h[0],f=h[1],m=ih(""),g=(0,na.A)(m,2),u=(g[0],g[1]),w=(0,eW.useRouter)(),v=function(t){"delete"===t?(document.body.style.overflow="hidden",document.body.classList.add("not_scroll"),d(!c)):(document.body.style.overflow="unset",document.body.classList.remove("not_scroll"),f(!x))};return(0,ex.jsx)(ep.Fragment,{children:(0,ex.jsx)(im,{children:(0,ex.jsxs)(iu,{children:[(0,ex.jsxs)(iw,{children:[(0,ex.jsxs)(iv,{children:[(0,ex.jsx)("div",{className:"starIcon",children:(0,ex.jsx)(ex.Fragment,{children:5===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):4===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):3===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):2===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):1===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"})})}),(0,ex.jsx)("div",{className:"starCount",children:5===t.star||4===t.star||3===t.star||2===t.star||1===t.star?(0,ex.jsxs)("p",{children:[t.star,".0"]}):null===t.star?(0,ex.jsx)("p",{}):(0,ex.jsx)("p",{children:t.star})})]}),(0,ex.jsx)(ig,{children:(0,ex.jsx)(n$,{title:n0.s0[t.type]||"-"})})]}),(null==(e=t.user)?void 0:e.name)===t.writer?(0,ex.jsx)(ib,{children:(0,ex.jsx)("pre",{children:t.text})}):null,(0,ex.jsxs)(iy,{children:[(null==(n=t.user)?void 0:n.name)===t.writer?(0,ex.jsx)("p",{className:"userName",children:r}):t.writer&&t.writer.length<=2?(0,ex.jsxs)("p",{className:"name",children:[r,"******"]}):(0,ex.jsx)("p",{className:"name",children:a}),(0,ex.jsx)(ij,{}),t.create_date?(0,ex.jsx)("p",{children:t.create_date.replace(/-/gi,".")}):(0,ex.jsx)("p",{children:"0000.00.00"})]}),(null==(i=t.user)?void 0:i.name)===t.writer?(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(ij,{}),(0,ex.jsx)(i_,{onClick:function(t){return v("delete")},children:(0,ex.jsx)("p",{children:"삭제"})}),c&&(0,ex.jsx)(eb.A,{isOpen:c,title:"알림",message:"삭제 시 복구할 수 없어요. \n그래도 삭제하시겠어요?",buttonText:"삭제",onClose:function(){return d(!1)},onClick:function(){if(document.body.style.overflow="hidden",document.body.classList.add("not_scroll"),(0,ew.iD)()){var e=new FormData;e.append("review_id",t.review_id),ev.A.delete("/api/master/review",{data:e}).then(function(t){d(!1),w.reload(),200!==t.data.status&&(d(!1),u(t.data.message),f(!0))}).catch(function(t){document.body.style.overflow="unset",document.body.classList.remove("not_scroll")})}}})]}):null,(null==(o=t.user)?void 0:o.name)!==t.writer?(0,ex.jsx)(iA,{children:(0,ex.jsx)("label",{children:"업데이트 전 비공개로 작성된 후기입니다."})}):(0,ex.jsx)(iC,{children:(0,ex.jsx)(il,{master:t.master,create_date:t.reply_date,comment:t.comment})})]})})})};var im=eh.Ay.div.withConfig({displayName:"PrivateReview__ReviewWrapper",componentId:"sc-aqnmk-0"})(["width:100%;height:100%;float:left;border-bottom:1px solid var(--PG200);"]),ig=eh.Ay.div.withConfig({displayName:"PrivateReview__CategoryWrapper",componentId:"sc-aqnmk-1"})(["float:right;"]),iu=eh.Ay.div.withConfig({displayName:"PrivateReview__UserWrapper",componentId:"sc-aqnmk-2"})(["width:100%;height:100%;float:left;"]),iw=eh.Ay.div.withConfig({displayName:"PrivateReview__UserStarWrapper",componentId:"sc-aqnmk-3"})(["float:left;width:100%;height:16px;"]),iv=eh.Ay.div.withConfig({displayName:"PrivateReview__StarList",componentId:"sc-aqnmk-4"})(["float:left;width:50%;height:100%;.starIcon{float:left;}.star0{width:94px;height:20px;float:left;}.starCount{float:left;font-family:NotoSansCJKkr;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;text-align:center;color:var(--PG600);margin-left:8px;}h1{height:16px;font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;text-align:left;color:var(--PG900);}.starCount{font-size:12px;line-height:16px;}.starIcon{width:75px;height:16px;float:left;}.starImg{width:75px;height:16px;float:left;}"]),iy=eh.Ay.div.withConfig({displayName:"PrivateReview__UserInfo",componentId:"sc-aqnmk-5"})(["float:left;margin:16px 0 0 0;p{float:left;font-family:NotoSansCJKkr;font-size:12px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;color:var(--PG600);}"]),ij=eh.Ay.div.withConfig({displayName:"PrivateReview__Line",componentId:"sc-aqnmk-6"})(["width:2px;height:2px;margin:7px 8px;background-color:var(--PG400);float:left;"]),ib=eh.Ay.div.withConfig({displayName:"PrivateReview__UserComment",componentId:"sc-aqnmk-7"})(["margin:24px 0 8px 0;width:100%;height:100%;float:left;pre{height:100%;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG800);white-space:pre-wrap;word-wrap:break-word;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-break:break-all;}"]),iA=eh.Ay.div.withConfig({displayName:"PrivateReview__PrivateWrapper",componentId:"sc-aqnmk-8"})(["float:left;width:100%;height:100%;border-radius:8px;margin:24px 0;border:solid 1px var(--PG300);background:var(--white);padding:16px;label{float:left;width:100%;height:auto !important;font-family:NotoSansCJKkr;font-size:14px !important;
1font-weight:normal !important;font-stretch:normal;font-style:normal;line-height:20px !important;letter-spacing:normal;text-align:center;color:var(--PG800);}"]),i_=eh.Ay.div.withConfig({displayName:"PrivateReview__DeleteWrapper",componentId:"sc-aqnmk-9"})(["float:left;cursor:pointer;p{font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;color:var(--P500);}"]),iC=eh.Ay.div.withConfig({displayName:"PrivateReview__CommentWrapper",componentId:"sc-aqnmk-10"})(["width:100%;height:100%;float:left;margin:24px 0;"]);let ik=function(t){var e=t.ratingCount,n=t.step,i=e>0?Math.floor(n/e*100):0;return(0,ex.jsx)(iN,{children:(0,ex.jsx)(iS,{width:i})})};var iN=e_.A.div(E||(E=(0,eA.A)(["\n  position: relative;\n  width: 100%;\n  height: 12px;\n  border-radius: 2em;\n  background-color: var(--PG100);\n  margin: 2px 0;\n  overflow: hidden;\n"]))),iS=e_.A.div(K||(K=(0,eA.A)(["\n  position: absolute;\n  left: 0;\n  top: 0;\n  width: ","%;\n  height: 100%;\n  border-radius: 2em;\n  background-color: var(--P500);\n  transition: all 0.5s ease-in;\n"])),function(t){return t.width}),iL=eh.Ay.div.withConfig({displayName:"StarLike5Icon__StarIconWrapper",componentId:"sc-sucgvh-0"})(["cursor:pointer;display:inline-block;width:100%;height:24px;float:left;.star_icon{width:100%;height:100%;}"]);let iI=function(){return(0,ex.jsx)(iL,{children:(0,ex.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"24",viewBox:"0 0 100 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsx)("g",{fill:"#FFD54B",children:(0,ex.jsx)("path",{d:"M12 17.25L6.71 20.031 7.72 14.141 3.44 9.969 9.355 9.109 12 3.75 14.645 9.109 20.56 9.969 16.28 14.141 17.29 20.031zM31 17.25L25.71 20.031 26.72 14.141 22.44 9.969 28.355 9.109 31 3.75 33.645 9.109 39.56 9.969 35.28 14.141 36.29 20.031zM50 17.25L44.71 20.031 45.72 14.141 41.44 9.969 47.355 9.109 50 3.75 52.645 9.109 58.56 9.969 54.28 14.141 55.29 20.031zM69 17.25L63.71 20.031 64.72 14.141 60.44 9.969 66.355 9.109 69 3.75 71.645 9.109 77.56 9.969 73.28 14.141 74.29 20.031zM88 17.25L82.71 20.031 83.72 14.141 79.44 9.969 85.355 9.109 88 3.75 90.645 9.109 96.56 9.969 92.28 14.141 93.29 20.031z"})})})})})};var iP=n(40286);ep.useState;let iG=function(t){t.star.count_star1,t.star.count_star2,t.star.count_star3,t.star.count_star4,t.star.count_star5;var e=t.star.total_count_star;return(0,ex.jsxs)(iz,{children:[(0,ex.jsxs)(iM,{children:[(0,ex.jsx)(iT,{children:5===t.star.average_star||4===t.star.average_star||3===t.star.average_star||2===t.star.average_star||1===t.star.average_star?(0,ex.jsxs)("label",{children:[t.star.average_star,".0"]}):t.star.average_star>0?(0,ex.jsx)("label",{children:t.star.average_star}):(0,ex.jsx)("label",{children:"-"})}),(0,ex.jsx)(iB,{children:(0,ex.jsx)(iI,{})}),(0,ex.jsx)(iW,{children:t.star.total_count_star>0?(0,ex.jsxs)("h4",{children:["총"," ",(0,ex.jsx)("label",{className:"ratingCount",children:(0,iP.Z)(t.star.total_count_star)}),"개의 평가"]}):(0,ex.jsx)("h4",{children:"별점수집중"})})]}),(0,ex.jsx)(iO,{}),(0,ex.jsxs)(iR,{children:[(0,ex.jsxs)(iK,{children:[(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/icon-star.svg"),alt:"Star",width:16,height:16,className:"smallStarIcon"}),(0,ex.jsx)("p",{children:"5"}),(0,ex.jsx)(iJ,{children:(0,ex.jsx)(ik,{step:t.star.count_star5,ratingCount:e})}),t.star.count_star5>0?(0,ex.jsx)("label",{children:Number(t.star.count_star5).toLocaleString()}):(0,ex.jsx)("label",{children:"0"})]}),(0,ex.jsx)(iE,{}),(0,ex.jsxs)(iK,{children:[(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/icon-star.svg"),alt:"Star",width:16,height:16,className:"smallStarIcon"}),(0,ex.jsx)("p",{children:"4"}),(0,ex.jsx)(iJ,{children:(0,ex.jsx)(ik,{step:t.star.count_star4,ratingCount:e})}),t.star.count_star4>0?(0,ex.jsx)("label",{children:Number(t.star.count_star4).toLocaleString()}):(0,ex.jsx)("label",{children:"0"})]}),(0,ex.jsx)(iE,{}),(0,ex.jsxs)(iK,{children:[(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/icon-star.svg"),alt:"Star",width:16,height:16,className:"smallStarIcon"}),(0,ex.jsx)("p",{children:"3"}),(0,ex.jsx)(iJ,{children:(0,ex.jsx)(ik,{step:t.star.count_star3,ratingCount:e})}),t.star.count_star3>0?(0,ex.jsx)("label",{children:Number(t.star.count_star3).toLocaleStr
1ing()}):(0,ex.jsx)("label",{children:"0"})]}),(0,ex.jsx)(iE,{}),(0,ex.jsxs)(iK,{children:[(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/icon-star.svg"),alt:"Star",width:16,height:16,className:"smallStarIcon"}),(0,ex.jsx)("p",{children:"2"}),(0,ex.jsx)(iJ,{children:(0,ex.jsx)(ik,{step:t.star.count_star2,ratingCount:e})}),t.star.count_star2>0?(0,ex.jsx)("label",{children:Number(t.star.count_star2).toLocaleString()}):(0,ex.jsx)("label",{children:"0"})]}),(0,ex.jsx)(iE,{}),(0,ex.jsxs)(iK,{children:[(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/icon-star.svg"),alt:"Star",width:16,height:16,className:"smallStarIcon"}),(0,ex.jsx)("p",{children:"1"}),(0,ex.jsx)(iJ,{children:(0,ex.jsx)(ik,{step:t.star.count_star1,ratingCount:e})}),t.star.count_star1>0?(0,ex.jsx)("label",{children:Number(t.star.count_star1).toLocaleString()}):(0,ex.jsx)("label",{children:"0"})]})]})]})};var iz=eh.Ay.div.withConfig({displayName:"RatingMaster__ButtonWrapper",componentId:"sc-16g81oj-0"})(["width:100%;height:160px;float:left;padding:24px 0;border-radius:8px;border:solid 1px var(--PG300);background-color:var(--white);"]),iM=eh.Ay.div.withConfig({displayName:"RatingMaster__AllRatingWrapper",componentId:"sc-16g81oj-1"})(["width:152px;height:100%;padding:0 16px;float:left;"]),iT=eh.Ay.div.withConfig({displayName:"RatingMaster__NumberWrapper",componentId:"sc-16g81oj-2"})(["width:100%;height:48px;float:left;label{float:left;width:100%;height:48px !important;font-family:NotoSansCJKkr;font-size:32px !important;font-weight:bold !important;font-stretch:normal;font-style:normal;line-height:48px !important;letter-spacing:normal;text-align:center !important;color:var(--PG900);}"]),iB=eh.Ay.div.withConfig({displayName:"RatingMaster__StarWrapper",componentId:"sc-16g81oj-3"})(["width:100%;height:24px;float:left;padding:0 10px 0 10px;margin:16px 0 8px 0;"]),iW=eh.Ay.div.withConfig({displayName:"RatingMaster__RatingCount",componentId:"sc-16g81oj-4"})(["width:100%;height:16px;float:left;text-align:center;.ratingCount{color:var(--V10);}h4{height:16px;font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;text-align:center;color:var(--PG900);}"]),iR=eh.Ay.div.withConfig({displayName:"RatingMaster__ProgressBarWrapper",componentId:"sc-16g81oj-5"})(["float:left;width:calc(100% - 153px);height:100%;padding:0 16px;"]),iE=eh.Ay.div.withConfig({displayName:"RatingMaster__ProgressMargin",componentId:"sc-16g81oj-6"})(["float:left;width:100%;height:8px;"]),iK=eh.Ay.div.withConfig({displayName:"RatingMaster__ProgressCount",componentId:"sc-16g81oj-7"})(["width:100%;height:16px;float:left;.smallStarIcon{float:left;}p{width:8px;height:16px;font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;text-align:center;color:var(--PG800);float:left;}label{width:31px !important;float:right !important;height:16px !important;font-family:NotoSansCJKkr;font-size:12px !important;font-weight:500 !important;font-stretch:normal;font-style:normal;line-height:16px !important;letter-spacing:normal;text-align:right !important;color:var(--PG900);}"]),iJ=eh.Ay.div.withConfig({displayName:"RatingMaster__RatingBarWrapper",componentId:"sc-16g81oj-8"})(["width:calc(100% - 79px);margin:0 16px 0 8px;height:100%;float:left;"]),iO=eh.Ay.div.withConfig({displayName:"RatingMaster__Line",componentId:"sc-16g81oj-9"})(["float:left;width:1px;height:112px;background:var(--PG200);"]),iF=ep.useState;let iq=function(t){t.writer;var e,n,i,o=iF(!1),r=(0,na.A)(o,2),a=r[0],l=r[1],s=iF(!1),c=(0,na.A)(s,2),d=c[0],p=c[1],h=iF(""),x=(0,na.A)(h,2),f=x[0],m=x[1],g=(0,eW.useRouter)(),u=function(t){"delete"===t?(document.body.style.overflow="hidden",document.body.classList.add("not_scroll"),l(!0)):(document.body.style.overflow="unset",document.body.classList.remove("not_scroll"),p(!d))},w=function(t){"delete"===t&&(document.body.style.overflow="unset",document.body.classList.remove("not_scroll"),l(!1))};return(0,ex.jsxs)(ep.Fragment,{children:[(0,ex.jsx)(iD,{children:(0,ex.jsxs)(iH,{children:[(0,ex.jsxs)(iZ,{children:[(0,ex.jsxs)(iU,{children:[(0,ex.jsx)("div",{className:"starIcon",children:(0,ex.jsx)(ex.Fragment,{children:5===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg5"}):4===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):3===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):2===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):1===t.rating?(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"}):(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/[email protected]"),alt:"star",className:"starImg"})})}),(0,ex.jsx)("div",{className:"starCount",children:5===t.star||4===t.star||3===t.star||2===t.star||1===t.star?(0,ex.jsxs)("p",{children:[t.star,".0"]}):null===t.star?(0,ex.jsx)("p",{}):(0,ex.jsx)("p",{children:t.star})})]}),(0,ex.jsx)(iV,{children:(0,ex.jsx)(n$,{title:n0.s0[t.type]||"-"})})]}),(0,ex.jsx)(iX,{children:(0,ex.jsx)("pre",{children:t.text})}
1),(0,ex.jsxs)(iQ,{children:[(null==(e=t.user)?void 0:e.name)===t.writer?(0,ex.jsx)("p",{className:"userName",children:t.writer}):null!==t.writer?(0,ex.jsx)(ex.Fragment,{children:t.writer.length<=2?(0,ex.jsxs)("p",{className:"name",children:[t.writer,"******"]}):(0,ex.jsx)("p",{className:"name",children:null!==t.writer?t.writer.replace(/^(.{2})[^@]+/,"$1******"):t.writer})}):(0,ex.jsx)("p",{className:"name",children:null!==t.writer?t.writer.replace(/^(.{2})[^@]+/,"$1******"):t.writer}),(0,ex.jsx)(iY,{}),t.create_date?(0,ex.jsx)("p",{children:t.create_date.replace(/-/gi,".")}):(0,ex.jsx)("p",{children:"0000.00.00"})]}),(null==(n=t.user)?void 0:n.name)===t.writer?(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(iY,{}),(0,ex.jsx)(i4,{onClick:function(t){return u("delete")},children:(0,ex.jsx)("p",{children:"삭제"})}),a&&(0,ex.jsx)(eb.A,{isOpen:a,title:"알림",message:"삭제 시 복구할 수 없어요. \n그래도 삭제하시겠어요?",buttonText:"삭제",onClose:function(){return w("delete")},onClick:function(){if(document.body.style.overflow="hidden",document.body.classList.add("not_scroll"),null!==(0,ew.iD)()){var e=new FormData;e.append("review_id",t.review_id),ev.A.delete("/api/master/review",{data:e}).then(function(t){200!==t.data.status?(l(!1),m(t.data.message),p(!0)):(l(!1),g.reload())}).catch(function(t){document.body.style.overflow="unset",document.body.classList.remove("not_scroll")})}}})]}):null,(0,ex.jsx)(i$,{children:(0,ex.jsx)(il,{master:t.master,create_date:t.reply_date,comment:t.comment})}),(0,ex.jsxs)(i0,{children:[(0,ex.jsx)(i1,{children:(0,ex.jsx)("p",{children:"후기가 도움이 되었나요?"})}),(0,ex.jsx)(i2,{children:(null==(i=t.user)?void 0:i.name)===t.writer?(0,ex.jsx)(nY,{like_count:t.like_count,is_like:t.is_like,user:t.user,review_id:t.review_id}):(0,ex.jsx)(nZ,{like_count:t.like_count,is_like:t.is_like,user:t.user,review_id:t.review_id})})]})]})}),d?(0,ex.jsx)(eZ.A,{title:"알림",text:f,handleClose:u,button:"확인"}):null]})};var iD=eh.Ay.div.withConfig({displayName:"ReviewList__ReviewWrapper",componentId:"sc-5wy66j-0"})(["width:100%;height:100%;float:left;padding:0 0 24px 0;border-bottom:1px solid var(--PG200);"]),iV=eh.Ay.div.withConfig({displayName:"ReviewList__CategoryWrapper",componentId:"sc-5wy66j-1"})(["float:right;"]),iH=eh.Ay.div.withConfig({displayName:"ReviewList__UserWrapper",componentId:"sc-5wy66j-2"})(["width:100%;height:100%;float:left;"]),iZ=eh.Ay.div.withConfig({displayName:"ReviewList__UserStarWrapper",componentId:"sc-5wy66j-3"})(["float:left;width:100%;height:16px;"]),iU=eh.Ay.div.withConfig({displayName:"ReviewList__StarList",componentId:"sc-5wy66j-4"})(["float:left;width:50%;height:100%;.starIcon{float:left;}.star0{width:94px;height:100%;float:left;}.starCount{float:left;font-family:NotoSansCJKkr;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;text-align:center;color:var(--PG600);margin-left:8px;}h1{height:16px;font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;text-align:left;color:var(--PG900);}.starCount{font-size:12px;line-height:16px;}.starIcon{width:75px;height:100%;float:left;}.starImg{width:100%;height:100%;float:left;}.starImg5{width:75px;height:100%;float:left;}"]),iQ=eh.Ay.div.withConfig({displayName:"ReviewList__UserInfo",componentId:"sc-5wy66j-5"})(["float:left;p{float:left;font-family:NotoSansCJKkr;font-size:12px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;color:var(--PG600);}"]),iY=eh.Ay.div.withConfig({displayName:"ReviewList__Line",componentId:"sc-5wy66j-6"})(["width:2px;height:2px;margin:7px 8px;background-color:var(--PG400);float:left;"]),iX=eh.Ay.div.withConfig({displayName:"ReviewList__UserComment",componentId:"sc-5wy66j-7"})(["margin:24px 0 8px 0;width:100%;height:100%;float:left;pre{height:100%;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG800);white-space:pre-wrap;word-wrap:break-word;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-break:break-all;}"]),i$=eh.Ay.div.withConfig({displayName:"ReviewList__CommentWrapper",componentId:"sc-5wy66j-8"})(["width:100%;height:100%;float:left;margin:24px 0;"]),i0=eh.Ay.div.withConfig({displayName:"ReviewList__LikeWrapper",componentId:"sc-5wy66j-9"})(["width:100%;height:36px;float:left;"]),i1=eh.Ay.div.withConfig({displayName:"ReviewList__LikeTitle",componentId:"sc-5wy66j-10"}
1)(["height:36px;float:left;p{height:36px !important;font-family:NotoSansCJKkr;font-size:14px !important;font-weight:normal;font-stretch:normal;font-style:normal;line-height:36px !important;letter-spacing:normal;color:var(--PG600);}"]),i2=eh.Ay.div.withConfig({displayName:"ReviewList__ButtonWrapper",componentId:"sc-5wy66j-11"})(["float:right;height:36px;"]),i4=eh.Ay.div.withConfig({displayName:"ReviewList__DeleteWrapper",componentId:"sc-5wy66j-12"})(["float:left;cursor:pointer;p{font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;color:var(--P500);}"]),i5=n(74359),i6=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50;return(0,i5.I)({queryKey:["qnaList",t,n,i],queryFn:(e=(0,en.A)(er().mark(function e(){var o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,eY.A.get("/api/master/qna/list",{params:{master_id:t,page:n,pageSize:i}});case 2:return o=e.sent,e.abrupt("return",o.data.data);case 4:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)}),enabled:!!t,staleTime:12e4,gcTime:3e5})},i3=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new_desc",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:50;return(0,i5.I)({queryKey:["reviewList",t,n,i,o],queryFn:(e=(0,en.A)(er().mark(function e(){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,eY.A.get("/api/master/review/list",{params:{master_id:t,order:n,page:i,pageSize:o}});case 2:return r=e.sent,e.abrupt("return",r.data.data);case 4:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)}),enabled:!!t,staleTime:6e4,gcTime:3e5})},i8=n(83018),i9=eh.Ay.div.withConfig({displayName:"ReviewPolicyBanner__BannerWrap",componentId:"sc-1ou06ti-0"})(["width:100%;height:144px;border-radius:8px;background-color:var(--green);position:relative;padding:24px;margin-bottom:24px;.title{position:absolute;width:210px;font-size:16px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:24px;letter-spacing:normal;color:var(--white);text-align:left;left:24px;}.bannerImg{width:130px;height:144px;position:absolute;right:0;top:0;}",""],function(t){return t.theme.mobile(J||(J=(0,eA.A)(["\n            .title {\n          position: absolute;\n          width: 210px;\n          font-size: 12px;\n          font-weight: bold;\n          font-stretch: normal;\n          font-style: normal;\n          line-height: 16px;\n          letter-spacing: normal;\n          color: var(--white);\n          text-align: left;\n          left: 24px;\n    }\n    "])))});let i7=function(){return(0,ex.jsxs)(i9,{children:[(0,ex.jsxs)("div",{className:"title",children:["5분 이상 상담한 경우에만",(0,ex.jsx)("br",{}),"평가&후기를 작성할 수 있어요!"]}),(0,ex.jsx)("div",{className:"bannerImg",children:(0,ex.jsx)("img",{src:"../images/banner/policy/[email protected]",alt:"policy",width:130,height:144,className:"policyImg"})})]})};var ot=n(23601),oe=n(4730),on=n(78225);let oi=function(t){var e=t.isModalClose;return(0,ex.jsxs)(oe.A,{open:!0,onClose:e,width:414,maxWidth:414,height:"80%",children:[(0,ex.jsx)(ot.S.TitleWrap,{children:(0,ex.jsxs)(ot.S.TitleLabel,{children:[(0,ex.jsx)("p",{children:"상담후기 운영정책"}),(0,ex.jsx)(ot.S.CloseWrap,{onClick:e,children:(0,ex.jsx)(nG.A,{})})]})}),(0,ex.jsxs)(on.S.Content,{children:[(0,ex.jsx)(on.S.Banner,{children:(0,ex.jsx)(i7,{})}),(0,ex.jsxs)(on.S.Section,{children:[(0,ex.jsx)(on.S.Title,{children:"평가 & 후기 작성 안내"}),(0,ex.jsxs)(on.S.List,{children:[(0,ex.jsx)("li",{children:(0,ex.jsx)("span",{children:"작성 기준: 3분(180초)이상 상담 1건당 1회"})}),(0,ex.jsx)("li",{children:"작성 기간: 상담일 기준 14일 이내"}),(0,ex.jsxs)("li",{children:["작성 경로:",(0,ex.jsxs)("ol",{children:[(0,ex.jsx)("li",{children:"상담내역 > 항목 선택"}),(0,ex.jsx)("li",{children:"상담후기 > 상담내역 > 항목 선택"})]})]})]})]}),(0,ex.jsxs)(on.S.Section,{children:[(0,ex.jsx)(on.S.Title,{children:"후기 관리 규정"}),(0,ex.jsx)(on.S.Description,{children:"아래 규정 위반 항목에 해당하는 경우, 해당 후기는 별도의 안내 없이 삭제될 수 있으며, 규정 위반을 반복하는 계정의 경우 블랙리스트(서비스 이용중지)에 등록될 수 있습니다."}),(0,ex.jsxs)(on.S.List,{children:[(0,ex.jsx)("li",{children:"상담 이용과 무관한 내용일 경우"}),(0,ex.jsx)("li",{children:"욕설, 비속어 등 부적절한 단ì
1–´ê°€ 포함되어 있는경우"}),(0,ex.jsx)("li",{children:"상담사에 대한 모욕이나 근거 없는 비판, 명예훼손의 내용이 포함된 경우"}),(0,ex.jsx)("li",{children:"상담사의 연락처를 요구하거나 개인 연락을 유도하는 경우"}),(0,ex.jsx)("li",{children:"휴대폰번호, 이름 등 개인정보를 포함하는 경우"}),(0,ex.jsx)("li",{children:"ê·¸ 외 사회통념과 정서에 어긋나는 내용이 포함된 경우"})]})]})]})]})};var oo={Container:(0,e_.A)(eC.A)(O||(O=(0,eA.A)(["\n    width: 100%;\n    padding-bottom: 12px;\n    border-bottom: 1px solid var(--PG200);\n  "]))),TitleWrapper:(0,e_.A)(eC.A)(F||(F=(0,eA.A)(["\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    width: 100%;\n    margin: 20px 0 12px 0;\n  "]))),Title:(0,e_.A)(ek.A)(q||(q=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 18px;\n    font-weight: bold;\n    line-height: 36px;\n    color: var(--PG900);\n\n    .highlight {\n      color: var(--V10);\n    }\n  "]))),ActionButton:(0,e_.A)(eC.A)(D||(D=(0,eA.A)(["\n    display: flex;\n    margin: 8px 0;\n    cursor: pointer;\n  "]))),FilterWrapper:(0,e_.A)(eC.A)(V||(V=(0,eA.A)(["\n    display: flex;\n    min-width: 87px;\n    cursor: pointer;\n    justify-content: flex-end;\n    margin: 0;\n  "]))),Content:(0,e_.A)(eC.A)(H||(H=(0,eA.A)(["\n    display: flex;\n    width: 100%;\n    margin: 12px 0;\n  "]))),PolicyButtonWrapper:(0,e_.A)(eC.A)(Z||(Z=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    gap: 24px;\n  "]))),ReviewList:(0,e_.A)(eC.A)(U||(U=(0,eA.A)(["\n    display: flex;\n    width: 100%;\n    margin: 32px 0 0;\n  "]))),EmptyWrapper:(0,e_.A)(eC.A)(Q||(Q=(0,eA.A)(["\n    display: flex;\n    width: 100%;\n    min-height: 200px;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    margin: 24px 0;\n  "]))),EmptyText:(0,e_.A)(ek.A)(Y||(Y=(0,eA.A)(["\n    width: 100%;\n    text-align: center;\n    font-family: NotoSansCJKkr;\n    font-size: 14px;\n    line-height: 20px;\n    color: var(--PG600);\n    white-space: pre-line;\n    padding: 0 12px;\n  "]))),LoadMoreButton:(0,e_.A)(eC.A)(X||(X=(0,eA.A)(["\n    display: flex;\n    width: 100%;\n    margin-top: 16px;\n  "])))};let or=function(t){var e,n=t.master,i=t.user,o=t.query,r=(0,eW.useRouter)(),a=(0,ep.useState)(50),l=a[0],s=a[1],c=(0,ep.useState)("new_desc"),d=c[0],p=c[1],h=(0,ep.useState)("최신순"),x=h[0],f=h[1],m=(0,ep.useState)(!1),g=m[0],u=m[1],w=(0,ep.useState)(!1),v=w[0],y=w[1],j=(0,ep.useState)(!1),b=j[0],A=j[1],_=(0,ep.useState)(!1),C=_[0],k=_[1],N=i3(o.id,d,1,l).data,S=(null==N?void 0:N.review_list)||[],L=(null==N||null==(e=N.paging)?void 0:e.totalCount)||0,I=(null==N?void 0:N.star)||[],P=function(){y(!1),A(!1),k(!1)};return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsxs)(oo.Container,{children:[(0,ex.jsxs)(oo.TitleWrapper,{children:[(0,ex.jsx)(oo.Title,{children:"평가"}),(0,ex.jsx)(oo.ActionButton,{onClick:function(){if(!(0,ew.iD)())return void k(!0);r.push("/my/calls")},children:(0,ex.jsx)(nA.A,{title:"후기쓰기"})})]}),(0,ex.jsxs)(oo.PolicyButtonWrapper,{children:[(0,ex.jsx)(iG,{star:I}),(0,ex.jsx)(nk,{title:"3분 이상 실제 상담한 고객만!",link:"후기정책",text:"허위, 조작이 불가능한 100% 진짜 후기",onClick:function(){y(!0)}})]}),(0,ex.jsxs)(oo.TitleWrapper,{className:"review_title",children:[(0,ex.jsxs)(oo.Title,{children:["후기"," ",(0,ex.jsx)("span",{className:"highlight",children:L>=1?(0,iP.Z)(L):"-"}),"ê±´"]}),(0,ex.jsx)(oo.FilterWrapper,{onClick:function(){u(!g)},children:(0,ex.jsx)(nj,{title:x})})]}),g&&(0,ex.jsx)(nM,{getSelectOption:function(t,e){f(t),p(e),u(!1)},getClose:function(){return u(!1)}})]}),L>=1?(0,ex.jsx)(ex.Fragment,{children:S.map(function(t){return(0,ex.jsx)(oo.ReviewList,{children:1===t.hidden?(0,ex.jsx)(ix,{create_date:t.date,text:t.content,type:t.call_type,master:n.name,reply_date:t.replied_at,rating:t.star,writer:t.writer,like_count:t.like_count,is_like:t.is_like,user:i,review_id:t.id,star:t.star},t.id):null!==t.replied_at?(0,ex.jsx)(iq,{create_date:t.date,text:t.content,comment:t.reply,type:t.call_type,master:n.name,reply_date:t.replied_at,rating:t.star,writer:t.writer,like_count:t.like_count,is_like:t.is_like,user:i,review_id:t.id,star:t.star},t.id):(0,ex.jsx)(n2,{create_date:t.date,text:t.content,type:t.call_type,master:n.name,reply_date:t.replied_at,rating:t.star,writer:t.writer,like_count:t.like_count,is_like:t.is_like,user:i,review_id:t.id,star:t.star},t.id)},t.id)})}):(0,ex.jsx)(oo.EmptyWrapper,{children:(0,ex.jsx)(oo.EmptyText,{children:"아직 작성된 후기가 없어요.\n최초로 상담후기를 남겨보세요."})}),L>=50&&l<=L&&(0,ex.jsx)(oo.LoadMoreButton,{onClick:function(){s(function(t){return t+50})},children:(0,ex.jsx)(nb.A,{title:"더보기"})}),C&&(0,ex.jsx)(eb.A,{isOpen:C,message:"로그인이 필요해요.",buttonText:"로그인",onClick:function(){r.push("/login")},onClose:P}),v&&(0,ex.jsx)(oi,{isModalClose:P,getPreventGoBack:P}),b&&(0,ex.jsx)(i8.A,{isModalClose:P,getPreventGoBack:P})]})};var oa=n(3738),ol=n(37746),os=n(17138),oc=n(69284);let od=function(t){var e=(0,eW.useRouter)(),n=t.qna_list,i=(0,ep.useState)(0),o=i[0],r=i[1],a=(0,ep.useState)(!1),l=a[0],s=a[1],c=(0,ep.useState)(!1),d=c[0],p=c[1],h=(0,ep.useState)(0),x=h[0],f=h[1],m=(0,ep.useState)(!1),g=(m[0],m[1]),u=(0,ep.useState)(null),w=u[0],v=u[1],y=(0,ep.useState)(!1),j=y[0],b=y[1],A=function(t){"success"===t?(document.body.style.overflow="unset",document.body.classList.remove("not_scroll"),g(!1)):"error"===t?(document.body.style.overflow="unset",document.body.classList.remove("not_scroll"),b(!1)):(document.body.style.overflow="unset",document.body.classList.remove("not_scroll"))},_=function(t,e){"delete"===t?(setTimeout(function(){document.body.style.overflow="hidden"},0),document.body.classList.add("not_scroll"),p(!d),f(e)):(setTimeout(function(){document.body.style.overflow="unset"},0),document.body.classList.remove("not_scroll"),b(!j))},C=function(t){o===t?r(null):r(t)},k=n.map(function(e,n){var i,r,a,l,s,c,d=e.user_name,p=d&&d.slice("").substr(0,2)+"******",h=n===o?"show-description":"hidden-description";return(0,ex.jsx)(ep.Fragment,{children:(0,ex.jsxs)(op,{children:[(0,ex.jsxs)(ob,{onClick:function(){C(n)},children:[(0,ex.jsxs)("div",{className:"type",children:[(0,ex.jsx)(oh,{children:null===e.reply?(0,ex.jsx)(oc.A,{title:"답변대기"}):null!==e.replied_at?(0,ex.jsx)(oc.A,{type:"active",title:"답변완료"}):null!==e.re_content&&null===e.re_reply?(0,ex.jsx)(oc.A,{title:"답변대기"}):null!==e.re_reply_datetime?(0,ex.jsx)(oc.A,{type:"active",title:"답변완료"}):(0,ex.jsx)(oc.A,{title:"답변대기"})}),(0,ex.jsx)(of,{children:null!==e.call_type?(0,ex.jsx)(ex.Fragment,{children:"PHONE"===e.call_type?(0,ex.jsx)("p",{className:"master",children:"전화"}):"CHAT"===e.call_type?(0,ex.jsx)("p",{className:"master",children:"채팅"}):"VOICE"===e.call_type?(0,ex.jsx)("p",{className:"master",children:"음성"}):(0,ex.jsx)("p",{className:"master",children:"화상"})}):null})]}),(0,ex.jsxs)("div",{className:"qna",children:[1===e.hidden?(0,ex.jsx)(os.A,{type:"hidden"}):(0,ex.jsx)(os.A,{}),(0,ex.jsxs)("div",{className:"question",children:[(0,ex.jsx)(ox,{children:1===e.hidden&&e.user_name!==(null==(i=t.user)?void 0:i.name)?(0,ex.jsx)("pre",{children:"비공개 문의입니다."}):(0,ex.jsx)("pre",{className:h,id:h,children:e.content})}),(0,ex.jsxs)(om,{children:[e.user_name===(null==(r=t.user)?void 0:r.name)?(0,ex.jsx)("p",{className:"userName",children:d}):e.user_name&&e.user_name.length<=2?(0,ex.jsxs)("p",{className:"userName",children:[d,"******"]}):(0,ex.jsx)("p",{className:"userName",children:p}),(0,ex.jsx)(ov,{}),(0,ex.jsx)("p",{children:e.created_at.split(" ")[0].replace(/-/gi,".")}),(0,ex.jsx)(oA,{children:(null==(a=t.user)?void 0:a.name)===d?(0,ex.jsxs)("div",{className:"".concat(h," deleteButtonClass"),id:h,children:[(0,ex.jsx)(ov,{}),(0,ex.jsx)(ou,{onClick:function(t){return _("delete",e.id)},children:(0,ex.jsx)("p",{children:"삭제"})})]}):null})]})]})]})]}),null!=e.reply&&e.user_name===(null==(l=t.user)?void 0:l.name)?(0,ex.jsx)(og,{className:h,id:h,children:(0,ex.jsxs)("div",{className:"answer",children:[null!==e.replied_at?(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsxs)("div",{className:"answerList",children:[(0,ex.jsx)(ol.A,{}),(0,ex.jsxs)(oj,{children:[(0,ex.jsx)(oy,{children:""===e.reply?(0,ex.jsx)("pre",{children:"-"}):(0,ex.jsx)("pre",{children:e.reply})}),(0,ex.jsxs)(ow,{children:[(0,ex.jsx)("p",{children:t.master.name}),(0,ex.jsx)(ov,{}),(0,ex.jsx)("p",{children:e.replied_at?e.replied_at.split(" ")[0].replace(/-/gi,"."):e.replied_at})]})]})]})}):null,null!==e.re_content&&""!==e.re_content?(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsxs)("div",{className:"answerList",children:[(0,ex.jsx)(os.A,{}),(0,ex.jsxs)(oj,{children:[(0,ex.jsx)(oy,{children:(0,ex.jsx)("pre",{children:e.re_content})}),(0,ex.jsxs)(ow,{children:[e.user_name===(null==(s=t.user)?void 0:s.name)?(0,ex.jsx)("p",{className:"userName",children:d}):e.user_name.length<=2?(0,ex.jsxs)("p",{className:"userName",children:[d,"******"]}):(0,ex.jsx)("p",{className:"userName",children:p}),(0,ex.jsx)(ov,{}),(0,ex.jsx)("p",{children:null!==e.re_content_datetime?e.re_content_datetime.split(" ")[0].replace(/-/gi,"."):e.re_content_datetime})]})]})]})}):null,null!==e.re_reply&&""!==e.re_reply?(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsxs)("div",{className:"answerList",children:[(0,ex.jsx)(ol.A,{}),(0,ex.jsxs)(oj,{children:[(0,ex.jsx)(oy,{children:(0,ex.jsx)("pre",{children:e.re_reply})}),(0,ex.jsxs)(ow,{children:[(0,ex.jsx)("p",{children:t.master.name}),(0,ex.jsx)(ov,{}),(0,ex.jsx)("p",{children:null!==e.re_reply_datetime?e.re_reply_datetime.split(" ")[0].replace(/-/gi,"."):e.re_reply_datetime})]})]})]})}):null]})}):null!=e.reply&&1!==e.hidden?(0,ex.jsx)(og,{className:h,id:h,children:(0,ex.jsxs)("div",{className:"answer",children:[e.replied_at?(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsxs)("div",{className:"answerList",children:[(0,ex.jsx)(ol.A,{}),(0,ex.jsxs)(oj,{children:[(0,ex.jsx)(oy,{children:""===e.reply?(0,ex.jsx)("pre",{children:"-"}):(0,ex.jsx)("pre",{children:e.reply})}),(0,ex.jsxs)(ow,{children:[(0,ex.jsx)("p",{children:t.master.name}),(0,ex.jsx)(ov,{}),(0,ex.jsx)("p",{children:e.replied_at?e.replied_at.split(" ")[0].replace(/-/gi,"."):e.replied_at})]})]})]})}):null,null!==e.re_content&&""!==e.re_content?(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsxs)("div",{className:"answerList",children:[(0,ex.jsx)(os.A,{}),(0,ex.jsxs)(oj,{children:[(0,ex.jsx)(oy,{children:(0,ex.jsx)("pre",{children:e.re_content})}),(0,ex.jsxs)(ow,{children:[e.user_name===(null==(c=t.user)?void 0:c.name)?(0,ex.jsx)("p",{className:"userName",children:d}):e.user_name.length<=2?(0,ex.jsxs)("p",{className:"userName",children:[d,"******"]}):(0,ex.jsx)("p",{className:"userName",children:p}),(0,ex.jsx)(ov,{}),(0,ex.jsx)("p",{children:null!==e.re_content_datetime?e.re_content_datetime.split(" ")[0].replace(/-/gi,"."):e.re_content_datetime})]})]})]})}):null,null!==e.re_reply&&""!==e.re_reply?(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsxs)("div",{className:"answerList",children:[(0,ex.jsx)(ol.A,{}),(0,ex.jsxs)(oj,{children:[(0,ex.jsx)(oy,{children:(0,ex.jsx)("pre",{children:e.re_reply})}),(0,ex.jsxs)(ow,{children:[(0,ex.jsx)("p",{children:t.master.name}),(0,ex.jsx)(ov,{}),(0,ex.jsx)("p",{children:null!==e.re_reply_datetime?e.re_reply_datetime.split(" ")[0].replace(/-/gi,"."):e.re_reply_datetime})]})]})]})}):null]})}):null]},e.id)},e.id)});return(0,ex.jsxs)(ep.Fragment,{children:[k,d&&(0,ex.jsx)(eb.A,{isOpen:d,title:"알림",message:"삭제 시 복구할 수 없어요. \n그래도 삭제하시겠어요?",buttonText:"삭제",onClose:function(){return p(!1)},onClick:function(){document.body.style.overflow="hidden",document.body.classList.add("not_scroll"),null!==(0,ew.iD)()&&ev.A.delete("/api/master/qna?qna_id=".concat(x)).then(function(t){p(!1),e.reload(),200!==t.data.status&&(p(!1),v(t.data.message),b(!0))}).catch(function(t){document.body.style.overflow="unset",document.body.classList.remove("not_scroll")})}}),l?(0,ex.jsx)(oa.A,{getListRefresh:function(e){return t.getListRefresh(e)},qna_id:x,getReContent:function(t){return s(t)},getSuccessAlert:function(t){return g(t)},getErrorMessage:function(t){v(t)},getErrorAlert:function(t){return b(t)},isModalClose:function(t){document.body.style.overflow="unset",document.body.classList.remove("not_scroll"),s(!1)}}):null,j?(0,ex.jsx)(eZ.A,{title:"알림",text:w,button:"확인",handleClose:function(t){return A("error")}}):null]})};var op=eh.Ay.div.withConfig({displayName:"ReserveAccordion__AccordionWrapper",componentId:"sc-8dzsay-0"})(["width:100%;float:left;padding:24px 0 12px 0;border-bottom:1px solid var(--PG200);"]),oh=eh.Ay.div.withConfig({displayName:"ReserveAccordion__AnswerType",componentId:"sc-8dzsay-1"}
1)(["height:20px;float:left;",""],function(t){return t.theme.mobile($||($=(0,eA.A)(["\n        height: 16px;\n    "])))}),ox=eh.Ay.div.withConfig({displayName:"ReserveAccordion__ReserveTitle",componentId:"sc-8dzsay-2"})(["float:left;cursor:pointer;width:100%;.show-description{height:100% !important;white-space:pre-wrap;overflow:auto;width:100%;}pre{font-family:NotoSansCJKkr;font-size:16px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:24px;letter-spacing:normal;color:var(--PG800);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}",""],function(t){return t.theme.mobile(tt||(tt=(0,eA.A)(["\n        pre {\n            font-size: 14px;\n            line-height: 20px;\n        }\n    "])))}),of=eh.Ay.div.withConfig({displayName:"ReserveAccordion__ReserveDrop",componentId:"sc-8dzsay-3"})(["right:0;float:right;height:20px;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;text-align:center;color:var(--PG600);",""],function(t){return t.theme.mobile(te||(te=(0,eA.A)(["\n        height: 16px;\n        font-size: 12px;\n        line-height: 16px;\n    "])))}),om=eh.Ay.div.withConfig({displayName:"ReserveAccordion__UserInfo",componentId:"sc-8dzsay-4"})(["width:100%;float:left;padding:8px 0 0 0;cursor:default;.name{width:36px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;}p{float:left;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG600);}",""],function(t){return t.theme.mobile(tn||(tn=(0,eA.A)(["\n    .name {\n        float: left;\n    }\n    p {\n      float: left;\n      font-family: NotoSansCJKkr;\n      font-size: 12px;\n      font-weight: normal;\n      font-stretch: normal;\n      font-style: normal;\n      line-height: 14px;\n      letter-spacing: normal;\n      color: var(--PG600);\n    }\n    "])))}),og=eh.Ay.div.withConfig({displayName:"ReserveAccordion__AccordionInner",componentId:"sc-8dzsay-5"})(["width:100%;height:100%;float:left;display:none;.answer{width:100%;float:left;cursor:default;}.answerList{width:100%;float:left;margin:12px 0;cursor:default;}.moreButton{width:105px;float:left;margin:24px 0 12px 40px;}"]),ou=eh.Ay.div.withConfig({displayName:"ReserveAccordion__DeleteWrapper",componentId:"sc-8dzsay-6"})(["float:left;cursor:pointer;p{font-family:NotoSansCJKkr;font-size:14px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--P500);}",""],function(t){return t.theme.mobile(ti||(ti=(0,eA.A)(["\n         p {\n      font-family: NotoSansCJKkr;\n      font-size: 12px;\n      font-weight: bold;\n      font-stretch: normal;\n      font-style: normal;\n      line-height: 16px;\n      letter-spacing: normal;\n      color: var(--P500);    \n    }\n    "])))}),ow=eh.Ay.div.withConfig({displayName:"ReserveAccordion__MasterWrapper",componentId:"sc-8dzsay-7"})(["width:100%;height:20px;float:left;cursor:default;p{float:left;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG600);}",""],function(t){return t.theme.mobile(to||(to=(0,eA.A)(["\n          width: 100%;\n        height: 16px;\n        float: left;\n    p {\n      height: 16px;\n      float: left;\n      font-family: NotoSansCJKkr;\n      font-size: 12px;\n      font-weight: normal;\n      font-stretch: normal;\n      font-style: normal;\n      line-height: 16px;\n      letter-spacing: normal;\n      color: var(--PG600);\n    }\n    "])))}),ov=eh.Ay.div.withConfig({displayName:"ReserveAccordion__Line",componentId:"sc-8dzsay-8"})(["float:left;width:2px;height:2px;background:var(--PG400);margin:9px 8px;"]),oy=eh.Ay.div.withConfig({displayName:"ReserveAccordion__Comment",componentId:"sc-8dzsay-9"})(["width:100%;height:100%;float:left;margin:0 0 8px 0;pre{float:left;text-align:left;height:100%;font-family:NotoSansCJKkr;font-size:16px;line-height:24px;font-weight:normal;font-stretch:normal;font-style:normal;letter-spacing:normal;color:var(--PG800);word-wrap:break-word;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-break:break-all;}",""],function(t){return t.theme.mobile(tr||(tr=(0,eA.A)(["\n        pre {\n            font-size: 14px;\n            line-height: 20px;\n        }\n    "])))}
1),oj=eh.Ay.div.withConfig({displayName:"ReserveAccordion__CommentWrapper",componentId:"sc-8dzsay-10"})(["width:calc(100% - 24px - 16px);height:100%;float:left;margin-left:16px;",""],function(t){return t.theme.mobile(ta||(ta=(0,eA.A)(["\n         width: calc( 100% - 20px - 16px );\n    "])))}),ob=eh.Ay.div.withConfig({displayName:"ReserveAccordion__AccordionTitle",componentId:"sc-8dzsay-11"})(["width:100%;height:100%;float:left;margin-bottom:12px;.type{width:100%;float:left;margin-bottom:24px;}.question{width:calc(100% - 24px - 16px);float:left;margin-left:16px;}.qna{max-width:760px;width:100%;float:left;cursor:default;}",""],function(t){return t.theme.mobile(tl||(tl=(0,eA.A)(["\n        \n        .qna {\n            width: 100%;\n            float: left;\n            cursor: default;\n        }\n        \n         .question {\n            width: calc( 100% - 20px - 16px );\n         }\n    "])))}),oA=eh.Ay.div.withConfig({displayName:"ReserveAccordion__DeleteButton",componentId:"sc-8dzsay-12"})(["float:left;.deleteButtonClass{display:none;}"]);ep.useState;let o_=function(t){var e=t.title,n=t.link,i=t.onClick;return(0,ex.jsxs)(oC,{children:[(0,ex.jsx)(ok,{children:(0,ex.jsx)("label",{children:e})}),(0,ex.jsxs)(oN,{onClick:i,children:[(0,ex.jsx)("p",{children:n}),(0,ex.jsx)(nC,{})]})]})};var oC=eh.Ay.div.withConfig({displayName:"Rule_Button__ButtonWrapper",componentId:"sc-1kj89xe-0"})(["width:100%;height:48px;float:left;padding:16px;border-radius:8px;border:solid 1px var(--PG300);background-color:var(--white);"]),ok=eh.Ay.div.withConfig({displayName:"Rule_Button__TitleWrap",componentId:"sc-1kj89xe-1"})(["float:left;label{float:left;font-family:NotoSansCJKkr;font-size:12px !important;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px !important;letter-spacing:normal;color:var(--PG800);}"]);eh.Ay.button.withConfig({displayName:"Rule_Button__LinkButton",componentId:"sc-1kj89xe-2"})(["width:30%;height:20px;float:right;background:none;border:none;top:0;label{float:right;height:20px !important;font-family:NotoSansCJKkr;font-size:14px !important;font-weight:bold;font-stretch:normal;font-style:normal;line-height:20px !important;letter-spacing:normal;text-align:center;color:var(--P400) !important;cursor:pointer;}"]),eh.Ay.div.withConfig({displayName:"Rule_Button__TextWrap",componentId:"sc-1kj89xe-3"})(["float:left;width:100%;height:16px;bottom:0;p{text-align:left;height:16px !important;font-family:NotoSansCJKkr;font-size:12px !important;font-weight:normal;font-stretch:normal;font-style:normal;line-height:16px !important;letter-spacing:normal;color:rgb(255,255,255,0.6) !important;}"]);var oN=eh.Ay.button.withConfig({displayName:"Rule_Button__TextRightBlock",componentId:"sc-1kj89xe-4"})(["float:right;background:none;border:none;p{font-family:NotoSansCJKkr;font-size:12px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:16px;letter-spacing:normal;text-align:center;color:var(--PG700);float:left;}&:hover{p{color:var(--PG600);}}&:active{color:var(--PG800);}}&:disabled{color:var(--PG500);}}"]);let oS=function(t){var e=t.isModalClose;return(0,ex.jsxs)(oe.A,{open:!0,onClose:e,width:414,maxWidth:414,height:"auto",minHeight:400,children:[(0,ex.jsx)(ot.S.TitleWrap,{children:(0,ex.jsxs)(ot.S.TitleLabel,{children:[(0,ex.jsx)("p",{children:"예약문의 관리정책"}),(0,ex.jsx)(ot.S.CloseWrap,{onClick:e,children:(0,ex.jsx)(nG.A,{})})]})}),(0,ex.jsx)(on.S.Content,{children:(0,ex.jsxs)(on.S.Section,{children:[(0,ex.jsx)(on.S.Title,{children:"문의 관리 규정"}),(0,ex.jsx)(on.S.Description,{children:"아래 규정 위반 항목에 해당하는 경우, 해당 후기는 별도의 안내 없이 삭제될 수 있으며, 규정 위반을 반복하는 계정의 경우 블랙리스트(서비스 이용중지)에 등록될 수 있습니다."}),(0,ex.jsxs)(on.S.List,{children:[(0,ex.jsx)("li",{children:"상담 문의와 무관한 내용일 경우"}),(0,ex.jsx)("li",{children:"타로점을 봐달라고 요청하는 경우"}),(0,ex.jsx)("li",{children:"욕설, 비속어 등 부적절한 단어가 포함되어 있는경우"}),(0,ex.jsx)("li",{children:"상담사에 대한 모욕이나 근거 없는 비판, 명예훼손의 내용이 포함된 경우"}),(0,ex.jsx)("li",{children:"상담사의 연락처를 요구하거나 개인 연락을 유도하는 경우"}),(0,ex.jsx)("li",{children:"휴대폰번호, 이름 등 개인정보를 포함하는 경우"}),(0,ex.jsx)("li",{children:"그 외 사회통념과 정서에 어긋나는 내용이 포함된 경우"})]})]})})]})};var oL={Container:(0,e_.A)(eC.A)(ts||(ts=(0,eA.A)(["\n    width: 100%;\n    padding-bottom: 12px;\n    border-bottom: 1px solid var(--PG200);\n  "]))),TitleWrapper:(0,e_.A)(eC.A)(tc||(tc=(0,eA.A)(["\n    display: flex;\n    justify-content: space-between;
1\n    align-items: center;\n    width: 100%;\n    margin: 20px 0 12px 0;\n  "]))),Title:(0,e_.A)(ek.A)(td||(td=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 18px;\n    font-weight: bold;\n    line-height: 36px;\n    color: var(--PG900);\n\n    .highlight {\n      color: var(--V10);\n    }\n  "]))),ActionButton:(0,e_.A)(eC.A)(tp||(tp=(0,eA.A)(["\n    margin: 8px 0;\n  "]))),Content:(0,e_.A)(eC.A)(th||(th=(0,eA.A)(["\n    width: 100%;\n    margin: 12px 0;\n  "]))),AccordionWrapper:(0,e_.A)(eC.A)(tx||(tx=(0,eA.A)(["\n    width: 100%;\n  "]))),EmptyWrapper:(0,e_.A)(eC.A)(tf||(tf=(0,eA.A)(["\n    width: 100%;\n    min-height: 200px;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n  "]))),EmptyText:(0,e_.A)(ek.A)(tm||(tm=(0,eA.A)(["\n    width: 100%;\n    text-align: center;\n    font-family: NotoSansCJKkr;\n    font-size: 14px;\n    line-height: 20px;\n    color: var(--PG600);\n    white-space: pre-line;\n  "]))),LoadMoreButton:(0,e_.A)(eC.A)(tg||(tg=(0,eA.A)(["\n    display: flex;\n    width: 100%;\n    margin-top: 16px;\n  "])))};let oI=function(t){var e,n,i=t.master,o=t.user,r=t.query,a=(0,eW.useRouter)(),l=(0,ep.useState)(50),s=l[0],c=l[1],d=(0,ep.useState)(!1),p=d[0],h=d[1],x=(0,ep.useState)(!1),f=x[0],m=x[1],g=(0,ep.useState)(!1),u=g[0],w=g[1],v=i6(r.id,1,s),y=v.data,j=v.refetch,b=(null==y?void 0:y.qna_list)||[],A=(null==y||null==(n=y.paging)?void 0:n.totalCount)||0,_=(e=(0,en.A)(er().mark(function t(){return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return h(!1),t.next=3,j();case 3:case"end":return t.stop()}},t)})),function(){return e.apply(this,arguments)}),C=function(){w(!1)};return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsxs)(oL.Container,{children:[(0,ex.jsxs)(oL.TitleWrapper,{children:[(0,ex.jsxs)(oL.Title,{children:["문의",A>0&&(0,ex.jsxs)(ex.Fragment,{children:[" ",(0,ex.jsx)("span",{className:"highlight",children:(0,iP.Z)(A)}),"건"]})]}),(0,ex.jsx)(oL.ActionButton,{onClick:function(){if(!(0,ew.iD)())return void m(!0);h(!0)},children:(0,ex.jsx)(nA.A,{title:"문의하기"})})]}),(0,ex.jsx)(oL.Content,{children:(0,ex.jsx)(o_,{title:"문의 전, 확인해주세요.",link:"관리규정",onClick:function(){w(!0)}})})]}),A>0?(0,ex.jsx)(oL.AccordionWrapper,{children:(0,ex.jsx)(od,{master:i,user:o,qna_list:b,getListRefresh:_})}):(0,ex.jsx)(oL.EmptyWrapper,{children:(0,ex.jsx)(oL.EmptyText,{children:"아직 작성된 문의가 없어요.\n최초로 예약문의를 남겨보세요."})}),A>=50&&s<=A&&(0,ex.jsx)(oL.LoadMoreButton,{onClick:function(){c(function(t){return t+50})},children:(0,ex.jsx)(nb.A,{title:"더보기"})}),f&&(0,ex.jsx)(eb.A,{isOpen:f,message:"로그인이 필요해요.",buttonText:"로그인",onClick:function(){a.push("/login")},onClose:function(){m(!1)}}),p&&(0,ex.jsx)(es.A,{isModalClose:_,master_id:i.id,status:p,SuccessAlert:_,getPreventGoBack:_}),u&&(0,ex.jsx)(oS,{isModalClose:C,getPreventGoBack:C})]})};var oP={TabContainer:(0,e_.A)(eC.A)(tu||(tu=(0,eA.A)(["\n    display: flex;\n    height: 52px;\n    width: 100%;\n    position: sticky;\n    top: 47px;\n    z-index: 1;\n  "]))),TabList:(0,e_.A)(eC.A)(tw||(tw=(0,eA.A)(["\n    display: flex;\n    width: 100%;\n    height: 100%;\n    background-color: var(--white);\n  "]))),Container:(0,e_.A)(eC.A)(tv||(tv=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    height: 100%;\n    padding: 12px 24px 56px 24px;\n    margin-bottom: 56px;\n  "]))),TabItem:(0,e_.A)(eC.A)(ty||(ty=(0,eA.A)(["\n    display: inline-block;\n    background: none;\n    cursor: pointer;\n    width: 33.33%;\n    height: 52px;\n    padding: 16px 0;\n    border-bottom: 1px solid var(--PG300);\n  "]))),TabItemText:(0,e_.A)(ek.A,{shouldForwardProp:function(t){return"isActive"!==t}})(tj||(tj=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 14px;\n    font-weight: bold;\n    font-stretch: normal;\n    font-style: normal;\n    line-height: 20px;\n    letter-spacing: normal;\n    text-align: center;\n    height: 36px;\n    color: ",";\n    border-bottom: 2px solid\n      var(--",");\n  "])),function(t){return t.isActive?"var(--V10)":"#645A82"},function(t){return t.isActive?"V10":"none"})},oG={INFO:"INFO",REVIEW:"REVIEW",RESERVE:"RESERVE"},oz=[{id:0,option:"상세정보",type:oG.INFO,color:"#645A82"},{id:1,option:"상담후기",type:oG.REVIEW,color:"#645A82"},{id:2,option:"예약문의",type:oG.RESERVE,color:"#645A82"}];let oM=function(t){var e=t.master,n=t.video,i=t.query,o=t.user,r=t.interview,a=(0,ep.useState)(oG.INFO),l=a[0],s=a[1],c=function(t){s(t)};return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(oP.TabContainer,{children:(0,ex.jsx)(oP.TabList,{children:oz.map(function(t){return(0,ex.jsx)(oP.TabItem,{onClick:function(){return c(t.type)},children:(0,ex.jsx)(oP.TabItemText,{isActive:l===t.type,children:t.option})},t.id)})})}),(0,ex.jsxs)(oP.Container,{children:[l===oG.INFO&&(0,ex.jsx)(nw,{master:e,interview:r,video:n}),l===oG.REVIEW&&(0,ex.jsx)(or,{master:e,query:i,user:o}),l===oG.RESERVE&&(0,ex.jsx)(oI,{master:e,query:i,user:o})]})]})};var oT=n(83437),oB=n(93158),oW=n.n(oB),oR=n(63062),oE=n(93579),oK=n(62867),oJ=n(546),oO={1:{color:"#27e86b",text:"상담가능",buttonText:"상담하기"},2:{color:"#ffbb00",text:"상담중",buttonText:"알림설정"},3:{color:"#645a82",text:"부재중",buttonText:"예약문의"}},oF={Container:(0,e_.A)(eC.A)(tb||(tb=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    gap: 12px;\n  "]))),Title:(0,e_.A)(ek.A)(tA||(tA=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 18px;\n    font-weight: bold;\n    line-height: 36px;\n    color: var(--PG900);\n  "]))),Content:(0,e_.A)(eC.A)(t_||(t_=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    gap: 8px;\n  "]))),BoxContent:(0,e_.A)(eC.A)(tC||(tC=(0,eA.A)(["\n    display: flex;
1\n    align-items: center;\n    justify-content: space-between;\n    width: 100%;\n  "]))),Label:(0,e_.A)(ek.A)(tk||(tk=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 14px;\n    font-weight: bold;\n    line-height: 20px;\n    color: var(--PG800);\n  "]))),Value:(0,e_.A)(ek.A)(tN||(tN=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 14px;\n    line-height: 20px;\n    color: var(--PG800);\n  "])))},oq=function(t){var e=t.messageCoin;return(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsxs)(oF.Container,{children:[(0,ex.jsx)(oF.Title,{children:"상담료"}),(0,ex.jsxs)(oF.Content,{children:[(0,ex.jsxs)(oF.BoxContent,{children:[(0,ex.jsx)(oF.Label,{children:"ARS"}),(0,ex.jsxs)(oF.Value,{children:[(0,iP.Z)(1190),"원"]})]}),(0,ex.jsxs)(oF.BoxContent,{children:[(0,ex.jsx)(oF.Label,{children:"쪽지"}),(0,ex.jsxs)(oF.Value,{children:[(0,iP.Z)(e||0),"코인"]})]})]})]})})},oD=n(39524),oV=n(67768),oH=n(40097),oZ=function(){var t,e=(0,oV.jE)();return(0,oH.n)({mutationFn:(t=(0,en.A)(er().mark(function t(e){return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ev.A.post("/api/master/favorites",null,{params:{master_id:e}});case 2:case"end":return t.stop()}},t)})),function(e){return t.apply(this,arguments)}),onSuccess:function(){e.invalidateQueries({queryKey:["favorites"]})}})},oU=function(){var t,e=(0,oV.jE)();return(0,oH.n)({mutationFn:(t=(0,en.A)(er().mark(function t(e){return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ev.A.delete("/api/master/favorites",{params:{master_id:e}});case 2:case"end":return t.stop()}},t)})),function(e){return t.apply(this,arguments)}),onSuccess:function(){e.invalidateQueries({queryKey:["favorites"]})}})},oQ={ADD:"타로마스터를 찜했습니다.",REMOVE:"찜하기가 해제되었습니다."},oY=n(824),oX={FavoriteButton:(0,e_.A)(oY.A)(tS||(tS=(0,eA.A)(["\n    display: flex;\n    justify-content: center;
1\n    align-items: center;\n    width: 28px;\n    height: 28px;\n    cursor: pointer;\n  "]))),FavoriteWrap:(0,e_.A)(eC.A)(tL||(tL=(0,eA.A)(["\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    width: 28px;\n    height: 28px;\n    cursor: pointer;\n    position: relative;\n\n    #hover,\n    #active,\n    #disabled {\n      display: none;\n    }\n\n    &:hover {\n      #normal {\n        display: none;\n      }\n      #hover {\n        display: block;\n      }\n    }\n\n    &:active {\n      #normal,\n      #hover {\n        display: none;\n      }\n      #active {\n        display: block;\n      }\n    }\n\n    &:disabled {\n      #normal,\n      #hover,\n      #active {\n        display: none;\n      }\n      #disabled {\n        display: block;\n      }\n    }\n  "])))},o$=function(t){var e=t.id,n=t.fill,i=t.stroke;return(0,ex.jsx)("svg",{id:e,width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ex.jsx)("path",{d:"M9.1619 5C11.8728 5 13.9996 8.14612 13.9996 8.14612C13.9996 8.14612 16.0059 5 18.8386 5C21.5938 5 23.8438 7.36536 23.991 10.2294C24.0739 11.8473 23.5729 13.0787 22.8669 14.1938C21.4561 16.4219 13.9906 22.7778 13.9906 22.7778C13.9906 22.7778 6.55318 16.4415 5.13295 14.1938C4.42549 13.0735 3.92578 11.8473 4.00907 10.2294C4.15641 7.36545 6.40647 5 9.1619 5Z",fill:n,stroke:i})})};let o0=function(t){var e=t.isActive;return void 0!==e&&e?(0,ex.jsx)(oX.FavoriteWrap,{children:(0,ex.jsx)(o$,{id:"normal",fill:"#6045BA",stroke:"#6045BA"})}):(0,ex.jsxs)(oX.FavoriteWrap,{children:[(0,ex.jsx)(o$,{id:"normal",fill:"#E7E1F3"}),(0,ex.jsx)(o$,{id:"hover",fill:"#8F74CD",stroke:"#8F74CD"}),(0,ex.jsx)(o$,{id:"active",fill:"#6045BA",stroke:"#6045BA"}),(0,ex.jsx)(o$,{id:"disabled",fill:"#CEC5E0",stroke:"#CEC5E0"})]})},o1=function(t){var e,n,i=t.masterId,o=t.onLoginRequired,r=(0,ng.y)().lock,a=(0,oD.rB)().data,l=oZ(),s=oU(),c=(0,ep.useState)(!1),d=c[0],p=c[1],h=(0,ep.useState)(""),x=h[0],f=h[1],m=(0,ep.useMemo)(function(){return(null!=a?a:[]).some(function(t){return t.id===i})},[a,i]),g=(e=(0,en.A)(er().mark(function t(){return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((0,ew.iD)()){t.next=4;break}return r(),o(),t.abrupt("return");case 4:return t.prev=4,t.next=7,l.mutateAsync(i);case 7:return f(oQ.ADD),p(!0),t.abrupt("return");case 12:t.prev=12,t.t0=t.catch(4),console.error("Failed to 타로마스터 찜하기:",t.t0);case 15:case"end":return t.stop()}},t,null,[[4,12]])})),function(){return e.apply(this,arguments)}),u=(n=(0,en.A)(er().mark(function t(){return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((0,ew.iD)()){t.next=4;break}return r(),o(),t.abrupt("return");case 4:return t.prev=4,t.next=7,s.mutateAsync(i);case 7:return f(oQ.REMOVE),p(!0),t.abrupt("return");case 12:t.prev=12,t.t0=t.catch(4),console.error("Failed to 타로마스터 찜하기:",t.t0);case 15:f(oQ.REMOVE),p(!0);case 17:case"end":return t.stop()}},t,null,[[4,12]])})),function(){return n.apply(this,arguments)});return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(oX.FavoriteButton,{onClick:m?u:g,children:(0,ex.jsx)(o0,{isActive:m})}),d&&(0,ex.jsx)(eb.A,{isOpen:d,title:"알림",message:x,onClose:function(){p(!1)}})]})};var o2={Container:(0,e_.A)(eC.A)(tI||(tI=(0,eA.A)(["\n    display: flex;\n    width: 100%;\n  "]))),Title:(0,e_.A)(eC.A)(tP||(tP=(0,eA.A)(["\n    display: flex;\n    justify-content: flex-start;\n    align-items: flex-start;\n    gap: 20px;\n    width: 100%;\n    height: 28px;\n  "]))),TitleLabel:(0,e_.A)(ek.A)(tG||(tG=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 18px;\n    font-weight: 700;\n    line-height: 28px;\n    color: var(--PG900);\n  "]))),PointLabel:(0,e_.A)(ek.A)(tz||(tz=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 18px;\n    font-weight: 700;\n    line-height: 28px;\n    color: var(--V10);\n  "]))),FavoriteButtonWrap:(0,e_.A)(eC.A)(tM||(tM=(0,eA.A)(["\n    display: flex;\n    justify-content: flex-end;\n    align-items: flex-end;\n    width: 28px;\n    height: 100%;\n  "])))};let o4=function(t){var e=t.name,n=t.num,i=t.masterId,o=t.onLoginRequired;return(0,ex.jsxs)(o2.Container,{children:[(0,ex.jsxs)(o2.Title,{children:[(0,ex.jsx)(o2.TitleLabel,{children:e}),(0,ex.jsx)(o2.PointLabel,{children:n})]}),(0,ex.jsx)(o2.FavoriteButtonWrap,{children:(0,ex.jsx)(o1,{masterId:i,onLoginRequired:o})})]})};var o5=n(63492),o6=n(31601),o3=n(57889),o8=function(t){return t.AGE_19="~19",t.AGE_20="20~24",t.AGE_25="25~29",t.AGE_30="30~34",t.AGE_35="35~39",t.AGE_40="40~44",t.AGE_45="45~49",t.AGE_50="50~",t}({}),o9=function(t){return t.F="여성",t.M="남성",t}({}),o7=[{title:"~19",value:"AGE_19"},{title:"20~24",value:"AGE_20"},{title:"25~29",value:"AGE_25"},{title:"30~34",value:"AGE_30"},{title:"35~39",value:"AGE_35"},{title:"40~44",value:"AGE_40"},{title:"45~49",value:"AGE_45"},{title:"50~",value:"AGE_50"}],rt=[{title:"여성",value:"F"},{title:"남성",value:"M"}],re=["답장 기한(12시간)을 넘기면 자동 환불 처리됩니다.","발송 후 직접 취소하거나 철회할 수 없어요.","불명확하거나 부적절한 질문은 답장이 어려워요.","언어폭력, 성희롱, 연락처 요구 등 규정 위반 시 계정이 차단됩니다."],rn={question:"예시) 짝사랑하는 사람도 날 좋아하나요?(O), 짝사랑하는 사람의 마음이 어떤가요?(X)",background:"질문과 연관 있는 사람과의 관계나 구체적인 상황을 자세히 알려줄수록 좋아요."},ri={LOAD_SUCCESS:"쪽지 내용을 불러왔습니다.",LOAD_EMPTY:"불러올 쪽지가 없습니다.",COIN_SHORTAGE:"코인이 부족해요."},ro={ModalContainer:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__ModalContainer",componentId:"sc-hp47e8-0"})(["display:flex;width:100%;max-width:500px;height:100%;max-height:100%;flex-direction:column;background-color:var(--PG100);"]),TitleWrap:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__TitleWrap",componentId:"sc-hp47e8-1"})(["display:flex;width:100%;height:48px;padding:12px 10px;background:var(--PG100);border-bottom:1px solid var(--PG200);"]),HeaderWrap:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__HeaderWrap",componentId:"sc-hp47e8-2"})(["width:100%;display:flex;text-align:center;align-items:center;justify-content:center;"]),Title:(0,eh.Ay)(ek.A).withConfig({displayName:"styles__Title",componentId:"sc-hp47e8-3"})(["font-size:16px;font-weight:700;line-height:24px;color:var(--PG900);"]),BadgeWrap:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__BadgeWrap",componentId:"sc-hp47e8-4"})(["margin-right:0;height:24px;background-color:rgba(231,225,243,1);border-radius:8px;padding:4px 6px;align-items:flex-end;justify-content:right;display:flex;"]),BadgeText:(0,eh.Ay)(ek.A).withConfig({displayName:"styles__BadgeText",componentId:"sc-hp47e8-5"})(["font-size:12px;font-weight:500;line-height:16px;color:rgba(100,90,130,1);"]),BackButton:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__BackButton",componentId:"sc-hp47e8-6"})(["width:80px;margin-left:0;display:flex;cursor:pointer;"]),IconWrap:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__IconWrap",componentId:"sc-hp47e8-7"})(["width:24px;height:24px;margin-left:0;display:flex;"]),InfoWrap:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__InfoWrap",componentId:"sc-hp47e8-8"})(["display:flex;width:100%;height:100%;overflow:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;color:rgba(49,40,65,1);padding:0 24px;"]),Wrap:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__Wrap",componentId:"sc-hp47e8-9"})(["width:100%;flex-direction:column;margin:0 0 56px 0;"]),HeaderContent:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__HeaderContent",componentId:"sc-hp47e8-10"})(["width:100%;height:100px;padding:24px 0;display:flex;gap:16px;cursor:pointer;"]),MessageIconWrap:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__MessageIconWrap",componentId:"sc-hp47e8-11"})(["width:52px;height:52px;display:flex;margin-left:0;"]),Text:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__Text",componentId:"sc-hp47e8-12"})(["width:258px;height:52px;font-weight:700;font-size:16px;line-height:24px;color:rgba(49,40,65,1);justify-content:left;align-items:flex-start;text-align:left;padding:14px 0;display:flex;margin-left:0;p{text-align:left;margin:0;justify-content:left;align-items:flex-start;display:flex;}"]),TextText:(0,eh.Ay)(ek.A).withConfig({displayName:"styles__TextText",componentId:"sc-hp47e8-13"})(["font-size:16px;font-weight:700;line-height:24px;color:rgba(49,40,65,1);"]),NextIconWrap:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__NextIconWrap",componentId:"sc-hp47e8-14"})(["padding:14px 0;width:calc(100% - 342px);display:flex;margin-right:0;align-items:flex-end;justify-content:right;"]),SectionTitle:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__SectionTitle",componentId:"sc-hp47e8-15"})(["width:100%;height:52px;padding:24px 0 0 0;display:flex;margin-left:0;align-items:flex-start;justify-content:left;"]),QuestionText:(0,eh.Ay)(ek.A).withConfig({displayName:"styles__QuestionText",componentId:"sc-hp47e8-16"})(["width:100%;height:100%;font-size:18px;font-weight:700;line-height:28px;color:rgba(49,40,65,1);display:flex;"]),TextLength:(0,eh.Ay)(ek.A).withConfig({displayName:"styles__TextLength",componentId:"sc-hp47e8-17"})(["font-size:14px;font-weight:400;line-height:20px;height:28px;color:rgba(122,111,152,1);right:0;align-items:end;display:flex;"]),TextAreaWrap:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__TextAreaWrap",componentId:"sc-hp47e8-18"})(["width:100%;display:flex;padding:24px 0;"]),TextArea:eh.Ay.textarea.withConfig({displayName:"styles__TextArea",componentId:"sc-hp47e8-19"})(["width:100%;height:80px;display:flex;border-radius:8px;border:1px solid rgba(231,225,243,1);padding:16px;font-size:16px;font-weight:400;line-height:24px;color:rgba(49,40,65,1);font-family:NotoSansCJKkr;"]),Description:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__Description",componentId:"sc-hp47e8-20"})(["display:flex;width:100%;height:100%;ul{display:flex;flex-direction:column;width:100%;margin:0;padding:0;}li{margin-left:20px;width:350px;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;line-height:20px;color:var(--PG800);}"]),CoinInfoWrap:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__CoinInfoWrap",componentId:"sc-hp47e8-21"})(["display:flex;width:100%;height:72px;padding:24px 0;gap:24px;"]),CoinInfo:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__CoinInfo",componentId:"sc-hp47e8-22"})(["height:24px;display:flex;width:100%;"]),CoinInfoText:(0,eh.Ay)(ek.A).withConfig({displayName:"styles__CoinInfoText",componentId:"sc-hp47e8-23"})(["font-size:16px;font-weight:400;line-height:24px;color:rgba(49,40,65,1);"]),CoinCountWrap:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__CoinCountWrap",componentId:"sc-hp47e8-24"})(["display:flex;height:24px;align-items:center;margin-right:0;gap:4px;color:rgba(49,40,65,1);text-align:right;"]),CoinIcon:(0,eh.Ay)(eC.A).withConfig({displayName:"styles__CoinIcon",componentId:"sc-hp47e8-25"})(["display:flex;align-items:center;justify-content:center;width:24px;height:24px;"]),SubmitButton:(0,eh.Ay)(oY.A).withConfig({displayName:"styles__SubmitButton",componentId:"sc-hp47e8-26"})(["width:100%;height:52px;display:flex;margin-bottom:24px;border-radius:8px;background-image:linear-gradient(to top,#7150bd,#8767d0);color:rgba(255,255,255,1);font-size:14px;font-weight:700;line-height:20px;&:hover{background-image:linear-gradient(to top,#8d65e8,#a585ef);color:var(--white);}&:active{background-image:linear-gradient(to top,#6448a5,#7e5dc9 2%);color:var(--white);}&:disabled{background-color:var(--PG300);background-image:none;color:rgba(168,157,191,1);cursor:default;"])};function rr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function ra(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?rr(Object(n),!0).forEach(function(e){(0,ei.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rr(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}let rl=function(t){var e,n,i=t.responseRateMessage,o=t.masterId,r=t.masterCoin,a=t.onClose,l=t.onSubmit,s=(0,o3.xJ)().data,c=(0,o6.Py)().data,d=(0,o3.bR)(),p=(0,ep.useState)({question:"",background:"",age:"AGE_20",gender:"F"}),h=p[0],x=p[1],f=(0,ep.useState)(!1),m=f[0],g=f[1],u=(0,ep.useState)(""),w=u[0],v=u[1],y=(0,ep.useState)(!1),j=y[0],b=y[1],A=function(t){var e=t.target,n=e.name,i=e.value;x(function(t){return ra(ra({},t),{},(0,ei.A)({},n,i))})},_=(e=(0,en.A)(er().mark(function t(){return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:s?(x(s),v(ri.LOAD_SUCCESS)):v(ri.LOAD_EMPTY),g(!0);case 1:case"end":return t.stop()}},t)})),function(){return e.apply(this,arguments)}),C=(n=(0,en.A)(er().mark(function t(){return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(!(null!=c&&c.coin_count)||c.coin_count<r)){t.next=3;break}return b(!0),t.abrupt("return");case 3:if(!(!(null!=c&&c.coin_count)||c.coin_count<r)){t.next=6;break}return b(!0),t.abrupt("return");case 6:return t.prev=6,t.next=9,d.mutateAsync({question:h.question,background:h.background,age:h.age,gender:h.gender,master_id:o});case 9:l(),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(6),console.error("Failed to send message:",t.t0);case 15:case"end":return t.stop()}},t,null,[[6,12]])})),function(){return n.apply(this,arguments)}),k=0===h.question.trim().length||0===h.background.trim().length;return(0,ep.useEffect)(function(){var t=function(){history.pushState(null,"",location.href),a()};return history.pushState(null,"",location.href),window.addEventListener("popstate",t),function(){window.removeEventListener("popstate",t)}},[a]),(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(oe.A,{open:!0,onClose:a,width:500,maxWidth:500,height:"100%",noBorderRadius:!0,children:(0,ex.jsxs)(ro.ModalContainer,{children:[(0,ex.jsx)(ro.TitleWrap,{children:(0,ex.jsxs)(ro.HeaderWrap,{children:[(0,ex.jsx)(ro.BackButton,{onClick:a,children:(0,ex.jsx)(ro.IconWrap,{children:(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/backButton/backButton.svg"),alt:"Back"})})}),(0,ex.jsx)(ro.Title,{children:"쪽지상담"}),(0,ex.jsx)(ro.BadgeWrap,{children:(0,ex.jsx)(ro.BadgeText,{children:"응답률 ".concat(i,"%")})})]})}),(0,ex.jsx)(ro.InfoWrap,{children:(0,ex.jsxs)(ro.Wrap,{children:[(0,ex.jsxs)(ro.HeaderContent,{onClick:_,children:[(0,ex.jsx)(ro.MessageIconWrap,{children:(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/message/messageIcon.svg"),alt:"Message"})}),(0,ex.jsx)(ro.Text,{children:(0,ex.jsx)(ro.TextText,{children:"마지막으로 보낸 쪽지 불러오기"})}),(0,ex.jsx)(ro.NextIconWrap,{children:(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/right/right.svg"),alt:"Right",style:{display:"flex",width:"24px",height:"24px",marginRight:0}})})]}),(0,ex.jsxs)(ro.SectionTitle,{children:[(0,ex.jsx)(ro.QuestionText,{children:"구체적으로 질문하세요."}),(0,ex.jsxs)(ro.TextLength,{children:[h.question.length,"/",40]})]}),(0,ex.jsx)(ro.TextAreaWrap,{children:(0,ex.jsx)(ro.TextArea,{placeholder:rn.question,onChange:A,maxLength:40,name:"question",value:h.question})}),(0,ex.jsxs)(ro.SectionTitle,{children:[(0,ex.jsx)(ro.QuestionText,{children:"배경과 상황을 알려주세요."}),(0,ex.jsxs)(ro.TextLength,{children:[h.background.length,"/",200]})]}),(0,ex.jsx)(ro.TextAreaWrap,{children:(0,ex.jsx)(ro.TextArea,{placeholder:rn.background,onChange:A,maxLength:200,name:"background",value:h.background,style:{height:"224px"}})}),(0,ex.jsx)(ro.SectionTitle,{children:(0,ex.jsx)(ro.QuestionText,{children:"연령대와 성별을 선택하세요."})}),(0,ex.jsxs)(ro.TextAreaWrap,{style:{gap:"24px",height:"104px",flexDirection:"row"},children:[(0,ex.jsx)("div",{style:{width:"50%"},children:(0,ex.jsx)(o5.A,{name:"age",selectValue:o8[h.age],value:h.age,options:o7,title:"연령대",onClick:function(t){x(function(e){return ra(ra({},e),{},{age:t})})}})}),(0,ex.jsx)("div",{style:{width:"50%"},children:(0,ex.jsx)(o5.A,{name:"gender",selectValue:o9[h.gender],value:h.gender,options:rt,title:"성별",onClick:function(t){x(function(e){return ra(ra({},e),{},{gender:t})})}})})]}),(0,ex.jsx)(ro.SectionTitle,{children:(0,ex.jsx)(ro.QuestionText,{children:"꼭 체크하세요!"})}),(0,ex.jsx)(ro.TextAreaWrap,{children:(0,ex.jsx)(ro.Description,{children:(0,ex.jsx)("ul",{children:re.map(function(t,e){return(0,ex.jsx)("li",{children:t},e)})})})}),(0,ex.jsxs)(ro.CoinInfoWrap,{children:[(0,ex.jsxs)(ro.CoinInfo,{children:[(0,ex.jsx)(ro.CoinInfoText,{children:"남은 코인"}),(0,ex.jsxs)(ro.CoinCountWrap,{children:[(0,ex.jsx)(ro.CoinIcon,{children:(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/coin/coin.svg"),alt:"Coin"})}),(0,ex.jsx)("p",{style:{fontWeight:700,fontSize:"16px",lineHeight:"24px"},children:(0,iP.Z)((null==c?void 0:c.coin_count)||0)})]})]}),(0,ex.jsxs)(ro.CoinInfo,{children:[(0,ex.jsx)(ro.CoinInfoText,{children:"소진 예정"}),(0,ex.jsxs)(ro.CoinCountWrap,{children:[(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/coin/coin.svg"),alt:"Coin"}),(0,ex.jsx)("p",{style:{fontWeight:700,fontSize:"16px",lineHeight:"24px"},children:(0,iP.Z)(r||0)})]})]})]}),(0,ex.jsx)(ro.SubmitButton,{disabled:k,onClick:C,children:"동의하고 쪽지 보내기"})]})})]})}),m&&(0,ex.jsx)(eb.A,{isOpen:m,title:"알림",message:w,onClose:function(){g(!1)}}),j&&(0,ex.jsx)(eb.A,{isOpen:j,title:"알림",message:ri.COIN_SHORTAGE,onClose:function(){b(!1)}})]})};var rs={Container:(0,e_.A)(eC.A)(tT||(tT=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    gap: 24px;\n  "]))),TitleBox:(0,e_.A)(eC.A)(tB||(tB=(0,eA.A)(["\n    display: flex;\n    width: 100%;\n  "]))),Title:(0,e_.A)(ek.A)(tW||(tW=(0,eA.A)(["\n    font-size: 16px;\n    line-height: 24px;\n    color: var(--PG900);\n  "]))),CommentBox:(0,e_.A)(eC.A)(tR||(tR=(0,eA.A)(["\n    display: flex;
1\n    align-items: flex-start;\n    justify-content: space-between;\n    width: 100%;\n    margin: 0;\n  "]))),StarBox:(0,e_.A)(eC.A)(tE||(tE=(0,eA.A)(["\n    display: flex;\n    align-items: center;\n    gap: 4px;\n    margin: 0;\n  "]))),Star:(0,e_.A)(ek.A)(tK||(tK=(0,eA.A)(["\n    font-size: 16px;\n    font-weight: bold;\n    line-height: 24px;\n    color: var(--PG800);\n  "]))),CountContent:(0,e_.A)(eC.A)(tJ||(tJ=(0,eA.A)(["\n    display: flex;\n    align-items: center;\n    gap: 16px;\n    margin: 0;\n  "]))),Text:(0,e_.A)(ek.A)(tO||(tO=(0,eA.A)(["\n    font-size: 16px;\n    line-height: 24px;\n    color: var(--PG900);\n  "])))};let rc=function(t){var e=t.shortMsg,n=t.averageStar,i=t.reviewCount,o=t.qnaCount;return(0,ex.jsxs)(rs.Container,{children:[(0,ex.jsx)(rs.TitleBox,{children:(0,ex.jsxs)(rs.Title,{children:['"',e,'"']})}),(0,ex.jsxs)(rs.CommentBox,{children:[n&&(0,ex.jsxs)(rs.StarBox,{children:[(0,ex.jsx)("img",{src:"".concat("https://tarotmoon.co.kr/images","/icon/star/icon-star.svg"),alt:"Star",width:24,height:24}),(0,ex.jsx)(rs.Star,{children:n})]}),(0,ex.jsxs)(rs.CountContent,{children:[i&&(0,ex.jsxs)(rs.Text,{children:["후기"," ",(0,ex.jsx)("span",{style:{fontSize:"16px",color:"var(--P900)",fontWeight:"bold"},children:Number(i).toLocaleString()}),"건"]}),o&&(0,ex.jsxs)(rs.Text,{children:["문의"," ",(0,ex.jsx)("span",{style:{fontSize:"16px",color:"var(--P900)",fontWeight:"bold"},children:Number(o).toLocaleString()}),"건"]})]})]})]})};var rd=eh.Ay.div.withConfig({displayName:"Astrology__AstrologyBlock",componentId:"sc-1rceo61-0"})(["width:calc(50% - 24px);margin:8px 12px;float:left;.icon{width:20px;height:20px;float:left;}svg{width:20px;height:20px;}p{height:20px;margin:0 0 0 8px;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG900);float:left;text-align:left;}"]);let rp=function(){return(0,ex.jsxs)(rd,{children:[(0,ex.jsx)("div",{className:"icon",children:(0,ex.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0H24V24H0z"}),(0,ex.jsx)("path",{stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 3c4.97 0 9 4.03 9 9s-4.03 9-9 9c-2.974 0-5.61-1.442-7.25-3.665.824.425 1.76.665 2.75.665 2.256 0 4.22-1.245 5.245-3.085L10 14l2.842-4.735C11.847 7.327 9.829 6 7.5 6c-.99 0-1.926.24-2.75.666C6.39 4.442 9.027 3 12 3z"}),(0,ex.jsx)("path",{stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M5 13.25L3.531 14.023 3.811 12.386 2.622 11.227 4.265 10.989 5 9.5 5.735 10.989 7.378 11.227 6.189 12.386 6.469 14.023z"})]})})})}),(0,ex.jsx)("p",{children:"점성술"})]})};var rh=eh.Ay.div.withConfig({displayName:"AstrologyDisabled__AstrologyBlock",componentId:"sc-1xwjo24-0"})(["width:calc(50% - 24px);margin:8px 12px;float:left;.icon{width:20px;height:20px;float:left;}svg{width:20px;height:20px;}p{height:20px;margin:0 0 0 8px;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG400);float:left;text-align:left;}"]);let rx=function(){return(0,ex.jsxs)(rh,{children:[(0,ex.jsx)("div",{className:"icon",children:(0,ex.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0H24V24H0z"}),(0,ex.jsx)("path",{stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 3c4.97 0 9 4.03 9 9s-4.03 9-9 9c-2.974 0-5.61-1.442-7.25-3.665.824.425 1.76.665 2.75.665 2.256 0 4.22-1.245 5.245-3.085L10 14l2.842-4.735C11.847 7.327 9.829 6 7.5 6c-.99 0-1.926.24-2.75.666C6.39 4.442 9.027 3 12 3z"}),(0,ex.jsx)("path",{stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M5 13.25L3.531 14.023 3.811 12.386 2.622 11.227 4.265 10.989 5 9.5 5.735 10.989 7.378 11.227 6.189 12.386 6.469 14.023z"})]})})})}),(0,ex.jsx)("p",{children:"점성술"})]})};var rf=eh.Ay.div.withConfig({displayName:"Ghost__GhostBlock",componentId:"sc-d3x8fj-0"})(["width:calc(50% - 24px);margin:8px 12px;float:left;.icon{width:20px;height:20px;float:left;}svg{width:20px;height:20px;}p{height:20px;margin:0 0 0 8px;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG900);float:left;text-align:left;}"]);let rm=function(){return(0,ex.jsxs)(rf,{children:[(0,ex.jsx)("div",{className:"icon",children:(0,ex.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0H24V24H0z"}),(0,ex.jsx)("path",{stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M15 18.036L15 21 4 21 4 6 9 6"}),(0,ex.jsx)("path",{stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M9 3H20V18H9z"}),(0,ex.jsx)("circle",{cx:"11",cy:"5",r:"1",fill:"#645A82"}),(0,ex.jsx)("circle",{cx:"6",cy:"8",r:"1",fill:"#645A82"}),(0,ex.jsx)("circle",{cx:"18",cy:"16",r:"1",fill:"#645A82"}),(0,ex.jsx)("path",{stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M14.5 8.5c.121 0 .24.01.356.032-.222.26-.356.598-.356.968 0 .828.672 1.5 1.5 1.5.
1158 0 .31-.024.454-.07-.197.898-.997 1.57-1.954 1.57-1.105 0-2-.895-2-2s.895-2 2-2zM9.017 15.004L8.031 15.523 8.311 13.886 7.122 12.727 8.765 12.489 9.017 11.978"})]})})})}),(0,ex.jsx)("p",{children:"영점타로"})]})};var rg=eh.Ay.div.withConfig({displayName:"GhostDisabled__GhostBlock",componentId:"sc-1qz0aaw-0"})(["width:calc(50% - 24px);margin:8px 12px;float:left;.icon{width:20px;height:20px;float:left;}svg{width:20px;height:20px;}p{height:20px;margin:0 0 0 8px;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG400);float:left;text-align:left;}"]);let ru=function(){return(0,ex.jsxs)(rg,{children:[(0,ex.jsx)("div",{className:"icon",children:(0,ex.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0H24V24H0z"}),(0,ex.jsx)("path",{stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M15 18.036L15 21 4 21 4 6 9 6"}),(0,ex.jsx)("path",{stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M9 3H20V18H9z"}),(0,ex.jsx)("circle",{cx:"11",cy:"5",r:"1",fill:"#CEC5E0"}),(0,ex.jsx)("circle",{cx:"6",cy:"8",r:"1",fill:"#CEC5E0"}),(0,ex.jsx)("circle",{cx:"18",cy:"16",r:"1",fill:"#CEC5E0"}),(0,ex.jsx)("path",{stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M14.5 8.5c.121 0 .24.01.356.032-.222.26-.356.598-.356.968 0 .828.672 1.5 1.5 1.5.158 0 .31-.024.454-.07-.197.898-.997 1.57-1.954 1.57-1.105 0-2-.895-2-2s.895-2 2-2zM9.017 15.004L8.031 15.523 8.311 13.886 7.122 12.727 8.765 12.489 9.017 11.978"})]})})})}),(0,ex.jsx)("p",{children:"영점타로"})]})};var rw=eh.Ay.div.withConfig({displayName:"MentalityDisabled__AstrologyBlock",componentId:"sc-tudpuf-0"})(["width:calc(50% - 24px);margin:8px 12px;float:left;.icon{width:20px;height:20px;float:left;}svg{width:20px;height:20px;}p{height:20px;margin:0 0 0 8px;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG400);float:left;text-align:left;}"]);let rv=function(){return(0,ex.jsxs)(rw,{children:[(0,ex.jsx)("div",{className:"icon",children:(0,ex.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0H24V24H0z"}),(0,ex.jsx)("path",{stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M10.794 5.701c-.428-.03-.894-.046-1.401-.046-4.464 0-5.871 2.882-5.688 4.634 0 .381.173.546.293.78.12.233.148.697-.979 2.078-.75.92-.701 1.466.
1148 1.636.234.112.292.283.176.512-.176.344-.244.267-.07.46.173.194-.28.288-.106.57.176.284.654.169.654.504 0 .336-.535 1.986 1.108 1.986 1.643 0 2.19-.567 2.66 0 .314.378.493 1.107.537 2.187h5.679l-.486-5.006c1.553-1.713 2.291-3.615 2.215-5.707"}),(0,ex.jsx)("path",{stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 10c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h8c.552 0 1 .448 1 1v5c0 .552-.448 1-1 1h-4l-3 2v-2h-1z"}),(0,ex.jsx)("rect",{width:"6",height:"1",x:"13",y:"5",fill:"#CEC5E0",rx:".5"}),(0,ex.jsx)("rect",{width:"4",height:"1",x:"13",y:"7",fill:"#CEC5E0",rx:".5"})]})})})}),(0,ex.jsx)("p",{children:"심리상담"})]})};var ry=eh.Ay.div.withConfig({displayName:"Mentality__AstrologyBlock",componentId:"sc-13q86qb-0"})(["width:calc(50% - 24px);margin:8px 12px;float:left;.icon{width:20px;height:20px;float:left;}svg{width:20px;height:20px;}p{height:20px;margin:0 0 0 8px;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG900);float:left;text-align:left;}"]);let rj=function(){return(0,ex.jsxs)(ry,{children:[(0,ex.jsx)("div",{className:"icon",children:(0,ex.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0H24V24H0z"}),(0,ex.jsx)("path",{stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M10.794 5.701c-.428-.03-.894-.046-1.401-.046-4.464 0-5.871 2.882-5.688 4.634 0 .381.173.546.293.78.12.233.148.697-.979 2.078-.75.92-.701 1.466.
1148 1.636.234.112.292.283.176.512-.176.344-.244.267-.07.46.173.194-.28.288-.106.57.176.284.654.169.654.504 0 .336-.535 1.986 1.108 1.986 1.643 0 2.19-.567 2.66 0 .314.378.493 1.107.537 2.187h5.679l-.486-5.006c1.553-1.713 2.291-3.615 2.215-5.707"}),(0,ex.jsx)("path",{stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 10c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h8c.552 0 1 .448 1 1v5c0 .552-.448 1-1 1h-4l-3 2v-2h-1z"}),(0,ex.jsx)("rect",{width:"6",height:"1",x:"13",y:"5",fill:"#645A82",rx:".5"}),(0,ex.jsx)("rect",{width:"4",height:"1",x:"13",y:"7",fill:"#645A82",rx:".5"})]})})})}),(0,ex.jsx)("p",{children:"심리상담"})]})};var rb=eh.Ay.div.withConfig({displayName:"Pet__AstrologyBlock",componentId:"sc-11zpvzw-0"})(["width:calc(50% - 24px);margin:8px 12px;float:left;.icon{width:20px;height:20px;float:left;}svg{width:20px;height:20px;}p{height:20px;margin:0 0 0 8px;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG900);float:left;text-align:left;}"]);let rA=function(){return(0,ex.jsxs)(rb,{children:[(0,ex.jsx)("div",{className:"icon",children:(0,ex.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0H24V24H0z"}),(0,ex.jsx)("path",{stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M19 10v3c0 3.866-3.134 7-7 7s-7-3.134-7-7v-3"}),(0,ex.jsx)("path",{stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M19 10v3c0 1.725-.624 3.304-1.658 4.524.995.617 1.658 1.719 1.658 2.976v.5M5 21v-.5c0-1.257.663-2.36 1.658-2.977C5.624 16.303 5 14.725 5 13v-3"}),(0,ex.jsx)("circle",{cx:"9",cy:"11.5",r:"1",fill:"#645A82"}),(0,ex.jsx)("circle",{cx:"15",cy:"11.5",r:"1",fill:"#645A82"}),(0,ex.jsx)("rect",{width:"3",height:"2",x:"10.5",y:"15",fill:"#645A82",rx:"1"}),(0,ex.jsx)("path",{stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M4.7 14c-1.491 0-2.2-1.343-2.2-3 0-4.418 3.582-8 8-8h3c4.418 0 8 3.582 8 8h0c0 1.657-.709 3-2.2 3"})]})})})}),(0,ex.jsx)("p",{children:"펫타로"})]})};var r_=eh.Ay.div.withConfig({displayName:"PetDisabled__AstrologyBlock",componentId:"sc-m1y8af-0"})(["width:calc(50% - 24px);margin:8px 12px;float:left;.icon{width:20px;height:20px;float:left;}svg{width:20px;height:20px;}p{height:20px;margin:0 0 0 8px;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG400);float:left;text-align:left;}"]);let rC=function(){return(0,ex.jsxs)(r_,{children:[(0,ex.jsx)("div",{className:"icon",children:(0,ex.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0H24V24H0z"}),(0,ex.jsx)("path",{stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M19 10v3c0 3.866-3.134 7-7 7s-7-3.134-7-7v-3"}),(0,ex.jsx)("path",{stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M19 10v3c0 1.725-.624 3.304-1.658 4.524.995.617 1.658 1.719 1.658 2.976v.5M5 21v-.5c0-1.257.663-2.36 1.658-2.977C5.624 16.303 5 14.725 5 13v-3"}),(0,ex.jsx)("circle",{cx:"9",cy:"11.5",r:"1",fill:"#CEC5E0"}),(0,ex.jsx)("circle",{cx:"15",cy:"11.5",r:"1",fill:"#CEC5E0"}),(0,ex.jsx)("rect",{width:"3",height:"2",x:"10.5",y:"15",fill:"#CEC5E0",rx:"1"}),(0,ex.jsx)("path",{stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M4.7 14c-1.491 0-2.2-1.343-2.2-3 0-4.418 3.582-8 8-8h3c4.418 0 8 3.582 8 8h0c0 1.657-.709 3-2.2 3"})]})})})}),(0,ex.jsx)("p",{children:"펫타로"})]})};var rk=eh.Ay.div.withConfig({displayName:"Saju__AstrologyBlock",componentId:"sc-97v05p-0"})(["width:calc(50% - 24px);margin:8px 12px;float:left;.icon{width:20px;height:20px;float:left;}svg{width:20px;height:20px;}p{height:20px;margin:0 0 0 8px;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG900);float:left;text-align:left;}"]);let rN=function(){return(0,ex.jsxs)(rk,{children:[(0,ex.jsx)("div",{className:"icon",children:(0,ex.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0H24V24H0z"}),(0,ex.jsx)("circle",{cx:"12",cy:"12",r:"9",stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,ex.jsx)("path",{stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 12c2.485 0 4.5-2.015 4.5-4.5S14.485 3 12 3"}),(0,ex.jsx)("circle",{cx:"12",cy:"7.5",r:"1",fill:"#645A82"}),(0,ex.jsx)("circle",{cx:"12",cy:"16.5",r:"1",fill:"#645A82"}),(0,ex.jsx)("path",{stroke:"#645A82",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 12c-2.485 0-4.5 2.015-4.5 4.5S9.515 21 12 21"})]})})})}),(0,ex.jsx)("p",{children:"사주명리"})]})};var rS=eh.Ay.div.withConfig({displayName:"SajuDisabled__AstrologyBlock",componentId:"sc-2qcsms-0"})(["width:calc(50% - 24px);margin:8px 12px;float:left;.icon{width:20px;height:20px;float:left;}svg{width:20px;height:20px;}p{height:20px;margin:0 0 0 8px;font-family:NotoSansCJKkr;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:20px;letter-spacing:normal;color:var(--PG400);float:left;text-align:left;}"]);let rL=function(){return(0,ex.jsxs)(rS,{children:[(0,ex.jsx)("div",{className:"icon",children:(0,ex.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:(0,ex.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,ex.jsxs)("g",{children:[(0,ex.jsx)("path",{d:"M0 0H24V24H0z"}),(0,ex.jsx)("circle",{cx:"12",cy:"12",r:"9",stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,ex.jsx)("path",{stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 12c2.485 0 4.5-2.015 4.5-4.5S14.485 3 12 3"}),(0,ex.jsx)("circle",{cx:"12",cy:"7.5",r:"1",fill:"#CEC5E0"}),(0,ex.jsx)("circle",{cx:"12",cy:"16.5",r:"1",fill:"#CEC5E0"}),(0,ex.jsx)("path",{stroke:"#CEC5E0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 12c-2.485 0-4.5 2.015-4.5 4.5S9.515 21 12 21"})]})})})}),(0,ex.jsx)("p",{children:"사주명리"})]})};var rI={Container:(0,e_.A)(eC.A)(tF||(tF=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    gap: 12px;\n  "]))),Title:(0,e_.A)(ek.A)(tq||(tq=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 18px;\n    font-weight: bold;\n    line-height: 36px;\n    color: var(--PG900);\n  "]))),Content:(0,e_.A)(eC.A)(tD||(tD=(0,eA.A)(["\n    display: flex;\n    width: 100%;\n    height: 100%;\n    flex-wrap: wrap;\n    margin: 0 -12px;\n  "])))},rP=function(t){var e=t.specialCategories,n=e.map(function(t){return t.code_name});return(0,ex.jsxs)(rI.Container,{children:[(0,ex.jsx)(rI.Title,{children:"특수 분야"}
1),(0,ex.jsx)(rI.Content,{children:0===e.length?(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(rL,{}),(0,ex.jsx)(ru,{}),(0,ex.jsx)(rv,{}),(0,ex.jsx)(rx,{}),(0,ex.jsx)(rC,{})]}):(0,ex.jsxs)(ex.Fragment,{children:[n.includes("사주명리")?(0,ex.jsx)(rN,{}):(0,ex.jsx)(rL,{}),n.includes("영점타로")?(0,ex.jsx)(rm,{}):(0,ex.jsx)(ru,{}),n.includes("심리상담")?(0,ex.jsx)(rj,{}):(0,ex.jsx)(rv,{}),n.includes("점성술")?(0,ex.jsx)(rp,{}):(0,ex.jsx)(rx,{}),n.includes("펫타로")?(0,ex.jsx)(rA,{}):(0,ex.jsx)(rC,{})]})})]})};eh.Ay.div.withConfig({displayName:"MasterSpecialSection__Container",componentId:"sc-bx1glo-0"})(["width:100%;float:left;"]),eh.Ay.div.withConfig({displayName:"MasterSpecialSection__Title",componentId:"sc-bx1glo-1"})(["width:100%;height:36px;float:left;margin:36px 0 12px 0;label{height:36px;font-family:NotoSansCJKkr;font-size:18px;font-weight:bold;line-height:36px;color:var(--PG900);}"]),eh.Ay.div.withConfig({displayName:"MasterSpecialSection__IconWrapper",componentId:"sc-bx1glo-2"})(["width:100%;height:100%;float:left;margin:8px -12px;",""],function(t){return t.theme.mobile(tV||(tV=(0,eA.A)(["\n    margin: 16px -12px;\n  "])))});var rG={Container:(0,e_.A)(eC.A)(tH||(tH=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    gap: 24px;\n    width: 100%;\n    height: 100%;\n    background-color: var(--white);\n  "]))),DetailContainer:(0,e_.A)(eC.A)(tZ||(tZ=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    height: 100%;\n    padding: 0 24px;\n    position: relative;\n  "]))),DetailBox:(0,e_.A)(eC.A)(tU||(tU=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    height: 100%;\n  "]))),SliderContainer:(0,e_.A)(eC.A)(tQ||(tQ=(0,eA.A)(["\n    display: flex;\n    width: 100%;\n  "]))),DetailContent:(0,e_.A)(eC.A)(tY||(tY=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    gap: 48px;\n  "]))),CounselContainer:(0,e_.A)(eC.A)(tX||(tX=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    gap: 48px;\n  "]))),CounselButtonContainer:(0,e_.A)(eC.A)(t$||(t$=(0,eA.A)(["\n    display: flex;\n    flex-direction: row;\n    gap: 10px;\n    align-items: center;\n    justify-content: space-between;\n    align-items: center;\n    padding: 16px;\n    width: 100%;\n    max-width: 500px;\n    background-color: var(--white);\n    bottom: 0px;\n    position: fixed;\n    border-top: 1px solid var(--PG200);\n    box-sizing: border-box;\n    z-index: 2;\n  "]))),MasterStatus:(0,e_.A)(eC.A)(t0||(t0=(0,eA.A)(["\n    display: flex;\n    width: 56px;\n    min-width: 56px;\n    max-width: 56px;\n    height: 56px;\n    min-height: 56px;\n    max-height: 56px;\n    flex-shrink: 0;\n    padding: 8px 0;\n    text-align: center;\n    box-sizing: border-box;\n  "]))),ButtonWrapper:(0,e_.A)(eC.A)(t1||(t1=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: calc(100% - 32px - 56px - 56px);\n    height: 100%;\n    margin: 0 16px;\n  "]))),TabSectionContainer:(0,e_.A)(eC.A)(t2||(t2=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n  "]))),MasterStatusIcon:(0,e_.A)(eC.A)(t4||(t4=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    justify-content: center;\n    gap: 4px;\n    width: 100%;\n  "]))),MasterStatusText:(0,e_.A)(ek.A)(t5||(t5=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    width: 100%;\n    font-size: 10px;\n    font-weight: 500;\n    text-align: center;\n    color: var(--PG800);\n  "]))),StatusIcon:(0,e_.A)(eC.A,{shouldForwardProp:function(t){return"color"!==t}})(t6||(t6=(0,eA.A)(["\n    display: flex;\n    width: 12px;\n    height: 12px;\n    border-radius: 50%;\n    background-color: ",";\n    justify-content: center;
1\n    align-items: center;\n  "])),function(t){return""!==t.color?"".concat(t.color):"#27e86b"})},rz={Container:(0,e_.A)(eC.A)(t3||(t3=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    gap: 12px;\n  "]))),Title:(0,e_.A)(ek.A)(t8||(t8=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 18px;\n    font-weight: bold;\n    line-height: 36px;\n    color: var(--PG900);\n  "]))),Content:(0,e_.A)(eC.A)(t9||(t9=(0,eA.A)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    gap: 8px;\n  "]))),BoxContent:(0,e_.A)(eC.A)(t7||(t7=(0,eA.A)(["\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    width: 100%;\n  "]))),Label:(0,e_.A)(ek.A)(et||(et=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 14px;\n    font-weight: bold;\n    line-height: 20px;\n    color: var(--PG800);\n  "]))),Value:(0,e_.A)(ek.A)(ee||(ee=(0,eA.A)(["\n    font-family: NotoSansCJKkr;\n    font-size: 14px;\n    line-height: 20px;\n    color: var(--PG800);\n  "])))};let rM=function(t){var e=t.consultStyleName,n=t.answerStyleName,i=t.keywords,o=i?i.split(",").reverse():[];return(0,ex.jsxs)(rz.Container,{children:[(0,ex.jsx)(rz.Title,{children:"상담 성향"}),(0,ex.jsxs)(rz.Content,{children:[(0,ex.jsxs)(rz.BoxContent,{children:[(0,ex.jsx)(rz.Label,{children:"상담 스타일"}),(0,ex.jsx)(rz.Value,{children:e})]}),(0,ex.jsxs)(rz.BoxContent,{children:[(0,ex.jsx)(rz.Label,{children:"리딩 스타일"}),(0,ex.jsx)(rz.Value,{children:n})]}),(0,ex.jsxs)(rz.BoxContent,{children:[(0,ex.jsx)(rz.Label,{children:"키워드"}),(0,ex.jsx)(eC.A,{sx:{display:"flex",flexWrap:"wrap",gap:"8px",alignItems:"center",justifyContent:"flex-end",margin:0},children:o.length>0?o.map(function(t){return(0,ex.jsxs)(rz.Value,{children:["#",t]},t)}):(0,ex.jsx)(rz.Value,{className:"keywordEmpty",children:"정보수집중"})})]})]})]})};function rT(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}var rB=function(){var t=(0,eW.useRouter)(),e=t.query.id,n=(0,oJ.N)(e),i=n.data,o=n.isLoading,r=(0,oR.Py)().data,a=(0,oE.d)().openAppDownload,l=(0,ep.useState)(!1),s=l[0],c=l[1],d=(0,ep.useState)(!1),p=d[0],h=d[1],x=(0,ep.useState)(!1),f=x[0],m=x[1],g=(0,ep.useState)(!1),u=g[0],w=g[1],v=(0,ep.useState)(!1),y=v[0],j=v[1],b=(0,ep.useState)(!1),A=b[0],_=b[1],C=(0,ep.useState)(!1),k=C[0],N=C[1],S=(0,ep.useState)(!1),L=S[0],I=S[1],P=(0,ep.useState)(!1),G=P[0],z=P[1],M=(0,ep.useState)(null),T=M[0],B=M[1],W=null==i?void 0:i.master_detail,R=oO[null==W?void 0:W.phone_status],E=function(){c(!0)},K=function(){B(null)},J=function(){h(!0)},O=function(){h(!1)},F=function(){if(!(0,ew.iD)())return void j(!0);m(!0)},q=function(){m(!1)},D=function(){w(!1)},V=function(){j(!0)},H=function(){N(!1)},Z=function(){I(!1)},U=function(){z(!0)},Q=function(t){1===t&&E(),2===t&&J(),3===t&&F()},Y=function(){c(!1),h(!1),m(!1),I(!1)};return(!o||i)&&W?(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsxs)("div",{className:oW().container,children:[(0,ex.jsx)(oK.bV,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?rT(Object(n),!0).forEach(function(e){(0,ei.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rT(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},(0,oT.Y)({masterId:e,master:W}))),(0,ex.jsxs)(rG.Container,{children:[(0,ex.jsx)(rG.SliderContainer,{children:(0,ex.jsx)(eB,{web_image_detail1:W.web_image_detail1,web_image_detail2:W.web_image_detail2,web_image_detail3:W.web_image_detail3,web_image_detail4:W.web_image_detail4,web_image_detail5:W.web_image_detail5})}),(0,ex.jsx)(rG.DetailContainer,{children:(0,ex.jsxs)(rG.DetailContent,{children:[(0,ex.jsxs)(rG.DetailBox,{children:[(0,ex.jsx)(o4,{name:W.name,num:W.num,masterId:W.id,onLoginRequired:V}),(0,ex.jsx)(rc,{shortMsg:W.short_msg,averageStar:W.average_star,reviewCount:W.review_count,qnaCount:W.qna_count})]}),(0,ex.jsxs)(rG.CounselContainer,{children:[(0,ex.jsx)(oq,{messageCoin:W.message_coin}),(0,ex.jsx)(eI,{categories:null==W?void 0:W.master_consult_category}),(0,ex.jsx)(rP,{specialCategories:null==W?void 0:W.master_consult_special_category}),(0,ex.jsx)(rM,{consultStyleName:W.consult_style_name,answerStyleName:W.answer_style_name,keywords:null==W?void 0:W.master_keyword_name})]})]})}),(0,ex.jsx)(rG.TabSectionContainer,{children:(0,ex.jsx)(oM,{master:W,video:null==i?void 0:i.tarot_video,query:t.query,user:r,interview:null==i?void 0:i.masterInterviewList})})]}),(0,ex.jsxs)(rG.CounselButtonContainer,{children:[R&&(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(rG.MasterStatus,{children:(0,ex.jsxs)(rG.MasterStatusIcon,{children:[(0,ex.jsx)(rG.StatusIcon,{color:R.color}),(0,ex.jsx)(rG.MasterStatusText,{children:R.text})]})}),(0,ex.jsx)(ea.A,{title:R.buttonText,height:56,onClick:function(){return Q(W.phone_status)}})]}),(0,ex.jsx)(ej,{isActive:W.message,getLoginModal:V,coinPrice:W.message_coin,userCoin:(null==r?void 0:r.coin_count)||0,getCoinChargeModal:function(){_(!0)},master_id:String(W.id),getUserBlockModal:function(){N(!0)},getMessageCounselModal:function(){I(!0)}})]}),T&&(0,ex.jsx)(eb.A,{isOpen:!!T,title:"알림",message:T,buttonText:"확인",onClick:K,onClose:K}),s&&(0,ex.jsx)(el.A,{master:W,isOpen:s,onClose:function(){c(!1)},onError:function(t){B(t),c(!1)}}),p&&(0,ex.jsx)(eb.A,{isOpen:p,title:"알림설정",message:"대기 알림은 앱에서 설정할 수 있어요.\n 앱에서는 알림 설정 뿐만 아니라 채팅, 음성, 화상상담과 무료 타로점, 상담중 직접 카드뽑기 등 다양한 기능을 편리하게 사용할 수 있어요.",buttonText:"앱 다운로드",onClick:function(){a(),O()},onClose:O}),f&&(0,ex.jsx)(es.A,{master_id:Number(W.id),status:f,isModalClose:q,SuccessAlert:q,getPreventGoBack:Y}),u&&(0,ex.jsx)(eb.A,{isOpen:u,title:"알림",message:"휴대폰에서만 바로 연결할 수 있어요.",buttonText:"확인",onClick:D,onClose:D}),y&&(0,ex.jsx)(eb.A,{isOpen:y,message:"로그인이 필요해요.",buttonText:"로그인",onClick:function(){t.push("/login")},onClose:function(){j(!1)}}),A&&(0,ex.jsx)(eb.A,{isOpen:!A,title:"알림",message:"코인이 부족해요.",buttonText:"스토어",onClick:function(){t.push("/store"),_(!1)},onClose:function(){_(!1)}}
1),k&&(0,ex.jsx)(eb.A,{isOpen:k,title:"알림",message:"타로마스터가 더 이상 만족스러운 답변을\n제공하기 어려워 상담 신청이\n제한되었습니다.",onClose:H}),L&&(0,ex.jsx)(rl,{responseRateMessage:W.response_rate_message||0,masterId:String(W.id),masterCoin:W.message_coin,onClose:Z,onSubmit:function(){Z(),U()},getPreventGoBack:Y}),G&&(0,ex.jsx)(eb.A,{isOpen:k,title:"쪽지 발송 완료!",message:"타로마스터에게 쪽지를 전달했어요.\n보낸 쪽지는 MY>쪽지함에서 확인하세요.",buttonText:"확인",onClick:function(){z(!1),t.reload()},onClose:H})]})}):null};function rW(){return(0,ex.jsx)(rB,{})}rB.getInitialProps=function(){var t=(0,en.A)(er().mark(function t(e){return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{id:e.query.id,pathname:"masterInfo",menu:"masterInfo"});case 1:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}()}},t=>{t.O(0,[2120,3454,5878,751,616,636,6593,8792],()=>t(t.s=97088)),_N_E=t.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.