PageSourceSearch

https://sirotapartners.com/_nuxt/DE9EVXuh.js

js sirotapartners.com collected 2026-10-09 21:37:18 UTC 4,019 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DtyAlGs1.js","./Ct9MbY93.js","./entry.DRgNlLwx.css","./D6udyh64.js","./DWM-QxBh.js","./image-field.BwtKRgRR.css","./TRfFaq9d.js","./checkbox.DqXG3CF2.css","./-fYwRJuL.js","./button.BNJghM4E.css","./3rdTtMa-.js"])))=>i.map(i=>d[i]);
2import{d as B,g as N,m as $,r as f,aN as h,j as S,b as u,o as d,x as m,a as g,y as v,k as r,S as q,z as D,a1 as j,q as y,p,Z as F,T as Z,aa as G,C as a,D as s}from"./Ct9MbY93.js";import{u as H,c as I}from"./D7sAqwTn.js";const J=a(()=>s(()=>import("./DtyAlGs1.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.default||o)),K=a(()=>s(()=>import("./D6udyh64.js"),__vite__mapDeps([3,1,2]),import.meta.url).then(o=>o.default||o)),Q=a(()=>s(()=>import("./DWM-QxBh.js"),__vite__mapDeps([4,1,2,5]),import.meta.url).then(o=>o.default||o)),W=a(()=>s(()=>import("./TRfFaq9d.js"),__vite__mapDeps([6,1,2,7]),import.meta.url).then(o=>o.default||o)),X=a(()=>s(()=>import("./-fYwRJuL.js"),__vite__mapDeps([8,1,2,9]),import.meta.url).then(o=>o.default||o)),Y=a(()=>s(()=>import("./3rdTtMa-.js"),__vite__mapDeps([10,1,2]),import.meta.url).then(o=>o.default||o)),ee={class:"mk-scroll"},te={class:"mk-input"},oe={class:"custom-settings"},ue=B({__name:"page-settings",props:{document:{},controller:{}},setup(o){const n=o,V=H();N(()=>{I()});const T=$(),_=f(n.document.metaTitle),k=h(n.document.metaTitle||T.value.metaTitle);function w(t){const e=t.target.value;if(!e){k.value=T.value.metaTitle;return}k.value=e}function A(){n.document.metaTitle=_.value}const c=f(n.document.slug),i=f(n.document.slug),z=S(()=>n.document.slug!==i.value),M=S(()=>`/${z.value?i.value:n.document.slug}`);async function P(){const{data:t}=await $fetch(`/api/collection/${n.controller.collection}/slug`,{params:{query:c.value,headers:{Authorization:G()}}});i.value=t??""}async function U(){const t=n.document.slug;n.document.slug=i.value;const e=window.location.href.replace(t,i.value);setTimeout(()=>{window.location.href=e},1e3)}return(t,e)=>{const x=J,b=K,O=Q,E=W,C=X,R=Y;return u(V)?(d(),m(Z,{key:0,to:"body"},[g(R,{width:500,position:"left","model-value":u(V),"onUpdate:modelValue":u(I)},{default:v(()=>{var L;return[r("div",ee,[g(x,{style:{"margin-bottom":"40px"}}),r("label",te,[e[7]||(e[7]=r("div",null,"Title страницы",-1)),q(r("input",{"onUpdate:modelValue":e[0]||(e[0]=l=>D(_)?_.value=l:null),onInput:e[1]||(e[1]=l=>w(l)),onBlur:A,type:"text",placeholder:"Введите текст"},null,544),[[j,u(_),void 0,{trim:!0}]])]),g(b,{modelValue:t.document.metaDescription,"onUpdate:modelValue":e[2]||(e[2]=l=>t.document.metaDescription=l),type:"textarea",label:"Description страницы"},null,8,["modelValue"]),g(O,{modelValue:t.document.image,"onUpdate:modelValue":e[3]||(e[3]=l=>t.document.image=l),label:"Изображение страницы в соц.сетях"},null,8,["modelValue"]),t.document.slug!=="index"&&((L=t.controller.options)!=null&&L.published)?(d(),m(E,{key:0,modelValue:t.document.published,"onUpdate:modelValue":e[4]||(e[4]=l=>t.document.published=l)},{default:v(()=>e[8]||(e[8]=[y("Страница опубликована")])),_:1},8,["modelValue"])):p("",!0),t.document.slug!=="index"?(d(),m(E,{key:1,modelValue:t.document.noindex,"onUpdate:modelValue":e[5]||(e[5]=l=>t.document.noindex=l)},{default:v(()=>e[9]||(e[9]=[y("Страница скрыта от индексации")])),_:1},8,["modelValue"])):p("",!0),t.controller.collection&&t.document.slug!=="index"?(d(),m(b,{key:2,style:{"margin-top":"20px"},onInput:P,"no-lazy":"",modelValue:u(c),"onUpdate:modelValue":e[6]||(e[6]=l=>D(c)?c.value=l:null),label:`Адрес страницы: ${u(M)}`},null,8,["modelValue","label"])):p("",!0),u(z)&&t.controller.collection?(d(),m(C,{key:3,onClick:U,style:{"align-self":"flex-start","margin-top":"-10px"}},{default:v(()=>e[10]||(e[10]=[y("⚡️ Обновить slug")])),_:1})):p("",!0),r("div",oe,[F(t.$slots,"settings")])])]}),_:3},8,["model-value","onUpdate:modelValue"])])):p("",!0)}}});export{ue as default};

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.