{"version":3,"file":"EditableCompactSectionStage.BVvSR_jz.mjs","names":["React.useRef","React.useState","React.useRef","React.useState","__esmMin","le","_e","de","init_jsx_runtime","c","init_npm_react_18_3_1","init_framer_DKWANagr","addPropertyControls","ControlType","EditableMobileSectionStage","ref","w","setW","el","update","ro","style","art","init_EditableMobileSectionStage","EditableCompactSectionStage","init_EditableCompactSectionStage"],"sources":["https:/framerusercontent.com/modules/9IkWgIjzTK9ICGIPaQer/nAgwyexpBj4TYyoTLQY5/EditableMobileSectionStage.js","https:/framerusercontent.com/modules/pHpAqdKWSsv0XfSBLxW3/l3nDly1dYSqm72oJNgzM/EditableCompactSectionStage.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/** @framerIntrinsicWidth 414\n * @framerIntrinsicHeight 750\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function EditableMobileSectionStage({art,style}){const ref=React.useRef(null);const[w,setW]=React.useState(342);React.useLayoutEffect(()=>{const el=ref.current;if(!el)return;const update=()=>{if(el.clientWidth>0)setW(el.clientWidth);};update();const ro=new ResizeObserver(update);ro.observe(el);return()=>ro.disconnect();},[]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{...style,position:\"relative\",width:\"100%\",height:\"auto\",aspectRatio:\"414 / 750\",overflow:\"visible\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,top:0,width:414,height:750,transform:`scale(${w/414})`,transformOrigin:\"top left\"},children:art})});}addPropertyControls(EditableMobileSectionStage,{art:{type:ControlType.ComponentInstance,title:\"手机分层配图\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"EditableMobileSectionStage\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"750\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"414\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EditableMobileSectionStage.map","import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/** @framerIntrinsicWidth 414\n * @framerIntrinsicHeight 580\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function EditableCompactSectionStage({art,style}){const ref=React.useRef(null);const[w,setW]=React.useState(342);React.useLayoutEffect(()=>{const el=ref.current;if(!el)return;const update=()=>{if(el.clientWidth>0)setW(el.clientWidth);};update();const ro=new ResizeObserver(update);ro.observe(el);return()=>ro.disconnect();},[]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{...style,position:\"relative\",width:\"100%\",height:\"auto\",aspectRatio:\"414 / 580\",overflow:\"visible\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,top:0,width:414,height:580,transform:`scale(${w/414})`,transformOrigin:\"top left\"},children:art})});}addPropertyControls(EditableCompactSectionStage,{art:{type:ControlType.ComponentInstance,title:\"手机分层配图\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"EditableCompactSectionStage\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"414\",\"framerIntrinsicHeight\":\"580\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EditableCompactSectionStage.map"],"mappings":"A,wLAIG,SAAwBc,EAA2B,CAAC,MAAI,SAAO,CAAC,IAAMC,EAAIf,EAAa,IAAI,EAAO,CAACgB,EAAEC,GAAMhB,EAAe,GAAG,EAAyN,OAAvNI,MAA0B,CAAC,IAAMa,EAAGH,EAAI,QAAQ,GAAG,CAACG,EAAG,OAAO,IAAMC,MAAW,CAAID,EAAG,YAAY,GAAED,EAAKC,EAAG,WAAW,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