{"version":3,"file":"FNbDDqZIB.CL_snHFP.mjs","names":["Articles"],"sources":["https:/framerusercontent.com/modules/IokXs0vD3Ej2LCkl3s4p/6LzltRArbddreJDkCmYi/FNbDDqZIB.js"],"sourcesContent":["// Generated by Framer (ff07650)\nimport{getWhereExpressionFromPathVariables,QueryEngine}from\"framer\";import Articles from\"https://framerusercontent.com/modules/HF4SNGqXltDjAczMa0Am/74Jpt7UkmgUV8BKVWl8R/mRVmZKanc.js\";const toString=value=>{return typeof value===\"string\"?value:String(value);};const toImageSrc=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value.src;}return typeof value===\"string\"?value:undefined;};const htmlEscape=value=>{if(typeof value!==\"string\")return\"\";return value.replaceAll(\"&\",\"&amp;\").replaceAll(\"<\",\"&lt;\").replaceAll(\">\",\"&gt;\").replaceAll('\"',\"&quot;\").replaceAll(\"'\",\"&#39;\");};const jsonStringify=value=>{const result=JSON.stringify(value);if(typeof result===\"string\")return result.replace(/<\\/(script|style)/gi,\"<\\\\/$1\");return result;};export default function metadata(params,activeLocale){const cRDPlhg2w=params?.[\"cRDPlhg2w\"];const N9wbniGYE=params?.[\"N9wbniGYE\"];const cLdJuO5yW=params?.[\"cLdJuO5yW\"];const ThIO4SD55=params?.[\"ThIO4SD55\"];return{breakpoints:[{hash:\"w15z8v\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"1esmnth\",mediaQuery:\"(min-width: 810px) and (max-width: 1199.98px)\"},{hash:\"l6ypge\",mediaQuery:\"(max-width: 809.98px)\"}],customHTMLBodyEnd:`<script type=\"application/ld+json\">\n  ${ThIO4SD55!==undefined?toString(jsonStringify(htmlEscape(ThIO4SD55))):\"{{ThIO4SD55 | json}}\"}\n</script>\n\n<script>\ndocument.addEventListener('DOMContentLoaded', function() {\n  // Find all JSON-LD script tags\n  const jsonldScripts = document.querySelectorAll('script[type=\"application/ld+json\"]');\n  jsonldScripts.forEach(script => {\n    try {\n      // Get the content and trim whitespace\n      let content = script.innerHTML.trim();\n\n      // Check if the content is empty or equals exactly to an empty JSON string\n      if (!content || content === '\"\"') {\n        // Remove the empty script to prevent errors with Google\n        script.parentNode.removeChild(script);\n        return; // Skip further processing for this script\n      }\n\n      // Check if the content is wrapped in quotes (i.e. a JSON string inside a JSON string)\n      if (content.startsWith('\"') && content.endsWith('\"')) {\n        // Remove the extra layer of quotes by parsing the string once\n        content = JSON.parse(content);\n      }\n\n      // Use a temporary element to decode any HTML entities (if necessary)\n      const tempElement = document.createElement('textarea');\n      tempElement.innerHTML = content;\n      const decodedContent = tempElement.value;\n\n      // Parse to ensure the JSON is valid and then reformat it (for readability)\n      const jsonObject = JSON.parse(decodedContent);\n      const formattedJson = JSON.stringify(jsonObject, null, 2);\n\n      // Replace the script content with the nicely formatted JSON\n      script.innerHTML = formattedJson;\n    } catch (error) {\n      console.error('Error processing JSON-LD:', error);\n    }\n  });\n});\n</script>`,customHTMLHeadEnd:\"<style>.framer-image.framer-text {\\n      width: 100% !important;\\n}\\nstrong.framer-text {\\n    color: #fff !important;\\n}</style>\",description:`${N9wbniGYE!==undefined?toString(N9wbniGYE):\"{{N9wbniGYE}}\"}`,elements:{},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-auEpJ\",socialImage:toImageSrc(cLdJuO5yW),title:`${cRDPlhg2w!==undefined?toString(cRDPlhg2w):\"{{cRDPlhg2w}}\"} — Caboodle`,viewport:\"width=device-width\"};}export async function fetchMetadata(pathVariables,activeLocale){const queryEngine=new QueryEngine;const query={from:{alias:\"FNbDDqZIB\",data:Articles,type:\"Collection\"},select:[{collection:\"FNbDDqZIB\",name:\"cRDPlhg2w\",type:\"Identifier\"},{collection:\"FNbDDqZIB\",name:\"N9wbniGYE\",type:\"Identifier\"},{collection:\"FNbDDqZIB\",name:\"cLdJuO5yW\",type:\"Identifier\"},{collection:\"FNbDDqZIB\",name:\"ThIO4SD55\",type:\"Identifier\"}],where:getWhereExpressionFromPathVariables(pathVariables,\"FNbDDqZIB\")};const result=await queryEngine.query(query,activeLocale);if(result.length===0){throw new Error(\"No data matches pathVariables\");}const params=result[0];return metadata(params,activeLocale);}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fetchMetadata\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"mQAC0wB,SAAwB,EAAS,EAAO,EAAa,CAAC,IAAM,EAAU,GAAS,UAAmB,EAAU,GAAS,UAAmB,EAAU,GAAS,UAAmB,EAAU,GAAS,UAAa,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,SAAS,WAAW,sBAAsB,CAAC,CAAC,KAAK,UAAU,WAAW,gDAAgD,CAAC,CAAC,KAAK,SAAS,WAAW,wBAAwB,CAAC,CAAC,kBAAkB;IAC3qC,IAAY,IAAA,GAAyD,uBAA/C,EAAS,EAAc,EAAW,EAAU,CAAC,CAAC,CAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAyCrF,kBAAkB;;;;;WAAqI,YAAY,GAAG,IAAY,IAAA,GAA8B,gBAApB,EAAS,EAAU,GAAmB,SAAS,EAAE,CAAC,aAAa,CAAC,MAAM,GAAK,CAAC,OAAO,0BAA0B,gBAAgB,eAAe,YAAY,EAAW,EAAU,CAAC,MAAM,GAAG,IAAY,IAAA,GAA8B,gBAApB,EAAS,EAAU,CAAiB,aAAa,SAAS,qBAAqB,CAAE,eAAsB,EAAc,EAAc,EAAa,CAAC,IAAM,EAAY,IAAI,EAAkB,EAAM,CAAC,KAAK,CAAC,MAAM,YAAY,KAAKA,EAAS,KAAK,aAAa,CAAC,OAAO,CAAC,CAAC,WAAW,YAAY,KAAK,YAAY,KAAK,aAAa,CAAC,CAAC,WAAW,YAAY,KAAK,YAAY,KAAK,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