1import{_ as y,c as o,G as k,e as s,t as u,F as l,f as m,H as a,u as _,p as G,o as r,j as f,k as b,I as h}from"./2fJvMp9r.js";const w={async setup(){const t=_(),e=G();return{siteStore:t,sessionServiceStore:e}},data:function(){return{segmentData:this.retrieve("segmentData"),gender:"",ageGroup:""}},computed:{signed:function(){return this.sessionServiceStore.signed},segmentList(){const t=this.segmentData;return t.loaded&&t.status=="200"?t.data.items:[]}},mounted:function(){const t=this;this.quickscroll(),this.$nextTick(function(){setTimeout(function(){let e,i;t.signed?(e=t.sessionServiceStore.gender,i=t.sessionServiceStore.ageGroup,e&&i&&(a.set("gender",e,{expires:365,path:"/"}),a.set("ageGroup",i,{expires:365,path:"/"}))):(e=a.get("gender"),i=a.get("ageGroup")),t.gender=e,t.ageGroup=i,$("input:radio[name='gender']:radio[value="+e+"]").prop("checked",!0),$("input:radio[name='ageGroup']:radio[value="+i+"]").prop("checked",!0),(a.get("isSurveyOpen")||"true")!="false"},500)})},methods:{quickscroll(){var t=parseInt($(".quick-wrap").css("top"));
1$(window).scroll(function(){var e=$(window).scrollTop();$(".quick-wrap").stop().animate({top:e+t+"px"},1e3)}),$(".curation-cont .btn-close").click(function(){$(".curation-cont").removeClass("block"),$(".btn-curation").removeClass("on"),$(".curation-cont").hide()}),$(".btn-top").click(function(){return $("html, body").animate({scrollTop:0},200),!1})},sendSurvey:function(t){if(!this.gender){alert("ì±ë³ì ì íí´ì£¼ì¸ì.");return}if(!this.ageGroup){alert("ì°ë ¹ë를 ì íí´ì£¼ì¸ì.");return}a.set("gender",this.gender,{expires:365,path:"/"}),a.set("ageGroup",this.ageGroup,{expires:365,path:"/"}),a.set("isSurveyOpen",!1,{path:"/"}),this.fetch({api:"segment/register",data:{ageGroup:this.ageGroup,gender:this.gender}}).then(e=>{e.status==200&&location.reload()}).catch(e=>console.error(e))}}},q={id:"quick01",class:"quick-wrap"},L={type:"button",class:"btn-curation"},O=["href"],T={class:"curation-cont"},C={key:0,class:"gender-wrap"},N=["id","value"],D=["for"],V={key:1,class:"age-wrap"},H=["id","value"],B=["for"];function E(t,e,i,S,x,c){return r(),o("div",q,[e[4]||(e[4]=k('<div class="btn-hotline" data-v-7c4320b2><span class="txt1" data-v-7c4320b2>+8264</span><br data-v-7c4320b2><span class="txt2" data-v-7c4320b2>740 6000</span><br data-v-7c4320b2><span class="txt3" data-v-7c4320b2>HOTLINE</span></div><button type="button" class="btn-online btn_chat_go" data-v-7c4320b2><i data-v-7c4320b2>ONLINE<br data-v-7c4320b2>CHAT</i></button>',2)),s("button",L,[s("a",{class:"info",href:t.$getHref("/tourInfo/inquiry?tap=one&menuId="+t.$i("src.menu.tourCenter"))},[s("span",null,u(t.$i("footInfo.info5")),1)],8,O)]),s("div",T,[s("p",null,u(t.$i("survey.msg1")),1),(r(!0),o(l,null,m(c.segmentList,(d,p)=>(r(),o(l,{key:p},[p==0?(r(),o("div",C,[s("strong",null,u(d.segmentnm),1),(r(!0),o(l,null,m(d.lowSegmentList,(n,g)=>(r(),o(l,{key:g},[b(s("input",{id:n.segmentid,"onUpdate:modelValue":e[0]||(e[0]=v=>t.gender=v),name:"gender",type:"radio",value:n.segmentid},null,8,N),[[h,t.gender]]),s("label",{for:n.segmentid},u(n.segmentnm),9,D)],64))),128))])):f("",!0),p==1?(r(),o("div",V,[s("strong",null,u(d.segmentnm),1),(r(!0),o(l,null,m(d.lowSegmentList,(n,g)=>(r(),o(l,{key:g},[b(s("input",{id:n.segmentid,"onUpdate:modelValue":e[1]||(e[1]=v=>t.ageGroup=v),name:"ageGroup",type:"radio",value:n.segmentid},null,8,H),[[h,t.ageGroup]]),s("label",{for:n.segmentid},u(n.segmentnm),9,B)],64))),128))])):f("",!0)],64))),128)),s("a",{class:"submit",onClick:e[2]||(e[2]=(...d)=>c.sendSurvey&&c.sendSurvey(...d))},u(t.$i("survey.msg2")),1),e[3]||(e[3]=s("button",{type:"button",class:"btn-close"},[s("i",{class:"hidden"},"close")],-1))]),e[5]||(e[5]=s("button",{type:"button",class:"btn-top"},[s("i",{class:"hidden"},"TOP")],-1))])}const I=y(w,[["render",E],["__scopeId","data-v-7c4320b2"]]);export{I 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.