{"version":3,"file":"programs.cjs","sources":["../../../../src/plugins/psyoptionsEuropeanInstrumentModule/programs.ts"],"sourcesContent":["import { PROGRAM_ID as PSYOPTIONS_EUROPEAN_INSTRUMENT_PROGRAM_ID } from '@convergence-rfq/psyoptions-european-instrument';\n\nimport { assert } from '../../utils';\nimport { Program } from '../../types';\n\n/** @group Programs */\nexport const psyoptionsEuropeanInstrumentProgram: Program = {\n  name: 'PsyoptionsEuropeanInstrumentProgram',\n  address: PSYOPTIONS_EUROPEAN_INSTRUMENT_PROGRAM_ID,\n};\n\n/** @group Programs */\nexport type PsyoptionsEuropeanInstrumentProgram = Program & {\n  availableGuards: string[];\n};\n\nexport const isPsyoptionsEuropeanInstrumentProgram = (\n  value: Program\n): value is PsyoptionsEuropeanInstrumentProgram =>\n  typeof value === 'object' && 'availableGuards' in value;\n\nexport function assertpsyoptionsEuropeanInstrumentProgram(\n  value: Program\n): asserts value is PsyoptionsEuropeanInstrumentProgram {\n  assert(\n    isPsyoptionsEuropeanInstrumentProgram(value),\n    'Expected psyoptionsEuropeanInstrumentProgram model'\n  );\n}\n\n/** @group Programs */\nexport const defaultpsyoptionsEuropeanInstrumentProgram: PsyoptionsEuropeanInstrumentProgram =\n  {\n    name: 'psyoptionsEuropeanInstrumentProgram',\n    address: PSYOPTIONS_EUROPEAN_INSTRUMENT_PROGRAM_ID,\n    availableGuards: [],\n  };\n"],"names":["psyoptionsEuropeanInstrumentProgram","name","address","PSYOPTIONS_EUROPEAN_INSTRUMENT_PROGRAM_ID","isPsyoptionsEuropeanInstrumentProgram","value","_typeof","assertpsyoptionsEuropeanInstrumentProgram","assert","defaultpsyoptionsEuropeanInstrumentProgram","availableGuards"],"mappings":";;;;;;;;AAKA;AACO,IAAMA,mCAA4C,GAAG;AAC1DC,EAAAA,IAAI,EAAE,qCAAqC;AAC3CC,EAAAA,OAAO,EAAEC,uCAAAA;AACX,EAAC;;AAED;;IAKaC,qCAAqC,GAAG,SAAxCA,qCAAqCA,CAChDC,KAAc,EAAA;EAAA,OAEdC,mCAAA,CAAOD,KAAK,CAAA,KAAK,QAAQ,IAAI,iBAAiB,IAAIA,KAAK,CAAA;AAAA,EAAA;AAElD,SAASE,yCAAyCA,CACvDF,KAAc,EACwC;AACtDG,EAAAA,aAAM,CACJJ,qCAAqC,CAACC,KAAK,CAAC,EAC5C,oDACF,CAAC,CAAA;AACH,CAAA;;AAEA;AACO,IAAMI,0CAA+E,GAC1F;AACER,EAAAA,IAAI,EAAE,qCAAqC;AAC3CC,EAAAA,OAAO,EAAEC,uCAAyC;AAClDO,EAAAA,eAAe,EAAE,EAAA;AACnB;;;;;;;"}