PageSourceSearch

https://rusmuseum.ru/_nuxt/D76_I6G9.js

js rusmuseum.ru collected 2026-10-02 02:59:13 UTC 10,606 bytes, 1 lines download raw bytes

1import{aT as se,bg as T,aV as L,bh as te,aW as P,b7 as B,b4 as N,b2 as A,bk as D,cd as ae,b5 as x,bI as H,aX as S,bG as re,b3 as I,bH as ie,a$ as y,b_ as F,bc as oe}from"./C8fVPhpH.js";import{g as k,e as ne,c as le,b as de,d as pe,N as R,P as q,A as z,a as ce,S as fe}from"./DnWu42YE.js";try{let l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new l.Error().stack;e&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[e]="6f93855b-a7d4-462e-947e-0f8d63aa210f",l._sentryDebugIdIdentifier="sentry-dbid-6f93855b-a7d4-462e-947e-0f8d63aa210f")}catch{}function U(l){const{effect:e,swiper:a,on:p,setTranslate:w,setTransition:c,overwriteParams:m,perspective:s,recreateShadows:n,getEffectParams:r}=l;p("beforeInit",()=>{if(a.params.effect!==e)return;a.classNames.push(`${a.params.containerModifierClass}${e}`),s&&s()&&a.classNames.push(`${a.params.containerModifierClass}3d`);const d=m?m():{};Object.assign(a.params,d),Object.assign(a.originalParams,d)}),p("setTranslate _virtualUpdated",()=>{a.params.effect===e&&w()}),p("setTransition",(d,u)=>{a.params.effect===e&&c(u)}),p("transitionEnd",()=>{if(a.params.effect===e&&n){if(!r||!r().slideShadows)return;a.slides.forEach(d=>{d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>u.remove())}),n()}});let o;p("virtualUpdate",()=>{a.params.effect===e&&(a.slides.length||(o=!0),requestAnimationFrame(()=>{o&&a.slides&&a.slides.length&&(w(),o=!1)}))})}function X(l,e){const a=k(e);return a!==e&&(a.style.backfaceVisibility="hidden",a.style["-webkit-backface-visibility"]="hidden"),a}function Z(l){let{swiper:e,duration:a,transformElements:p,allSlides:w}=l;const{activeIndex:c}=e,m=s=>s.parentElement?s.parentElement:e.slides.find(r=>r.shadowRoot&&r.shadowRoot===s.parentNode);if(e.params.virtualTranslate&&a!==0){let s=!1,n;w?n=p:n=p.filter(r=>{const o=r.classList.contains("swiper-slide-transform")?m(r):r;return e.getSlideIndex(o)===c}),n.forEach(r=>{ne(r,()=>{if(s||!e||e.destroyed)return;s=!0,e.animating=!1;const o=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(o)})})}}function G(l){let{swiper:e,extendParams:a,on:p}=l;a({fadeEffect:{crossFade:!1}}),U({effect:"fade",swiper:e,on:p,setTranslate:()=>{const{slides:m}=e,s=e.params.fadeEffect;for(let n=0;n<m.length;n+=1){const r=e.slides[n];let d=-r.swiperSlideOffset;e.params.virtualTranslate||(d-=e.translate);let u=0;e.isHorizontal()||(u=d,d=0);const C=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(r.progress),0):1+Math.min(Math.max(r.progress,-1),0),g=X(s,r);g.style.opacity=C,g.style.transform=`translate3d(${d}px, ${u}px, 0px)`}},setTransition:m=>{const s=e.slides.map(n=>k(n));s.forEach(n=>{n.style.transitionDuration=`${m}ms`}),Z({swiper:e,duration:m,transformElements:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function ue(l,e,a){const p=`swiper-slide-shadow${` swiper-slide-shadow-${l}`}`,w=k(e);let c=w.querySelector(`.${p.split(" ").join(".")}`);return c||(c=le("div",p.split(" ")),w.append(c)),c}function j(l){let{swiper:e,extendParams:a,on:p}=l;a({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const w=s=>typeof s=="string"?s:`${s}px`;U({effect:"creative",swiper:e,on:p,setTranslate:()=>{const{slides:s,wrapperEl:n,slidesSizesGrid:r}=e,o=e.params.creativeEffect,{progressMultiplier:d}=o,u=e.params.centeredSlides,C=de(e);if(u){const g=r[0]/2-e.params.slidesOffsetBefore||0;n.style.transform=`translateX(calc(50% - ${g}px))`}for(let g=0;g<s.length;g+=1){const b=s[g],O=b.progress,t=Math.min(Math.max(b.progress,-o.limitProgress),o.limitProgress);let i=t;u||(i=Math.min(Math.max(b.originalProgress,-o.limitProgress),o.limitProgress));const v=b.swiperSlideOffset,f=[e.params.cssMode?-v-e.translate:-v,0,0],M=[0,0,0];let _=!1;e.isHorizontal()||(f[1]=f[0],f[0]=0);
1let h={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};t<0?(h=o.next,_=!0):t>0&&(h=o.prev,_=!0),f.forEach(($,E)=>{f[E]=`calc(${$}px + (${w(h.translate[E])} * ${Math.abs(t*d)}))`}),M.forEach(($,E)=>{let ee=h.rotate[E]*Math.abs(t*d);M[E]=ee}),b.style.zIndex=-Math.abs(Math.round(O))+s.length;const W=f.join(", "),Y=`rotateX(${C(M[0])}deg) rotateY(${C(M[1])}deg) rotateZ(${C(M[2])}deg)`,J=i<0?`scale(${1+(1-h.scale)*i*d})`:`scale(${1-(1-h.scale)*i*d})`,K=i<0?1+(1-h.opacity)*i*d:1-(1-h.opacity)*i*d,Q=`translate3d(${W}) ${Y} ${J}`;if(_&&h.shadow||!_){let $=b.querySelector(".swiper-slide-shadow");if(!$&&h.shadow&&($=ue("creative",b)),$){const E=o.shadowPerProgress?t*(1/o.limitProgress):t;$.style.opacity=Math.min(Math.max(Math.abs(E),0),1)}}const V=X(o,b);V.style.transform=Q,V.style.opacity=K,h.origin&&(V.style.transformOrigin=h.origin)}},setTransition:s=>{const n=e.slides.map(r=>k(r));n.forEach(r=>{r.style.transitionDuration=`${s}ms`,r.querySelectorAll(".swiper-slide-shadow").forEach(o=>{o.style.transitionDuration=`${s}ms`})}),Z({swiper:e,duration:s,transformElements:n,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const we=["aria-label"],me={key:2,class:"__shadow"},ge={key:3,class:"swiper-pagination-box"},he=["aria-label"],ve=["aria-label"],be=["aria-label"],ye=se({__name:"AppSwiper",props:{slides:{},swiperOptions:{},code:{},withoutBullets:{type:Boolean},hasShadow:{type:Boolean}},emits:["swiper"],setup(l,{emit:e}){pe.use([R,q,z,G,j]);const a=[R,q,z,G,j],p=e,w=T(null),c=T(null),m=t=>{c.value=t,p("swiper",t)},s=l,n={el:`.swiper-pagination__${s.code}`,type:"fraction"},r={nextEl:`.swiper-btn-next__${s.code}`,prevEl:`.swiper-btn-prev__${s.code}`},o=L(()=>{const t=s.swiperOptions??{},i=t.slidesPerView==="auto"?1:Math.max(1,Math.ceil(Number(t.slidesPerView)||1)),v=Math.max(1,Math.ceil(Number(t.slidesPerGroup)||1)),f=t.loop===!0?s.slides.length>=i+v:t.loop;return{...t,loop:f,pagination:s.withoutBullets?void 0:n,navigation:r}}),d=L(()=>{var i;const t=(i=s.swiperOptions)!=null&&i.slidesPerView&&s.swiperOptions.slidesPerView!=="auto"?s.swiperOptions.slidesPerView:1;return s.slides.length>t}),u=T(!1),C=T(!1);let g;te(()=>{C.value=!0});const b=()=>{!c.value||u.value||(g=setTimeout(()=>{var t,i;u.value=!0,(i=(t=c.value.autoplay)==null?void 0:t.stop)==null||i.call(t)},50))},O=()=>{var t,i,v;g&&clearTimeout(g),u.value=!1,(v=(i=(t=c.value)==null?void 0:t.autoplay)==null?void 0:i.start)==null||v.call(i)};return(t,i)=>(y(),P(B,null,[C.value?(y(),N(x(fe),ae({key:0,ref_key:"swiperRef",ref:w,modules:a},x(o),{class:"app-swiper",role:"region","aria-roledescription":"carousel","aria-label":`${t.$t("media.carousel")} ${s.code}`,onSwiper:m,onMouseenter:b,onMouseleave:O}),{default:D(()=>[(y(!0),P(B,null,H(t.slides,(v,f)=>(y(),N(x(ce),{key:f,class:"app-slide"},{default:D(()=>[F(t.$slots,"default",{slide:v,index:f},void 0,!0)]),_:2},1024))),128))]),_:3},16,["aria-label"])):(y(),P("div",{key:1,class:"app-swiper app-swiper-fallback",role:"region","aria-roledescription":"carousel","aria-label":`${t.$t("media.carousel")} ${s.code}`},[(y(!0),P(B,null,H(t.slides,(v,f)=>(y(),P("div",{key:f,class:"app-slide"},[F(t.$slots,"default",{slide:v,index:f},void 0,!0)]))),128))],8,we)),t.hasShadow?(y(),P("div",me)):A("",!0),x(d)?(y(),P("div",ge,[S("div",{slot:"button-prev",class:I(["swiper-btn swiper-btn-prev",`swiper-btn-prev__${s.code}`]),"aria-label":t.$t("pagination.previous")},[...i[0]||(i[0]=[S("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#888888",xmlns:"http://www.w3.org/2000/svg"},[S("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.46934 11.47C3.32889 11.6106 3.25 11.8013 3.25 12C3.25 12.1988 3.32889 12.3894 3.46934 12.53L9.46934 18.53C9.538 18.6037 9.6208 18.6628 9.7128 18.7038C9.8048 18.7448 9.90412 18.7668 10.0048 18.7686C10.1055 18.7704 10.2055 18.7518 10.2989 18.7141C10.3923 18.6764 10.4772 18.6203 10.5484 18.549C10.6196 18.4778 10.6757 18.393 10.7135 18.2996C10.7512 18.2062 10.7697 18.1062 10.7679 18.0055C10.7662 17.9048 10.7441 17.8055 10.7031 17.7135C10.6621 17.6215 10.603 17.5387 10.5293 17.47L5.80934 12.75H19.9993
1C20.1983 12.75 20.389 12.671 20.5297 12.5303C20.6703 12.3897 20.7493 12.1989 20.7493 12C20.7493 11.8011 20.6703 11.6103 20.5297 11.4697C20.389 11.329 20.1983 11.25 19.9993 11.25H5.80934L10.5293 6.53C10.603 6.46134 10.6621 6.37854 10.7031 6.28654C10.7441 6.19454 10.7662 6.09523 10.7679 5.99452C10.7697 5.89382 10.7512 5.79379 10.7135 5.7004C10.6757 5.60701 10.6196 5.52218 10.5484 5.45096C10.4772 5.37974 10.3923 5.3236 10.2989 5.28588C10.2055 5.24816 10.1055 5.22963 10.0048 5.23141C9.90412 5.23319 9.8048 5.25523 9.7128 5.29622C9.6208 5.33721 9.538 5.39631 9.46934 5.47Z"})],-1)])],10,he),re(S("div",{slot:"pagination",class:I(["swiper-pagination",`swiper-pagination__${s.code}`]),"aria-label":t.$t("pagination.navigation")},null,10,ve),[[ie,!s.withoutBullets]]),S("div",{slot:"button-next",class:I(["swiper-btn swiper-btn-next",`swiper-btn-next__${s.code}`]),"aria-label":t.$t("pagination.next")},[...i[1]||(i[1]=[S("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#888888",xmlns:"http://www.w3.org/2000/svg"},[S("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.5307 11.47C20.6711 11.6106 20.75 11.8013 20.75 12C20.75 12.1988 20.6711 12.3894 20.5307 12.53L14.5307 18.53C14.462 18.6037 14.3792 18.6628 14.2872 18.7038C14.1952 18.7448 14.0959 18.7668 13.9952 18.7686C13.8945 18.7704 13.7945 18.7518 13.7011 18.7141C13.6077 18.6764 13.5228 18.6203 13.4516 18.549C13.3804 18.4778 13.3243 18.393 13.2865 18.2996C13.2488 18.2062 13.2303 18.1062 13.2321 18.0055C13.2338 17.9048 13.2559 17.8055 13.2969 17.7135C13.3379 17.6215 13.397 17.5387 13.4707 17.47L18.1907 12.75H4.00066C3.80175 12.75 3.61098 12.671 3.47033 12.5303C3.32968 12.3897 3.25066 12.1989 3.25066 12C3.25066 11.8011 3.32968 11.6103 3.47033 11.4697C3.61098 11.329 3.80175 11.25 4.00066 11.25H18.1907L13.4707 6.53C13.397 6.46134 13.3379 6.37854 13.2969 6.28654C13.2559 6.19454 13.2338 6.09523 13.2321 5.99452C13.2303 5.89382 13.2488 5.79379 13.2865 5.7004C13.3243 5.60701 13.3804 5.52218 13.4516 5.45096C13.5228 5.37974 13.6077 5.3236 13.7011 5.28588C13.7945 5.24816 13.8945 5.22963 13.9952 5.23141C14.0959 5.23319 14.1952 5.25523 14.2872 5.29622C14.3792 5.33721 14.462 5.39631 14.5307 5.47L20.5307 11.47Z"})],-1)])],10,be)])):A("",!0)],64))}}),Ee=oe(ye,[["__scopeId","data-v-d8eab3fd"]]);export{Ee as A};

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.