<template>
    <div class="">
      <div id="lent_adfox_163238723987728973"></div><!--old dashboard-->
      <div id="lent_adfox_167048924706448374"></div>
    </div>
</template>

<script>
export default {
  watch: {
    $route (to, from) {
      window.yaContextCb.push(() => {
        // eslint-disable-next-line no-undef
        Ya.adfoxCode.reload('lent_adfox_163238723987728973')
        // eslint-disable-next-line no-undef
        Ya.adfoxCode.reload('lent_adfox_167048924706448374')
      })
    }
  },
  mounted () {
    window.yaContextCb.push(() => {
      // eslint-disable-next-line no-undef
      Ya.adfoxCode.create({
        ownerId: 720777,
        containerId: 'lent_adfox_167048924706448374',
        params: {
          p1: 'cwoig',
          p2: 'hyrh'
        }
      })
      // eslint-disable-next-line no-undef
      Ya.adfoxCode.create({
        ownerId: 279920,
        containerId: 'lent_adfox_163238723987728973',
        params: {
          pp: 'g',
          ps: 'dbpj',
          p2: 'hizb'
        }
      })
    })
  }
}
</script>

<style lang="less">

</style>
