{"version":3,"file":"meta-Be2vaBGw.js","sources":["../../../app/helpers/meta.ts"],"sourcesContent":["export const getMeta = (name: string): string | undefined => {\n if (typeof document !== \"undefined\") {\n const el = document.head.querySelector(`meta[name=\"${name}\"][content]`);\n if (el) {\n const content = el.getAttribute(\"content\");\n return content ?? undefined;\n }\n }\n};\n\nexport const requireMeta = (name: string): string => {\n const content = getMeta(name);\n if (!content) {\n throw new Error(`Missing meta content for '${name}'`);\n }\n return content;\n};\n"],"names":["getMeta","name","el","requireMeta","content"],"mappings":"AAAa,MAAAA,EAAWC,GAAqC,CACvD,GAAA,OAAO,SAAa,IAAa,CACnC,MAAMC,EAAK,SAAS,KAAK,cAAc,cAAcD,CAAI,aAAa,EACtE,GAAIC,EAEF,OADgBA,EAAG,aAAa,SAAS,GACvB,MACpB,CAEJ,EAEaC,EAAeF,GAAyB,CAC7C,MAAAG,EAAUJ,EAAQC,CAAI,EAC5B,GAAI,CAACG,EACH,MAAM,IAAI,MAAM,6BAA6BH,CAAI,GAAG,EAE/C,OAAAG,CACT"}