"use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[4642],{1323:function(e,o,t){t.d(o,{m:function(){return i}});var n=t(68048),r=t(50361),s=t(50111);const i=({sourceType:e,className:o})=>e===r.Y1.NOTEBOOK?(0,s.Y)(n.NotebookIcon,{className:o}):e===r.Y1.LOCAL?(0,s.Y)(n.FileCodeIcon,{className:o}):e===r.Y1.PROJECT?(0,s.Y)(n.FolderBranchIcon,{className:o}):e===r.Y1.JOB?(0,s.Y)(n.WorkflowsIcon,{className:o}):null},7450:function(e,o,t){t.d(o,{sA:function(){return n.sA},tz:function(){return n.tz},zR:function(){return n.zR}});var n=t(69526);t(68558)},9650:function(e,o,t){t.d(o,{Ld:function(){return r.L},ad:function(){return n.a}});t(24507);var n=t(26785),r=t(48128)},15164:function(e,o,t){t.d(o,{t:function(){return u}});var n=t(89555),r=t(31014),s=t(76010),i=t(16934),c=t(1323),a=t(50111);var l={name:"1gz2b5f",styles:"overflow:hidden;text-overflow:ellipsis"};const u=r.memo((({value:e})=>{var o;const{theme:t}=(0,i.u)();if(!e)return(0,a.Y)(a.FK,{children:"-"});const r=(null===(o=e[s.A.sourceTypeTag])||void 0===o?void 0:o.value)||"",u=s.A.renderSource(e||{},void 0,void 0);return u?(0,a.FD)("div",{css:(0,n.AH)({display:"flex",gap:t.spacing.xs,alignItems:"center"},""),children:[(0,a.Y)(c.m,{sourceType:r,css:(0,n.AH)({color:t.colors.textSecondary},"")}),(0,a.Y)("span",{css:l,children:u})]}):(0,a.Y)(a.FK,{children:"-"})}))},26785:function(e,o,t){t.d(o,{a:function(){return c}});t(31014);var n=t(16934),r=t(48443),s=t(48128),i=t(50111);function c({buttonProps:e,componentId:o,copyText:t,copyTooltip:c,isInsideInputGroup:a=!1,onCopy:l,tooltipProps:u}){const{actionIcon:p,copy:d,handleTooltipOpenChange:g,tooltipOpen:m,tooltipMessage:f}=(0,s.L)(t,c,l),h=(0,i.Y)(n.B,{"aria-label":f,componentId:null!==o&&void 0!==o?o:"codegen_web-shared_src_copy_copyactionbutton.tsx_17",icon:p,onClick:d,size:"small",...e}),y=(0,i.Y)(n.B,{"aria-label":f,componentId:null!==o&&void 0!==o?o:"codegen_web-shared_src_copy_copyactionbutton.tsx_17",onClick:d,...e,children:p});return(0,i.Y)(r.T,{componentId:o?`${o}-tooltip`:"codegen_web-shared_src_copy_copyactionbutton.tsx_17-tooltip",content:f,onOpenChange:g,open:m,...u,children:a?y:h})}},32614:function(e,o,t){t.d(o,{A:function(){return n}});class n{static getStoreForComponent(e,o){return new r([e,o].join("-"),"localStorage")}static getSessionScopedStoreForComponent(e,o){return new r([e,o].join("-"),"sessionStorage")}}n.version="1.1";class r{constructor(e,o){this.scope=void 0,this.storageObj=void 0,this.scope=e,this.storageObj="localStorage"===o?window.localStorage:window.sessionStorage}loadComponentState(){const e=this.getItem(r.reactComponentStateKey);return e?JSON.parse(e):{}}saveComponentState(e){const o="function"===typeof e.toJSON?e.toJSON():e;this.setItem(r.reactComponentStateKey,JSON.stringify(o))}withScopePrefix(e){return["MLflowLocalStorage",n.version,this.scope,e].join("-")}setItem(e,o){this.storageObj.setItem(this.withScopePrefix(e),o)}getItem(e){return this.storageObj.getItem(this.withScopePrefix(e))}}r.reactComponentStateKey="ReactComponentState"},90355:function(e,o,t){t.r(o);var n=t(31014),r=t(4877),s=t.n(r),i=t(48624),c=t(83285),a=t(50111);o.default=()=>{const{experimentId:e}=(0,i.g)();s()(e,"Experiment ID must be defined");const o=(0,n.useMemo)((()=>[e]),[e]);return(0,a.Y)(c.$,{experimentIds:o})}},95451:function(e,o,t){t.d(o,{z7:function(){return _},VE:function(){return S}});var n=t(17729),r=t(67122),s=t(82328),i=t(67699),c=t(42346),a=t(74702),l=t(34939),u=t(72670),p=t(2844),d=t(50211),g=t(9133),m=t(50111),f=(t(31014),t(9650)),h=t(68048),y=t(16934);var v={name:"1739oy8",styles:"z-index:1"};function w({tooltipMessage:e,...o}){const t=v;return(0,m.Y)(h.LegacyTooltip,{title:e,children:(0,m.Y)(y.B,{componentId:"codegen_web-shared_src_snippet_actions_snippetactionbutton.tsx_33",...o,css:t})})}function S({copyText:e,onClick:o,...t}){const{actionIcon:n,tooltipMessage:r,copy:s}=(0,f.Ld)(e);return(0,m.Y)(w,{tooltipMessage:r,icon:n,onClick:e=>{s(),null===o||void 0===o||o(e)},...t})}n.A.registerLanguage("sql",u.A),n.A.registerLanguage("java",s.A),n.A.registerLanguage("python",a.A),n.A.registerLanguage("go",r.A),n.A.registerLanguage("javascript",i.A),n.A.registerLanguage("yaml",l.A),n.A.registerLanguage("json",c.A);const b="24px",A={light:d.A,duotoneDark:p.A};function _({theme:e="light",language:o,actions:t,style:r,children:s,showLineNumbers:i,lineNumberStyle:c,wrapLongLines:a,wrapLines:l,PreTag:u}){const p={border:"none",borderRadius:0,margin:0,padding:b,...r};return(0,m.Y)(n.A,{showLineNumbers:i,lineNumberStyle:c,language:o,style:A[e],customStyle:p,codeTagProps:{style:(0,g.pick)(r,"backgroundColor")},wrapLongLines:a,wrapLines:l,PreTag:u,children:s})}}}]);
//# sourceMappingURL=4642.11d700c0.chunk.js.map