{"version":3,"file":"GTMVariant.BHyCSk_2.mjs","names":[],"sources":["https:/framerusercontent.com/modules/4CFeioLB4XtwyQObdtaY/ORR8xjNqDr8eKjOCXxOT/GTMVariant.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function GTMVariant(props){const{variant}=props;React.useEffect(()=>{if(!variant)return;if(typeof window!==\"undefined\"){const w=window;w.dataLayer=w.dataLayer||[];// データレイヤーに直接プッシュ（イベントなし）\nw.dataLayer.push({framer_variant:variant});}},[variant]);return /*#__PURE__*/_jsx(\"div\",{style:{display:\"none\"}});}// プロパティコントロールの定義\naddPropertyControls(GTMVariant,{variant:{title:\"Variant\",type:ControlType.String,defaultValue:\"\",placeholder:\"A / B / ...\"}});// コンポーネントのデフォルトプロパティ\nGTMVariant.defaultProps={variant:\"\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GTMVariant\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GTMVariant.map"],"mappings":"wLAGG,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,WAAS,EACH,OADS,MAAoB,CAAK,MAAyB,IAAS,OAAY,CAAC,IAAM,EAAE,EAAO,EAAE,UAAU,EAAE,WAAW,EAAE,CACpL,EAAE,UAAU,KAAK,CAAC,eAAe,EAAQ,CAAC,GAAI,CAAC,EAAQ,CAAC,CAAqB,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,CAAC,CAAC,sBAJtE,IAA4B,IAAoD,CAK3H,EAAoB,EAAW,CAAC,QAAQ,CAAC,MAAM,UAAU,KAAK,EAAY,OAAO,aAAa,GAAG,YAAY,cAAc,CAAC,CAAC,CAC7H,EAAW,aAAa,CAAC,QAAQ,GAAG"}