{"version":3,"file":"DynamicReferenceForCaseId.B-1-2mxE.mjs","names":[],"sources":["https:/framerusercontent.com/modules/AGonnaLNhEsGRCItiJjK/o8CYFbpzt15BhXpuPbpO/DynamicReferenceForCaseId.js"],"sourcesContent":["// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function DynamicReferenceForCaseId(props){const{text,textStyle,caseIdStyle}=props;const params=new URLSearchParams(window.location.search);const caseId=params.get(\"caseId\")||\"-\";console.log(\"params is \",params,\"caseId is: \",params.get(\"caseId\"));return /*#__PURE__*/_jsxs(\"div\",{style:{...textStyle,...textStyle.font},children:[text,\"\\xa0\",/*#__PURE__*/_jsx(\"span\",{style:{...caseIdStyle,...caseIdStyle.font},children:caseId})]});}addPropertyControls(DynamicReferenceForCaseId,{text:{type:ControlType.String,title:\"Success Text\",description:\"The text that comes before caseId.\",defaultValue:\"Your Complaint Reference:\"},textStyle:{type:ControlType.Object,title:\"Text Style\",controls:{color:{type:ControlType.Color,title:\"Color\",optional:true},font:{type:ControlType.Font,title:\"Font\",displayTextAlignment:true,displayFontSize:true,controls:\"extended\"}}},caseIdStyle:{type:ControlType.Object,title:\"Case ID Style\",controls:{color:{type:ControlType.Color,title:\"Color\",optional:true},font:{type:ControlType.Font,title:\"Font\",displayTextAlignment:true,displayFontSize:true,controls:\"extended\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DynamicReferenceForCaseId\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DynamicReferenceForCaseId.map"],"mappings":"iLAIG,SAAwB,EAA0B,EAAM,CAAC,GAAK,CAAC,OAAK,YAAU,eAAa,EAAY,EAAO,IAAI,gBAAgB,EAAO,SAAS,MAAM,EAAQ,EAAO,EAAO,IAAI,QAAQ,GAAG,IAAwE,OAApE,QAAQ,IAAI,aAAa,EAAO,cAAc,EAAO,IAAI,QAAQ,CAAC,EAAsB,EAAM,MAAM,CAAC,MAAM,CAAC,GAAG,EAAU,GAAG,EAAU,IAAI,EAAE,SAAS,CAAC,EAAK,OAAoB,EAAK,OAAO,CAAC,MAAM,CAAC,GAAG,EAAY,GAAG,EAAY,IAAI,EAAE,SAAS,CAAM,CAAC,CAAC,CAAC,CAAC,CAAE,qBAHxY,IAAoD,EAGqV,EAAoB,EAA0B,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,eAAe,YAAY,qCAAqC,aAAa,2BAA2B,EAAE,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,SAAS,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,SAAS,EAAI,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,qBAAqB,GAAK,gBAAgB,GAAK,SAAS,UAAU,CAAC,CAAC,EAAE,YAAY,CAAC,KAAK,EAAY,OAAO,MAAM,gBAAgB,SAAS,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,SAAS,EAAI,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,qBAAqB,GAAK,gBAAgB,GAAK,SAAS,UAAU,CAAC,CAAC,CAAC,CAAC"}