{"version":3,"file":"PageStructuredData.CaeiUlcU.mjs","names":["__esmMin","init_ssg_sandbox_shims","window","c","init_jsx_runtime","init_framer_BpuvUAiZ","addPropertyControls","PageStructuredData","title","base","org","resolvedSlug","slug","section","url","common","summary","price","fee","record","init_PageStructuredData","ControlType"],"sources":["https:/framerusercontent.com/modules/xXfVPvlNPBS7HuiRzk65/PojlZkLOpUkwYhLi6RHE/PageStructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/** @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed */export default function PageStructuredData({section,slug,title,summary,fee,style}){if(!title)return null;const base=\"https://www.deliberately.help/\";const org={\"@type\":\"Organization\",\"@id\":base+\"#organization\",name:\"Deliberately.Help\",url:base};const resolvedSlug=slug||(section===\"immigration/guides\"&&typeof window!==\"undefined\"?window.location.pathname.split(\"/\").filter(Boolean).pop():\"\");const url=resolvedSlug?base+section+\"/\"+resolvedSlug:undefined;const common={\"@context\":\"https://schema.org\",url,description:summary};const price=String(fee||\"\").match(/\\d+(?:\\.\\d+)?/)?.[0];const record=section===\"packages\"?{...common,\"@type\":\"Service\",\"@id\":(url||\"\")+\"#service\",name:title,serviceType:\"U.S. immigration form preparation\",provider:org,offers:price?{\"@type\":\"Offer\",url,price,priceCurrency:\"USD\",description:\"One-time preparation fee. Government filing fees are separate.\"}:undefined}:{...common,\"@type\":\"Article\",\"@id\":(url||\"\")+\"#article\",headline:title,publisher:org,author:org,inLanguage:\"en\"};return /*#__PURE__*/_jsx(\"script\",{style:style,type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(record).replace(/</g,\"\\\\u003c\")}});}addPropertyControls(PageStructuredData,{section:{type:ControlType.String,title:\"Section\"},slug:{type:ControlType.String,title:\"Slug\"},title:{type:ControlType.String,title:\"Title\"},summary:{type:ControlType.String,title:\"Summary\"},fee:{type:ControlType.String,title:\"Fee\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PageStructuredData\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PageStructuredData.map"],"mappings":"A,qKACwC,SAAwBO,EAAmB,CAAC,UAAQ,OAAK,QAAM,UAAQ,MAAI,SAAO,CAAC,GAAG,CAACC,EAAM,OAAO,KAAK,IAAMC,EAAK,iCAAuCC,EAAI,CAAC,QAAQ,eAAe,MAAMD,EAAK,gBAAgB,KAAK,oBAAoB,IAAIA,CAAI,EAAQE,EAAaC,IAAOC,IAAU,sBAA6BX,IAAS,OAAYA,EAAO,SAAS,SAAS,MAAM,GAAG,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,IAAI,EAAE,IAAUY,EAAIH,EAAaF,EAAKI,EAAQ,IAAIF,EAAa,IAAA,GAAgBI,EAAO,CAAC,WAAW,qBAAqB,MAAI,YAAYC,CAAO,EAAQC,EAAM,OAAOC,GAAK,EAAE,CAAC,CAAC,MAAM,eAAe,CAAC,GAAG,GAASC,EAAON,IAAU,WAAW,CAAC,GAAGE,EAAO,QAAQ,UAAU,OAAOD,GAAK,IAAI,WAAW,KAAKN,EAAM,YAAY,oCAAoC,SAASE,EAAI,OAAOO,EAAM,CAAC,QAAQ,QAAQ,MAAI,QAAM,cAAc,MAAM,YAAY,gEAAgE,EAAE,IAAA,EAAS,EAAE,CAAC,GAAGF,EAAO,QAAQ,UAAU,OAAOD,GAAK,IAAI,WAAW,SAASN,EAAM,UAAUE,EAAI,OAAOA,EAAI,WAAW,IAAI,EAAE,MAAoB,gBAAK,SAAS,CAAO,QAAM,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,KAAK,UAAUS,CAAM,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAE,C,0CAACb,EAAoBC,EAAmB,CAAC,QAAQ,CAAC,KAAKc,EAAY,OAAO,MAAM,SAAS,EAAE,KAAK,CAAC,KAAKA,EAAY,OAAO,MAAM,MAAM,EAAE,MAAM,CAAC,KAAKA,EAAY,OAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,KAAKA,EAAY,OAAO,MAAM,SAAS,EAAE,IAAI,CAAC,KAAKA,EAAY,OAAO,MAAM,KAAK,CAAC,CAAC,C"}