PageSourceSearch

https://event-us.kr/Content/dist/js/EvEventBuilder-index-vue.272eb90ce58aacc9.js

js event-us.kr collected 2026-09-24 08:51:22 UTC 9,150 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkeventus_ui"]=self["webpackChunkeventus_ui"]||[]).push([[5538],{88604:function(e,t,i){i.r(t),i.d(t,{default:function(){return u}});var a=i(70821);const o={class:"flex h-full flex-col"},n={class:"flex min-h-0 flex-1"};function s(e,t,i,s,r,l){const d=(0,a.resolveComponent)("ev-event-settings"),c=(0,a.resolveComponent)("ev-project-builder"),u=(0,a.resolveComponent)("ev-event-status-modal");return(0,a.openBlock)(),(0,a.createElementBlock)("div",o,[(0,a.createElementVNode)("div",n,[(0,a.createVNode)(d,(0,a.mergeProps)({ref:"settings",class:l.builderCanvasVisible?"shrink-0":"min-w-0 flex-1",shape:r.activeTab,"content-hidden":l.builderCanvasVisible},i.detailsData,{"is-pro":i.isPro,onSelectSection:l.onSelectSection,onSaved:t[0]||(t[0]=e=>l.onBasicSaved(e)),onSwitchTab:l.selectTab,onDetailHtml:t[1]||(t[1]=e=>r.detailHtml=e),onPlaceInfo:t[2]||(t[2]=e=>r.placeInfo=e),onGoogleImportViewed:t[3]||(t[3]=e=>s.tracker.googleImportViewed()),onGoogleImportAnalyzed:t[4]||(t[4]=e=>s.tracker.googleImportSubmitted(e)),onGoogleImportApplied:t[5]||(t[5]=e=>s.tracker.googleImportCompleted(e)),onThumbnailViewed:t[6]||(t[6]=e=>s.tracker.thumbnailViewed()),onThumbnailCreated:t[7]||(t[7]=e=>s.tracker.thumbnailCreated(e)),onThumbnailDownloaded:t[8]||(t[8]=e=>s.tracker.thumbnailDownloaded(e))}),null,16,["class","shape","content-hidden","is-pro","onSelectSection","onSwitchTab"]),r.builderMounted?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createBlock)(c,(0,a.mergeProps)({key:0,ref:"builder",class:"min-w-0 flex-1",onSectionSelected:t[9]||(t[9]=e=>r.builderShowsInfo=!1)},e.$attrs,{"is-pro":i.isPro,"guard-leave":!1,source:"integrated","use-builder-save-note":l.builderSaveNote,"event-detail-html":r.detailHtml,"event-place":r.placeInfo.place,"event-place-description":r.placeInfo.placeDescription,"event-address":r.placeInfo.address,"event-latitude":r.placeInfo.latitude,"event-longitude":r.placeInfo.longitude,"event-system-type":r.placeInfo.systemType}),null,16,["is-pro","use-builder-save-note","event-detail-html","event-place","event-place-description","event-address","event-latitude","event-longitude","event-system-type"])),[[a.vShow,l.builderCanvasVisible]]):(0,a.createCommentVNode)("",!0)]),(0,a.createVNode)(u,{variant:"builder2",open:r.statusModalOpen,"reception-type":l.receptionType,"status-list":l.statusList,"sub-domain":l.subDomain,"project-id":l.projectId,"show-tutorial":"",onClose:l.closeStatusModal,onStartTutorial:l.startTutorial},null,8,["open","reception-type","status-list","sub-domain","project-id","onClose","onStartTutorial"])])}i(57658);function r(e,t){const i=window.mixpanel;function a(){return{event_id:Number(e),page_path:location.pathname,source:"integrated",tab:"function"===typeof t?t():"basic"}}return{viewed(){i?.track("HostCenter_EventInfo_Viewed",a())},tabClicked(e){const t="builder"===e?"AI 빌더":"기본";i?.track("HostCenter_EventInfo_Clicked",{...a(),click_text:t})},sectionClicked(e,t){i?.track("HostCenter_EventInfo_Clicked",{...a(),click_text:t||e,section:e})},saved(){i?.track("HostCenter_EventInfo_Saved",{...a()})},googleImportViewed(){i?.track("HostCenter_GoogleFormImport_Viewed",{...a()})},googleImportSubmitted(e){i?.track("HostCenter_GoogleFormImport_Submitted",{...a(),question_count:e?.questionCount??0,used_rule_fallback:!!e?.usedRuleFallback,elapsed_ms:e?.elapsedMs??0,model:e?.model||""})},googleImportCompleted(e){i?.track("HostCenter_GoogleFormImport_Completed",{...a(),row_count:e?.rowCount??0,tag_count:e?.tagCount??0,title_applied:!!e?.titleApplied,intro_applied:!!e?.introApplied,one_line_intro_applied:!!e?.oneLineIntroApplied})},thumbnailViewed(){i?.track("HostCenter_EventInfo_Clicked",{...a(),click_text:"썸네일 만들기",section:"cover"})},thumbnailCreated(e){i?.track("HostCenter_EventInfo_Clicked",{...a(),click_text:"이 썸네일 사용",section:"cover",decoration_id:e?.decorationId||"",style_id:e?.styleId||"",align_id:e?.alignId||"",has_badge:!!e?.hasBadge})},thumbnailDownloaded(e){i?.track("HostCenter_EventInfo_Clicked",{...a(),click_text:"PNG 다운로드",section:"cover",decoration_id:e?.decorationId||"",style_id:e?.styleId||"",align_id:e?.alignId||""})}}}var l={name:"EvEventBuilder",inheritAttrs:!1,props:{detailsData:{type:Object,default:()=>({})},isPro:{type:Boolean,default:!1}},setup(e){const t=(0,a.ref)("basic");return{trackerShape:t,tracker:r(e.detailsData?.projectid,(()=>t.value))}},data(){const e="undefined"!==typeof window&&window.innerWidth<1024,t=["reception","cover","category","title","date","detail","place","networking","branding","card"];let i="";try{const e=(window.location.hash||"").replace(/^#/,"").trim();i=e?decodeURIComponent(e):(new URLSearchParams(window.location.search||"").get("section")||"").trim()}catch(n){i=""}const a=t.includes(i),o=a?"basic":!e&&this.detailsData&&this.detailsData.useBuilder?"builder":"basic";return{activeTab:o,builderMounted:"builder"===o,builderShowsInfo:!1,detailHtml:"",placeInfo:{place:"",placeDescription:"",address:"",latitude:"",longitude:"",systemType:"offline"},isMobile:e,statusModalOpen:!1,hasCoverImage:!!(this.detailsData&&this.detailsData.initialProject&&this.detailsData.initialProject.CoverImageUrl),leav
1ing:!1}},computed:{builderCanvasVisible(){return"builder"===this.activeTab&&!this.builderShowsInfo},builderSaveNote(){return this.hasCoverImage?"":"행사 썸네일이 아직 없어요. 기본 탭에서 썸네일도 설정해 주세요."},subDomain(){return this.detailsData&&this.detailsData.subdomain||""},projectId(){return this.detailsData&&this.detailsData.projectid||""},receptionType(){return this.detailsData&&this.detailsData.initialProject&&this.detailsData.initialProject.ReceptionType||"eventus"},statusList(){const e=this.detailsData&&this.detailsData.projectStatus||{},t=this.receptionType,i=`/hostcenter/channel/${this.subDomain}/${this.projectId}`;return[{title:"행사 정보",isSuccess:!!e.BasicInfo&&!!e.Detail&&!!e.Place,isShow:!0,group:"event"},{title:"티켓 / 쿠폰 / 신청 기간",isSuccess:!!e.Ticket,isShow:"donotuse"!==t,href:`${i}/set/tickets`,group:"apply"},{title:"수집 정보",isSuccess:!!e.UserInfo,isShow:"eventus"===t,href:`${i}/set/userinfo`,group:"apply"},{title:"결제 / 참가 확정 방법",isSuccess:!!e.Payment,isShow:"eventus"===t,href:`${i}/set/payment-approval`,group:"apply"}]}},watch:{activeTab:{immediate:!0,handler(e){this.trackerShape=e,"builder"===e&&(this.builderMounted=!0)}}},mounted(){this.tracker.viewed(),window.addEventListener("resize",this.onResize),window.addEventListener("beforeunload",this.handleBeforeUnload),document.addEventListener("click",this.handleLinkClick),"undefined"!==typeof window&&window.sessionStorage&&"true"===sessionStorage.getItem("showModal_detail")&&(sessionStorage.removeItem("showModal_detail"),this.openStatusModal())},beforeUnmount(){window.removeEventListener("resize",this.onResize),window.removeEventListener("beforeunload",this.handleBeforeUnload),document.removeEventListener("click",this.handleLinkClick)},methods:{onResize(){this.isMobile=window.innerWidth<1024,this.isMobile&&"builder"===this.activeTab&&(this.activeTab="basic")},selectTab(e){if("builder"===e&&this.isMobile){const e="AI 빌더는 데스크탑에서 이용할 수 있어요.";window.ui?.toast?window.ui.toast({theme:"info",message:e,duration:3e3}):window.alert(e)}else"builder"===e&&(this.builderShowsInfo=!1),this.activeTab!==e&&(this.activeTab=e,this.tracker.tabClicked(e))},unsavedTabNames(){const e=[];return this.$refs.settings?.checkForChanges?.()&&e.push("행사 정보"),this.$refs.builder?.isDirty?.()&&e.push("AI 빌더"),e},handleBeforeUnload(e){this.leaving||0===this.unsavedTabNames().length||(e.preventDefault(),e.returnValue="")},handleLinkClick(e){const t=e.target.closest("a[href]");if(!t)return;const i=t.getAttribute("href");if(!i||i.startsWith("#")||i.startsWith("javascript:")||"_blank"===t.target)return;const a=this.unsavedTabNames();0!==a.length&&(e.preventDefault(),e.stopPropagation(),window.ui.alert({title:"저장하지 않은 변경사항이 있습니다",description:`${a.join("과 ")}에 저장하지 않은 변경사항이 있습니다. 페이지를 떠나면 사라집니다. 계속하시겠습니까?`,confirmTitle:"페이지 떠나기",closeTitle:"취소",confirmTheme:"danger",onConfirm:()=>{this.leaving=!0,window.location.href=i}}))},onSelectSection(e,t){"builder"===this.activeTab&&"card"!==e&&(this.builderShowsInfo=!0),this.tracker.sectionClicked(e,t)},onBasicSaved(e){e&&"boolean"===typeof e.hasCoverImage&&(this.hasCoverImage=e.hasCoverImage),this.tracker.saved()},openStatusModal(){this.statusModalOpen=!0},closeStatusModal(){this.statusModalOpen=!1},startTutorial(){this.statusModalOpen=!1,this.$nextTick((()=>{window.EventusTutorial&&window.EventusTutorial.start("event-publish")}))},async save(){const e=this.$refs.settings,t=this.$refs.builder;if("builder"!==this.activeTab)return e?.save();const i=!!e?.checkForChanges?.(),a=!!t?.isDirty?.();if(!i&&!a)return this.builderCanvasVisible?t?.save():e?.save();if(i){const t=await e.save({silent:a});if(!t)return!1}return!a||t.save()}}},d=i(83744);const c=(0,d.Z)(l,[["render",s]]);var u=c}}]);

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.