PageSourceSearch

https://dpg.danawa.com/news/js/application_v3/model/dpgGnb/stampEvent-min.js?v=20260909000600

js danawa.com collected 2026-09-24 08:49:03 UTC 9,653 bytes, 12 lines download raw bytes

1'use strict';const DanawaCommunityStampEvent=function(p){let c={stamp:{position:{x:0,y:0}},isLogined:!1,member:null,event:null},d={};const h=function(b,a,e,f){COMMUNITY_LOG_UTILS.log(c.event);COMMUNITY_LOG_UTILS.log(b);COMMUNITY_LOG_UTILS.log(a);COMMUNITY_LOG_UTILS.log(e);COMMUNITY_LOG_UTILS.log(f);const d=COMMUNITY_ENV_UTILS.isRealServer()||COMMUNITY_ENV_UTILS.isStageServer()?"http://event.danawa.com":"http://event-t.danawa.com";f='<div class="stamp_pop" id="danawa-community-common-stamp-result-self" style="border-color: '+
2c.event.stampBgColor+';"><div class="stamp_title" style="color: '+c.event.stampBgColor+';"><div class="stamp_inner">'+c.event.stampLayerBannerText+'</div></div><div class="stamp_img"><img src="'+f+'" alt="'+a+'번째 스탬프"></div><div class="stamp_info"><div class="stamp_inner">';return f=(a===e?f+('<div class="text1">'+e+"개의 스탬프를 모두 모으셨습니다.</div><div class=\"text2\">응모페이지의 '응모하기' 버튼을 클릭하셔야 응모가 완료됩니다.</div>"):f+('<div class="text1">'+b+' 스탬프를 획득하셨습니다.</div><div class="text2">남은 스탬프는 '+(e-a)+"개입니다.</div>"))+
3('</div></div><div class="stamp_link"><a href="'+d+"/global/event.php?nEventSeq="+c.event.eventSeq+"&nMenuSeq="+c.event.eventMenuSeq+'" target="_blank" class="btn_stamp_go" style="background-color: '+c.event.stampBgColor+';">응모하러 가기</a></div><div class="stamp_event_info">* 이벤트에 응모하시려면 ‘응모하러 가기’<br> 버튼을 눌러 응모페이지로 이동해주세요.</div><a href="" id="danawa-community-common-stamp-result-close" class="stamp_layer_close">닫기</a></div>')},k=function(){const b=new CommunityNetService;b.setCallback("succeed",function(a){200===
4a.status?(c.event=a.data,a='<div class="pop_type1" id="danawa-community-common-stamp-self" style="top: '+c.stamp.position.x+"px; left: "+c.stamp.position.y+'px;"><a href="" id="danawa-community-common-stamp-link"><img src="'+a.data.stampFloatImage+'" alt="'+a.data.stampLayerBannerText+'"></a><a href="" class="pop_close" id="danawa-community-common-stamp-close"></a><p class="today_chk today_chk_v4"><label for="danawa-community-common-stamp-closeToday"><input id="danawa-community-common-stamp-closeToday" type="checkbox"/>오늘 하루 숨기기</label></p></div>',
5$("#danawa-community-gnb-stampEvent-self").append(a)):COMMUNITY_LOG_UTILS.log(a)});b.setCallback("errored",function(a){COMMUNITY_LOG_UTILS.log(a)});b.getData(COMMUNITY_GLOBAL.RELATIVE_URL.MAIN+"/rest/getStampEvent",{})},l=function(b){b.preventDefault();b=$("#danawa-community-common-stamp-participate-name").val();var a=$("#danawa-community-common-stamp-participate-email").val();const e=$("#danawa-community-common-stamp-participate-agree").is(":checked");null===b||""===b?(alert("이름을 입력해주세요."),$("#danawa-community-common-stamp-participate-name").focus()):
6null===a||""===a?(alert("이메일을 입력해주세요."),$("#danawa-community-common-stamp-participate-email").focus()):e?($("#danawa-community-gnb-stampEvent-self").empty(),b={eventMenuSeq:c.event.eventMenuSeq,memberSeq:c.member.seq,name:b,email:a},a=new CommunityNetService,a.setCallback("succeed",function(a){200===a.data.status?(a=h(a.data.stampJoinTitle,a.data.memberJoinCnt,a.data.joinLimitCount,a.data.stampImageUrl),$("#danawa-community-gnb-stampEvent-self").append(a)):COMMUNITY_LOG_UTILS.log(a)}),a.setCallback("errored",
7function(a){COMMUNITY_LOG_UTILS.log(a)}),a.postData(COMMUNITY_GLOBAL.RELATIVE_URL.MAIN+"/rest/participateStampEvent",b)):(alert("개인정보 수집 및 이용에 관한 동의가 필요합니다."),$("#danawa-community-common-stamp-participate-agree").focus())},m=function(b){b.preventDefault();if(c.isLogined){$("#danawa-community-gnb-stampEvent-self").empty();b={eventMenuSeq:c.event.eventMenuSeq,memberSeq:c.member.seq};const a=new CommunityNetService;a.setCallback("succeed",function(a){200===a.status&&(1E3===a.data.status?$("#danawa-community-gnb-stampEvent-self").append('<div class="event_layer_form social_layer_form" id="danawa-community-common-stamp-participate-self" style="display: block; top: 200px;"><div class="evt_layer_title"><span>스탬프</span> 참여자 정보 입력</div><a href="" class="evt_close" id="danawa-community-common-stamp-participate-close"><span class="blind">스탬프 참여자 정보입력 레이어 닫기</span></a><div class="evt_content"><dl class="evt_form_area" id="form_item_number"><dt class="tit_inpt_mid"><label for="danawa-community-common-stamp-participate-name">이름</label></dt><dd class="mgb20"><input type="text" class="adress_input sns_user_input" id="danawa-community-common-stamp-participate-name"></dd><dt class="tit_inpt_mid"><label for="danawa-community-common-stamp-participate-email">이메일</label></dt><dd class="mgb20"><input type="text" class="adress_input sns_user_input" id="danawa-community-common-stamp-participate-email"></dd><dt class="tit_inpt_mid tit_agree">개인정보 수집 및 이용에 관한 동의</dt><dd><div class="privacy_text_area"><p class="list_item">이벤트에 당첨되신 회원님의 개인정보는 이벤트 참여확인 및 본인확인, 경품 배송 이외의 목적으로 활용되지 않습니다. 개인정보 수집자 (㈜커넥트웨이브) 및 제공받는자(다나와)는 개인 정보를 전달받는 시점으로부터 개인정보를 3개월 이내에 지체없이 파기합니다. 제세공과금 대상 경품 당첨일 경우, 개별 연락을 통해 신분증 사본을 요구할 수 있습니다.</p><p class="list_item"><strong>[개인정보 수집자]</strong><br>㈜커넥트웨이브<br>1. 개인정보 수집범위 <br>아이디, 성명, 휴대폰번호, 주소, E-mail 주소, 참여 일시, IP Address <br></p><p class="list_item">2. 개인정보 수집 및 이용목적 <br>이벤트 참여확인 및 본인 확인, 경품 제공<br></p><p class="list_item">3. 개인정보 보유 및 이용기간 <br>이용자의 개인정보는 3개월 동안 보유하며, 원칙적으로 개인정보의 수집 및 이용목적이 달성되면 지체 없이 파기함 <br></p><p class="list_item"><strong>[개인정보 제공받는 자]</strong><br>㈜커넥트웨이브<br>1. 개인정보 수집범위 <br>아이디, 성명, 휴대폰번호, 주소, E-mail 주소 <br></p><p class="list_item">2. 개인정보 수집 및 이용목적 <br>이벤트 참여확인 및 본인 확인, 경품 제공<br></p><p class="list_item">3. 개인정보 보유 및 이용기간 <br>이용자의 개인정보는 3개월 동안 보유하며, 원칙적으로 개인정보의 수집 및 이용목적이 달성되면 지체 없이 파기함 <br></p><p class="list_item">※ 잘못된 개인정보 입력 시 발생되는 불이익(연락불가, 당첨취소, 배송불가 등)은 책임지지 않습니다.<br>
7※ 개인정보 수집 및 제공에 대한 동의 철회는 개인정보 수집일로부터 3개월 이내에 요청이 가능합니다.<br>※ 약관동의 철회시 해당 이벤트의 당첨 대상에서 제외되며, 당첨자 선정 및 경품 배송 이후 철회 요청시에는 당첨 취소 및 경품을 반납하셔야 합니다.<br>※ 이벤트 개인정보 수집약관 동의 철회는 아이디와 함께 철회하고자 하는 이벤트를 기재하여 다나와 이벤트 담당자([email protected])에게 신청해 주십시오.<br></p></div></dd><dd class="tit_inpt_mid tit_pri_agree"><input type="checkbox" id="danawa-community-common-stamp-participate-agree" title="개인정보 수집 동의"><label for="danawa-community-common-stamp-participate-agree">동의합니다.</label></dd></dl></div><a href="" class="btn_evt_comp" id="danawa-community-common-stamp-participate-apply">확인</a></div>'):
8200===a.data.status?(a=h(a.data.stampJoinTitle,a.data.memberJoinCnt,a.data.joinLimitCount,a.data.stampImageUrl),$("#danawa-community-gnb-stampEvent-self").append(a)):COMMUNITY_LOG_UTILS.log(a))});a.setCallback("errored",function(a){COMMUNITY_LOG_UTILS.log(a)});a.postData(COMMUNITY_GLOBAL.RELATIVE_URL.MAIN+"/rest/participateStampEvent",b)}else COMMUNITY_LOGIN_UTILS.loginConfirm()},g=function(b){b.preventDefault();$("#danawa-community-gnb-stampEvent-self").empty()},n=function(b){b.preventDefault();
9$("#danawa-community-gnb-stampEvent-self").empty();b=new CommunityNetService;b.setCallback("succeed",function(a){200!==a.status&&COMMUNITY_LOG_UTILS.log(a)});b.setCallback("errored",function(a){COMMUNITY_LOG_UTILS.log(a)});b.postData(COMMUNITY_GLOBAL.RELATIVE_URL.MAIN+"/rest/closeTodayStampEvent",{})};this.initialize=function(b){c.stamp.position.x=_.random(0,$(window).width()-150);c.stamp.position.y=_.random(200,$(window).height());c.isLogined=void 0!==b.member&&null!==b.member;c.isLogined&&(c.member=
10b.member)};this.show=function(){d=$("#danawa-community-gnb-stampEvent-self");k();d.on("click","#danawa-community-common-stamp-link",m);d.on("click","#danawa-community-common-stamp-close",g);d.on("click","#danawa-community-common-stamp-result-close",g);d.on("click","#danawa-community-common-stamp-participate-close",g);d.on("click","#danawa-community-common-stamp-closeToday",n);d.on("click","#danawa-community-common-stamp-participate-apply",l)};this.setCallback=function(b,a){if(_.isFunction(a))switch(b){case "initialized":callback.initialized=
11a;break;case "completed":callback.completed=a;break;default:throw Error("알 수 없는 콜백 이름입니다.");}else throw new TypeError("매개변수가 Function 타입이 아닙니다.");};this.getView=function(){return view};this.getStatus=function(){return c};this.getModel=function(){return model}};
12

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.