(window.webpackJsonp=window.webpackJsonp||[]).push([[97],{1083:function(t,e,s){"use strict";s(970)},1084:function(t,e,s){var a=s(47)(!1);a.push([t.i,".btn-coupon[data-v-92a362c2]{display:block;margin-top:15px;padding:13px 0;height:60px;background:#fff;border:1px solid #704de4;font-size:16px;font-weight:700;color:#704de4;text-align:center}.btn-coupon.isAcquired[data-v-92a362c2]{padding:21px 0;font-weight:400}.btn-coupon span[data-v-92a362c2]{font-size:.9rem;font-weight:400;color:#666;line-height:1.5}@media (max-width:767px){.btn-coupon[data-v-92a362c2]{margin:20px 15px;height:auto;font-size:13px}.btn-coupon span[data-v-92a362c2]{font-size:.8rem}}",""]),t.exports=a},1085:function(t,e,s){"use strict";s(971)},1086:function(t,e,s){var a=s(47)(!1);a.push([t.i,".btn_order_area_wrapper[data-v-37e315dd]{display:grid;grid-template-columns:repeat(2,30%) 40%}.btn_order_area_wrapper .btn[data-v-37e315dd]{height:48px}.btn_order_area_wrapper a[data-v-37e315dd]{font-family:Pretendard!important;font-style:normal}.btn_order_area_wrapper>.btn.btn_default[data-v-37e315dd]{display:flex;align-items:center;justify-content:center;grid-gap:8px;gap:8px;width:100%;color:#fff}.btn_order_area_wrapper[data-v-37e315dd] :where(.btn_default):after{display:none}.btn_order_area_wrapper>.btn[data-v-37e315dd]:not(.btn_reserve){color:#333;font-size:14px;font-weight:400;letter-spacing:-.35px;background:#fff}.btn_order_area_wrapper>.chat_btn.disabled[data-v-37e315dd]{color:#d0d0d0}.btn_order_area_wrapper>.btn_reserve[data-v-37e315dd]{color:#fff;font-size:16px;font-weight:600;letter-spacing:-.4px}",""]),t.exports=a},1087:function(t,e,s){"use strict";s(972)},1088:function(t,e,s){var a=s(47)(!1);a.push([t.i,".ly_right_wrap .ly_right_fixed .space_info_wrap .facility_wrap .facility_list .cnven_txt{position:absolute;top:50%;transform:translateY(-50%);height:auto}@media (min-width:1258px){.ly_right_wrap .ly_right_fixed .space_info_wrap .facility_wrap .facility_list li{word-break:keep-all;padding-left:42px}}",""]),t.exports=a},1089:function(t,e,s){"use strict";s(973)},1090:function(t,e,s){var a=s(47)(!1);a.push([t.i,".info_item>.data{padding-left:20px}.info_item.disabled{display:none!important}",""]),t.exports=a},1091:function(t,e,s){"use strict";s(974)},1092:function(t,e,s){var a=s(47)(!1);a.push([t.i,".pc .section_cont[data-v-2fb534cd]{margin-top:70px}",""]),t.exports=a},1144:function(t,e,s){"use strict";s.r(e);s(24),s(21),s(26),s(27);var a=s(40),i=s(2),n=s(4),o=(s(49),s(42),s(90),s(66),s(19),s(11),s(64),s(20),s(278),s(53),s(78),s(50),s(23),s(65),s(77),s(59),s(89),s(288),s(148),s(39),s(31)),r=s(891),c=s.n(r),l=s(28),d=s(14);function _(t,e){Object(d.a)(2,arguments);var s=Object(l.a)(t).getTime(),a=Object(l.a)(e.start).getTime(),i=Object(l.a)(e.end).getTime();if(!(a<=i))throw new RangeError("Invalid interval");return s>=a&&s<=i}var u=s(38),p=s(80),v=s(5),h=s(58),m=s(16),f=s(79),g=(s(276),s(67),s(433),s(820),s(279),s(861)),C=s(280);function b(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function y(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?b(Object(s),!0).forEach((function(e){Object(i.a)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):b(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var w={props:["dataset"],computed:y(y({},Object(o.c)({userInfo:function(t){return t.user}})),{},{isAcquired:function(){var t=this.coupon.downloadable||!1;return(this.userInfo||!1)&&!t}}),data:function(){return{isLoad:!1,space_id:null,coupon:{},doubleSubmitFlag:!1}},mounted:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.space_id=t.dataset.info.id,!t.userInfo){e.next=7;break}return e.next=4,t.fetch();case 4:t.coupon=e.sent,e.next=8;break;case 7:t.coupon=t.dataset.coupons.find((function(t){return!t.is_sc_coupon}));case 8:t.isLoad=!0;case 9:case"end":return e.stop()}}),e)})))()},methods:{fetch:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var s,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$axios({method:"get",url:"/spaces/".concat(t.space_id,"/coupons"),headers:{Authorization:t.userInfo.token}});case 3:return s=e.sent,a=s.data,e.abrupt("return",a.coupons.find((function(e){var s=e.coupon_code.replace(/_[0-9]+/g,"");return!e.is_sc_coupon&&s==t.space_id})));case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",null);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()},getCoupon:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.doubleSubmitFlag&&!t.isAcquired){e.next=2;break}return e.abrupt("return");case 2:if(t.userInfo){e.next=4;break}return e.abrupt("return",t.$router.push("/auth/login"));case 4:return e.prev=4,t.doubleSubmitFlag=!0,e.next=8,t.$axios({method:"post",url:"/my_coupons",headers:{Authorization:t.userInfo.token},data:{coupon_code:t.coupon.coupon_code}});case 8:return s=e.sent,s.data,e.next=12,t.fetch();case 12:t.coupon=e.sent,t.$parent.activeNoti?t.$parent.activeNoti("쿠폰이 발급되었습니다."):alert("쿠폰이 발급되었습니다."),t.doubleSubmitFlag=!1,e.next=20;break;case 17:throw e.prev=17,e.t0=e.catch(4),e.t0;case 20:case"end":return e.stop()}}),e,null,[[4,17]])})))()}}},x=(s(1083),s(7)),k=Object(x.a)(w,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.isLoad&&t.coupon?s("a",{staticClass:"btn-coupon",class:{isAcquired:t.isAcquired},attrs:{href:"#"},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.getCoupon.apply(null,arguments)}}},[t.isAcquired?[t._v("쿠폰을 이미 받았네요!")]:[t._v("\n "+t._s(t._f("toCurrency")(t.coupon.discount_price))+"원 쿠폰 받기 "),s("br"),t._v(" "),s("span",[t._v("(발급 후 14일 동안 사용"+t._s(t.coupon.min_hour?" | 최소 "+t.coupon.min_hour+"시간":null)+")")])]],2):t._e()}),[],!1,null,"92a362c2",null),T=k.exports,S={props:["selectedCalandar","selectedTime","selectTime"],computed:{selectedIdxs:function(){var t=this.selectedTime.selected,e=t.start,s=t.end;return Array.from({length:s-e+1},(function(t,s){return e+s}))}},data:function(){return{isInit:!1,swiperOption:{slidesPerView:"auto",spaceBetween:0,freeMode:!0,initialSlide:9}}},methods:{},mounted:function(){this.isInit=this.selectedCalandar.hasOwnProperty("times")}},P=Object(x.a)(S,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.isInit?s("div",{staticClass:"reserve_time_wrap"},[s("div",{directives:[{name:"swiper",rawName:"v-swiper:mySwiper",value:t.swiperOption,expression:"swiperOption",arg:"mySwiper"}],staticStyle:{padding:"10px"}},[s("ul",{staticClass:"swiper-wrapper time_list"},t._l(t.selectedCalandar.times,(function(e,a){return s("li",{key:e.hour+"-"+a,staticClass:"swiper-slide",class:{disable:!e.available,able:e.available,selected:-1!==t.selectedIdxs.findIndex((function(t){return t===a}))}},[0===a?s("span",{staticClass:"time time_half"},[t._v("오전")]):12===a?s("span",{staticClass:"time time_half"},[t._v("오후")]):24===a?s("span",{staticClass:"time time_half"},[t._v("익일")]):t._e(),t._v(" "),s("a",{staticClass:"time_box",on:{click:function(e){return t.selectTime(a)}}},[s("span",{staticClass:"time"},[t._v(t._s(e.hour))]),t._v(" "),s("span",{staticClass:"price"},[t._v(t._s(t._f("toCurrency")(e.price)))])])])})),0)])]):t._e()}),[],!1,null,null,null).exports,O=s(75),M=s(146);function I(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function E(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?I(Object(s),!0).forEach((function(e){Object(i.a)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):I(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var $={components:{ChatButton:s(187).a,Icons:M.a},mixins:[u.a,O.a],props:{isChatEnable:{type:Boolean,required:!0}},computed:E(E({},Object(o.c)({isWebViewEnv:function(t){return t.flutter.isFlutterInAppWebViewReady}})),{},{isChatDisable:function(){return this.isWebViewEnv&&!this.isChatEnable}}),methods:{handleChatBtnClick:function(){this.isChatDisable?this.$store.commit(v.SET_TOAST,"호스트가 응답이 없어 채팅을 하기 어려워요."):this.$emit("onChatBtnClick")}}},N=(s(1085),Object(x.a)($,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"btn_order_area btn_order_area_wrapper"},[s("a",{staticClass:"btn btn_default btn_call",on:{click:function(e){return t.$emit("callToHost")}}},[s("Icons",{attrs:{icon:"phone",color:"white",width:"20px",height:"20px"}}),t._v(" "),t._t("phone",(function(){return[t._v("\n 전화\n ")]}))],2),t._v(" "),s("ChatButton",{attrs:{disabled:t.isChatDisable,"custom-class":"btn btn_default",size:"20px"},on:{onChatBtnClick:t.handleChatBtnClick}},[t._v("\n 채팅\n ")]),t._v(" "),s("a",{staticClass:"btn btn_default btn_reserve",on:{click:function(e){return t.$emit("reserveSpace")}}},[t._t("reserve",(function(){return[t._v("\n 예약신청하기\n ")]}))],2)],1)}),[],!1,null,"37e315dd",null).exports),D=s(876);function R(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function L(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?R(Object(s),!0).forEach((function(e){Object(i.a)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):R(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var A="예약가능한 일정을 불러오는 중입니다.\n잠시만 기다려주세요.",j={components:{ReserveNavigation:N,photoViewer:g.a,CommonModal:D.a,Loading:C.a,CouponButton:T,TimeSlot:P},props:["dataset","modalStatus","notiStatus","notiMsg","isPreview","login-modal-status","isLoginModalOpen"],data:function(){var t=this;return{modalButtons:[{text:"확인",class:"confirm",onClick:function(){return t.close504Popup()}},{text:"문의하기",class:"text",onClick:function(){t.close504Popup(),window.open("https://spacecloud.channel.io/support-bots/29706","_blank")}}],loading:{isShow:!1,msg:""},noticeModal:{isShow:!1,isNotice:!1,title:"",msg:"",isDimmed:!1,isLoading:!1},showPhotoViewer:!1,numberOfPeople:0,selectedCalandar:null,selectedTime:{start:"",end:"",selected:[]},selectedPkg:[],currentDate:this.$moment(new Date).format("YYYYMMDD"),isDateLoading:!0,selectedProduct:"",selectedType:"",activeImageList:"",avgRspTime:"",squareMeterState:"meter",sizePyeong:"평",sizeMeter:"㎡",isActive:!1,inactiveSpaceIdList:[580,57944,57204],isInactiveSpaceId:!1}},computed:L(L({},Object(o.c)({isMobile:function(t){return t.isMobile}})),{},{cnvenCodes:function(){return this.$store.state.commonCodes.filter((function(t){return"CONV"===t.cate}))[0]},reserveSpacePrice:function(){if(this.selectedTime.selected.start&&this.selectedTime.selected.end||0===this.selectedTime.selected.start||0===this.selectedTime.selected.end){var t=this.selectedTime.selected,e=t.start,s=t.end,a=this.selectedCalandar.times.filter((function(t,a){return a>=e&&a<=s})).reduce((function(t,e){return t+e.price}),0);return"Y"===this.selectedType.charging_per_person?a*this.numberOfPeople:a}if(this.selectedPkg.length)return this.selectedPkg.map((function(t){return t.price})).reduce((function(t,e){return t+e}),0)},extraPersonCharge:function(){if("Y"===this.selectedType.is_extra_person_price_per_hour){var t=this.selectedTime.end-this.selectedTime.start;return this.selectedType&&this.numberOfPeople-this.selectedType.person_ceiling>0?(this.numberOfPeople-this.selectedType.person_ceiling)*this.selectedType.extra_person_price*t:0}return this.selectedType&&this.numberOfPeople-this.selectedType.person_ceiling>0?(this.numberOfPeople-this.selectedType.person_ceiling)*this.selectedType.extra_person_price:0},authenticated:function(){return this.$store.state.authenticated},selectedStartTimeTxt:function(){return this.selectedTime.start>24?"익일 ".concat(this.selectedTime.start-24):this.selectedTime.start},selectedEndTimeTxt:function(){return this.selectedTime.end>24?"익일 ".concat(this.selectedTime.end-24):this.selectedTime.end},pkgNextDay:function(){return"PKG"===this.selectedProduct.selectedType&&this.selectedPkg[0].ehour<this.selectedPkg[0].shour?this.$moment("".concat(this.selectedCalandar.day.year,".").concat(this.selectedCalandar.day.month,".").concat(this.selectedCalandar.day.day),"YYYY.MM.DD (ddd)").add(1,"day").format("YYYY.MM.DD (ddd)"):""}}),watch:{isLoginModalOpen:function(t){t||(this.selectedProduct.selectedType="",this.selectedType="")},selectedProduct:function(t,e){e&&e.selectedType&&(e.selectedType=null),this.selectedCalandar="",this.selectedTime={start:"",end:"",selected:[]},this.selectedPkg=[],this.selectedType=localStorage.getItem("memorizedSelected")?JSON.parse(localStorage.getItem("memorizedSelected")).selectedType.RSV_TP_CD:""}},mounted:function(){this.checkInactiveSpace(),this.resetData(),this.setCnvenCodes(),this.setSelectedProduct(),this.calcAvgRspTime(),"function"==typeof window.gtag&&this.dataset.side_banner.length>0&&this.sendGaEvent("guest_side_banner_impression",this.dataset.side_banner[0])},methods:{sendGaEvent:function(t,e){window.gtag("event","".concat(t),{banner_id:e.id,banner_title:e.title})},setSelectedProduct:function(){var t=this.$route.params.spaceId;if(Object(u.b)()){var e=Object(u.c)(t);if(!e)return;var s=this.dataset.products.find((function(t){return t.info.id===e.productId}));this.selectedProduct=s,this.$emit("onProductSelect",s)}if(1===this.dataset.products.length){var a=this.dataset.products[0];this.selectedProduct=a,this.$emit("onProductSelect",a)}if(this.dataset.products.length>=1&&localStorage.getItem("memorizedSelected")){var i=this.dataset.products.find((function(t){return t.info.id===Number(JSON.parse(localStorage.getItem("memorizedSelected")).selectedProduct.info.id)}));return i.selectedType=JSON.parse(localStorage.getItem("memorizedSelected")).selectedType.RSV_TP_CD,this.selectedProduct=i,this.selectedType=JSON.parse(localStorage.getItem("memorizedSelected")).selectedType,this.selectType(i,JSON.parse(localStorage.getItem("memorizedSelected")).selectedType),this.$emit("onProductSelect",i),void localStorage.removeItem("memorizedSelected")}},sideBannerClickLog:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function s(){var a,i;return regeneratorRuntime.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return a="/side_banners/"+t.id+"/record_side_banner_click_log",(i=JSON.parse(localStorage.getItem("user")))&&i.id&&(a+="?gst_mbr_id="+i.id),"function"==typeof window.gtag&&e.sendGaEvent("guest_side_banner_click",t),s.next=6,e.$axios({method:"get",url:a,params:{anonymous_id:localStorage.getItem("anonymous_id")}});case 6:case"end":return s.stop()}}),s)})))()},calcAvgRspTime:function(){if(this.dataset.host&&this.dataset.host.avg_rsps_ss){var t=parseInt(this.dataset.host.avg_rsps_ss,10),e=Math.floor(t/3600),s=Math.floor((t-3600*e)/60);this.avgRspTime=e?"".concat(e,"시간 ").concat(s,"분"):"".concat(s,"분")}},setCnvenCodes:function(){var t=this;this.dataset.products.forEach((function(e){e.cnvens.forEach((function(e){var s=t.cnvenCodes.values.find((function(t){return e.CNVEN_FCTS_CD===t.key}));s&&(e.icon=s.ETC_ITM1,e.title1=s.ETC_ITM2,e.title2=s.ETC_ITM3)}))}))},callToHost:function(){JSON.parse(localStorage.getItem("user"))?(fbq("trackCustom","Call"),document.querySelector(".pc")?this.$emit("update:modalStatus",!0):window.location.href="tel://".concat(this.dataset.corp.phone)):this.$emit("update:login-modal-status",!0)},getBeforeMonth:function(t,e){var s=this.$moment(e.calandar.date).startOf(),a=this.$moment(this.currentDate).startOf();s.diff(a)<=0||(e.calandar={date:this.$moment(e.calandar.date).subtract(1,"months").format("YYYYMMDD"),days:[]},this.getCalandarData(t,e))},getNextMonth:function(t,e){e.calandar={date:this.$moment(e.calandar.date).add(1,"months").format("YYYYMMDD"),days:[]},this.getCalandarData(t,e)},selectType:function(t,e){var s=this;return Object(n.a)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(JSON.parse(localStorage.getItem("user"))){a.next=5;break}return localStorage.setItem("memorizedSelected",JSON.stringify({selectedProduct:t,selectedType:e})),s.selectedType=e,a.abrupt("return",s.$emit("open-login-modal"));case 5:return s.selectedCalandar="",s.selectedTime={start:"",end:"",selected:[]},s.selectedPkg=[],s.selectedType=e,a.next=11,s.getCalandarData(t,e);case 11:case"end":return a.stop()}}),a)})))()},getCalandarData:function(t,e){var s=this;return Object(n.a)(regeneratorRuntime.mark((function a(){var i,n;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,i=s,s.numberOfPeople=t.info.min_guest_policy,e.calandar||(i.isDateLoading=!0,e.calandar={date:i.currentDate}),"TIME"===s.selectedType.RSV_TP_CD&&s.openTimeProuctLoadingPopup(),a.next=7,i.$axios({method:"get",url:"/products/".concat(t.info.id,"/prices"),params:{reservation_type_id:e.id,year:i.$moment(e.calandar.date).format("YYYY"),month:i.$moment(e.calandar.date).format("MM")}});case 7:n=a.sent,e.calandar={date:"".concat(n.data.year).concat(n.data.month,"01"),month:n.data.month,days:n.data.days},s.selectedType=e,s.$forceUpdate(),i.isDateLoading=!1,i.loading.isShow=!1,a.next=20;break;case 15:a.prev=15,a.t0=a.catch(0),s.loading.isShow=!1,s.open504Popup();case 20:case"end":return a.stop()}}),a,null,[[0,15]])})))()},selectDate:function(t,e){var s=t.calandar.days[e],a=t.calandar.days[e+1];s.available&&(this.$moment(this.currentDate).add(90,"days")<this.$moment("".concat(s.year).concat(Number(s.month)<10?0+s.month:s.month).concat(Number(s.day)<10?0+s.day:s.day))?(this.activeNoti("오늘부터 90일까지 예약이 가능합니다."),this.selectedCalandar=""):this.selectedCalandar&&this.selectedCalandar.type.id===t.id&&this.selectedCalandar.day.day===s.day?this.selectedCalandar="":(this.selectedTime={start:"",end:"",selected:[]},this.selectedPkg=[],this.selectedCalandar={type:t,day:s,times:s.times},"TIME"===t.RSV_TP_CD&&a.available&&(this.selectedCalandar.nextDay=a,this.selectedCalandar.times=[].concat(Object(f.a)(s.times),Object(f.a)(a.times.slice(0,10))))))},selectTime:function(t){var e=this,s=L({},this.selectedCalandar.times[t]);t>=24&&(s.hour+=24);var a=function(t,s){for(var a=t;a<s;a++)if(!e.selectedCalandar.times[a].available)return!1;return!0};s.available&&(!this.selectedTime.start&&"number"!=typeof this.selectedTime.start||this.selectedTime.end-1!==this.selectedTime.start?this.selectedTime={start:s.hour,end:s.hour+1,selected:{start:t,end:t}}:this.selectedTime.end-1===this.selectedTime.start&&s.hour<this.selectedTime.start?a(s.hour,this.selectedTime.start)?(this.selectedTime.start=s.hour,this.selectedTime.selected.start=t):(this.activeNoti("중복되는 예약이 있습니다. 예약시간을 다시 확인해주세요."),this.selectedTime={start:"",end:"",selected:[]}):s.hour>this.selectedTime.start?a(this.selectedTime.start,s.hour)?s.hour+1-this.selectedTime.start<this.selectedProduct.info.min_time_policy?(this.activeNoti("최소 ".concat(this.selectedProduct.info.min_time_policy,"시간 예약가능한 공간입니다.")),this.selectedTime={start:"",end:"",selected:[]}):(this.selectedTime.end=s.hour+1,this.selectedTime.selected.end=t):(this.activeNoti("중복되는 예약이 있습니다. 예약시간을 다시 확인해주세요."),this.selectedTime={start:"",end:"",selected:[]}):s.hour===this.selectedTime.start&&(this.selectedTime={start:"",end:"",selected:[]}))},sortSelectedPkg:function(){this.selectedPkg.sort((function(t,e){return e.start_date-t.start_data||e.shour-t.shour}))},selectPkg:function(t){var e=this.selectedPkg.findIndex((function(e){return e.id===t.id}));t.available&&(e>-1?this.selectedPkg.splice(e,1):(this.selectedPkg.splice(e,1),this.selectedPkg.push(t)),0!==this.selectedPkg[0].ehour&&24!==this.selectedPkg[0].ehour||(this.selectedPkg[0].end_date=this.selectedPkg[0].start_date),this.selectedPkg[0].shour>this.selectedPkg[0].ehour&&0!==this.selectedPkg[0].ehour&&(this.selectedPkg[0].end_date=this.$moment(this.selectedPkg[0].start_date).add(1,"days").format("YYYYMMDD")))},substractPeople:function(t){this.numberOfPeople>t.info.min_guest_policy?this.numberOfPeople-=1:this.activeNoti("최소인원은 ".concat(t.info.min_guest_policy,"명입니다."))},addPeople:function(t){this.numberOfPeople<t.info.max_guest_capacity?this.numberOfPeople+=1:this.activeNoti("최대인원은 ".concat(t.info.max_guest_capacity,"명입니다."))},reserveSpace:function(){var t=this,e=this.selectedTime.selected,s=e.start,a=e.end,i=Array.from({length:a-s+1},(function(e,a){return t.selectedCalandar.times[s+a]}));if(this.isPreview)this.activeNoti("요청하신 URL에 대한 접근 권한이 없습니다.");else if(this.selectedProduct)if(this.selectedProduct.hasOwnProperty("selectedType"))if(this.selectedProduct&&this.selectedProduct.selectedType){if("TIME"===this.selectedProduct.selectedType){if(!this.selectedCalandar)return void this.activeNoti("날짜를 선택해주세요.");if(!i.length)return void this.activeNoti("시간을 선택해주세요.");var n=L({},this.selectedCalandar),o=L(L({},this.selectedTime),{},{selected:i});if(s>=24&&(n.day=this.selectedCalandar.nextDay,o.start-=24,o.end-=24),localStorage.setItem("reserveInfo",JSON.stringify({selectedProduct:this.selectedProduct,selectedCalandar:n,selectedTime:o,selectedPeople:this.numberOfPeople,selectedType:this.selectedType})),i.length<this.selectedProduct.info.min_time_policy)return void this.activeNoti("최소 ".concat(this.selectedProduct.info.min_time_policy,"시간 예약가능한 공간입니다."))}else if("PKG"===this.selectedProduct.selectedType){if(!this.selectedCalandar)return void this.activeNoti("날짜를 선택해주세요.");if(!this.selectedPkg.length)return void this.activeNoti("패키지를 선택해주세요.");0===this.selectedPkg[0].ehour&&(this.selectedPkg[0].ehour=24),localStorage.setItem("reserveInfo",JSON.stringify({selectedProduct:this.selectedProduct,selectedCalandar:this.selectedCalandar,selectedPkg:this.selectedPkg,selectedPeople:this.numberOfPeople,selectedType:this.selectedType}))}if(localStorage.setItem("spaceInfo",JSON.stringify(this.dataset)),!JSON.parse(localStorage.getItem("user")))return localStorage.setItem("fromUrl","/reserve/space/".concat(this.dataset.info.id)),void this.$router.push("/auth/login");this.$router.push("/reserve/space/".concat(this.dataset.info.id))}else this.activeNoti("예약 선택을 해주세요.");else this.activeNoti("예약 선택을 해주세요.");else this.activeNoti("세부공간을 선택해주세요.")},checkNumberOfPeople:function(t){this.numberOfPeople<t.info.min_guest_policy&&(this.numberOfPeople=t.info.min_guest_policy,this.activeNoti("최소인원은 ".concat(t.info.min_guest_policy,"명입니다."))),this.numberOfPeople>t.info.max_guest_capacity&&(this.numberOfPeople=t.info.max_guest_capacity,this.activeNoti("최대인원은 ".concat(t.info.max_guest_capacity,"명입니다.")))},activeNoti:function(t){var e=this;this.$emit("update:notiMsg",t),this.$emit("update:notiStatus",!0),setTimeout((function(){e.$emit("update:notiStatus",!1)}),1500)},activePhotoViewer:function(t){this.activeImageList=t,this.showPhotoViewer=!0},resetData:function(){this.dataset.products.forEach((function(t){t.selectedType=""})),this.showPhotoViewer=!1,this.numberOfPeople=0,this.selectedCalandar="",this.selectedTime={start:"",end:"",selected:[]},this.selectedPkg=[],this.currentDate=this.$moment(new Date).format("YYYYMMDD"),this.isDateLoading=!0,this.selectedProduct="",this.selectedType="",this.activeImageList="",this.avgRspTime=""},sortProduct:function(t){return t.reservation_types.slice().sort((function(t,e){return"PKG"===t.RSV_TP_CD?1:-1}))},openTimeProuctLoadingPopup:function(){this.loading.isShow=!0,this.loading.msg=A},openTimeProudctPopup:function(){this.noticeModal.isShow=!0,this.noticeModal.isNotice=!0,this.noticeModal.title="예약안내 드립니다.",this.noticeModal.msg=A,this.noticeModal.isLoading=!0,this.noticeModal.isDimmed=!0},open504Popup:function(){this.noticeModal.isShow=!0,this.noticeModal.isNotice=!0,this.noticeModal.title="Info",this.noticeModal.msg="서비스가 일시적으로 로딩이 걸리고 있습니다.\n전화 버튼을 통해 공간 호스트님에게 직접 예약해 주세요.\n\n(공간 운영시간을 참고해 주세요.)\n\n<strong>Team SpaceCloud</strong>",this.noticeModal.isLoading=!1,this.noticeModal.isDimmed=!1},close504Popup:function(){this.noticeModal.isShow=!1},changeSquareMeterState:function(t){return this.$emit("onProductSelect",t),this.squareMeterState="meter"},changeMeterPyeong:function(){"pyeong"===this.squareMeterState?this.squareMeterState="meter":this.squareMeterState="pyeong"},checkInactiveSpace:function(){this.isInactiveSpaceId=this.inactiveSpaceIdList.includes(this.dataset.info.id)}}},Y=(s(1087),Object(x.a)(j,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ly_right_wrap meet"},[a("div",{staticClass:"ly_right_fixed"},[t._m(0),t._v(" "),a("div",{staticClass:"scroll_box"},[a("div",{staticClass:"scroll_inner"},["NOWPY"===t.dataset.info.RSV_MTH_CD?a("div",{staticClass:"respond_infos"},[t._m(1)]):t._e(),t._v(" "),"FIXPY"===t.dataset.info.RSV_MTH_CD?a("div",{staticClass:"respond_infos"},[t._m(2),t._v(" "),t.dataset.host&&t.dataset.host.avg_rsps_ss?a("p",{staticClass:"respond_data"},[a("strong",[t._v("평균 대기 시간")]),t._v(" "),a("strong",{staticClass:"txt_primary"},[t._v(t._s(t.avgRspTime))])]):t._e()]):t._e(),t._v(" "),"RVFIX"===t.dataset.info.RSV_MTH_CD?a("div",{staticClass:"respond_infos"},[t._m(3),t._v(" "),t.dataset.host&&t.dataset.host.avg_rsps_ss?a("p",{staticClass:"respond_data"},[a("strong",[t._v("평균 대기 시간")]),t._v(" "),a("strong",{staticClass:"txt_primary"},[t._v(t._s(t.avgRspTime))])]):t._e()]):t._e(),t._v(" "),a("ul",{staticClass:"reserv_list"},t._l(t.dataset.products,(function(e){return a("li",{staticClass:"lst",class:{active:t.selectedProduct&&e.info.id===t.selectedProduct.info.id}},[a("div",{staticClass:"flex_box"},[a("div",{staticClass:"flex"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedProduct,expression:"selectedProduct"}],staticClass:"radio",attrs:{id:"sp"+e.info.id,type:"radio",name:"space_reserv"},domProps:{value:e,checked:t._q(t.selectedProduct,e)},on:{click:function(){return t.changeSquareMeterState(e)},change:function(s){t.selectedProduct=e}}}),t._v(" "),a("label",{attrs:{for:"sp"+e.info.id}},[t._v(t._s(e.info.name))])]),t._v(" "),a("div",{staticClass:"flex align_right"},[a("strong",[t._v("\\"+t._s(t._f("toCurrency")(e.info.price)))]),t._v(" "),a("span",{staticClass:"txt_unit"},[t._v("\n /\n "),"TIME"===e.info.RSV_TP_CD?[t._v("시간")]:t._e(),t._v(" "),"PKG"===e.info.RSV_TP_CD?[t._v("패키지")]:t._e(),t._v(" "),"Y"===e.info.charging_per_person?[t._v("(인)")]:t._e()],2)])]),t._v(" "),a("div",{staticClass:"space_info_wrap",class:{active:t.selectedProduct}},[a("div",{staticClass:"meetspace-info"},[e.info.image_url?a("div",{staticClass:"meetspace-info-photo",style:{backgroundImage:"url("+e.info.image_url+")"},on:{click:function(s){return t.activePhotoViewer([{image_url:e.info.image_url}].concat(e.images))}}},[e.images.length>1?a("em",{staticClass:"rooms meetspace-info-photo__count"},[t._v("+"+t._s(e.images.length-1))]):t._e()]):t._e(),t._v(" "),e.info.desc?a("p",{staticClass:"meetspace-info-desc",domProps:{innerHTML:t._s(e.info.desc.split("\n").join("<br/>"))}}):t._e()]),t._v(" "),a("ul",{staticClass:"list_detail"},[a("li",[a("span",{staticClass:"tit"},[t._v("공간유형")]),t._v(" "),a("span",{staticClass:"data"},t._l(e.categories,(function(e){return a("span",[t._v(t._s(e.name+" "))])})),0)]),t._v(" "),e.info.area_size_pyeong?a("li",[a("span",{staticClass:"tit",staticStyle:{"margin-top":"2px"}},[t._v("공간면적")]),t._v(" "),a("div",{staticStyle:{display:"flex"}},["meter"===t.squareMeterState?a("span",{staticClass:"data",staticStyle:{"margin-top":"3px"}},[t._v(t._s(Math.round(3.3*e.info.area_size_pyeong))+t._s(t.sizeMeter))]):a("span",{staticClass:"data",staticStyle:{"margin-top":"3px"}},[t._v(t._s(e.info.area_size_pyeong)+t._s(t.sizePyeong))]),t._v(" "),"meter"===t.squareMeterState?a("button",{staticClass:"extent_btn",on:{click:t.changeMeterPyeong}},[a("img",{attrs:{src:s(969)}}),t._v(t._s(t.sizePyeong)+"\n ")]):a("button",{staticClass:"extent_btn",on:{click:t.changeMeterPyeong}},[a("img",{attrs:{src:s(969)}}),t._v(t._s(t.sizeMeter)+"\n ")])])]):t._e(),t._v(" "),a("li",[a("span",{staticClass:"tit"},[t._v("예약시간")]),t._v(" "),a("span",{staticClass:"data"},[t._v("최소 "+t._s(e.info.min_time_policy)+"시간 부터")])]),t._v(" "),a("li",[a("span",{staticClass:"tit"},[t._v("수용인원")]),t._v(" "),a("span",{staticClass:"data"},[t._v("최소 "+t._s(e.info.min_guest_policy)+"명 ~ 최대 "+t._s(e.info.max_guest_capacity)+"명")])]),t._v(" "),t.selectedType.extra_person_price?a("li",[a("span",{staticClass:"tit"},[t._v("예약기준")]),t._v(" "),a("span",{staticClass:"data"},[a("div",[t._v(t._s(t.selectedType.person_ceiling)+"명 초과시 "),"Y"===t.selectedType.is_extra_person_price_per_hour?a("em",[t._v("시간당")]):t._e(),t._v(" "+t._s(t._f("toCurrency")(t.selectedType.extra_person_price))+"원/인")])])]):t._e()]),t._v(" "),a("div",{staticClass:"facility_wrap"},[e.cnvens?a("ul",{staticClass:"facility_list"},t._l(e.cnvens,(function(e){return a("li",[a("i",{staticClass:"sp_icon",class:e.icon}),t._v(" "),a("span",{staticClass:"txt_name cnven_txt"},[t._v("\n "+t._s(e.title1)+"\n "),e.title2?a("em",{staticClass:"br"},[t._v(t._s(e.title2))]):t._e()])])})),0):t._e()]),t._v(" "),a("h2",{staticClass:"meetspace-heading"},[t._v("예약선택")]),t._v(" "),a("div",{staticClass:"meetspace-radio"},[t._l(t.sortProduct(e),(function(s){return a("div",{key:s.RSV_TP_CD,staticClass:"meetspace-radio-item"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedType,expression:"product.selectedType"}],staticClass:"radio",attrs:{id:s.id,type:"radio"},domProps:{value:s.RSV_TP_CD,checked:t._q(e.selectedType,s.RSV_TP_CD)},on:{change:[function(a){return t.$set(e,"selectedType",s.RSV_TP_CD)},function(a){return t.selectType(e,s)}]}}),t._v(" "),"TIME"===s.RSV_TP_CD?a("label",{attrs:{for:s.id}},[t._v("시간 단위 예약하기(최소 "+t._s(e.info.min_time_policy)+"시간 부터)")]):t._e(),t._v(" "),"PKG"===s.RSV_TP_CD?a("label",{attrs:{for:s.id}},[t._v("패키지로 예약하기")]):t._e()])})),t._v(" "),t.selectedType&&!t.isDateLoading?a("div",{staticClass:"meetspace-option"},[a("article",{staticClass:"box_form meetspace-calandar"},[a("div",{staticClass:"heading"},[a("h3",[t._v("날짜 선택")]),t._v(" "),t.selectedCalandar?a("span",{staticClass:"option"},[a("em",[t._v(t._s(t.$moment(""+t.selectedCalandar.day.year+(Number(t.selectedCalandar.day.month)<10?"0"+t.selectedCalandar.day.month:t.selectedCalandar.day.month)+(Number(t.selectedCalandar.day.day)<10?"0"+t.selectedCalandar.day.day:t.selectedCalandar.day.day)).format("YYYY.MM.DD (ddd)")))])]):t._e(),t._v(" "),"FIXPY"===t.dataset.info.RSV_MTH_CD||"RVFIX"===t.dataset.info.RSV_MTH_CD?a("div",{staticClass:"sub_title"},[t._v("\n 호스트의 예약 승인 대기 시간으로 인해 "),a("br"),t._v(" "),a("span",{staticClass:"blue_txt"},[t._v("모레")]),t._v("부터 예약 가능합니다 "),a("br"),t._v(" "),a("span",{staticClass:"blue_txt"},[t._v("(당일 및 다음날 예약 불가능)")]),a("br"),t._v(" "),"RVFIX"===t.dataset.info.RSV_MTH_CD?a("strong",{staticClass:"red_txt"},[t._v("단, 승인예약의 경우 2024년 1월 11일(목)부터"),a("br"),t._v("예약이 불가능해요.")]):t._e()]):t._e()]),t._v(" "),a("div",{staticClass:"reserve_calendar_wrap timely"},[a("div",{staticClass:"calendar_tit"},[a("a",{staticClass:"btn_month_prev",on:{click:function(s){return t.getBeforeMonth(e,t.selectedType)}}},[a("span",{staticClass:"sp_icon ico_month_prev"},[t._v("이전달")])]),t._v(" "),a("strong",[a("em",[t._v(t._s(t.$moment(t.selectedType.calandar.date).format("YYYY")))]),t._v(".\n "),a("em",[t._v(t._s(t.$moment(t.selectedType.calandar.date).format("MM")))])]),t._v(" "),a("a",{staticClass:"btn_month_next",on:{click:function(s){return t.getNextMonth(e,t.selectedType)}}},[a("span",{staticClass:"sp_icon ico_month_next"},[t._v("다음달")])])]),t._v(" "),a("div",{staticClass:"calendar"},[a("table",[a("caption",{staticClass:"blind"},[t._v("달력 테이블")]),t._v(" "),t._m(4,!0),t._v(" "),t._m(5,!0),t._v(" "),t.selectedType.calandar.days?a("tbody",t._l(Math.floor(t.selectedType.calandar.days.length/7),(function(e,s){return a("tr",{key:s},t._l(7,(function(s,i){return a("td",{key:i,class:{disable:!(t.selectedType&&t.selectedType.calandar&&t.selectedType.calandar.days[s-1+7*(e-1)]&&t.selectedType.calandar.days[s-1+7*(e-1)].available),datepick:t.selectedCalandar&&t.selectedType.calandar.days[s-1+7*(e-1)]&&t.selectedType.calandar.days[s-1+7*(e-1)].month===t.selectedCalandar.day.month&&t.selectedType.calandar.days[s-1+7*(e-1)].day===t.selectedCalandar.day.day,today:t.selectedType.calandar.days[s-1+7*(e-1)]&&Number(t.selectedType.calandar.days[s-1+7*(e-1)].month)===Number(t.$moment(t.currentDate).format("MM"))&&Number(t.selectedType.calandar.days[s-1+7*(e-1)].day)===Number(t.$moment(t.currentDate).format("DD"))}},[a("a",{class:{calendar_holiday:t.selectedType.calandar.days[s-1+7*(e-1)]&&"Y"===t.selectedType.calandar.days[s-1+7*(e-1)].hday},on:{click:function(a){t.selectedType&&t.selectedType.calandar.days[s-1+7*(e-1)]&&t.selectDate(t.selectedType,s-1+7*(e-1))}}},[a("span",{staticClass:"date"},[t._v("\n "+t._s(t.selectedType&&t.selectedType.calandar.days[s-1+7*(e-1)]?t.selectedType.calandar.days[s-1+7*(e-1)].day:"")+"\n ")])])])})),0)})),0):t._e()])])]),t._v(" "),t._m(6,!0)]),t._v(" "),a("article",{staticClass:"box_form"},["TIME"===t.selectedType.RSV_TP_CD&&t.selectedCalandar&&t.selectedCalandar.day.hasOwnProperty("times")?a("div",{staticClass:"heading"},[a("h3",[t._v("시간 선택")]),t._v(" "),"number"!=typeof t.selectedTime.start||t.selectedTime.end?t._e():a("span",{staticClass:"option"},[a("em",[t._v(t._s(t.selectedStartTimeTxt)+"시~"+t._s(t.selectedEndTimeTxt)+"시")]),t._v(",\n "),a("em",[t._v("1시간")])]),t._v(" "),"number"==typeof t.selectedTime.start&&t.selectedTime.end?a("span",{staticClass:"option"},[a("em",[t._v(t._s(t.selectedStartTimeTxt)+"시~"+t._s(t.selectedEndTimeTxt)+"시")]),t._v(",\n "),a("em",[t._v(t._s(t.selectedTime.end-t.selectedTime.start)+"시간")])]):t._e()]):t._e(),t._v(" "),"TIME"===t.selectedType.RSV_TP_CD&&t.selectedCalandar?a("TimeSlot",{attrs:{selectedCalandar:t.selectedCalandar,selectedTime:t.selectedTime,selectTime:t.selectTime}}):t._e(),t._v(" "),"PKG"===t.selectedType.RSV_TP_CD&&t.selectedCalandar&&t.selectedCalandar.day.hasOwnProperty("packages")?a("div",{staticClass:"reserve_time_wrap meetspace-package"},t._l(t.selectedCalandar.day.packages,(function(e){return a("a",{class:{disable:!e.available,today:e.available,datepick:t.selectedPkg.findIndex((function(t){return t.id===e.id}))>-1},on:{click:function(s){return t.selectPkg(e)}}},[(e.name+"").includes("패키지1")?a("span",{staticClass:"package-time"},[t._v(t._s(e.name))]):a("span",{staticClass:"package-time"},[t._v(t._s(e.name)+" "+t._s(e.shour)+"~"+t._s(e.ehour)+"시")]),t._v(" "),a("span",{staticClass:"package-price"},[t._v(t._s(t._f("toCurrency")(e.price)))])])})),0):t._e(),t._v(" "),t.selectedCalandar?a("div",{staticClass:"color_desc"},[a("span",{staticClass:"color_disable"},[t._v("예약불가")]),t._v(" "),a("span",{staticClass:"color_today"},[t._v("가능")]),t._v(" "),a("span",{staticClass:"color_select"},[t._v("선택")])]):t._e()],1),t._v(" "),"NOWPY"===t.dataset.info.RSV_MTH_CD?a("p",{staticClass:"p_noti_text warn",staticStyle:{display:"block","word-break":"keep-all"}},[a("i",{staticClass:"sp_icon ico_alert"}),t._v(" "),a("span",[t._v("결제가 완료되지 않으면 중복 예약 방지를 위해 15분 동안 동일한 시간대 예약이 막혀요.")]),t._v(" "),a("br"),t._v(" "),a("span",[t._v("15분 후에 다시 시도해 주시고, 문제가 계속되면 1:1 문의로 알려주세요.")])]):t._e(),t._v(" "),t.selectedCalandar&&(t.selectedTime.selected.start&&t.selectedTime.selected.end||t.selectedPkg.length)||t.selectedCalandar&&(0===t.selectedTime.selected.start||0===t.selectedTime.selected.end||t.selectedPkg.length)?a("article",{staticClass:"meetspace-date"},[a("div",{staticClass:"heading"},[a("h3",[t._v("예약일시")]),t._v(" "),a("p",[t._v("\n "+t._s(t.$moment(""+t.selectedCalandar.day.year+(Number(t.selectedCalandar.day.month)<10?"0"+t.selectedCalandar.day.month:t.selectedCalandar.day.month)+(Number(t.selectedCalandar.day.day)<10?"0"+t.selectedCalandar.day.day:t.selectedCalandar.day.day)).format("YYYY.MM.DD (ddd)"))+"\n "),"TIME"===t.selectedProduct.selectedType?[t._v("\n "+t._s(t.selectedStartTimeTxt)+":00~"+t._s(t.selectedEndTimeTxt)+":00("+t._s(t.selectedTime.end-t.selectedTime.start)+"시간)\n ")]:t._e(),t._v(" "),"PKG"===t.selectedProduct.selectedType?[t.selectedPkg[0].ehour<t.selectedPkg[0].shour&&0!==t.selectedPkg[0].ehour?[t._v("\n "+t._s(t.selectedPkg[0].shour)+":00 ~\n "+t._s(t.pkgNextDay)+"\n "+t._s(t.selectedPkg[0].ehour)+":00("+t._s(24-t.selectedPkg[0].shour+t.selectedPkg[0].ehour)+"\n ")]:t.selectedPkg[0].ehour<t.selectedPkg[0].shour&&0===t.selectedPkg[0].ehour?[t._v("\n "+t._s(t.selectedPkg[0].shour)+":00 ~ 24:00("+t._s(24-t.selectedPkg[0].shour)+"\n ")]:[t._v("\n "+t._s(t.selectedPkg[0].shour)+":00 ~ "+t._s(t.selectedPkg[0].ehour)+":00("+t._s(t.selectedPkg[0].ehour-t.selectedPkg[0].shour)+"\n ")],t._v("\n 시간)\n ")]:t._e()],2)])]):t._e(),t._v(" "),a("article",{staticClass:"box_form meetspace-count"},[a("div",{staticClass:"heading"},[a("h3",[t._v("총 예약인원")]),t._v(" "),a("span",[t._v("\n (최대 "+t._s(t.selectedProduct.info.max_guest_capacity)+"명\n "),t.selectedType.extra_person_price?[t._v(", "+t._s(t.selectedType.person_ceiling)+"명 초과시 "),"Y"===t.selectedType.is_extra_person_price_per_hour?a("em",[t._v("시간당")]):t._e(),t._v(" "+t._s(t._f("toCurrency")(t.selectedType.extra_person_price))+"원/인")]:t._e(),t._v(")\n ")],2)]),t._v(" "),a("div",{staticClass:"box_setting"},[a("span",{staticClass:"input"},[a("input",{directives:[{name:"model",rawName:"v-model.number",value:t.numberOfPeople,expression:"numberOfPeople",modifiers:{number:!0}}],staticClass:"number_set",attrs:{type:"number"},domProps:{value:t.numberOfPeople},on:{change:function(s){return t.checkNumberOfPeople(e)},input:function(e){e.target.composing||(t.numberOfPeople=t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),a("a",{staticClass:"btn_minus",on:{click:function(s){return t.substractPeople(e)}}},[a("i",{staticClass:"sp_icon ico_minus"},[t._v("1빼기")])]),t._v(" "),a("a",{staticClass:"btn_plus",on:{click:function(s){return t.addPeople(e)}}},[a("i",{staticClass:"sp_icon ico_plus"},[t._v("1더하기")])])])]),t._v(" "),t.selectedCalandar&&(t.selectedTime.selected.start&&t.selectedTime.selected.end||t.selectedPkg.length)||t.selectedCalandar&&(0===t.selectedTime.selected.start||0===t.selectedTime.selected.end||t.selectedPkg.length)?a("article",{staticClass:"box_form meetspace-receipt"},[a("h3",[t._v("\n 공간사용료\n "),a("span",[t._v("\\"+t._s(t._f("toCurrency")(t.reserveSpacePrice)))])]),t._v(" "),t.extraPersonCharge?a("h3",[t._v("\n 추가인원("+t._s(t.numberOfPeople-t.selectedType.person_ceiling)+"명)"),"Y"===t.selectedType.is_extra_person_price_per_hour?a("em",[t._v(" X "+t._s(t.selectedTime.end-t.selectedTime.start)+"시간")]):t._e(),t._v(" "),a("span",[t._v("\\"+t._s(t._f("toCurrency")(t.extraPersonCharge)))])]):t._e(),t._v(" "),t.reserveSpacePrice+t.extraPersonCharge?a("h3",{staticClass:"price"},[t._v("\n \\"+t._s(t._f("toCurrency")(t.reserveSpacePrice+t.extraPersonCharge))+"\n ")]):t._e()]):t._e()]):t._e()],2)])])})),0)])]),t._v(" "),t.isInactiveSpaceId?a("div",{staticClass:"btn_order_area"},[a("a",{staticClass:"btn btn_disable"},[t._v("전화")]),t._v(" "),"NOWPY"===t.dataset.info.RSV_MTH_CD?a("a",{staticClass:"btn btn_disable btn_reserve"},[t._v("바로 예약하기")]):t._e(),t._v(" "),"NOWPY"!==t.dataset.info.RSV_MTH_CD?a("a",{staticClass:"btn btn_disable"},[t._v("예약신청하기")]):t._e()]):t._e(),t._v(" "),t.isInactiveSpaceId?t._e():a("ReserveNavigation",{attrs:{"is-chat-enable":t.dataset.is_chat_enable},on:{callToHost:t.callToHost,reserveSpace:t.reserveSpace,onChatBtnClick:function(e){return t.$emit("onChatBtnClick")}},scopedSlots:t._u([{key:"reserve",fn:function(){return[t._v("\n "+t._s("NOWPY"===t.dataset.info.RSV_MTH_CD?"바로 예약하기":"예약신청하기")+"\n ")]},proxy:!0}],null,!1,3917653679)}),t._v(" "),a("div",{staticClass:"respond_area respond_area-mobile"},["FIXPY"===t.dataset.info.RSV_MTH_CD?a("div",{staticClass:"respond_infos"},[t._m(7),t._v(" "),t.dataset.host&&t.dataset.host.avg_rsps_ss?a("p",{staticClass:"respond_data"},[a("strong",[t._v("평균 대기 시간")]),t._v(" "),a("strong",{staticClass:"txt_primary"},[t._v(t._s(t.avgRspTime))])]):t._e()]):t._e(),t._v(" "),"RVFIX"===t.dataset.info.RSV_MTH_CD?a("div",{staticClass:"respond_infos"},[t._m(8)]):t._e(),t._v(" "),"NOWPY"===t.dataset.info.RSV_MTH_CD?a("div",{staticClass:"respond_infos"},[t._m(9)]):t._e()]),t._v(" "),t.dataset.side_banner.length>0?a("div",{staticClass:"banner_area"},t._l(t.dataset.side_banner,(function(e,s){return a("div",{key:"side_banner_"+s},[a("a",{staticClass:"type_short",attrs:{href:e.link,target:"_blank"},on:{click:function(s){return t.sideBannerClickLog(e)}}},[a("img",{attrs:{src:e.image_url,alt:"배너"}})]),t._v(" "),a("div",{staticStyle:{width:"1px",height:"5px"}}),t._v(" "),a("a",{staticClass:"type_long",attrs:{href:e.link,target:"_blank"},on:{click:function(s){return t.sideBannerClickLog(e)}}},[a("img",{attrs:{src:e.image_url,alt:"배너"}})])])})),0):t._e()],1),t._v(" "),t.isMobile?t._e():a("CouponButton",{attrs:{dataset:t.dataset}}),t._v(" "),t.showPhotoViewer?a("photo-viewer",{attrs:{modalStatus:t.showPhotoViewer,imageList:t.activeImageList,space:t.dataset.info.name},on:{"update:modalStatus":function(e){t.showPhotoViewer=e},"update:modal-status":function(e){t.showPhotoViewer=e}}}):t._e(),t._v(" "),t.noticeModal.isShow?a("common-modal",{attrs:{title:"잠시 후 다시 시도해주세요",closeModal:t.close504Popup,buttons:t.modalButtons},scopedSlots:t._u([{key:"content",fn:function(){return[a("p",{style:{lineHeight:1.5}},[a("span",[t._v("공간 예약에 불편을 드려 죄송해요.")]),t._v(" "),a("br"),t._v(" "),a("span",[t._v("동일한 현상이 지속되면 "),a("a",{staticStyle:{color:"#307df7"},attrs:{href:"https://spacecloud.channel.io/support-bots/29706",target:"_blank"}},[t._v("1:1문의")]),t._v("로 알려주세요.")])])]},proxy:!0}],null,!1,715317573)}):t._e(),t._v(" "),a("Loading",{attrs:{modalStatus:t.loading.isShow,msg:t.loading.msg},on:{"update:modalStatus":function(e){return t.$set(t.loading,"isShow",e)},"update:modal-status":function(e){return t.$set(t.loading,"isShow",e)}}})],1)}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"heading"},[s("h3",[t._v("세부공간 선택")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"p_respond"},[s("p",{staticClass:"info_text_title"},[t._v("결제 후 바로 예약확정")]),t._v(" "),s("p",{staticClass:"info_text_describe"},[t._v("빠르고 확실한 예약을 위해 스페이스클라우드에서"),s("br"),t._v(" 온라인 결제를 진행하세요 :-)")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"p_respond"},[s("p",{staticClass:"info_text_title"},[t._v("호스트 승인 후 예약확정")]),t._v(" "),s("p",{staticClass:"info_text_describe"},[t._v("확실한 예약을 위해 스페이스클라우드에서"),s("br"),t._v(" 온라인 결제를 진행하세요 :-)")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"p_respond"},[s("p",{staticClass:"info_text_title"},[t._v("호스트가 별도로 결제방법 안내")]),t._v(" "),s("p",{staticClass:"info_text_describe"},[t._v("외부결제 시 취소 및 환불 등 각종 문의는"),s("br"),t._v(" 공간 호스트님과 직접 처리하셔야 합니다.")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("colgroup",[e("col",{staticStyle:{width:"auto"},attrs:{span:"7"}})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("thead",[s("tr",[s("th",[t._v("SUN")]),t._v(" "),s("th",[t._v("MON")]),t._v(" "),s("th",[t._v("TUE")]),t._v(" "),s("th",[t._v("WED")]),t._v(" "),s("th",[t._v("THU")]),t._v(" "),s("th",[t._v("FRI")]),t._v(" "),s("th",[t._v("SAT")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"color_desc"},[s("span",{staticClass:"color_disable"},[t._v("예약불가")]),t._v(" "),s("span",{staticClass:"color_today"},[t._v("오늘")]),t._v(" "),s("span",{staticClass:"color_select"},[t._v("선택")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"p_respond"},[s("p",{staticClass:"info_text_title"},[t._v("호스트 승인 후 예약확정")]),t._v(" "),s("p",{staticClass:"info_text_describe"},[t._v("확실한 예약을 위해 스페이스클라우드에서"),s("br"),t._v(" 온라인 결제를 진행하세요 :-)")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"p_respond"},[s("p",{staticClass:"info_text_title"},[t._v("호스트가 별도로 결제방법 안내")]),t._v(" "),s("p",{staticClass:"info_text_describe"},[t._v("외부결제 시 취소 및 환불 등 각종 문의는"),s("br"),t._v(" 공간 호스트님과 직접 처리하셔야 합니다.")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"p_respond"},[s("p",{staticClass:"info_text_title"},[t._v("결제 후 바로 예약확정")]),t._v(" "),s("p",{staticClass:"info_text_describe"},[t._v("빠르고 확실한 예약을 위해 스페이스클라우드에서"),s("br"),t._v(" 온라인 결제를 진행하세요 :-)")])])}],!1,null,null,null).exports);function V(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function q(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?V(Object(s),!0).forEach((function(e){Object(i.a)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):V(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var B={components:{ReserveNavigation:N,CouponButton:T},props:["dataset","modalStatus","isPreview","login-modal-status"],data:function(){return{showFirstPolicy:!0,activeTabIndex:0,isOpened:!1,avgRspTime:"",tabItems:[],tab:"",tabKeys:{perDay:"per_day",perMonth:"per_month",policy:"policy"}}},computed:q(q({},Object(o.c)({isMobile:function(t){return t.isMobile}})),{},{authenticated:function(){return this.$store.state.authenticated},userInfo:function(){return this.$store.state.user}}),mounted:function(){this.calcAvgRspTime(),this.createTabItems(),this.setSelectedProduct(),"function"==typeof window.gtag&&this.dataset.side_banner.length>0&&this.sendGaEvent("guest_side_banner_impression",this.dataset.side_banner[0])},methods:{sendGaEvent:function(t,e){window.gtag("event","".concat(t),{banner_id:e.id,banner_title:e.title})},setSelectedProduct:function(){if(this.dataset){var t=this.dataset.products,e=Object(a.a)(t,1)[0];this.$emit("onProductSelect",e)}},createTabItems:function(){var t=[];this.dataset.products.find((function(t){return"DAY"===t.info.RSV_TP_CD}))&&t.push({key:this.tabKeys.perDay,name:"일단위 가격정책"}),this.dataset.products.find((function(t){return"MONTH"===t.info.RSV_TP_CD}))&&t.push({key:this.tabKeys.perMonth,name:"월단위 가격정책"}),"Y"===this.dataset.virtual_office.virtual_office_activated_yn&&t.push({key:this.tabKeys.policy,name:"비상주서비스 정책"}),this.tabItems=t,t.length>0&&(this.tab=t[0].key)},priceHtml:function(t){var e=this.dataset.products.find((function(e){return e.info.RSV_TP_CD===t}));return e&&e.info.price_policy?e.info.price_policy.replace(/(?:\r\n|\r|\n)/g,"<br />"):""},sideBannerClickLog:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function s(){var a,i;return regeneratorRuntime.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return a="/side_banners/"+t.id+"/record_side_banner_click_log",(i=JSON.parse(localStorage.getItem("user")))&&i.id&&(a+="?gst_mbr_id="+i.id),"function"==typeof window.gtag&&e.sendGaEvent("guest_side_banner_click",t),s.next=6,e.$axios({method:"get",url:a,params:{anonymous_id:localStorage.getItem("anonymous_id")}});case 6:case"end":return s.stop()}}),s)})))()},calcAvgRspTime:function(){if(this.dataset.host&&this.dataset.host.avg_rsps_ss){var t=parseInt(this.dataset.host.avg_rsps_ss,10),e=Math.floor(t/3600),s=Math.floor((t-3600*e)/60);this.avgRspTime=e?"".concat(e,"시간 ").concat(s,"분"):"".concat(s,"분")}},callToHost:function(){JSON.parse(localStorage.getItem("user"))?document.querySelector(".pc")?(this.$emit("update:modalStatus",!0),fbq("trackCustom","Call")):window.location.href="tel://".concat(this.dataset.corp.phone):this.$emit("update:login-modal-status",!0)},reserveSpace:function(){this.isPreview?this.activeNoti("요청하신 URL에 대한 접근 권한이 없습니다."):(localStorage.setItem("spaceInfo",JSON.stringify(this.dataset)),this.authenticated?this.$router.push("/reserve/workspace/".concat(this.dataset.info.id)):this.$emit("open-login-modal"))}}},H=Object(x.a)(B,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ly_right_wrap"},[s("div",{staticClass:"ly_right_fixed"},[s("div",{staticClass:"info_reservation"},["NOWPY"===t.dataset.info.RSV_MTH_CD?s("div",{staticClass:"info_text respond_infos"},[t._m(0),t._v(" "),t._m(1),t._v(" "),t.dataset.host&&t.dataset.host.avg_rsps_ss?s("p",{staticClass:"respond_data"},[s("strong",[t._v("평균 대기 시간")]),t._v(" "),s("strong",{staticClass:"txt_primary"},[t._v(t._s(t.avgRspTime))])]):t._e()]):t._e(),t._v(" "),"FIXPY"===t.dataset.info.RSV_MTH_CD?s("div",{staticClass:"info_text respond_infos"},[s("div",{staticClass:"respond_infos_pc"},[s("p",{staticClass:"info_text_title"},[t._v("호스트 승인 후 예약확정")]),t._v(" "),t._m(2),t._v(" "),t.dataset.host&&t.dataset.host.avg_rsps_ss?s("p",{staticClass:"respond_data"},[s("strong",[t._v("평균 대기 시간")]),t._v(" "),s("strong",{staticClass:"txt_primary"},[t._v(t._s(t.avgRspTime))])]):t._e()]),t._v(" "),t._m(3)]):t._e(),t._v(" "),"RVFIX"===t.dataset.info.RSV_MTH_CD?s("div",{staticClass:"info_text respond_infos"},[s("div",{staticClass:"respond_infos_pc"},[s("p",{staticClass:"info_text_title"},[t._v("호스트가 별도로 결제방법 안내")]),t._v(" "),t._m(4),t._v(" "),t.dataset.host&&t.dataset.host.avg_rsps_ss?s("p",{staticClass:"respond_data"},[s("strong",[t._v("평균 대기 시간")]),t._v(" "),s("strong",{staticClass:"txt_primary"},[t._v(t._s(t.avgRspTime))])]):t._e()]),t._v(" "),t._m(5)]):t._e(),t._v(" "),s("ul",{staticClass:"info_price_list"},[s("li",{staticClass:"price_title"},[t._v("공간 이용료")]),t._v(" "),t._l(t.dataset.products,(function(e){return s("li",{key:e.info.id},[s("span",{staticClass:"txt_sign"},[t._v("\\")]),t._v(" "),s("strong",{staticClass:"txt_price"},[t._v("\n "+t._s(t._f("toCurrency")(e.info.price))+"\n "),"DAY"===e.info.RSV_TP_CD?s("span",{staticClass:"txt_unit"},[t._v("/1일")]):t._e(),t._v(" "),"MONTH"===e.info.RSV_TP_CD?s("span",{staticClass:"txt_unit"},[t._v("/1개월")]):t._e()])])})),t._v(" "),"Y"===t.dataset.virtual_office.virtual_office_activated_yn?s("div",{staticStyle:{"border-top":"0.5px solid #e0e0e0",margin:"1rem 0px"}}):t._e(),t._v(" "),"Y"===t.dataset.virtual_office.virtual_office_activated_yn?s("li",{staticClass:"price_title"},[t._v("비상주서비스")]):t._e(),t._v(" "),"Y"===t.dataset.virtual_office.virtual_office_activated_yn?s("li",[s("span",{staticClass:"txt_sign"},[t._v("\\")]),t._v(" "),s("strong",{staticClass:"txt_price"},[t._v("\n "+t._s(t._f("toCurrency")(t.dataset.virtual_office.virtual_office_d_prc))+"\n "),s("span",{staticClass:"txt_unit"},[t._v("/1개월")])])]):t._e(),t._v(" "),s("li",{staticClass:"txt_vat"},[t._v("(VAT포함가)")]),t._v(" "),"Y"===t.dataset.virtual_office.virtual_office_activated_yn?s("p",{staticClass:"p_guide normal",staticStyle:{display:"block",margin:"2px 0px 2px 0px"}},[s("i",{staticClass:"sp_icon ico_alert"}),t._v("비상주서비스는 전화로만 문의 가능합니다.")]):t._e()],2),t._v(" "),s("div",{staticClass:"policy_wrap",class:{opened:t.isOpened}},[s("ul",{staticClass:"category_tab_list",attrs:{role:"tablist"}},t._l(t.tabItems,(function(e){return s("li",{key:e.key,class:{active:t.tab===e.key},attrs:{role:"tab"},on:{click:function(s){t.tab=e.key}}},[t._v("\n "+t._s(e.name)+"\n ")])})),0),t._v(" "),s("div",{staticClass:"category_tab_panel_list"},[t.tab===t.tabKeys.perDay?s("div",{staticStyle:{padding:"25px 10px","word-break":"break-all"},domProps:{innerHTML:t._s(t.priceHtml("DAY"))}}):t._e(),t._v(" "),t.tab===t.tabKeys.perMonth?s("div",{staticStyle:{padding:"25px 10px","word-break":"break-all"},domProps:{innerHTML:t._s(t.priceHtml("MONTH"))}}):t._e(),t._v(" "),t.tab===t.tabKeys.policy?s("div",[s("div",{staticClass:"virtual_office_container"},[s("div",{staticClass:"virtual_office_items"},[s("div",{staticClass:"virtual_office_item"},[s("div",{staticClass:"item"},[t._v("최소 계약 개월수")]),t._v(" "),s("div",{staticClass:"item"},[t._v(t._s(t.dataset.virtual_office.virtual_office_min_con_mon)+"개월")])]),t._v(" "),s("div",{staticClass:"virtual_office_item"}),t._v(" "),s("div",{staticClass:"virtual_office_item"},[s("div",{staticClass:"item"},[t._v("보증금")]),t._v(" "),"N"===t.dataset.virtual_office.virtual_office_dep?s("div",{staticClass:"item"},[t._v("없음")]):t._e(),t._v(" "),"Y"===t.dataset.virtual_office.virtual_office_dep?s("div",{staticClass:"item"},[t._v(t._s(t._f("toCurrency")(t.dataset.virtual_office.virtual_office_deposit_prc))+"원")]):t._e()])]),t._v(" "),s("div",[s("div",{staticClass:"virtual_office_noti",domProps:{innerHTML:t._s(""===t.dataset.virtual_office.virtual_office_noti?"자세한 문의는 꼭 전화로 문의해주세요.":t.dataset.virtual_office.virtual_office_noti.replace(/(?:\r\n|\r|\n)/g,"<br />"))}})])])]):t._e()])]),t._v(" "),t.isOpened?t._e():s("a",{staticClass:"btn_more",on:{click:function(e){t.isOpened=!t.isOpened}}},[t._v("가격 정책 자세히 보기"),s("i",{staticClass:"sp_icon ico_more_down"})]),t._v(" "),t.isOpened?s("a",{staticClass:"btn_more",on:{click:function(e){t.isOpened=!t.isOpened}}},[t._v("접기"),s("i",{staticClass:"sp_icon ico_more_up"})]):t._e()]),t._v(" "),s("ReserveNavigation",{attrs:{"is-chat-enable":t.dataset.is_chat_enable},on:{callToHost:t.callToHost,reserveSpace:t.reserveSpace,onChatBtnClick:function(e){return t.$emit("onChatBtnClick")}}}),t._v(" "),"FIXPY"===t.dataset.info.RSV_MTH_CD?s("div",{staticClass:"respond_area"},[s("div",{staticClass:"respond_infos"},[t._m(6),t._v(" "),t.dataset.host&&t.dataset.host.avg_rsps_ss?s("p",{staticClass:"respond_data"},[s("strong",[t._v("평균 대기 시간")]),t._v(" "),s("strong",{staticClass:"txt_primary"},[t._v(t._s(t.avgRspTime))])]):t._e()])]):t._e(),t._v(" "),"RVFIX"===t.dataset.info.RSV_MTH_CD?s("div",{staticClass:"respond_infos"},[t._m(7)]):t._e(),t._v(" "),"NOWPY"===t.dataset.info.RSV_MTH_CD?s("div",{staticClass:"respond_area"},[t._m(8)]):t._e(),t._v(" "),t.dataset.side_banner.length>0?s("div",{staticClass:"banner_area"},t._l(t.dataset.side_banner,(function(e,a){return s("div",{key:"side_banner_"+a},[s("a",{staticClass:"type_short",attrs:{href:e.link,target:"_blank"},on:{click:function(s){return t.sideBannerClickLog(e)}}},[s("img",{attrs:{src:e.image_url,alt:"배너"}})]),t._v(" "),s("div",{staticStyle:{width:"1px",height:"5px"}}),t._v(" "),s("a",{staticClass:"type_long",attrs:{href:e.link,target:"_blank"},on:{click:function(s){return t.sideBannerClickLog(e)}}},[s("img",{attrs:{src:e.image_url,alt:"배너"}})])])})),0):t._e()],1),t._v(" "),t.isMobile?t._e():s("CouponButton",{attrs:{dataset:t.dataset}})],1)}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"respond_infos_pc"},[s("p",{staticClass:"info_text_title"},[t._v("결제 후 바로 예약확정")]),t._v(" "),s("p",{staticClass:"info_text_describe"},[t._v("빠르고 확실한 예약을 위해 스페이스클라우드에서"),s("br"),t._v("온라인 결제를 진행하세요 :-)")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"info_npay"},[s("span",{staticClass:"sp_icon new_npay"},[t._v("네이버페이")]),t._v("만 가능")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"info_text_describe"},[t._v("확실한 예약을 위해 스페이스클라우드에서"),s("br"),t._v(" 온라인 결제를 진행하세요 :-)")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"info_npay"},[s("span",{staticClass:"sp_icon new_npay"},[t._v("네이버페이")]),t._v("만 가능")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"info_text_describe"},[t._v("외부결제 시 취소 및 환불 등 각종 문의는"),s("br"),t._v(" 공간 호스트님과 직접 처리하셔야 합니다.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"info_npay"},[s("span",{staticClass:"sp_icon new_npay"},[t._v("네이버페이")]),t._v("만 가능")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"p_respond"},[s("p",{staticClass:"info_text_title"},[t._v("호스트 승인 후 예약확정")]),t._v(" "),s("p",{staticClass:"info_text_describe"},[t._v("확실한 예약을 위해 스페이스클라우드에서"),s("br"),t._v(" 온라인 결제를 진행하세요 :-)")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"p_respond"},[s("p",{staticClass:"info_text_title"},[t._v("호스트가 별도로 결제방법 안내")]),t._v(" "),s("p",{staticClass:"info_text_describe"},[t._v("외부결제 시 취소 및 환불 등 각종 문의는"),s("br"),t._v(" 공간 호스트님과 직접 처리하셔야 합니다.")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"respond_infos"},[s("p",{staticClass:"p_respond"},[s("span",{staticClass:"info_text_title"},[t._v("결제 후 바로 예약확정")]),t._v(" "),s("span",{staticClass:"info_text_describe"},[t._v("빠르고 확실한 예약을 위해 스페이스클라우드에서"),s("br"),t._v("온라인 결제를 진행하세요 :-)")])])])}],!1,null,null,null).exports,z={props:["dataset"],data:function(){return{seatType:"",isOpened:!1}},computed:{seatTypeCodes:function(){return this.$store.state.commonCodes.filter((function(t){return"SEATP"===t.cate}))[0]},cnvenCodes:function(){return this.$store.state.commonCodes.filter((function(t){return"CONV"===t.cate}))[0]},activeCnvenList:function(){return this.dataset.products&&this.dataset.products.length>0?this.dataset.products[0].cnvens.filter((function(t){return!t.disabled})):[]},dateCodes:function(){return this.$store.state.commonCodes.filter((function(t){return"DATE"===t.cate}))[0]}},created:function(){this.setSeatType(),this.setCnvenCodes()},methods:{setSeatType:function(){var t=this;this.seatTypeCodes.values.forEach((function(e){e.key===t.dataset.SEAT_TP_CD&&(t.seatType=e.name)}))},setCnvenCodes:function(){var t=this;this.dataset.products&&this.dataset.products.length>0&&this.dataset.products[0].cnvens.forEach((function(e){var s=t.cnvenCodes.values.find((function(t){return e.CNVEN_FCTS_CD===t.key}));s&&(t.$set(e,"title",s.name),t.$set(e,"icon",s.ETC_ITM1),t.$set(e,"showHelp",!1),t.$set(e,"display",!1))})),this.closeCnvenList()},openCnvenList:function(){this.activeCnvenList.forEach((function(t){return t.display=!0})),this.isOpened=!0},closeCnvenList:function(){this.activeCnvenList.forEach((function(t,e){return t.display=e<4})),this.isOpened=!1}}},Q=(s(1089),Object(x.a)(z,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"workspace"},[s("div",{staticClass:"text_box",attrs:{id:"s_intro"}},[s("h4",{staticClass:"h_intro"},[t._v("공간 소개")]),t._v(" "),s("p",{staticClass:"p_intro",domProps:{innerHTML:t._s(t.dataset.info.desc)}})]),t._v(" "),s("div",{staticClass:"text_box info_addition",attrs:{id:"s_info"}},[s("h4",{staticClass:"h_intro"},[t._v("추가 정보")]),t._v(" "),s("ul",{staticClass:"info_list"},[t.seatType?s("li",{staticClass:"info_item"},[s("span",{staticClass:"tit"},[t._v("좌석유형")]),t._v(" "),s("span",{staticClass:"data"},[t._v(t._s(t.seatType))])]):t._e(),t._v(" "),t.dataset.space_size?s("li",{staticClass:"info_item"},[s("span",{staticClass:"tit"},[t._v("사이즈")]),t._v(" "),s("span",{staticClass:"data"},[t._v(t._s(t.dataset.space_size)+"㎥")])]):t._e(),t._v(" "),s("li",{staticClass:"info_item"},[s("span",{staticClass:"tit"},[t._v("재고")]),t._v(" "),t.dataset.seat_cnt?s("span",{staticClass:"data"},[t._v(t._s(t.dataset.seat_cnt)+"개")]):t._e()]),t._v(" "),t.dataset.products&&t.dataset.products.lenght>0?s("li",{staticClass:"info_item"},[s("span",{staticClass:"tit"},[t._v("수용인원")]),t._v(" "),s("span",{staticClass:"data"},[t._v(t._s(t.dataset.products[0].info.min_guest_policy)+"명 ~ "+t._s(t.dataset.products[0].info.max_guest_capacity)+"명")])]):t._e()])]),t._v(" "),s("div",{staticClass:"text_box info_time",attrs:{id:"s_caution"}},[s("h4",{staticClass:"h_intro"},[t._v("운영시간")]),t._v(" "),s("ul",{staticClass:"info_list"},t._l(t.dataset.operation_times,(function(e){return s("li",{staticClass:"info_item"},[s("span",{staticClass:"tit"},[t._v(t._s(t.dateCodes.values.filter((function(t){return t.key===e.DAYW_CD}))[0].ETC_ITM1))]),t._v(" "),"Y"!==e.break?s("span",{staticClass:"data"},[t._v(t._s(e.start_time)+" ~ "+t._s(e.end_time))]):t._e(),t._v(" "),"Y"===e.break?s("span",{staticClass:"data"},[t._v("휴무일")]):t._e()])})),0),t._v(" "),t.dataset.cautions.length>0?s("div",{staticClass:"info_notice"},[s("strong",{staticClass:"title"},[t._v("* 추가 안내")]),t._v(" "),s("ol",{staticClass:"info_list"},t._l(t.dataset.cautions,(function(e,a){return s("li",[s("strong",{staticClass:"tit"},[t._v(t._s(a+1))]),t._v(" "),s("span",{staticClass:"data"},[t._v(t._s(e.content))])])})),0)]):t._e()]),t._v(" "),s("div",{staticClass:"info_icon_area"},[t.dataset.location.floor?s("span",{staticClass:"icon_box"},[t._m(0),t._v(" "),s("p",{staticClass:"p_word floor"},[t._v(t._s(t.dataset.location.floor))])]):t._e(),t._v(" "),null!==t.dataset.info.parking_space?s("span",{staticClass:"icon_box"},[t._m(1),t._v(" "),0===t.dataset.info.parking_space?s("p",{staticClass:"p_word floor"},[t._v("주차불가")]):s("p",{staticClass:"p_word parking_space"},[t._v("주차 "+t._s(t.dataset.info.parking_space)+"대 가능")])]):t._e(),t._v(" "),null!==t.dataset.info.has_evevator?s("span",{staticClass:"icon_box"},[t._m(2),t._v(" "),!0===t.dataset.info.has_evevator?s("p",{staticClass:"p_word has_elevator"},[t._v("엘리베이터 있음")]):s("p",{staticClass:"p_word has_elevator"},[t._v("엘리베이터 없음")])]):t._e()]),t._v(" "),t.dataset.products&&t.dataset.products.length>0&&t.dataset.products[0].cnvens.length?s("div",{staticClass:"text_box info_facility",attrs:{id:"s_refund"}},[s("h4",{staticClass:"h_intro"},[t._v("편의시설")]),t._v(" "),s("ul",{staticClass:"info_list",class:{opened:t.isOpened}},t._l(t.dataset.products[0].cnvens,(function(e){return s("li",{staticClass:"info_item",class:{disabled:e.disabled||!e.display,charged:"Y"===e.pay}},[s("i",{staticClass:"sp_icon",class:e.icon}),t._v(" "),s("div",{staticClass:"flex_box"},[e.disabled||"Y"!==e.pay?t._e():s("div",{staticClass:"flex badge_charged"},[s("span",{staticClass:"badge"},[t._v("유료")])]),t._v(" "),s("div",{staticClass:"flex"},[s("span",{staticClass:"text"},[t._v(t._s(e.title))])]),t._v(" "),s("div",{staticClass:"flex"},[!e.disabled&&e.desc?s("span",{staticClass:"help",class:{on:e.showHelp}},[s("a",{staticClass:"sp_icon ico_help",on:{mouseover:function(t){e.showHelp=!0},mouseleave:function(t){e.showHelp=!1}}},[t._v("도움말")]),t._v(" "),s("span",{staticClass:"help_message"},[t._v(t._s(e.desc))])]):t._e()])])])})),0),t._v(" "),t.isOpened?t._e():s("a",{staticClass:"btn_more _btn_facility",on:{click:function(e){return t.openCnvenList()}}},[t._v("\n 더보기\n "),s("i",{staticClass:"sp_icon ico_more_down"}),t._v(" "),t.activeCnvenList.length-4>0?s("em",{staticClass:"number"},[t._v("+"+t._s(t.activeCnvenList.length-4))]):t._e()]),t._v(" "),t.isOpened?s("a",{staticClass:"btn_more _btn_facility",on:{click:function(e){return t.closeCnvenList()}}},[t._v("\n 접기\n "),s("i",{staticClass:"sp_icon ico_more_up"})]):t._e()]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"icon_area "},[e("div",{staticClass:"icon_floor"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"icon_area"},[e("div",{staticClass:"icon_parking_space"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"icon_area"},[e("div",{staticClass:"icon_has_elevator"})])}],!1,null,null,null).exports),W={props:["questions","page","type","spaceId","modalStatus","isPreview"],data:function(){return{userId:""}},mounted:function(){var t=JSON.parse(localStorage.getItem("user"));t&&(this.userId=t.id)},methods:{getData:function(t){this.$emit("getData",t)},getQuestions:function(t){this.$emit("getData",t),this.$scrollTo("#s_qna")},askQuestion:function(){this.$store.commit("FETCH_USER_INFO"),this.$store.state.authenticated?(this.$emit("update:type","new"),this.$emit("update:modalStatus",!0)):(localStorage.setItem("fromUrl",this.$route.path),this.$router.push("/auth/login"))},modifyQuestion:function(t){this.$emit("update:type","edit"),this.$emit("update:question",t),this.$emit("update:modalStatus",!0)},deleteQuestion:function(t){this.$emit("update:type","delete"),this.$emit("update:question",t),this.$emit("update:modalStatus",!0)}}},U=Object(x.a)(W,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"text_box msimple",attrs:{id:"s_qna"}},[a("h4",{staticClass:"h_intro"},[t._v("\n Q&A\n "),a("strong",{staticClass:"txt_primary"},[a("em",[t._v(t._s(t.page.total))]),t._v("개\n ")])]),t._v(" "),a("button",{staticClass:"btn_qna_write",class:{disabled:t.isPreview},attrs:{disabled:t.isPreview},on:{click:t.askQuestion}},[a("span",{staticClass:"sp_icon icon_write"}),t._v(" "),a("span",[t._v("질문 작성하기")])])]),t._v(" "),a("div",{staticClass:"review_box",class:{no_data:!t.questions.length}},[t.questions.length?a("ul",{staticClass:"review_list"},t._l(t.questions,(function(e,i){return a("li",{directives:[{name:"show",rawName:"v-show",value:"N"===e.deleted_by_admin,expression:"question.deleted_by_admin === 'N'"}],key:i,staticClass:"rlist",class:{del_review:"Y"===e.deleted||e.comments.filter((function(t){return"Y"===t.deleted})).length}},[a("div",{staticClass:"rbox_mine"},["N"!==e.deleted||e.writer.image_url?t._e():a("span",{staticClass:"pf_img",style:{backgroundImage:"url("+s(281)+")"}}),t._v(" "),"N"===e.deleted&&e.writer.image_url?a("span",{staticClass:"pf_img",style:{backgroundImage:"url("+e.writer.image_url+")"}}):t._e(),t._v(" "),e.writer?a("strong",{staticClass:"guest_name",class:{text_undefined:!e.writer.name||0===e.writer.name.trim().length}},[t._v("\n "+t._s(e.writer.name&&0!==e.writer.name.trim().length?e.writer.name:"게스트")+"\n ")]):t._e(),t._v(" "),"N"===e.deleted?a("p",{staticClass:"p_review"},[t._v("\n "+t._s(e.content)+"\n ")]):t._e(),t._v(" "),"Y"===e.deleted?a("p",{staticClass:"p_review"},[t._v("\n 게스트에 의해 삭제된 문의입니다.\n ")]):t._e(),t._v(" "),a("div",{staticClass:"rbox_info_base"},[e.created_at?a("span",{staticClass:"time_info"},[t._v("\n "+t._s(e.created_at.slice(0,10).replace(/-/gi,"."))+"\n "+t._s(e.created_at.slice(11,19))+"\n ")]):t._e(),t._v(" "),"Y"!==e.deleted&&t.userId&&e.writer&&e.writer.id===t.userId?a("span",{staticClass:"edt_area"},[t.isPreview?t._e():a("a",{staticClass:"edt",on:{click:function(s){return t.modifyQuestion(e)}}},[t._v("수정")]),t._v(" "),t.isPreview?t._e():a("a",{staticClass:"del",on:{click:function(s){return t.deleteQuestion(e)}}},[t._v("삭제")])]):t._e()])]),t._v(" "),t._l(e.comments.slice(0,1),(function(s,i){return a("div",{directives:[{name:"show",rawName:"v-show",value:e.comments.length,expression:"question.comments.length"}],key:i,staticClass:"rbox_reply"},[t._m(0,!0),t._v(" "),"N"===s.deleted?a("p",{staticClass:"p_review"},[t._v("\n "+t._s(t._f("entities")(s.content))+"\n ")]):t._e(),t._v(" "),"Y"===s.deleted?a("p",{staticClass:"p_review"},[t._v("\n 삭제된 답글입니다.\n ")]):t._e(),t._v(" "),a("div",{staticClass:"rbox_info_base"},[s.created_at?a("p",{staticClass:"time_info"},[t._v("\n "+t._s(s.created_at.slice(0,10).replace(/-/gi,"."))+"\n "+t._s(s.created_at.slice(11,19))+"\n ")]):t._e()])])}))],2)})),0):t._e(),t._v(" "),t.questions.length?a("div",{staticClass:"paging"},[a("a",{staticClass:"btn_prev_list_end",class:{active:t.page.current-5>0},on:{click:function(e){return t.getQuestions(t.page.current-5)}}},[a("i",{staticClass:"sp_icon ico_prev_list"},[t._v("이전목록 5개로 이동")])]),t._v(" "),a("a",{staticClass:"btn_prev_list",class:{active:t.page.current-1>0},on:{click:function(e){return t.getQuestions(t.page.current-1)}}},[a("i",{staticClass:"sp_icon ico_prev_list"},[t._v("이전페이지로 이동")])]),t._v(" "),t._l(5,(function(e,s){return a("a",{directives:[{name:"show",rawName:"v-show",value:e+5*parseInt((t.page.current-1)/5)<=t.page.pages,expression:"num + parseInt((page.current - 1) / 5) * 5 <= page.pages"}],key:s,staticClass:"num",class:{active:e+5*parseInt((t.page.current-1)/5)===t.page.current},on:{click:function(s){t.getQuestions(e+5*parseInt((t.page.current-1)/5))}}},[t._v(t._s(e+5*parseInt((t.page.current-1)/5)))])})),t._v(" "),a("a",{staticClass:"btn_next_list",class:{active:t.page.current+1<=t.page.pages},on:{click:function(e){return t.getQuestions(t.page.current+1)}}},[a("i",{staticClass:"sp_icon ico_next_list"},[t._v("다음 페이지로 이동")])]),t._v(" "),a("a",{staticClass:"btn_next_list_end",class:{active:t.page.current+5<=t.page.pages},on:{click:function(e){return t.getQuestions(t.page.current+5)}}},[a("i",{staticClass:"sp_icon ico_next_list"},[t._v("다음목록 5개로 이동")])])],2):t._e(),t._v(" "),t.questions.length?t._e():a("div",{staticClass:"center_wrap"},[t._m(1)])])])}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"p_tit_reply"},[s("em",[t._v("호스트")]),t._v("의 답글")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"center txt_result"},[s("p",{staticClass:"p_result"},[t._v("등록된 질문이 아직 없습니다.")])])}],!1,null,null,null).exports,F=s(941),G=s(819),J=s(942),K=s(943),X={props:["login-modal-status"],methods:{closeModal:function(){this.$emit("update:login-modal-status",!1)},moveToLogin:function(){localStorage.setItem("fromUrl",this.$route.path),this.$router.push("/auth/login")}}},Z=Object(x.a)(X,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"layer_popup call _popup2",on:{click:t.closeModal}},[s("div",{staticClass:"popup_wrap"},[s("div",{staticClass:"pop_container"},[t._m(0),t._v(" "),s("div",{staticClass:"btns"},[s("a",{staticClass:"btn btn_full btn_negative",on:{click:t.closeModal}},[t._v("닫기")]),t._v(" "),s("a",{staticClass:"btn btn_full btn_default",on:{click:t.moveToLogin}},[t._v("로그인")])])])])])}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"pop_guide_txt"},[t._v("\n\t\t\t\t\t공간의 연락처는 로그인 후"),s("br"),t._v("\n 확인하실 수 있습니다. :)\n\t\t\t\t")])}],!1,null,null,null).exports,tt=s(937),et=s(873),st=s(144),at={methods:{goToTop:function(){document.body.scrollTop=0,document.documentElement.scrollTo({top:0,behavior:"smooth"})}}},it=Object(x.a)(at,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("a",{staticClass:"btn_fixed_top bottom",on:{click:t.goToTop}},[s("span",{staticClass:"sp_icon ico_top"},[t._v("페이지 상단으로 이동")])])}),[],!1,null,null,null).exports,nt={components:{ChatModal:s(188).a},props:{isOpen:{type:Boolean,required:!0}},computed:{btnConfigs:function(){return[{title:"확인",isNegative:!0,onClick:this.handleOk}]}},methods:{handleOk:function(){this.$emit("onOk")}}},ot=Object(x.a)(nt,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("ChatModal",{attrs:{title:"원하는 세부공간을 선택해야 호스트와 채팅이 가능해요.","is-open":t.isOpen,"btn-configs":t.btnConfigs},on:{closeModal:t.handleOk}})}),[],!1,null,null,null).exports;function rt(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function ct(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?rt(Object(s),!0).forEach((function(e){Object(i.a)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):rt(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var lt={components:{AppInstallModal:s(116).a,ProductWarnModal:ot,CommonModal:D.a,ReserveNavigation:N,productMeet:Y,productWork:H,workingSpace:Q,qnaComponent:U,reviewsComponent:F.a,card:G.a,spaceMap:J.a,callModal:K.a,loginCheckModal:Z,questionModal:tt.a,shareModal:et.a,notification:st.a,photoViewer:g.a,CouponButton:T,GoToTop:it},mixins:[u.a],asyncData:function(){return Object(n.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{isPreview:null,detail:null,spaceType:"",qna:{page:{pages:0,current:0,total:0},questions:[]},isBlock:[]});case 1:case"end":return t.stop()}}),t)})))()},data:function(){var t=this;return{deviceWidth:"",isReadyImgSlider:!1,isLoading:!0,notiMsg:"",showNoti:!1,showShareModal:!1,shareModalPosition:{},showCallModal:!1,showLoginCheckModal:!1,showQuestionModal:!1,showPhotoViewer:!1,photoViewerIdx:0,detail:"",spaceType:"",swiperOption:{effect:"fade",slidesPerView:"auto",centeredSlides:!0,autoplay:{delay:5e3},navigation:{nextEl:".main__banner--next",prevEl:".main__banner--prev",disabledClass:"disabled"}},showBreakInfo:!1,wishlisted:!1,qna:"",qnaType:"new",currentQuestion:"",isPreview:"",selected:"",isOnScroll:!1,isBlock:!1,inactiveSpaceIdList:["580","57944","57204"],isInactiveSpaceId:!1,spaceId:"",isProductWarnModalOpen:!1,isAppInstallModalOpen:!1,isLoginModalOpen:!1,modalButtons:[{text:"로그인",class:"confirm",onClick:function(){t.sendGaEvent("detail-page(login)"),t.$router.push("/auth/login?source=detail-page")}},{text:"회원가입",class:"secondary",onClick:function(){t.sendGaEvent("detail-page(signup)"),t.$router.push("/auth/signup?source=detail-page")}}]}},head:function(){var t=this.detail;return{meta:[{property:"og:title",content:t?"".concat(t.info.name," - 스페이스클라우드"):"스페이스클라우드"},{property:"og:type",content:"article"},{property:"og:description",content:t?"".concat(t.tags.map((function(t){return"#".concat(t.tag)})).join(" ")," - ").concat(t.info.sub_title):"스페이스클라우드"},{property:"og:image",content:t?t.info.image_url:""},{property:"og:image:width",content:"600"},{property:"og:image:height",content:"315"},{property:"og:url",content:"https://www.spacecloud.kr/".concat(this.$route.path)},{property:"og:article:author",content:"스페이스클라우드(SpaceCloud)"}]}},watch:{showShareModal:function(t){document.body.style.overflow=t?"hidden":""}},computed:ct(ct({},Object(o.c)({isMobile:function(t){return t.isMobile},userInfo:function(t){return t.user},selectedProductInfo:function(t){return t.selectedProductInfo}})),{},{tabItems:function(){if("MEET"===this.spaceType){var t=[];return t.push({key:"s_intro",name:"공간소개"}),t.push({key:"s_info",name:"시설안내"}),t.push({key:"s_caution",name:"유의사항"}),"NOWPY"!==this.detail.info.RSV_MTH_CD&&"FIXPY"!==this.detail.info.RSV_MTH_CD||t.push({key:"s_refund",name:"환불정책"}),t.push({key:"s_qna",name:"Q&A"}),t.push({key:"s_review",name:"이용후기"}),t}var e=[];return e.push({key:"s_intro",name:"공간소개"}),e.push({key:"s_info",name:"추가정보"}),e.push({key:"s_caution",name:"운영시간"}),e.push({key:"s_refund",name:"편의시설"}),e.push({key:"s_qna",name:"Q&A"}),e.push({key:"s_review",name:"이용후기"}),e},breakeCodes:function(){return this.$store.state.commonCodes.filter((function(t){return"HOLTP"===t.cate}))[0]},dateCodes:function(){return this.$store.state.commonCodes.filter((function(t){return"DATE"===t.cate}))[0]},refundCodes:function(){return this.$store.state.commonCodes.filter((function(t){return"RTPLY"===t.cate}))[0]},navbarPosition:function(){return document.querySelector(".nav_wrapper").getBoundingClientRect().top+window.pageYOffset}}),created:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$store.commit("SET_PAGEINFO",{isMainPage:!1});case 1:case"end":return e.stop()}}),e)})))()},mounted:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var s,a,i,n,o,r,c,l,d,_,v;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return window.addEventListener("beforeunload",(function(){return localStorage.removeItem("memorizedSelected")})),t.checkInactiveSpace(t.$route.params.spaceId),e.next=4,t.$store.dispatch("getUserInfo");case 4:return e.next=6,t.$store.dispatch("getCommonCodes");case 6:if(t.$route.params.spaceId){e.next=9;break}return history&&history.back(),e.abrupt("return");case 9:return t.isLoading=!0,(s=JSON.parse(localStorage.getItem("sc_click_log")))&&localStorage.removeItem("sc_click_log"),a=JSON.parse(localStorage.getItem("user")),i=a&&a.id,t.isWebViewEnv&&(i&&t.$store.dispatch(p.FLUTTER_LOGIN),n=Object(u.b)(),o=Object(u.c)(l),n?t.connectToChatRoom():o&&Object(u.h)({spaceId:t.$route.params.spaceId})),r=s&&s.keyword_id||"",e.next=18,t.fetchDetail({userId:i,keywordId:r});case 18:return t.isBlockCheck(),c=localStorage.getItem("anonymous_id"),l=t.$route.params.spaceId,t.spaceId=l,d=s&&s.log_type||"",_=document.referrer,"MEET"===t.spaceType&&t.setBreakInfoCodes(),v={anonymous_id:c,referrer:_,space_id:l,keyword_id:r,user_id:i},d&&(v.log_type=d),t.$axios.post("action_log/record_show_log",v),t.isLoading=!1,t.autoSelect(),e.prev=30,t.isReadyImgSlider=!0,document.addEventListener("scroll",t.onScroll),t.deviceWidth=window.innerWidth,e.next=36,t.getZzimInfo();case 36:e.next=42;break;case 38:e.prev=38,e.t0=e.catch(30),Object(u.f)();case 42:case"end":return e.stop()}}),e,null,[[30,38]])})))()},beforeDestroy:function(){window.removeEventListener("beforeunload",(function(){return localStorage.removeItem("memorizedSelected")}))},destroyed:function(){this.$store.commit(v.SET_SELECTED_PRODUCT_INFO,{spaceId:this.spaceId}),document.removeEventListener("scroll",this.onScroll),Object(u.f)()},deactivated:function(){document.removeEventListener("scroll",this.onScroll),this.$store.commit(v.SET_SELECTED_PRODUCT_INFO,{spaceId:this.spaceId}),Object(u.f)()},methods:{sendGaEvent:function(t){window.gtag("event","".concat(t))},tab:function(t){var e=this;this.isOnScroll=!0,this.$scrollTo("#".concat(t),400,{onDone:function(){return e.isOnScroll=!1}}),this.removeScrollEvent(),this.selected=t},isBlockCheck:function(){if(!0===this.isBlock)return this.$router.push("/block")},activeShareModal:function(){var t=this.$refs.shareBtn.getBoundingClientRect();this.isMobile?this.shareModalPosition={top:"50%",left:"50%",transform:"translate(-50%, -50%)"}:this.shareModalPosition={top:"".concat(t.top,"px"),left:"".concat(t.right-360,"px")},this.showShareModal=!this.showShareModal},activeNoti:function(t){var e=this;this.notiMsg=t,this.showNoti=!0,setTimeout((function(){e.showNoti=!1}),1500)},closeModal:function(){this.showCallModal=!1,this.showLoginCheckModal=!1,this.showQuestionModal=!1,this.isLoginModalOpen=!1},setBreakInfoCodes:function(){var t=this;this.detail.break_days.forEach((function(e){e.breakeCodes=t.breakeCodes.values.find((function(t){return t.key===e.BRK_DAY_TP_CD})),e.breakeDay=t.dateCodes.values.find((function(t){return t.key===e.DAYW_CD}))})),this.showBreakInfo=!0},onScroll:function(){var t=window.scrollY,e=document.querySelector(".header"),s=document.querySelector(".nav_wrapper"),a=this.navbarPosition-e.offsetHeight,i=window.scrollY+window.innerHeight;this.autoSelect(),i<a&&(this.selected=""),t>a?s.classList.contains("fixed")||s.classList.add("fixed"):s.classList.contains("fixed")&&s.classList.remove("fixed")},autoSelect:function(){if(!this.isOnScroll){var t=window.scrollY,e=document.querySelectorAll(".text_box"),s=Array.from(e).reverse().find((function(e){return e.id&&e.offsetTop-100+e.childNodes[0].offsetHeight<=t}));s&&(this.selected=s.id)}},callToHost:function(){JSON.parse(localStorage.getItem("user"))?document.querySelector(".pc")?(this.showCallModal=!0,fbq("trackCustom","Call")):window.location.href="tel://".concat(this.detail.corp.phone):this.showLoginCheckModal=!0},getZzimInfo:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var s,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!(s=JSON.parse(localStorage.getItem("user")))){e.next=7;break}return e.next=5,t.$axios({method:"get",headers:{Authorization:s.token},url:"/spaces/".concat(t.$route.params.spaceId,"/user_wishlisted")});case 5:a=e.sent,t.wishlisted=a.data.wishlisted;case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))()},addZzimSpace:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t.wishlisted=!t.wishlisted,!(s=JSON.parse(localStorage.getItem("user")))){e.next=9;break}return e.next=6,t.$axios({method:"put",headers:{Authorization:s.token},url:"/spaces/".concat(t.$route.params.spaceId,"/zzim"),params:{zzim:t.wishlisted}});case 6:fbq("trackCustom","Zzim"),e.next=10;break;case 9:t.$router.push("/auth/login");case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0);case 15:case"end":return e.stop()}}),e,null,[[0,12]])})))()},reserveSpace:function(){"MEET"===this.spaceType?this.$refs.productMeet.reserveSpace():this.$refs.productWork.reserveSpace()},handleProductSelect:function(t){var e={spaceId:this.$route.params.spaceId,productId:t.info.id,hostId:this.detail.host.id};this.$store.commit(v.SET_SELECTED_PRODUCT_INFO,e),Object(u.h)({spaceId:this.$route.params.spaceId})},getQuestions:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function s(){var a;return regeneratorRuntime.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(s.prev=0,!(t>0&&(!e.qna.page.pages||t<=e.qna.page.pages))){s.next=11;break}return s.next=4,e.$axios.get("/questions",{params:{page:t,space_id:e.detail.info.id}});case 4:a=s.sent,e.qna.questions=a.data.questions,e.qna.page.pages=a.data.page.pages,e.qna.page.current=a.data.page.page,e.$forceUpdate(),s.next=12;break;case 11:return s.abrupt("return");case 12:s.next=17;break;case 14:s.prev=14,s.t0=s.catch(0);case 17:case"end":return s.stop()}}),s,null,[[0,14]])})))()},removeScrollEvent:function(){document.addEventListener("scroll",this.onScroll)},removeEmoji:function(t){return t.replace(/(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\u0023-\u0039]\ufe0f?\u20e3|\u3299|\u3297|\u303d|\u3030|\u24c2|\ud83c[\udd70-\udd71]|\ud83c[\udd7e-\udd7f]|\ud83c\udd8e|\ud83c[\udd91-\udd9a]|\ud83c[\udde6-\uddff]|\ud83c[\ude01-\ude02]|\ud83c\ude1a|\ud83c\ude2f|\ud83c[\ude32-\ude3a]|\ud83c[\ude50-\ude51]|\u203c|\u2049|[\u25aa-\u25ab]|\u25b6|\u25c0|[\u25fb-\u25fe]|\u00a9|\u00ae|\u2122|\u2139|\ud83c\udc04|[\u2600-\u26FF]|\u2b05|\u2b06|\u2b07|\u2b1b|\u2b1c|\u2b50|\u2b55|\u231a|\u231b|\u2328|\u23cf|[\u23e9-\u23f3]|[\u23f8-\u23fa]|\ud83c\udccf|\u2934|\u2935|[\u2190-\u21ff])/g,"")},fetchDetail:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function s(){var a,i,n,o,r;return regeneratorRuntime.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(a=t.keywordId,i=t.userId,s.prev=1,n=e.$route.query.preview,o=void 0,n){s.next=28;break}if(!a){s.next=17;break}if(!i){s.next=12;break}return s.next=9,e.$axios.get("/spaces/".concat(e.$route.params.spaceId,"?keyword_id=").concat(a,"&gst_mbr_id=").concat(i));case 9:o=s.sent,s.next=15;break;case 12:return s.next=14,e.$axios.get("/spaces/".concat(e.$route.params.spaceId,"?keyword_id=").concat(a));case 14:o=s.sent;case 15:s.next=26;break;case 17:if(!i){s.next=23;break}return s.next=20,e.$axios.get("/spaces/".concat(e.$route.params.spaceId,"?gst_mbr_id=").concat(i));case 20:o=s.sent,s.next=26;break;case 23:return s.next=25,e.$axios.get("/spaces/".concat(e.$route.params.spaceId));case 25:o=s.sent;case 26:s.next=37;break;case 28:if(!i){s.next=34;break}return s.next=31,e.$axios.get("/spaces/".concat(e.$route.params.spaceId,"?preview=").concat(n,"&gst_mbr_id=").concat(i));case 31:o=s.sent,s.next=37;break;case 34:return s.next=36,e.$axios.get("/spaces/".concat(e.$route.params.spaceId,"preview?=").concat(n));case 36:o=s.sent;case 37:return o.data.info.desc=o.data.info.desc.split("\n").join("<br/>"),s.next=40,e.$axios.get("/side_banners?space_id=".concat(e.$route.params.spaceId));case 40:(r=s.sent).data.side_banners=c()(r.data.side_banners),o.data.side_banner=[],r.data.side_banners.map((function(t){"Y"===t.USE_YN&&_(new Date,{start:new Date(t.STRT_YMDT),end:new Date(t.END_YMDT)})&&0===o.data.side_banner.length&&o.data.side_banner.push({image_url:t.LNG_IMG_URL.includes("http")?t.LNG_IMG_URL:"https://kr.object.ncloudstorage.com/scloud-service/pstatic-scloud".concat(t.LNG_IMG_URL),link:t.BNR_URL,id:t.BNR_SEQ,title:t.PRD_NM})})),o.data.images=[{image_url:o.data.info.image_url}].concat(o.data.images),e.isPreview=!!n,e.detail=o.data,e.spaceType=o.data.info.SPC_TP_CD,e.qna={page:{pages:o.data.questions.page.pages,current:o.data.questions.page.page,total:o.data.questions.page.total},questions:o.data.questions.questions},e.isBlock=o.data.is_black_list_user,s.next=55;break;case 51:return s.prev=51,s.t0=s.catch(1),s.abrupt("return",e.$nuxt.error({statusCode:404}));case 55:case"end":return s.stop()}}),s,null,[[1,51]])})))()},toggleAppInstallModalOpen:function(){this.isAppInstallModalOpen=!this.isAppInstallModalOpen},toggleProductWarnModal:function(){this.isProductWarnModalOpen=!this.isProductWarnModalOpen},openLoginModal:function(){this.isLoginModalOpen=!0,localStorage.setItem("fromUrl","/space/".concat(this.spaceId,"?source=detail-page"))},closeLoginModal:function(){this.isLoginModalOpen=!1},handleAppInstallOk:function(){this.toggleAppInstallModalOpen(),this.redirectToBridgeScreen(this.isMobile)},handleChatBtnClick:function(){var t=this.$route.params.spaceId;this.isWebViewEnv?t&&this.selectedProductInfo[t]?this.checkLogin(h.a.chatRoom)?this.connectToChatRoom():Object(u.h)({product:this.selectedProductInfo}):this.toggleProductWarnModal():this.toggleAppInstallModalOpen()},connectToChatRoom:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var s,a,i,n,o,r,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=Object(m.a)("user"),a=t.$route.params.spaceId){e.next=5;break}return Object(u.f)(),e.abrupt("return");case 5:if(i=t.selectedProductInfo[a]||Object(u.c)()[a]){e.next=9;break}return Object(u.f)(),e.abrupt("return");case 9:return t.$store.commit(v.TOGGLE_SCREEN_LOADING),n=i.productId,o=i.hostId,r={guest_id:s.id,host_id:o,product_id:n},e.prev=12,e.next=15,t.fetchPrepareGuestProductChat(r);case 15:c=e.sent,location.href="".concat(h.a.chatRoom).concat(c),e.next=26;break;case 19:if(e.prev=19,e.t0=e.catch(12),401!==e.t0.status){e.next=26;break}return e.next=24,t.$store.dispatch("refreshToken");case 24:return e.next=26,t.connectToChatRoom();case 26:return e.prev=26,t.$store.commit(v.TOGGLE_SCREEN_LOADING),Object(u.f)(),e.finish(26);case 30:case"end":return e.stop()}}),e,null,[[12,19,26,30]])})))()},fetchPrepareGuestProductChat:function(){var t=arguments,e=this;return Object(n.a)(regeneratorRuntime.mark((function s(){var i,n,o,r,c,l,d,_,u,p;return regeneratorRuntime.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return i=t.length>0&&void 0!==t[0]?t[0]:{guest_id:"",host_id:"",product_id:""},s.prev=1,n=Object.entries(i).reduce((function(t,e){var s=Object(a.a)(e,2),i=s[0],n=s[1],o=null===n?"":n;return t[i]="number"==typeof o?o.toString():o,t}),{}),"/chat/prepare_guest_product_chat",o=Object(m.a)("user"),s.next=7,e.$axios({url:"/chat/prepare_guest_product_chat",method:"post",data:n,headers:{Authorization:o.token,Accept:"*/*"}});case 7:return r=s.sent,c=r.data.channel_id,s.abrupt("return",c);case 12:throw s.prev=12,s.t0=s.catch(1),l=s.t0.isAxiosError,d=s.t0.response,_={message:"다시 시도해주세요",originalError:s.t0,status:400},l&&d&&d.data&&(u=d.data.message,p=d.status,_.status=p,u&&500!==p&&(_.message=u),401===p&&(_.message="채팅 기능은 로그인 후 사용할 수 있어요.")),e.$store.commit(v.SET_TOAST,s.t0.message),_;case 19:case"end":return s.stop()}}),s,null,[[1,12]])})))()},checkInactiveSpace:function(t){this.isInactiveSpaceId=this.inactiveSpaceIdList.includes(t)}}},dt=lt,_t=(s(1091),Object(x.a)(dt,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.isLoading?t._e():s("div",{staticClass:"wrap main detail",class:{meetspace:"MEET"===t.spaceType,workspace:"WORK"===t.spaceType}},[s("div",{attrs:{id:"content_wraper",role:"main"}},[t.isMobile?s("div",{staticClass:"section_cover"},[t.detail.info.image_url?s("div",{staticClass:"spot_wrap"},[s("span",{staticClass:"spot_img",style:{backgroundImage:"url("+t.detail.info.image_url+")"},attrs:{"data-stellar-background-ratio":"0.5"},on:{click:function(e){t.showPhotoViewer=!0}}})]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"section_cont"},[s("div",{staticClass:"inner_width"},[s("a",{staticClass:"btn_share_detail naver-splugin",class:{meet:t.spaceType&&"MEET"===t.spaceType,work:t.spaceType&&"WORK"===t.spaceType},on:{click:t.activeShareModal}},[s("span",{staticClass:"naver-splugin-c"})]),t._v(" "),t.showShareModal?s("share-modal",{attrs:{position:t.shareModalPosition,"modal-status":t.showShareModal,dataset:{name:t.detail.info.name,image:t.detail.info.image_url,id:t.detail.info.id}},on:{"update:modalStatus":function(e){t.showShareModal=e},"update:modal-status":function(e){t.showShareModal=e}}}):t._e(),t._v(" "),s("a",{staticClass:"btn_love_detail",class:{meet:t.spaceType&&"MEET"===t.spaceType,work:t.spaceType&&"WORK"===t.spaceType},on:{click:t.addZzimSpace}},[s("i",{staticClass:"sp_icon ico_love_detail_new",class:{active:t.wishlisted}},[t._v("좋아요")])]),t._v(" "),s("a",{staticClass:"btn_notify_detail",class:{meet:t.spaceType&&"MEET"===t.spaceType,work:t.spaceType&&"WORK"===t.spaceType},attrs:{href:"https://forms.gle/Tu6miuMz4YykC9QeA",target:"_blank"}}),t._v(" "),s("div",{ref:"shareBtn",staticClass:"h_area",staticStyle:{overflow:"hidden"}},[s("div",{staticClass:"h_space"},[t.detail.location.location_info?s("span",{staticClass:"distance_option"},[t._v(t._s(t.removeEmoji(t.detail.location.location_info)))]):t._e(),t._v(" "),s("h2",{staticClass:"space_name",domProps:{innerHTML:t._s(t.detail.info.name)}})]),t._v(" "),s("p",{staticClass:"sub_desc"},[t._v(t._s(t.detail.info.sub_title))]),t._v(" "),s("div",{staticClass:"tags"},t._l(t.detail.tags,(function(e){return s("span",{key:"__space_tag_"+e.tag,staticClass:"tag"},[t._v("\n #"+t._s(e.tag)+"\n ")])})),0)]),t._v(" "),t.isMobile?s("CouponButton",{attrs:{dataset:t.detail}}):t._e(),t._v(" "),s("div",{staticClass:"detail_forms"},[s("div",{staticClass:"box_form right_fixed detail_space",staticStyle:{transition:"transform 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) 0.5s"}},[t.spaceType&&"MEET"===t.spaceType?s("product-meet",{ref:"productMeet",attrs:{"is-preview":t.isPreview,dataset:t.detail,"noti-status":t.showNoti,"noti-msg":t.notiMsg,"modal-status":t.showCallModal,"login-modal-status":t.showLoginCheckModal,isLoginModalOpen:t.isLoginModalOpen},on:{"update:notiStatus":function(e){t.showNoti=e},"update:noti-status":function(e){t.showNoti=e},"update:notiMsg":function(e){t.notiMsg=e},"update:noti-msg":function(e){t.notiMsg=e},"update:modalStatus":function(e){t.showCallModal=e},"update:modal-status":function(e){t.showCallModal=e},"update:loginModalStatus":function(e){t.showLoginCheckModal=e},"update:login-modal-status":function(e){t.showLoginCheckModal=e},onProductSelect:t.handleProductSelect,onChatBtnClick:t.handleChatBtnClick,"open-login-modal":t.openLoginModal}}):t._e(),t._v(" "),t.spaceType&&"WORK"===t.spaceType?s("product-work",{ref:"productWork",attrs:{"is-preview":t.isPreview,dataset:t.detail,"modal-status":t.showCallModal,"login-modal-status":t.showLoginCheckModal},on:{"update:modalStatus":function(e){t.showCallModal=e},"update:modal-status":function(e){t.showCallModal=e},"update:loginModalStatus":function(e){t.showLoginCheckModal=e},"update:login-modal-status":function(e){t.showLoginCheckModal=e},onProductSelect:t.handleProductSelect,onChatBtnClick:t.handleChatBtnClick,"open-login-modal":t.openLoginModal}}):t._e()],1),t._v(" "),s("div",{staticClass:"photo_box_wrap type9"},[t.detail.images.length?s("div",{staticClass:"detail_box v slide_wrap"},[t.isReadyImgSlider?s("div",{directives:[{name:"swiper",rawName:"v-swiper:mySwiper",value:t.swiperOption,expression:"swiperOption",arg:"mySwiper"}]},[s("ul",{staticClass:"swiper-wrapper slides"},t._l(t.detail.images,(function(e,a){return s("li",{key:"__dImg_"+a,staticClass:"swiper-slide slide"},[s("div",{staticClass:"photo img",style:{backgroundImage:"url("+e.image_url+")"},on:{click:function(e){t.showPhotoViewer=!0,t.photoViewerIdx=a}}})])})),0)]):t._e(),t._v(" "),t._m(0)]):t._e(),t._v(" "),s("div",{staticClass:"text_box"},[s("h3",{staticClass:"h_copy"},[t._v(t._s(t.detail.info.sub_title))])]),t._v(" "),s("div",{staticClass:"nav_wrapper"},[s("ul",{staticClass:"nav_area"},t._l(t.tabItems,(function(e,a){return s("li",{key:e.key,class:{selected:t.selected===e.key,end:t.tabItems.length-1===a}},[s("a",{on:{click:function(s){return t.tab(e.key)}}},[t._v(t._s(e.name))])])})),0)]),t._v(" "),"MEET"===t.spaceType?s("div",{staticClass:"meetspace"},[s("div",{staticClass:"text_box",attrs:{id:"s_intro"}},[s("h4",{staticClass:"h_intro"},[t._v("공간 소개")]),t._v(" "),s("p",{staticClass:"p_intro",domProps:{innerHTML:t._s(t.detail.info.desc)}}),t._v(" "),"MEET"===t.spaceType?s("ul",{staticClass:"info_list officehours"},[s("li",[s("span",{staticClass:"tit"},[t._v("영업시간")]),t._v(" "),s("span",{staticClass:"data"},[t._v("\n "+t._s(t.detail.break_times[0].end_time)+"~"+t._s(t.detail.break_times[0].start_time)+"시\n ")])]),t._v(" "),s("li",[s("span",{staticClass:"tit"},[t._v("휴무일")]),t._v(" "),s("span",{directives:[{name:"show",rawName:"v-show",value:t.showBreakInfo&&!t.detail.break_days.length,expression:"showBreakInfo && !detail.break_days.length"}],staticClass:"data"},[t._v("없음")]),t._v(" "),t._l(t.detail.break_days,(function(e,a){return s("span",{directives:[{name:"show",rawName:"v-show",value:t.showBreakInfo,expression:"showBreakInfo"}],key:a,staticClass:"data"},[e.breakeDay?s("span",[t._v("\n "+t._s(e.breakeCodes.name)+t._s(e.breakeDay.name)+"\n ")]):s("span",[t._v(t._s(e.breakeCodes.name))]),t._v(" "),a!==t.detail.break_days.length-1?s("span",[t._v(",")]):t._e()])}))],2)]):t._e(),t._v(" "),s("div",{staticClass:"info_icon_area"},[t.detail.location.floor?s("div",{staticClass:"icon_box"},[t._m(1),t._v(" "),s("p",{staticClass:"p_word floor"},[t._v(t._s(t.detail.location.floor))])]):t._e(),t._v(" "),null!==t.detail.info.parking_space?s("div",{staticClass:"icon_box"},[t._m(2),t._v(" "),0===t.detail.info.parking_space?s("p",{staticClass:"p_word floor"},[t._v("주차불가")]):s("p",{staticClass:"p_word parking_space"},[t._v("주차 "+t._s(t.detail.info.parking_space)+"대 가능")])]):t._e(),t._v(" "),null!==t.detail.info.has_evevator?s("div",{staticClass:"icon_box"},[t._m(3),t._v(" "),!0===t.detail.info.has_evevator?s("p",{staticClass:"p_word has_elevator"},[t._v("엘리베이터 있음")]):s("p",{staticClass:"p_word has_elevator"},[t._v("엘리베이터 없음")])]):t._e()])]),t._v(" "),s("div",{staticClass:"text_box",attrs:{id:"s_info"}},[s("h4",{staticClass:"h_intro"},[t._v("시설 안내")]),t._v(" "),s("ol",{staticClass:"info_list"},t._l(t.detail.fcst_guides,(function(e,a){return s("li",{key:a},[s("strong",{staticClass:"tit"},[t._v(t._s(a+1))]),t._v(" "),s("span",{staticClass:"data",domProps:{innerHTML:t._s(e.content)}})])})),0)]),t._v(" "),s("div",{staticClass:"text_box",attrs:{id:"s_caution"}},[s("h4",{staticClass:"h_intro"},[t._v("예약시 주의사항")]),t._v(" "),s("ol",{staticClass:"info_list"},t._l(t.detail.cautions,(function(e,a){return s("li",{key:a},[s("strong",{staticClass:"tit"},[t._v(t._s(a+1))]),t._v(" "),s("span",{staticClass:"data",domProps:{innerHTML:t._s(e.content)}})])})),0)]),t._v(" "),"NOWPY"===t.detail.info.RSV_MTH_CD||"FIXPY"===t.detail.info.RSV_MTH_CD?s("div",{staticClass:"text_box refund",attrs:{id:"s_refund"}},[s("h4",{staticClass:"h_intro"},[t._v("환불규정 안내")]),t._v(" "),t._m(4),t._v(" "),s("ol",{staticClass:"info_list"},t._l(t.detail.refund_policies,(function(e,a){return s("li",{key:a},[t.refundCodes?s("strong",{staticClass:"tit",staticStyle:{color:"#656565","font-weight":"400"}},[t._v("\n "+t._s(t.refundCodes.values.filter((function(t){return t.key===e.unit}))[0].name)+"\n ")]):t._e(),t._v(" "),Number(e.rate)?s("span",{staticClass:"data",staticStyle:{color:"#000"}},[t._v("총 금액의 "+t._s(Number(e.rate))+"% 환불")]):t._e(),t._v(" "),Number(e.rate)?t._e():s("span",{staticClass:"data",staticStyle:{color:"#000"}},[t._v("환불 불가")])])})),0)]):t._e()]):t._e(),t._v(" "),"WORK"===t.spaceType?s("working-space",{attrs:{dataset:t.detail,selected:t.selected}}):t._e(),t._v(" "),s("space-map",{attrs:{"call-modal-status":t.showCallModal,"login-modal-status":t.showLoginCheckModal,dataset:{name:t.detail.info.name,location:t.detail.location,website:t.detail.corp.home_page_url,address:t.detail.location.addr+" "+t.detail.location.addr_detail,hp_no:t.detail.corp.phone,id:t.detail.info.id}},on:{"update:callModalStatus":function(e){t.showCallModal=e},"update:call-modal-status":function(e){t.showCallModal=e},"update:loginModalStatus":function(e){t.showLoginCheckModal=e},"update:login-modal-status":function(e){t.showLoginCheckModal=e}}}),t._v(" "),s("qna-component",{attrs:{isPreview:t.isPreview,questions:t.qna.questions,page:t.qna.page,type:t.qnaType,question:t.currentQuestion,"modal-status":t.showQuestionModal},on:{"update:type":function(e){t.qnaType=e},"update:question":function(e){t.currentQuestion=e},"update:modalStatus":function(e){t.showQuestionModal=e},"update:modal-status":function(e){t.showQuestionModal=e},getData:t.getQuestions}}),t._v(" "),s("reviews-component",{attrs:{dataset:t.detail.reviews,"space-id":t.detail.info.id}})],1),t._v(" "),t.detail.host?s("div",{staticClass:"host_profile"},[s("div",{staticClass:"inner"},[s("div",{staticClass:"host_area"},[s("div",{staticClass:"pf_left",style:{backgroundImage:"url("+t.detail.host.image_url+")"}}),t._v(" "),s("div",{staticClass:"pf_right"},[s("strong",{staticClass:"pf_host"},[t._v("HOST")]),t._v(" "),s("span",{staticClass:"pf_name"},[t._v("호스트")]),t._v(" "),s("p",{staticClass:"pf_txt"},[t._v(t._s(t.detail.host.intr))])])]),t._v(" "),s("nuxt-link",{staticClass:"btn btn_rounded btn_link",attrs:{to:"/host/"+t.detail.host.id}},[s("span",{staticClass:"btn_inner"},[t._v("호스트 페이지로 이동")])])],1)]):t._e()]),t._v(" "),t.detail.host?s("div",{staticClass:"others_wrap"},[t._m(5),t._v(" "),s("div",{staticClass:"space_list swiper_list",class:{no_data:!t.detail.host.spaces.length}},[t.detail.host.spaces.length?s("div",{staticClass:"flex_wrap column3 fluid"},[t.isMobile?[s("div",{directives:[{name:"swiper",rawName:"v-swiper:host_spaces",value:{slidesPerView:"auto",centeredSlides:!0},expression:"{ slidesPerView: 'auto', centeredSlides: true }",arg:"host_spaces"}],staticClass:"swiper"},[s("div",{staticClass:"swiper-wrapper"},t._l(t.detail.host.spaces,(function(t){return s("div",{key:t.space_id,staticClass:"swiper-slide",staticStyle:{width:"95%"}},[s("card",{attrs:{space:t,"log-type":"other_space"}})],1)})),0)])]:t._l(t.detail.host.spaces,(function(t){return s("card",{key:t.space_id,attrs:{space:t,"log-type":"other_space"}})}))],2):s("div",{staticClass:"center_wrap"},[t._m(6)])])]):t._e(),t._v(" "),t.detail.similar_spaces.length?s("div",{staticClass:"others_wrap"},[t._m(7),t._v(" "),s("div",{staticClass:"space_list swiper_list",class:{no_data:!t.detail.similar_spaces.length}},[t.detail.similar_spaces.length?s("div",{staticClass:"flex_wrap column3 fluid"},[t.isMobile?[s("div",{directives:[{name:"swiper",rawName:"v-swiper:similar_spaces",value:{slidesPerView:"auto",centeredSlides:!0},expression:"{ slidesPerView: 'auto', centeredSlides: true }",arg:"similar_spaces"}],staticClass:"swiper"},[s("div",{staticClass:"swiper-wrapper"},t._l(t.detail.similar_spaces,(function(t){return s("div",{key:t.space_id,staticClass:"swiper-slide",staticStyle:{width:"95%"}},[s("card",{attrs:{space:t,"log-type":"similar_space"}})],1)})),0)])]:t._l(t.detail.similar_spaces,(function(t){return s("card",{key:t.space_id,attrs:{space:t,"log-type":"similar_space"}})}))],2):s("div",{staticClass:"center_wrap"},[t._m(8)])])]):t._e()],1)])]),t._v(" "),t.isInactiveSpaceId?s("div",{staticClass:"btn_order_area"},[s("a",{staticClass:"btn btn_disable"},[t._v("전화")]),t._v(" "),s("a",{staticClass:"btn btn_disable"},[t._v("예약신청하기")])]):t._e(),t._v(" "),t.isInactiveSpaceId?t._e():s("ReserveNavigation",{attrs:{"is-chat-enable":t.detail.is_chat_enable},on:{callToHost:t.callToHost,onChatBtnClick:t.handleChatBtnClick,reserveSpace:t.reserveSpace},scopedSlots:t._u([{key:"reserve",fn:function(){return[t._v("\n "+t._s("NOWPY"===t.detail.info.RSV_MTH_CD?"바로 예약하기":"예약신청하기")+"\n ")]},proxy:!0}],null,!1,3761256172)}),t._v(" "),s("AppInstallModal",{attrs:{"is-open":t.isAppInstallModalOpen},on:{onOk:t.handleAppInstallOk,onCancel:t.toggleAppInstallModalOpen}}),t._v(" "),s("ProductWarnModal",{attrs:{"is-open":t.isProductWarnModalOpen},on:{onOk:t.toggleProductWarnModal,onCancel:t.toggleProductWarnModal}}),t._v(" "),s("go-to-top"),t._v(" "),t.showQuestionModal?s("question-modal",{attrs:{type:t.qnaType,"space-id":t.detail.info.id,question:t.currentQuestion,"current-page":t.qna.page.current,"modal-status":t.showQuestionModal},on:{"update:modalStatus":function(e){t.showQuestionModal=e},"update:modal-status":function(e){t.showQuestionModal=e},getData:t.getQuestions,activeNoti:t.activeNoti}}):t._e(),t._v(" "),t.showLoginCheckModal?s("login-check-modal",{attrs:{"login-modal-status":t.showLoginCheckModal},on:{"update:loginModalStatus":function(e){t.showLoginCheckModal=e},"update:login-modal-status":function(e){t.showLoginCheckModal=e}}}):t._e(),t._v(" "),t.showCallModal?s("call-modal",{attrs:{"modal-status":t.showCallModal,info:{product:t.detail.info.name,phone:t.detail.corp.phone}},on:{"update:modalStatus":function(e){t.showCallModal=e},"update:modal-status":function(e){t.showCallModal=e}}}):t._e(),t._v(" "),t.showPhotoViewer?s("photo-viewer",{attrs:{"modal-status":t.showPhotoViewer,idx:t.photoViewerIdx,"image-list":t.detail.images,space:t.detail.info.name},on:{"update:modalStatus":function(e){t.showPhotoViewer=e},"update:modal-status":function(e){t.showPhotoViewer=e}}}):t._e(),t._v(" "),s("notification",{attrs:{"noti-status":t.showNoti,message:t.notiMsg},on:{"update:notiStatus":function(e){t.showNoti=e},"update:noti-status":function(e){t.showNoti=e}}}),t._v(" "),t.isLoginModalOpen?s("common-modal",{attrs:{title:"로그인/회원가입 해주세요.",hasCloseButton:"",closeModal:t.closeLoginModal,buttons:t.modalButtons},scopedSlots:t._u([{key:"content",fn:function(){return[s("p",{style:{lineHeight:1.5}},[s("span",[t._v("공간을 예약하려면 로그인이 필요해요.")]),t._v(" "),s("br"),t._v(" "),s("span",[t._v("로그인 할까요?")])])]},proxy:!0}],null,!1,1142650546)}):t._e(),t._v(" "),s("div",{staticClass:"dimmed",style:[t.showCallModal&&{display:"block"},t.showQuestionModal&&{display:"block"},t.showLoginCheckModal&&{display:"block"}],on:{click:t.closeModal}})],1)}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"nav_slide"},[s("a",{staticClass:"main__banner--prev btn_slide_prev"},[s("i",{staticClass:"sp_icon ico_slide_prev"},[t._v("이전으로 이동")])]),t._v(" "),s("a",{staticClass:"main__banner--next btn_slide_next"},[s("i",{staticClass:"sp_icon ico_slide_next"},[t._v("다음으로 이동")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"icon_area "},[e("div",{staticClass:"icon_floor"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"icon_area"},[e("div",{staticClass:"icon_parking_space"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"icon_area"},[e("div",{staticClass:"icon_has_elevator"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"txt_notice refund",staticStyle:{"padding-bottom":"20px"}},[s("em",{staticClass:"warn",staticStyle:{color:"#ff3a48"}},[t._v("이용당일(첫 날) 이후에 환불 관련 사항은 호스트에게 직접 문의하셔야 합니다.")]),s("br"),t._v("\n 결제 후 2시간 이내에는 100% 환불이 가능합니다.(단, 이용시간 전까지만 가능)\n ")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"text_box"},[s("h4",{staticClass:"h_intro"},[s("em",[t._v("호스트")]),t._v("의 다른 공간")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"center txt_result"},[s("p",{staticClass:"p_result"},[s("em",[t._v("호스트")]),t._v("의 다른 공간이 아직 없습니다.\n ")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"text_box"},[s("h4",{staticClass:"h_intro"},[t._v("비슷한 공간")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"center txt_result"},[s("p",{staticClass:"p_result"},[t._v("비슷한 공간이 아직 없습니다.")])])}],!1,null,"2fb534cd",null));e.default=_t.exports},819:function(t,e,s){"use strict";s(276);var a={props:{space:Object,border:Boolean,keyword:Number,isMap:Boolean,logType:String},data:function(){return{arrowIsActive:!1,swiperOption:{slidesPerView:"auto",centeredSlides:!0,navigation:{nextEl:".button_img_next",prevEl:".button_img_prev"}},activeCardIndex:-1}},methods:{showPrev:function(){this.activeCardIndex<=0?this.activeCardIndex=this.space.images.length-1:this.activeCardIndex-=1},showNext:function(){this.activeCardIndex>=this.space.images.length-1?this.activeCardIndex=-1:this.activeCardIndex+=1},goToDetail:function(t){var e="/space/".concat(t),s={};this.keyword&&(s.keyword_id=this.keyword+""),this.logType&&(s.log_type=this.logType),localStorage.setItem("sc_click_log",JSON.stringify(s)),this.$router?this.$router.push(e):window.open(e,"_blank").focus()}}},i=s(7),n=Object(i.a)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("article",{staticClass:"box box_space",attrs:{"data-space":t.space.space_id,"data-kg":t.space.ad_id}},[s("div",{staticClass:"inner"},[s("a",{on:{click:function(e){return t.goToDetail(t.space.space_id)}}},[s("div",{staticClass:"img_box",on:{mouseover:function(e){t.arrowIsActive=!0},mouseleave:function(e){t.arrowIsActive=!1}}},[-1===t.activeCardIndex?s("span",{staticClass:"img",style:{backgroundImage:"url("+t.space.image_url+")"}}):s("span",{staticClass:"img",style:{backgroundImage:"url("+t.space.images[t.activeCardIndex]+")"}}),t._v(" "),s("div",{staticClass:"button_area",class:{show:t.arrowIsActive}},[s("button",{staticClass:"button_img button_img_prev",attrs:{type:"button"},on:{click:function(e){return e.stopPropagation(),t.showPrev.apply(null,arguments)}}},[s("i",{staticClass:"sp_icon ico_img_prev"},[t._v("이전 이미지 보기")])]),t._v(" "),s("button",{staticClass:"button_img button_img_next",attrs:{type:"button"},on:{click:function(e){return e.stopPropagation(),t.showNext.apply(null,arguments)}}},[s("i",{staticClass:"sp_icon ico_img_next"},[t._v("다음 이미지 보기")])])])]),t._v(" "),s("span",{staticClass:"btns_reserv"},["FIXPY"===t.space.rsvMthCd?s("span",{staticClass:"btn_reserv_now"},[t._v("\n 승인\n "),s("br"),t._v("결제\n ")]):t._e(),t._v(" "),"NOWPY"===t.space.rsvMthCd?s("span",{staticClass:"btn_reserv_confirm"},[t._v("\n 바로\n "),s("br"),t._v("결제\n ")]):t._e(),t._v(" "),t.space.COUPON_SEQ&&t.space.DISCOUNT_PRICE?s("span",{staticClass:"btn_coupon"},[t._v("\n 쿠폰\n "),s("br"),t._v("할인\n ")]):t._e()]),t._v(" "),s("div",{staticClass:"info_area",class:{type_border:t.border}},[s("h3",{staticClass:"tit_space",domProps:{innerHTML:t._s(t.space.space_name)}}),t._v(" "),t.isMap?t._e():s("div",{staticClass:"tags"},[s("span",{staticClass:"tag_area_name"},[t._v(t._s(t.space.location))]),t._v(" "),t._l(t.space.tags,(function(e){return s("span",[t._v("#"+t._s(e.tag))])}))],2),t._v(" "),s("div",{staticClass:"info_price_hour"},[s("strong",{staticClass:"price"},[t._v(t._s(t._f("toCurrency")(t.space.price)))]),t._v(" "),"TIME"===t.space.RSV_TP_CD?s("span",{staticClass:"txt_unit"},[t._v("원/시간")]):"DAY"===t.space.RSV_TP_CD?s("span",{staticClass:"txt_unit"},[t._v("원/일")]):"MONTH"===t.space.RSV_TP_CD?s("span",{staticClass:"txt_unit"},[t._v("원/월")]):"PKG"===t.space.RSV_TP_CD?s("span",{staticClass:"txt_unit"},[t._v("원/패키지")]):t._e()]),t._v(" "),t.isMap?t._e():s("div",{staticClass:"info_number_love"},[t.space.maxUser?s("span",{staticClass:"txt_number_maxUser"},[s("i",{staticClass:"sp_icon ico_user"},[t._v("최대이용가능수")]),t._v(" "),s("em",[t._v("최대 "+t._s(t.space.maxUser)+"인")])]):t._e(),t._v(" "),s("span",{staticClass:"txt_number_review"},[s("i",{staticClass:"sp_icon ico_review"},[t._v("리뷰수")]),t._v(" "),s("em",[t._v(t._s(t.space.review_count))])]),t._v(" "),s("span",{staticClass:"txt_number_love"},[s("i",{staticClass:"sp_icon ico_love"},[t._v("좋아요")]),t._v(" "),s("em",[t._v(t._s(t.space.zzim_cnt))])])])])])])])}),[],!1,null,null,null);e.a=n.exports},820:function(t,e,s){"use strict";var a=s(12),i=s(119).findIndex,n=s(200),o="findIndex",r=!0;o in[]&&Array(1).findIndex((function(){r=!1})),a({target:"Array",proto:!0,forced:r},{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(o)},821:function(t,e,s){var a=s(872);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(48).default)("7423a7c6",a,!0,{sourceMap:!1})},859:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAbCAYAAABiFp9rAAAAAXNSR0IArs4c6QAAAiRJREFUSA2tlr8vQ1EcxVFESCQSg4HBYLGwmEzdbLbajMauBovB0NVfYOgisdtMnUyWLgwGBgmJRCIRIepz+u73ufe2vX0P3+T4/jrn3Mrre68jIy46nc6o1f+Vfc8xmTI4Ip2QK/94iLzkKe/uIQc0FqcU493FH/7IA8jL4kD/0ZLnuUN9xnbSm5UqnfYMkbwssjNYHtvRLp+Tp4xVNEsDpPXjONCzafhb6gswE5ASjbhOQ8qj0VfC+jCnZEWLNNuX7A3FAeL6cehRekuY+z6b+hLM9TKziXaOQ8pjfxA/mEOv55KsuCLNByQazYB2ftRjXrJHuQe+PIc29YKJVAPNLMTds32pjHAXfJoT+RosOqi2EGe3lHlMxmAHfJgj+c7BRtr590xsUbzHaBu8m7OXNdsu7lSAiWF8zX5/TQadxyFr4BHEodnaIF2pOUYb4Nk74ZVasNBuo5RpTMZgE7yYI7lrSo4PF2cz1hfqEVaB/8mf6NdNrBpoZiFu1faFMoIt8GYO5AewGos1cztSN6TZinl9e4jxV/me2UpfMkPtgDgWw7/yMGvAvzlv6ZcHHWJzcYC4FvKo2T7ILOLHzQ2zxYCUaMQF0lj0PpbYxDdjm1n+AE34BytpgLQWPzc1E70SNLDQY7/nlRA4JhppgTws5F3XxWzahJx8ySX8gxU+8cuwqYMqQL98WmDoaztwTDTycp7yzn4vUkyA6YTuVyt5ylvib3D9xzovgJ3bAAAAAElFTkSuQmCC"},861:function(t,e,s){"use strict";var a={name:"PhotoViewer",props:["imageList","space","idx"],data:function(){return{isLoaded:!1,innerWidth:0,innerHeight:0,swiperOptionTop:{spaceBetween:10,initialSlide:this.idx,navigation:{nextEl:".btn_slide_next",prevEl:".btn_slide_prev",disabledClass:"disabled"}}}},mounted:function(){this.onScroll(),window.addEventListener("resize",this.onScroll),this.isLoaded=!0},destroyed:function(){window.removeEventListener("resize",this.onScroll)},methods:{closeModal:function(){this.$emit("update:modalStatus",!1)},onScroll:function(){this.innerWidth=window.innerWidth,this.innerHeight=window.innerHeight}}},i=(s(871),s(7)),n=Object(i.a)(a,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"photoviewer"},[t.isLoaded?a("div",{directives:[{name:"swiper",rawName:"v-swiper:swiperTop",value:t.swiperOptionTop,expression:"swiperOptionTop",arg:"swiperTop"}],ref:"swiperTop",staticClass:"gallery-top"},[a("div",{staticClass:"swiper-wrapper"},t._l(t.imageList,(function(e,s){return a("div",{key:"__photoviewr_img_"+s,staticClass:"swiper-slide photoviewer-slide"},[a("div",{staticClass:"photoviewer-slide-wrapper"},[a("div",{staticClass:"responsive-wrap"},[a("img",{staticClass:"photoviewer-slide__img",style:{"max-width":.8*t.innerWidth+"px","max-height":.8*t.innerHeight+"px"},attrs:{src:e.image_url,alt:t.space}})])])])})),0),t._v(" "),t._m(0)]):t._e(),t._v(" "),a("a",{staticClass:"btn_pop_close",attrs:{title:"레이어팝업 닫힘"},on:{click:t.closeModal}},[a("img",{attrs:{src:s(859),alt:"닫기"}})])])}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"nav_slide"},[s("a",{staticClass:"main__banner--prev btn_slide_prev"},[s("i",{staticClass:"sp_icon ico_slide_prev"},[t._v("이전으로 이동")])]),t._v(" "),s("a",{staticClass:"main__banner--next btn_slide_next"},[s("i",{staticClass:"sp_icon ico_slide_next"},[t._v("다음으로 이동")])])])}],!1,null,"4c8c8563",null);e.a=n.exports},863:function(t,e,s){var a=s(899);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(48).default)("3934c4c4",a,!0,{sourceMap:!1})},868:function(t,e,s){t.exports=s.p+"img/social_kakao.a84abfd.png"},869:function(t,e,s){t.exports=s.p+"img/social_fb.3fd0f34.png"},870:function(t,e,s){t.exports=s.p+"img/social_x.79084c1.png"},871:function(t,e,s){"use strict";s(821)},872:function(t,e,s){var a=s(47)(!1);a.push([t.i,".gallery-top[data-v-4c8c8563]{height:100%!important;width:100%}",""]),t.exports=a},873:function(t,e,s){"use strict";s(64),s(49);var a={components:{Icons:s(146).a},props:{modalStatus:{type:Boolean,default:!1},dataset:{type:Object,default:function(){}},position:{type:Object,default:function(){}}},data:function(){return{url:"",isCopied:!1}},mounted:function(){this.dataset.url?this.url=this.dataset.url:this.url=window.location.href},methods:{copyToClipboard:function(){var t=this;this.isCopied=!1,document.removeEventListener("click",this.clickEventListener),document.removeEventListener("touchend",this.clickEventListener),this.$copyText(this.url).then((function(e){t.isCopied=!0,setTimeout((function(){document.addEventListener("click",t.clickEventListener),document.addEventListener("touchend",t.clickEventListener)}),200)})).catch((function(t){}))},closeModal:function(){this.$emit("update:modalStatus",!1),document.removeEventListener("click",this.clickEventListener),document.removeEventListener("touchend",this.clickEventListener)},clickEventListener:function(t){t.target.closest(".naver-splugin")||t.target.closest("div.share-modal")||this.closeModal()},shareKakao:function(){Kakao.Link.sendDefault({objectType:"feed",content:{title:this.dataset.name,description:"출처: 스페이스클라우드",imageUrl:this.dataset.image,link:{mobileWebUrl:this.dataset.url?this.dataset.url:"".concat(window.location.href),webUrl:this.dataset.url?this.dataset.url:"".concat(window.location.href)}}})},shareFacebook:function(){var t="http://www.facebook.com/sharer.php?u="+encodeURIComponent(this.url)+"&t="+encodeURIComponent(this.dataset.name);this.windowOpen(t,600,450)},shareTwitter:function(){var t="http://twitter.com/intent/tweet?text="+encodeURIComponent("".concat(this.dataset.name," (출처: 스페이스클라우드)"))+"&url="+encodeURIComponent(this.url);this.windowOpen(t,620,420)},windowOpen:function(){for(var t=arguments.length,e=new Array(t),s=0;s<t;s++)e[s]=arguments[s];var a=e[0],i=e[1],n=e[2],o="left=10,top=10,width="+i+",height="+n+",menubar=yes,location=yes,resizable=no,scrollbars=no,status=no";window.open(a,"sharePopUp",o)}}},i=a,n=s(7),o=Object(n.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"dimmed",staticStyle:{display:"block",background:"transparent","z-index":"1"},on:{click:t.closeModal}}),t._v(" "),a("div",{staticClass:"share-modal",style:t.position},[a("div",{staticClass:"icon_wrapper"},[a("button",{on:{click:t.closeModal}},[a("Icons",{attrs:{icon:"close",width:"16px",height:"16px"}})],1)]),t._v(" "),t.isCopied?t._e():a("h2",{staticClass:"share-modal-title"},[t._v("공유하기")]),t._v(" "),t.isCopied?t._e():a("ul",[a("li",{staticClass:"share-item"},[a("a",{on:{click:t.shareKakao}},[a("img",{staticClass:"logo",attrs:{src:s(868),alt:"카카오"}}),t._v(" "),a("p",{staticClass:"title"},[t._v("카카오톡")])])]),t._v(" "),a("li",{staticClass:"share-item"},[a("a",{on:{click:t.shareFacebook}},[a("img",{staticClass:"logo",attrs:{src:s(869),alt:"페이스북"}}),t._v(" "),a("p",{staticClass:"title"},[t._v("페이스북")])])]),t._v(" "),a("li",{staticClass:"share-item"},[a("a",{on:{click:t.shareTwitter}},[a("img",{staticClass:"logo",attrs:{src:s(870),alt:"트위터"}}),t._v(" "),a("p",{staticClass:"title"},[t._v("X")])])])]),t._v(" "),t.isCopied?t._e():a("div",{staticClass:"share-url",on:{click:function(e){return e.preventDefault(),t.copyToClipboard.apply(null,arguments)}}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.url,expression:"url"}],staticClass:"share-url-input",attrs:{type:"text",disabled:""},domProps:{value:t.url},on:{input:function(e){e.target.composing||(t.url=e.target.value)}}}),t._v(" "),a("button",{staticClass:"share-url-btn"},[t._v("URL 복사")])]),t._v(" "),t.isCopied?a("div",{staticClass:"share-close",on:{click:t.closeModal}},[a("i",{staticClass:"sp_icon ico_btn_close"})]):t._e(),t._v(" "),t.isCopied?a("p",{staticClass:"share-success"},[t._v("\n 주소가 복사되었습니다.\n "),a("br"),t._v("원하는 곳에 붙여넣기(Ctrl+V)해주세요.\n ")]):t._e()])])}),[],!1,null,null,null);e.a=o.exports},876:function(t,e,s){"use strict";var a={components:{Icons:s(146).a},props:{title:{type:String,default:""},hasCloseButton:{type:Boolean,default:!1,required:!1},buttons:{type:Array,default:function(){return[]}},closeModal:{type:Function,default:function(){}}},mounted:function(){document.body.style.overflow="hidden"},beforeDestroy:function(){document.body.style.overflow="auto"}},i=(s(898),s(7)),n=Object(i.a)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal_dimmed",on:{click:t.closeModal}},[s("div",{staticClass:"wrapper_modal"},[s("div",{staticClass:"wrapper_title"},[s("strong",{staticClass:"tit_modal"},[t._v(t._s(t.title))]),t._v(" "),s("button",{on:{click:t.closeModal}},[t.hasCloseButton?s("Icons",{staticClass:"ico_close",attrs:{icon:"close",width:"28px",height:"28px"}}):t._e()],1)]),t._v(" "),s("div",{staticClass:"content_modal"},[t._t("content")],2),t._v(" "),s("div",{staticClass:"wrapper_buttons"},t._l(t.buttons,(function(e,a){return s("button",{key:"modal_button_"+a,class:e.class,on:{click:e.onClick}},[t._v("\n "+t._s(e.text)+"\n ")])})),0)])])}),[],!1,null,"81cf8770",null);e.a=n.exports},898:function(t,e,s){"use strict";s(863)},899:function(t,e,s){var a=s(47)(!1);a.push([t.i,".modal_dimmed[data-v-81cf8770]{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5);z-index:23}.wrapper_modal[data-v-81cf8770]{width:328px;padding:24px;max-height:300px;background-color:#fff;position:fixed;top:50%;left:50%;z-index:23;transform:translate(-50%,-50%);border-radius:8px}.wrapper_modal .wrapper_title[data-v-81cf8770]{display:flex;align-items:center;margin-bottom:24px}.wrapper_modal .wrapper_title .tit_modal[data-v-81cf8770]{display:block;margin-right:auto;font-size:20px;font-weight:600}.wrapper_modal .content_modal[data-v-81cf8770]{font-size:16px;font-weight:400}.wrapper_modal .wrapper_buttons[data-v-81cf8770]{display:flex;flex-direction:column;margin-top:36px}.wrapper_modal .wrapper_buttons button[data-v-81cf8770]{width:100%;height:48px;border-radius:12px;font-size:14px;cursor:pointer}.wrapper_modal .wrapper_buttons button.confirm[data-v-81cf8770]{background-color:#ffd014}.wrapper_modal .wrapper_buttons button.secondary[data-v-81cf8770]{background-color:transparent;border:1px solid hsla(0,0%,46.3%,.4);color:#767676}.wrapper_modal .wrapper_buttons button.close[data-v-81cf8770]{background-color:#f5f5f5}.wrapper_modal .wrapper_buttons button.text[data-v-81cf8770]{border:none;background-color:#fff;color:#9b9b9b}.wrapper_modal .wrapper_buttons button+button[data-v-81cf8770]{margin-top:12px}",""]),t.exports=a},929:function(t,e,s){t.exports=s.p+"img/map_marker.82cfb74.png"},937:function(t,e,s){"use strict";var a=s(4),i=(s(39),{props:["modalStatus","type","spaceId","question","currentPage"],data:function(){return{content:"",maxInputLength:200}},computed:{contentLength:function(){return this.content.length}},mounted:function(){this.question&&(this.content=this.question.content)},methods:{closeModal:function(){this.$emit("update:modalStatus",!1)},askQuestion:function(){var t=this;return Object(a.a)(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!t.content){e.next=14;break}return s=JSON.parse(localStorage.getItem("user")),e.next=5,t.$axios({method:"post",headers:{Authorization:s.token},url:"/questions",data:{spc_seq:t.spaceId,question_contents:t.content}});case 5:return e.sent,e.next=8,t.$emit("getData",1);case 8:return e.next=10,t.$emit("activeNoti","질문이 등록되었습니다.");case 10:return e.next=12,t.closeModal();case 12:e.next=16;break;case 14:return e.next=16,t.$emit("activeNoti","질문을 입력해주세요.");case 16:e.next=26;break;case 18:if(e.prev=18,e.t0=e.catch(0),401!==e.t0.response.status){e.next=26;break}return e.next=24,t.$store.dispatch("refreshToken");case 24:return e.next=26,t.askQuestion();case 26:case"end":return e.stop()}}),e,null,[[0,18]])})))()},modifyQuestion:function(){var t=this;return Object(a.a)(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,"edit"!==t.type||!t.question){e.next=19;break}if(!t.content){e.next=17;break}return s=JSON.parse(localStorage.getItem("user")),e.next=6,t.$axios({method:"put",headers:{Authorization:s.token},url:"/questions/".concat(t.question.id),data:{question_contents:t.content}});case 6:return e.sent,e.next=9,t.$emit("getData",t.currentPage);case 9:return e.next=11,t.$emit("activeNoti","질문이 수정되었습니다.");case 11:return e.next=13,t.$emit("question","");case 13:return e.next=15,t.closeModal();case 15:e.next=19;break;case 17:return e.next=19,t.$emit("activeNoti","질문을 입력해주세요.");case 19:e.next=29;break;case 21:if(e.prev=21,e.t0=e.catch(0),401!==e.t0.response.status){e.next=29;break}return e.next=27,t.$store.dispatch("refreshToken");case 27:return e.next=29,t.modifyQuestion();case 29:case"end":return e.stop()}}),e,null,[[0,21]])})))()},deleteQuestion:function(){var t=this;return Object(a.a)(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,"delete"!==t.type||!t.question){e.next=14;break}return s=JSON.parse(localStorage.getItem("user")),e.next=5,t.$axios({method:"delete",headers:{Authorization:s.token},url:"/questions/".concat(t.question.id)});case 5:return e.sent,e.next=8,t.$emit("getData",t.currentPage);case 8:return e.next=10,t.$emit("activeNoti","질문이 삭제되었습니다.");case 10:return e.next=12,t.$emit("question","");case 12:return e.next=14,t.closeModal();case 14:e.next=24;break;case 16:if(e.prev=16,e.t0=e.catch(0),401!==e.t0.response.status){e.next=24;break}return e.next=22,t.$store.dispatch("refreshToken");case 22:return e.next=24,t.deleteQuestion();case 24:case"end":return e.stop()}}),e,null,[[0,16]])})))()}}}),n=s(7),o=Object(n.a)(i,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"layer_popup workspace reservation",on:{click:t.closeModal}},["new"===t.type||"edit"===t.type?s("div",{staticClass:"popup_wrap",on:{click:function(t){t.stopPropagation()}}},[s("div",{staticClass:"pop_header"},[t._v("\n "+t._s("new"===t.type?"질문 작성하기":"질문 수정하기")+"\n ")]),t._v(" "),s("div",{staticClass:"pop_container reviews"},[s("article",{staticClass:"reserve_price"},[s("div",{staticClass:"box_form"},[t._m(0),t._v(" "),s("span",{staticClass:"option"},[s("span",{staticClass:"txt_count"},[s("em",[t._v(t._s(t.contentLength))]),t._v("자/"),s("em",[t._v("200")]),t._v("자\n ")])]),t._v(" "),s("div",{staticClass:"input"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.content,expression:"content"}],attrs:{id:"reason_cancel",maxlength:t.maxInputLength,placeholder:"호스트에게 궁금한 점을 질문해보세요."},domProps:{value:t.content},on:{input:function(e){e.target.composing||(t.content=e.target.value)}}})])])]),t._v(" "),t._m(1),t._v(" "),s("div",{staticClass:"btns"},[s("a",{staticClass:"btn btn_full btn_negative",on:{click:t.closeModal}},[t._v("취소")]),t._v(" "),"new"===t.type?s("a",{staticClass:"btn btn_full btn_default",on:{click:t.askQuestion}},[t._v("등록")]):t._e(),t._v(" "),"edit"===t.type?s("a",{staticClass:"btn btn_full btn_default",on:{click:t.modifyQuestion}},[t._v("수정")]):t._e()])]),t._v(" "),s("a",{staticClass:"btn_pop_close",attrs:{title:"레이어팝업 닫힘"},on:{click:t.closeModal}},[s("i",{staticClass:"sp_icon ico_pop_close"},[t._v("레이어팝업닫기")])])]):t._e(),t._v(" "),"delete"===t.type?s("div",{staticClass:"popup_wrap",on:{click:function(t){t.stopPropagation()}}},[s("div",{staticClass:"pop_header"},[t._v("\n 질문 삭제\n ")]),t._v(" "),s("div",{staticClass:"pop_container reviews"},[t._m(2),t._v(" "),s("div",{staticClass:"btns"},[s("a",{staticClass:"btn btn_full btn_negative",on:{click:t.closeModal}},[t._v("취소")]),t._v(" "),s("a",{staticClass:"btn btn_full btn_default",on:{click:t.deleteQuestion}},[t._v("삭제")])])]),t._v(" "),s("a",{staticClass:"btn_pop_close",attrs:{title:"레이어팝업 닫힘"},on:{click:t.closeModal}},[s("i",{staticClass:"sp_icon ico_pop_close"},[t._v("레이어팝업닫기")])])]):t._e()])}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"tit"},[s("label",{attrs:{for:"reason_cancel"}},[t._v("\n 질문\n ")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"p_guide warn usual"},[s("i",{staticClass:"sp_icon ico_alert"}),t._v("\n 단, 공간 및 예약에 대한 문의가 아닌 글은 무통보 삭제될 수 있습니다.\n ")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"pop_txt pop_guide_txt"},[t._v("\n 질문을 삭제하시겠습니까?\n "),s("br",{staticStyle:{display:"block"}}),t._v("삭제시 데이터 복구가 어렵습니다.\n ")])}],!1,null,null,null);e.a=o.exports},941:function(t,e,s){"use strict";var a=s(4),i=(s(39),{components:{photoViewer:s(861).a},props:["dataset","spaceId","hostId"],data:function(){return{showPhotoViewer:!1,activeImageList:[],photoViewerIdx:0,page:{pages:this.dataset.page.pages,current:this.dataset.page.page,total:this.dataset.page.total},reviews:this.dataset.reviews,showOnlyImage:!1}},methods:{getReviews:function(t){var e=this;return Object(a.a)(regeneratorRuntime.mark((function s(){var a,i;return regeneratorRuntime.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(s.prev=0,a={page:t,only_image_review:e.showOnlyImage},e.spaceId?a.space_id=e.spaceId:e.hostId&&(a.host_user_id=e.hostId),e.page.pages&&!(t>0&&t<=e.page.pages)){s.next=13;break}return s.next=6,e.$axios.get("/reviews",{params:a});case 6:i=s.sent,e.reviews=i.data.reviews,e.page.pages=i.data.page.pages,e.page.current=i.data.page.page,e.$scrollTo("#s_review"),s.next=14;break;case 13:return s.abrupt("return");case 14:s.next=19;break;case 16:s.prev=16,s.t0=s.catch(0);case 19:case"end":return s.stop()}}),s,null,[[0,16]])})))()},changeImageOption:function(t){this.showOnlyImage=t,this.page.current=1,this.getReviews(this.page.current)},activePhotoViewer:function(t,e){this.activeImageList=t,this.photoViewerIdx=e,this.showPhotoViewer=!0}}}),n=s(7),o=Object(n.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"text_box msimple",attrs:{id:"s_review"}},[a("h4",{staticClass:"h_intro"},[t._v("\n 이용 후기\n "),a("strong",{staticClass:"txt_primary"},[a("em",[t._v(t._s(t.dataset.page.total))]),t._v("개\n ")]),t._v(" "),t.reviews.length?a("span",{staticClass:"dot"}):t._e(),t._v(" "),t.reviews.length?a("span",[t._v("\n 평균 평점\n "),a("strong",{staticClass:"txt_primary"},[a("em",[t._v(t._s(Number(t.dataset.avg_rate).toFixed(1)))])])]):t._e()]),t._v(" "),t.showOnlyImage||t.reviews.length?t._e():a("div",{staticClass:"review_box no_data"},[t._m(0)]),t._v(" "),a("div",{staticClass:"switch_item"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.showOnlyImage,expression:"showOnlyImage"}],staticClass:"shitch",attrs:{id:"photo_list_view",type:"checkbox"},domProps:{checked:Array.isArray(t.showOnlyImage)?t._i(t.showOnlyImage,null)>-1:t.showOnlyImage},on:{change:[function(e){var s=t.showOnlyImage,a=e.target,i=!!a.checked;if(Array.isArray(s)){var n=t._i(s,null);a.checked?n<0&&(t.showOnlyImage=s.concat([null])):n>-1&&(t.showOnlyImage=s.slice(0,n).concat(s.slice(n+1)))}else t.showOnlyImage=i},function(e){return t.changeImageOption(t.showOnlyImage)}]}}),t._v(" "),a("label",{attrs:{for:"photo_list_view"}},[t._v("사진 후기만 보기")])])]),t._v(" "),t.reviews.length?a("div",{staticClass:"tab_area"},[a("ul",{staticClass:"tab"},[a("li",{class:{active:!t.showOnlyImage}},[a("a",{on:{click:function(e){return t.changeImageOption(!1)}}},[t._v("전체후기보기")])]),t._v(" "),a("li",{class:{active:t.showOnlyImage}},[a("a",{on:{click:function(e){return t.changeImageOption(!0)}}},[t._v("사진후기만보기")])])])]):t._e(),t._v(" "),t.reviews.length?a("div",{staticClass:"review_box"},[a("ul",{staticClass:"review_list"},t._l(t.reviews,(function(e,i){return a("li",{directives:[{name:"show",rawName:"v-show",value:"N"===e.deleted,expression:"review.deleted === 'N'"}],key:i,staticClass:"rlist",class:{del_review:"Y"===e.deleted_by_user}},[a("div",{staticClass:"rbox_mine"},["N"!==e.deleted_by_user||e.writer.image_url?t._e():a("span",{staticClass:"pf_img",style:{backgroundImage:"url("+s(281)+")"}}),t._v(" "),"N"===e.deleted_by_user&&e.writer.image_url?a("span",{staticClass:"pf_img",style:{backgroundImage:"url("+e.writer.image_url+")"}}):t._e(),t._v(" "),a("strong",{staticClass:"guest_name",class:{text_undefined:!e.writer.name||0===e.writer.name.trim().length}},[t._v("\n "+t._s(e.writer.name&&0!==e.writer.name.trim().length?e.writer.name:"게스트")+"\n ")]),t._v(" "),"N"===e.deleted_by_user?a("p",{staticClass:"p_review"},[t._v("\n "+t._s(e.content)+"\n ")]):t._e(),t._v(" "),"Y"===e.deleted_by_user?a("p",{staticClass:"p_review"},[t._v("\n 게스트에 의해 삭제된 후기 입니다.\n ")]):t._e(),t._v(" "),e.images.length?a("div",{staticClass:"space_list swiper_list photo_review"},[a("div",{staticClass:"flex_wrap column3 fluid"},t._l(e.images,(function(s,i){return a("article",{key:"__review_img_"+i,staticClass:"box box_space"},[a("div",{staticClass:"inner"},[a("a",{on:{click:function(s){return t.activePhotoViewer(e.images,i)}}},[a("div",{staticClass:"img_box"},[a("span",{staticClass:"img",style:{backgroundImage:"url("+s.image_url+")"}}),t._v(" "),a("span",{staticClass:"border"})])])])])})),0)]):t._e(),t._v(" "),a("div",{staticClass:"rbox_info_base"},[a("span",{staticClass:"time_info"},[t._v("\n "+t._s(t.$moment(e.created_at,"YYYY.MM.DD HH:mm:ss").format("YYYY.MM.DD HH:mm:ss"))+"\n ")])]),t._v(" "),a("span",{staticClass:"rate_area"},[a("span",{staticClass:"blind"},[t._v("평점")]),t._v(" "),t._l(5,(function(s,i){return a("span",{key:i,staticClass:"rate",class:{active:s<=e.rate}},[a("em",{staticClass:"sp_icon ico_star_off"},[t._v(t._s(s)+"점")])])}))],2)]),t._v(" "),t._l(e.comments.slice(e.comments.length-1),(function(s,i){return a("div",{directives:[{name:"show",rawName:"v-show",value:e.comments.length&&!s.deleted,expression:"review.comments.length && !comment.deleted"}],key:i,staticClass:"rbox_reply"},[a("p",{staticClass:"p_tit_reply"},[a("em",[t._v(t._s(s.is_writed_by_admin&&"Y"===s.is_writed_by_admin?"스페이스클라우드 운영팀":"호스트님"))]),t._v("의 답글\n ")]),t._v(" "),a("p",{staticClass:"p_review"},[t._v(t._s(t._f("entities")(s.content)))]),t._v(" "),a("div",{staticClass:"rbox_info_base"},[s.created_at?a("p",{staticClass:"time_info"},[t._v("\n "+t._s(t.$moment(s.created_at,"YYYY.MM.DD HH:mm:ss").format("YYYY.MM.DD HH:mm:ss"))+"\n ")]):t._e()])])}))],2)})),0),t._v(" "),a("div",{staticClass:"paging"},[a("a",{staticClass:"btn_prev_list_end",class:{active:t.page.current-5>0},on:{click:function(e){return t.getReviews(t.page.current-5)}}},[a("i",{staticClass:"sp_icon ico_prev_list"},[t._v("이전목록 5개로 이동")])]),t._v(" "),a("a",{staticClass:"btn_prev_list",class:{active:t.page.current-1>0},on:{click:function(e){return t.getReviews(t.page.current-1)}}},[a("i",{staticClass:"sp_icon ico_prev_list"},[t._v("이전페이지로 이동")])]),t._v(" "),t._l(5,(function(e,s){return a("a",{directives:[{name:"show",rawName:"v-show",value:e+5*parseInt((t.page.current-1)/5)<=t.page.pages,expression:"num + parseInt((page.current - 1) / 5) * 5 <= page.pages"}],key:s,staticClass:"num",class:{active:e+5*parseInt((t.page.current-1)/5)===t.page.current},on:{click:function(s){t.getReviews(e+5*parseInt((t.page.current-1)/5))}}},[t._v(t._s(e+5*parseInt((t.page.current-1)/5)))])})),t._v(" "),a("a",{staticClass:"btn_next_list",class:{active:t.page.current+1<=t.page.pages},on:{click:function(e){return t.getReviews(t.page.current+1)}}},[a("i",{staticClass:"sp_icon ico_next_list"},[t._v("다음 페이지로 이동")])]),t._v(" "),a("a",{staticClass:"btn_next_list_end",class:{active:t.page.current+5<=t.page.pages},on:{click:function(e){return t.getReviews(t.page.current+5)}}},[a("i",{staticClass:"sp_icon ico_next_list"},[t._v("다음목록 5개로 이동")])])],2)]):t._e(),t._v(" "),t.showOnlyImage&&!t.reviews.length?a("div",{staticClass:"review_box no_data"},[t._m(1)]):t._e(),t._v(" "),t.showPhotoViewer?a("photo-viewer",{attrs:{"modal-status":t.showPhotoViewer,idx:t.photoViewerIdx,"image-list":t.activeImageList,space:t.activeImageList[0].space_name},on:{"update:modalStatus":function(e){t.showPhotoViewer=e},"update:modal-status":function(e){t.showPhotoViewer=e}}}):t._e()],1)}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"center_wrap"},[s("div",{staticClass:"center txt_result"},[s("p",{staticClass:"p_result"},[t._v("등록된 후기가 아직 없습니다.")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"center_wrap"},[s("div",{staticClass:"center txt_result"},[s("p",{staticClass:"p_result"},[t._v("등록된 사진 후기가 아직 없습니다.")])])])}],!1,null,null,null);e.a=o.exports},942:function(t,e,s){"use strict";s(64),s(66),s(59),s(89);var a={props:["dataset","callModalStatus","login-modal-status"],data:function(){return{isPc:!1,loadMap:!1,map:"",mapMoveStatus:!1,mapLoaded:!1,inactiveSpaceIdList:[580,57944,57204],isInactiveSpaceId:!1}},head:function(){return{script:[{src:"https://oapi.map.naver.com/openapi/v3/maps.js?autoload=false&ncpClientId=c4i1tghnh3&callback=".concat(this.mapLoad()),defer:!0}]}},mounted:function(){var t=this;this.checkInactiveSpace(this.dataset.id),window.innerWidth>767&&(this.isPc=!0),this.loadMap=!0,setTimeout((function(){t.mapLoaded&&t.loadNaverMaps()}),1e3)},methods:{mapLoad:function(){this.mapLoaded=!0},loadNaverMaps:function(){var t=window.naver,e=document.getElementById("map"),a=t&&{center:new t.maps.LatLng(this.dataset.location.latitude,this.dataset.location.longitude),level:4,scaleControl:!0,scaleControlOptions:{position:t.maps.Position.BOTTOM_LEFT},logoControl:!0,logoControlOptions:{position:t.maps.Position.BOTTOM_LEFT},mapDataControl:!1};this.map=new t.maps.Map(e,a);var i={url:s(929),scaledSize:new t.maps.Size(36,47)},n=new t.maps.LatLng(this.dataset.location.latitude,this.dataset.location.longitude);new t.maps.Marker({position:n,map:this.map,icon:i,title:"선택 지점"}).setMap(this.map),this.map.setOptions({pinchZoom:this.mapMoveStatus,draggable:this.mapMoveStatus,scrollWheel:this.mapMoveStatus,disableDoubleClickZoom:!this.mapMoveStatus,disableDoubleTapZoom:!this.mapMoveStatus})},setZoomable:function(){this.mapMoveStatus=!this.mapMoveStatus,this.map.setOptions({pinchZoom:this.mapMoveStatus,draggable:this.mapMoveStatus,scrollWheel:!1,disableDoubleClickZoom:!this.mapMoveStatus,disableDoubleTapZoom:!this.mapMoveStatus})},zoomIn:function(){this.mapMoveStatus||this.setZoomable(),this.map.setZoom(this.map.getZoom()+1)},zoomOut:function(){this.mapMoveStatus||this.setZoomable(),this.map.setZoom(this.map.getZoom()-1)},callToHost:function(){JSON.parse(localStorage.getItem("user"))?document.querySelector(".pc")?(this.$emit("update:callModalStatus",!0),fbq("trackCustom","Call")):window.location.href="tel://".concat(this.dataset.hp_no):this.$emit("update:login-modal-status",!0)},checkInactiveSpace:function(t){this.isInactiveSpaceId=this.inactiveSpaceIdList.includes(t)}}},i=s(7),n=Object(i.a)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"detail_box map_box",class:{type_simple:t.dataset.type}},[s("h4",{staticClass:"h_intro blind"},[t._v("공간 위치 정보")]),t._v(" "),s("div",{staticClass:"host_profile"},[s("div",{staticClass:"inner"},[s("div",{staticClass:"sp_location"},[s("p",{staticClass:"sp_name"},[t._v(t._s(t.dataset.name))]),t._v(" "),s("p",{staticClass:"sp_address"},[t._v(t._s(t.dataset.address))]),t._v(" "),t.dataset.website&&!t.isInactiveSpaceId?s("p",{staticClass:"sp_homepage"},[s("a",{attrs:{href:t.dataset.website,target:"_blank"}},[t._v(t._s(t.dataset.website))])]):t._e(),t._v(" "),t.dataset.type?s("p",{staticClass:"sp_call"},[t._v(t._s(t.dataset.hp_no))]):t._e()]),t._v(" "),t.isInactiveSpaceId?s("div",{staticClass:"row"},[t._m(0),t._v(" "),t._m(1)]):s("div",{staticClass:"row"},[s("div",{staticClass:"col col6"},[s("a",{staticClass:"btn btn_rounded btn_call",on:{click:t.callToHost}},[t._m(2)])]),t._v(" "),s("div",{staticClass:"col col6"},[s("a",{staticClass:"btn btn_rounded btn_way",attrs:{href:"http://map.naver.com/index.nhn?slng=&slat=&stext=&elng="+t.dataset.location.longitude+"&elat="+t.dataset.location.latitude+"&etext="+encodeURI(t.dataset.name)+"&menu=route&pathType=1",target:"_blank"}},[t._m(3)])])])])]),t._v(" "),s("div",{staticClass:"map"},[t.loadMap&&t.isPc?s("div",{staticStyle:{width:"100%",height:"640px"},attrs:{id:"map"}}):t._e(),t._v(" "),t.loadMap&&!t.isPc?s("div",{staticStyle:{width:"375px",height:"375px"},attrs:{id:"map"}}):t._e(),t._v(" "),s("div",{staticClass:"btn_util"},[s("a",{staticClass:"btn_lock",attrs:{title:"지도잠금설정"},on:{click:t.setZoomable}},[t.mapMoveStatus?s("i",{staticClass:"sp_icon ico_lock_off"},[t._v("지도잠금해제")]):s("i",{staticClass:"sp_icon ico_lock_on"},[t._v("지도잠금설정")])]),t._v(" "),s("span",{staticClass:"btn_zoom"},[s("a",{staticClass:"zoomin",attrs:{title:"지도확대"},on:{click:t.zoomIn}},[s("i",{staticClass:"sp_icon ico_zoomin"},[t._v("지도확대")])]),t._v(" "),s("a",{staticClass:"zoomout",attrs:{title:"지도축소"},on:{click:t.zoomOut}},[s("i",{staticClass:"sp_icon ico_zoomout"},[t._v("지도축소")])])])])])])}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col col6"},[s("a",{staticClass:"btn btn_rounded_disabled"},[s("span",{staticClass:"btn_inner"},[t._v("전화걸기 ")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col col6"},[s("a",{staticClass:"btn btn_rounded_disabled"},[s("span",{staticClass:"btn_inner way"},[t._v("길찾기 ")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"btn_inner"},[s("i",{staticClass:"ico_call sp_icon"}),t._v("전화걸기 ")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"btn_inner way"},[s("i",{staticClass:"ico_way sp_icon"}),t._v("길찾기 ")])}],!1,null,null,null);e.a=n.exports},943:function(t,e,s){"use strict";var a={props:["modalStatus","info"],data:function(){return{}},methods:{closeModal:function(){this.$emit("update:modalStatus",!1)}}},i=s(7),n=Object(i.a)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"layer_popup call _popup2"},[s("div",{staticClass:"popup_wrap"},[s("div",{staticClass:"pop_container"},[t._m(0),t._v(" "),s("div",{staticClass:"call_info"},[t._v("\n\t\t\t\t\t"+t._s(t.info.product)),s("br"),t._v(" "),s("a",{attrs:{href:"tel:"+t.info.phone}},[t._v(t._s(t.info.phone))])]),t._v(" "),s("div",{staticClass:"btns full"},[s("a",{staticClass:"btn btn_full btn_default",on:{click:t.closeModal}},[t._v("확인")])])])])])}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"pop_guide_txt"},[t._v('\n\t\t\t\t\t"스페이스클라우드를 통해 연락드렸어요~"'),s("br"),t._v("\n\t\t\t\t\t라고 말씀하시면 더 친절하게 안내 받으실 수 있습니다. :)\n\t\t\t\t")])}],!1,null,null,null);e.a=n.exports},969:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE+SURBVHgBjVE7TsNAEN21HckdcevK7qiQf4VrcxEEBzBwABI4AMkROEEKegQHMJZzgoTKZVJa/vLGYq0FOSQjjWe9b97MvFmVSeb7fmya5nme52t2xBRx8DxvhrDsus5gJxgXJM75HMeXyWTyOJZYFMU+y7L9QHQcx1JVdcNO6cL5IkmS+35UVNniQnShjvaYIyeCjCtMd0uJGn1QZR4EAQMwK8tynabp8m8313W/EF4VRbkYiBKZNOwOjNkhfMA7oXEKjYumae5k8WTAKBjAn4E/4bxBzu/lACAtW5wHIu5YVVUGxvtER/q/FOR+OTSepmkxSYHbwlHE1nV9CuLNT+c3RGvQCCBCtRWqxm3bskOvAT8D+QHxmstIGIbWGKOuaxsbX8F3KBz1T8j+MWk5KUidIPVTsuNG63+XSWTf99eT3G+0pGAAAAAASUVORK5CYII="},970:function(t,e,s){var a=s(1084);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(48).default)("505c8a4d",a,!0,{sourceMap:!1})},971:function(t,e,s){var a=s(1086);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(48).default)("730f626f",a,!0,{sourceMap:!1})},972:function(t,e,s){var a=s(1088);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(48).default)("386f8352",a,!0,{sourceMap:!1})},973:function(t,e,s){var a=s(1090);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(48).default)("349b5d34",a,!0,{sourceMap:!1})},974:function(t,e,s){var a=s(1092);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,s(48).default)("2fae0bab",a,!0,{sourceMap:!1})}}]);