PageSourceSearch

https://mpstats.io/assets-spa/DWxoig7C.js

js mpstats.io collected 2026-10-01 13:02:34 UTC 3,740 bytes, 1 lines download raw bytes

1import{Vl as V}from"./D-nchjvc.js";import{t as D}from"./QV-W1sel.js";import{t as E}from"./CZcTXDXR.js";import{n as O,t as T}from"./BoEgzWmY.js";import{n as j,t as H}from"./BfQ2-vvd.js";import{A as f,Bt as k,D as R,Dt as N,E as q,F as h,Jt as l,L as A,M as F,O as B,Ot as Q,P as i,Tt as n,Z,ct as r,et as z,j as C,k as c,p as Y,rt as d,s as I,xt as u,yt as J}from"./Lt2xSFvm.js";import{t as X}from"./K9rsuiWd.js";import{t as G}from"./TNfweaZP2.js";I();var K=A({__name:"UiPanel",props:{target:{default:"body"},position:{default:"right"},title:{default:"Заголовок"},wrapperClass:{default:""},headerClass:{default:""},contentClass:{default:""},footerClass:{default:""},stopBubbling:{type:Boolean,default:!1},isMobile:{type:Boolean,default:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},maxWidth:{default:()=>"800px"},allowCloseButton:{type:Boolean,default:!0},isLockScroll:{type:Boolean,default:!1},wrapperBg:{default:"default"},hasHr:{type:Boolean,default:!1},show:{type:Boolean,default:!0}},emits:["close","click-outside"],setup(e,{expose:M,emit:$}){const s=e,p=$;M({scrollDown:x});
1const o=Y(),{isPageScrollExist:y,getScrollWidth:P}=O(),{calcResponsiveValue:S,isResponsiveProp:U}=j(),v=k(),L=R(()=>({"--panel-max-width":U(s.maxWidth)?S(()=>s.maxWidth):s.maxWidth}));V(v,W);function W(){p("click-outside")}function w(t){t&&s.stopBubbling&&t.stopPropagation(),p("close")}const m=k();function x(){m.value?.scrollTo(0,m.value.scrollHeight)}const b=()=>{s.show&&s.isLockScroll&&(window.document.body.classList.add(o.scrollLock),y.value&&(window.document.body.style.paddingRight=`${P()}px`))},g=()=>{s.isLockScroll&&(window.document.body.classList.remove(o.scrollLock),y.value&&(window.document.body.style.paddingRight="0"))};return J(()=>s.show,t=>t?b():g()),z(b),Z(g),(t,a)=>e.isMobile?(d(),c(T,{key:1,show:e.show,title:e.title,"is-mobile":"","stop-bubbling":e.stopBubbling,"modal-type":"large","allow-footer":!!t.$slots.footer,onClose:w},F({default:u(()=>[a[3]||(a[3]=i()),r(t.$slots,"default"),a[4]||(a[4]=i())]),_:2},[t.$slots.header?{name:"header",fn:u(()=>[r(t.$slots,"header")]),key:"0"}:void 0,t.$slots.footer?{name:"footer",fn:u(()=>[B("div",{class:n([l(o).content,e.footerClass])},[r(t.$slots,"footer")],2)]),key:"1"}:void 0]),1032,["show","title","stop-bubbling","allow-footer"])):(d(),c(q,{key:0,to:e.target},[h(D,{appearance:"slide",direction:e.position},{default:u(()=>[e.show?(d(),c(H,{key:0,ref_key:"panel",ref:v,style:N(L.value),class:n([l(o).wrapper,l(o)[e.position],{[l(o).mobile]:e.isMobile},e.wrapperClass]),"justify-content":"space-between",width:"wfull",direction:"col",bg:e.wrapperBg,radius:""},{default:u(()=>[B("div",{id:"uiPanelHeader",class:n([l(o).content,l(o).header,e.headerClass])},[t.$slots.header||e.title?r(t.$slots,"header",{key:0},()=>[h(E,{appearance:"header-lg"},{default:u(()=>
1[i(Q(e.title),1)]),_:1})]):f("",!0)],2),a[0]||(a[0]=i()),t.$slots.default?(d(),C("div",{key:0,id:"uiPanelContent",ref_key:"content",ref:m,class:n([l(o).content,l(o).main,e.contentClass])},[r(t.$slots,"default")],2)):f("",!0),a[1]||(a[1]=i()),t.$slots.footer?(d(),C("div",{key:1,class:n([l(o).content,e.footerClass])},[r(t.$slots,"footer")],2)):f("",!0),a[2]||(a[2]=i()),e.allowCloseButton?(d(),c(G,{key:2,icon:"x",appearance:"clean",class:n(l(o).close),onClick:w},null,8,["class"])):f("",!0)]),_:3},8,["style","class","bg"])):f("",!0)]),_:3},8,["direction"])],8,["to"]))}}),_="WFsiujDW",ee="BZtrdiju",te="_4pMsnjge",oe="XVEee8SQ",ae="n5qQYtM8",le="qEtfWZBk",se="Mk9u8f26",ie="fchpaq5o",ne="eMocL93M",re="QUpo7rY0",de={wrapper:_,right:ee,left:te,mobile:oe,content:ae,header:le,main:se,close:ie,scrollLock:ne,hr:re},ue={$style:de},Ce=X(K,[["__cssModules",ue]]);export{Ce as t};

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.