{"version":3,"file":"FieldNoteAnchor.BFR3RsLO.mjs","names":["__exportAll","c","init_jsx_runtime","addPropertyControls","init_framer_D6uXRwWs","FieldNoteAnchor_exports","__FramerMetadata__","FieldNoteSection","id","anchorId","mode","style","label","init_FieldNoteAnchor","__esmMin","ControlType","\"exports\"","\"default\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerContractVersion\"","\"framerSupportedLayoutHeight\"","\"framerSupportedLayoutWidth\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/YAt5l5ioDombuLNQhowq/sktadmThznjhiTjExqcZ/FieldNoteAnchor.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function FieldNoteSection({anchorId=\"section\",mode=\"target\",label=\"Read section\",style}){const id=(anchorId||\"section\").replace(/[^a-zA-Z0-9_-]/g,\"\");if(mode===\"link\")return /*#__PURE__*/_jsx(\"a\",{href:\"#\"+id,style:{...style,display:\"flex\",alignItems:\"center\",boxSizing:\"border-box\",minHeight:44,padding:\"8px 0\",fontFamily:\"Shape, sans-serif\",fontSize:17,lineHeight:1.4,fontWeight:400,color:\"#DCDCD9\",textDecoration:\"underline\",textUnderlineOffset:3,overflowWrap:\"anywhere\"},children:label});return /*#__PURE__*/_jsx(\"div\",{id:id,tabIndex:-1,style:{...style,width:\"100%\",height:1,scrollMarginTop:96}});}addPropertyControls(FieldNoteSection,{anchorId:{type:ControlType.String,title:\"Section anchor\",defaultValue:\"section\"},mode:{type:ControlType.Enum,title:\"Display\",options:[\"target\",\"link\"],defaultValue:\"target\"},label:{type:ControlType.String,title:\"Link label\",defaultValue:\"Read section\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FieldNoteSection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FieldNoteAnchor.map"],"mappings":"A,2NAGG,SAAwBO,EAAiB,CAAC,WAAS,UAAU,OAAK,SAAS,QAAM,eAAe,SAAO,CAAC,IAAMC,GAAIC,GAAU,UAAA,CAAW,QAAQ,kBAAkB,EAAE,EAAwV,OAAnVC,IAAO,OAA2B,gBAAK,IAAI,CAAC,KAAK,IAAIF,EAAG,MAAM,CAAC,GAAGG,EAAM,QAAQ,OAAO,WAAW,SAAS,UAAU,aAAa,UAAU,GAAG,QAAQ,QAAQ,WAAW,oBAAoB,SAAS,GAAG,WAAW,IAAI,WAAW,IAAI,MAAM,UAAU,eAAe,YAAY,oBAAoB,EAAE,aAAa,UAAU,EAAE,SAASC,CAAK,CAAC,EAAsB,gBAAK,MAAM,CAAI,KAAG,SAAS,GAAG,MAAM,CAAC,GAAGD,EAAM,MAAM,OAAO,OAAO,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAE,C,4CAACR,EAAoBI,EAAiB,CAAC,SAAS,CAAC,KAAKQ,EAAY,OAAO,MAAM,iBAAiB,aAAa,SAAS,EAAE,KAAK,CAAC,KAAKA,EAAY,KAAK,MAAM,UAAU,QAAQ,CAAC,SAAS,MAAM,EAAE,aAAa,QAAQ,EAAE,MAAM,CAAC,KAAKA,EAAY,OAAO,MAAM,aAAa,aAAa,cAAc,CAAC,CAAC,EACn4B,EAAqB,CAACC,QAAU,CAACC,QAAU,CAACC,KAAO,iBAAiBC,KAAO,mBAAmBC,MAAQ,CAAC,EAAEC,YAAc,CAACC,sBAAwB,IAAIC,4BAA8B,OAAOC,2BAA6B,kBAAkB,CAAC,EAAEC,mBAAqB,CAACP,KAAO,UAAU,CAAC,CAAC,C"}