1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84078],{29656:function(e,n,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ai-studio/smart-clipper/generate/GenerateClipsForm/ClipLength",function(){return l(25241)}])},25241:function(e,n,l){"use strict";l.r(n);var t=l(85893),i=l(91167),u=l(20931),o=l(27524),r=l(67294),a=l(87536),d=l(25617);n.default=e=>{let{onChange:n,control:l}=e,{language:s}=r.useContext(o.AZ),v=(0,a.qo)({control:l}),c=(0,d.v9)(e=>{var n;return null==e?void 0:null===(n=e.VideoState)||void 0===n?void 0:n.duration}),m=r.useMemo(()=>{var e,n;return(null==v?void 0:null===(e=v.timeframe)||void 0===e?void 0:e.to)-(null==v?void 0:null===(n=v.timeframe)||void 0===n?void 0:n.from)},[null==v?void 0:v.timeframe]),p=e=>n(e);return(0,t.jsx)("div",{className:"flex items-center gap-2",children:u.xP.map((e,n)=>(0,t.jsx)(i.Z,{size:"x-small",btnType:"button",name:"clipLength",disabled:(null==e?void 0:e.duration)>c||(null==e?void 0:e.duration)>m,type:v.clipLength===e.value?"outline-gradient":"outline",onClick:n=>{n.preventDefault(),p(e.value)},children:(0,t.jsx)("p",{className:"xs-small-text text-white-80 z-10",children:null==e?void 0:e.label[s]})},n))})}}},function(e){e.O(0,[92888,49774,40179],function(){return e(e.s=29656)}),_N_E=e.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.