System.register(["./index-legacy-BiCnHnDr.js","./containers-legacy-DlhFG1K3.js","./_plugin-vue_export-helper-legacy-BVIICed7.js"],function(e,o){"use strict";var t,d,a,l,r,i,n,s,u,p,c,v,h,x,b,y,f,g,w;return{setters:[e=>{t=e.u,d=e.r,a=e.a,l=e.c,r=e.o,i=e.b,n=e.d,s=e.w,u=e.e,p=e.v,c=e.f,v=e.g,h=e.h,x=e.j,b=e.H,y=e.i},e=>{f=e.l,g=e.a},e=>{w=e._}],execute:function(){var o=document.createElement("style");o.textContent='@charset "UTF-8";.container[data-v-4833864e]{position:absolute}.alarm-wrapper[data-v-4833864e]{position:absolute;top:0;left:0;width:100%;height:100%}.alarm[data-v-4833864e]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9999;color:#fff;font-size:1rem;text-align:center;padding:20px 40px;background:rgba(0,0,0,.4);border-radius:10px}\n/*$vite$:1*/',document.head.appendChild(o),e("default",w({__name:"PdfContainer",props:{id:String,layoutId:String,partner:String,code:String},setup(e){t();const o="https://display24.ru",w=d(!1);let m=null;const C=e,I=a({id:null,displayCode:null,layoutId:null,content:null}),S=l(()=>{var e,o,t,d,a,l,r,i,n;return{top:I.top+"px",left:I.left+"px",width:I.width+"px",height:I.height+"px",backgroundColor:(null===(e=I.background)||void 0===e?void 0:e.color)||"#000",zIndex:I.zIndex||0,borderColor:(null===(o=I.border)||void 0===o?void 0:o.color)||"#fff",borderStyle:(null===(t=I.border)||void 0===t?void 0:t.style)||"solid",borderWidth:((null===(d=I.border)||void 0===d?void 0:d.width)||0)+"px",borderRadius:(null===(a=I.border)||void 0===a?void 0:a.radius)+"px",boxShadow:`${null===(l=I.shadow)||void 0===l?void 0:l.x}px ${null===(r=I.shadow)||void 0===r?void 0:r.y}px ${null===(i=I.shadow)||void 0===i?void 0:i.b}px ${null===(n=I.shadow)||void 0===n?void 0:n.color}`}});return r(async()=>{I.id=C.id,I.displayCode=C.code,I.layoutId=C.layoutId,await f(I,o,"PdfContainer (layouts)"),await g(I,w,o,"PdfContainer (schedule)"),m=setInterval(()=>{w.value=i(null==I?void 0:I.scheduleData)},1e3)}),n(async()=>{m&&clearInterval(m)}),s(()=>I.scheduleData,e=>{w.value=i(e)}),(e,o)=>u((v(),c("div",{class:"container",style:y(S.value)},[h("",!0),o[10]||(o[10]=x("div",{class:"alarm-wrapper"},[x("div",{class:"alarm"},[b(" Модуль работы с PDF документами не поддерживается "),x("br"),b("для платформы Android (только Windows, Linux и Raspberry). ")])],-1))],4)),[[p,w.value]])}},[["__scopeId","data-v-4833864e"]]))}}});
