1import{_ as q,B as H,r as t,s as b,af as n,k as M,n as $,w as x,o as i,c as L,a as c,H as N,e as a,b as r,u as S,t as V,F as j,A as l,y as w}from"./index.8b8a029b.js";import{T as P}from"./TopBar.776729d8.js";import{M as Y}from"./ModalPopup.765bb40f.js";import{L as z}from"./Loading.1c89d383.js";import{R as A}from"./DataUtil.775ca35c.js";import{T as E}from"./TopBar-Desk.7febdca6.js";import{F as G}from"./Footer-Desk.ed938872.js";import{S as J}from"./ScrollNavi.e83c0420.js";import"./ScrollObserver.a9823870.js";const K={class:"container main_course"},Q=["src"],W={class:"pgBottomBox pgBottomBox--fixed"},X={class:"inner"},Z={__name:"CourseDetailHtml",setup(ee){var g,C,h,y,k;H();const o=t({login:!1}),m=t(!1),D=b.getters["account/getUserInfo"],f=t(""),p=(g=n().query)==null?void 0:g.courseId,_=(C=n().query)==null?void 0:C.courseName,I=(h=n().query)==null?void 0:h.regionCode,F=(y=n().query)==null?void 0:y.regionName,R=(k=n().query)==null?void 0:k.htmlUrl,d=t({name:""}),v=t({start_time:null,end_time:null,service_type:"RTM",fare_type:null,course_id:p,start_spot:null,end_spot:null,spot_list:[],total_distance:null,total_time:null,useCart:!1,regionCode:I,regionName:F,courseName:_,price:null,usageFee:null,timezone:null,courseImageUrl:null,cancelDesc:null});M(()=>{d.value.name=_,T()});function T(){$.home.reservation.recommCourseInfo({course_id:p}).then(e=>{A.setReserveDataFromCourse(v.value,e.body),f.value=R}).finally(()=>{setTimeout(()=>{m.value=!0},300)})}function U(){if(D.user_no==null){l.onBack(()=>{o.value.login=!1}),o.value.login=!0;return}b.dispatch("reserve/mergeOngoing",v.value),l.push({name:"CourseOption"})}function O(){o.value.login=!1,l.push({name:"Login"})}let u=0;return x(()=>o,e=>{var s=!1;for(let B in e.value)e.value[B]&&(s=!0);s?(u=window.scrollY,w(!0,u)):w(!1,u)},{deep:!0}),(e,s)=>(i(),L(j,null,[c(` \uCD94\uCC9C \uD22C\uC5B4 \uC608\uC57D \uC0C1\uC138 (html) 2 \uD50C\uB85C\uC6B0 3 \uC0C1\uC138 -> \uC635\uC158\uC120\uD0DD -> \uC608\uC57D\uC815\uBCF4 \uC785\uB825 -> \uC608\uC57D\uC815\uBCF4 \uD655\uC778 4 `),m.value?c("v-if",!0):(i(),N(z,{key:0})),a(P,{title:d.value.name},null,8,["title"]),a(E),r("div",K,[r("iframe",{src:f.value,class:"content content_html"},null,8,Q),o.value.login?(i(),N(Y,{key:0,desc:e.$t("loginToResv"),lbConfirm:e.$t("login")+"/"+e.$t("signup"),onOnConfirm:O,onOnCancel:s[0]||(s[0]=B=>S(l).back())},null,8,["desc","lbConfirm"])):c("v-if",!0)]),r("div",W,[r("div",X,[r("button",{class:"btnFull",onClick:U},V(e.$t("makeResv")),1)])]),a(J),a(G)],64))}},ce=q(Z,[["__scopeId","data-v-2f0cf7bd"],["__file","/Users/jsh/emgram/blackbird/source/tourist_webapp.git/src/views/home/reserve/courseTour/CourseDetailHtml.vue"]]);export{ce as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.