{"version":3,"file":"StorefrontOverrides.CvAoRUmc.mjs","names":["g","listeners","u","u","useState","u","g","e","useMemo","React.Children.toArray","q","_Fragment","e","p","p","e","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/nZSapx6FQcnnlnWxtRXU/L5R8N4qxuSSWAoWpxzek/ModalBridge.js","https:/framerusercontent.com/modules/Qi8ZAUO5M8no0U99UuLW/gOjGiIZStQHS9StrQjqd/AppState.js","https:/framerusercontent.com/modules/NWFVi8EaYU3btwHEpyWJ/UUrTm197nsbJLlqmCERr/BottomSheetStore.js","https:/framerusercontent.com/modules/IT3fbHBYOCHMtsJQKcsy/cKmRrGLwu0nd9BMIj25Y/PatchFetchSingleFlight.js","https:/framerusercontent.com/modules/purW2i7RP7Smutnz3SQL/SxfSqwpf712uqqCjMGX9/UseUserData.js","https:/framerusercontent.com/modules/t8VFwTTlc5BLexxvECDZ/UvAEeYxOEoUCfM4ibEHn/debugConsoleLog.js","https:/framerusercontent.com/modules/87cMtiiUvNb4ZPfimxhg/MjfbAC2FcvKhGIQ0Pz65/App.js","https:/framerusercontent.com/modules/c4hvHCU0Jfak5OPD2vhW/Q9garv9M7GktwoKSLkm8/ProductOptionsList.js","https:/framerusercontent.com/modules/vyeviSr9dYypC1n6yJqO/Peg8SkGGoaULD9hnfh2l/fnl2ZHWea.js","https:/framerusercontent.com/modules/lrUVDqFnp4v7qaFr4yug/vCssz9S0FNtPcMIbPVwq/StorefrontOverrides.js"],"sourcesContent":["// ModalBridge.tsx\nimport{Data}from\"framer\";// 어디서든 호출 가능한 닫기 함수 브릿지\nexport const modalBridge=Data({close:()=>{}});\nexport const __FramerMetadata__ = {\"exports\":{\"modalBridge\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ModalBridge.map","// AppState.tsx\nimport*as React from\"react\";import{Data}from\"framer\";// ── 전역 싱글톤 가드 ──\nconst g=typeof window!==\"undefined\"?window:globalThis;// ── 스토리지 키(주문/페이지별 분리하고 싶으면 ns로 분리) ──\nconst STORAGE_PREFIX=\"__SHOP_CART_V1__\";let CURRENT_NS=\"default\";const storageKey=ns=>`${STORAGE_PREFIX}:${ns||CURRENT_NS}`;export const appState=g.__APP_STATE__||(g.__APP_STATE__=Data({cart:[],currentOption:null,_rv:0}));// 리스너(오버라이드에서 구독)\nconst listeners=g.__APP_LISTENERS__||(g.__APP_LISTENERS__=new Set);function notify(){appState._rv++;listeners.forEach(fn=>fn());try{window.dispatchEvent(new CustomEvent(\"app:changed\",{detail:appState._rv}));}catch{}}export function subscribeApp(fn){listeners.add(fn);const onEvt=()=>fn();window.addEventListener(\"app:changed\",onEvt);return()=>{listeners.delete(fn);window.removeEventListener(\"app:changed\",onEvt);};}// ── Storage I/O ──\nfunction loadFromStorage(ns){try{const raw=localStorage.getItem(storageKey(ns));if(!raw)return;const parsed=JSON.parse(raw);if(Array.isArray(parsed?.cart)){appState.cart=parsed.cart.map(c=>({optionId:String(c.optionId),name:String(c.name??\"\"),unitPrice:Number(c.unitPrice??0),qty:Number(c.qty??0)}));// ✅ 메모리 갱신 후 리렌더 브로드캐스트\nnotify();}}catch{}}function saveToStorage(ns){try{localStorage.setItem(storageKey(ns),JSON.stringify({cart:appState.cart}));}catch{}}// ── 내부 set 헬퍼(불변대입 + notify + persist) ──\nfunction setCart(next){appState.cart=next;saveToStorage();notify();}function setCurrentOption(next){appState.currentOption=next;notify();}// ── API: 바텀시트 열기 직전 버퍼 채우기 ──\nexport function primeCurrentOption(info,min=1){const base=cartSelectors.getQty(info.id)||min;setCurrentOption({optionId:info.id,name:info.name,unitPrice:info.unitPrice,qty:base});}// ── API: 모달 내 수량 변경 ──\nexport function setCurrentQty(qty,min=1,max=99){const cur=appState.currentOption;if(!cur)return;const clamped=Math.max(min,Math.min(max,qty));setCurrentOption({...cur,qty:clamped});}// ── API: 저장(업서트=설정). qty<=0이면 삭제 ──\nexport function saveCurrentToCart(){const cur=appState.currentOption;if(!cur)return;const next=[...appState.cart];const i=next.findIndex(c=>c.optionId===cur.optionId);if(cur.qty<=0){if(i>=0)next.splice(i,1);}else if(i>=0){next[i]={...next[i],qty:cur.qty};}else{next.push({...cur});}setCart(next);setCurrentOption({...cur})// 버퍼도 확정값으로 동기화\n;}// ── 셀렉터 ──\nexport const cartSelectors={getQty(id){return appState.cart.find(c=>c.optionId===id)?.qty??0;},totalCount(){return appState.cart.reduce((t,i)=>t+i.qty,0);},totalPrice(){return appState.cart.reduce((s,i)=>s+i.qty*i.unitPrice,0);}};// 기타\nexport function clearCart(){setCart([]);setCurrentOption(null);}export function saveCart(){// 과거 호환용: 이제는 setCart가 항상 저장하지만, 혹시 외부에서 호출하면 한 번 더 저장\nsaveToStorage();}// ── 페이지별 저장/복원 컴포넌트 ──\n// 각 페이지( /menu, /bag, /setorderinfo_택배 … )에 배치하세요.\n// 동일 ns를 쓰면 같은 장바구니를 공유합니다.\nexport function AppStatePersist({ns=\"default\"}){React.useEffect(()=>{CURRENT_NS=ns;loadFromStorage(ns)// ✅ 최초 진입 시 복원 + notify\n;const unsub=subscribeApp(()=>saveToStorage(ns));return()=>unsub();},[ns]);// 다른 탭/프레임에서 변경된 내용 실시간 반영\nReact.useEffect(()=>{const onStorage=e=>{if(e.key===storageKey()){loadFromStorage()// ✅ 외부 변경 로드 + notify\n;}};window.addEventListener(\"storage\",onStorage);return()=>window.removeEventListener(\"storage\",onStorage);},[]);return null;}// 디버그\ng.__APP_DUMP__=g.__APP_DUMP__||(()=>console.log(\"[APP] cart=\",appState.cart,\"currentOption=\",appState.currentOption,\"_rv=\",appState._rv));// 기존 default export 유지\nexport default function AppStateBridge(){return null;}// === [추가] Cart 업데이트용 공개 API (반드시 이 함수들만 사용!) ===\nexport function upsertCartItem(item){const next=[...appState.cart];const i=next.findIndex(c=>c.optionId===item.optionId);if(item.qty<=0){if(i>=0)next.splice(i,1);}else if(i>=0){next[i]={...next[i],...item};}else{next.push({...item});}setCart(next)// 내부에서 save + notify\n;}export function setCartItemQty(optionId,qty){const cur=appState.cart.find(c=>c.optionId===optionId);upsertCartItem({optionId,name:cur?.name??\"\",unitPrice:cur?.unitPrice??0,qty});}/** 임의로 리렌더를 일으켜야 할 때 사용 (가급적 위 API들로 충분) */export function notifyAppChange(){notify();}\nexport const __FramerMetadata__ = {\"exports\":{\"saveCart\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"saveCurrentToCart\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setCartItemQty\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"clearCart\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"subscribeApp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"primeCurrentOption\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"appState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AppStatePersist\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"upsertCartItem\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CartItem\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"cartSelectors\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setCurrentQty\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"notifyAppChange\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AppState.map","// BottomSheetStore.tsx\nimport{appState}from\"https://framerusercontent.com/modules/Qi8ZAUO5M8no0U99UuLW/gOjGiIZStQHS9StrQjqd/AppState.js\";const listeners=new Set;const notifyAll=()=>listeners.forEach(fn=>fn());const bottomSheetStore={// ─────────────────────────────────────────────────────────────\n// Active(현재 바텀시트의 옵션) 메타\n// ─────────────────────────────────────────────────────────────\n/** 하위 호환: 기존 코드에서 참조하던 id */activeOptionId:null,/** 단가/이름까지 포함한 현재 옵션 스냅샷 */active:null,/**\n     * setActive(\"id\") 또는 setActive({ id, unitPrice, name }) 둘 다 지원\n     * setActive(null)로 초기화 가능\n     */setActive(v){if(v==null){this.activeOptionId=null;this.active=null;notifyAll();return;}if(typeof v===\"string\"){this.activeOptionId=v;this.active={id:v};notifyAll();return;}this.activeOptionId=v.id;this.active=v;notifyAll();},/** 하위 호환: active id 반환 */getActive(){return this.activeOptionId;},/** active 전체 메타 반환(필요 시 사용) */getActiveMeta(){return this.active;},/** active 초기화 */clearActive(){this.activeOptionId=null;this.active=null;notifyAll();},// ─────────────────────────────────────────────────────────────\n// 단가/수량 캐시 (바텀시트 표시 전용, AppState.cart와 분리)\n// ─────────────────────────────────────────────────────────────\n/** 옵션별 단가 캐시 */unitByOption:{},/** 옵션별 표시 수량 캐시 */qtyByOption:{},/** 단가 세팅(알림 포함) */setUnit(optionId,unit){this.unitByOption={...this.unitByOption,[optionId]:unit};notifyAll();},/** 단가 읽기(없으면 0) */getUnit(optionId){if(!optionId)return 0;const u=this.unitByOption[optionId];return typeof u===\"number\"?u:0;},/** active 단가 안전 접근자 */getActiveUnitPrice(){return this.active?.unitPrice??0;},/** 수량 세팅(클램프 + 알림) */setQty(optionId,qty,min=1,max=99){const next=Math.max(min,Math.min(max,qty));this.qtyByOption={...this.qtyByOption,[optionId]:next};notifyAll();},/** 수량 읽기(없으면 min) */getQty(optionId,min=1){if(!optionId)return min;const v=this.qtyByOption[optionId];return typeof v===\"number\"&&v>0?v:min;},/**\n     * ✅ 초기화 원샷: 단가+수량을 \"한 번만 notify\"로 동시에 세팅\n     *  - 초기 깜빡임/호버 후 반영 문제를 제거하는 핵심\n     */setAll(optionId,next,min=1,max=99){const unitOut={...this.unitByOption};const qtyOut={...this.qtyByOption};if(typeof next.unit===\"number\"){unitOut[optionId]=next.unit;}if(typeof next.qty===\"number\"){const clamped=Math.max(min,Math.min(max,next.qty));qtyOut[optionId]=clamped;}this.unitByOption=unitOut;this.qtyByOption=qtyOut;notifyAll();},/**\n     * 장바구니 값으로 표시값 동기화(없으면 min)\n     * - /bag 등 외부에서 변경 후 다시 열 때 사용 가능\n     */syncFromCart(optionId,min=1,max=99){const found=appState.cart.find(c=>c.optionId===optionId);const base=found?found.qty:min;const clamped=Math.max(min,Math.min(max,base));this.qtyByOption={...this.qtyByOption,[optionId]:clamped};notifyAll();},/**\n     * 장바구니 → 최초 prime (이미 값 있으면 보존)\n     * - 모달 열릴 때 1회 호출 용도\n     */prime(optionId,min=1,max=99){if(this.qtyByOption[optionId]!=null)return;const found=appState.cart.find(c=>c.optionId===optionId);const base=found?found.qty:min;this.qtyByOption={...this.qtyByOption,[optionId]:Math.max(min,Math.min(max,base))};notifyAll();},/** 모달 닫힐 때 표시 캐시 제거(다음 오픈 시 카트 기준 재초기화) */forget(optionId){let changed=false;if(this.qtyByOption[optionId]!=null){const nextQ={...this.qtyByOption};delete nextQ[optionId];this.qtyByOption=nextQ;changed=true;}if(this.unitByOption[optionId]!=null){const nextU={...this.unitByOption};delete nextU[optionId];this.unitByOption=nextU;changed=true;}if(changed)notifyAll();},// ─────────────────────────────────────────────────────────────\n// 이벤트\n// ─────────────────────────────────────────────────────────────\nsubscribe(fn){listeners.add(fn);return()=>listeners.delete(fn);},/** 필요 시 수동 알림 */notify(){notifyAll();}};export default bottomSheetStore;window.bs=bottomSheetStore;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Listener\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// PatchFetchSingleFlight.ts\n(()=>{if(typeof window===\"undefined\"||window.__fetchPatched)return;window.__fetchPatched=true;const orig=window.fetch.bind(window);// 진행중 dedupe + 세션 캐시\nconst inflight=new Map;const cache=new Map;const DEDUPE_MS=1e3;const SAME_ORIGIN_ONLY=true;const CACHE_GET=true;function key(input,init){const url=typeof input===\"string\"?input:input.url;const method=(init?.method||input?.method||\"GET\").toUpperCase();let body=\"\";if(init?.body&&method!==\"GET\"){body=typeof init.body===\"string\"?init.body:JSON.stringify(init.body);}return`${method} ${url} ${body}`;}function okToCache(input,init){const method=(init?.method||input?.method||\"GET\").toUpperCase();if(!CACHE_GET||method!==\"GET\")return false;try{const raw=typeof input===\"string\"?input:input.url;const u=new URL(raw,window.location.origin);if(SAME_ORIGIN_ONLY&&u.origin!==window.location.origin)return false;return true;}catch{return false;}}window.fetch=function(input,init){const k=key(input,init);const now=Date.now();// 1) 세션 캐시 히트\nif(okToCache(input,init)&&cache.has(k)){return Promise.resolve(cache.get(k).clone());}// 2) 진행중 dedupe (원본 네트워크 프라미스 공유)\nconst hit=inflight.get(k);if(hit&&now-hit.t<DEDUPE_MS){// 각 호출자에겐 \"항상 새 clone\"을 줌\nreturn hit.p.then(r=>r.clone());}// 3) 실제 네트워크 호출 (원본 프라미스 = pNet)\nconst pNet=orig(input,init);// inflight엔 \"원본 프라미스\"만 저장(여기에 clone 넣지 않음!)\ninflight.set(k,{p:pNet,t:now});// 최초 호출자에게도 clone을 반환 + 캐시 저장은 별도 clone\nconst ret=pNet.then(r=>{if(okToCache(input,init)&&r.ok){try{cache.set(k,r.clone())// 캐시 보관용 clone\n;}catch{}}return r.clone()// 호출자에게 줄 clone\n;}).finally(()=>{inflight.delete(k);});return ret;};window.__FETCH_CACHE__={keys:()=>Array.from(cache.keys()),clear:()=>cache.clear(),has:reqKey=>cache.has(reqKey)};console.log(\"[fetch: single-flight + session-cache] enabled\");})();\nexport const __FramerMetadata__ = {\"exports\":{\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PatchFetchSingleFlight.map","// UseUserData.tsx\nimport\"https://framerusercontent.com/modules/IT3fbHBYOCHMtsJQKcsy/cKmRrGLwu0nd9BMIj25Y/PatchFetchSingleFlight.js\";// ← 맨 위, 다른 import보다 먼저\nimport{useState,useEffect}from\"react\";/* =========================================\n   Branding / Route / Proxy helpers\n========================================= */const BRAND_COLOR=\"#333CCC\";const BRANDING_KEY=\"branding:v1:name\";const ICON_KEY=\"branding:v1:icon\";// (유지) order-closed payload 읽기용 키 — 리다이렉트는 삭제했지만, 다른 곳에서 읽을 수 있으니 남김\nconst ORDER_CLOSED_PAYLOAD_KEY=\"orderClosed:payload:v1\";// ── /order-closed 인지 감지 (남겨둠: 해당 페이지에서 훅을 조용히 멈추고 싶을 때 사용)\nfunction isOrderClosedRoute(){const p=(window.location.pathname||\"\").toLowerCase();const h=(window.location.hash||\"\").toLowerCase();const qs=new URLSearchParams(window.location.search);const fromQuery=(qs.get(\"path\")||\"\").toLowerCase();const m=/(^|\\/)order-closed(\\/|$)/;return m.test(p)||m.test(h)||m.test(fromQuery);}/* ===== Reverse proxy 대응: 코드 파싱 유틸 ===== */const ALLOWED_CODE_RE=/^([A-Za-z0-9]{6})(?:_)?(\\d*)$/// 6자리 + _ + 지수들만\n;const LAST_GOOD_KEY=\"orderLink:lastGoodCode\";function isValidCode(v){return!!v&&ALLOWED_CODE_RE.test(v);}function takeFromSearch(name=\"o\"){const qs=new URLSearchParams(window.location.search);const v=qs.get(name);return isValidCode(v)?v:null;}function takeFromHash(){const h=window.location.hash||\"\";const qIdx=h.indexOf(\"?\");if(qIdx===-1)return null;const qs=new URLSearchParams(h.slice(qIdx+1));const v=qs.get(\"o\");return isValidCode(v)?v:null;}function takeFromPathname(){const segs=(window.location.pathname||\"\").split(\"/\").filter(Boolean);const BAD=new Set([\"order-closed\",\"order\",\"preview\",\"index.html\",\"_next\",\"static\"]);for(let i=segs.length-1;i>=0;i--){const s=segs[i].toLowerCase();if(BAD.has(s))continue;if(isValidCode(segs[i]))return segs[i];}return null;}function resolveEncodedName(previewName){if(isValidCode(previewName))return previewName;const a=takeFromSearch(\"o\");if(a)return a;const b=takeFromHash();if(b)return b;const c=takeFromPathname();if(c)return c;try{const last=sessionStorage.getItem(LAST_GOOD_KEY);if(isValidCode(last))return last;}catch{}return null;}/* ===== 브랜드명 추출 ===== */function pickFarmName(obj){const s=v=>typeof v===\"string\"&&v.trim()?v:undefined;return s(obj?.user?.farmName)||s(obj?.farmName)||s(obj?.orderUrl?.user?.farmName)||s(obj?.orderUrl?.farmName)||s(obj?.shopName)||s(obj?.brandName)||s(obj?.name);}/* ===== Canvas 기반 파비콘(세로 정중앙) ===== */function buildFaviconDataUrl(letter,bg=BRAND_COLOR){const ch=(letter??\" \").trim().slice(0,1)||\" \";const size=64;const radius=12;const canvas=document.createElement(\"canvas\");canvas.width=size;canvas.height=size;const ctx=canvas.getContext(\"2d\");if(!ctx)return\"\";// 배경(라운드 사각형)\nctx.fillStyle=bg;const r=radius;ctx.beginPath();ctx.moveTo(r,0);ctx.lineTo(size-r,0);ctx.quadraticCurveTo(size,0,size,r);ctx.lineTo(size,size-r);ctx.quadraticCurveTo(size,size,size-r,size);ctx.lineTo(r,size);ctx.quadraticCurveTo(0,size,0,size-r);ctx.lineTo(0,r);ctx.quadraticCurveTo(0,0,r,0);ctx.closePath();ctx.fill();// 텍스트\nconst fontSize=40;ctx.fillStyle=\"#fff\";ctx.font=`700 ${fontSize}px \"Noto Sans KR\",\"Apple SD Gothic Neo\",\"Malgun Gothic\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,sans-serif`;ctx.textAlign=\"center\";ctx.textBaseline=\"alphabetic\";const metrics=ctx.measureText(ch);const ascent=metrics.actualBoundingBoxAscent||fontSize*.8;const descent=metrics.actualBoundingBoxDescent||fontSize*.2;const baselineY=size/2+(ascent-descent)/2;ctx.fillText(ch,size/2,Math.round(baselineY));return canvas.toDataURL(\"image/png\");}function setFavicon(href){const ensure=rel=>{let link=document.querySelector(`link[rel='${rel}']`);if(!link){link=document.createElement(\"link\");link.rel=rel;document.head.appendChild(link);}link.type=\"image/png\";link.href=href;};ensure(\"icon\");ensure(\"shortcut icon\");}let __brandingBootstrapped=false;function bootstrapBrandingFromCacheOnce(){if(__brandingBootstrapped)return;__brandingBootstrapped=true;if(typeof document===\"undefined\")return;try{const name=localStorage.getItem(BRANDING_KEY);if(name)document.title=`${name} - 주문서`;const cached=JSON.parse(localStorage.getItem(ICON_KEY)||\"null\");if(cached?.href)setFavicon(cached.href);}catch{}}function applyBrandingOnce(from){if(typeof document===\"undefined\")return;const name=pickFarmName(from);if(!name)return;// 제목\ndocument.title=`${name} - 주문서`;// 아이콘: 캐시 재사용 or 생성\nlet dataUrl=\"\";try{const cached=JSON.parse(localStorage.getItem(ICON_KEY)||\"null\");if(cached?.name===name&&typeof cached?.href===\"string\"){dataUrl=cached.href;}else{dataUrl=buildFaviconDataUrl(name);localStorage.setItem(ICON_KEY,JSON.stringify({name,href:dataUrl}));}localStorage.setItem(BRANDING_KEY,name);}catch{dataUrl=buildFaviconDataUrl(name);}setFavicon(dataUrl);// 웹폰트 로딩 뒤 재생성(미세 오프셋 보정)\ntry{if(document.fonts?.ready){document.fonts.ready.then(()=>{const refined=buildFaviconDataUrl(name);setFavicon(refined);try{localStorage.setItem(ICON_KEY,JSON.stringify({name,href:refined}));}catch{}});}}catch{}}/* ===== (유지) /order-closed 페이지에서 읽기 전용 ===== */export function readOrderClosedPayload(){let p={};try{const raw=sessionStorage.getItem(ORDER_CLOSED_PAYLOAD_KEY);if(raw)p=JSON.parse(raw);}catch{}const qs=new URLSearchParams(window.location.search);if(!p.farmName)p.farmName=qs.get(\"name\")??undefined;if(!p.noticeText)p.noticeText=qs.get(\"notice\")??undefined;return p;}/* =========================================\n   코드 디코드\n========================================= */// {6자리}{_}{지수들?} 허용: ABC123_02, ABC12302, abc999 등\nconst decodeSwapName=encodedName=>{const m=encodedName.match(ALLOWED_CODE_RE);if(!m)return encodedName;const namePart=m[1];const indicesPart=m[2]||\"\";if(!indicesPart)return namePart;const upper=new Set;for(const ch of indicesPart){const n=parseInt(ch,10);if(!Number.isNaN(n)&&n>=0&&n<namePart.length)upper.add(n);}let out=\"\";for(let i=0;i<namePart.length;i++){out+=upper.has(i)?namePart[i].toUpperCase():namePart[i].toLowerCase();}return out;};/* =========================================\n   메인 훅\n========================================= */export function useUserData(props={}){const{previewName}=props;const[result,setResult]=useState(null);const[loading,setLoading]=useState(true);useEffect(()=>{// (선택) /order-closed 페이지에선 훅을 조용히 정지하고 싶다면 아래 3줄 유지\n// if (isOrderClosedRoute()) {\n//   bootstrapBrandingFromCacheOnce()\n//   setLoading(false)\n//   return\n// }\n// 캐시된 제목/아이콘을 먼저 복원\nbootstrapBrandingFromCacheOnce();// 코드 해석 (프록시/프리뷰/경로 모두 대응)\nconst candidate=resolveEncodedName(previewName);const encodedName=candidate||\"gcKVLp_001100\"// 최후 폴백 (기존 동작 유지)\n;// 정상 코드면 캐시에 저장\ntry{if(isValidCode(encodedName)){sessionStorage.setItem(LAST_GOOD_KEY,encodedName);}}catch{}// 예약어/비정상 코드면 요청 중단 (폴백 사용 중이면 통과)\nif(!isValidCode(encodedName)){console.warn(\"[useUserData] invalid order code, skip fetch:\",encodedName);setLoading(false);return;}const decodedName=decodeSwapName(encodedName);console.log(`API 호출 시도 - decodedName: ${decodedName}`);fetch(\"https://getorderurlalsouserep-5ydstabw6q-du.a.run.app\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({data:{orderUrlLinkSwapName:decodedName}})}).then(res=>{if(!res.ok)throw new Error(`API 응답 오류: ${res.status}`);return res.json();}).then(data=>{const resultData=data.result;// ❌ (삭제됨) 주문 중단 시 /order-closed로 보내는 로직\n//    → isClosed 체크 후 redirectToOrderClosed 호출 분기 제거\n// 브랜드(제목/파비콘) 적용\ntry{applyBrandingOnce(resultData);}catch{}// 유저 데이터 정상 반영\nsetResult(resultData);setLoading(false);}).catch(error=>{console.error(\"API 호출 또는 처리 중 오류:\",error);setLoading(false);});},[previewName]);return{result,loading};}/* =========================================\n   기타 유틸 (호스트 판단)\n========================================= */function isEditorLikeHost(){const h=location.hostname;return/framer\\.com$|localhost$|127\\.0\\.0\\.1$/.test(h);}\nexport const __FramerMetadata__ = {\"exports\":{\"useUserData\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"readOrderClosedPayload\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./UseUserData.map","export function debugConsoleLog(content,option){if(true)return;console.log(content,option);}\nexport const __FramerMetadata__ = {\"exports\":{\"debugConsoleLog\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./debugConsoleLog.map","// App.tsx\n\"./PatchFetchSingleFlight.tsx\"// ← 맨 위, 다른 import보다 먼저\n;import React,{useMemo}from\"react\";import{useUserData}from\"https://framerusercontent.com/modules/purW2i7RP7Smutnz3SQL/SxfSqwpf712uqqCjMGX9/UseUserData.js\";import{debugConsoleLog}from\"https://framerusercontent.com/modules/t8VFwTTlc5BLexxvECDZ/UvAEeYxOEoUCfM4ibEHn/debugConsoleLog.js\";// --- Sticky query param keeper ---------------------------------\nconst ORDER_PARAM_KEY=\"o\";const ORDER_PARAM_STORE_KEY=\"__ORDER_LINK_PARAM__\";function readOrderParamFromUrl(){try{const v=new URLSearchParams(window.location.search).get(ORDER_PARAM_KEY);return v&&v.trim()?v:null;}catch{return null;}}function saveOrderParamSticky(v){try{sessionStorage.setItem(ORDER_PARAM_STORE_KEY,v);}catch{}window.__ORDER_LINK_PARAM__=v;}function loadOrderParamSticky(){try{return sessionStorage.getItem(ORDER_PARAM_STORE_KEY)||window.__ORDER_LINK_PARAM__||null;}catch{return window.__ORDER_LINK_PARAM__||null;}}function ensureParamInUrl(v){try{const u=new URL(window.location.href);if(!u.searchParams.has(ORDER_PARAM_KEY)){u.searchParams.set(ORDER_PARAM_KEY,v);window.history.replaceState(window.history.state,\"\",u.pathname+u.search+u.hash);}}catch{}}function installHistoryPatchForParam(v){const g=window;if(g.__ORDER_LINK_PATCHED__)return;const wrap=m=>{const orig=history[m];history[m]=function(state,title,url){if(url){try{const u=new URL(url.toString(),window.location.origin);if(!u.searchParams.has(ORDER_PARAM_KEY))u.searchParams.set(ORDER_PARAM_KEY,v);url=u.pathname+u.search+u.hash;}catch{}}return orig.call(this,state,title,url);};};wrap(\"pushState\");wrap(\"replaceState\");window.addEventListener(\"popstate\",()=>ensureParamInUrl(v));window.addEventListener(\"hashchange\",()=>ensureParamInUrl(v));g.__ORDER_LINK_PATCHED__=true;}// (옵션) 기본 <a> 클릭도 보정 — 라우터를 안 쓰는 링크 대비\nfunction delegateLinksForParam(v){const handler=e=>{const el=e.target?.closest?.(\"a\");if(!el)return;const href=el.getAttribute(\"href\")||\"\";if(!href||/^([a-z]+:|#)/i.test(href)||el.target&&el.target!==\"_self\")return;try{const u=new URL(href,window.location.origin);if(!u.searchParams.has(ORDER_PARAM_KEY)){u.searchParams.set(ORDER_PARAM_KEY,v);el.setAttribute(\"href\",u.pathname+u.search+u.hash);}}catch{}};document.addEventListener(\"click\",handler,true);window.__ORDER_LINK_CLICK__=handler;}// URL → Sticky 로드\nfunction getOrderParamSticky(){const fromUrl=readOrderParamFromUrl();if(fromUrl){saveOrderParamSticky(fromUrl);return fromUrl;}return loadOrderParamSticky();}// ===== 싱글톤 데이터 관리 =====\nlet globalData={orderData:null,userData:null,loading:true,error:null};let isInitialized=false;// ===== 전역 데이터 Hook - 컴포넌트 없이 직접 사용 =====\nexport function useAppData(){// if (isInitialized) {\n//     return globalData\n// }\n// URL 파라미터 또는 기본값으로 previewName 가져오기\n// URL 또는 Sticky(세션/전역)에서 가져오기 + 항상 URL에 유지\nconst previewName=getOrderParamSticky()||\"L5dkn6_100000\";// URL에 없으면 주입, 그리고 이후 네비게이션에도 계속 유지\nReact.useEffect(()=>{if(!previewName)return;ensureParamInUrl(previewName);installHistoryPatchForParam(previewName);delegateLinksForParam(previewName)// 선택사항이지만 안정성↑\n;},[previewName]);// useUserData 훅 호출\nconst{result,loading}=useUserData({previewName});// 데이터 처리\nconst data=useMemo(()=>{if(!result){return{orderData:null,userData:null,loading,error:loading?null:\"데이터를 불러올 수 없습니다\"};}try{const apiResult=result;debugConsoleLog(\"App.tsx - 데이터 처리:\",{success:apiResult.success,hasOrderUrl:!!apiResult.orderUrl,hasUser:!!apiResult.user,farmName:apiResult.user?.farmName});return{orderData:apiResult.orderUrl||null,userData:apiResult.user||null,loading,error:null};}catch(error){console.error(\"데이터 파싱 오류:\",error);return{orderData:null,userData:null,loading:false,error:\"데이터 형식이 올바르지 않습니다\"};}},[result,loading]);// 전역 데이터 업데이트\nglobalData=data;window.__APPDATA_SNAPSHOT__={orderData:data.orderData,userData:data.userData};if(!isInitialized&&!loading){// ...\n}if(!isInitialized&&!loading){isInitialized=true;console.log(\"App.tsx - 초기 데이터 로드 완료:\",{farmName:data.userData?.farmName,orderName:data.orderData?.name});}return data;}// ===== 헬퍼 함수들 - Override에서 쉽게 사용 =====\nexport function getFarmName(){if(globalData.loading)return\"로딩 중...\";if(globalData.error)return\"오류\";return globalData.userData?.farmName||\"농장 이름 없음\";}export function getOrderName(){if(globalData.loading)return\"로딩 중...\";if(globalData.error)return\"오류\";return globalData.orderData?.name||\"주문서 이름 없음\";}export function getUserName(){if(globalData.loading)return\"로딩 중...\";if(globalData.error)return\"오류\";return globalData.userData?.name||\"사용자 이름 없음\";}export function getBankInfo(){if(globalData.loading)return\"로딩 중...\";if(globalData.error)return\"오류\";if(globalData.orderData?.bankName&&globalData.orderData?.bankAccountNumber){return`${globalData.orderData.bankName} ${globalData.orderData.bankAccountNumber}`;}return\"계좌 정보 없음\";}export function getDeliveryFee(){if(globalData.loading)return\"...\";if(globalData.error)return\"오류\";if(globalData.orderData?.isFreeDelivery)return\"무료배송\";if(globalData.orderData?.deliveryFee!==undefined){return`${globalData.orderData.deliveryFee.toLocaleString()}원`;}return\"배송비 정보 없음\";}// 초기화 로그\nconsole.log(\"App.tsx - 모듈 로드 완료\");\nexport const __FramerMetadata__ = {\"exports\":{\"getUserName\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getOrderName\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getBankInfo\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getFarmName\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useAppData\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getDeliveryFee\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./App.map","// ProductOptionsList.tsx\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{modalBridge}from\"https://framerusercontent.com/modules/nZSapx6FQcnnlnWxtRXU/L5R8N4qxuSSWAoWpxzek/ModalBridge.js\";import bottomSheetStore from\"https://framerusercontent.com/modules/NWFVi8EaYU3btwHEpyWJ/UUrTm197nsbJLlqmCERr/BottomSheetStore.js\";import{addPropertyControls,ControlType,motion,AnimatePresence}from\"framer\";import{useAppData}from\"https://framerusercontent.com/modules/87cMtiiUvNb4ZPfimxhg/MjfbAC2FcvKhGIQ0Pz65/App.js\";// 기존 FORCE_FILL_CSS 전체를 이걸로 교체\nconst FORCE_FILL_CSS=`\n/* 루트 래퍼 자체는 100% */\n.fr-force-fill {\n  width: 100% !important;\n  max-width: 100% !important;\n  box-sizing: border-box !important;\n}\n\n/* ⬇️ \"직계 자식\"만 100%로 강제 (손자 이후는 건드리지 않음) */\n.fr-force-fill > *:first-child,\n.fr-force-fill > [data-framer-component-type] {\n  width: 100% !important;\n  max-width: 100% !important;\n  min-width: 0 !important;\n  box-sizing: border-box !important;\n}\n\n/* ❌ 아래 두 규칙은 제거합니다 (텍스트/배지까지 늘어나던 원인)\n   .fr-force-fill > * > * { ... }\n   .fr-force-fill [data-framer-component-type] { ... }  // (후손 전체 대상)\n*/\n`;export const ProductItemContext=/*#__PURE__*/React.createContext(null);export function useProductItem(){const v=React.useContext(ProductItemContext);if(!v)throw new Error(\"ProductItemContext not found. List가 Provider로 감싸야 합니다.\");return v;}export default function ProductOptionsList({children,overlayComponent,nameLayer,priceLayer,subLayer,imageLayer,includeHidden,nameFilter,maxItems,sortBy,direction,gap,pricePrefix,priceSuffix,fallbackToOrderImage,itemWidthMode,overlayPosition,overlayBottomGap,overlayForceFullWidth,overlayPaddingX,overlayWidth,overlayCustomWidth,overlayMaxWidth,disableTapWhenSoldOut=true,soldOutComponent,lowStockComponent,lowStockMax=10,injectPropsToChild=false,propStock=\"stockCount\",propIsSoldOut=\"isSoldOut\",propIsLowStock=\"isLowStock\",propInventory=\"inventory\",propOption=\"option\",propIndex=\"index\",debugLogs=false}){const{orderData,loading,error}=useAppData();const[selectedOption,setSelectedOption]=React.useState(null);React.useEffect(()=>{modalBridge.close=()=>setSelectedOption(null);return()=>{modalBridge.close=()=>{};};},[]);const containerStyle={display:\"flex\",flexDirection:direction===\"horizontal\"?\"row\":\"column\",gap,width:\"100%\",height:\"100%\",overflow:\"auto\",alignItems:\"stretch\",position:\"relative\"};const templateEl=React.Children.toArray(children).find(React.isValidElement);const formatPrice=n=>`${pricePrefix}${(n??0).toLocaleString(\"ko-KR\")}${priceSuffix}`;if(loading)return /*#__PURE__*/_jsx(\"div\",{style:containerStyle});if(error)return /*#__PURE__*/_jsx(\"div\",{style:containerStyle});if(!orderData)return /*#__PURE__*/_jsx(\"div\",{style:containerStyle});if(!templateEl)return /*#__PURE__*/_jsx(\"div\",{style:containerStyle});let options=orderData.productOptions??[];if(!includeHidden)options=options.filter(o=>o.isVisible!==false);if(nameFilter.trim()){const q=nameFilter.trim().toLowerCase();options=options.filter(o=>{const n1=o.naverProductName??\"\";const n2=o.naverProductOptionName??\"\";const n3=o.name??\"\";return n1.toLowerCase().includes(q)||n2.toLowerCase().includes(q)||n3.toLowerCase().includes(q);});}const byName=(a,b)=>(a.naverProductName??a.name??\"\").localeCompare(b.naverProductName??b.name??\"\",\"ko\",{numeric:true});const byPrice=(a,b)=>(a.unitPrice??0)-(b.unitPrice??0);switch(sortBy){case\"name_asc\":options=[...options].sort(byName);break;case\"name_desc\":options=[...options].sort((a,b)=>byName(b,a));break;case\"price_asc\":options=[...options].sort(byPrice);break;case\"price_desc\":options=[...options].sort((a,b)=>byPrice(b,a));break;}if(maxItems>0)options=options.slice(0,maxItems);const overlayEl=/*#__PURE__*/React.isValidElement(overlayComponent)?/*#__PURE__*/React.cloneElement(overlayComponent,{onClose:()=>setSelectedOption(null)}):overlayComponent;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:FORCE_FILL_CSS}}),/*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:options.map((opt,i)=>{const inventory=(orderData.inventoryItems??[]).find(it=>it.productOptionId===opt.id)??null;// 재고/품절 판정 규칙 (수정 버전)\n// - 트래킹 미사용(false): 항상 999로 간주, 품절 아님\n// - 트래킹 사용(true): currentStock 기반으로 판정\nconst tracking=inventory?.isTrackingEnabled===true;const hasNum=typeof inventory?.currentStock===\"number\";const rawStock=hasNum?Math.max(0,Number(inventory?.currentStock)):0;const stock=tracking?rawStock:999;const isSoldOut=tracking?stock<=0:false;const isLowStock=tracking?!isSoldOut&&stock<=(lowStockMax??10):false;// 기본 템플릿과 스왑 대상 선택 (클론 없이 우선)\nconst baseEl=React.Children.toArray(children).find(React.isValidElement);const pickedNode=isSoldOut&&soldOutComponent?soldOutComponent:isLowStock&&lowStockComponent?lowStockComponent:baseEl;if(!pickedNode)return null;// 필요 시 props 주입 (컴포넌트가 컨텍스트를 안 쓰는 경우 대비)\nlet contentNode=pickedNode;if(injectPropsToChild&&/*#__PURE__*/React.isValidElement(pickedNode)){const injected={};if(propStock)injected[propStock]=stock;if(propIsSoldOut)injected[propIsSoldOut]=isSoldOut;if(propIsLowStock)injected[propIsLowStock]=isLowStock;if(propInventory)injected[propInventory]=inventory;if(propOption)injected[propOption]=opt;if(propIndex)injected[propIndex]=i;try{contentNode=/*#__PURE__*/React.cloneElement(pickedNode,injected);}catch(e){if(debugLogs)console.warn(\"[ProductOptionsList] cloneElement failed:\",e);}}// 디버그 로그\nif(debugLogs&&i<20){try{console.log(\"[List]\",{i,name:opt?.name,stock,isSoldOut,isLowStock,kind:isSoldOut?\"soldout\":isLowStock?\"lowstock\":\"base\",injected:injectPropsToChild?{propStock,propIsSoldOut,propIsLowStock,propInventory,propOption,propIndex}:\"no-inject\",pickedIsElement:/*#__PURE__*/React.isValidElement(pickedNode)});}catch{}}// 래퍼: 아이템 배치(세로/가로)만 담당\nconst wrapperStyle=direction===\"vertical\"?itemWidthMode===\"fill\"?{alignSelf:\"stretch\",width:\"100%\"}:{alignSelf:\"flex-start\",width:\"100%\"}:itemWidthMode===\"fill\"?{flex:\"1 1 0%\",minWidth:0,alignSelf:\"stretch\"}:{flex:\"0 0 auto\",alignSelf:\"stretch\"};const disabled=isSoldOut&&(disableTapWhenSoldOut??true);return /*#__PURE__*/_jsx(\"div\",{style:{...wrapperStyle,display:\"flex\"},onClick:disabled?undefined:()=>setSelectedOption(opt),role:disabled?undefined:\"button\",tabIndex:disabled?-1:0,onKeyDown:disabled?undefined:e=>{if(e.key===\"Enter\"||e.key===\" \")setSelectedOption(opt);},\"data-kind\":isSoldOut?\"soldout\":isLowStock?\"lowstock\":\"base\",\"data-stock\":stock,children:/*#__PURE__*/_jsx(ProductItemContext.Provider,{value:{option:opt,orderUrl:orderData,index:i,inventory,isSoldOut,isLowStock,stockCount:stock},children:/*#__PURE__*/_jsx(\"div\",{className:itemWidthMode===\"fill\"?\"fr-force-fill\":undefined,style:{width:\"100%\",maxWidth:\"100%\",display:\"block\"},children:contentNode})})},opt.id);})}),/*#__PURE__*/_jsx(AnimatePresence,{children:selectedOption&&overlayEl&&/*#__PURE__*/_jsx(ProductItemContext.Provider,{value:{option:selectedOption,orderUrl:orderData,index:-1,inventory:(orderData.inventoryItems??[]).find(it=>it.productOptionId===selectedOption.id)??null},children:/*#__PURE__*/_jsx(motion.div,{style:{position:\"fixed\",inset:0,display:\"flex\",alignItems:overlayPosition===\"bottom\"?\"flex-end\":\"center\",justifyContent:\"center\",backgroundColor:\"rgba(0,0,0,0.4)\",zIndex:1e3},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:()=>{if(selectedOption?.id)bottomSheetStore.forget(selectedOption.id);setSelectedOption(null);},onPointerDown:()=>setSelectedOption(null),children:(()=>{const full=overlayForceFullWidth===true;const paddingX=overlayPaddingX??0;const sheetWidthStyle=full?{width:\"100vw\",maxWidth:\"100vw\"}:overlayWidth===\"custom\"?{width:overlayCustomWidth,margin:\"0 auto\"}:overlayWidth===\"content\"?{width:\"100%\",maxWidth:overlayMaxWidth,margin:\"0 auto\"}:{width:\"100%\",maxWidth:\"100%\"};const sheetBase={marginBottom:overlayPosition===\"bottom\"?overlayBottomGap:0,paddingLeft:paddingX,paddingRight:paddingX,boxSizing:\"border-box\"};const withOnClose=overlayEl;const content=full?injectFullWidth(withOnClose):withOnClose?injectFullWidth(withOnClose):withOnClose;return /*#__PURE__*/_jsx(motion.div,{onClick:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),style:{...sheetWidthStyle,...sheetBase},initial:overlayPosition===\"bottom\"?{y:\"100%\"}:{scale:.9,opacity:0},animate:overlayPosition===\"bottom\"?{y:0}:{scale:1,opacity:1},exit:overlayPosition===\"bottom\"?{y:\"100%\"}:{scale:.9,opacity:0},transition:{type:\"spring\",damping:25,stiffness:300},children:/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",maxWidth:\"100%\"},children:content})});})()})})})]});}ProductOptionsList.defaultProps={width:360,height:480,includeHidden:false,nameFilter:\"\",maxItems:20,sortBy:\"name_asc\",direction:\"vertical\",gap:12,pricePrefix:\"₩\",priceSuffix:\"\",fallbackToOrderImage:true,nameLayer:\"nameLayer\",priceLayer:\"priceLayer\",subLayer:\"\",imageLayer:\"imageLayer\",itemWidthMode:\"fill\",overlayPosition:\"center\",overlayBottomGap:0,overlayForceFullWidth:true,overlayPaddingX:0,disableTapWhenSoldOut:true,lowStockMax:10,injectPropsToChild:false,propStock:\"stockCount\",propIsSoldOut:\"isSoldOut\",propIsLowStock:\"isLowStock\",propInventory:\"inventory\",propOption:\"option\",propIndex:\"index\",debugLogs:false};addPropertyControls(ProductOptionsList,{overlayComponent:{type:ControlType.ComponentInstance,title:\"Overlay\"},overlayPosition:{type:ControlType.Enum,title:\"Overlay Position\",options:[\"center\",\"bottom\"],optionTitles:[\"Center\",\"Bottom Sheet\"],defaultValue:\"center\"},overlayBottomGap:{type:ControlType.Number,title:\"Bottom Gap\",min:0,max:100,step:1,defaultValue:0,hidden:p=>p.overlayPosition!==\"bottom\"},overlayForceFullWidth:{type:ControlType.Boolean,title:\"Force Full Width\",defaultValue:true},overlayPaddingX:{type:ControlType.Number,title:\"Content Padding X\",min:0,max:48,step:1,defaultValue:0,hidden:p=>p.overlayForceFullWidth!==true},overlayWidth:{type:ControlType.Enum,title:\"Overlay Width\",options:[\"full\",\"content\",\"custom\"],optionTitles:[\"Full Width\",\"Max Width\",\"Custom\"],defaultValue:\"full\",hidden:p=>p.overlayForceFullWidth===true},overlayCustomWidth:{type:ControlType.Number,title:\"Custom Width\",min:200,max:1200,step:10,defaultValue:400,hidden:p=>p.overlayForceFullWidth===true||p.overlayWidth!==\"custom\"},overlayMaxWidth:{type:ControlType.Number,title:\"Max Width\",min:200,max:1200,step:10,defaultValue:600,hidden:p=>p.overlayForceFullWidth===true||p.overlayWidth!==\"content\"},nameLayer:{type:ControlType.String,title:\"Name Layer\"},priceLayer:{type:ControlType.String,title:\"Price Layer\"},subLayer:{type:ControlType.String,title:\"Sub Layer\"},imageLayer:{type:ControlType.String,title:\"Image Layer\"},nameFilter:{type:ControlType.String,title:\"Name Filter\"},includeHidden:{type:ControlType.Boolean,title:\"Include Hidden\"},maxItems:{type:ControlType.Number,title:\"Max Items\",min:0,max:200,step:1},sortBy:{type:ControlType.Enum,title:\"Sort By\",options:[\"name_asc\",\"name_desc\",\"price_asc\",\"price_desc\"],optionTitles:[\"이름 ▲\",\"이름 ▼\",\"가격 ▲\",\"가격 ▼\"]},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"vertical\",\"horizontal\"],optionTitles:[\"Vertical\",\"Horizontal\"]},gap:{type:ControlType.Number,title:\"Gap\",min:0,max:64,step:1},pricePrefix:{type:ControlType.String,title:\"Price Prefix\"},priceSuffix:{type:ControlType.String,title:\"Price Suffix\"},fallbackToOrderImage:{type:ControlType.Boolean,title:\"Use Order Image\",defaultValue:true},itemWidthMode:{type:ControlType.Enum,title:\"Item Width\",options:[\"relative\",\"fill\"],optionTitles:[\"Relative\",\"Fill\"]},disableTapWhenSoldOut:{type:ControlType.Boolean,title:\"Disable Tap (Sold-out)\",defaultValue:true},soldOutComponent:{type:ControlType.ComponentInstance,title:\"Sold-out Item\"},lowStockComponent:{type:ControlType.ComponentInstance,title:\"Low-stock Item\"},lowStockMax:{type:ControlType.Number,title:\"Low-stock Max\",min:1,max:100,step:1,defaultValue:10},// --- 새 컨트롤: 자식 props 주입 & 매핑/디버깅 ---\ninjectPropsToChild:{type:ControlType.Boolean,title:\"Inject Props to Child\",defaultValue:false},propStock:{type:ControlType.String,title:\"Prop: Stock\",defaultValue:\"stockCount\",hidden:p=>!p.injectPropsToChild},propIsSoldOut:{type:ControlType.String,title:\"Prop: Is Sold Out\",defaultValue:\"isSoldOut\",hidden:p=>!p.injectPropsToChild},propIsLowStock:{type:ControlType.String,title:\"Prop: Is Low Stock\",defaultValue:\"isLowStock\",hidden:p=>!p.injectPropsToChild},propInventory:{type:ControlType.String,title:\"Prop: Inventory\",defaultValue:\"inventory\",hidden:p=>!p.injectPropsToChild},propOption:{type:ControlType.String,title:\"Prop: Option\",defaultValue:\"option\",hidden:p=>!p.injectPropsToChild},propIndex:{type:ControlType.String,title:\"Prop: Index\",defaultValue:\"index\",hidden:p=>!p.injectPropsToChild},debugLogs:{type:ControlType.Boolean,title:\"Debug Logs\",defaultValue:false}});function injectFullWidth(el){if(!/*#__PURE__*/React.isValidElement(el))return el;const prev=el.props?.style||{};return /*#__PURE__*/React.cloneElement(el,{width:\"100%\",style:{...prev,width:\"100%\",maxWidth:\"100%\",alignSelf:\"stretch\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"ProductItemContext\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useProductItem\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"ProductOptionsList\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"ProductItemCtx\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (6ae4e96)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOM;Pretendard SemiBold\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Pretendard SemiBold\",source:\"custom\",url:\"https://framerusercontent.com/assets/yviK0tVrZs5LUnPxJkzCXt9kxw.woff2\"}]}];export const css=['.framer-0y13w .framer-styles-preset-g4qk1p:not(.rich-text-wrapper), .framer-0y13w .framer-styles-preset-g4qk1p.rich-text-wrapper h4 { --framer-font-family: \"Pretendard SemiBold\", \"Pretendard SemiBold Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 17px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-color: var(--token-7f972dbf-14b1-49b6-b7e7-ce79de369ef0, #7d8185); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-0y13w\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// StorefrontOverrides.tsx\nimport{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";// cart 관련 import 전부 제거함\n// import { cartSelectors, subscribeApp } from \"./AppState.tsx\"\nimport{useProductItem}from\"https://framerusercontent.com/modules/c4hvHCU0Jfak5OPD2vhW/Q9garv9M7GktwoKSLkm8/ProductOptionsList.js\";import{useAppData}from\"https://framerusercontent.com/modules/87cMtiiUvNb4ZPfimxhg/MjfbAC2FcvKhGIQ0Pz65/App.js\";// 맨 위 import들 사이에 추가\nimport{showToast}from\"https://framerusercontent.com/modules/pgpfg9Vd4G6abQKhEhp8/2ZmDA86Bl5xBATUf13Nh/ToastStore.js\";import{appState}from\"https://framerusercontent.com/modules/Qi8ZAUO5M8no0U99UuLW/gOjGiIZStQHS9StrQjqd/AppState.js\";// 상단 import 구역에 한 줄 추가 (이미 있으면 생략)\nasync function copyToClipboard(text){try{// 최신 API (HTTPS 권장)\nif(navigator.clipboard&&window.isSecureContext!==false){await navigator.clipboard.writeText(text);return true;}}catch{}// 구형 fallback\ntry{const ta=document.createElement(\"textarea\");ta.value=text;ta.setAttribute(\"readonly\",\"\");ta.style.position=\"fixed\";ta.style.opacity=\"0\";document.body.appendChild(ta);ta.select();const ok=document.execCommand(\"copy\");document.body.removeChild(ta);return ok;}catch{return false;}}const BASE_BORDER_COLOR=\"#E5E7EB\";const HOVER_BORDER_COLOR=\"#6366F1\";const PRESSED_SCALE=.96;const interactiveButtonBaseStyle={cursor:\"pointer\",boxSizing:\"border-box\",borderStyle:\"solid\",borderWidth:1,borderColor:BASE_BORDER_COLOR,outline:\"none\"};const mergeHandlers=(a,b)=>e=>{a?.(e);b?.(e);};const krw=n=>`₩${(n??0).toLocaleString(\"ko-KR\")}`;// 공통: 완전 접기(레이아웃 gap 제거)\nconst hideCollapse={visible:false,style:{display:\"none\",height:0,minHeight:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,pointerEvents:\"none\"}};// orderUrl 안전 접근 헬퍼\nfunction useOrderUrl(){try{const{orderData}=useAppData();if(orderData)return orderData;}catch{}return window.__APPDATA_SNAPSHOT__?.orderData??null;}const isNonEmpty=v=>typeof v===\"string\"&&v.trim().length>0;// ===== 공통: 로딩 동안 주기적으로 리렌더 =====\nfunction useOrderFlagsLive(){const{orderData,loading,error}=useAppData();const[,force]=React.useReducer(x=>x+1,0);React.useEffect(()=>{if(!loading)return;const id=setInterval(()=>force(),120);return()=>clearInterval(id);},[loading]);React.useEffect(()=>{const onPop=()=>force();window.addEventListener(\"popstate\",onPop);window.addEventListener(\"hashchange\",onPop);return()=>{window.removeEventListener(\"popstate\",onPop);window.removeEventListener(\"hashchange\",onPop);};},[]);const d=!!orderData?.isDeliveryOrderEnabled;const p=!!orderData?.isPickupOrderEnabled;const ready=!!orderData&&!loading&&!error;return{ready,d,p};}// ===== 표시/숨김 프리셋 =====\nconst HIDE={visible:false,opacity:0,pointerEvents:\"none\",style:{display:\"none\"}};const GHOST={visible:false,opacity:0,style:{visibility:\"hidden\",pointerEvents:\"none\",width:\"100%\"}};const SHOW=(grow=false)=>({visible:true,opacity:1,style:grow?{width:\"100%\",minWidth:0,alignSelf:\"stretch\",flex:1}:{}});function useOrderFlags(){const{orderData,loading,error}=useAppData();const d=!!orderData?.isDeliveryOrderEnabled;const p=!!orderData?.isPickupOrderEnabled;const ready=!!orderData&&!loading&&!error;return{ready,d,p};}/* =================== 설정 =================== */function toHref(raw){const v=(raw||\"\").trim();if(!v)return\"/\";if(/^https?:\\/\\//i.test(v))return v;if(/^\\?path=/.test(v))return window.location.origin+\"/\"+v;const path=v.startsWith(\"/\")?v:`/${v}`;const isCanvas=/\\.framercanvas\\.com$/i.test(window.location.hostname);return isCanvas?`/?path=${encodeURI(path)}`:path;}function getConfiguredPage(which){const cfg=window.__STOREFRONT_CFG__||{};const v=which===\"delivery\"?cfg.deliveryPage:cfg.pickupPage;if(typeof v===\"string\"&&v.trim())return v;return which===\"delivery\"?\"/setorderinfo_택배\":\"/setorderinfo_픽업\";}const g=typeof window!==\"undefined\"?window:globalThis;const STICKY=g.__APP_CACHE__||(g.__APP_CACHE__={});function useAppDataSticky(){const res=useAppData();React.useEffect(()=>{if(res.userData)STICKY.userData=res.userData;if(res.orderData)STICKY.orderData=res.orderData;},[res.userData,res.orderData]);const userData=res.userData??STICKY.userData??null;const orderData=res.orderData??STICKY.orderData??null;const loading=res.loading&&!userData&&!orderData;return{...res,userData,orderData,loading};}/* ============ 리스트 컨텍스트 optional (밖에서도 안전) ============ */function useItemOptional(){try{return useProductItem()??null;}catch{return null;}}// === Sold-out 판정 & 인벤토리 공용 훅 ===\nfunction useSoldOutAndInv(){try{const ctx=useProductItem();const inv=ctx?.inventory??null;const flag=typeof ctx?.isSoldOut===\"boolean\"?ctx.isSoldOut:!!(inv?.isTrackingEnabled&&Number(inv?.currentStock??0)<=0);return{isSoldOut:flag,inventory:inv,option:ctx?.option??null};}catch{return{isSoldOut:false,inventory:null,option:null};}}/* =================== 상품 표시 오버라이드들 =================== */export function ProductStock(){const{isSoldOut,inventory}=useSoldOutAndInv();const qty=Math.max(0,Number(inventory?.currentStock??0));return{visible:!isSoldOut,text:`구매가능 수량 ${qty}`};}export function SoldOutBadge(){const{isSoldOut}=useSoldOutAndInv();return{visible:isSoldOut,text:isSoldOut?\"품절\":\"\",style:isSoldOut?{background:\"rgba(0,0,0,0.80)\",color:\"#fff\",padding:\"6px 12px\",borderRadius:999,fontWeight:700}:undefined};}export function ProductName(){const{option}=useSoldOutAndInv();return{text:(option?.name)??\"상품명\"};}export function ProductPrice(){const{option}=useSoldOutAndInv();const price=Number(option?.unitPrice??0);return{text:`${Math.round(price).toLocaleString(\"ko-KR\")}원`};}export function ProductSub(){const ctx=useItemOptional();const sub=ctx?.option?.kg!=null&&String(ctx.option.kg).trim()!==\"\"?String(ctx.option.kg):\"\";return{text:sub};}const DEFAULT_IMAGE_URL=\"\";export function ProductImage(){const ctx=useItemOptional();const src=ctx?.orderUrl?.openGraphImageUrl||ctx?.orderUrl?.imageUrls&&ctx.orderUrl.imageUrls[0]||DEFAULT_IMAGE_URL;return src?{image:src}:{};}/* ---------------- 헤더/정보 텍스트 HOC ---------------- */export function withFarmName(Component){return function FarmNameOverride(props){const{userData,loading,error}=useAppDataSticky();let text=\"농장 이름\";if(loading&&!userData)text=\"로딩 중...\";else if(error&&!userData)text=\"오류\";else if(userData?.farmName)text=userData.farmName;else text=\"농장 이름 없음\";return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withOrderName(Component){return function OrderNameOverride(props){const{orderData,loading}=useAppDataSticky();let text=\"주문서 이름\";if(loading&&!orderData)text=\"로딩 중...\";else if(orderData?.name)text=orderData.name;else text=\"주문서 이름 없음\";return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withUserName(Component){return function UserNameOverride(props){const{userData,loading}=useAppDataSticky();let text=\"사용자 이름\";if(loading&&!userData)text=\"로딩 중...\";else if(userData?.name)text=userData.name;else text=\"사용자 이름 없음\";return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withBankInfo(Component){return function BankInfoOverride(props){const{orderData,loading}=useAppDataSticky();let text=\"계좌 정보\";if(loading&&!orderData)text=\"로딩 중...\";else if(orderData?.bankName&&orderData?.bankAccountNumber)text=`${orderData.bankName} ${orderData.bankAccountNumber}`;else text=\"계좌 정보 없음\";return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withDeliveryFee(Component){return function DeliveryFeeOverride(props){const{orderData,loading}=useAppDataSticky();let text=\"배송비\";if(loading&&!orderData)text=\"...\";else if(orderData&&orderData.deliveryFee!==undefined){text=orderData.isFreeDelivery?\"무료배송\":`${Number(orderData.deliveryFee).toLocaleString(\"ko-KR\")}원`;}else text=\"배송비 정보 없음\";return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withFreeDeliveryInfo(Component){return function FreeDeliveryInfoOverride(props){const{orderData,loading}=useAppDataSticky();let text=\"\";if(loading&&!orderData)text=\"...\";else if(orderData){const typ=String(orderData.conditionalFreeDeliveryType||\"\");const val=Number(orderData.conditionalFreeDeliveryValue||0);if(typ===\"minAmount\"||/amount/i.test(typ)){text=val>0?`${val.toLocaleString(\"ko-KR\")}원 이상 무료배송`:\"\";}else if(typ===\"minQuantity\"||/quantity/i.test(typ)){text=val>0?`${val.toLocaleString(\"ko-KR\")}개 이상 무료배송`:\"\";}else text=\"\";}return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withNoticeText(Component){return function NoticeTextOverride(props){const{orderData,loading}=useAppDataSticky();let text=\"\";if(loading&&!orderData)text=\"로딩 중...\";else if(orderData?.noticeText)text=orderData.noticeText;return /*#__PURE__*/_jsx(Component,{...props,text:text});};}/** 🗒️ 공지사항이 없으면 프레임을 완전 접기(레이아웃 차지 X)\n *  - 로딩/에러/데이터 미준비 상태에선 GHOST 처리(자리만 유지, 깜빡임 방지)\n *  - 공지가 있으면 SHOW()\n */export function HideNoticeIfEmpty(){const{orderData,loading,error}=useAppDataSticky();if(loading||error||!orderData)return GHOST;const hasNotice=typeof orderData.noticeText===\"string\"&&orderData.noticeText.trim().length>0;return hasNotice?SHOW():hideCollapse;}export function withBankAccountHolder(Component){return function BankAccountHolderOverride(props){const{orderData,loading}=useAppDataSticky();let text=\"\";if(loading&&!orderData)text=\"...\";else if(orderData?.bankAccountHolderName)text=orderData.bankAccountHolderName;else text=\"예금주 정보 없음\";return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withOrderStatus(Component){return function OrderStatusOverride(props){const{orderData,loading}=useAppDataSticky();let text=\"\";if(loading&&!orderData)text=\"...\";else if(orderData)text=orderData.isAcceptingOrders?\"주문 가능\":\"주문 마감\";return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withAdditionalDeliveryInfo(Component){return function AdditionalDeliveryInfoOverride(props){const{orderData,loading}=useAppDataSticky();let text=\"없음\";if(loading&&!orderData){text=\"...\";}else if(orderData){// 명시적으로 false인 경우에만 '배송불가' 처리. 값이 없으면 기본적으로 가능(true)로 간주\nconst jejuEnabled=orderData.isJejuAdditionalDeliveryFeeEnabled??true;const remoteEnabled=orderData.isRemoteAdditionalDeliveryFeeEnabled??true;const jejuFee=Number(orderData.jejuAdditionalDeliveryFee??0);const remoteFee=Number(orderData.remoteAdditionalDeliveryFee??0);const parts=[];// 제주 처리\nif(!jejuEnabled){parts.push(\"제주 배송불가\");}else if(jejuFee>0){parts.push(`제주도 ${jejuFee.toLocaleString(\"ko-KR\")}원`);}// 도서산간 처리\nif(!remoteEnabled){parts.push(\"도서산간 배송불가\");}else if(remoteFee>0){parts.push(`도서산간 ${remoteFee.toLocaleString(\"ko-KR\")}원`);}text=parts.length?parts.join(\"\\n\"):\"없음\";}return /*#__PURE__*/_jsx(Component,{...props,text:text});};}/* 1) 부모 컨테이너 게이트: 데이터 준비될 때까지 자리는 확보(minHeight)만 해두고 숨김 */export function OrderTypeSectionGate(props){const{ready}=useOrderFlags();const h=props?.reserveHeight??96;if(!ready){return{style:{minHeight:h,opacity:0,visibility:\"hidden\",pointerEvents:\"none\"},\"aria-busy\":true};}return{style:{minHeight:undefined},\"aria-busy\":false};}/** ⛟ 택배 가능일 때만 표시 (단독이면 가로 전체) + hover/press */export function ShowIfDeliveryEnabled(){const{ready,d,p}=useOrderFlagsLive();if(!ready)return GHOST;if(!d)return HIDE;const base=SHOW(d&&!p)// 기존 로직 유지\n;// 필요하면 조건으로 disabled 계산(예: 품절/로딩 등)\nconst disabled=false;return{...base,style:{...base.style||{},...interactiveButtonBaseStyle,borderColor:disabled?\"#E5E7EB\":BASE_BORDER_COLOR,opacity:disabled?.6:1,cursor:disabled?\"not-allowed\":\"pointer\",pointerEvents:disabled?\"none\":\"auto\"},whileHover:disabled?undefined:{borderColor:HOVER_BORDER_COLOR},whileTap:disabled?undefined:{scale:PRESSED_SCALE},transition:{type:\"spring\",stiffness:500,damping:30}};}/** 📦 픽업 가능일 때만 표시 (단독이면 가로 전체) + hover/press */export function ShowIfPickupEnabled(){const{ready,d,p}=useOrderFlagsLive();if(!ready)return GHOST;if(!p)return HIDE;const base=SHOW(!d&&p);const disabled=false;return{...base,style:{...base.style||{},...interactiveButtonBaseStyle,borderColor:disabled?\"#E5E7EB\":BASE_BORDER_COLOR,opacity:disabled?.6:1,cursor:disabled?\"not-allowed\":\"pointer\",pointerEvents:disabled?\"none\":\"auto\"},whileHover:disabled?undefined:{borderColor:HOVER_BORDER_COLOR},whileTap:disabled?undefined:{scale:PRESSED_SCALE},transition:{type:\"spring\",stiffness:500,damping:30}};}/** 🔒 주문 중단일 때 해당 레이어를 완전 숨김 (유지) */export function HideIfOrderClosed(){const{orderData,loading,error}=useAppDataSticky();if(loading||error||!orderData)return{};const v=orderData?.isAcceptingOrders;const accepting=typeof v===\"boolean\"?v:typeof v===\"string\"?v.trim().toLowerCase()===\"true\":true;return accepting?{}:hideCollapse;}/** 🟥 주문 ‘중단’일 때만 표시 (유지) */export function ShowIfOrderClosed(){const{orderData,loading,error}=useAppDataSticky();if(loading||error||!orderData)return GHOST;const v=orderData?.isAcceptingOrders;const accepting=typeof v===\"boolean\"?v:typeof v===\"string\"?v.trim().toLowerCase()===\"true\":true;return accepting?HIDE:SHOW();}/** 💸 무통장/계좌입금(현금결제) 불가면 숨김\n *  조건: bankAccountNumber / bankAccountHolderName / bankName 모두 문자열 존재\n */export function HideIfCashPaymentUnavailable(){const orderUrl=useOrderUrl();if(!orderUrl)return{}// 로딩 중엔 노출 유지\n;const ok=isNonEmpty(orderUrl.bankAccountNumber)&&isNonEmpty(orderUrl.bankAccountHolderName)&&isNonEmpty(orderUrl.bankName);return ok?{}:HIDE;}/** 💳 카드결제 불가면 숨김\n *  조건: orderUrl.isCardPaymentAvailable === true\n */export function HideIfCardPaymentUnavailable(){const orderUrl=useOrderUrl();if(!orderUrl)return{}// 로딩 중엔 노출 유지\n;const ok=orderUrl.isCardPaymentAvailable===true;return ok?{}:HIDE;}export function BankInfoCopyOnClick(){const{orderData,loading}=useAppDataSticky();const has=!!orderData?.bankName&&!!orderData?.bankAccountNumber&&orderData.bankName.trim()!==\"\"&&orderData.bankAccountNumber.trim()!==\"\";const text=loading&&!orderData?\"로딩 중...\":has?`${orderData.bankName} ${orderData.bankAccountNumber}`:\"계좌 정보 없음\";const valueToCopy=has?text:\"\";const doCopy=e=>{e?.preventDefault?.();e?.stopPropagation?.();if(!valueToCopy)return;// 값 없으면 토스트도 띄우지 않음\nPromise.resolve(copyToClipboard(valueToCopy)).then(ok=>{if(ok)showToast({text:\"복사되었습니다\",kind:\"success\"});// 실패해도 토스트 없음\n}).catch(()=>{// 에러여도 토스트 없음\n});};return{text,// 손모양 커서 + 선택/드래그 방지 (디자인 변형 없음)\nstyle:{cursor:has?\"pointer\":\"default\",userSelect:\"none\",WebkitUserSelect:\"none\",MozUserSelect:\"none\",msUserSelect:\"none\",WebkitTouchCallout:\"none\",touchAction:\"manipulation\"},draggable:false,// 드래그 커서로 변환되는 걸 차단하고 바로 복사/토스트\nonPointerDown:doCopy,onClick:doCopy,onTap:doCopy,// 접근성 (Enter/Space)\nrole:\"button\",tabIndex:0,onKeyDown(e){if(e.key===\"Enter\"||e.key===\" \")doCopy(e);},\"aria-label\":\"계좌 정보 복사\"};}/* =================== N개당 배송비 오버라이드 =================== *//** App.tsx, orderData, userData, 스냅샷, CFG 어디에 있든 값을 안전하게 수집 */function usePerUnitDeliveryConfig(){const app=useAppDataSticky?.()??useAppData?.()??{};const snap=window.__APPDATA_SNAPSHOT__??{};const cfg=window.__STOREFRONT_CFG__??{};const pick=(obj,k)=>obj&&Object.prototype.hasOwnProperty.call(obj,k)?obj[k]:undefined;const resolve=k=>pick(app,k)??pick(app?.orderData,k)??pick(app?.userData,k)??pick(snap,k)??pick(snap?.orderData,k)??pick(cfg,k);const enabled=!!resolve(\"isDeliveryFeePerUnit\");let qty=Number(resolve(\"deliveryFeeUnitQuantity\"));if(!Number.isFinite(qty)||qty<=0)qty=1;const ready=!(app?.loading??false);return{enabled,qty,ready};}/** 프레임 표시/숨김: 활성화(true)면 보이기, 아니면 완전 접기 */export function DeliveryFeePerUnitFrame(){const{enabled}=usePerUnitDeliveryConfig();return enabled?SHOW(true):hideCollapse;}/** 수(N) 표기: 활성화일 때만 값 주입, 비활성 시 숨김 */export function DeliveryFeeUnitQuantityText(){const{enabled,qty}=usePerUnitDeliveryConfig();if(!enabled)return hideCollapse;// 텍스트 컴포넌트/입력 컴포넌트 양쪽 대응\nreturn{visible:true,opacity:1,text:String(qty),value:qty,style:{display:\"block\"}};}// ===== cart 상태 폴링 훅 (CartList의 pollMs와 맞춰 300ms 기본) =====\nfunction useCartHasItemsLive(pollMs=300){const[,force]=React.useReducer(x=>x+1,0);React.useEffect(()=>{let prev=JSON.stringify(appState.cart);const id=setInterval(()=>{const now=JSON.stringify(appState.cart);if(now!==prev){prev=now;force();}},pollMs);return()=>clearInterval(id);},[pollMs]);// 총 수량이 1개 이상이면 true\nconst totalQty=Array.isArray(appState.cart)?appState.cart.reduce((t,it)=>t+Number(it?.qty||0),0):0;return{hasItems:totalQty>0,totalQty};}/** 🧩 하단 버튼그룹: 장바구니 비면 완전 숨김, 있으면 표시\n *  - 버튼그룹 Frame에 이 오버라이드를 ‘그대로’ 연결하세요.\n *  - 레이아웃 자리도 없애려면(권장) hideCollapse 사용\n */export function ShowButtonGroupWhenCartHasItems(){const{hasItems}=useCartHasItemsLive(300)// 필요 시 폴링 간격 바꿔도 OK\n;if(hasItems){return{visible:true,opacity:1,style:{display:\"block\"}};}// hideCollapse가 파일에 이미 있다면 그대로 사용\nreturn{visible:false,style:{display:\"none\",height:0,minHeight:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,pointerEvents:\"none\"}};}/** 🔵 로드 완료되면 무조건 숨김 (orderClosed 여부 무관) */export function HideWhenLoaded(){const{loading}=useAppDataSticky();return loading?SHOW():HIDE;}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withProductStock(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ProductStock(props)});};}withProductStock.displayName=\"ProductStock\";export function withSoldOutBadge(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...SoldOutBadge(props)});};}withSoldOutBadge.displayName=\"SoldOutBadge\";export function withProductName(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ProductName(props)});};}withProductName.displayName=\"ProductName\";export function withProductPrice(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ProductPrice(props)});};}withProductPrice.displayName=\"ProductPrice\";export function withProductSub(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ProductSub(props)});};}withProductSub.displayName=\"ProductSub\";export function withProductImage(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ProductImage(props)});};}withProductImage.displayName=\"ProductImage\";export function withHideNoticeIfEmpty(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...HideNoticeIfEmpty(props)});};}withHideNoticeIfEmpty.displayName=\"HideNoticeIfEmpty\";export function withOrderTypeSectionGate(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...OrderTypeSectionGate(props)});};}withOrderTypeSectionGate.displayName=\"OrderTypeSectionGate\";export function withShowIfDeliveryEnabled(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShowIfDeliveryEnabled(props)});};}withShowIfDeliveryEnabled.displayName=\"ShowIfDeliveryEnabled\";export function withShowIfPickupEnabled(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShowIfPickupEnabled(props)});};}withShowIfPickupEnabled.displayName=\"ShowIfPickupEnabled\";export function withHideIfOrderClosed(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...HideIfOrderClosed(props)});};}withHideIfOrderClosed.displayName=\"HideIfOrderClosed\";export function withShowIfOrderClosed(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShowIfOrderClosed(props)});};}withShowIfOrderClosed.displayName=\"ShowIfOrderClosed\";export function withHideIfCashPaymentUnavailable(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...HideIfCashPaymentUnavailable(props)});};}withHideIfCashPaymentUnavailable.displayName=\"HideIfCashPaymentUnavailable\";export function withHideIfCardPaymentUnavailable(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...HideIfCardPaymentUnavailable(props)});};}withHideIfCardPaymentUnavailable.displayName=\"HideIfCardPaymentUnavailable\";export function withBankInfoCopyOnClick(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...BankInfoCopyOnClick(props)});};}withBankInfoCopyOnClick.displayName=\"BankInfoCopyOnClick\";export function withDeliveryFeePerUnitFrame(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...DeliveryFeePerUnitFrame(props)});};}withDeliveryFeePerUnitFrame.displayName=\"DeliveryFeePerUnitFrame\";export function withDeliveryFeeUnitQuantityText(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...DeliveryFeeUnitQuantityText(props)});};}withDeliveryFeeUnitQuantityText.displayName=\"DeliveryFeeUnitQuantityText\";export function withShowButtonGroupWhenCartHasItems(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShowButtonGroupWhenCartHasItems(props)});};}withShowButtonGroupWhenCartHasItems.displayName=\"ShowButtonGroupWhenCartHasItems\";export function withHideWhenLoaded(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...HideWhenLoaded(props)});};}withHideWhenLoaded.displayName=\"HideWhenLoaded\";\nexport const __FramerMetadata__ = {\"exports\":{\"withHideWhenLoaded\":{\"type\":\"reactHoc\",\"name\":\"withHideWhenLoaded\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ProductStock\":{\"type\":\"override\",\"name\":\"ProductStock\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withProductImage\":{\"type\":\"reactHoc\",\"name\":\"withProductImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowButtonGroupWhenCartHasItems\":{\"type\":\"override\",\"name\":\"ShowButtonGroupWhenCartHasItems\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBankInfo\":{\"type\":\"reactHoc\",\"name\":\"withBankInfo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAdditionalDeliveryInfo\":{\"type\":\"reactHoc\",\"name\":\"withAdditionalDeliveryInfo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ProductName\":{\"type\":\"override\",\"name\":\"ProductName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ProductImage\":{\"type\":\"override\",\"name\":\"ProductImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideIfOrderClosed\":{\"type\":\"override\",\"name\":\"HideIfOrderClosed\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBankAccountHolder\":{\"type\":\"reactHoc\",\"name\":\"withBankAccountHolder\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowIfPickupEnabled\":{\"type\":\"reactHoc\",\"name\":\"withShowIfPickupEnabled\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withProductSub\":{\"type\":\"reactHoc\",\"name\":\"withProductSub\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHideIfOrderClosed\":{\"type\":\"reactHoc\",\"name\":\"withHideIfOrderClosed\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDeliveryFeePerUnitFrame\":{\"type\":\"reactHoc\",\"name\":\"withDeliveryFeePerUnitFrame\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHideIfCashPaymentUnavailable\":{\"type\":\"reactHoc\",\"name\":\"withHideIfCashPaymentUnavailable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BankInfoCopyOnClick\":{\"type\":\"override\",\"name\":\"BankInfoCopyOnClick\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHideNoticeIfEmpty\":{\"type\":\"reactHoc\",\"name\":\"withHideNoticeIfEmpty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNoticeText\":{\"type\":\"reactHoc\",\"name\":\"withNoticeText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOrderStatus\":{\"type\":\"reactHoc\",\"name\":\"withOrderStatus\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHideIfCardPaymentUnavailable\":{\"type\":\"reactHoc\",\"name\":\"withHideIfCardPaymentUnavailable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDeliveryFeeUnitQuantityText\":{\"type\":\"reactHoc\",\"name\":\"withDeliveryFeeUnitQuantityText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideIfCardPaymentUnavailable\":{\"type\":\"override\",\"name\":\"HideIfCardPaymentUnavailable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOrderName\":{\"type\":\"reactHoc\",\"name\":\"withOrderName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowIfDeliveryEnabled\":{\"type\":\"reactHoc\",\"name\":\"withShowIfDeliveryEnabled\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ProductSub\":{\"type\":\"override\",\"name\":\"ProductSub\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideIfCashPaymentUnavailable\":{\"type\":\"override\",\"name\":\"HideIfCashPaymentUnavailable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFarmName\":{\"type\":\"reactHoc\",\"name\":\"withFarmName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDeliveryFee\":{\"type\":\"reactHoc\",\"name\":\"withDeliveryFee\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideNoticeIfEmpty\":{\"type\":\"override\",\"name\":\"HideNoticeIfEmpty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OrderTypeSectionGate\":{\"type\":\"override\",\"name\":\"OrderTypeSectionGate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOrderTypeSectionGate\":{\"type\":\"reactHoc\",\"name\":\"withOrderTypeSectionGate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSoldOutBadge\":{\"type\":\"reactHoc\",\"name\":\"withSoldOutBadge\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DeliveryFeeUnitQuantityText\":{\"type\":\"override\",\"name\":\"DeliveryFeeUnitQuantityText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withUserName\":{\"type\":\"reactHoc\",\"name\":\"withUserName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withProductPrice\":{\"type\":\"reactHoc\",\"name\":\"withProductPrice\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withProductName\":{\"type\":\"reactHoc\",\"name\":\"withProductName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFreeDeliveryInfo\":{\"type\":\"reactHoc\",\"name\":\"withFreeDeliveryInfo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowIfOrderClosed\":{\"type\":\"reactHoc\",\"name\":\"withShowIfOrderClosed\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SoldOutBadge\":{\"type\":\"override\",\"name\":\"SoldOutBadge\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowIfPickupEnabled\":{\"type\":\"override\",\"name\":\"ShowIfPickupEnabled\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DeliveryFeePerUnitFrame\":{\"type\":\"override\",\"name\":\"DeliveryFeePerUnitFrame\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowIfOrderClosed\":{\"type\":\"override\",\"name\":\"ShowIfOrderClosed\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withProductStock\":{\"type\":\"reactHoc\",\"name\":\"withProductStock\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowButtonGroupWhenCartHasItems\":{\"type\":\"reactHoc\",\"name\":\"withShowButtonGroupWhenCartHasItems\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowIfDeliveryEnabled\":{\"type\":\"override\",\"name\":\"ShowIfDeliveryEnabled\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ProductPrice\":{\"type\":\"override\",\"name\":\"ProductPrice\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBankInfoCopyOnClick\":{\"type\":\"reactHoc\",\"name\":\"withBankInfoCopyOnClick\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideWhenLoaded\":{\"type\":\"override\",\"name\":\"HideWhenLoaded\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StorefrontOverrides.map"],"mappings":"knBAEa,EAAY,GAAK,CAAC,UAAU,CAAE,EAAC,KCE4K,SAAgB,GAAa,EAAG,CAAC,EAAU,IAAI,GAAI,IAAM,MAAU,IAAkD,OAA7C,EAAO,iBAAiB,cAAc,OAAiB,CAAC,EAAU,OAAO,GAAI,E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