"use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[306,4642],{1323:function(e,n,t){t.d(n,{m:function(){return a}});var o=t(68048),r=t(50361),i=t(50111);const a=({sourceType:e,className:n})=>e===r.Y1.NOTEBOOK?(0,i.Y)(o.NotebookIcon,{className:n}):e===r.Y1.LOCAL?(0,i.Y)(o.FileCodeIcon,{className:n}):e===r.Y1.PROJECT?(0,i.Y)(o.FolderBranchIcon,{className:n}):e===r.Y1.JOB?(0,i.Y)(o.WorkflowsIcon,{className:n}):null},4877:function(e){e.exports=function(e,n,t,o,r,i,a,s){if(!e){var l;if(void 0===n)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[t,o,r,i,a,s],u=0;(l=new Error(n.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},7450:function(e,n,t){t.d(n,{sA:function(){return o.sA},tz:function(){return o.tz},zR:function(){return o.zR}});var o=t(69526);t(68558)},9650:function(e,n,t){t.d(n,{Ld:function(){return r.L},ad:function(){return o.a}});t(24507);var o=t(26785),r=t(48128)},11473:function(e,n,t){t.d(n,{N9:function(){return p},NW:function(){return u},OT:function(){return l},Yc:function(){return d}});var o=t(31014),r=t(37504),i=t.n(r),a=t(75826);let s=null;const l=()=>s||(s=new a.Converter,s.setFlavor("github"),s),c={allowedTags:["h1","h2","h3","h4","h5","h6","h7","h8","blockquote","p","a","ul","ol","nl","li","ins","b","i","strong","em","strike","code","hr","br","div","table","thead","tbody","tr","th","td","pre","del","sup","sub","dl","dt","dd","kbd","q","samp","samp","var","hr","rt","rp","summary","iframe","img","caption","figure"],allowedAttributes:{a:["href","name","target"],img:["src","longdesc"],div:["itemscope","itemtype"]}},u=e=>i()(e,c),d=e=>e.replace(new RegExp("<a","g"),'<a target="_blank"'),p=()=>(0,o.useCallback)((e=>{const n=l().makeHtml(e);return u(n)}),[])},15164:function(e,n,t){t.d(n,{t:function(){return u}});var o=t(89555),r=t(31014),i=t(76010),a=t(16934),s=t(1323),l=t(50111);var c={name:"1gz2b5f",styles:"overflow:hidden;text-overflow:ellipsis"};const u=r.memo((({value:e})=>{var n;const{theme:t}=(0,a.u)();if(!e)return(0,l.Y)(l.FK,{children:"-"});const r=(null===(n=e[i.A.sourceTypeTag])||void 0===n?void 0:n.value)||"",u=i.A.renderSource(e||{},void 0,void 0);return u?(0,l.FD)("div",{css:(0,o.AH)({display:"flex",gap:t.spacing.xs,alignItems:"center"},""),children:[(0,l.Y)(s.m,{sourceType:r,css:(0,o.AH)({color:t.colors.textSecondary},"")}),(0,l.Y)("span",{css:c,children:u})]}):(0,l.Y)(l.FK,{children:"-"})}))},26785:function(e,n,t){t.d(n,{a:function(){return s}});t(31014);var o=t(16934),r=t(48443),i=t(48128),a=t(50111);function s({buttonProps:e,componentId:n,copyText:t,copyTooltip:s,isInsideInputGroup:l=!1,onCopy:c,tooltipProps:u}){const{actionIcon:d,copy:p,handleTooltipOpenChange:g,tooltipOpen:E,tooltipMessage:f}=(0,i.L)(t,s,c),m=(0,a.Y)(o.B,{"aria-label":f,componentId:null!==n&&void 0!==n?n:"codegen_web-shared_src_copy_copyactionbutton.tsx_17",icon:d,onClick:p,size:"small",...e}),M=(0,a.Y)(o.B,{"aria-label":f,componentId:null!==n&&void 0!==n?n:"codegen_web-shared_src_copy_copyactionbutton.tsx_17",onClick:p,...e,children:d});return(0,a.Y)(r.T,{componentId:n?`${n}-tooltip`:"codegen_web-shared_src_copy_copyactionbutton.tsx_17-tooltip",content:f,onOpenChange:g,open:E,...u,children:l?M:m})}},32614:function(e,n,t){t.d(n,{A:function(){return o}});class o{static getStoreForComponent(e,n){return new r([e,n].join("-"),"localStorage")}static getSessionScopedStoreForComponent(e,n){return new r([e,n].join("-"),"sessionStorage")}}o.version="1.1";class r{constructor(e,n){this.scope=void 0,this.storageObj=void 0,this.scope=e,this.storageObj="localStorage"===n?window.localStorage:window.sessionStorage}loadComponentState(){const e=this.getItem(r.reactComponentStateKey);return e?JSON.parse(e):{}}saveComponentState(e){const n="function"===typeof e.toJSON?e.toJSON():e;this.setItem(r.reactComponentStateKey,JSON.stringify(n))}withScopePrefix(e){return["MLflowLocalStorage",o.version,this.scope,e].join("-")}setItem(e,n){this.storageObj.setItem(this.withScopePrefix(e),n)}getItem(e){return this.storageObj.getItem(this.withScopePrefix(e))}}r.reactComponentStateKey="ReactComponentState"},56412:function(e,n,t){t.d(n,{i:function(){return c}});var o=t(31014),r=t(88443),i=t(68048),a=t(16934),s=t(50111);var l={name:"1739oy8",styles:"z-index:1"};const c=({copyText:e,showLabel:n=!0,componentId:t,...c})=>{const[u,d]=(0,o.useState)(!1);return(0,s.Y)(i.LegacyTooltip,{title:(0,s.Y)(r.A,{id:"X+boXI",defaultMessage:"Copied"}),dangerouslySetAntdProps:{visible:u},children:(0,s.Y)(a.B,{componentId:null!==t&&void 0!==t?t:"mlflow.shared.copy_button",type:"primary",onClick:()=>{navigator.clipboard.writeText(e),d(!0),setTimeout((()=>{d(!1)}),3e3)},onMouseLeave:()=>{d(!1)},css:l,children:n?(0,s.Y)(r.A,{id:"1Iq+NW",defaultMessage:"Copy"}):void 0,...c})})}},72314:function(e,n,t){t.d(n,{L:function(){return i}});var o=t(74823);const r=o.J1`
  query MlflowGetExperimentQuery($input: MlflowGetExperimentInput!) @component(name: "MLflow.ExperimentRunTracking") {
    mlflowGetExperiment(input: $input) {
      apiError {
        code
        message
      }
      experiment {
        artifactLocation
        creationTime
        experimentId
        lastUpdateTime
        lifecycleStage
        name
        tags {
          key
          value
        }
      }
    }
  }
`,i=({experimentId:e,options:n={}})=>{var t;const{data:i,loading:a,error:s,refetch:l}=(0,o.IT)(r,{variables:{input:{experimentId:e}},skip:!e,...n});return{loading:a,data:null===i||void 0===i||null===(t=i.mlflowGetExperiment)||void 0===t?void 0:t.experiment,refetch:l,apolloError:s,apiError:(()=>{var e;return null===i||void 0===i||null===(e=i.mlflowGetExperiment)||void 0===e?void 0:e.apiError})()}}},83667:function(e,n,t){t.d(n,{$g:function(){return d},BH:function(){return a},UI:function(){return c},bf:function(){return u},kk:function(){return i},q5:function(){return l},uk:function(){return s}});var o=t(25866),r=t(69526);const i="mlflow.experimentKind",a=e=>{var n;return null===e||void 0===e||null===(n=e.find((e=>e.key===i)))||void 0===n?void 0:n.value},s=e=>e===o.Gk.GENAI_DEVELOPMENT_INFERRED||e===o.Gk.CUSTOM_MODEL_DEVELOPMENT_INFERRED||e===o.Gk.NO_INFERRED_TYPE||e===o.Gk.GENAI_DEVELOPMENT||e===o.Gk.CUSTOM_MODEL_DEVELOPMENT||e===o.Gk.EMPTY,l=e=>e===o.Gk.GENAI_DEVELOPMENT_INFERRED?o.Gk.GENAI_DEVELOPMENT:e===o.Gk.CUSTOM_MODEL_DEVELOPMENT_INFERRED?o.Gk.CUSTOM_MODEL_DEVELOPMENT:e,c={[o.Gk.GENAI_DEVELOPMENT]:(0,r.zR)({id:"PewjIJ",defaultMessage:"GenAI apps & agents"}),[o.Gk.CUSTOM_MODEL_DEVELOPMENT]:(0,r.zR)({id:"nF10K1",defaultMessage:"Machine learning"}),[o.Gk.GENAI_DEVELOPMENT_INFERRED]:(0,r.zR)({id:"ACNZd9",defaultMessage:"GenAI apps & agents"}),[o.Gk.CUSTOM_MODEL_DEVELOPMENT_INFERRED]:(0,r.zR)({id:"NUjE6C",defaultMessage:"Machine learning"}),[o.Gk.NO_INFERRED_TYPE]:(0,r.zR)({id:"qr7dhT",defaultMessage:"None"}),[o.Gk.FINETUNING]:(0,r.zR)({id:"G4x6G7",defaultMessage:"Finetuning"}),[o.Gk.REGRESSION]:(0,r.zR)({id:"OWfx/j",defaultMessage:"Regression"}),[o.Gk.CLASSIFICATION]:(0,r.zR)({id:"P/Uvf4",defaultMessage:"Classification"}),[o.Gk.FORECASTING]:(0,r.zR)({id:"qDiJI2",defaultMessage:"Forecasting"}),[o.Gk.AUTOML]:(0,r.zR)({id:"wZtuCR",defaultMessage:"AutoML"}),[o.Gk.EMPTY]:(0,r.zR)({id:"0z0lH2",defaultMessage:"None"})},u={[o.Gk.GENAI_DEVELOPMENT]:(0,r.zR)({id:"Fg/zU/",defaultMessage:"GenAI apps & agents"}),[o.Gk.CUSTOM_MODEL_DEVELOPMENT]:(0,r.zR)({id:"T/46y0",defaultMessage:"Machine learning"}),[o.Gk.GENAI_DEVELOPMENT_INFERRED]:(0,r.zR)({id:"CPO2ro",defaultMessage:"GenAI apps & agents"}),[o.Gk.CUSTOM_MODEL_DEVELOPMENT_INFERRED]:(0,r.zR)({id:"KYJxmN",defaultMessage:"Machine learning"}),[o.Gk.NO_INFERRED_TYPE]:(0,r.zR)({id:"jTqRO+",defaultMessage:"None"}),[o.Gk.FINETUNING]:(0,r.zR)({id:"61P6Da",defaultMessage:"finetuning"}),[o.Gk.REGRESSION]:(0,r.zR)({id:"W60/kq",defaultMessage:"regression"}),[o.Gk.CLASSIFICATION]:(0,r.zR)({id:"KwAeyt",defaultMessage:"classification"}),[o.Gk.FORECASTING]:(0,r.zR)({id:"VwxvII",defaultMessage:"forecasting"}),[o.Gk.AUTOML]:(0,r.zR)({id:"lFnpMi",defaultMessage:"AutoML"}),[o.Gk.EMPTY]:(0,r.zR)({id:"+khKtf",defaultMessage:"None"})},d=()=>[o.Gk.GENAI_DEVELOPMENT,o.Gk.CUSTOM_MODEL_DEVELOPMENT]},90355:function(e,n,t){t.r(n);var o=t(31014),r=t(4877),i=t.n(r),a=t(48624),s=t(83285),l=t(50111);n.default=()=>{const{experimentId:e}=(0,a.g)();i()(e,"Experiment ID must be defined");const n=(0,o.useMemo)((()=>[e]),[e]);return(0,l.Y)(s.$,{experimentIds:n})}},95451:function(e,n,t){t.d(n,{z7:function(){return _},VE:function(){return h}});var o=t(17729),r=t(67122),i=t(82328),a=t(67699),s=t(42346),l=t(74702),c=t(34939),u=t(72670),d=t(2844),p=t(50211),g=t(9133),E=t(50111),f=(t(31014),t(9650)),m=t(68048),M=t(16934);var N={name:"1739oy8",styles:"z-index:1"};function I({tooltipMessage:e,...n}){const t=N;return(0,E.Y)(m.LegacyTooltip,{title:e,children:(0,E.Y)(M.B,{componentId:"codegen_web-shared_src_snippet_actions_snippetactionbutton.tsx_33",...n,css:t})})}function h({copyText:e,onClick:n,...t}){const{actionIcon:o,tooltipMessage:r,copy:i}=(0,f.Ld)(e);return(0,E.Y)(I,{tooltipMessage:r,icon:o,onClick:e=>{i(),null===n||void 0===n||n(e)},...t})}o.A.registerLanguage("sql",u.A),o.A.registerLanguage("java",i.A),o.A.registerLanguage("python",l.A),o.A.registerLanguage("go",r.A),o.A.registerLanguage("javascript",a.A),o.A.registerLanguage("yaml",c.A),o.A.registerLanguage("json",s.A);const T="24px",O={light:p.A,duotoneDark:d.A};function _({theme:e="light",language:n,actions:t,style:r,children:i,showLineNumbers:a,lineNumberStyle:s,wrapLongLines:l,wrapLines:c,PreTag:u}){const d={border:"none",borderRadius:0,margin:0,padding:T,...r};return(0,E.Y)(o.A,{showLineNumbers:a,lineNumberStyle:s,language:n,style:O[e],customStyle:d,codeTagProps:{style:(0,g.pick)(r,"backgroundColor")},wrapLongLines:l,wrapLines:c,PreTag:u,children:i})}}}]);
//# sourceMappingURL=306.0ae71cfc.chunk.js.map