PageSourceSearch

https://www.dunkindonuts.co.kr/build/assets/menuList-e63f009f.js

js dunkindonuts.co.kr collected 2026-10-02 10:42:35 UTC 19,622 bytes, 1 lines download raw bytes

1import{r as u,a as n,j as e,F as x,X as k,x as g}from"./app-f6a783ad.js";import{R as b,L as v,T as y,C as _,V as $,I as j,e as R,S as A,A as T,b as L,m as O,n as U,M as f,l as F}from"./react-responsive-f14faefc.js";import{c as h,a as z}from"./index-5ce936a8.js";import{C as B}from"./client-button-1d93ceee.js";import{H}from"./switch-85bcfb7e.js";import{M as K,D as P}from"./Mobile-8dd5d62e.js";const S=u.forwardRef(({className:t,children:l,...a},s)=>n(b,{ref:s,className:h("relative z-10",t),...a,children:[l,e(C,{})]}));S.displayName=b.displayName;const E=u.forwardRef(({className:t,...l},a)=>e(v,{ref:a,className:h("group flex flex-1 list-none items-center justify-center space-x-1",t),...l}));E.displayName=v.displayName;const G=R,V=z("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:text-destructive focus:text-destructive focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),M=u.forwardRef(({className:t,children:l,...a},s)=>e(y,{ref:s,className:h(V(),"group",t),...a,children:l}));M.displayName=y.displayName;const D=u.forwardRef(({className:t,...l},a)=>e(_,{ref:a,className:h("left-0 top-0 w-full md:absolute",t),...l}));D.displayName=_.displayName;const C=u.forwardRef(({className:t,...l},a)=>e("div",{className:h("fixed left-0 top-[clamp(60px,6.284vw,92px)] w-full flex justify-center group"),children:e($,{className:h("origin-top-center relative bg-white/80 backdrop-blur-md w-full overflow-hidden data-[state=open]:animate-header-down data-[state=closed]:animate-header-up",t),ref:a,...l})}));C.displayName=$.displayName;const Y=u.forwardRef(({className:t,...l},a)=>e(j,{ref:a,className:h("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",t),...l,children:e("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));Y.displayName=j.displayName;const W="https://www.dunkindonuts.co.kr/build/assets/arrow-down-522c0899.svg",I="https://www.dunkindonuts.co.kr/build/assets/logo_mobile-1833920b.png";function X({isOpen:t,setIsOpen:l,list:a,isClient:s}){return n(x,{children:[n("h1",{className:"flex xs:justify-center w-full",children:[e("span",{className:"hidden",children:"DUNKIN'"}),e("a",{href:s?"/":"/franchise",className:"gtm-click z-30 relative","data-gtm-click":"헤더-로고",children:e("img",{src:I,alt:"DUNKIN'",className:"relative bottom-[-4px] h-[56px]"})})]}),e(q,{isOpen:t,setIsOpen:l}),e("nav",{className:`fixed top-[60px] h-0 opacity-0 bg-white w-full left-0 ${t?"h-full opacity-100 nav-active":""} overflow-hidden transition-all duration-500`,children:e(A,{className:"h-[calc(100%-60px)] py-[32px]",children:n("div",{className:"w-[87.6%] mx-auto space-y-[36px]",children:[e(T,{type:"single",collapsible:!0,className:"w-full text-[24px]",children:a.map((d,i)=>{const c=Object.keys(d)[0];return e(L,{value:c,className:d[c].length>1?"border-none":"border-b border-espresso/10",children:d[c].length>1?n(x,{children:[e(O,{className:"w-full flex flex-1 items-center justify-between transition-all [&[data-state=open]>img]:rotate-180 py-[19px] pt-[35px] leading-none border-b border-espresso/10",asChild:!0,children:n("a",{className:"gtm-click","data-gtm-click":`헤더-${c}`,children:[c,e("img",{src:W,className:"transition-transform duration-200"})]})}),e(U,{className:"overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",children:e("ul",{children:n(x,{children:[c==="MENU"&&e("li",{children:e("a",{href:"/menu/all",className:"gtm-click block font-[Pretendard] font-black text-[16px] pt-[19px] pb-[11px] px-[16px] leading-none","data-gtm-click":"헤더-MENU(ALL)",onClick:()=>l(!1),children:"ALL"})}),d[c].map((r,m)=>e("li",{children:e("a",{href:r.route,className:"block font-[Pretendard] font-black text-[16px] pt-[19px] pb-[11px] px-[16px] leading-none","data-gtm-click":`헤더-${c}(${r.name})`,onClick:()=>l(!1),children:r.name})},m))]})})})]}):e("a",{href:d[c][0].route,className:"gtm-click block font-black font-[Du
1nkinSansENG,pretendard] py-[19px] pt-[35px] leading-none","data-gtm-click":`헤더-${c}`,onClick:()=>l(!1),children:c})},i)})}),e(te,{})]})})})]})}function q({isOpen:t,setIsOpen:l}){const a="h-[2px] w-[20px] rounded-full bg-espresso transition-all duration-500";return e("a",{role:"button",className:"gtm-click absolute right-0 aspect-square flex flex-col justify-center items-center h-full","data-gtm-click":`모바일 헤더-${t?"닫기":"열기"}`,onClick:()=>l(!t),children:n("div",{className:"w-[20px] h-[16px] relative",children:[e("div",{className:`${a} origin-top-right absolute top-0 right-0 ${t?"-rotate-45":""}`}),e("div",{className:`${a} absolute top-1/2 translate-y-[-50%] right-0 ${t?"opacity-0":""}`}),e("div",{className:`${a} origin-bottom-right absolute bottom-0 right-0 ${t?"rotate-45":""}`})]})})}const Q="https://www.dunkindonuts.co.kr/build/assets/logo-bc30d2d8.png",J="https://www.dunkindonuts.co.kr/build/assets/header_instagram-17093e04.svg",Z="https://www.dunkindonuts.co.kr/build/assets/header_youtube-6df669ee.svg",ee="https://www.dunkindonuts.co.kr/build/assets/header_blog-0f429453.svg";function xe({list:t}){const{url:l}=k(),a=l.indexOf("franchise")<0,[s,d]=u.useState(!a),[i,c]=u.useState(!1),r=a?t.slice(0,3):t.slice(0,2),m=a?t.slice(3):t.slice(2);return e("header",{className:"font-[DunkinSans] h-[clamp(60px,6.284vw,92px)] sticky top-0 text-espresso md:px-[10px] z-[60] bg-[url('/resources/images/common/header_bg.png')] bg-bottom lg:shadow-[0_0_20px_0_rgba(29,7,0,0.3)]",children:n("div",{className:"w-full max-w-[1464px] mx-auto h-full relative flex justify-between items-center",children:[e(f,{minWidth:976,children:e(S,{className:"w-full",children:n(E,{className:"flex-col w-full md:flex-row items-center space-x-0 justify-between gap-0",children:[e("li",{className:"flex-[1_1_33.3%]",children:e("ul",{className:`flex ${a?"justify-between":"gap-[24%]"} `,children:r.map((p,o)=>e(w,{val:p,index:o},o))})}),e("li",{className:"w-auto flex-[1_1_26%] xl:flex-none",children:n("h1",{className:"lg:h-auto",children:[e("span",{className:"hidden",children:"DUNKIN'"}),n("a",{href:a?"/":"/franchise",className:"gtm-click z-30 relative","data-gtm-click":"헤더-로고",children:[e(f,{minWidth:1464,children:e("img",{src:Q,alt:"DUNKIN'",className:"h-[clamp(60px,6.55vw,96px)] relative"})}),e(f,{maxWidth:1463,children:e("img",{src:I,alt:"DUNKIN'",className:"h-[clamp(60px,6.55vw,96px)] mt-[1%] relative"})})]})]})}),e("li",{className:"flex-[1_1_33.3%]",children:n("ul",{className:`flex ${a?"justify-between":"justify-end gap-[9.5%]"} `,children:[m.map((p,o)=>e(w,{val:p,index:o,isRightNav:!0},o)),e("li",{className:"flex items-center",children:e(g,{"data-gtm-click":`헤더-${a?"창업문의 사이트":"브랜드 사이트"}`,href:`/${a?"franchise":""}`,className:"gtm-click block w-[clamp(70px,7.5vw,120px)] h-auto aspect-[120/36]",onMouseEnter:p=>{const o=p.currentTarget.getElementsByTagName("span")[0];o.getAttribute("data-state")==="unchecked"?o.style.left="2px":o.style.right="2px",o.style.animation="none"},onMouseLeave:p=>{const o=p.currentTarget.getElementsByTagName("span")[0];o.getAttribute("data-state")==="unchecked"?(o.style.left="0px",o.style.animation="header-toggle-toF 0.13s ease"):(o.style.right="0px",o.style.animation="header-toggle-toB 0.12s ease")},children:n(H,{checked:s,onCheckedChange:d,className:h("w-full h-full p-[clamp(2px,0.3vw,4px)] relative [&>div]:font-[DunkinSansENG,pretendard] [&>div]:text-white [&>div]:tracking-tight [&>div]:absolute"),children:[e("div",{className:h("font-black text-[clamp(11px,1.1vw,18.5px)] left-[calc(clamp(5px,1.46vw,28px)+10px)]",s?"z-[-1]":"z-[1]"),children:"창업문의"}),e("div",{className:h("text-[clamp(12px,1.1vw,21px)] left-[calc(clamp(7px,0.63vw,10px)-clamp(0px,0.05vw,4px))]",s?"z-[1]":"z-[-1]"),children:"BRAND"})]})})})]})})]})})}),e(f,{maxWidth:975,children:e(X,{isOpen:i,setIsOpen:c,list:t,isClient:a})})]})})}function te(){const{url:t}=k(),l=t.indexOf("franchise")<0;return n("div",{className:"flex md:gap-[32px] justify-between",children:[n("ul",{className:"flex items-center gap-[20px]",children:[e("li",{children:e("a",{href:"https://instagram.com/dunkin_kr",target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"헤더-인스타그램",children:e("img",{src:J,alt:"instagram"})})}),e("li",{children:e("a",{href:"https://www.youtube.com/user/dunkindonutskorea",target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"헤더-유튜브",children:e("img",{src:Z,alt:"youtube"})})}),e("li",{children:e("a",{href:"http://blog.naver.com/dunkin_kr",target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"헤더-네이버 블로그",children:e("img",{src:ee,alt:"blog"})})})]}),e(B,{href:route(l?"franchise":"home"),className:"gtm-click w-fit text-[14px] h-[36px] px-[20px]","data-gtm-click":`헤더-${l?"창업문의":"브랜드"} 사이트`,children:l?"창업문의":"BRAND"})]})}function w({val:t,isRightNav:l=!1}){var c;const[a,s]=u.useState(0);function d(r){const m=r.target;s(l?m.getBoundingClientRect().right:m.getBoundingClientRect().left)}const i=Object.keys(t)[0];return e(G,{onMouseEnter:r=>d(r),children:n(x,{children:[e("a",{href:i==="MENU"?"/menu/all":(c=t[i][0])==null?void 0:c.route,className:"gtm-click block","data-gtm-click":`헤더-${i}`,children:e(M,{className:"bg-transparent text-[clamp(16px,1.36vw,20px)] data-[state=open]:bg-transparent font-black font-[Du
1nkinSansENG,pretendard]",children:i})}),e(D,{children:e("div",{className:`flex items-center ${l?"justify-end":""} w-full`,style:l?{paddingRight:`calc(100% - ${a}px)`}:{paddingLeft:`${a}px`},children:t[i].length>1&&t[i].map((r,m)=>{const p=(m+1)*.1+"s";return e("a",{href:r.route,className:"gtm-click text-[18px] px-4 py-2 text-espresso font-extrabold font-sans h-[60px] lg:h-[80px] flex items-center hover:text-destructive transition opacity-0 animate-header-item-up","data-gtm-click":`헤더-${r.name}`,style:{animationDuration:"0.35s",animationDelay:p},children:r.name},m)})})})]})})}const ae="https://www.dunkindonuts.co.kr/build/assets/arrow-up-e7446570.svg",le="https://www.dunkindonuts.co.kr/build/assets/badge-423d07f2.svg",ne="https://www.dunkindonuts.co.kr/build/assets/sns_instagram-2b751388.svg",re="https://www.dunkindonuts.co.kr/build/assets/sns_hub-6672600f.svg",se="https://www.dunkindonuts.co.kr/build/assets/sns_youtube-c3ae2245.svg",ce="https://www.dunkindonuts.co.kr/build/assets/sns_blog-541a6e04.svg";function ke({list:t,bg:l}){const{props:{auth:{sapUser:a}},url:s,component:d}=k();return e("footer",{className:`text-espresso ${l}`,children:n("div",{className:"max-w-[1464px] mx-auto w-[87.6%] md:w-[95%] 2xl:w-full py-[clamp(32px,2.73vw,40px)] relative",children:[n("div",{className:"flex justify-between",children:[n("div",{className:"space-y-[10px] md:space-y-[25px] lg:max-w-[366px]",children:[e("div",{className:"h-[40px] lg:h-auto flex items-center",children:e("img",{className:"max-w-[33vw] w-[124px] md:w-auto",src:F,alt:"DUNKIN"})}),e(K,{children:e(N,{})}),n("div",{className:"text-[12px] flex flex-wrap gap-y-[6px]",children:[e("div",{className:"w-full",children:"서울특별시 서초구 남부순환로 2620(양재동 11-149번지)"}),n("div",{className:"w-full flex justify-between flex-wrap gap-x-[10px]",children:[e("div",{children:"사업자 등록번호 : 303-81-09535"}),e("div",{children:"비알코리아(주) 대표이사 조윤상"})]}),n("div",{className:"w-full flex justify-between flex-wrap gap-x-[10px] md:pr-[16px]",children:[e("div",{children:"TEL : 080-555-3131"}),e("div",{children:"개인정보관리책임자 : 김미강"})]}),e("div",{className:"w-full",children:"COPYRIGHT Ⓒ 2024 BRKOREA COMPANY. ALL RIGHTS RESERVED."})]})]}),e("div",{className:"w-[46.5%] hidden lg:block",children:e("ul",{className:"flex justify-between",children:t.filter(i=>Object.keys(i)[0]!=="DUNKIN’ OF SEASON"&&Object.keys(i)[0]!=="창업문의").map((i,c)=>{const r=Object.keys(i)[0];return e("li",{children:n("ul",{className:"text-[12px] text-right",children:[e("li",{className:"font-[DunkinSansENG,pretendard] font-black text-espresso/50 text-[14px] leading-none mb-[9px]",children:e("a",{href:r==="MENU"?"/menu/all":i[r][0].route,className:"gtm-click block","data-gtm-click":`푸터-${r}`,children:r})}),i[r].map((m,p)=>e("li",{children:e("a",{href:m.route,className:"gtm-click leading-[1.83] block","data-gtm-click":`푸터-${r==="STORE"?"매장 찾기":m.name}`,children:r==="STORE"?"매장 찾기":m.name})},p))]})},c)})})})]}),n("div",{className:"flex justify-between items-end mt-[16px] md:mt-0",children:[n("div",{className:"flex divide-x divide-espresso/20 space-x-[12px] leading-[1.28] text-[14px]",children:[e(g,{href:a?route("userLogout"):route("userLogin"),data:d==="Client/Login"?{}:{redirect_url:s},className:"gtm-click font-bold text-primary","data-gtm-click":`푸터-${a?"로그아웃":"로그인"}`,children:a?"로그아웃":"로그인"}),e("a",{className:"gtm-click pl-[12px]","data-gtm-click":"푸터-회원가입",href:"https://www.happypointcard.com/page/join/index.spc",target:"_blank",rel:"noopener noreferrer",title:"회원가입 새 창으로 열기",children:"회원가입"}),e(g,{className:"gtm-click pl-[12px]",href:route("vocView"),"data-gtm-click":"푸터-고객센터",children:"고객센터"})]}),e(P,{children:e(N,{})})]}),n("div",{className:"md:border-t border-espresso/20 mt-[12px] pt-[12px] flex justify-between md:items-center flex-col md:mt-[20px] md:pt-[20px] md:flex-row flex-wrap lg:flex-nowrap gap-x-[10px]",children:[e("div",{className:"lg:order-last",children:n("ul",{className:"text-[14px] flex lg:grid lg:grid-cols-5 ga
1p-y-[4px] gap-x-[16px] md:gap-x-[12px] flex-wrap lg:justify-end",children:[e("li",{children:e("a",{href:route("compliance"),target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"푸터-공정거래자율준수",children:"공정거래자율준수"})}),e("li",{children:e("a",{href:"https://www.sangmidang.co.kr/compliance/hotline",target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"푸터-윤리신고센터",children:"윤리신고센터"})}),e("li",{children:e("a",{href:"http://www.happypointcard.com/serviceCenter/term1.spc",target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"푸터-이용약관",children:"이용약관"})}),e("li",{children:e(g,{className:"gtm-click text-destructive font-bold",href:route("privacy"),"data-gtm-click":"푸터-개인정보처리방침",children:"개인정보처리방침"})}),e("li",{children:e(g,{href:route("cctv"),className:"gtm-click","data-gtm-click":"푸터-영상정보처리기기운영관리방침",children:"영상정보처리기기운영관리방침"})}),e("li",{children:e(g,{href:route("safety"),className:"gtm-click","data-gtm-click":"푸터-안전보건경영방침",children:"안전보건경영방침"})}),e("li",{children:e(g,{className:"gtm-click",href:route("balancesheet"),"data-gtm-click":"푸터-결산공고",children:"결산공고"})}),e("li",{children:e(g,{href:route("denyEmail"),className:"gtm-click","data-gtm-click":"푸터-이메일무단수집거부",children:"이메일무단수집거부"})}),e("li",{children:e("a",{href:"https://procure.spc.co.kr/login?springViewName=redirect%3A%2Flogin",target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"푸터-거래희망회사 사전등록",children:"거래희망회사 사전등록"})}),e("li",{children:e("a",{href:"https://careers.sangmidang.co.kr/ko/home",target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"푸터-채용안내",children:"채용안내"})}),e("li",{children:e("a",{href:"https://www.albamon.com/jobs/brand/special/46?productCode=dfplatinumgold&clickPath=1&space=PC_MAIN&pageNo=0&pageIndex=26",target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"푸터-던킨아르바이트",children:"던킨 아르바이트"})})]})}),e(ie,{}),e("div",{className:"mt-[12px] lg:mt-0 lg:hidden xl:block",children:e("img",{src:le,alt:"badge"})})]})]})})}function ie(){const[t,l]=u.useState(!1);return e("div",{className:"w-[185px] max-w-[50vw] leading-[2.85] flex justify-between items-center absolute top-[32px] right-0 z-20 text-[14px] lg:static flex-none",children:n("div",{className:"relative w-full",children:[e("ul",{className:`gtm-click absolute left-0 pb-[40px] bottom-0 bg-white w-full rounded-[20px] transition-height ease-in-out duration-300 overflow-hidden  ${t?"h-[280px] shadow-[0_0_20px_0_rgba(0,0,0,0.05)] outline-espresso/20 outline outline-1 ":"h-0"}`,children:[{name:"상미당 HOLDINGS",url:"https://www.sangmidang.co.kr/"},{name:"배스킨라빈스",url:"https://baskinrobbins.co.kr"},{name:"파리바게뜨",url:"https://paris.co.kr"},{name:"파스쿠찌",url:"https://www.pascucci.co.kr/"},{name:"해피포인트 카드",url:"https://www.happypointcard.com/"},{name:"던킨 아르바이트",url:"http://dunkin.alba.co.kr/job/brand/"}].map((s,d)=>e("li",{children:e("a",{href:s.url,className:"gtm-click hover:text-primary block font-normal px-[20px] transition-colors",target:"_blank",title:`${s.name} 새창으로 열기`,rel:"noopener noreferrer","data-gtm-click":`푸터-${s.name}`,children:s.name})},d))}),n("a",{role:"button",onClick:()=>l(s=>!s),className:`gtm-click px-[20px] flex justify-between w-full items-center relative z-[1] rounded-[20px] font-bold bg-white ${t?"":"outline-espresso/20 outline outline-1"} `,"data-gtm-click":"푸터-FAMILY SITE",children:["FAMILY SITE",e("img",{src:ae,className:"transition-transform duration-300",style:{transform:`${t?"":"rotateX(180deg)"}`}})]})]})})}function N(){return n("ul",{className:"opacity-50 flex md:justify-end gap-[16px]",children:[e("li",{children:e("a",{href:"https://dunkinhub.co.
1kr",target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"푸터-던킨허브",children:e("img",{src:re,alt:"던킨허브"})})}),e("li",{children:e("a",{href:"https://www.instagram.com/dunkin_kr",target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"푸터-인스타그램",children:e("img",{src:ne,alt:"인스타그램"})})}),e("li",{children:e("a",{href:"https://www.youtube.com/@DunkinDonutsKorea",target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"푸터-유튜브",children:e("img",{src:se,alt:"유튜브"})})}),e("li",{children:e("a",{href:"https://blog.naver.com/dunkin_kr",target:"_blank",className:"gtm-click",rel:"noopener noreferrer","data-gtm-click":"푸터-네이버 블로그",children:e("img",{src:ce,alt:"네이버 블로그"})})})]})}const oe=[{"DUNKIN’ OF SEASON":[{route:"/dom"}]},{BRAND:[{name:"HISTORY",route:"/brand/history"},{name:"DD COMMITMENT",route:"/brand/story"}]},{MENU:[]},{EVENT:[{name:"프로모션",route:"/event?flag=A"},{name:"제휴혜택",route:"/event?flag=B"}]},{STORE:[{route:"/store"}]},{ORDER:[{name:"케이터링",route:"/order/catering"},{name:"딜리버리",route:"/order/delivery"},{name:"선물하기",route:"/order/happyemarket"}]}],de=[{"던킨 히스토리":[{route:"/franchise/history"}]},{"강점과 성공비결":[{route:"/franchise/successFactors"}]},{"개설 안내":[{route:"/franchise/counselInfo"}]},{"창업 설명회":[{route:"/franchise/business"}]}],we={client:oe,franchise:de};export{ke as F,xe as H,ae as a,we as m};

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.