{"version":3,"file":"SoftwareStructuredData.cwLwiF3d.mjs","names":["_jsx","__esmMin","init_jsx_runtime","c","useLocaleInfo","addPropertyControls","init_framer_ChujFWHC","ControlType","RenderTarget","DEFAULT_PLANS","parsePlans","pageLocale","canvasBadgeStyle","init_AnnySchema","softwareNode","toJson","SoftwareStructuredData","plans","activeLocale","locale","planPrices","json","init_SoftwareStructuredData"],"sources":["https:/framerusercontent.com/modules/EEOudDC9gjQWasa9EAJP/VRFD6eVPs5HQiVSvzZVF/SoftwareStructuredData.js"],"sourcesContent":["// The full anny software node (@id https://anny.co/#webapp) with rating and plan\n// offers. Placed on home (incl. A/B variants), /pricing and the solution pages the\n// old snippet covered; every other page points at it by @id.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,useLocaleInfo}from\"framer\";import{canvasBadgeStyle,DEFAULT_PLANS,pageLocale,parsePlans,softwareNode,toJson}from\"https://framerusercontent.com/modules/FTMNCnfWEiVgLb2dp3xR/MdCN6r9KsHDKP2DgN8wF/AnnySchema.js\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function SoftwareStructuredData({plans=\"\"}){const{activeLocale}=useLocaleInfo();const locale=pageLocale(activeLocale);const planPrices=parsePlans(plans||DEFAULT_PLANS);if(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsx(\"div\",{style:canvasBadgeStyle,children:`Structured data: anny software \\xb7 ${planPrices.length+1} offers \\xb7 4.7/131`});}const json=toJson([softwareNode(locale,planPrices)]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:0,height:0,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}addPropertyControls(SoftwareStructuredData,{plans:{type:ControlType.String,title:\"Plans\",description:`Monthly price per resource as shown on /pricing. Empty = ${DEFAULT_PLANS}`,defaultValue:\"\",preventLocalization:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SoftwareStructuredData\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1\",\"framerIntrinsicHeight\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,wQAQG,SAAwBgB,EAAuB,CAACC,QAAM,IAAI,CAAC,GAAK,CAACC,gBAAcd,EAAc,EAAQe,EAAOR,EAAWO,CAAY,EAAQE,EAAWV,EAAWO,GAAA,2CAAoB,EAAE,GAAGT,EAAa,QAAQ,IAAIA,EAAa,OAAQ,MAAoBR,gBAAK,MAAM,CAAC,MAAMY,EAAiB,SAAS,uCAAuCQ,EAAW,OAAO,EAAE,qBAAqB,CAAC,EAAG,IAAMC,EAAKN,EAAO,CAACD,EAAaK,EAAOC,CAAU,CAAC,CAAC,EAAE,MAAoBpB,gBAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,QAAQ,EAAE,SAAsBA,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAOqB,CAAI,CAAC,CAAC,CAAC,CAAC,CAAE,C,0CAAChB,EAAoBW,EAAuB,CAAC,MAAM,CAAC,KAAKT,EAAY,OAAO,MAAM,QAAQ,YAAY,4DAA4DE,IAAgB,aAAa,GAAG,oBAAoB,EAAI,CAAC,CAAC,C"}