PageSourceSearch

https://cre.ru/_nuxt/DsUtWKyA.js

js cre.ru collected 2026-09-24 08:31:50 UTC 2,183 bytes, 2 lines download raw bytes

1import{_ as g}from"./Ct_sTHrI.js";import{d as h,r as _,c as C,j as M,C as d,e as y,w as t,D as B,g as e,o as v,f as a,S as o,R as p,U as k,Z as S,B as L,ae as N,af as q,$ as E,I as T,ag as D,Q as O}from"./Rn1tUdXN.js";import{_ as j}from"./Y5OzIA9C.js";import{_ as H,a as I,b as R,c as U}from"./bql3H_Dn.js";import{_ as z}from"./Cmn6hDpt.js";import{_ as A}from"./BTVURAdu.js";import{_ as Q}from"./0wYkv204.js";const Z=["innerHTML"],F=h({__name:"ModalVideo",props:{isVisible:{type:Boolean,default:!1},iframe:{type:String,required:!0},title:{type:String,required:!0}},emits:["close"],setup(m,{emit:$}){const c=m,f=_(null),n=_(!0),r=_(!1),u=$,b=()=>{u("close")},w=C(()=>T().$viewport.isLessOrEquals("mobileBig"));return M(()=>{c.isVisible&&(r.value=!0)}),d(r,s=>{s||(u("close"),n.value=!0)}),d(()=>c.isVisible,async s=>{var l;if(s){await D();const i=(l=f.value)==null?void 0:l.querySelector("iframe");i&&(n.value=!0,i.addEventListener("load",()=>{n.value=!1},{once:!0}))}},{immediate:!0}),(s,l)=>{const i=g,x=E,W=j;return v(),y(e(U),{open:e(r),"onUpdate:open":l[0]||(l[0]=V=>B(r)?r.value=V:null)},{default:t(()=>[a(e(Q),null,{default:t(()=>[a(e(H),{class:o(s.$style.overlay)},null,8,["class"]),a(e(I),{"aria-describedby":void 0},{default:t(()=>[a(e(z),{"as-child":""},{default:t(()=>[a(e(R),{class:o(s.$style.title)},{default:t(()=>[k(S(c.title),1)]),_:1},8,["class"])]),_:1}),p("div",{class:o(s.$style.content)},[p("div",{class:o(s.$style.playerWrapper)},[e(n)?(v(),y(i,{key:0,center:"",small:e(w)},null,8,["small"])):L("",!0),N(p("div",{ref_key:"iframeWrapper",ref:f,class:o(s.$style.iframeWrapper),innerHTML:m.iframe},null,10,Z),[[q,!e(n)]])],2)],2),a(e(A),{class:o(s.$style.close),"aria-label":"Close"},{default:t(()=>[a(W,{view:"icon",onClick:b},{default:t(()=>[a(x,{name:"my-icon:i-close-white"})]),_:1})]),_:1},8,["class"])]),_:1})]),_:1})]),_:1},8,["open"])}}}),G="_overlay_2p3x0_1",J="_close_2p3x0_9",K="_content_2p3x0_18",P="_iframeWrapper_2p3x0_35",X="_playerWrapper_2p3x0_40",Y={overlay:G,close:J,content:K,iframeWrapper:P,playerWrapper:X},ee={$style:Y},ie=Object.assign(O(F,[["__cssModules",ee]]),{__name:"ModalVideo"});export{ie as _};
2//# sourceMappingURL=DsUtWKyA.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.