{"version":3,"file":"WithFormAutofill.9pXFayCT.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","sharedStyle.className","className","RichText","sharedStyle.css","sharedStyle.fonts","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/vq8sBkL4dz50ZPUj6ZTP/gsExXTa1l7acMR57as9S/Otyk4hUwE.js","https:/framerusercontent.com/modules/z8GTut3cTxfoA3KjyQHq/ZftvI351t70x2ilZuLZf/WithFormAutofill.js"],"sourcesContent":["// Generated by Framer (72b52f5)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/svIXfZSinw1ZT01paxix/xKjg0Ihi42jReThFZg3q/mraPPf2rq.js\";const MotionDivWithFX=withFX(motion.div);const enabledGestures={bxXaA60d4:{hover:true,pressed:true}};const cycleOrder=[\"bxXaA60d4\",\"rVWeVQ_3a\",\"bX9zG2yK_\",\"VgpQvTQhc\",\"Nf60g4dm7\"];const serializationHash=\"framer-n0X9S\";const variantClassNames={bX9zG2yK_:\"framer-v-kmbfyb\",bxXaA60d4:\"framer-v-12jsdqe\",Nf60g4dm7:\"framer-v-olhcuj\",rVWeVQ_3a:\"framer-v-1uyg90e\",VgpQvTQhc:\"framer-v-dobzfx\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const J8ZQr2kxx=undefined;const zZArJQ355=undefined;const tLcnVdfih=undefined;const transition1={delay:0,duration:.2,ease:[.44,0,.56,1],type:\"tween\"};const transition2={delay:0,duration:1,ease:[0,0,1,1],type:\"tween\"};const animation={opacity:1,rotate:360,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Default:\"bxXaA60d4\",Disabled:\"bX9zG2yK_\",Error:\"Nf60g4dm7\",Loading:\"rVWeVQ_3a\",Success:\"VgpQvTQhc\"};const Variants=motion.create(React.Fragment);const getProps=({_,error,height,id,title,width,...props})=>{return{...props,J8ZQr2kxx:title??props.J8ZQr2kxx??\"Submit\",tLcnVdfih:error??props.tLcnVdfih??\"Something went wrong\",variant:humanReadableVariantMap[props.variant]??props.variant??\"bxXaA60d4\",zZArJQ355:_??props.zZArJQ355??\"Waitlist successfully submitted. Please wait for our review\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,zZArJQ355,J8ZQr2kxx,tLcnVdfih,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"bxXaA60d4\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"rVWeVQ_3a\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"rVWeVQ_3a\")return true;return false;};const isDisplayed2=()=>{if(baseVariant===\"VgpQvTQhc\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-12jsdqe\",className,classNames),\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"bxXaA60d4\",ref:refBinding,style:{backgroundColor:\"var(--token-3d8cf468-442f-4daf-89f7-0513fa650632, rgb(255, 255, 255))\",borderBottomLeftRadius:14,borderBottomRightRadius:14,borderTopLeftRadius:14,borderTopRightRadius:14,opacity:1,...style},variants:{\"bxXaA60d4-hover\":{backgroundColor:\"rgba(196, 196, 196, 0.85)\",opacity:1},\"bxXaA60d4-pressed\":{backgroundColor:\"rgb(51, 51, 51)\",opacity:1},bX9zG2yK_:{opacity:.5},Nf60g4dm7:{backgroundColor:\"rgba(255, 34, 68, 0.15)\",opacity:1},VgpQvTQhc:{opacity:1}},...addPropertyOverrides({\"bxXaA60d4-hover\":{\"data-framer-name\":undefined},\"bxXaA60d4-pressed\":{\"data-framer-name\":undefined},bX9zG2yK_:{\"data-framer-name\":\"Disabled\"},Nf60g4dm7:{\"data-framer-name\":\"Error\"},rVWeVQ_3a:{\"data-framer-name\":\"Loading\"},VgpQvTQhc:{\"data-framer-name\":\"Success\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1ax0jzo\",\"data-styles-preset\":\"mraPPf2rq\",style:{\"--framer-text-color\":\"var(--extracted-a0htzi, var(--token-14f6dfd6-f85a-4789-845c-1e37af1752ef, rgb(0, 0, 0)))\"},children:\"Submit\"})}),className:\"framer-1t6o2b9\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"qWBtCx6bo\",style:{\"--extracted-a0htzi\":\"var(--token-14f6dfd6-f85a-4789-845c-1e37af1752ef, rgb(0, 0, 0))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:J8ZQr2kxx,variants:{Nf60g4dm7:{\"--extracted-a0htzi\":\"rgb(255, 34, 68)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({Nf60g4dm7:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1ax0jzo\",\"data-styles-preset\":\"mraPPf2rq\",style:{\"--framer-text-color\":\"var(--extracted-a0htzi, rgb(255, 34, 68))\"},children:\"Something went wrong\"})}),text:tLcnVdfih},VgpQvTQhc:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1ax0jzo\",\"data-styles-preset\":\"mraPPf2rq\",style:{\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-a0htzi, var(--token-14f6dfd6-f85a-4789-845c-1e37af1752ef, rgb(0, 0, 0)))\"},children:\"Thank you\"})}),text:zZArJQ355}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-1hkn4jv\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"s1389hiIm\",style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition2,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-5vmbg4\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"e4DaJ8OPc\",style:{background:\"conic-gradient(from 0deg at 50% 50%, rgba(0, 0, 0, 0) 7.208614864864882deg, rgb(0, 0, 0) 342deg)\",mask:\"none\",WebkitMask:\"none\"},variants:{rVWeVQ_3a:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"}},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-sfilds\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"RGEttyUxO\",style:{backgroundColor:\"var(--token-14f6dfd6-f85a-4789-845c-1e37af1752ef, rgb(0, 0, 0))\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1},transformTemplate:transformTemplate1})})}),isDisplayed2()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-15gnten\",\"data-framer-name\":\"Blur\",layoutDependency:layoutDependency,layoutId:\"xFlDAmwib\",style:{background:\"linear-gradient(180deg, var(--token-2e61f09a-aaff-47c9-a0ba-0a7e52cb5379, rgb(121, 203, 202)) 0%, var(--token-2e61f09a-aaff-47c9-a0ba-0a7e52cb5379, rgb(121, 203, 202)) 100%)\",borderBottomLeftRadius:\"100%\",borderBottomRightRadius:\"100%\",borderTopLeftRadius:\"100%\",borderTopRightRadius:\"100%\",filter:\"blur(30px)\",opacity:.5,WebkitFilter:\"blur(30px)\"},transformTemplate:transformTemplate1})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-n0X9S.framer-flzslb, .framer-n0X9S .framer-flzslb { display: block; }\",\".framer-n0X9S.framer-12jsdqe { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 60px; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 240px; }\",\".framer-n0X9S .framer-1t6o2b9 { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-n0X9S .framer-1hkn4jv { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: var(--framer-aspect-ratio-supported, 20px); overflow: hidden; position: relative; width: 20px; }\",\".framer-n0X9S .framer-5vmbg4 { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-n0X9S .framer-sfilds { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 2px); left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\".framer-n0X9S .framer-15gnten { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 191px); left: 50%; position: absolute; top: -139px; width: 191px; z-index: 0; }\",\".framer-n0X9S.framer-v-1uyg90e.framer-12jsdqe, .framer-n0X9S.framer-v-kmbfyb.framer-12jsdqe, .framer-n0X9S.framer-v-olhcuj.framer-12jsdqe { cursor: unset; }\",\".framer-n0X9S.framer-v-1uyg90e .framer-5vmbg4 { overflow: hidden; }\",\".framer-n0X9S.framer-v-dobzfx.framer-12jsdqe { cursor: unset; overflow: var(--overflow-clip-fallback, clip); padding: 0px 20px 0px 20px; width: 314px; will-change: var(--framer-will-change-override, transform); }\",\".framer-n0X9S.framer-v-dobzfx .framer-1t6o2b9 { flex: 1 0 0px; order: 1; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; }\",\".framer-n0X9S.framer-v-dobzfx .framer-15gnten { order: 0; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 60\n * @framerIntrinsicWidth 240\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"rVWeVQ_3a\":{\"layout\":[\"fixed\",\"fixed\"]},\"bX9zG2yK_\":{\"layout\":[\"fixed\",\"fixed\"]},\"VgpQvTQhc\":{\"layout\":[\"fixed\",\"fixed\"]},\"Nf60g4dm7\":{\"layout\":[\"fixed\",\"fixed\"]},\"z7UsPhzFE\":{\"layout\":[\"fixed\",\"fixed\"]},\"FIvdHLYqU\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"zZArJQ355\":\"_\",\"J8ZQr2kxx\":\"title\",\"tLcnVdfih\":\"error\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerOtyk4hUwE=withCSS(Component,css,\"framer-n0X9S\");export default FramerOtyk4hUwE;FramerOtyk4hUwE.displayName=\"Form Button\";FramerOtyk4hUwE.defaultProps={height:60,width:240};addPropertyControls(FramerOtyk4hUwE,{variant:{options:[\"bxXaA60d4\",\"rVWeVQ_3a\",\"bX9zG2yK_\",\"VgpQvTQhc\",\"Nf60g4dm7\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum},zZArJQ355:{defaultValue:\"Waitlist successfully submitted. Please wait for our review\",displayTextArea:true,title:\"전송 완료 텍스트\",type:ControlType.String},onzZArJQ355Change:{changes:\"zZArJQ355\",type:ControlType.ChangeHandler},J8ZQr2kxx:{defaultValue:\"Submit\",displayTextArea:false,title:\"Title\",type:ControlType.String},onJ8ZQr2kxxChange:{changes:\"J8ZQr2kxx\",type:ControlType.ChangeHandler},tLcnVdfih:{defaultValue:\"Something went wrong\",displayTextArea:false,title:\"Error\",type:ControlType.String},ontLcnVdfihChange:{changes:\"tLcnVdfih\",type:ControlType.ChangeHandler}});addFonts(FramerOtyk4hUwE,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerOtyk4hUwE\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"60\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"rVWeVQ_3a\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"bX9zG2yK_\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"VgpQvTQhc\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Nf60g4dm7\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"z7UsPhzFE\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"FIvdHLYqU\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"zZArJQ355\\\":\\\"_\\\",\\\"J8ZQr2kxx\\\":\\\"title\\\",\\\"tLcnVdfih\\\":\\\"error\\\"}\",\"framerIntrinsicWidth\":\"240\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Otyk4hUwE.map","// UTM → input[name=\"UTM\"] (robust: load + observer + submit-capture)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";const TAG=\"[UTM/ROBUST]\";const UTM_KEYS=[\"utm_source\",\"utm_medium\",\"utm_campaign\",\"utm_content\",\"utm_term\",\"ref\",\"utm_content_num\"];function log(...a){try{console.log(TAG,...a);}catch{}}function getUTM(){const sp=new URLSearchParams(window.location.search);const out={};UTM_KEYS.forEach(k=>{const v=sp.get(k);if(v&&v.trim()!==\"\")out[k]=v;});return out;}function toQueryString(utm,withQ=false){const entries=Object.entries(utm).filter(([,v])=>typeof v===\"string\"&&v.trim()!==\"\");if(entries.length===0)return\"\";const qs=entries.map(([k,v])=>`${encodeURIComponent(k)}=${encodeURIComponent(v)}`).join(\"&\");return withQ?`?${qs}`:qs;}function setValueHard(el,value){// 1) property\nconst before=el.value;el.value=value;// 2) attribute (일부 라이브러리는 attribute를 직렬화함)\nel.setAttribute(\"value\",value);// 3) 이벤트\nel.dispatchEvent(new Event(\"input\",{bubbles:true}));el.dispatchEvent(new Event(\"change\",{bubbles:true}));log(\"setValueHard\",{before,after:value,node:el});}function findFormOf(el){return el?el.closest(\"form\"):null;}/** 폼 내부에 UTM 인풋이 없으면 하나 생성하고, 값을 보장 */function ensureUTMInForm(form,value){let input=form.querySelector('input[name=\"UTM\"]');if(!input){input=document.createElement(\"input\");input.type=\"hidden\";input.name=\"UTM\";form.appendChild(input);log(\"created hidden input[name=UTM] inside form\");}setValueHard(input,value);return input;}/** DOM 전체에서 첫 번째 input[name=UTM]을 찾아 값 보장 (있으면 세팅) */function applyOnce(value){let input=document.querySelector('input[name=\"UTM\"]');if(input){setValueHard(input,value);return input;}return null;}export function ApplyUTM_Robust(includeQuestionMark=false,observeMs=5e3){// 오버라이드 함수 호출 로그\nlog(\"invoked\",{includeQuestionMark,observeMs});useEffect(()=>{log(\"useEffect fired\");const utm=getUTM();const qs=toQueryString(utm,includeQuestionMark);log(\"URLSearch:\",window.location.search);log(\"UTM keys:\",Object.keys(utm));if(!qs){log(\"no UTM → skip\");return;}// 1) 로드 시 즉시 한 번\nconst first=applyOnce(qs);const firstForm=findFormOf(first);if(first&&firstForm){// 폼에 붙어 있으면 attribute까지 보장됨\nensureUTMInForm(firstForm,qs);}// 2) MutationObserver: 인풋/폼이 교체될 때 재주입\nconst obs=new MutationObserver(muts=>{for(const m of muts){for(const n of Array.from(m.addedNodes)){if(!(n instanceof HTMLElement))continue;// 새로 생성된 폼/인풋 안에 name=UTM 있으면 값 보장\nconst newly=n.matches?.('input[name=\"UTM\"]')?n:n.querySelector?.('input[name=\"UTM\"]');if(newly){log(\"observer: UTM input appeared → reapply\");const form=findFormOf(newly);if(form)ensureUTMInForm(form,qs);else setValueHard(newly,qs);}}}});obs.observe(document.body,{childList:true,subtree:true});log(\"observer started\",observeMs,\"ms\");const obsStop=setTimeout(()=>{obs.disconnect();log(\"observer stopped\");},observeMs);// 3) submit 캡처: 전송 직전에 폼 내부 값 보장 (가장 확실)\nconst onSubmit=e=>{const form=e.target;if(!form||form.nodeName!==\"FORM\")return;log(\"submit capture → ensure value inside form\");ensureUTMInForm(form,qs);};document.addEventListener(\"submit\",onSubmit,true);return()=>{clearTimeout(obsStop);obs.disconnect();document.removeEventListener(\"submit\",onSubmit,true);log(\"cleanup\");};},[includeQuestionMark,observeMs]);// 반환 객체 비워도 됨 (이 오버라이드는 부수효과만 사용)\nreturn{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withApplyUTM_Robust(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ApplyUTM_Robust(props)});};}withApplyUTM_Robust.displayName=\"ApplyUTM_Robust\";\nexport const __FramerMetadata__ = {\"exports\":{\"withApplyUTM_Robust\":{\"type\":\"reactHoc\",\"name\":\"withApplyUTM_Robust\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ApplyUTM_Robust\":{\"type\":\"override\",\"name\":\"ApplyUTM_Robust\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata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