<script setup lang="ts">
import waitImg from '@/assets/img/analysis/wait.gif';
import { aiInsightsConfig } from '@/views/Survey/views/Analysis/hooks/useAnalysis';
</script>

<template>
  <section class="wait-container">
    <el-image :src="waitImg"></el-image>
    <el-text>AI 小助手加速工作中</el-text>
    <el-text style="margin-top: 6px">
      {{
        aiInsightsConfig.info.length !== 0
          ? aiInsightsConfig.info
          : '正在为您进行AI洞察，这次需要多分析一会儿才能确保洞察精准度，认真工作的我马上带着结果回来哦～'
      }}</el-text
    >
  </section>
</template>

<style scoped lang="scss">
.wait-container {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;

  .el-image {
    margin-bottom: 0px;
  }
}
</style>
