{"version":3,"file":"shared-lib.LXiD-KO3.mjs","names":["useRef","__esmMin","init_npm_react_18_3_1","c","init_jsx_runtime","ce","de","init_framer_DKtAEkcX","addPropertyControls","ControlType","CookieSettingsLink","props","ref","style","font","text","init_CookieSettingsLink"],"sources":["https:/framerusercontent.com/modules/DqzAvhWw0SO60IFFEUw9/5twsE3eEMDx8b7cCI9A3/CookieSettingsLink.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * OneTrust \"Customize Cookie Settings\" footer link (Greystar / Myna spec).\n * Renders <a href=\"javascript:void(0);\" class=\"ot-sdk-show-settings\">.\n * OneTrust (loaded via Greystar GTM) binds to .ot-sdk-show-settings and\n * opens its preference center on click.\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function CookieSettingsLink(props){const{text,font,color,style}=props;const ref=useRef(null);useEffect(()=>{if(ref.current)ref.current.setAttribute(\"href\",\"javascript:void(0);\");},[]);return /*#__PURE__*/_jsx(\"a\",{ref:ref,href:\"javascript:void(0);\",className:\"ot-sdk-show-settings\",style:{...style,...font,color,textDecoration:\"none\",whiteSpace:\"nowrap\",cursor:\"pointer\",display:\"inline-block\"},children:text});}addPropertyControls(CookieSettingsLink,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Customize Cookie Settings\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultValue:{fontSize:14,lineHeight:\"1.3em\",letterSpacing:\"-0.02em\"}},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"rgba(255, 255, 255, 0.5)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CookieSettingsLink\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CookieSettingsLink.map"],"mappings":"A,iLAQG,SAAwBU,EAAmB,EAAM,CAAC,GAAK,CAAC,OAAK,OAAK,QAAM,SAAOC,EAAYC,EAAIZ,EAAO,IAAI,EAA6F,OAA3FK,MAAc,CAAIO,EAAI,SAAQA,EAAI,QAAQ,aAAa,OAAO,qBAAqB,CAAE,EAAE,CAAC,CAAC,EAAsB,gBAAK,IAAI,CAAK,MAAI,KAAK,sBAAsB,UAAU,uBAAuB,MAAM,CAAC,GAAGC,EAAM,GAAGC,EAAK,QAAM,eAAe,OAAO,WAAW,SAAS,OAAO,UAAU,QAAQ,cAAc,EAAE,SAASC,CAAI,CAAC,CAAE,C,0CAACP,EAAoBE,EAAmB,CAAC,KAAK,CAAC,KAAKD,EAAY,OAAO,MAAM,OAAO,aAAa,2BAA2B,EAAE,KAAK,CAAC,KAAKA,EAAY,KAAK,MAAM,OAAO,SAAS,WAAW,aAAa,CAAC,SAAS,GAAG,WAAW,QAAQ,cAAc,SAAS,CAAC,EAAE,MAAM,CAAC,KAAKA,EAAY,MAAM,MAAM,QAAQ,aAAa,0BAA0B,CAAC,CAAC,C"}