"use strict";(globalThis["webpackChunkradmir_interfaces"]=globalThis["webpackChunkradmir_interfaces"]||[]).push([[7824],{704999:(t,s,e)=>{e.r(s),e.d(s,{default:()=>d});var i=e(373396),r=e(87139);const a=e.p+"assets/src/assets/images/subtitles/line.svg",o={class:"subtitles__content"},n=["innerHTML"],l=(0,i._)("img",{src:a},null,-1);function c(t,s,e,a,c,u){return(0,i.wg)(),(0,i.iD)("div",{class:(0,r.C_)(["subtitles iface-container",{subtitles_mobile:u.isMobile,"subtitles_square-mobile":u.isSquareMobile}])},[(0,i._)("div",o,[(0,i._)("div",{class:"subtitles__text",innerHTML:u.formatedText},null,8,n),l])],2)}const u={props:["openParams"],data:()=>({actor:"Дедушка",text:"Прицелься точнее, чтобы свалить его с одного выстрела.<br/> Задержи дыхание и стреляй, а то убежит!"}),computed:{formatedText(){return`<div class="subtitles__actor">${this.actor}: </div>${this.text}`},isMobile(){return this.$root.isMobile},isSquareMobile(){return this.$root.isSquareMobile}},created(){this.$data.noAdaptation=!0,this.openParams&&(this.setActor(this.openParams[0]),this.setText(this.openParams[1])),setTimeout((()=>{sendClientEvent(gm.EVENT_EXECUTE_PUBLIC,{ignoreChat:!0},"STNRF_OnPlayerFinishTimer")}),this.openParams[2])},methods:{setActor(t){this.actor=t},setText(t){this.text=t}}};var h=e(940089);const b=(0,h.Z)(u,[["render",c]]),d=b}}]);