import{_ as r}from"./BButton.vue_vue_type_script_setup_true_lang-D5Eg7-Zv-DDRCX2AG.js";import{_ as l,d as i,o as n,b as o,w as p,g as m,a as c}from"./index-D02r7Zsc.js";import"./BSpinner.vue_vue_type_script_setup_true_lang-H1MzHypA-D8AXjJB0.js";import"./dom-DVb-f0ZG-Crdf0-mU.js";import"./useDefaults-DESCdb0p-CFLjYrdG.js";import"./useColorVariantClasses-ZDE19TZw-Cvu7SygP.js";import"./BLink.vue_vue_type_script_setup_true_lang-Ct47WhzE-DDPYis_D.js";import"./object-0ALvRU0O-3BORTTD-.js";import"./stringUtils-gJJ6T6UC-g5BZrMym.js";import"./index-C0p9vHHI-DoOEDIMw.js";const d={props:{help:{type:String,required:!0}},data:function(){return{helpModal:{content:this.$tm("help.helpModal"),headerBg:"info",type:"okModal",start:!1}}},mounted:function(){localStorage.getItem("firstAccess")||localStorage.setItem("firstAccess",JSON.stringify({}));let t=JSON.parse(localStorage.getItem("firstAccess"));t[`${this.$route.name}`]||(this.helpModal.start=!this.helpModal.start,t[`${this.$route.name}`]=!0,localStorage.setItem("firstAccess",JSON.stringify(t))),this.helpModal.content.message=this.help}};function f(t,e,u,h,g,$){const s=r,a=m("modal");return n(),i("div",null,[o(s,{size:"sm","aria-label":t.$t("ariaLabels.help"),role:"button",variant:"transparent",onClick:e[0]||(e[0]=M=>t.helpModal.start=!t.helpModal.start)},{default:p(()=>[...e[1]||(e[1]=[c("i",{class:"bi bi-info-circle-fill text-info","aria-hidden":"true",style:{"font-size":"1.3rem"}},null,-1)])]),_:1},8,["aria-label"]),o(a,{modalInfos:t.helpModal},null,8,["modalInfos"])])}const C=l(d,[["render",f]]);export{C as default};
