1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[85288],{33811:(e,i,t)=>{t.d(i,{T:()=>a});var o=t(51129);t(65133);var r=t(55730);function a(e){let{className:i,...t}=e;return(0,o.jsx)("textarea",{"data-slot":"textarea",className:(0,r.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",i),...t})}},38175:(e,i,t)=>{t.d(i,{hM:()=>o,aM:()=>c,YP:()=>l,Rr:()=>u,lD:()=>d,Qb:()=>s,Nc:()=>a,Pz:()=>p,J2:()=>n});let o=[{id:"gemini-omni-video",displayName:"Gemini Omni Flash",provider:"kie-veo",providerLabel:"KIE",providerModelId:"veo3_lite",iconUrl:"/images/model-logos/google.svg",modeSupport:["text_to_video","image_to_video","reference_to_video"],capabilities:{durations:["4","6","8"],durationsByMode:{reference_to_video:["8"]},resolutions:["720p","1080p"],aspectRatios:["16:9","9:16"],maxReferenceImages:3,referenceImageLimits:{image_to_video:{min:1,max:2},reference_to_video:{min:1,max:3}},supportsSeed:!1},defaults:{duration:"4",resolution:"720p",aspectRatio:"16:9"},creditCosts:{4:{"720p":20,"1080p":30},6:{"720p":20,"1080p":30},8:{"720p":20,"1080p":30}},creditRange:{min:20,max:30},outputHosts:["static.aiquickdraw.com","tempfile.aiquickdraw.com"],isNew:!0,isDefault:!0,description:"Create cinematic video from a prompt, 2 frames, or up to 3 reference images"},{id:"seedance-2-fast",displayName:"Seedance 2.0 Fast",provider:"kie-seedance",providerLabel:"KIE",providerModelId:"bytedance/seedance-2-fast",iconUrl:"/images/model-logos/seedance.svg",modeSupport:["text_to_video","image_to_video"],capabilities:{durations:["4","6","8","10","12","15"],resolutions:["480p","720p"],aspectRatios:["16:9","9:16"],maxReferenceImages:2,supportsSeed:!1},defaults:{duration:"4",resolution:"480p",aspectRatio:"16:9"},creditCosts:{4:{"480p":60,"720p":140},6:{"480p":90,"720p":210},8:{"480p":120,"720p":280},10:{"480p":150,"720p":350},12:{"480p":180,"720p":420},15:{"480p":225,"720p":525}},creditRange:{min:60,max:525},outputHosts:["tempfile.aiquickdraw.com","static.aiquickdraw.com"],isNew:!0,description:"Fast native-audio video, up to 15s from a prompt or 2 frames"},{id:"seedance-2",displayName:"Seedance 2.0",provider:"kie-seedance",providerLabel:"KIE",providerModelId:"bytedance/seedance-2",iconUrl:"/images/model-logos/seedance.svg",modeSupport:["text_to_video","image_to_video"],capabilities:{durations:["4","6","8","10","12","15"],resolutions:["480p","720p","1080p","4k"],aspectRatios:["16:9","9:16"],maxReferenceImages:2,supportsSeed:!1},defaults:{duration:"4",resolution:"720p",aspectRatio:"16:9"},creditCosts:{4:{"480p":100,"720p":200,"1080p":500,"4k":1e3},6:{"480p":150,"720p":300,"1080p":750,"4k":1500},8:{"480p":200,"720p":400,"1080p":1e3,"4k":2e3},10:{"480p":250,"720p":500,"1080p":1250,"4k":2500},12:{"480p":300,"720p":600,"1080p":1500,"4k":3e3},15:{"480p":375,"720p":750,"1080p":1875,"4k":3750}},creditRange:{min:100,max:3750},outputHosts:["tempfile.aiquickdraw.com","static.aiquickdraw.com"],isNew:!0,description:"Highest detail with native audio, up to 4K and 15s from a prompt or 2 frames"},{id:"seedance-2-5",displayName:"Seedance 2.5",provider:"kie-seedance",providerLabel:"KIE",providerModelId:"bytedance/seedance-2-5",iconUrl:"/images/model-logos/seedance.svg",modeSupport:["text_to_video","image_to_video"],capabilities:{durations:["4","6","8","10","12","15"],resolutions:["480p","720p","1080p"],aspectRatios:["16:9","9:16"],maxReferenceImages:2,supportsSeed:!1},defaults:{duration:"4",resolution:"720p",aspectRatio:"16:9"},creditCosts:{4:{"480p":60,"720p":140,"1080p":360},6:{"480p":90,"720p":210,"1080p":540},8:{"480p":120,"720p":280,"1080p":720},10:{"480p":150,"720p":350,"1080p":900},12:{"480p":180,"720p":420,"1080p":1080},15:{"480p":225,"720p":525,"1080p":1350}},creditRange:{min:60,max:1350},outputHosts:["tempfile.aiquickdraw.com","static.aiquickdraw.com"],isNew:!0,description:"Newest generation with stronger prompt following, up to 1080p and 15s"}],r={text_to_video:{min:0,max:0},image_to_video:{min:1,max:2},reference_to_video:{min:1,max:3}};function a(e,i){var t,o,r;return null!==(r=null!==(o=null==e?void 0:null===(t=e.capabilities.durationsByMode)||void 0===t?void 0:t[i])&&void 0!==o?o:null==e?void 0:e.capabilities.durations)&&void 0!==r?r:[]}function n(e,i,t){let o=a(e,i);return o.includes(t)?t:o.includes(e.defaults.duration)?e.defaults.duration:o[0]}function s(e,i){var t,o,a;if("text_to_video"===i)return{min:0,max:0};let n=null!==(o=null==e?void 0:null===(t=e.capabilities.referenceImageLimits)||void 0===t?void 0:t[i])&&void 0!==o?o:r[i],s=null!==(a=null==e?void 0:e.capabilities.maxReferenceImages)&&void 0!==a?a:n.max;return{min:n.min,max:Math.min(n.max,s)}}function d(e){return o.filter(i=>
1i.modeSupport.includes(e))}function p(e){return o.find(i=>i.id===e)}function u(e){var i;return null!==(i=o.find(i=>i.isDefault&&i.modeSupport.includes(e)))&&void 0!==i?i:d(e)[0]}function l(e,i){let t=p(e);if(!t)throw Error("Unknown workbench model: ".concat(e));return c(t,i)}function c(e,i){var t;let o=null===(t=e.creditCosts[i.duration])||void 0===t?void 0:t[i.resolution];if(!o)throw Error("Unsupported video pricing combination");return o}},49440:(e,i,t)=>{t.r(i),t.d(i,{ViewportVideo:()=>a});var o=t(51129),r=t(65133);function a(e){let{src:i,ariaLabel:t,className:a,poster:n,rootMargin:s="200px 0px"}=e,d=(0,r.useRef)(null),[p,u]=(0,r.useState)(!1),[l,c]=(0,r.useState)(!1),[m,v]=(0,r.useState)(!1),[f,g]=(0,r.useState)(!1),[b,x]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)"),i=navigator.connection,t=()=>{g(e.matches),x(!!(null==i?void 0:i.saveData))};return t(),e.addEventListener("change",t),null==i||i.addEventListener("change",t),()=>{e.removeEventListener("change",t),null==i||i.removeEventListener("change",t)}},[]),(0,r.useEffect)(()=>{let e=d.current;if(!e)return;if(!("IntersectionObserver"in window)){u(!0);return}let i=new IntersectionObserver(e=>{let[i]=e;return u(!!(null==i?void 0:i.isIntersecting))},{rootMargin:s});return i.observe(e),()=>i.disconnect()},[s]),(0,r.useEffect)(()=>{let e=d.current;if(!e||!n)return;if(!("IntersectionObserver"in window)){c(!0);return}let i=new IntersectionObserver(e=>{let[t]=e;(null==t?void 0:t.isIntersecting)&&(c(!0),i.disconnect())},{rootMargin:"600px 0px"});return i.observe(e),()=>i.disconnect()},[n]);let w=function(e){let{isVisible:i,prefersReducedMotion:t,saveData:o}=e;return{shouldLoad:i,shouldAutoPlay:i&&!t&&!o,showControls:i}}({isVisible:p,prefersReducedMotion:f,saveData:b});return(0,r.useEffect)(()=>{let e=d.current;if(e){if(w.shouldLoad&&v(!0),!w.shouldAutoPlay){e.pause();return}e.play().catch(()=>void 0)}},[w.shouldAutoPlay,w.shouldLoad]),(0,o.jsx)("video",{ref:d,src:m||w.shouldLoad?i:void 0,"aria-label":t,className:a,poster:l?n:void 0,controls:w.showControls,loop:w.shouldAutoPlay,muted:!0,playsInline:!0,preload:w.shouldAutoPlay?"metadata":"none"})}}}]);
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.