{"version":3,"file":"Var.mjs","names":["CoreVar","CoreGtInternalVar"],"sources":["../../src/variables/Var.tsx"],"sourcesContent":["import { GtInternalVar as CoreGtInternalVar, Var as CoreVar } from 'gt-react';\nimport { getRequestConditions } from '../request/getRequestConditions';\nimport type { ReactNode } from 'react';\n\ntype VarProps = Parameters<typeof CoreVar>[0];\n\nexport async function Var(props: VarProps): Promise<ReactNode> {\n  const conditions = await getRequestConditions();\n  return <CoreVar {...props} {...conditions} />;\n}\n\nexport async function GtInternalVar(props: VarProps): Promise<ReactNode> {\n  const conditions = await getRequestConditions();\n  return <CoreGtInternalVar {...props} {...conditions} />;\n}\n\n/** @internal _gtt - The GT transformation for the component. */\nVar._gtt = 'variable-variable';\nGtInternalVar._gtt = 'variable-variable-automatic';\n"],"mappings":";;;;AAMA,eAAsB,IAAI,OAAqC;CAC7D,MAAM,aAAa,MAAM,sBAAsB;AAC/C,QAAO,oBAACA,OAAD;EAAS,GAAI;EAAO,GAAI;EAAc,CAAA;;AAG/C,eAAsB,cAAc,OAAqC;CACvE,MAAM,aAAa,MAAM,sBAAsB;AAC/C,QAAO,oBAACC,iBAAD;EAAmB,GAAI;EAAO,GAAI;EAAc,CAAA;;;AAIzD,IAAI,OAAO;AACX,cAAc,OAAO"}