PageSourceSearch

https://neylora.ru/_next/static/chunks/16237.6c0ce2a9ac87e543.js

js neylora.ru collected 2026-10-03 20:11:53 UTC 6,874 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[16237],{9969:(e,t,l)=>{l.d(t,{ME:()=>d,dw:()=>c,l8:()=>m,px:()=>r,xH:()=>o});let s="[aria-modal='true'], [role='dialog'], [data-mobile-swipe-close-layer='true']",a=0,n=e=>{let t=e.getBoundingClientRect(),l=window.getComputedStyle(e);return t.width>0&&t.height>0&&"none"!==l.display&&"hidden"!==l.visibility},r=()=>{"undefined"!=typeof document&&(a=performance.now()+650)},c=()=>"undefined"!=typeof document&&performance.now()<a,i=()=>"undefined"==typeof document?[]:Array.from(document.querySelectorAll(s)).filter(n),o=()=>i().length>0,d=(e,t)=>{var l,a,n;let r=i();if("undefined"==typeof document||"function"!=typeof document.elementsFromPoint)return null!=(l=r[r.length-1])?l:null;let c=document.elementsFromPoint(e,t).find(e=>e instanceof HTMLElement&&!!(e.matches(s)||e.closest(s)));return null!=(n=null!=(a=null==c?void 0:c.closest(s))?a:r[r.length-1])?n:null},m=e=>{let t=e.querySelector("[data-mobile-swipe-close],[data-modal-close],button[aria-label*='Закрыть'],button[aria-label*='закрыть'],button[aria-label*='Close'],button[aria-label*='close']");return t?t.click():window.dispatchEvent(new KeyboardEvent("keydown",{bubbles:!0,cancelable:!0,key:"Escape"})),r(),!0}},16237:(e,t,l)=>{l.r(t),l.d(t,{GallerySwipeHintOverlay:()=>x,UploadPhotoOnboardingModal:()=>u,VideoSeedanceFeatureOnboardingModal:()=>p});var s=l(95155),a=l(15239),n=l(12115),r=l(9969),c=l(97003),i=l(71442);let o="Эта подсказка больше не появится",d="z-[140] bg-black/82 px-4 [padding-bottom:calc(env(safe-area-inset-bottom)+0.875rem)] [padding-top:calc(env(safe-area-inset-top)+0.875rem)]",m="w-full max-w-md overflow-y-auto px-5 py-5 text-card-foreground sm:px-6 sm:py-6 [max-height:calc(100dvh-env(safe-area-inset-top)-env(safe-area-inset-bottom)-1.75rem)]",x=e=>{let{isOpen:t,onConfirm:l}=e,i=(0,n.useRef)(null);return t?(0,s.jsx)("div",{className:"absolute inset-0 z-20 flex items-center justify-center bg-black/82 px-6 text-center",onTouchCancel:()=>{i.current=null},onTouchEnd:e=>{let t=i.current;if(i.current=null,!t)return;let s=e.changedTouches[0];if(!s)return;let a=s.clientX-t.x,n=s.clientY-t.y,c=Math.abs(a),o=Math.abs(n);c<=72||c<=1.15*o||((0,r.px)(),e.preventDefault(),e.stopPropagation(),l())},onTouchStart:e=>{let t=e.touches[0];i.current=t?{x:t.clientX,y:t.clientY}:null},children:(0,s.jsxs)("div",{className:"max-w-sm space-y-5",children:[(0,s.jsx)("div",{className:"mx-auto flex justify-center",children:(0,s.jsx)(a.default,{alt:"Жест свайпа",className:"h-auto w-[9rem] object-contain sm:w-[10.5rem]",height:176,priority:!0,src:"/swipe.png",unoptimized:!0,width:176})}),(0,s.jsx)("p",{className:"text-lg font-medium leading-8 text-white sm:text-xl",children:"Используйте свайпы для выхода из просмотра или навигации между страницами"}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(c.$,{className:"min-w-[13rem]",onClick:l,type:"button",children:"Понятно"}),(0,s.jsx)("p",{className:"text-xs leading-5 text-white/45",children:o})]})]})}):null},u=e=>{let{isOpen:t,onConfirm:l}=e;return(0,s.jsx)(i.a,{className:d,closeOnBackdrop:!1,contentClassName:m,isOpen:t,onClose:l,showCloseButton:!1,children:(0,s.jsxs)("div",{className:"mx-auto flex flex-col items-center",children:[(0,s.jsxs)("h2",{className:"max-w-[23rem] text-center text-xl font-semibold leading-7 text-foreground sm:text-2xl sm:leading-8",children:[(0,s.jsx)("span",{className:"block",children:"Важно!"})," ",(0,s.jsx)("span",{className:"block",children:"Большинство шаблонов в галерее сгенерированы из этих фото:"})]}),(0,s.jsx)("div",{className:"mt-5 grid w-full max-w-[18rem] grid-cols-2 gap-4 sm:max-w-[20rem]",children:[{alt:"Пример хорошего референсного фото 1",src:"/ref1.jpg"},{alt:"Пример хорошего референсного фото 2",src:"/ref2.jpg"}].map(e=>(0,s.jsx)("div",{className:"relative aspect-[125/159] overflow-hidden rounded-[10px] bg-neutral-900",children:(0,s.jsx)(a.default,{alt:e.alt,className:"h-full w-full object-cover",fill:!0,priority:!0,sizes:"(max-width: 640px) 38vw, 266px",src:e.src,unoptimized:!0})},e.src))}),(0,s.jsxs)("div",{className:"mt-5 w-full px-1 text-left sm:px-2",children:[(0,s.jsx)("p",{className:"text-base font-semibold leading-6 text-primary",children:"Что бы получить хороший результат:"}),(0,s.jsxs)("div",{className:"mt-2 space-y-1 text-sm leading-6 text-foreground sm:text-base sm:leading-7",children:[(0,s.jsx)("p",{children:"Выбирайте свое лучшее фото."}),(0,s.jsx)("p",{children:"Загружайте фото, где лицо крупно в кадре."}),(0,s.jsx)("p",{children:"Высокого качества с хорошим освещением."}),(0,s.jsx)("p",{children:"Если генерация получилась не похожей на вас, попробуйте другое фото."})]}),(0,s.jsx)("p",{className:"mt-3 text-xs leading-5 text-muted-foreground sm:text-sm sm:leading-6",children:"Аксессуары, тату и другие детали можно загружать отдельным фото."})]}),(0,s.jsx)("div",{className:"mt-5 w-full max-w-[16rem]",children:(0,s.jsx)(c.$,{className:"w-full","data-modal-close":"true",onClick:l,type:"button",children:"Понятно"})})]})})},p=e=>{let{isOpen:t,onConfirm:l}=e;return(0,s.jsx)(i.a,{className:d,closeOnBackdrop:!1,contentClassName:m,isOpen:t,onClose:l,showCloseButton:!1,children:(0,s.jsxs)("div",{className:"mx-auto flex flex-col items-center text-center",children:[(0,s.jsx)("h2",{className:"text-xl font-semibold leading-7 text-foreground sm:text-2xl sm:leading-8",children:"Важная особенность Seedance"}),(0,s.jsx)("div",{className:"mt-4 text-left text-sm leading-6 text-foreground sm:text-base sm:leading-7",children:(0,s.jsx)("p",{children:"Модель поддерживает разные входящие данные по отдельности. Если загружаете первый или последний кадр, то не будут работать фото и аудио референсы, и наоборот, если загружены фото или аудио референсы, не будут работать первый и последний кадр. в таком случае нужный фон можно загрузить в окне референсов."})}),(0,s.jsx)("div",{className:"mt-5 w-full max-w-[16rem]",children:(0,s.jsx)(c.$,{className:"w-full","data-modal-close":"true",onClick:l,type:"button",children:"Понятно"})}),(0,s.jsx)("p",{className:"mt-2 text-xs leading-5 text-muted-foreground",children:o})]})})}}}]);

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.