PageSourceSearch

https://www.luckymeal.io/_next/static/chunks/6111-3714a1416749db92.js?dpl=dpl_6xgKnsqcjL9W6iPoJo6R2SQVGAsb

js luckymeal.io collected 2026-09-24 14:04:08 UTC 11,850 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6111],{9244:(e,t,i)=>{i.d(t,{Q:()=>o});var a=i(17366),r=i(69177),s=i(68364),n=i(24911);function o(e){let t=(0,r.useRef)(0);(0,s.H)(()=>{if(null==e?void 0:e())return!0;let i=Date.now();return i-t.current<2e3?(a.q.exitApp(),!1):(t.current=i,(0,n.P0)({iconName:"report-problem",iconColor:"var(--color-yellow-500)",message:"뒤로 가기를 한번 더 누르면 종료돼요",duration:2e3,position:"bottom"}),!0)},{iosSwipeBackEnabled:!1})}},12464:(e,t,i)=>{i.d(t,{C:()=>O});var a=i(30573),r=i(69177),s=i(14322),n=i(82576),o=i(82256);let l=[{label:"홈",href:o.f.CUSTOMER_HOME,iconName:"nav-home",activeIconName:"nav-home-active",matchMode:"exact",tabId:"explore"},{label:"발견",href:o.f.CUSTOMER_FEED,iconName:"nav-feed",activeIconName:"nav-feed-active",tabId:"feed"},{label:"좋아요",href:o.f.CUSTOMER_BOOKMARK,iconName:"nav-bookmark",activeIconName:"nav-bookmark-active",loginRequired:!0,tabId:"bookmark",gtmClass:"button-bookmark-list"},{label:"주문현황",href:o.f.CUSTOMER_ORDER_HISTORY,iconName:"nav-order",activeIconName:"nav-order-active",loginRequired:!0,tabId:"order"},{label:"내 럭키밀",href:o.f.CUSTOMER_MYPAGE,iconName:"nav-mypage",activeIconName:"nav-mypage-active",loginRequired:!0,tabId:"mypage"}],c=[{label:"발견",href:o.f.CUSTOMER_FEED,iconName:"nav-feed",activeIconName:"nav-feed-active",tabId:"feed"},{label:"탐색",href:o.f.CUSTOMER_HOME,iconName:"nav-explore",activeIconName:"nav-explore-active",matchMode:"exact",tabId:"explore"},...l.slice(2)];o.f.PLACE_HOME,o.f.PLACE_SETSELL,o.f.PLACE_MENU;var d=i(34946),u=i(52444);let h="lm865-feed-first-exposed";var p=i(30880),f=i(47494),v=i(23458),m=i(50541);let g=(0,m.Rl)("/api/proxy-pickup",e=>(0,m.Em)("USER",e),m.Un,m.gw,e=>(0,m.wx)("USER",e)),x={getReceived:async function(){return(await g.get("/received")).data}},A=["customer","proxy-pickup","received-count"],b=e=>(0,v.I)({queryKey:A,queryFn:async()=>{var e;let t=(null!=(e=await x.getReceived())?e:[]).filter(e=>"ACCEPTED"===e.status);return{confirmCount:t.filter(e=>"CONFIRMED"===e.orderStatus).length,orderedCount:t.filter(e=>"PAID"===e.orderStatus||"ORDER"===e.orderStatus).length}},enabled:e});var y=i(62058);let _={src:"/_next/static/media/tada.12d9a542.png",height:72,width:72,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAHlBMVEVMaXHv9PLo9Ojt8vDp8O3x9fXs8vLu9PT2+ff6/PuYu7zVAAAACnRSTlMAJwU0HW1HWq7XEM3HbAAAAAlwSFlzAAAhOAAAITgBRZYxYAAAAC9JREFUeJxFyUESACAIQlFQ0Lr/hRtr0V+9AeAXScaAXfXgyhx4twVAy9JcvPPvAA+nAG8gYMEEAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8};var E=i(92003),S=i(18600),C=i.n(S),w=i(13277),k=i(17844),I=i(93452);function R(e){let{item:t,isActive:i,replace:r,scroll:s,preventActiveClick:n,activeClassName:o="text-primary-400 font-bold [&_svg]:text-primary-400",inactiveClassName:l="text-grey-600 font-regular [&_svg]:text-grey-700",loginGuard:c}=e,d=(0,w.useRouter)(),{label:h,href:p,iconName:f,activeIconName:v,gtmClass:m,tabId:g,trackingParams:x}=t,A=()=>{g&&(0,u.x)("nav_tab_click",{tab_id:g,...x})},b=m?(0,u.v)(m):{},y=i&&v?v:f,_=(0,k.cn)("flex flex-col items-center justify-center gap-1 w-full text-xs",i?o:l);return c?(0,a.jsxs)("button",{className:_,type:"button",...b,onClick:()=>{n&&i||(A(),c(()=>{d.push(p)}))},children:[(0,a.jsx)(I.I,{name:y}),h]}):(0,a.jsxs)(C(),{className:_,href:p,replace:r,scroll:s,...b,onClick:e=>{if(n&&i)return void e.preventDefault();A()},children:[(0,a.jsx)(I.I,{name:y}),h]})}var N=i(54215);function P(e){var t,i,n,l;let{items:c,currentPath:d,coachMark:u,loginGuard:h,replace:v,scroll:m,preventActiveClick:g,activeClassName:x,inactiveClassName:A,className:S}=e,C=(0,s.Ay)(e=>e.isLoggedIn),{data:w}=(0,f.f)(C),{data:k}=b(C),I=(0,y.Md)(e=>null!==e.selectedPlace),P=(null!=(t=null==w?void 0:w.confirmOrderCount)?t:0)+(null!=(i=null==k?void 0:k.confirmCount)?i:0),O=(null!=(n=null==w?void 0:w.orderedOrderCount)?n:0)+(null!=(l=null==k?void 0:k.orderedCount)?l:0),M=(0,r.useMemo)(()=>P>0?{text:"확정 ".concat(P),bgColor:"primary-500",image:(0,a.jsx)(p.default,{alt:"",height:20,src:_,width:20})}:O>0?{text:"확정대기중 ".concat(O),bgColor:"blue-400"}:null,[P,O]);
1return I?null:(0,a.jsx)("footer",{className:"fixed bottom-0 no-safe-area left-1/2 -translate-x-1/2 w-full max-w-[var(--container-max-width)] p-3 pb-[max(0.75rem,var(--safe-area-inset-bottom))] bg-white z-[101]",style:{boxShadow:"0 0 12px 0 rgba(56, 56, 56, 0.12)"},children:(0,a.jsx)("nav",{className:S,style:{display:"grid",gridTemplateColumns:"repeat(".concat(c.length,", 1fr)")},children:c.map(function(e){let t="exact"===e.matchMode?d===e.href||d==="".concat(e.href,"/"):d.startsWith(e.href),i=e.href===o.f.CUSTOMER_ORDER_HISTORY&&!t&&M,r=(null==u?void 0:u.href)===e.href&&!t;return(0,a.jsxs)("div",{className:"relative",children:[r&&(0,a.jsx)(E.m,{bgColor:"grey-800",className:"absolute bottom-[80%] left-1/2 -translate-x-1/2 whitespace-nowrap",position:"top",children:u.text}),i&&(0,a.jsx)(E.m,{arrowOffset:P>0?0:-15,bgColor:M.bgColor,className:"absolute bottom-[80%] left-1/2 -translate-x-1/2 whitespace-nowrap",position:"top",children:(0,a.jsxs)(N.x,{children:[M.image,M.text]})}),(0,a.jsx)(R,{activeClassName:x,inactiveClassName:A,isActive:t,item:e,loginGuard:e.loginRequired?h:void 0,preventActiveClick:g,replace:v,scroll:m})]},e.href)})})})}function O(e){let t=function(){let{isFeedFirst:e,variant:t}=(0,d.A)(),i=(0,s.Ay)(e=>e.accountId);return(0,r.useEffect)(()=>{i&&(sessionStorage.getItem(h)||(sessionStorage.setItem(h,"1"),(0,u.x)("feed_first_exposure",{exp:n.UM,variant:t})))},[i,t]),(0,r.useMemo)(()=>(e?c:l).map(e=>({...e,trackingParams:{exp:n.UM,variant:t}})),[e,t])}();return(0,a.jsx)(P,{...e,items:t})}},34946:(e,t,i)=>{i.d(t,{A:()=>n,z:()=>o});var a=i(14322),r=i(82256),s=i(82576);function n(){let e=(0,a.Ay)(e=>e.accountId);return{isFeedFirst:(0,s.gQ)(e),variant:(0,s.Yo)(e)}}function o(){let{isFeedFirst:e}=n();return e?r.f.CUSTOMER_FEED:r.f.CUSTOMER_HOME}},47494:(e,t,i)=>{i.d(t,{f:()=>l,b:()=>c});var a=i(23458),r=i(50541);let s=(0,r.Rl)("/api/orders",e=>(0,r.Em)("USER",e),r.Un,r.gw,e=>(0,r.wx)("USER",e)),n={getFloatingOrderCount:async function(){return(await s.get("/floating")).data},getPastPickupCount:async function(){var e,t;return null!=(t=null==(e=(await s.get("/confirm/past?limit=1&page=0")).data)?void 0:e.totalCount)?t:0}},o={FLOATING_COUNT:"FLOATING_ORDER_COUNT",PAST_PICKUP_COUNT:"PAST_PICKUP_ORDER_COUNT"},l=e=>(0,a.I)({queryKey:[o.FLOATING_COUNT],queryFn:()=>n.getFloatingOrderCount(),enabled:e}),c=e=>(0,a.I)({queryKey:[o.PAST_PICKUP_COUNT],queryFn:()=>n.getPastPickupCount(),enabled:e,throwOnError:!1,staleTime:6e5})},68364:(e,t,i)=>{i.d(t,{H:()=>s});var a=i(69177),r=i(71056);function s(e,t){var i,s,n;let o=(0,a.useId)(),l=null!=(i=null==t?void 0:t.priority)?i:0,c=null==(s=null==t?void 0:t.enabled)||s,d=null==(n=null==t?void 0:t.iosSwipeBackEnabled)||n,u=(0,a.useRef)(e);u.current=e,(0,a.useEffect)(()=>{if(c)return r.v.register(o,()=>u.current(),l,{iosSwipeBackEnabled:d}),()=>r.v.unregister(o)},[o,l,c,d])}},71056:(e,t,i)=>{i.d(t,{v:()=>l});var a=i(17366),r=i(1275),s=i(48523),n=i(87330);class o{isGuardState(e){return null!=e&&"object"==typeof e&&e.__backGuard===o.GUARD_ID&&"number"==typeof e.__backGuardPriority}isOwnGuardState(e){return this.isGuardState(e)&&Object.keys(e).every(e=>"__backGuard"===e||"__backGuardPriority"===e||"__NA"===e||"__PRIVATE_NEXTJS_INTERNALS_TREE"===e)}register(e,t,i,a){var r;let s=0===this.handlers.size,o=this.getHighestPriority();if(this.handlers.set(e,{id:e,callback:t,priority:i,iosSwipeBackEnabled:null==(r=null==a?void 0:a.iosSwipeBackEnabled)||r}),s)return void this.activate();if(this.isActive&&(0,n.u)()){let e=this.getHighestPriority();e>o&&this.pushGuard(e),this.syncIosSwipeBack()}}unregister(e){if(!this.handlers.has(e))return;let t=this.getHighestPriority();if(this.handlers.delete(e),0===this.handlers.size)return void this.deactivate();this.isActive&&(0,n.u)()&&(this.getHighestPriority()<t&&this.isGuardState(history.state)&&history.state.__backGuardPriority===t&&(this.pendingPopstateSkips+=1,history.back()),this.syncIosSwipeBack())}execute(){for(let e of[...this.handlers.values()].sort((e,t)=>t.priority-e.priority))if(e.callback())return!0;return!1}hasHandlers(){return this.handlers.size>0}activate(){if(this.isActive)return;if(this.isActive=!0,(0,n.u)()){this.pushGuard(this.getHighestPriority()),this.syncIosSwipeBack(),this.popstateListener=()=>{if(this.pendingPopstateSkips>0){this.pendingPopstateSkips-=1;return}if(this.isGuardState(history.state)){history.state.__backGuardPriority<this.getHighestPriority()&&this.execute();return}this.execute()&&this.pushGuard(this.getHighestPriority())},window.addEventListener("popstate",this.popstateListener);return}let e=++this.androidListenerGeneration;a.q.addListener("backButton",()=>{this.execute()||history.back()}).then(t=>{if(!this.isActive||e!==this.androidListenerGeneration)return void t.remove();this.capacitorListener=t})}deactivate(){this.isActive&&(this.isActive=!1,this.androidListenerGeneration+=1,this.pendingPopstateSkips=0,this.popstateListener&&(window.removeEventListener("popstate",this.popstateListener),this.popstateListener=null,this.setIosSwipeBackEnabled(!0),this.isOwnGuardState(history.state)&&history.back()),this.capacitorListener&&(this.capacitorListener.remove(),this.capacitorListener=null))}syncIosSwipeBack(){let e=[...this.handlers.values()],t=Math.max(...e.map(e=>e.priority)),i=e.filter(e=>e.priority===t).every(e=>e.iosSwipeBackEnabled);this.setIosSwipeBackEnabled(i)}getHighestPriority(){return Math.max(0,...[...this.handlers.values()].map(e=>e.priority))}pushGuard(e){this.isGuardState(history.state)&&history.state.__backGuardPriority===e||history.pushState({__backGuard:o.GUARD_ID,__backGuardPriority:e},"")}setIosSwipeBackEnabled(e){r.Capacitor.isNativePlatform()&&(e?s.V.enable():s.V.disable()).catch(e=>{console.error("Failed to sync iOS swipe back state",e)})}constructor(){this.handlers=new Map,this.isActive=!1,this.popstateListener=null,this.capacitorListener=null,this.androidListenerGeneration=0,this.pendingPopstateSkips=0}}o.GUARD_ID="__back_handler_registry_guard__";let l=new o},92003:(e,t,i)=>{i.d(t,{m:()=>n});var a=i(30573),r=i(69177),s=i(17844);function n(e){let{children:t,bgColor:i,position:n="bottom",arrowOffset:o,className:l}=e,c="var(--color-".concat(i,")"),d="top"===n,u="tooltip-outline-".concat((0,r.useId)().replace(/:/g,"")),h=(0,a.jsx)("div",{className:"flex w-max items-center rounded-[20px] px-2 py-1 typo-callout-1 text-white text-center",style:{backgroundColor:c},children:t}),p="clamp(min(".concat(32,"px, 50%), calc(50% + ").concat(null!=o?o:0,"px), max(50%, calc(100% - ").concat(32,"px)))"),f=(0,a.jsx)("div",{className:"relative w-full",style:{height:8},children:(0,a.jsx)("svg",{"aria-hidden":"true",height:10,style:{position:"absolute",left:p,transform:"translateX(-50%)",to
1p:d?-2:void 0,bottom:d?void 0:-2},viewBox:"0 0 ".concat(15," ").concat(10),width:15,children:(0,a.jsx)("path",{d:d?"M 0,0 L ".concat(7.5,",").concat(10," L ").concat(15,",0 Z"):"M 0,".concat(10," L ").concat(7.5,",0 L ").concat(15,",").concat(10," Z"),fill:c})})});return(0,a.jsxs)("div",{className:(0,s.cn)("relative inline-flex flex-col items-center",l),style:{filter:"url(#".concat(u,")")},children:[(0,a.jsx)("svg",{"aria-hidden":"true",className:"absolute size-0",children:(0,a.jsxs)("filter",{height:"200%",id:u,width:"200%",x:"-50%",y:"-50%",children:[(0,a.jsx)("feMorphology",{in:"SourceAlpha",operator:"dilate",radius:2,result:"expanded"}),(0,a.jsx)("feFlood",{floodColor:"#fff"}),(0,a.jsx)("feComposite",{in2:"expanded",operator:"in",result:"outline"}),(0,a.jsxs)("feMerge",{children:[(0,a.jsx)("feMergeNode",{in:"outline"}),(0,a.jsx)("feMergeNode",{in:"SourceGraphic"})]})]})}),d?(0,a.jsxs)(a.Fragment,{children:[h,f]}):(0,a.jsxs)(a.Fragment,{children:[f,h]})]})}}}]);

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.