1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[11229],{11229:(e,t,i)=>{i.r(t),i.d(t,{default:()=>h});var n=i(95155),a=i(19749),l=i(12115),r=i(62651),o=i(93795),s=i(20877),d=i(86464),c=i(44064);function h(){let e,t,i,h,v,f,b,p,w,x,_=(0,a.c)(25),j=(0,o.A)(g),y=(0,o.A)(m),N=(0,o.A)(u),k=(0,l.useRef)(0),z=null==y?void 0:y.aspect_ratio,E=null==y?void 0:y.width,A=null==y?void 0:y.height;_[0]!==E||_[1]!==A?(e={maxViewportWidthPercent:.98,maxViewportHeightPercent:.98,minWidth:420,minHeight:420,maxWidth:E,maxHeight:A},_[0]=E,_[1]=A,_[2]=e):e=_[2];let{width:M,height:S}=(0,d.A)(z,e),W=M?`${M}px`:"auto",C=S?`${S}px`:"auto";_[3]!==W||_[4]!==C?(t={width:W,height:C,maxWidth:"100vw",maxHeight:"100vh"},_[3]=W,_[4]=C,_[5]=t):t=_[5];let H=t;_[6]!==N?(i=()=>{let e=Date.now();e-k.current<300||(k.current=e,N(!1))},_[6]=N,_[7]=i):i=_[7];let L=i;_[8]===Symbol.for("react.memo_cache_sentinel")?(h={backdropFilter:"blur(4px)"},_[8]=h):h=_[8],_[9]===Symbol.for("react.memo_cache_sentinel")?(v=(0,n.jsx)("svg",{className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})}),_[9]=v):v=_[9],_[10]!==L?(f=(0,n.jsx)("button",{type:"button",onClick:L,className:"absolute top-4 right-4 z-50 flex h-10 w-10 cursor-pointer items-center justify-center rounded-full bg-black/60 text-white transition-all duration-200 hover:scale-110 hover:bg-black/80 focus:outline-none",style:h,"aria-label":"Close video dialog",children:v}),_[10]=L,_[11]=f):f=_[11];let O=null==y?void 0:y.image_url,R=null==y?void 0:y.title,F=null==y?void 0:y.aspect_ratio;return _[12]===Symbol.for("react.memo_cache_sentinel")?(b=(0,n.jsx)(c.A,{className:"h-full w-full rounded-none"}),_[12]=b):b=_[12],_[13]!==O||_[14]!==R||_[15]!==F?(p=(0,n.jsx)(s.A,{src:O,alt:R,aspectRatio:F,quality:60,width:450,unoptimized:!0,loadingContent:b,className:"h-full w-full bg-cover bg-center transition-transform duration-300 select-none"}),_[13]=O,_[14]=R,_[15]=F,_[16]=p):p=_[16],_[17]!==H||_[18]!==p||_[19]!==f?(w=(0,n.jsxs)(r.Cf,{className:"overflow-hidden rounded-[4px] border-none! bg-black p-0 shadow-none! ring-0! [&>button:last-child]:hidden!",style:H,zIndex:999999,children:[f,p]}),_[17]=H,_[18]=p,_[19]=f,_[20]=w):w=_[20],_[21]!==j||_[22]!==N||_[23]!==w?(x=(0,n.jsx)(r.lG,{open:j,onOpenChange:N,className:"border-none!",children:w}),_[21]=j,_[22]=N,_[23]=w,_[24]=x):x=_[24],x}function u(e){return e.setImageOpen}function m(e){return e.imageConfig}function g(e){return e.imageOpen}},20877:(e,t,i)=>{i.d(t,{A:()=>m});var n=i(95155),a=i(19749),l=i(12115),r=i(57638),o=i(23958),s=i(8166),d=i(3357),c=i(33305),h=i(76317);let u=new Set;function m(e){let t,i,m,g,v,f,b,p,w,x,_,j,y,N,k,z,E,A=(0,a.c)(56),{src:M,alt:S,className:W,imageStyle:C,width:H,quality:L,fit:O,height:R,style:F,aspectRatio:P,enableLoading:I,loading:V,priority:$,lazyRootMargin:q,loadingContent:B,errorContent:D,showError:G,onError:Q,onLoad:J,unoptimized:K}=e,T=void 0===S?"":S,U=void 0===W?"":W,X=void 0===L?75:L;A[0]!==F?(t=void 0===F?{}:F,A[0]=F,A[1]=t):t=A[1];let Y=t,Z=void 0===I||I,ee=void 0===V?"lazy":V,et=void 0!==$&&$,ei=void 0===q?"300px":q,en=void 0===G||G,ea=(0,l.useRef)(null),el=(0,l.useRef)(null);if(A[2]!==T||A[3]!==M)i=T||"string"==typeof M&&M&&(String(M).split("/").pop()||"").split("?")[0].split("#")[0].replace(/\.[^.]+$/,"").replace(/[-_.]+/g," ").trim()||"",A[2]=T,A[3]=M,A[4]=i;else i=A[4];let er=i,[eo,es]=(0,l.useState)(void 0),ed=H>0?H:eo,[ec,eh]=(0,l.useState)(!1),[eu,em]=(0,l.useState)(!M),eg=(0,r.A)();A[5]!==ei?(m={rootMargin:ei},A[5]=ei,A[6]=m):m=A[6];let[ev]=(0,o.A)(ea,m),[ef,eb]=(0,l.useState)(!1);e:{let e;if(!M){g=null;break e}if(void 0!==K&&K||/[-_.](anim|animated)\.(webp|gif)$/i.test(M)||!(0,d.dg)(M)){g=M;break e}if(!ed){g=null;break e}A[7]!==O||A[8]!==R||A[9]!==X||A[10]!==M||A[11]!==ed?(e=(0,s.Qr)(M,{width:ed,quality:X,fit:O,height:R}),A[7]=O,A[8]=R,A[9]=X,A[10]=M,A[11]=ed,A[12]=e):e=A[12],g=e}let ep=g;A[13]!==ep?(v=!!ep&&u.has(ep),A[13]=ep,A[14]=v):v=A[14];let ew=v;t:{if(ew||et||"eager"===ee){f=!0;break t}if("visible"!==eg||!ev){f=!1;break t}f=!0}let ex=f;A[15]!==H?(b=()=>{if(H>0)return;let e=ea.current;if(!e)return;let t=new ResizeObserver(e=>{let t=e[0].contentRect.width;t&&es(2*Math.round(t))});return t.observe(e),()=>t.disconnect()},p=[H],A[15]=H,A[16]=b,A[17]=p):(b=A[16],p=A[17]),(0,l.useEffect)(b,p),A[18]!==M?(w=()=>{eh(!1),em(!M)},A[18]=M,A[19]=w):w=A[19],A[20]!==ee||A[21]!==et||A[22]!==M?(x=[M,et,ee],A[20]=ee,A[21]=et,A[22]=M,A[23]=x):x=A[23],(0,l.useEffect)(w,x);let e_=ex||ef?ep:null,ej=ec||ew;return A[24]!==e_?(_=()=>{if(!e_)return;let e=el.current;
1e&&e.complete&&e.naturalWidth>0&&(eh(!0),u.add(e_))},j=[e_],A[24]=e_,A[25]=_,A[26]=j):(_=A[25],j=A[26]),(0,l.useEffect)(_,j),A[27]!==P||A[28]!==Y?(y={...Y,aspectRatio:P},A[27]=P,A[28]=Y,A[29]=y):y=A[29],A[30]!==U?(N=(0,c.cn)("relative overflow-hidden",U),A[30]=U,A[31]=N):N=A[31],A[32]!==Z||A[33]!==eu||A[34]!==B||A[35]!==ej?(k=Z&&!eu&&!ej&&(B?(0,n.jsx)("div",{className:"absolute inset-0 z-10",children:B}):(0,n.jsx)("div",{className:"absolute inset-0 z-10 flex items-center justify-center",children:(0,n.jsx)("div",{className:"h-6 w-6 animate-spin bg-cover",style:{backgroundImage:"url('/images/ai-music/generate-loading.svg')"}})})),A[32]=Z,A[33]=eu,A[34]=B,A[35]=ej,A[36]=k):k=A[36],A[37]!==ew||A[38]!==U||A[39]!==er||A[40]!==eu||A[41]!==D||A[42]!==e_||A[43]!==C||A[44]!==ee||A[45]!==Q||A[46]!==J||A[47]!==et||A[48]!==en||A[49]!==ej?(z=eu?en?(0,n.jsx)("div",{className:"absolute inset-0",children:null!=D?D:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{"aria-hidden":"true",className:"absolute inset-0 overflow-hidden bg-[#0b1513]",children:[(0,n.jsx)("div",{className:"absolute -inset-[14%] bg-[radial-gradient(ellipse_48%_78%_at_13%_34%,rgba(13,72,56,0.58)_0%,rgba(13,72,56,0.24)_42%,transparent_74%),radial-gradient(ellipse_50%_92%_at_69%_43%,rgba(55,76,28,0.52)_0%,rgba(47,69,28,0.24)_46%,transparent_76%)] blur-[18px]"}),(0,n.jsx)("div",{className:"absolute inset-0 bg-[linear-gradient(105deg,rgba(4,18,17,0.2)_0%,transparent_44%,rgba(5,15,13,0.2)_100%)]"})]}),(0,n.jsx)(h.A,{className:"absolute top-1/2 left-1/2 z-10 size-9 -translate-x-1/2 -translate-y-1/2"})]})}):null:(0,n.jsx)("img",{ref:el,src:e_||void 0,alt:er,loading:et||ew?"eager":ee,className:(0,c.cn)("object-cover object-top opacity-0",U,{"opacity-100":ej}),style:C,onLoad:e=>{eh(!0),eb(!0),e_&&u.add(e_),null==J||J(e)},onError:e=>{em(!0),eh(!0),e_&&u.delete(e_),null==Q||Q(e)}},e_),A[37]=ew,A[38]=U,A[39]=er,A[40]=eu,A[41]=D,A[42]=e_,A[43]=C,A[44]=ee,A[45]=Q,A[46]=J,A[47]=et,A[48]=en,A[49]=ej,A[50]=z):z=A[50],A[51]!==y||A[52]!==N||A[53]!==k||A[54]!==z?(E=(0,n.jsxs)("div",{ref:ea,style:y,className:N,children:[k,z]}),A[51]=y,A[52]=N,A[53]=k,A[54]=z,A[55]=E):E=A[55],E}},44064:(e,t,i)=>{i.d(t,{A:()=>s});var n=i(95155),a=i(19749),l=i(42601),r=i(79451),o=i(33305);function s(e){let t,i,s,d,c,h,u,m=(0,a.c)(14);m[0]!==e?({className:t,prominent:s,showIndicator:d,...i}=e,m[0]=e,m[1]=t,m[2]=i,m[3]=s,m[4]=d):(t=m[1],i=m[2],s=m[3],d=m[4]);let g=void 0!==d&&d,v=(void 0===s||s)&&"image-loading-skeleton-prominent";return m[5]!==t||m[6]!==v?(c=(0,o.cn)("image-loading-skeleton bg-[#212121]",v,t),m[5]=t,m[6]=v,m[7]=c):c=m[7],m[8]!==g?(h=g?(0,n.jsx)("span",{className:"pointer-events-none absolute inset-0 z-10 flex items-center justify-center",children:(0,n.jsx)(l.A,{className:"size-5 animate-spin text-white/80"})}):null,m[8]=g,m[9]=h):h=m[9],m[10]!==i||m[11]!==c||m[12]!==h?(u=(0,n.jsx)(r.E,{"aria-hidden":"true",className:c,...i,children:h}),m[10]=i,m[11]=c,m[12]=h,m[13]=u):u=m[13],u}},76317:(e,t,i)=>{i.d(t,{A:()=>o});var n,a,l=i(12115);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}let o=e=>l.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},e),n||(n=l.createElement("circle",{cx:12,cy:12,r:10,fill:"#F4473E"})),a||(a=l.createElement("path",{fill:"#fff",d:"M17 8.24 13.24 12 17 15.76 15.76 17 12 13.24 8.24 17 7 15.76 10.76 12 7 8.24 8.24 7 12 10.76 15.76 7z"})))},79451:(e,t,i)=>{i.d(t,{E:()=>r});var n=i(95155),a=i(19749),l=i(33305);function r(e){let t,i,r,o,s=(0,a.c)(8);return s[0]!==e?({className:t,...i}=e,s[0]=e,s[1]=t,s[2]=i):(t=s[1],i=s[2]),s[3]!==t?(r=(0,l.cn)("animate-pulse rounded-md bg-primary/10",t),s[3]=t,s[4]=r):r=s[4],s[5]!==i||s[6]!==r?(o=(0,n.jsx)("div",{className:r,...i}),s[5]=i,s[6]=r,s[7]=o):o=s[7],o}},86464:(e,t,i)=>{i.d(t,{A:()=>r});var n=i(19749),a=i(12115);let l="16/9";function r(e,t){let i,r,o,s,d,c,h=(0,n.c)(15),u=void 0===e?l:e;h[0]!==t?(i=void 0===t?{}:t,h[0]=t,h[1]=i):i=h[1];
1let{maxViewportWidthPercent:m,maxViewportHeightPercent:g,minWidth:v,minHeight:f,maxWidth:b,maxHeight:p}=i,w=void 0===b?1/0:b,x=void 0===p?1/0:p;h[2]===Symbol.for("react.memo_cache_sentinel")?(r={width:0,height:0},h[2]=r):r=h[2];let[_,j]=(0,a.useState)(r);h[3]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{let e=()=>{j({width:window.innerWidth||0,height:window.innerHeight||0})};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},s=[],h[3]=o,h[4]=s):(o=h[3],s=h[4]),(0,a.useEffect)(o,s);let y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,[t,i]=String(e).trim().replace(":","/").split("/").map(Number);return!Number.isFinite(t)||!Number.isFinite(i)||t<=0||i<=0?16/9:t/i}(u);e:{let e,t,i,n=Math.max(0,_.width*(void 0===m?1:m)),a=Math.max(0,_.height*(void 0===g?1:g)),l=Math.min(n,w),r=Math.min(a,x);if(!l||!r){let e;h[5]===Symbol.for("react.memo_cache_sentinel")?(e={width:0,height:0},h[5]=e):e=h[5],d=e;break e}r*y<=l?e=(t=r)*y:t=(e=l)/y,e=Math.max(void 0===v?0:v,Math.min(e,w)),t=Math.max(void 0===f?0:f,Math.min(t,x)),h[6]!==t||h[7]!==e?(i={width:e,height:t},h[6]=t,h[7]=e,h[8]=i):i=h[8],d=i}let N=d;return h[9]!==u||h[10]!==N.height||h[11]!==N.width||h[12]!==_.height||h[13]!==_.width?(c={width:N.width,height:N.height,aspectRatio:u,viewportWidth:_.width,viewportHeight:_.height},h[9]=u,h[10]=N.height,h[11]=N.width,h[12]=_.height,h[13]=_.width,h[14]=c):c=h[14],c}}}]);
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.