1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6785],{91348:function(e,s,t){t.d(s,{bw:function(){return A},BG:function(){return O},YK:function(){return b},Bf:function(){return L},T1:function(){return y},nm:function(){return n},QK:function(){return r}});var a=t(23341),i=t(98404);function r(){let e=(0,i.useTranslations)("ui-models.tag"),s=(0,i.useTranslations)("ui-models.description");return{translateTag:(0,a.useCallback)(s=>{if(s.includes("credits")){let t=s.split("credits")[0];return"".concat(t," ").concat(e("credits"))}switch(s){case"audio":case"standard":case"pro":case"master":case"endFrame":case"ratio":case"fast":case"multiVersion":return e(s);default:return s}},[e]),translateDescription:(0,a.useCallback)(e=>s(e),[s])}}function n(){let e=(0,i.useTranslations)("ui-models.image-tag"),s=(0,i.useTranslations)("ui-models.image-description");return{translateTag:(0,a.useCallback)(s=>{if(s.includes("credits")){let t=s.split("credits")[0];return"".concat(t," ").concat(e("credits"))}switch(s){case"2k_4k":return"2K/4K";case"1k_2k_4k":return"1K/2K/4K";case"auto_ratio":case"multi_images_edit":return e(s);default:return s}},[e]),translateDescription:(0,a.useCallback)(e=>s(e),[s])}}var l=t(67421),o=t(7725);function d(e){return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:21,viewBox:"0 0 20 21",fill:"none",...e,children:(0,l.jsx)("path",{d:"M4.75 5.43262C4.75 4.47491 5.78295 3.87273 6.61621 4.34473L15.5596 9.41309C16.4045 9.89192 16.4045 11.1091 15.5596 11.5879L6.61621 16.6562C5.78295 17.1282 4.75 16.5261 4.75 15.5684V5.43262Z",stroke:"currentColor",strokeWidth:1.5})})}function c(e){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:15,viewBox:"0 0 15 15",fill:"none",...e,children:[(0,l.jsx)("path",{d:"M8.81632 10.0557H5.76204L5.17026 12.4333C5.01468 13.0583 4.47784 13.5 3.85756 13.5C2.95848 13.5 2.3184 12.6022 2.5464 11.7025L4.61312 3.54711C4.7877 2.85818 5.4214 2.41926 6.08258 2.51243L6.1075 2.51595H12.1646C12.9073 2.51595 13.5 3.15101 13.5 3.92207C13.5 4.69313 12.9073 5.3282 12.1646 5.3282H7.62445C7.22004 5.3282 6.86613 5.61975 6.76183 6.03882C6.6105 6.64681 7.03773 7.24341 7.62445 7.24341H8.81632C9.55902 7.24341 10.1517 7.87847 10.1517 8.64953C10.1517 9.42059 9.55902 10.0557 8.81632 10.0557Z",fill:"url(#paint0_linear_486_8311)"}),(0,l.jsx)("path",{d:"M12.6552 8.74479C12.6552 9.20084 12.3102 9.57065 11.8852 9.57065C11.4602 9.57065 11.1152 9.20084 11.1152 8.74479C11.1152 8.28874 11.4602 7.91893 11.8852 7.91893C12.3102 7.91893 12.6552 8.28874 12.6552 8.74479Z",fill:"url(#paint1_linear_486_8311)"}),(0,l.jsx)("path",{d:"M10.1853 11.4825C10.1853 11.7484 9.98434 11.9639 9.73655 11.9639C9.48876 11.9639 9.28776 11.7484 9.28776 11.4825C9.28776 11.2165 9.48877 11.001 9.73655 11.001C9.98433 11.001 10.1853 11.2165 10.1853 11.4825Z",fill:"url(#paint2_linear_486_8311)"}),(0,l.jsx)("path",{d:"M7.43029 12.7219C7.43029 12.8882 7.30486 13.0226 7.15035 13.0226C6.99481 13.0226 6.86967 12.8879 6.86967 12.7219C6.86967 12.5559 6.99481 12.4213 7.15035 12.4213C7.30486 12.4213 7.43029 12.5556 7.43029 12.7219Z",fill:"url(#paint3_linear_486_8311)"}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_486_8311",x1:-3.60825,y1:1.81813,x2:11.9561,y2:-.763411,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#767676"}),(0,l.jsx)("stop",{offset:1,stopColor:"#F1EBEB"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_486_8311",x1:-3.60825,y1:1.81813,x2:11.9561,y2:-.763411,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#767676"}),(0,l.jsx)("stop",{offset:1,stopColor:"#F1EBEB"})]}),(0,l.jsxs)("linearGradient",{id:"paint2_linear_486_8311",x1:-3.60825,y1:1.81813,x2:11.9561,y2:-.763411,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#767676"}),(0,l.jsx)("stop",{offset:1,stopColor:"#F1EBEB"})]}),(0,l.jsxs)("linearGradient",{id:"paint3_linear_486_8311",x1:-3.60825,y1:1.81813,x2:11.9561,y2:-.763411,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#767676"}),(0,l.jsx)("stop",{offset:1,stopColor:"#F1EBEB"})]})]})]})}function u(e){return(0,l.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("g",{clipPath:"url(#clip0_3707_25965)",children:(0,l.jsx)("path",{d:"M16 8.00003C16 3.58203 12.4 -0.0113066 7.98003 2.67354e-05C3.59336 0.0113601 0.0100267 3.59336 2.67354e-05 7.98003C-0.0113066 12.4 3.58203 16 8.00003 16H13.2567C13.983 16 14.6796 15.7115 15.1932 15.1979C15.7068 14.6843 15.9954 13.9877 15.9954 13.2614V8.26669C15.998 8.17803 16 8.08936 16 8.00003ZM3.88603 12.4427C2.61269 11.356 1.82736 9.61603 1.86403 7.84269C1.86669 7.71869 1.87269 7.59469 1.88403 7.47069V7.46269C2.06869 5.34669 3.43536 3.37336 5.35069 2.45669C7.26669 1.54003 9.66136 1.71536 11.424 2.89936C13.1867 4.08403 14.2527 6.23536 14.128 8.35536C14.0972 8.81956 14.0238 9.27994 13.9087 9.73069C13.8647 9.91069 13.8107 10.0967 13.6834 10.2307C13.5567 10.3647 13.334 10.4274 13.1834 10.32C13.0394 10.2174 13.018 10.016 13.006 9.84003C12.906 8.41736 12.526 6.95003 11.5647 5.89669C10.8255 5.09705 9.81744 4.5981 8.73336 4.49536C7.64933 4.40163 6.56741 4.69758 5.68203 5.33003C4.94936 5.85469 4.37403 6.60603 4.09536 7.46336C3.81803 8.32003 3.84603 9.28069 4.21203 10.1047C4.48325 10.713 4.92274 11.2312 5.47869 11.598C6.45669 12.24 7.79536 12.3314 8.812
103 11.7514C9.82803 11.1714 10.4354 9.91269 10.1767 8.77136C9.91736 7.63003 8.76069 6.74003 7.59669 6.86069C7.41936 6.87869 7.16469 6.85936 7.15869 6.68069C7.15336 6.54269 7.31936 6.47003 7.45536 6.44536C8.63603 6.23336 9.90203 6.83336 10.5487 7.84336C11.1974 8.85336 11.23 10.206 10.7014 11.2834C10.172 12.36 9.12136 13.1467 7.95603 13.4307C6.38469 13.814 4.96203 13.3607 3.88736 12.4427H3.88603Z",fill:"url(#paint0_linear_3707_25965)"})}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_3707_25965",x1:.35936,y1:.58936,x2:18.3247,y2:18.0147,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#A2A3A3"}),(0,l.jsx)("stop",{offset:1,stopColor:"#5A5B5B"})]}),(0,l.jsx)("clipPath",{id:"clip0_3707_25965",children:(0,l.jsx)("rect",{width:16,height:16,fill:"white"})})]})]})}function p(e){return(0,l.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("path",{d:"M0.799805 8.12017C0.799805 2.72017 4.3998 0.920174 7.9998 5.24017C11.5998 0.920174 15.1998 2.72017 15.1998 8.12017C15.1998 13.5202 11.5998 15.3202 7.9998 11.0002C4.3998 15.3202 0.799805 13.5202 0.799805 8.12017Z",fill:"url(#paint0_linear_2414_14062)"}),(0,l.jsx)("path",{d:"M7.99957 9.55188C8.79486 9.55188 9.43957 8.90717 9.43957 8.11188C9.43957 7.31658 8.79486 6.67188 7.99957 6.67188C7.20428 6.67188 6.55957 7.31658 6.55957 8.11188C6.55957 8.90717 7.20428 9.55188 7.99957 9.55188Z",fill:"white"}),(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:"paint0_linear_2414_14062",x1:.799805,y1:2.82812,x2:10.9014,y2:16.5716,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#C8C8C8"}),(0,l.jsx)("stop",{offset:1,stopColor:"#6F6F6F"})]})})]})}function x(e){return(0,l.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsxs)("g",{opacity:.7,children:[(0,l.jsx)("path",{d:"M3.05193 8.2291L0 4.73035C4.24297 -1.77709 10.2462 -0.18254 12.7175 1.42816C8.71112 1.30195 5.00927 5.44215 3.63393 7.58113L3.05193 8.2291Z",fill:"url(#paint0_linear_3707_25911)"}),(0,l.jsx)("path",{d:"M12.8974 7.82776L16 11.2696C11.757 17.7771 5.75375 16.1825 3.28249 14.5718C7.28888 14.698 11.0063 10.5456 12.3816 8.4066L12.8974 7.82776Z",fill:"url(#paint1_linear_3707_25911)"}),(0,l.jsx)("path",{d:"M12.3756 8.41858C13.8185 2.09936 9.20902 2.92046 6.70557 4.08295C7.53348 3.26818 9.67677 1.37706 12.7121 1.4232C14.0328 2.33733 15.8528 5.05629 12.3756 8.41858Z",fill:"url(#paint2_linear_3707_25911)"}),(0,l.jsx)("path",{d:"M3.6244 7.58142C2.18147 13.9006 6.79098 13.0795 9.29443 11.9171C8.46652 12.7318 6.32323 14.6229 3.28789 14.5768C1.96718 13.6627 0.14716 10.9437 3.6244 7.58142Z",fill:"url(#paint3_linear_3707_25911)"})]}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_3707_25911",x1:2.55322,y1:4.11455,x2:13.934,y2:4.04126,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"white"}),(0,l.jsx)("stop",{offset:1,stopColor:"#666666"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_3707_25911",x1:9.64124,y1:8.19953,x2:9.64124,y2:16,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"white"}),(0,l.jsx)("stop",{offset:1,stopColor:"#C7C7C7"})]}),(0,l.jsxs)("linearGradient",{id:"paint2_linear_3707_25911",x1:9.69134,y1:4.16767,x2:15.1195,y2:4.84629,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"white"}),(0,l.jsx)("stop",{offset:1,stopColor:"#666666"})]}),(0,l.jsxs)("linearGradient",{id:"paint3_linear_3707_25911",x1:5.45535,y1:7.58142,x2:5.45535,y2:14.5776,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"white"}),(0,l.jsx)("stop",{offset:1,stopColor:"#A4A4A4"})]})]})]})}function f(e){return(0,l.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("path",{d:"M6.97773 15.8917L3 14.01V3.71299C3 3.22409 3.21281 2.68144 3.55671 2.33572L4.47649 1.41113L8.49733 14.5639C8.78012 15.4822 7.84308 16.301 6.97773 15.8917Z",fill:"url(#paint0_linear_3711_25998)"}),(0,l.jsx)("path",{d:"M12.5231 5.62014L7.98619 0.603418C7.28187 -0.1754 6.07296 -0.20432 5.33258 0.539944L3.55736 2.33578C3.2185 2.72507 3.0249 3.13435 3.0249 3.62329V13.9203L12.1096 8.44084C13.1019 7.84234 13.3015 6.48083 12.5231 5.6201",fill:"url(#paint1_linear_3711_25998)"}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_3711_25998",x1:-4.22447,y1:3.68678,x2:8.49208,y2:15.787,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#FE9E58"}),(0,l.jsx)("stop",{offset:.396,stopColor:"#A1A2A2"}),(0,l.jsx)("stop",{offset:1,stopColor:"#A0A1A1"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_3711_25998",x1:10.2494,y1:3.59711,x2:-2.4671,y2:15.6973,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#A2A3A3"}),(0,l.jsx)("stop",{offset:1,stopColor:"#5D5E5E"})]})]})]})}function h(e){return(0,l.jsxs)("svg",{width:16,height:14,viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("path",{d:"M16 0.709802V13.2904L13.2568 14.0002V0L16 0.709802Z",fill:"url(#paint0_linear_3707_25953)"}),(0,l.jsx)("path",{d:"M7.09766 6.9727V12.935L4.35449 13.6448V6.26388L7.09766 6.9727Z",fill:"url(#paint1_linear_3707_25953)"}),(0,l.jsx)("path",{d:"M2.74316 1.45485V12.563L0 13.2718V0.745047L2.74316 1.45485Z",fill:"url(#paint2_linear_3707_25953)"}),(0,l.jsx)("path",{d:"M11.6279 11.8532L8.88477 11.1434V5.16344L11.6279 4.45364V11.8532Z",fill:"url(#paint3_linear_3707_25953)"}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_3707_25953",x1:16,y1:7.00012,x2:0,y2:7.00012,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#8B8C8C"}),(0,l.jsx)("stop",{offset:1,stopColor:"#7E7E7E"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_3707_25953",x1:16,y1:7.00012,x2:0,y2:7.00012,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#8B8C8C"}),(0,l.jsx)("stop",{offset:1,stopColor:"#7E7E7E"})]}),(0,l.jsxs)("linearGradient",{id:"paint2_linear_3707_25953",x1:16,y1:7.00012,x2:0,y2:7.00012,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#8B8C8C"}),(0,l.jsx)("stop",{offset:1,stopColor:"#7E7E7E"})]}),(0,l.jsxs)("linearGradient",{id:"paint3_linear_3707_25953",x1:16,y1:7.00012,x2:0,y2:7.00012,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#8B8C8C"}),(0,l.jsx)("stop",{offset:1,stopColor:"#7E7E7E"})]})]})]})}function C(e){return(0,l.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("path",{d:"M14.9446 6.54812C15.312 5.45824 15.1862 4.2651 14.5972 3.2741C13.7121 1.75355 11.934 0.972405 10.1972 1.34046C9.42448 0.48
11303 8.31445 -0.00760125 7.14987 8.93859e-05C5.37405 -0.00430526 3.79863 1.12402 3.25308 2.79069C2.113 3.02141 1.12767 3.72565 0.552055 4.72434C-0.339753 6.24049 -0.136007 8.15107 1.05418 9.45188C0.686772 10.5418 0.812582 11.7349 1.40155 12.7259C2.28668 14.2464 4.06473 15.0276 5.80158 14.6595C6.57426 15.5187 7.68429 16.0076 8.84887 15.9999C10.6258 16.0043 12.2012 14.8749 12.7479 13.2071C13.888 12.9764 14.8733 12.2721 15.4489 11.2735C16.3396 9.75621 16.1359 7.84674 14.9446 6.54812ZM8.84999 14.954C8.13854 14.9551 7.45048 14.709 6.90493 14.2596C6.92943 14.2464 6.97285 14.2234 7.00068 14.2058L10.2294 12.3655C10.3942 12.2732 10.4955 12.0997 10.4944 11.9118V7.42046L11.8594 8.19831C11.8739 8.2049 11.8839 8.21918 11.8861 8.23566V11.9557C11.8839 13.6092 10.5267 14.9496 8.84999 14.954ZM2.32231 12.2018C1.96603 11.5943 1.83799 10.8834 1.96046 10.1924C1.98385 10.2067 2.02615 10.2319 2.05621 10.2484L5.28498 12.0887C5.44865 12.1832 5.65128 12.1832 5.81494 12.0887L9.75627 9.84301V11.3976C9.75738 11.4141 9.74959 11.4295 9.73734 11.4394L6.47406 13.2994C5.02 14.1256 3.1629 13.6345 2.32231 12.2018ZM1.4717 5.2473C1.82686 4.63974 2.38577 4.17391 3.05268 3.9333C3.05268 3.96077 3.05157 4.00911 3.05157 4.04317V7.72369C3.05045 7.91046 3.15177 8.08405 3.31655 8.17633L7.25787 10.422L5.89288 11.1999C5.87952 11.2086 5.86171 11.2108 5.84723 11.2042L2.58284 9.34312C1.13323 8.51363 0.635557 6.68215 1.4717 5.2473ZM12.6833 7.82147L8.74199 5.5758L10.107 4.79905C10.1203 4.79026 10.1382 4.78806 10.1526 4.79465L13.417 6.65469C14.87 7.48308 15.3688 9.31785 14.5293 10.7516C14.1741 11.3592 13.6152 11.8239 12.9483 12.0656V8.27522C12.9494 8.08844 12.8481 7.91485 12.6833 7.82147ZM14.0416 5.80542C14.0182 5.79114 13.9759 5.76587 13.9459 5.74939L10.7171 3.90913C10.5534 3.81464 10.3508 3.81464 10.1871 3.90913L6.24582 6.1548V4.60019C6.2447 4.58371 6.2525 4.56833 6.26474 4.55844L9.52803 2.7006C10.9821 1.87331 12.8403 2.36551 13.6787 3.80036C14.0327 4.40573 14.1607 5.11546 14.0416 5.80542ZM5.5032 8.57625L4.13821 7.7984C4.12374 7.7918 4.11372 7.77752 4.11149 7.76104V4.04097C4.11261 2.38528 5.47425 1.04272 7.1521 1.04382C7.86243 1.04382 8.54938 1.28992 9.09493 1.73817C9.07043 1.75136 9.02701 1.77443 8.99918 1.79201L5.77041 3.63227C5.60563 3.72456 5.50431 3.89814 5.50543 4.08492L5.5032 8.57625ZM6.2447 6.99967L8.00048 5.99879L9.75627 6.99857V8.99923L8.00048 9.99902L6.2447 8.99923V6.99967Z",fill:"url(#paint0_linear_3788_9351)"}),(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:"paint0_linear_3788_9351",x1:4.5,y1:.5,x2:13,y2:13.5,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#999A9A"}),(0,l.jsx)("stop",{offset:1,stopColor:"#686969"})]})})]})}function m(e){return(0,l.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("path",{d:"M0 8.0018C0 5.41286 1.23017 3.10998 3.13822 1.64844C2.32813 2.63882 1.84615 3.88161 1.84615 5.23257C1.84615 8.46094 4.60156 11.0787 8 11.0787C9.69952 11.0787 11.0769 9.70132 11.0769 8.0018C11.0769 7.29267 10.8371 6.63882 10.4333 6.11719C12.2344 6.96815 13.47 8.73017 13.47 10.771C13.47 13.6412 11.021 15.9681 8 15.9681V16.0018C3.58173 16.0018 0 12.4201 0 8.0018Z",fill:"url(#paint0_linear_3707_25920)"}),(0,l.jsx)("path",{d:"M12.8632 14.3534C14.7701 12.8918 16.0002 10.5889 16.0002 8C16.0002 3.58173 12.4185 0 8.00023 0V0.0336538C4.97919 0.0336538 2.53027 2.36058 2.53027 5.23077C2.53027 7.27164 3.76825 9.03846 5.56994 9.88702C5.16489 9.36538 4.9233 8.71154 4.9233 8C4.9233 7.6875 4.96958 7.38462 5.05611 7.10096C5.12523 6.875 5.22018 6.66106 5.33676 6.45914C5.86922 5.54087 6.8626 4.92308 8.00023 4.92308C11.3987 4.92308 14.1541 7.54087 14.1541 10.7692C14.1541 12.1178 13.6715 13.363 12.8632 14.3534Z",fill:"url(#paint1_linear_3707_25920)"}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_3707_25920",x1:.00488286,y1:4.5,x2:12.5,y2:7.5,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#ADAEAE"}),(0,l.jsx)("stop",{offset:1,stopColor:"#595A5A"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_3707_25920",x1:17.0049,y1:10.5,x2:4.00488,y2:7,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#A5A5A6"}),(0,l.jsx)("stop",{offset:1,stopColor:"#565656"})]})]})]})}function g(e){return(0,l.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("g",{clipPath:"url(#clip0_3707_25917)",children:(0,l.jsx)("path",{d:"M13.7381 1.49779C11.7934 0.853789 10.1208 2.22046 9.73077 3.47112C9.73077 3.47112 8.32744 7.97779 7.72944 9.85779C7.4441 10.7551 6.73677 12.2231 5.40477 12.2231C4.3201 12.2231 3.76277 11.2051 3.52743 10.5985L1.9101 6.28712C1.72277 5.83312 1.91877 4.92712 2.6701 4.65579C3.47277 4.36779 3.98877 5.03912 4.1221 5.39579L6.13677 10.5558C6.61677 9.93712 6.9221 8.93045 7.12077 8.21779L5.7981 4.74446C5.17077 3.12379 3.51143 2.38646 1.97477 2.95312C0.730101 3.41179 -0.467899 4.98246 0.183435 6.95646L1.85277 11.2498
1C2.1061 11.9005 3.10677 14.0251 5.36944 14.0251C8.08477 14.0251 9.10344 11.7098 9.66877 9.87979C9.95144 8.96445 11.5014 4.01512 11.5014 4.01512C11.7268 3.27579 12.6414 3.06312 13.2134 3.24979C13.6168 3.38046 14.3454 3.93712 14.1101 4.79979C14.0661 4.95712 12.8301 8.93912 12.3741 10.1505C12.1361 10.7825 11.5328 12.1545 10.1581 11.9638C9.73944 12.8905 9.39144 13.4298 8.86477 13.9138C10.5794 14.7258 13.0781 13.9078 14.1301 10.7298C14.5208 9.54779 15.8928 5.28579 15.8928 5.28579C16.2914 3.97712 15.5801 2.10712 13.7381 1.49779Z",fill:"url(#paint0_linear_3707_25917)"})}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_3707_25917",x1:.506101,y1:3.75779,x2:17.4368,y2:11.5405,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{offset:.024,stopColor:"#BCBDBD"}),(0,l.jsx)("stop",{offset:.909,stopColor:"#6B6C6C"})]}),(0,l.jsx)("clipPath",{id:"clip0_3707_25917",children:(0,l.jsx)("rect",{width:16,height:16,fill:"white"})})]})]})}function j(e){return(0,l.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("g",{clipPath:"url(#clip0_3707_25969)",children:(0,l.jsx)("path",{d:"M8.43952 0.247391C8.72533 0.749204 9.00969 1.25247 9.29333 1.75647C9.30479 1.77662 9.32141 1.79337 9.34147 1.805C9.36153 1.81663 9.38432 1.82272 9.40751 1.82265H13.4453C13.5718 1.82265 13.6795 1.90265 13.7696 2.06046L14.8271 3.92954C14.9653 4.17463 15.0016 4.27717 14.8445 4.53826C14.6554 4.85098 14.4714 5.16662 14.2918 5.48371L14.0249 5.96225C13.9478 6.10479 13.8627 6.16588 13.9958 6.33461L15.9245 9.70694C16.0496 9.92585 16.0052 10.0662 15.8932 10.2669C15.5754 10.8378 15.2518 11.4044 14.9223 11.9687C14.8067 12.1666 14.6663 12.2415 14.4278 12.2378C13.8627 12.2262 13.2991 12.2306 12.7355 12.2495C12.7234 12.2501 12.7116 12.2537 12.7014 12.2601C12.6911 12.2665 12.6825 12.2753 12.6766 12.2858C12.0263 13.438 11.3705 14.5871 10.7093 15.7331C10.5864 15.9462 10.4329 15.9971 10.182 15.9978C9.45696 16 8.72606 16.0007 7.98789 15.9992C7.91916 15.9991 7.85171 15.9807 7.79233 15.9461C7.73295 15.9115 7.68375 15.8619 7.64971 15.8022L6.67882 14.1127C6.67317 14.1017 6.66449 14.0924 6.65381 14.0861C6.64312 14.0798 6.63086 14.0767 6.61845 14.0771H2.89632C2.68905 14.0989 2.49414 14.0764 2.31087 14.0102L1.14507 11.9956C1.11059 11.936 1.09232 11.8684 1.09206 11.7995C1.09181 11.7306 1.10958 11.6628 1.14361 11.6029L2.02142 10.0611C2.03392 10.0393 2.0405 10.0146 2.0405 9.98948C2.0405 9.96435 2.03392 9.93965 2.02142 9.91785C1.56417 9.1262 1.10962 8.33299 0.657801 7.53823L0.0832629 6.5237C-0.0330993 6.29824 -0.0425537 6.16297 0.152353 5.82188C0.49053 5.23062 0.826526 4.64008 1.16107 4.05026C1.25707 3.88008 1.38216 3.80736 1.58579 3.80663C2.21341 3.80399 2.84105 3.80374 3.46867 3.8059C3.48453 3.80578 3.50007 3.80148 3.51373 3.79344C3.52739 3.78539 3.53869 3.77389 3.54649 3.76009L5.58719 0.200118C5.61812 0.145961 5.66277 0.10091 5.71665 0.0695016C5.77053 0.0380933 5.83173 0.0214373 5.8941 0.021211C6.27518 0.0204837 6.65991 0.0212109 7.04536 0.0168473L7.78498 0.00012023C8.03298 -0.00206157 8.31152 0.0233928 8.43952 0.247391ZM5.94355 0.540479C5.93589 0.540474 5.92836 0.542488 5.92172 0.546318C5.91508 0.550148 5.90957 0.555659 5.90573 0.562297L3.8214 4.20954C3.81139 4.22672 3.79707 4.241 3.77985 4.25095C3.76263 4.2609 3.7431 4.26618 3.72322 4.26626H1.63888C1.59815 4.26626 1.58797 4.28444 1.60906 4.32008L5.83446 11.7062C5.85264 11.7367 5.84392 11.7513 5.80974 11.752L3.77703 11.7629C3.74732 11.7619 3.71792 11.7693 3.6922 11.7842C3.66648 11.7991 3.64548 11.821 3.63158 11.8473L2.67159 13.5273C2.63959 13.584 2.65632 13.6131 2.72105 13.6131L6.87809 13.6189C6.91154 13.6189 6.93627 13.6334 6.95372 13.6633L7.97407 15.448C8.00753 15.5069 8.04098 15.5076 8.07516 15.448L11.7158 9.07713L12.2853 8.07204C12.2888 8.06584 12.2938 8.06067 12.3 8.05707C12.3061 8.05347 12.3131 8.05157 12.3202 8.05157C12.3273 8.05157 12.3343 8.05347 12.3404 8.05707C12.3466 8.06067 12.3516 8.06584 12.3551 8.07204L13.3907 9.91203C13.3985 9.92579 13.4098 9.93723 13.4235 9.94516C13.4372 9.95309 13.4527 9.95722 13.4685 9.95712L15.478 9.94257C15.4831 9.94262 15.4882 9.9413 15.4927 9.93874C15.4971 9.93618 15.5009 9.93249 15.5034 9.92803C15.5059 9.92358 15.5072 9.91857 15.5072 9.91348C15.5072 9.90839 15.5059 9.90338 15.5034 9.89894L13.3944 6.20006C13.3868 6.1877 13.3828 6.17348 13.3828 6.15897C13.3828 6.14447 13.3868 6.13024 13.3944 6.11
1788L13.6075 5.74916L14.422 4.31135C14.4394 4.28153 14.4307 4.26626 14.3965 4.26626H5.96392C5.92101 4.26626 5.91082 4.24735 5.93264 4.21026L6.97554 2.38846C6.98335 2.37605 6.9875 2.36168 6.9875 2.34701C6.9875 2.33234 6.98335 2.31797 6.97554 2.30555L5.9821 0.563024C5.9783 0.556143 5.97271 0.550416 5.96593 0.546447C5.95914 0.542479 5.95141 0.540417 5.94355 0.540479ZM10.518 6.37315C10.5515 6.37315 10.5602 6.3877 10.5428 6.41679L9.93768 7.48223L8.03734 10.8167C8.03377 10.8232 8.0285 10.8286 8.02209 10.8323C8.01569 10.8361 8.00839 10.838 8.00098 10.8378C7.9936 10.8378 7.98636 10.8358 7.97998 10.8321C7.9736 10.8284 7.96831 10.8231 7.96462 10.8167L5.45338 6.42988C5.43883 6.40515 5.4461 6.39206 5.47374 6.39061L5.63083 6.38188L10.5195 6.37315H10.518Z",fill:"url(#paint0_linear_3707_25969)"})}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_3707_25969",x1:0,y1:0,x2:20,y2:18.909,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#99999A"}),(0,l.jsx)("stop",{offset:1,stopColor:"#848484"})]}),(0,l.jsx)("clipPath",{id:"clip0_3707_25969",children:(0,l.jsx)("rect",{width:16,height:16,fill:"white"})})]})]})}function _(e){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"none",...e,children:[(0,l.jsx)("rect",{width:16,height:16,rx:2,fill:"black"}),(0,l.jsx)("path",{d:"M15 13.5H13.6978L8.00513 4.5435L3.02515 12.3639H10.0961L10.819 13.5H1L8.00598 2.5L15 13.5Z",fill:"white"}),(0,l.jsx)("path",{d:"M12.9202 13.4991H11.6393L8.33325 8.23262H9.60303L12.9202 13.4991Z",fill:"white"}),(0,l.jsx)("path",{d:"M8.12561 11.1047H5.70654L6.91565 9.21981L8.12561 11.1047Z",fill:"white"}),(0,l.jsx)("path",{d:"M15 8.05095H12.5143L13.7567 6.12088L15 8.05095Z",fill:"white"})]})}function v(e){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"none",...e,children:[(0,l.jsx)("path",{d:"M15.3324 8.16333C15.3324 7.56 15.2824 7.12 15.1751 6.66333H8.14844V9.38533H12.2724C12.1898 10.0613 11.7411 11.08 10.7431 11.7647L10.7291 11.8553L12.9504 13.542L13.1038 13.5567C14.5184 12.278 15.3324 10.3953 15.3324 8.16333Z",fill:"#4285F4"}),(0,l.jsx)("path",{d:"M8.15018 15.3333C10.1702 15.3333 11.8662 14.6813 13.1055 13.5566L10.7442 11.7646C10.1122 12.1966 9.26418 12.498 8.15018 12.498C7.21115 12.498 6.29565 12.2041 5.53212 11.6575C4.7686 11.1109 4.19537 10.3389 3.89284 9.44995L3.80484 9.45728L1.49484 11.2093L1.46484 11.292C2.69551 13.6873 5.22351 15.3333 8.15018 15.3333Z",fill:"#34A853"}),(0,l.jsx)("path",{d:"M3.89268 9.45012C3.72871 8.98416 3.64376 8.49408 3.64135 8.00012C3.64135 7.49479 3.73335 7.00612 3.88202 6.55012L3.87802 6.45212L1.53935 4.67212L1.46268 4.70812C0.939877 5.72677 0.66681 6.85514 0.666016 8.00012C0.666016 9.18145 0.956682 10.2981 1.46402 11.2921L3.89268 9.45012Z",fill:"#FBBC05"}),(0,l.jsx)("path",{d:"M8.15018 3.50208C9.55551 3.50208 10.5028 4.09675 11.0435 4.59408L13.1548 2.57341C11.8582 1.39208 10.1702 0.666748 8.15018 0.666748C5.22284 0.666748 2.69551 2.31275 1.46484 4.70808L3.88484 6.55008C4.18997 5.66119 4.76496 4.88971 5.5296 4.34331C6.29424 3.7969 7.21037 3.50281 8.15018 3.50208Z",fill:"#EB4335"})]})}function w(e){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"none",...e,children:[(0,l.jsx)("path",{d:"M3.41587 12.7691L1.03125 13.3845V2.52295L3.41587 3.13833V12.7691Z",fill:"#2F57C2"}),(0,l.jsx)("path",{d:"M14.9393 13.4L12.5547 14.0154V1.87695L14.9393 2.49234V13.4Z",fill:"#78DED4"}),(0,l.jsx)("path",{d:"M7.20102 13.0922L4.81641 13.7076V7.30762L7.20102 7.923V13.0922Z",fill:"#3A8DDE"}),(0,l.jsx)("path",{d:"M8.75391 6.35391L11.1385 5.73853V12.1539L8.75391 11.5385V6.35391Z",fill:"#1ECAD3"})]})}function y(e){let s;switch(e){case"kling-2-5-turbo-pro":case"kling-o1":case"kling-3-0":s=(0,l.jsx)(x,{className:"shrink-0"});break;case"kling-2-1":case"kling-1-6":case"kling-1-5":case"kling-1-0":s=(0,l.jsx)(c,{className:"shrink-0"});break;case"vidu-2-0":case"vidu-q1":case"vidu-q3":s=(0,l.jsx)(g,{className:"shrink-0"});break;case"seedance-1-0":s=(0,l.jsx)(h,{className:"shrink-0"});break;case"hailuo-2-0":case"hailuo-2-3":s=(0,l.jsx)(u,{className:"shrink-0"});break;case"wan-2-5":case"wan-2-6":s=(0,l.jsx)(j,{className:"shrink-0"});break;case"pixverse-5-0":s=(0,l.jsx)(f,{className:"shrink-0"});break;case"veo-3-1":case"veo-3":s=(0,l.jsx)(m,{className:"scale-125"});break;case"sora-2":case"sora-2-pro":s=(0,l.jsx)(C,{className:"shrink-0"});break;case"happy-horse-1-0":s=(0,l.jsx)(p,{className:"shrink-0"});break;default:s=(0,l.jsx)(d,{})}return s}function L(e){let s;switch(e){case"nano-banana-ai":case"nano-banana-pro":case"nano-banana-2":s=(0,l.jsx)(v,{className:"shrink-0"});break;case"seedream-4-0":case"seedream-4-5":case"seedream-5-0":s=(0,l.jsx)(w,{className:"shrink-0"});break;case"gpt-image-1-5":case"gpt-image-2":case"gpt-image-ai":s=(0,l.jsx)(C,{className:"shrink-0"});break;case"flux-kontext-pro":case"flux-kontext-max":case"flux-1-schnell":case"flux-1-pro":case"flux-1-1-pro-ultra":case"flux-2":case"flux-2-pro":case"flux-2-max":s=(0,l.jsx)(_,{className:"shrink-0"});break;default:s=(0,l.jsx)(o.Z,{})}return s}function b(e){switch(e){case"4s":case"5s":case"6s":case"8s":case"10s":case"15s":case"25s":case"5/10s":case"6/10s":return"seconds";case"audio":return"audio";case"2k":case"1080p":case"720p":case"480p":return"resolution";case"standard":case"pro":case"fast":case"master":case"multiVersion":return"version";default:return}}var N=t(83184),k=t(90340),Z=t(63394),U=t(49323),M=t(21861),V=t(99492),S=t(59591);function B(e){let{name:s,description:t,icon:a,modelTags:i,infoTags:r,showModelTags:n=!0,showInfoTags:o=!0,className:d,showDescription:c=!0,styleVersion:u="ui-form"}=e;return(0,l.jsxs)("div",{className:(0,k.cn)("flex w-full flex-col gap-1 text-left",d),children:[(0,l.jsxs)("div",{className:"flex w-full items-center gap-1",children:[a,(0,l.jsx)("span",{className:"text-sm",children:s}),n&&(0,l.jsx)("div",{className:"flex items-center gap-1",children:null==i?void 0:i.map(e=>(0,l.jsx)("span",{className:(0,k.cn)("rounded-full border border-current px-1.5 text-xs text-current text-white","seconds"===e.styleVersion&&"text-[#DF7EF0]","audio"===e.styleVersion&&"text-[#B2FF00]","resolution"===e.styleVersion&&"text-[#7ED0F0]"),children:e.name},e.value))})]}),c&&(0,l.jsx)("div",{className:"mr-auto w-full truncate text-xs text-gray-color",children:t}),o&&(0,l.jsx)("div",{className:(0,k.cn)("flex items-center gap-1","ui-form"===u&&"flex-wrap items-start"),children:null==r?void 0:r.map(e=>(0,l.jsx)("span",{className:(0,k.cn)("flex h-[18px] items-center justify-center rounded-[2px] bg-light-gray-2 px-1.5 text-xs text-white","ver
1sion"===e.styleVersion&&"text-[#F1D577]"),children:e.name},e.value))})]})}function E(e){let{name:s,disabled:t=!1,options:i,onChange:r,className:n,afterSelect:o,filterSlot:d,isModelHidden:c,styleVersion:u="ui-form"}=e,{control:p,setValue:x}=(0,M.Gc)(),f=(0,M.qo)({control:p,name:s}),h=e=>{if(r){r(e);return}x(s,e),null==o||o(e)},C=i.find(e=>e.value===f),m=i.find(e=>!e.disabled&&!c(e)),g=C&&!c(C)?C:m;return(0,a.useEffect)(()=>{if(m&&(!C||c(C))){let e=m.value;if(r){r(e);return}x(s,e),null==o||o(e)}},[o,m,c,s,r,C,x]),(0,l.jsx)(V.Wi,{control:p,name:s,render:e=>{let{field:a}=e;return(0,l.jsxs)(V.xJ,{className:"space-y-0",children:[(0,l.jsx)(V.lX,{className:"sr-only",children:s}),(0,l.jsxs)(S.Ph,{onValueChange:h,value:a.value,disabled:t,children:[(0,l.jsx)(V.NI,{children:(0,l.jsx)(S.i4,{className:(0,k.cn)("my-0.5 h-[62px] cursor-pointer rounded-lg border border-light-gray-2 bg-light-gray-1 p-2 hover:bg-light-gray-2 focus:bg-light-gray-2 disabled:cursor-not-allowed",'[[data-field="select-model"]_&]:h-auto [[data-field="select-model"]_&]:border-none [[data-field="select-model"]_&]:bg-transparent [[data-field="select-model"]_&]:p-0',n,"integration-form"===u&&"h-[33px] w-fit rounded-xl border-none bg-white/10 px-2 py-1.5 hover:bg-white/10 focus:bg-white/10"),children:(0,l.jsx)(S.ki,{children:g?(0,l.jsx)(B,{...g,showModelTags:!1,showInfoTags:!1,showDescription:"integration-form"!==u}):null})})}),(0,l.jsxs)(S.Bw,{className:(0,k.cn)("thin-scrollbar flex max-h-[372px] space-y-0.5 border-light-gray-2 bg-light-gray-1 shadow-md","ui-form"===u&&"max-w-[324px]"),children:[d,null==i?void 0:i.map(e=>(0,l.jsx)(S.Ql,{value:e.value,disabled:e.disabled,indicatorClassName:"hidden",className:(0,k.cn)("my-1 h-[81px] cursor-pointer rounded-lg border border-light-gray-2 p-2 hover:border-main-color hover:bg-light-gray-1 focus:bg-light-gray-1 disabled:cursor-not-allowed",e.value===a.value&&"border-main-color bg-light-gray-1",c(e)?"hidden":"","ui-form"===u&&"h-auto min-h-[81px]"),children:(0,l.jsx)(B,{...e,styleVersion:u})},e.value))]})]}),(0,l.jsx)(V.zG,{})]})}})}function A(e){let{name:s,options:t,afterSelect:r,styleVersion:n="ui-form",defaultGenerateType:o="all",showGenerateTypeFilter:d=!0}=e,c=(0,i.useTranslations)("ui-models"),u=(0,Z.u)(),[p,x]=(0,a.useState)(o),[f,h]=(0,a.useState)("all"),C=[{name:c("image-filter.all"),value:"all"},{name:c("image-filter.image-to-image"),value:"image-to-image"},{name:c("image-filter.text-to-image"),value:"text-to-image"}],m=[{name:c("image-filter.all_platforms"),value:"all"},{name:"Nano Banana",value:"nano-banana"},{name:"Seedream",value:"seedream"},{name:"GPT Image",value:"gpt-image"},{name:"Flux Kontext",value:"flux-kontext"},{name:"Flux 1",value:"flux-1"},{name:"Flux 2",value:"flux-2"}];return(0,l.jsx)(E,{name:s,options:t,isModelHidden:e=>{var s;let t="all"===p||"text-to-image"===p||"image-to-image"===p&&N.AI_IMAGE_GENERATOR_ALLOW_IMAGE_UPLOAD_MODEL.includes(e.value),a="all"===f||(null==e?void 0:null===(s=e.imageModelPlatform)||void 0===s?void 0:s.includes(f));return!u&&e.value.toLowerCase().includes("flux")||!(t&&a)},styleVersion:n,filterSlot:(0,l.jsxs)("div",{className:(0,k.cn)("grid grid-cols-2 gap-1",d?"grid-cols-2":"grid-cols-1"),children:[d&&(0,l.jsx)(U.Z,{value:p,onChange:e=>x(e),options:C,styleType:"media-model-filter"}),(0,l.jsx)(U.Z,{value:f,onChange:e=>h(e),options:m.filter(e=>u||!e.value.toLowerCase().includes("flux")),styleType:"media-model-filter"})]}),afterSelect:r})}function O(e){let{name:s,options:t,afterSelect:r,styleVersion:n="ui-form"}=e,o=(0,i.useTranslations)("ui-models"),d=(0,Z.u)(),[c,u]=(0,a.useState)("all"),[p,x]=(0,a.useState)("all"),f=[{name:o("filter.all_tags"),value:"all"},{name:o("filter.audio"),value:"audio"}],h=[{name:o("filter.all_platforms"),value:"all"},{name:"Kling",value:"kling"},{name:"Wan",value:"wan"},{name:"Sora",value:"sora"},{name:"Veo",value:"veo"},{name:"Hailuo",value:"hailuo"},{name:"Seedance",value:"seedance"},{name:"Pixverse",value:"pixverse"},{name:"Vidu",value:"vidu"},{name:"Happy Horse",value:"happy-horse"}];return(0,l.jsx)(E,{name:s,options:t,isModelHidden:e=>{var s;let t="all"===c||(null===(s=e.modelTags)||void 0===s?void 0:s.some(e=>"audio"===e.value)),a="all"===p||e.videoModelPlatform===p;return!d&&e.value.toLowerCase().includes("wan")||!(t&&a)},styleVersion:n,filterSlot:(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:[(0,l.jsx)(U.Z,{value:c,onChange:e=>u(e),options:f,styleType:"media-model-filter"}),(0,l.jsx)(U.Z,{value:p,onChange:e=>x(e),options:h.filter(e=>d||!e.value.toLowerCase().includes("wan")),styleType:"media-model-filter"})]}),afterSelect:r})}},49323:function(e,s,t){t.d(s,{Z:function(){return n}});
1var a=t(67421),i=t(90340),r=t(59591);function n(e){let{value:s,onChange:t,disabled:n=!1,className:l,options:o,contentClassName:d,styleType:c}=e;return(0,a.jsxs)(r.Ph,{value:s,onValueChange:t,disabled:n,children:[(0,a.jsx)(r.i4,{className:(0,i.cn)("h-[45px] rounded border-[var(--c-light-gray2)] bg-[var(--c-bg)] p-3 text-sm","media-model-filter"===c&&"h-[33px] w-full rounded-lg border-none bg-[var(--c-light-gray2)] px-2 py-1.5 text-sm",l),children:(0,a.jsx)(r.ki,{})}),(0,a.jsx)(r.Bw,{className:(0,i.cn)("flex max-h-[350px] space-y-0.5 border-[var(--c-light-gray2)] bg-black shadow-md",d),children:o.map(e=>(0,a.jsx)(r.Ql,{value:e.value,indicatorClassName:"hidden",className:(0,i.cn)("h-9 cursor-pointer rounded px-3 py-2 hover:bg-[var(--c-light-gray)] hover:text-[var(--c-main)]",e.value===s&&"bg-[var(--c-light-gray)] text-[var(--c-main)]"),children:(0,a.jsxs)("span",{className:"flex items-center gap-1.5",children:[null==e?void 0:e.leftIcon,e.name,null==e?void 0:e.rightIcon]})},e.value))})]})}},59591:function(e,s,t){t.d(s,{Bw:function(){return C},DI:function(){return u},Ph:function(){return c},Ql:function(){return m},i4:function(){return x},ki:function(){return p}});var a=t(67421),i=t(23341),r=t(83692),n=t(29582),l=t(92826),o=t(77801),d=t(90340);let c=r.fC,u=r.ZA,p=r.B4,x=i.forwardRef((e,s)=>{let{iconClassName:t,icon:i,className:l,children:o,...c}=e;return(0,a.jsxs)(r.xz,{ref:s,className:(0,d.cn)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background placeholder:text-muted-foreground focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",l),...c,children:[o,i||(0,a.jsx)(r.JO,{asChild:!0,className:t,children:(0,a.jsx)(n.Z,{className:"h-4 w-4 opacity-50"})})]})});x.displayName=r.xz.displayName;let f=i.forwardRef((e,s)=>{let{className:t,...i}=e;return(0,a.jsx)(r.u_,{ref:s,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t),...i,children:(0,a.jsx)(l.Z,{className:"h-4 w-4"})})});f.displayName=r.u_.displayName;let h=i.forwardRef((e,s)=>{let{className:t,...i}=e;return(0,a.jsx)(r.$G,{ref:s,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t),...i,children:(0,a.jsx)(n.Z,{className:"h-4 w-4"})})});h.displayName=r.$G.displayName;let C=i.forwardRef((e,s)=>{let{className:t,children:i,position:n="popper",viewportClassName:l,...o}=e;return(0,a.jsx)(r.h_,{children:(0,a.jsxs)(r.VY,{ref:s,className:(0,d.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:n,...o,children:[(0,a.jsx)(f,{}),(0,a.jsx)(r.l_,{className:(0,d.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]",l),children:i}),(0,a.jsx)(h,{})]})})});C.displayName=r.VY.displayName,i.forwardRef((e,s)=>{let{className:t,...i}=e;return(0,a.jsx)(r.__,{ref:s,className:(0,d.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",t),...i})}).displayName=r.__.displayName;let m=i.forwardRef((e,s)=>{let{indicatorClassName:t,className:i,children:n,...l}=e;return(0,a.jsxs)(r.ck,{ref:s,className:(0,d.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",i),...l,children:[(0,a.jsx)("span",{className:(0,d.cn)("absolute left-2 flex h-3.5 w-3.5 items-center justify-center",t),children:(0,a.jsx)(r.wU,{children:(0,a.jsx)(o.Z,{className:"h-4 w-4"})})}),(0,a.jsx)(r.eT,{children:n})]})});m.displayName=r.ck.displayName,i.forwardRef((e,s)=>{let{className:t,...i}=e;return(0,a.jsx)(r.Z0,{ref:s,className:(0,d.cn)("-mx-1 my-1 h-px bg-muted",t),...i})}).displayName=r.Z0.displayName},27714:function(e,s,t){t.d(s,{g:function(){return n}});var a=t(67421),i=t(23341),r=t(90340);let n=i.forwardRef((e,s)=>{let{className:t,...i}=e;return(0,a.jsx)("textarea",{className:(0,r.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background placeholder:text-muted-foreground focus:placeholder:text-transparent focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50",t),ref:s,...i})});n.displayName="Textarea"},59523:function(e,s,t){t.d(s,{W3:function(){return n},cA:function(){return r},ct:function(){return l}});var a=t(98127);function i(e){if(e)try{return decodeURIComponent(e)}catch(s){return e}}function r(){let e=(0,a.useSearchParams)(),s=i(e.get("model")),t=i(e.get("version")),r=i(e.get("prompt")),n=i(e.get("ratio")),l=i(e.get("resolution")),o=i(e.get("duration")),d=i(e.get("imageUrl")),c=i(e.get("endImageUrl")),u=i(e.get("isPublic")),p=i(e.get("isTranslate")),x=i(e.get("enableEndFrame")),f=i(e.get("enableAudio"));return{model:s,version:t,prompt:r,ratio:n,resolution:l,duration:o,imageUrl:d,endImageUrl:c,isPublic:u?"true"===u:void 0,isTranslate:p?"true"===p:void 0,enableEndFrame:x?"true"===x:void 0,enableAudio:f?"true"===f:void 0,hasParams:!!(s||r||d)}}function n(){let e=(0,a.useSearchParams)(),s=i(e.get("model")),t=i(e.get("version")),r=i(e.get("prompt")),n=i(e.get("ratio")),l=i(e.get("resolution")),o=i(e.get("imageUrl")),d=i(e.get("imageUrlList")),c=i(e.get("isPublic")),u=i(e.get("isTranslate")),p=d?d.split(",").filter(Boolean):[];return{model:s,version:t,prompt:r,ratio:n,resolution:l,imageUrl:o,imageUrlList:p.length>0?p:void 0,isPublic:c?"true"===c:void 0,isTranslate:u?"true"===u:void 0,hasParams:!!(s||r||o||d)}}function l(){let e=(0,a.useSearchParams)(),s=i(e.get("model")),t=i(e.get("description")),r=i(e.get("description_input")),n=i(e.get("lyrics")),l=i(e.get("lyrics_input")),o=i(e.get("musicStyle")),d=i(e.get("musicStyle_input")),c=i(e.get("musicTitle")),u=i(e.get("custom")),p=i(e.get("instrumental")),x=i(e.get("isPublic"));return{model:s,description:t,descriptionInput:r,lyrics:n,lyricsInput:l,musicStyle:o,musicStyleInput:d,musicTitle:c,custom:u?"true"===u:void 0,instrumental:p?"true"===p:void 0,isPublic:x?"true"===x:void 0,hasParams:!!(s||t||r||n||l||o||d||
1c)}}},70555:function(e,s,t){t.d(s,{$K:function(){return l},WJ:function(){return n},co:function(){return i},wB:function(){return r}});var a=t(75247);async function i(e){return await (0,a.LJ)("/image/imageToPrompt",{method:"POST",body:JSON.stringify(e)})}async function r(e){return await (0,a.LJ)("/video/optimizePrompt",{method:"POST",body:JSON.stringify(e)})}async function n(e){return await (0,a.LJ)("/image/optimizePrompt",{method:"POST",body:JSON.stringify(e)})}async function l(e){return await (0,a.LJ)("/ai/handle",{method:"POST",body:JSON.stringify(e)})}},47673:function(e,s,t){var a=t(99031),i=t(84836),r=t(44364);let n="".concat(r._E,"-local-redirectUrl"),l=(0,a.Ue)((0,i.tJ)((e,s)=>{var t;return{localRedirectUrl:(null===(t=s())||void 0===t?void 0:t.localRedirectUrl)||"",setLocalRedirectUrl:s=>e({localRedirectUrl:s})}},{name:n,storage:(0,i.FL)(()=>localStorage)}));s.Z=l}}]);
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.