1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8592],{18726:(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var n=o(49932),s=o(37876);let l=(0,n.A)((0,s.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},65949:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>f});var n=o(37876),s=o(59456),l=o(54314),i=o(74560),a=o(14232);o(41758);var r=o(6907),c=o(58582),p=o(99434),x=o(71733),d=o(55527),h=o(54227),m=o(37830),u=o(26088),j=o(80006);let g=()=>{let e=(0,r.u)(),[t,o]=(0,a.useState)(!1),[s,l]=(0,a.useState)(!1);return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(h.A,{sx:{height:"calc(100vh - 80px)",overflow:"auto"},children:[(0,n.jsx)(h.A,{sx:{display:"flex",alignItems:"center",flexDirection:"column",maxWidth:"800px",margin:"0 auto",padding:"20px",height:"100%"},children:(0,n.jsxs)(c.A,{component:"form",sx:{p:"16px 16px 10px 16px",width:"100%",marginTop:"32px",backgroundColor:"".concat(e.palette.promptsColorPalette.black300),mt:"auto"},children:[(0,n.jsx)(p.Ay,{multiline:!0,maxRows:6,sx:{width:"100%",fontSize:"14px",lineHeight:"normal",fontWeight:500,color:e.palette.promptsColorPalette.newTextColor," textarea":{color:e.palette.promptsColorPalette.newTextColor,"&::placeholder":{color:e.palette.promptsColorPalette.newTextColor,opacity:1}}},placeholder:"Ask anything..."}),(0,n.jsxs)(h.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,n.jsx)(m.A,{icon:"CreateImageIcon"}),(0,n.jsxs)(h.A,{sx:{display:"flex",alignItems:"center",gap:"3px"},children:[(0,n.jsx)(CommonTooltip,{title:"Attachments",children:(0,n.jsx)(x.A,{disableRipple:!0,sx:{"&:hover":{backgroundColor:"transparent"}},onClick:()=>l(!0),children:(0,n.jsx)(m.A,{icon:"openImageIcon"})})}),(0,n.jsx)(CommonTooltip,{title:"Settings",children:(0,n.jsx)(x.A,{disableRipple:!0,sx:{"&:hover":{backgroundColor:"transparent"}},onClick:()=>setModalSettingOpen(!0),children:(0,n.jsx)(m.A,{icon:"settingIcon"})})}),(0,n.jsx)(CommonTooltip,{title:"Compare models",children:(0,n.jsx)(x.A,{disableRipple:!0,sx:{"&:hover":{backgroundColor:"transparent"}},children:(0,n.jsx)(m.A,{icon:"multipleViewIcon"})})}),(0,n.jsx)(x.A,{className:"btn-custom btn-blue no-space btn-26 common-shadow-one",sx:{svg:{width:"16px"}},children:(0,n.jsx)(d.A,{color:"#fff",sx:{width:"16px",height:"16px"}})})]})]})]})}),(0,n.jsx)(u.A,{modalOpen:t,setModalOpen:o}),(0,n.jsx)(j.A,{modalOpen:s,setModalOpen:l})]})})},A=()=>(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(g,{})});A.acl={action:"read",subject:s.eu.ALL_PROMPT_ENG},A.getLayout=e=>(0,n.jsx)(l.A,{customLayout:"vertical",isAiNode:!1,isSidebar:!1,isFooter:!1,children:(0,n.jsx)(i.S,{children:e})});let f=A},79203:(e,t,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/custom-actions/agent-chat",function(){return o(65949)}])},80006:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=o(37876),s=o(14232),l=o(84812),i=o(54227),a=o(64613),r=o(61575);let c=e=>{let{imageData:t,onFileSave:o,aspectRatio:c,handleClose:p,open:x,type:d}=e,{onSelectFile:h,croppedImageData:m,getCropperContent:u}=(0,a.A)({aspectRatio:c||36/19,type:d});(0,s.useEffect)(()=>{t&&h(t)},[t]),(0,s.useEffect)(()=>{t&&h(t)},[t]);let j=(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(i.A,{children:[(0,n.jsx)(i.A,{sx:{"& .advanced-cropper":{"& .advanced-cropper-wrapper__fade ":{"& img":{maxWidth:"568px",maxHeight:"568px",objectFit:"contain"}}}},children:u()}),(0,n.jsx)(i.A,{display:"flex",justifyContent:"center",pt:3,children:(0,n.jsx)(l.A,{onClick:()=>{m&&o({acceptedFiles:[m],isCropped:!0}),p()},variant:"contained",color:"inherit",className:"btn-custom btn-blue common-shadow-one minh32 br6",sx:{fontSize:"14px",fontWeight:"600",lineHeight:"24px",borderRadius:"6px",minWidth:"110px"},children:"Upload"})})]})});return(0,n.jsx)(n.Fragment,{children:x&&(0,n.jsx)(r.A,{handleClose:p,open:x,title:"Upload Image",content:j,size:"sm",titlePosition:"left",manageNewUi:!0,maxWidth:"600px"})})}}},e=>{e.O(0,[9166,5409,636,6593,8792],()=>e(e.s=79203)),_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.