{"version":3,"file":"ProcessOrbit.8X9eAdfQ.mjs","names":["React.useRef","React.useState","__esmMin","_e","de","init_jsx_runtime","c","p","init_npm_react_18_3_1","ce","useInView","useReducedMotion","init_framer_motion_DhsWWWsN","init_framer_BpuvUAiZ","addPropertyControls","useIsStaticRenderer","ControlType","ProcessOrbit","defaultSteps","root","inView","reduced","isStatic","visible","setVisible","update","running","animate","fromText","stepsText","line","title","rest","items","steps","compact","font","style","color","number","i","step","init_ProcessOrbit"],"sources":["https:/framerusercontent.com/modules/yqulI8vWWODHPvOzaM0Q/3PPVv701GXVc6GWoxhqi/ProcessOrbit.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useInView,useReducedMotion}from\"framer-motion\";const defaultSteps=[{title:\"업무 진단\",description:\"반복 작업과 사용 중인 자료를 확인합니다\"},{title:\"설계\",description:\"자동화할 단계와 담당자 검토 지점을 정합니다\"},{title:\"구축\\xb7연동\",description:\"시스템을 만들고 기존 도구와 연결합니다\"},{title:\"검수\",description:\"실제 자료로 결과와 동작을 확인합니다\"},{title:\"사용 교육\",description:\"담당자가 운영할 수 있도록 사용법을 안내합니다\"}];/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 200\n */export default function ProcessOrbit({steps=defaultSteps,stepsText=\"\",color=\"#0066ff\",animate=true,font,style}){const root=React.useRef(null);const inView=useInView(root);const reduced=useReducedMotion();const isStatic=useIsStaticRenderer();const[visible,setVisible]=React.useState(true);React.useEffect(()=>{const update=()=>setVisible(!document.hidden);update();document.addEventListener(\"visibilitychange\",update);return()=>document.removeEventListener(\"visibilitychange\",update);},[]);const running=animate&&inView&&visible&&!reduced&&!isStatic;const fromText=stepsText.split(\"\\n\").map(line=>line.trim()).filter(Boolean).map(line=>{const[title,...rest]=line.split(\"|\");return{title:title.trim(),description:rest.join(\"|\").trim()};});const items=(fromText.length?fromText:steps.length?steps:defaultSteps).slice(0,7);const compact=items.length>=7;return /*#__PURE__*/_jsxs(\"div\",{ref:root,className:\"ez-framer-process\",style:{width:\"100%\",height:\"auto\",fontFamily:'\"Pretendard Variable\", Pretendard, sans-serif',...font,...style,position:\"relative\",containerType:\"inline-size\",\"--ep-color\":color,\"--ep-play\":running?\"running\":\"paused\",\"--ep-count\":items.length},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n        .ez-framer-process *{box-sizing:border-box}\n        .ez-framer-process ol{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(var(--ep-count),minmax(0,1fr));gap:0}\n        .ez-framer-process li{position:relative;text-align:center;padding:0 8px}\n        .ez-framer-process li:not(:last-child)::after{content:\"\";position:absolute;top:32px;left:50%;width:100%;height:2px;z-index:0;background:linear-gradient(90deg,transparent 40%,#4d8dff 50%,transparent 60%) 0 0/300% 100% no-repeat,repeating-linear-gradient(90deg,rgba(143,179,255,.32) 0 3px,transparent 3px 8px);animation:ez-fp-run 2.8s linear infinite;animation-play-state:var(--ep-play)}\n        .ez-framer-process .ep-orb{position:relative;z-index:1;display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px}\n        .ez-framer-process .ep-orb::before{content:\"\";position:absolute;inset:0;border-radius:50%;border:1px dashed rgba(0,75,235,.38);animation:ez-fp-spin 20s linear infinite;animation-play-state:var(--ep-play)}\n        .ez-framer-process .ep-core{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;font-size:13px;font-weight:700;color:#fff;background:radial-gradient(circle at 35% 30%,#4d8dff,var(--ep-color) 55%,#063a8c);box-shadow:0 0 0 5px rgba(10,108,255,.1),0 0 24px rgba(10,108,255,.55);animation:ez-fp-glow 3s ease-in-out infinite;animation-play-state:var(--ep-play)}\n        .ez-framer-process li:nth-child(2n) .ep-core{animation-delay:1.5s}\n        .ez-framer-process .ep-pill{position:relative;z-index:1;display:inline-flex;align-items:center;gap:10px;max-width:100%;padding:8px 16px;border-radius:999px;background:#ecece9;border:1px solid #cdcdca;text-align:left;color:#050502;font-size:15px;font-weight:650;line-height:1.3;word-break:keep-all;transition:border-color .25s,background .25s}\n        .ez-framer-process .ep-pill i{display:none;font-style:normal}\n        .ez-framer-process li:hover .ep-pill{border-color:var(--ep-color);background:#edf1fa}\n        .ez-framer-process p{position:relative;margin:14px auto 0;max-width:22ch;font-size:13.5px;line-height:1.6;color:#5a5a57;word-break:keep-all}\n        .ez-framer-process .ep-compact{padding:8px 12px}\n        @container(max-width:860px){\n        .ez-framer-process ol{grid-template-columns:1fr;gap:14px;padding-left:4px}\n        .ez-framer-process li{text-align:left;padding:0}\n        .ez-framer-process .ep-orb{display:none}\n        .ez-framer-process .ep-pill{padding:7px 16px 7px 7px}\n        .ez-framer-process .ep-pill i{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:11px;font-weight:700;color:#004beb;border:1px solid var(--ep-color)}\n        .ez-framer-process li:not(:last-child)::after{top:36px;left:21px;width:2px;height:calc(100% - 14px);background:linear-gradient(180deg,var(--ep-color),#d7d7d4);animation:none}\n        .ez-framer-process p{margin:8px 0 0 44px;max-width:none}\n        }\n        @keyframes ez-fp-spin{to{transform:rotate(360deg)}}\n        @keyframes ez-fp-glow{50%{box-shadow:0 0 0 7px rgba(10,108,255,.16),0 0 34px rgba(10,108,255,.75)}}\n        @keyframes ez-fp-run{from{background-position:100% 0,0 0}to{background-position:-200% 0,0 0}}\n        @media(prefers-reduced-motion:reduce){.ez-framer-process .ep-orb::before,.ez-framer-process .ep-core,.ez-framer-process li::after{animation-play-state:paused!important}}\n        `}),/*#__PURE__*/_jsx(\"ol\",{\"aria-label\":\"구축 절차\",children:items.map((step,i)=>{const number=String(i+1).padStart(2,\"0\");return /*#__PURE__*/_jsxs(\"li\",{children:[/*#__PURE__*/_jsx(\"span\",{className:\"ep-orb\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"span\",{className:\"ep-core\",children:number})}),/*#__PURE__*/_jsxs(\"span\",{className:compact?\"ep-pill ep-compact\":\"ep-pill\",children:[/*#__PURE__*/_jsx(\"i\",{\"aria-hidden\":\"true\",children:number}),/*#__PURE__*/_jsx(\"b\",{children:step.title})]}),step.description?/*#__PURE__*/_jsx(\"p\",{children:step.description}):null]},i);})})]});}addPropertyControls(ProcessOrbit,{stepsText:{type:ControlType.String,title:\"단계(줄마다 제목 | 설명)\",defaultValue:\"\",displayTextArea:true},steps:{type:ControlType.Array,title:\"단계\",maxCount:7,defaultValue:defaultSteps,control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"제목\",defaultValue:\"업무 진단\"},description:{type:ControlType.String,title:\"설명\",defaultValue:\"반복 작업과 사용 중인 자료를 확인합니다\",displayTextArea:true}}}},color:{type:ControlType.Color,title:\"중심 색\",defaultValue:\"#0066ff\"},animate:{type:ControlType.Boolean,title:\"움직임\",defaultValue:true},font:{type:ControlType.Font,title:\"글꼴\",controls:\"extended\",defaultFontType:\"sans-serif\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProcessOrbit\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"200\",\"framerIntrinsicWidth\":\"1200\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProcessOrbit.map"],"mappings":"A,+PAKG,SAAwBiB,EAAa,CAAC,QAAMC,EAAa,YAAU,GAAG,QAAM,UAAU,UAAQ,GAAK,OAAK,SAAO,CAAC,IAAMC,EAAKnB,EAAa,IAAI,EAAQoB,EAAOV,EAAUS,CAAI,EAAQE,EAAQV,EAAiB,EAAQW,EAASP,EAAoB,EAAO,CAACQ,EAAQC,GAAYvB,EAAe,EAAI,EAAEQ,MAAoB,CAAC,IAAMgB,MAAWD,EAAW,CAAC,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