arize-phoenix 11.2.2__py3-none-any.whl → 11.4.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of arize-phoenix might be problematic. Click here for more details.
- {arize_phoenix-11.2.2.dist-info → arize_phoenix-11.4.0.dist-info}/METADATA +4 -1
- {arize_phoenix-11.2.2.dist-info → arize_phoenix-11.4.0.dist-info}/RECORD +28 -27
- phoenix/config.py +14 -1
- phoenix/db/facilitator.py +16 -24
- phoenix/server/api/context.py +2 -0
- phoenix/server/api/dataloaders/__init__.py +2 -0
- phoenix/server/api/dataloaders/annotation_configs_by_project.py +31 -0
- phoenix/server/api/routers/v1/experiment_evaluations.py +3 -2
- phoenix/server/api/types/Project.py +3 -12
- phoenix/server/api/types/User.py +10 -0
- phoenix/server/app.py +7 -0
- phoenix/server/cost_tracking/model_cost_manifest.json +2343 -587
- phoenix/server/main.py +3 -0
- phoenix/server/static/.vite/manifest.json +44 -44
- phoenix/server/static/assets/{components-CyFfAs46.js → components-CVcMbu2U.js} +234 -233
- phoenix/server/static/assets/{index-DCWmskPs.js → index-Dz7I-Hpn.js} +2 -2
- phoenix/server/static/assets/{pages-BzaS10EN.js → pages-QK2o2V7x.js} +440 -428
- phoenix/server/static/assets/{vendor-arizeai-CLX44PFA.js → vendor-arizeai-BwMsgSAG.js} +2 -2
- phoenix/server/static/assets/{vendor-codemirror-Du3XyJnB.js → vendor-codemirror-BwSDEu2g.js} +1 -1
- phoenix/server/static/assets/{vendor-DqQvHbPa.js → vendor-pg5m6BWE.js} +1 -1
- phoenix/server/static/assets/{vendor-recharts-B2PJDrnX.js → vendor-recharts-SW3HwAtG.js} +1 -1
- phoenix/server/static/assets/{vendor-shiki-CNbrFjf9.js → vendor-shiki-BsdYoDvs.js} +1 -1
- phoenix/server/templates/index.html +1 -0
- phoenix/version.py +1 -1
- {arize_phoenix-11.2.2.dist-info → arize_phoenix-11.4.0.dist-info}/WHEEL +0 -0
- {arize_phoenix-11.2.2.dist-info → arize_phoenix-11.4.0.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-11.2.2.dist-info → arize_phoenix-11.4.0.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-11.2.2.dist-info → arize_phoenix-11.4.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as p,j as e,u as Ja,a as Ye,e as $n,s as va,b as Ca,c as
|
|
1
|
+
import{r as p,j as e,u as Ja,a as Ye,e as $n,s as va,b as Ca,c as bn,d as Oa,f as W1,g as Ne,h as Q1,i as q1,k as Ra,l as s,m as on,p as na,n as In,R as qe,o as F,q as et,t as yn,v as X1,C as Zn,w as Y1,x as J1,L as ki,y as wi,z as Si,A as Me,B as C,D as sn,E as gn,F as nt,G as m,H as xi,$ as er,I as Ti,J as R,K as Ai,M as Xe,N as nr,O as ar,P as Mn,Q as tr,S as j,T as tn,U as P,V as Z,W as X,X as Ii,Y as Mi,Z as ir,_ as zi,a0 as lr,a1 as Fi,a2 as rr,a3 as or,a4 as sr,a5 as cr,a6 as dr,a7 as Ei,a8 as ur,a9 as gr,aa as mr,ab as zn,ac as Di,ad as fe,ae as pr,af as hr,ag as Oe,ah as Na,ai as $a,aj as Ba,ak as H,al as cn,am as Ot,an as fr,ao as br,ap as yr,aq as vr,ar as Cr,as as Lr,at as kr,au as wr,av as _i,aw as Sr,ax as xr,ay as Tr,az as Ar,aA as Ir,aB as Mr,aC as zr,aD as at,aE as Te,aF as Ki,aG as ze,aH as ce,aI as de,aJ as Fr,aK as tt,aL as Er,aM as Dr,aN as _r,aO as Kr,aP as Rt,aQ as Pi,aR as Pr,aS as it,aT as Vr,aU as vn,aV as Or,aW as lt,aX as Rr,aY as Nr,aZ as aa,a_ as $r,a$ as Br,b0 as Hr,b1 as jr,b2 as Zr,b3 as Ur,b4 as Gr,b5 as Wr,b6 as Qr,b7 as qr,b8 as Xr,b9 as Nt,ba as Yr,bb as Jr,bc as eo,bd as La,be as no,bf as ao,bg as to,bh as io,bi as lo,bj as ro,bk as oo,bl as so,bm as co}from"./vendor-pg5m6BWE.js";import{a as $t,R as uo,b as go,c as mo,m as po,T as ho,A as fo,S as bo,d as yo,e as vo,f as Co,u as Lo}from"./pages-QK2o2V7x.js";import{u as ko,_ as Vi,a as De,T as ve,E as Oi,b as wo,c as So,d as Ze,C as Ri,F as Ni,e as xo,I as To,f as Ao,g as Io,h as Mo,i as zo,j as Fo,k as Eo,P as Do,l as _o,m as Ko,n as Po,o as Vo,p as Oo,q as Ro}from"./vendor-arizeai-BwMsgSAG.js";import{L as $i,a as Bi,d as kn,E as rt,k as Hi,b as ji,l as Ha,h as No,j as $o,c as Bo,e as Ho,f as jo,s as Zo,g as Fn,i as En,R as Dn,p as Uo,m as Go}from"./vendor-codemirror-BwSDEu2g.js";import{V as Wo}from"./vendor-three-C5WAXd5r.js";const Zi=function(){var n={defaultValue:null,kind:"LocalArgument",name:"clusters"},a={defaultValue:null,kind:"LocalArgument",name:"dataQualityMetricColumnName"},t={defaultValue:null,kind:"LocalArgument",name:"fetchDataQualityMetric"},i={defaultValue:null,kind:"LocalArgument",name:"fetchPerformanceMetric"},l={defaultValue:null,kind:"LocalArgument",name:"performanceMetric"},r=[{alias:null,args:null,kind:"ScalarField",name:"primaryValue",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"referenceValue",storageKey:null}],o=[{alias:null,args:[{kind:"Variable",name:"clusters",variableName:"clusters"}],concreteType:"Cluster",kind:"LinkedField",name:"clusters",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"eventIds",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"driftRatio",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primaryToCorpusRatio",storageKey:null},{condition:"fetchDataQualityMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"columnName",variableName:"dataQualityMetricColumnName"},{kind:"Literal",name:"metric",value:"mean"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"dataQualityMetric",plural:!1,selections:r,storageKey:null}]},{condition:"fetchPerformanceMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"metric",variableName:"performanceMetric"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"performanceMetric",plural:!1,selections:r,storageKey:null}]}],storageKey:null}];return{fragment:{argumentDefinitions:[n,a,t,i,l],kind:"Fragment",metadata:null,name:"pointCloudStore_clusterMetricsQuery",selections:o,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,t,a,i,l],kind:"Operation",name:"pointCloudStore_clusterMetricsQuery",selections:o},params:{cacheID:"86666967012812887ac0a0149d2d2535",id:null,metadata:{},name:"pointCloudStore_clusterMetricsQuery",operationKind:"query",text:`query pointCloudStore_clusterMetricsQuery(
|
|
2
2
|
$clusters: [ClusterInput!]!
|
|
3
3
|
$fetchDataQualityMetric: Boolean!
|
|
4
4
|
$dataQualityMetricColumnName: String
|
|
@@ -145,7 +145,7 @@ import{r as p,j as e,u as Ja,a as Ye,e as $n,s as va,b as Ca,c as fn,d as Oa,f a
|
|
|
145
145
|
id
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
-
`}}}();Wi.hash="2d61766d79c27d5fe1d17dba940dfe52";const Qo=30,ka=5,wa=100,qo=0,Sa=0,xa=.99,Xo=500
|
|
148
|
+
`}}}();Wi.hash="2d61766d79c27d5fe1d17dba940dfe52";const Qo=30,ka=5,wa=100,qo=0,Sa=0,xa=.99,Xo=500,Bt=300,Ht=1e5,Yo=10,jt=1,Jo=2,es=1,ns=0;var N=(n=>(n.inferences="inferences",n.correctness="correctness",n.dimension="dimension",n))(N||{}),ln=(n=>(n.list="list",n.gallery="gallery",n))(ln||{}),nn=(n=>(n.small="small",n.medium="medium",n.large="large",n))(nn||{}),B=(n=>(n.primary="primary",n.reference="reference",n.corpus="corpus",n))(B||{}),ee=(n=>(n.correct="correct",n.incorrect="incorrect",n.unknown="unknown",n))(ee||{});const as=["#05fbff","#cb8afd"],ts=["#00add0","#4500d9"],Fe="#a5a5a5",Je=Fe;var he=(n=>(n.primary="primary",n.reference="reference",n.corpus="corpus",n))(he||{});function K(n){throw new Error("Unreachable")}function ot(n){return typeof n=="number"||n===null}function is(n){return typeof n=="string"||n===null}function ls(n){return is(n)||n===void 0}function b9(n){return Array.isArray(n)?n.every(a=>typeof a=="string"):!1}function re(n){return typeof n=="object"&&n!==null}function y9(n){return re(n)&&Object.keys(n).every(a=>typeof a=="string")}const rs=()=>n=>n,st=p.createContext(null);function ta(){const n=p.useContext(st);if(n===null)throw new Error("useInferences must be used within a InferencesProvider");return n}function v9(n){return e(st.Provider,{value:{primaryInferences:n.primaryInferences,referenceInferences:n.referenceInferences,corpusInferences:n.corpusInferences,getInferencesNameByRole:a=>{var t,i;switch(a){case he.primary:return n.primaryInferences.name;case he.reference:return((t=n.referenceInferences)==null?void 0:t.name)??"reference";case he.corpus:return((i=n.corpusInferences)==null?void 0:i.name)??"corpus";default:K()}}},children:n.children})}const ct=p.createContext(null);function C9({children:n,...a}){const[t]=p.useState(()=>Ts(a));return e(ct.Provider,{value:t,children:n})}function A(n,a){const t=p.useContext(ct);if(!t)throw new Error("Missing PointCloudContext.Provider in the tree");return Ja(t,n,a)}var Q=(n=>(n.last_hour="Last Hour",n.last_day="Last Day",n.last_week="Last Week",n.last_month="Last Month",n.last_3_months="Last 3 Months",n.first_hour="First Hour",n.first_day="First Day",n.first_week="First Week",n.first_month="First Month",n.all="All",n))(Q||{});const Qi=p.createContext(null);function os(){const n=p.useContext(Qi);if(n===null)throw new Error("useTimeRange must be used within a TimeRangeProvider");return n}function ss(n,a){return p.useMemo(()=>{switch(n){case"Last Hour":{const i=Ye(q1(a.end),{roundingMethod:"ceil"});return{start:Ra(i,1),end:i}}case"Last Day":{const i=Ye(Q1(a.end),{roundingMethod:"ceil"});return{start:Ne(i,1),end:i}}case"Last Week":{const i=Ye($n(a.end),{roundingMethod:"ceil"});return{start:Ne(i,7),end:i}}case"Last Month":{const i=Ye($n(a.end),{roundingMethod:"ceil"});return{start:Ne(i,30),end:i}}case"Last 3 Months":{const i=Ye($n(a.end),{roundingMethod:"ceil"});return{start:Ne(i,90),end:i}}case"First Hour":{const i=Oa(a.start);return{start:i,end:W1(i,1)}}case"First Day":{const i=bn(a.start);return{start:i,end:Ca(i,1)}}case"First Week":{const i=va(a.start);return{start:i,end:Ca(i,7)}}case"First Month":{const i=va(a.start);return{start:i,end:Ca(i,30)}}case"All":{const i=Ye($n(a.end),{roundingMethod:"floor"});return{start:va(a.start),end:i}}default:K()}},[n,a])}function L9(n){const[a,t]=p.useState("Last Month"),i=ss(a,n.timeRangeBounds),l=p.useCallback(r=>{p.startTransition(()=>{t(r)})},[]);return e(Qi.Provider,{value:{timeRange:i,timePreset:a,setTimePreset:l},children:n.children})}const qi=p.createContext(null);function k9({children:n}){const[a,t]=ko({style:{zIndex:100001}}),i=p.useCallback(r=>{a({variant:"danger",...r})},[a]),l=p.useCallback(r=>{a({variant:"success",...r})},[a]);return s(qi.Provider,{value:{notify:a,notifyError:i,notifySuccess:l},children:[n,t]})}function Xi(){const n=p.useContext(qi);if(n===null)throw new Error("useGlobalNotification must be used within a NotificationProvider");return n}function Yi(){return Xi().notifyError}function dt(){return Xi().notifySuccess}const Ji="arize-phoenix-theme";function el(){return localStorage.getItem(Ji)==="light"?"light":"dark"}const ut=p.createContext(null);function te(){const n=p.useContext(ut);if(n===null)throw new Error("useTheme must be used within a ThemeProvider");return n}function w9(n){const[a,t]=p.useState(()=>n.theme||el()),i=p.useCallback(l=>{localStorage.setItem(Ji,l),t(l)},[]);return p.useEffect(()=>{n.theme&&t(n.theme)},[n.theme,i]),p.useEffect(()=>(document.body.classList.add(`ac-theme--${a}`),()=>{document.body.classList.remove(`ac-theme--${a}`)}),[a]),e(ut.Provider,{value:{theme:a,setTheme:i},children:n.children})}const nl=p.createContext({size:"M"});function ia({size:n="M",children:a}){return e(nl.Provider,{value:{size:n},children:a})}function gt(){return p.useContext(nl).size}const cs=n=>`arize-phoenix-project-${n}`;function ds({projectId:n}){return{state:on()(na(t=>({defaultTab:"spans",setDefaultTab:i=>{t({defaultTab:i})},treatOrphansAsRoots:!1,setTreatOrphansAsRoots:i=>{t({treatOrphansAsRoots:i})}}),{name:cs(n)}))}}const al=p.createContext(null);function S9({children:n,projectId:a}){const[t]=p.useState(()=>ds({projectId:a}));return e(al.Provider,{value:t,children:n})}function x9(n,a){const t=p.useContext(al);if(!t)throw new Error("Missing ProjectContext.Provider in the tree");return Ja(t.state,n,a)}const us=n=>{const a=t=>({markdownDisplayMode:"text",setMarkdownDisplayMode:i=>{t({markdownDisplayMode:i})},traceStreamingEnabled:!0,setTraceStreamingEnabled:i=>{t({traceStreamingEnabled:i})},lastNTimeRangeKey:"7d",setLastNTimeRangeKey:i=>{t({lastNTimeRangeKey:i})},projectsAutoRefreshEnabled:!0,setProjectAutoRefreshEnabled:i=>{t({projectsAutoRefreshEnabled:i})},showMetricsInTraceTree:!0,setShowMetricsInTraceTree:i=>{t({showMetricsInTraceTree:i})},modelConfigByProvider:{},setModelConfigForProvider:({provider:i,modelConfig:l})=>{t(r=>({modelConfigByProvider:{...r.modelConfigByProvider,[i]:l}}))},playgroundStreamingEnabled:!0,setPlaygroundStreamingEnabled:i=>{t({playgroundStreamingEnabled:i})},isAnnotatingSpans:!0,setIsAnnotatingSpans:i=>{t({isAnnotatingSpans:i})},projectViewMode:"grid",setProjectViewMode:i=>{t({projectViewMode:i})},projectSortOrder:{column:"endTime",direction:"desc"},setProjectSortOrder:i=>{t({projectSortOrder:i})},...n});return on()(na(In(a),{name:"arize-phoenix-preferences"}))},tl=p.createContext(null);function T9({children:n,...a}){const[t]=p.useState(()=>us(a));return e(tl.Provider,{value:t,children:n})}function Ue(n,a){const t=p.useContext(tl);if(!t)throw new Error("Missing PreferencesContext.Provider in the tree");return Ja(t,n,a)}const il=function(){var n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"ViewerContextRefetchQuery",selections:[{args:null,kind:"FragmentSpread",name:"ViewerContext_viewer"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"ViewerContextRefetchQuery",selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"viewer",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"email",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profilePictureUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isManagementUser",storageKey:null},{alias:null,args:null,concreteType:"UserRole",kind:"LinkedField",name:"role",plural:!1,selections:[a,n],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"authMethod",storageKey:null},{alias:null,args:null,concreteType:"UserApiKey",kind:"LinkedField",name:"apiKeys",plural:!0,selections:[n,a,{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"expiresAt",storageKey:null}],storageKey:null}],storageKey:null}]},params:{cacheID:"79221da09cbb1334cb0c446af434f607",id:null,metadata:{},name:"ViewerContextRefetchQuery",operationKind:"query",text:`query ViewerContextRefetchQuery {
|
|
149
149
|
...ViewerContext_viewer
|
|
150
150
|
}
|
|
151
151
|
|
|
@@ -166,6 +166,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
166
166
|
username
|
|
167
167
|
email
|
|
168
168
|
profilePictureUrl
|
|
169
|
+
isManagementUser
|
|
169
170
|
role {
|
|
170
171
|
name
|
|
171
172
|
id
|
|
@@ -174,7 +175,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
174
175
|
...APIKeysTableFragment
|
|
175
176
|
}
|
|
176
177
|
}
|
|
177
|
-
`}}}();il.hash="bec0ae2a629134a5b9afe1846eaec2c9";const ll={argumentDefinitions:[],kind:"Fragment",metadata:{refetch:{connection:null,fragmentPathInResult:[],operation:il}},name:"ViewerContext_viewer",selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"email",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profilePictureUrl",storageKey:null},{alias:null,args:null,concreteType:"UserRole",kind:"LinkedField",name:"role",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"authMethod",storageKey:null},{args:null,kind:"FragmentSpread",name:"APIKeysTableFragment"}],storageKey:null}],type:"Query",abstractKey:null};ll.hash="bec0ae2a629134a5b9afe1846eaec2c9";const rl=qe.createContext({viewer:null,refetchViewer:()=>{}});function Dn(){const n=qe.useContext(rl);if(n==null)throw new Error("useViewer must be used within a ViewerProvider");return n}function gs(){var a;const{viewer:n}=Dn();return!(n&&((a=n==null?void 0:n.role)==null?void 0:a.name)!=="ADMIN")}function A9({query:n,children:a}){const[t,i]=F.useRefetchableFragment(ll,n),l=()=>{p.startTransition(()=>{i({},{fetchPolicy:"network-only"})})};return e(rl.Provider,{value:{viewer:t.viewer,refetchViewer:l},children:a})}function ms(n){return n.endsWith("/")?n.slice(0,-1):n}const ps=ms(window.Config.basename),_n=`${window.location.protocol}//${window.location.host}${ps}`,I9=window.Config.platformVersion,kn="returnUrl";function jt(n,a){const t=new URL(n,window.location.origin);return a.forEach((i,l)=>{t.searchParams.append(l,i)}),t.pathname+t.search}function ol(){const n=window.Config.basename,a=n==null||n===""||n==="/",t=n!=null&&n.startsWith("/")&&!n.endsWith("/");if(!(a||t))throw new Error(`Invalid basename: ${n}`);const i=window.location.pathname,l=window.location.origin,r=new URLSearchParams(window.location.search);if(a){const o=new URL("/login",l);return o.searchParams.set(kn,jt(i,r)),o.pathname+o.search}if(i.startsWith(n)){const o=i.slice(n.length);if(o===""||o.startsWith("/")){const d=new URL(n+"/login",l);return d.searchParams.set(kn,jt(o,r)),d.pathname+d.search}}return n+"/login"}function M9(n){const a=window.Config.basename,t=a==null||a===""||a==="/",i=a!=null&&a.startsWith("/")&&!a.endsWith("/");if(!(t||i))throw new Error(`Invalid basename: ${a}`);return t?n:a+n}const z9=({path:n,searchParams:a})=>{const i=new URL(window.location.href).searchParams.get(kn),l=new URLSearchParams(a||{});i&&l.set(kn,i);const r=l.toString();return`${n}${r?`?${r}`:""}`},hs=n=>!(typeof n!="string"||!n.startsWith("/")||n.replace(/\\/g,"/").startsWith("//")),fs=n=>hs(n)?n:"/",F9=()=>{const n=new URL(window.location.href);return fs(n.searchParams.get(kn))},bs=_n+"/auth/refresh";class Zt extends Error{constructor(){super("Unauthorized")}}async function ys(n,a){try{return await fetch(n,a).then(t=>{if(t.status===401)throw new Zt;return t})}catch(t){if(t instanceof Zt){const i=await vs();return et(i.ok,`Failed to authenticate. Please visit ${ol()} to login.`),fetch(n,a)}if(t instanceof Error&&t.name==="AbortError")throw t}throw new Error("An unexpected error occurred while fetching data")}let gn=null;async function vs(){return gn||(gn=fetch(bs,{method:"POST"}).then(n=>n.ok?(gn=null,Promise.resolve(n)):(window.location.href=ol(),new Promise(()=>{}))),gn)}const sl=_n+"/graphql",Cs=window.Config.authenticationEnabled,cl=Cs?ys:fetch;function Ls(n,a,t){return bn.Observable.create(i=>{const l=new AbortController;return cl(n,{...a,signal:l.signal}).then(r=>(et(r instanceof Response),r.json())).then(r=>{const o=t==null?void 0:t(r);if(o)throw o;i.next(r),i.complete()}).catch(r=>{r.name==="AbortError"?i.complete():i.error(r)}),()=>{l.abort()}})}const ks=(n,a,t)=>Ls(sl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:n.text,variables:a})},i=>{if(!(!re(i)||!("errors"in i))&&Array.isArray(i.errors))return new Error(`Error fetching GraphQL query '${n.name}' with variables '${JSON.stringify(a)}': ${JSON.stringify(i.errors)}`)}),ws=Y1(sl,{fetch:cl}),Kn=new bn.Environment({network:bn.Network.create(ks,ws),store:new bn.Store(new bn.RecordSource,{gcReleaseBufferSize:20})});function dl(n){return n.includes("PRIMARY")?me.primary:n.includes("CORPUS")?me.corpus:me.reference}function mt(n){const a=[],t=[],i=[];return n.forEach(l=>{const r=dl(l);r==me.primary?a.push(l):r==me.corpus?i.push(l):t.push(l)}),{primaryEventIds:a,referenceEventIds:t,corpusEventIds:i}}const Un=10,vn="unknown",ul=er,gl=J1,Ss=n=>gl[n],xs=n=>ul(n/Un);var rn=(n=>(n.move="move",n.select="select",n))(rn||{}),pt=(n=>(n.default="default",n.highlight="highlight",n))(pt||{});const en=()=>el()==="light"?ts:as;function E9(){const n=en();return{coloringStrategy:N.inferences,pointGroupVisibility:{[B.primary]:!0,[B.reference]:!0},pointGroupColors:{[B.primary]:n[0],[B.reference]:n[1],[B.corpus]:Fe},metric:{type:"drift",metric:"euclideanDistance"}}}function D9(){const n=en();return{coloringStrategy:N.inferences,pointGroupVisibility:{[B.primary]:!0,[B.corpus]:!0},pointGroupColors:{[B.primary]:n[0],[B.corpus]:Fe},metric:{type:"retrieval",metric:"queryDistance"},clusterSort:{dir:"desc",column:"primaryMetricValue"}}}function _9(){return{coloringStrategy:N.correctness,pointGroupVisibility:{[ee.correct]:!0,[ee.incorrect]:!0,[ee.unknown]:!0},pointGroupColors:{[ee.correct]:Zn.Discrete2.LightBlueOrange[0],[ee.incorrect]:Zn.Discrete2.LightBlueOrange[1],[ee.unknown]:Je},metric:{type:"performance",metric:"accuracyScore"},clusterSort:{dir:"asc",column:"primaryMetricValue"}}}const Ts=n=>{const a={loading:!1,errorMessage:null,points:[],eventIdToDataMap:new Map,clusters:[],clusterSort:{dir:"desc",column:"driftRatio"},pointData:null,selectedEventIds:new Set,hoveredEventId:null,highlightedClusterId:null,selectedClusterId:null,canvasMode:"move",pointSizeScale:1,clusterColorMode:"default",coloringStrategy:N.inferences,inferencesVisibility:{primary:!0,reference:!0,corpus:!0},pointGroupVisibility:{[B.primary]:!0,[B.reference]:!0,[B.corpus]:!0},pointGroupColors:{[B.primary]:en()[0],[B.reference]:en()[1],[B.corpus]:Fe},eventIdToGroup:{},selectionDisplay:ln.gallery,selectionGridSize:nn.large,dimension:null,dimensionMetadata:null,umapParameters:{minDist:qo,nNeighbors:Qo,nSamples:Xo},hdbscanParameters:{minClusterSize:Yo,clusterMinSamples:es,clusterSelectionEpsilon:ns},clustersLoading:!1,metric:{type:"drift",metric:"euclideanDistance"},selectionSearchText:""},t=(i,l)=>({...a,...n,setInitialData:async({points:r,clusters:o,retrievals:c})=>{const d=l(),u=new Map,g=c.reduce((b,y)=>{const{queryId:k}=y;return b[k]?b[k].push(y):b[k]=[y],b},{});r.forEach(b=>{b={...b,retrievals:g[b.eventId]??[]},u.set(b.eventId,b)});const h=o.map(Gt).sort(Aa(d.clusterSort));i({loading:!1,points:r,eventIdToDataMap:u,clusters:h,clustersLoading:!1,selectedEventIds:new Set,selectedClusterId:null,pointData:null,eventIdToGroup:Ne({points:r,coloringStrategy:d.coloringStrategy,pointsData:d.pointData??{},dimension:d.dimension||null,dimensionMetadata:d.dimensionMetadata})});const f=await Ms(r.map(b=>b.eventId)).catch(()=>i({errorMessage:"Failed to load the point events"}));f&&i({pointData:f,clusters:h,clustersLoading:!1,eventIdToGroup:Ne({points:r,coloringStrategy:d.coloringStrategy,pointsData:f??{},dimension:d.dimension||null,dimensionMetadata:d.dimensionMetadata})})},setClusters:r=>{const o=l(),c=r.map(Gt).sort(Aa(o.clusterSort));i({clusters:c,clustersLoading:!1,selectedClusterId:null,highlightedClusterId:null})},setClusterSort:r=>{const c=[...l().clusters].sort(Aa(r));i({clusterSort:r,clusters:c})},setSelectedEventIds:r=>i({selectedEventIds:r,selectionSearchText:""}),setHoveredEventId:r=>i({hoveredEventId:r}),setHighlightedClusterId:r=>i({highlightedClusterId:r}),setSelectedClusterId:r=>i({selectedClusterId:r,highlightedClusterId:null}),setPointSizeScale:r=>i({pointSizeScale:r}),setCanvasMode:r=>i({canvasMode:r}),setClusterColorMode:r=>i({clusterColorMode:r}),setColoringStrategy:r=>{const o=l();switch(i({coloringStrategy:r}),r){case N.correctness:i({pointGroupVisibility:{[ee.correct]:!0,[ee.incorrect]:!0,[ee.unknown]:!0},pointGroupColors:{[ee.correct]:Zn.Discrete2.LightBlueOrange[0],[ee.incorrect]:Zn.Discrete2.LightBlueOrange[1],[ee.unknown]:Je},dimension:null,dimensionMetadata:null,eventIdToGroup:Ne({points:o.points,coloringStrategy:r,pointsData:o.pointData??{},dimension:o.dimension||null,dimensionMetadata:o.dimensionMetadata})});break;case N.inferences:{i({pointGroupVisibility:{[B.primary]:!0,[B.reference]:!0,[B.corpus]:!0},pointGroupColors:{[B.primary]:en()[0],[B.reference]:en()[1],[B.corpus]:Fe},dimension:null,dimensionMetadata:null,eventIdToGroup:Ne({points:o.points,coloringStrategy:r,pointsData:o.pointData??{},dimension:o.dimension||null,dimensionMetadata:o.dimensionMetadata})});break}case N.dimension:{i({pointGroupVisibility:{unknown:!0},pointGroupColors:{unknown:Je},dimension:null,dimensionMetadata:null,eventIdToGroup:Ne({points:o.points,coloringStrategy:r,pointsData:o.pointData??{},dimension:o.dimension||null,dimensionMetadata:o.dimensionMetadata})});break}default:K()}},inferencesVisibility:{primary:!0,reference:!0,corpus:!0},setInferencesVisibility:r=>i({inferencesVisibility:r}),setPointGroupVisibility:r=>i({pointGroupVisibility:r}),selectionDisplay:ln.gallery,setSelectionDisplay:r=>i({selectionDisplay:r}),setSelectionGridSize:r=>i({selectionGridSize:r}),reset:()=>{i({points:[],clusters:[],selectedEventIds:new Set,selectedClusterId:null,eventIdToGroup:{}})},setDimension:async r=>{const o=l();i({dimension:r,dimensionMetadata:null});const c=await Is(r).catch(()=>i({errorMessage:"Failed to load the dimension metadata"}));if(c){if(i({dimensionMetadata:c}),c.categories&&c.categories.length){const d=c.categories.length,g=d<=gl.length?Ss:h=>ul(h/d);i({pointGroupVisibility:{...c.categories.reduce((h,f)=>({...h,[f]:!0}),{}),unknown:!0},pointGroupColors:{...c.categories.reduce((h,f,b)=>({...h,[f]:g(b)}),{}),unknown:Je},eventIdToGroup:Ne({points:o.points,coloringStrategy:o.coloringStrategy,pointsData:o.pointData??{},dimension:r,dimensionMetadata:c})})}else if(c.interval!==null){const d=ml(c.interval);i({pointGroupVisibility:{...d.reduce((u,g)=>({...u,[g.name]:!0}),{}),unknown:!0},pointGroupColors:{...d.reduce((u,g,h)=>({...u,[g.name]:xs(h)}),{}),unknown:Je},eventIdToGroup:Ne({points:o.points,coloringStrategy:o.coloringStrategy,pointsData:o.pointData??{},dimension:r,dimensionMetadata:c})})}}},setDimensionMetadata:r=>i({dimensionMetadata:r}),setUMAPParameters:r=>i({umapParameters:r}),setHDBSCANParameters:async r=>{const o=l();i({hdbscanParameters:r,clustersLoading:!0});const c=await zs({metric:o.metric,points:o.points,hdbscanParameters:r});o.setClusters(c)},getHDSCANParameters:()=>l().hdbscanParameters,getMetric:()=>l().metric,setErrorMessage:r=>i({errorMessage:r}),setLoading:r=>i({loading:r}),setMetric:async r=>{const o=l();i({metric:r,clustersLoading:!0});const c=await Fs({metric:r,clusters:o.clusters,hdbscanParameters:o.hdbscanParameters});o.setClusters(c)},setSelectionSearchText:r=>i({selectionSearchText:r})});return on()(An(t))},Ut=new Intl.NumberFormat([],{maximumFractionDigits:2});function As({min:n,max:a}){return`${Ut.format(n)} - ${Ut.format(a)}`}function ml({min:n,max:a}){const i=(a-n)/Un,l=[];for(let r=0;r<Un;r++){const o=n+r*i,c=n+(r+1)*i;l.push({min:o,max:c,name:As({min:o,max:c})})}return l}function Ta({numericGroupIntervals:n,numericValue:a}){let t=vn,i=n.findIndex(l=>a>=l.min&&a<l.max);return i=i===-1?Un-1:i,t=n[i].name,t}function Ne(n){const{points:a,coloringStrategy:t,pointsData:i,dimension:l,dimensionMetadata:r}=n,o={},c=a.map(d=>d.eventId);switch(t){case N.inferences:{const{primaryEventIds:d,referenceEventIds:u,corpusEventIds:g}=mt(c);d.forEach(h=>{o[h]=B.primary}),u.forEach(h=>{o[h]=B.reference}),g.forEach(h=>{o[h]=B.corpus});break}case N.correctness:{a.forEach(d=>{let u=ee.unknown;const{predictionLabel:g,actualLabel:h}=d.eventMetadata;g!==null&&h!==null&&(u=g===h?ee.correct:ee.incorrect),o[d.eventId]=u});break}case N.dimension:{let d;r&&(r==null?void 0:r.interval)!==null&&(d=ml(r.interval));const u=(l==null?void 0:l.type)==="prediction"&&(l==null?void 0:l.dataType)==="categorical",g=(l==null?void 0:l.type)==="prediction"&&(l==null?void 0:l.dataType)==="numeric",h=(l==null?void 0:l.type)==="actual"&&(l==null?void 0:l.dataType)==="categorical",f=(l==null?void 0:l.type)==="actual"&&(l==null?void 0:l.dataType)==="numeric";a.forEach(b=>{let y=vn;const k=i[b.eventId];if(l!=null&&k!=null)if(u)y=k.eventMetadata.predictionLabel??vn;else if(g){if(d==null)throw new Error("Cannot color by prediction score without numeric group intervals");const w=k.eventMetadata.predictionScore;typeof w=="number"&&(y=Ta({numericGroupIntervals:d,numericValue:w}))}else if(f){if(d==null)throw new Error("Cannot color by actual score without numeric group intervals");const w=k.eventMetadata.actualScore;typeof w=="number"&&(y=Ta({numericGroupIntervals:d,numericValue:w}))}else if(h)y=k.eventMetadata.actualLabel??vn;else{const w=k.dimensions.find(E=>E.dimension.name===l.name);if(w!=null&&l.dataType==="categorical")y=w.value??vn;else if(w!=null&&l.dataType==="numeric"&&d!=null){const E=typeof(w==null?void 0:w.value)=="string"?parseFloat(w.value):null;typeof E=="number"&&(y=Ta({numericGroupIntervals:d,numericValue:E}))}}o[b.eventId]=y});break}default:K()}return o}async function Is(n){const a=await F.fetchQuery(Kn,Wi,{id:n.id,getDimensionMinMax:n.dataType==="numeric",getDimensionCategories:n.dataType==="categorical"}).toPromise(),t=a==null?void 0:a.dimension;if(!n)throw new Error("Dimension not found");let i=null;return typeof(t==null?void 0:t.min)=="number"&&typeof(t==null?void 0:t.max)=="number"&&(i={min:t.min,max:t.max}),{interval:i,categories:(t==null?void 0:t.categories)??null}}async function Ms(n){var u,g,h,f,b,y;const{primaryEventIds:a,referenceEventIds:t,corpusEventIds:i}=mt([...n]),l=await F.fetchQuery(Kn,Gi,{primaryEventIds:a,referenceEventIds:t,corpusEventIds:i}).toPromise(),r=((g=(u=l==null?void 0:l.model)==null?void 0:u.primaryInferences)==null?void 0:g.events)??[],o=((f=(h=l==null?void 0:l.model)==null?void 0:h.referenceInferences)==null?void 0:f.events)??[],c=((y=(b=l==null?void 0:l.model)==null?void 0:b.corpusInferences)==null?void 0:y.events)??[];return[...r,...o,...c].reduce((k,L)=>(k[L.id]=L,k),{})}async function zs({metric:n,points:a,hdbscanParameters:t}){const i=await F.fetchQuery(Kn,Ui,{eventIds:a.map(l=>l.eventId),coordinates:a.map(l=>({x:l.position[0],y:l.position[1],z:l.position[2]})),fetchDataQualityMetric:n.type==="dataQuality",dataQualityMetricColumnName:n.type==="dataQuality"?n.dimension.name:null,fetchPerformanceMetric:n.type==="performance",performanceMetric:n.type==="performance"?n.metric:"accuracyScore",...t},{fetchPolicy:"network-only"}).toPromise();return(i==null?void 0:i.hdbscanClustering)??[]}async function Fs({metric:n,clusters:a,hdbscanParameters:t}){const i=await F.fetchQuery(Kn,Zi,{clusters:a.map(l=>({id:l.id,eventIds:l.eventIds})),fetchDataQualityMetric:n.type==="dataQuality",dataQualityMetricColumnName:n.type==="dataQuality"?n.dimension.name:null,fetchPerformanceMetric:n.type==="performance",performanceMetric:n.type==="performance"?n.metric:"accuracyScore",...t},{fetchPolicy:"network-only"}).toPromise();return(i==null?void 0:i.clusters)??[]}const Aa=n=>(a,t)=>{const{dir:i,column:l}=n,r=i==="asc",o=a[l],c=t[l];return o==null?1:c==null?-1:o>c?r?1:-1:o<c?r?-1:1:0};function Gt(n){let a=n.driftRatio,t=null;return n.dataQualityMetric?(a=n.dataQualityMetric.primaryValue,t=n.dataQualityMetric.referenceValue):n.performanceMetric?(a=n.performanceMetric.primaryValue,t=n.performanceMetric.referenceValue):n.primaryToCorpusRatio!=null&&(a=(n.primaryToCorpusRatio+1)/2*100),{...n,size:n.eventIds.length,primaryMetricValue:a,referenceMetricValue:t}}const Es=({projectId:n,tableId:a})=>`arize-phoenix-tracing-${n}-${a}`,K9=n=>{const a=t=>({...n,columnVisibility:{metadata:!1},columnSizing:{metadata:200},annotationColumnVisibility:{},setColumnVisibility:i=>{t({columnVisibility:i})},setAnnotationColumnVisibility:i=>{t({annotationColumnVisibility:i})},setColumnSizing:i=>{t(typeof i=="function"?l=>({columnSizing:i(l.columnSizing)}):{columnSizing:i})}});return on()(na(An(a),{name:Es(n)}))},Ee={NONE:"NONE",FString:"F_STRING",Mustache:"MUSTACHE"},P9={OPENAI:"OpenAI",AZURE_OPENAI:"Azure OpenAI",ANTHROPIC:"Anthropic",GOOGLE:"Google",DEEPSEEK:"DeepSeek",XAI:"xAI",OLLAMA:"Ollama",AWS:"AWS Bedrock"},pl="OPENAI",Ds="gpt-4o",_s="user",V9=["2024-10-01-preview","2024-09-01-preview","2024-08-01-preview","2024-07-01-preview","2024-06-01","2024-05-01-preview","2024-04-01-preview","2024-03-01-preview","2024-02-15-preview","2024-02-01","2023-10-01-preview","2023-09-01-preview","2023-08-01-preview","2023-07-01-preview","2023-06-01-preview","2023-05-15","2023-03-15-preview"],O9={user:["user","human"],ai:["assistant","bot","ai","model"],system:["system","developer"],tool:["tool"]},ja={OPENAI:[{envVarName:"OPENAI_API_KEY",isRequired:!0}],AZURE_OPENAI:[{envVarName:"AZURE_OPENAI_API_KEY",isRequired:!0}],ANTHROPIC:[{envVarName:"ANTHROPIC_API_KEY",isRequired:!0}],GOOGLE:[{envVarName:"GEMINI_API_KEY",isRequired:!0}],DEEPSEEK:[{envVarName:"DEEPSEEK_API_KEY",isRequired:!0}],XAI:[{envVarName:"XAI_API_KEY",isRequired:!0}],OLLAMA:[],AWS:[{envVarName:"AWS_ACCESS_KEY_ID",isRequired:!0},{envVarName:"AWS_SECRET_ACCESS_KEY",isRequired:!0},{envVarName:"AWS_SESSION_TOKEN",isRequired:!1}]},hl=({parser:n,text:a})=>{const t=n.parse(a),i=[],l=t.cursor();do if(l.name==="Variable"){const r=a.slice(l.node.from,l.node.to).trim();i.push(r)}while(l.next());return i},fl=({parser:n,text:a,variables:t,postFormat:i})=>{if(!a)return"";let l=a,r=n.parse(l),o=r.cursor();do if(o.name==="Variable"){const c=l.slice(o.node.from,o.node.to).trim(),d=o.node.parent;c in t&&(l=`${l.slice(0,d.from)}${t[c]}${l.slice(d.to)}`,r=n.parse(l),o=r.cursor())}while(o.next());return i&&(l=i(l)),l},Ks=Li.deserialize({version:14,states:"!WQQOPOOOcOQO'#C^OOOO'#Cb'#CbQQOPOOOOOO'#Cc'#CcOhOQO,58xOOOO-E6`-E6`OOOO-E6a-E6aOOOO1G.d1G.d",stateData:"v~ORPOXQOYQOZQO[QO~OSSO~OSSOTWO~OZRX[X~",goto:"iWPPXPPP]cTQORQRORURQTPRVT",nodeNames:"⚠ FStringTemplate Template LBrace Variable RBrace",maxTerm:12,skippedNodes:[0],repeatNodeCount:2,tokenData:"%[~RaXY!WYZ!W]^!Wpq!Wqr!Wrs!]sw!Wwx!bx#O!W#O#P!i#P#o!W#o#p$c#p#q!W#q#r$|#r;'S!W;'S;=`%U<%lO!W~!]OX~~!bO[~~!iOX~[~~!lYrs!W!P!Q!W#O#P!W#U#V!W#Y#Z!W#b#c!W#f#g!W#h#i!W#i#j#[#o#p$^~#_R!Q![#h!c!i#h#T#Z#h~#kR!Q![#t!c!i#t#T#Z#t~#wR!Q![$Q!c!i$Q#T#Z$Q~$TR!Q![!W!c!i!W#T#Z!W~$cOZ~~$jQR~X~#o#p$p#q#r$w~$wOZ~[~~$|OY~~%RPX~#q#r!]~%XP;=`<%l!W",tokenizers:[1,new ki("!p~RVO#Oh#O#P!P#P#qh#q#r!j#r;'Sh;'S;=`y<%lOh~mSS~O#qh#r;'Sh;'S;=`y<%lOh~|P;=`<%lh~!UTS~O#qh#q#r!e#r;'Sh;'S;=`y<%lOh~!jOS~~!oOT~~",77)],topRules:{FStringTemplate:[0,1]},tokenPrec:32}),ht=$i.define({parser:Ks.configure({props:[wi({"Template/LBrace":Me.quote,"Template/RBrace":Me.quote,"Template/Variable":Me.variableName,"⚠":Me.invalid})]}),languageData:{}}),Ps=({text:n,variables:a})=>fl({parser:ht.parser,text:n,variables:a,postFormat:t=>t.replaceAll("\\{","{").replaceAll("{{","{").replaceAll("}}","}")}),Vs=n=>hl({parser:ht.parser,text:n});function Os(){return new Bi(ht)}const Rs=Li.deserialize({version:14,states:"!WQQOPOOOcOQO'#C^OOOO'#Cb'#CbQQOPOOOOOO'#Cc'#CcOhOQO,58xOOOO-E6`-E6`OOOO-E6a-E6aOOOO1G.d1G.d",stateData:"v~ORPOXQOYQOZQO[QO~OSSO~OSSOTWO~OZRX[X~",goto:"iWPPXPPP]cTQORQRORURQTPRVT",nodeNames:"⚠ MustacheLikeTemplate Template LBrace Variable RBrace",maxTerm:12,skippedNodes:[0],repeatNodeCount:2,tokenData:"%W~RaXY!WYZ!W]^!Wpq!Wqr!Wrs!]sw!Wwx!bx#O!W#O#P!i#P#o!W#o#p$c#p#q!W#q#r!b#r;'S!W;'S;=`%Q<%lO!W~!]OX~~!bO[~~!iOX~[~~!lYrs!W!P!Q!W#O#P!W#U#V!W#Y#Z!W#b#c!W#f#g!W#h#i!W#i#j#[#o#p$^~#_R!Q![#h!c!i#h#T#Z#h~#kR!Q![#t!c!i#t#T#Z#t~#wR!Q![$Q!c!i$Q#T#Z$Q~$TR!Q![!W!c!i!W#T#Z!W~$cOZ~~$jPX~[~#o#p$m~$rPR~#q#r$u~$xP#q#r${~%QOY~~%TP;=`<%l!W",tokenizers:[1,new ki("#e~RVO#oh#o#p!P#p#qh#q#r#X#r;'Sh;'S;=`y<%lOh~mSS~O#qh#r;'Sh;'S;=`y<%lOh~|P;=`<%lh~!USS~O#q!b#r;'S!b;'S;=`#R<%lO!b~!gVS~O#O!b#O#P!b#P#q!b#q#r!|#r;'S!b;'S;=`#R<%lO!b~#ROS~~#UP;=`<%l!b~#[P#q#r#_~#dOT~~",112)],topRules:{MustacheLikeTemplate:[0,1]},tokenPrec:32}),ft=$i.define({parser:Rs.configure({props:[wi({"Template/LBrace":Me.quote,"Template/RBrace":Me.quote,"Template/Variable":Me.variableName,"Template/⚠":Me.invalid})]}),languageData:{}}),Ns=({text:n,variables:a})=>fl({parser:ft.parser,text:n,variables:a,postFormat:t=>t.replaceAll("\\{{","{{")}),$s=n=>hl({parser:ft.parser,text:n});function Bs(){return new Bi(ft)}const R9=n=>{switch(n){case Ee.FString:return{format:Ps,extractVariables:Vs};case Ee.Mustache:return{format:Ns,extractVariables:$s};case Ee.NONE:return{format:({text:a})=>a,extractVariables:()=>[]};default:K()}},Hs=C.union([C.string(),C.number(),C.boolean(),C.null()]),Gn=C.lazy(()=>C.union([Hs,C.array(Gn),C.record(Gn)])),Wt=C.object({type:C.enum(["string","number","boolean","object","array","null","integer"]).describe("The type of the parameter"),description:C.string().optional().describe("A description of the parameter"),enum:C.array(C.string()).optional().describe("The allowed values")}).passthrough().describe("A map of parameter names to their definitions"),bt=C.object({type:C.literal("object"),properties:C.record(C.union([Wt,C.object({anyOf:C.array(Wt)}).describe("A list of possible parameter names to their definitions")])).optional(),required:C.array(C.string()).optional().describe("The required parameters"),additionalProperties:C.boolean().optional().describe("Whether or not additional properties are allowed in the schema")}).passthrough(),Pn=C.object({type:C.literal("function").describe("The type of the tool"),function:C.object({name:C.string().describe("The name of the function"),description:C.string().optional().describe("A description of the function"),parameters:bt.extend({strict:C.boolean().optional().describe("Whether or not the arguments should exactly match the function definition, only supported for OpenAI models")}).describe("The parameters that the function accepts")}).passthrough().describe("The function definition")}).passthrough(),N9=sn(Pn,{removeAdditionalStrategy:"passthrough"}),la=C.object({name:C.string(),description:C.string(),input_schema:bt}),$9=sn(la,{removeAdditionalStrategy:"passthrough"}),ra=C.object({toolSpec:C.object({name:C.string(),description:C.string().min(1),inputSchema:C.object({json:bt})})}),B9=sn(ra,{removeAdditionalStrategy:"passthrough"}),js=ra.transform(n=>({type:"function",function:{name:n.toolSpec.name,description:n.toolSpec.description,parameters:n.toolSpec.inputSchema.json}})),Zs=Pn.transform(n=>({toolSpec:{name:n.function.name,description:n.function.description??n.function.name,inputSchema:{json:n.function.parameters}}})),Us=la.transform(n=>({type:"function",function:{name:n.name,description:n.description,parameters:n.input_schema}})),Gs=Pn.transform(n=>({name:n.function.name,description:n.function.description??n.function.name,input_schema:n.function.parameters})),bl=C.union([Pn,la,ra,Gn]),Ws=n=>{const{success:a,data:t}=Pn.safeParse(n);if(a)return{provider:"OPENAI",validatedToolDefinition:t};const{success:i,data:l}=la.safeParse(n);if(i)return{provider:"ANTHROPIC",validatedToolDefinition:l};const{success:r,data:o}=ra.safeParse(n);return r?{provider:"AWS",validatedToolDefinition:o}:{provider:"UNKNOWN",validatedToolDefinition:null}},Ia=n=>{const{provider:a,validatedToolDefinition:t}=Ws(n);switch(a){case"AZURE_OPENAI":case"OPENAI":return t;case"ANTHROPIC":return Us.parse(t);case"AWS":return js.parse(t);case"UNKNOWN":return null;default:K()}},Qt=({toolDefinition:n,targetProvider:a})=>{switch(a){case"AZURE_OPENAI":case"OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":return n;case"ANTHROPIC":return Gs.parse(n);case"AWS":return Zs.parse(n);case"GOOGLE":return n;default:K()}};function H9(n){return{type:"function",function:{name:`new_function_${n}`,description:"a description",parameters:{type:"object",properties:{new_arg:{type:"string"}},required:[]}}}}function j9(n){return{name:`new_function_${n}`,description:"a description",input_schema:{type:"object",properties:{new_arg:{type:"string"}},required:[]}}}function Z9(n){return{toolSpec:{name:`new_function_${n}`,description:"a description",inputSchema:{json:{type:"object",properties:{new_arg:{type:"string"}},required:[]}}}}}const U9=n=>{const a=bl.safeParse(n);return!a.success||a.data===null||!re(a.data)?null:"function"in a.data&&re(a.data.function)&&"name"in a.data.function&&typeof a.data.function.name=="string"?a.data.function.name:"name"in a.data&&typeof a.data.name=="string"?a.data.name:null},G9=n=>{const a=bl.safeParse(n);return!a.success||a.data===null||!re(a.data)?null:"function"in a.data&&re(a.data.function)&&"description"in a.data.function&&typeof a.data.function.description=="string"?a.data.function.description:"description"in a.data&&typeof a.data.description=="string"?a.data.description:null};function Qs({str:n,excludePrimitives:a=!1,excludeArray:t=!1,excludeNull:i=!1}){try{const l=JSON.parse(n);if(a&&typeof l!="object"||t&&Array.isArray(l)||i&&l===null)return!1}catch{return!1}return!0}function qs(n){return Qs({str:n,excludeArray:!0,excludePrimitives:!0})}function oa(n){try{return{json:JSON.parse(n)}}catch(a){return{json:null,parseError:a}}}function W9(...n){try{return{json:JSON.stringify(...n)}}catch(a){return{json:null,stringifyError:a}}}function yl(n,a="",t="."){const i={};for(const[l,r]of Object.entries(n)){const o=a?`${a}${t}${l}`:l;r&&typeof r=="object"?Object.assign(i,yl(r,o,t)):i[o]=r}return i}function Q9(n,a="."){try{const t=JSON.parse(n);return typeof t!="object"?{}:yl(t,"",a)}catch{}return{}}const Vn=C.object({id:C.string().describe("The ID of the tool call"),type:C.literal("function").describe("The type of the tool call").default("function"),function:C.object({name:C.string().describe("The name of the function"),arguments:C.record(C.unknown()).describe("The arguments for the function")}).describe("The function that is being called").passthrough()}),Xs=C.array(Vn),q9=sn(Xs,{removeAdditionalStrategy:"passthrough"}),sa=C.object({toolUse:C.object({toolUseId:C.string().describe("The ID of the tool call"),name:C.string().describe("The name of the tool"),input:C.record(C.unknown()).describe("The input for the tool")})}),Ys=C.array(sa),X9=sn(Ys,{removeAdditionalStrategy:"passthrough"}),Js=Vn.transform(n=>({toolUse:{toolUseId:n.id,name:n.function.name,input:n.function.arguments}})),e0=sa.transform(n=>({id:n.toolUse.toolUseId,type:"function",function:{name:n.toolUse.name,arguments:n.toolUse.input}})),ca=C.object({id:C.string().describe("The ID of the tool call"),type:C.literal("tool_use"),name:C.string().describe("The name of the tool"),input:C.record(C.unknown()).describe("The input for the tool")}).passthrough(),n0=C.array(ca),Y9=sn(n0,{removeAdditionalStrategy:"passthrough"}),a0=ca.transform(n=>({id:n.id,type:"function",function:{name:n.name,arguments:n.input}})),t0=Vn.transform(n=>({id:n.id,type:"tool_use",name:n.function.name,input:typeof n.function.arguments=="string"?{[n.function.arguments]:n.function.arguments}:n.function.arguments??{}})),i0=C.union([Vn,ca,sa,Gn]);C.array(i0);const l0=n=>{const{success:a,data:t}=Vn.safeParse(n);if(a)return{provider:"OPENAI",validatedToolCall:t};const{success:i,data:l}=ca.safeParse(n);if(i)return{provider:"ANTHROPIC",validatedToolCall:l};const{success:r,data:o}=sa.safeParse(n);return r?{provider:"AWS",validatedToolCall:o}:{provider:"UNKNOWN",validatedToolCall:null}},je=n=>{const{provider:a,validatedToolCall:t}=l0(n);switch(a){case"AZURE_OPENAI":case"OPENAI":return t;case"ANTHROPIC":return a0.parse(t);case"AWS":return e0.parse(t);case"UNKNOWN":return null;default:K()}},Za=({toolCall:n,targetProvider:a})=>{switch(a){case"AZURE_OPENAI":case"OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":return n;case"AWS":return Js.parse(n);case"ANTHROPIC":return t0.parse(n);case"GOOGLE":return n;default:K()}},J9=(n,a)=>{const t=je({id:n.toolCall.toolCallId,function:{name:n.toolCall.toolCall.name,arguments:oa(n.toolCall.toolCall.arguments).json||""}});return t?Za({toolCall:t,targetProvider:a}):null};function e6(){return{id:"",type:"function",function:{name:"",arguments:{}}}}function n6(){return{id:"",type:"tool_use",name:"",input:{}}}const yt=C.object({id:C.string().optional(),name:C.string().optional(),arguments:C.record(C.unknown()).optional(),function:C.object({name:C.string().optional(),arguments:C.record(C.unknown()).optional()}).optional()});function a6(n){let a=n;typeof n=="string"&&(a=oa(n).json);const t=je(a);if(t)return t.id;const i=yt.safeParse(a);return i.success?i.data.id??i.data.name??null:null}function t6(n){var l;let a=n;typeof n=="string"&&(a=oa(n).json);const t=je(a);if(t)return t.function.name;const i=yt.safeParse(a);return i.success?((l=i.data.function)==null?void 0:l.name)??i.data.name??i.data.id??null:null}function i6(n){var l;let a=n;typeof n=="string"&&(a=oa(n).json);const t=je(a);if(t)return t.function.arguments;const i=yt.safeParse(a);return i.success?i.data.arguments??((l=i.data.function)==null?void 0:l.arguments)??null:null}const da=rs()(C.union([C.literal("auto"),C.literal("none"),C.literal("required"),C.object({type:C.literal("function"),function:C.object({name:C.string()})})]));C.discriminatedUnion("type",[C.object({type:C.literal("auto")}),C.object({type:C.literal("any")}),C.object({type:C.literal("tool"),name:C.string()}),C.object({type:C.literal("none")})]);const vt=C.discriminatedUnion("type",[C.object({type:C.literal("none")}),C.object({type:C.literal("auto"),disable_parallel_tool_use:C.boolean().optional()}),C.object({type:C.literal("any"),disable_parallel_tool_use:C.boolean().optional()}),C.object({type:C.literal("tool"),name:C.string(),disable_parallel_tool_use:C.boolean().optional()})]),r0=vt.transform(n=>{switch(n.type){case"any":return"required";case"auto":return"auto";case"tool":return n.name?{type:"function",function:{name:n.name}}:"auto";case"none":return"none";default:return"auto"}}),o0=da.transform(n=>{if(re(n))return{type:"tool",name:n.function.name};switch(n){case"none":return{type:"none"};case"auto":return{type:"auto"};case"required":return{type:"any"};default:K()}}),s0=da.transform(n=>{if(re(n))return{type:"tool",name:n.function.name};switch(n){case"none":return{type:"none"};case"auto":return{type:"auto"};case"required":return{type:"any"};default:K()}});C.union([da,vt]);const c0=n=>{const{success:a,data:t}=da.safeParse(n);if(a)return{provider:"OPENAI",toolChoice:t};const{success:i,data:l}=vt.safeParse(n);return i?{provider:"ANTHROPIC",toolChoice:l}:{provider:null,toolChoice:null}},d0=n=>{const{provider:a,toolChoice:t}=c0(n);if(a==null||t==null)throw new Error("Could not detect provider of tool choice");switch(a){case"AZURE_OPENAI":case"OPENAI":return t;case"ANTHROPIC":return r0.parse(t);default:K()}},u0=({toolChoice:n,targetProvider:a})=>{switch(a){case"AZURE_OPENAI":case"OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":return n;case"AWS":return o0.parse(n);case"ANTHROPIC":return s0.parse(n);case"GOOGLE":return n;default:K()}},g0=({toolChoice:n,targetProvider:a})=>{try{const t=d0(n);return u0({toolChoice:t,targetProvider:a})}catch{return null}},qt=n=>n,Xt=n=>n,Yt=n=>n,m0=n=>re(n)?"function"in n&&re(n.function)&&"name"in n.function&&typeof n.function.name=="string"?n.function.name:"name"in n&&typeof n.name=="string"?n.name:null:null,p0=({instanceTools:n,provider:a})=>n.map(t=>{switch(a){case"OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":case"AZURE_OPENAI":{const i=Ia(t.definition);return{...t,definition:i??t.definition}}case"ANTHROPIC":{const i=Ia(t.definition),l=i?Qt({toolDefinition:i,targetProvider:a}):t.definition;return{...t,definition:l}}case"AWS":{const i=Ia(t.definition),l=i?Qt({toolDefinition:i,targetProvider:a}):t.definition;return{...t,definition:l}}case"GOOGLE":return t;default:K()}}),h0=({toolCalls:n,provider:a})=>{if(n!=null)return n.map(t=>{switch(a){case"OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":case"AZURE_OPENAI":return je(t)??t;case"ANTHROPIC":{const i=je(t);return i!=null?Za({toolCall:i,targetProvider:a}):t}case"AWS":{const i=je(t);return i!=null?Za({toolCall:i,targetProvider:a}):t}case"GOOGLE":return t;default:K()}})};let f0=0,b0=0,y0=1,v0=0;const vl=()=>f0++,Wn=()=>y0++,l6=()=>v0++,C0=()=>b0++,Cl=()=>({__type:"chat",messages:[{id:Wn(),role:"system",content:"You are a chatbot"},{id:Wn(),role:"user",content:"{{question}}"}]}),Ct=n=>({template:{__type:"chat",messageIds:n.messages.map(a=>a.id)},messages:n.messages.reduce((a,t)=>(a[t.id]=t,a),{})}),L0={__type:"text_completion",prompt:"{{question}}"},k0=()=>({model:{provider:pl,modelName:Ds,invocationParameters:[],supportedInvocationParameters:[]},tools:[],toolChoice:"auto",output:void 0,spanId:null,activeRunId:null});function w0(){const n=Cl(),a=Ct(n);return{instance:{id:vl(),template:a.template,...k0()},instanceMessages:a.messages}}function r6(){return{type:"json_schema",json_schema:{name:"response",schema:{type:"object",properties:{},required:[],additionalProperties:!1},strict:!0}}}function S0(n){if(n.instances!=null&&n.instances.length>0){let o={};return{instances:n.instances.map(d=>{if(d.template.__type==="chat"){const u=Ct(d.template);return o={...o,...u.messages},{...d,template:u.template}}return d}),instanceMessages:o}}const{instance:a,instanceMessages:t}=w0(),i=Object.values(n.modelConfigByProvider);if(!(i.length>0))return{instances:[a],instanceMessages:t};const r=i.find(o=>o.provider===pl)??i[0];return a.model={...a.model,...r},{instances:[a],instanceMessages:t}}const o6=n=>{const{instances:a,instanceMessages:t}=S0(n);return on(An((l,r)=>({streaming:!0,operationType:"chat",inputMode:"manual",dirtyInstances:{},input:{variablesValueCache:{}},templateFormat:Ee.Mustache,...n,instances:a,allInstanceMessages:t,setInput:o=>{l({input:o})},setOperationType:o=>{if(o==="chat"){const c=[];let d={};r().instances.forEach(u=>{const g=Cl(),h=Ct(g);d={...d,...h.messages},c.push({...u,template:h.template})}),l({instances:c,allInstanceMessages:d})}else l({instances:r().instances.map(c=>({...c,template:L0}))});l({operationType:o})},addInstance:()=>{const o=r().instances,c=r().allInstanceMessages,d=r().instances[0];if(!d)return;let u=[],g={};if(d.template.__type==="chat"){const f=d.template.messageIds.map(b=>c[b]).map(b=>({...b,id:Wn()}));u=f.map(b=>b.id),g=f.reduce((b,y)=>(b[y.id]=y,b),{})}l({allInstanceMessages:{...c,...g},instances:[...o,{...d,...d.template.__type==="chat"?{template:{...d.template,messageIds:u}}:{},id:vl(),activeRunId:null,experimentId:null,spanId:null}]})},updateModelSupportedInvocationParameters:({instanceId:o,supportedInvocationParameters:c,modelConfigByProvider:d})=>{const u=r().instances;l({instances:u.map(g=>{if(g.id===o){const{baseUrl:h,endpoint:f,apiVersion:b,region:y}=d[g.model.provider]??{},k=po(g.model.invocationParameters,c),L=ho(k,c);return{...g,model:{...g.model,baseUrl:g.model.baseUrl??h,endpoint:g.model.endpoint??f,apiVersion:g.model.apiVersion??b,region:g.model.region??y,supportedInvocationParameters:c,invocationParameters:L},tools:c.find(w=>w.canonicalName===fo)?g.tools:[]}}return g})})},updateProvider:({instanceId:o,provider:c,modelConfigByProvider:d})=>{const u=r().instances,g=u.find(L=>L.id===o);if(!g||g.model.provider===c)return;const h=d[c],f=g.model.invocationParameters.find(L=>L.canonicalName===go||L.invocationName===mo),b=L=>L==="OLLAMA"?"http://localhost:11434/v1":null,y={model:h?{...g.model,...h,invocationParameters:[...h.invocationParameters,...f?[f]:[]],provider:c}:{...g.model,modelName:null,baseUrl:b(c),apiVersion:null,endpoint:null,region:null,provider:c},toolChoice:g0({toolChoice:g.toolChoice,targetProvider:c})??void 0,tools:p0({instanceTools:g.tools,provider:c})},k={};g.template.__type==="chat"&&g.template.messageIds.forEach(L=>{const w=r().allInstanceMessages[L];w&&(k[L]={...w,toolCalls:h0({toolCalls:w.toolCalls,provider:c})})}),l({allInstanceMessages:{...r().allInstanceMessages,...k},dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:u.map(L=>L.id===o?{...L,...y}:L)})},updateModel:({instanceId:o,patch:c})=>{const d=r().instances;d.find(g=>g.id===o)&&l({dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:d.map(g=>g.id===o?{...g,model:{...g.model,...c}}:g)})},deleteInstance:o=>{const c=r().instances;l({instances:c.filter(d=>d.id!==o),dirtyInstances:{...r().dirtyInstances,[o]:!1}})},addMessage:({playgroundInstanceId:o,messages:c})=>{const d=r().instances;let u=[];Array.isArray(c)?u=c:c?u=[c]:u=[{id:Wn(),role:_s,content:""}],l({allInstanceMessages:{...r().allInstanceMessages,...u.reduce((g,h)=>(g[h.id]=h,g),{})},dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:d.map(g=>g.id===o&&(g!=null&&g.template)&&(g==null?void 0:g.template.__type)==="chat"?{...g,template:{...g.template,messageIds:[...g.template.messageIds,...u.map(h=>h.id)]}}:g)})},updateMessage:({messageId:o,patch:c,instanceId:d})=>{const u=r().allInstanceMessages;l({allInstanceMessages:{...u,[o]:{...u[o],...c}},dirtyInstances:{...r().dirtyInstances,[d]:!0}})},deleteMessage:({instanceId:o,messageId:c})=>{const d=r().instances,u=r().allInstanceMessages;l({allInstanceMessages:Object.fromEntries(Object.entries(u).filter(([,{id:g}])=>g!==c)),dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:d.map(g=>g.id===o&&(g!=null&&g.template)&&(g==null?void 0:g.template.__type)==="chat"?{...g,template:{...g.template,messageIds:g.template.messageIds.filter(h=>h!==c)}}:g)})},updateInstance:({instanceId:o,patch:c,dirty:d})=>{const u=r().instances;l({dirtyInstances:{...r().dirtyInstances,...d!=null?{[o]:d}:{}},instances:u.map(g=>g.id===o?{...g,...c}:g)})},runPlaygroundInstances:()=>{const o=r().instances;l({instances:o.map(c=>({...c,activeRunId:C0(),spanId:null}))})},cancelPlaygroundInstances:()=>{const o=r().instances;l({instances:o.map(c=>({...c,activeRunId:null,spanId:null}))})},markPlaygroundInstanceComplete:o=>{const c=r().instances;l({instances:c.map(d=>d.id===o?{...d,activeRunId:null}:d)})},setTemplateFormat:o=>{l({templateFormat:o})},setVariableValue:(o,c)=>{const d=r().input;l({input:{...d,variablesValueCache:{...d.variablesValueCache,[o]:c}}})},setStreaming:o=>{l({streaming:o})},updateInstanceModelInvocationParameters:({instanceId:o,invocationParameters:c})=>{r().instances.find(u=>u.id===o)&&l({dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:r().instances.map(u=>u.id===o?{...u,model:{...u.model,invocationParameters:c}}:u)})},upsertInvocationParameterInput:({instanceId:o,invocationParameterInput:c})=>{const d=r().instances.find(g=>g.id===o);if(!d)return;const u=d.model.invocationParameters.find(g=>Nt(g,c));l(u?{dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:r().instances.map(g=>g.id===o?{...g,model:{...g.model,invocationParameters:g.model.invocationParameters.map(h=>Nt(h,c)?c:h)}}:g)}:{dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:r().instances.map(g=>g.id===o?{...g,model:{...g.model,invocationParameters:[...g.model.invocationParameters,c]}}:g)})},deleteInvocationParameterInput:({instanceId:o,invocationParameterInputInvocationName:c})=>{r().instances.find(u=>u.id===o)&&l({dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:r().instances.map(u=>u.id===o?{...u,model:{...u.model,invocationParameters:u.model.invocationParameters.filter(g=>g.invocationName!==c)}}:u)})},setDirty:(o,c)=>{l({dirtyInstances:{...r().dirtyInstances,[o]:c}})}})))};function x0(n){return n==="OPENAI"||n==="AZURE_OPENAI"||n==="ANTHROPIC"||n==="GOOGLE"||n==="DEEPSEEK"||n==="XAI"||n==="OLLAMA"||n==="AWS"}function s6(n){switch(n){case"OPENAI":return"OpenAI";case"AZURE_OPENAI":return"Azure OpenAI";case"ANTHROPIC":return"Anthropic";case"GOOGLE":return"Google";case"DEEPSEEK":return"DeepSeek";case"XAI":return"XAI";case"OLLAMA":return"Ollama";case"AWS":return"AWS";default:K()}}function c6(n){switch(n){case"OPENAI":return un.OPENAI.toString();case"AZURE_OPENAI":return un.AZURE.toString();case"ANTHROPIC":return un.ANTHROPIC.toString();case"GOOGLE":return un.GOOGLE.toString();case"AWS":return un.AWS.toString();case"DEEPSEEK":return"deepseek";case"XAI":return"xai";case"OLLAMA":throw new Error("Ollama is not supported");default:K()}}function T0(n){return typeof n=="object"&&n!==null&&Object.keys(n).length>0&&Object.keys(n).every(a=>a in ja)&&Object.values(n).every(a=>typeof a=="string")}function A0(n){const a={};for(const t of Object.keys(n))x0(t)&&ja[t].length===1&&(a[t]={[ja[t][0].envVarName]:n[t]});return a}const d6=n=>{const a=t=>({setCredential:({provider:i,envVarName:l,value:r})=>{t(o=>({[i]:{...o[i],[l]:r}}))},...n});return on()(na(An(a),{version:1,name:"arize-phoenix-credentials",migrate:t=>{if(T0(t))return A0(t)}}))};function ua(n){return e("div",{onClick:a=>a.stopPropagation(),css:m`
|
|
178
|
+
`}}}();il.hash="d85505e5f9dffd2a1c791f8e0007ab61";const ll={argumentDefinitions:[],kind:"Fragment",metadata:{refetch:{connection:null,fragmentPathInResult:[],operation:il}},name:"ViewerContext_viewer",selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"email",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profilePictureUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isManagementUser",storageKey:null},{alias:null,args:null,concreteType:"UserRole",kind:"LinkedField",name:"role",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"authMethod",storageKey:null},{args:null,kind:"FragmentSpread",name:"APIKeysTableFragment"}],storageKey:null}],type:"Query",abstractKey:null};ll.hash="d85505e5f9dffd2a1c791f8e0007ab61";const rl=qe.createContext({viewer:null,refetchViewer:()=>{}});function dn(){const n=qe.useContext(rl);if(n==null)throw new Error("useViewer must be used within a ViewerProvider");return n}function gs(){var a;const{viewer:n}=dn();return!(n&&((a=n==null?void 0:n.role)==null?void 0:a.name)!=="ADMIN")}function A9({query:n,children:a}){const[t,i]=F.useRefetchableFragment(ll,n),l=()=>{p.startTransition(()=>{i({},{fetchPolicy:"network-only"})})};return e(rl.Provider,{value:{viewer:t.viewer,refetchViewer:l},children:a})}function ms(n){return n.endsWith("/")?n.slice(0,-1):n}const ps=ms(window.Config.basename),_n=`${window.location.protocol}//${window.location.host}${ps}`,I9=window.Config.platformVersion,wn="returnUrl";function Zt(n,a){const t=new URL(n,window.location.origin);return a.forEach((i,l)=>{t.searchParams.append(l,i)}),t.pathname+t.search}function ol(){const n=window.Config.basename,a=n==null||n===""||n==="/",t=n!=null&&n.startsWith("/")&&!n.endsWith("/");if(!(a||t))throw new Error(`Invalid basename: ${n}`);const i=window.location.pathname,l=window.location.origin,r=new URLSearchParams(window.location.search);if(a){const o=new URL("/login",l);return o.searchParams.set(wn,Zt(i,r)),o.pathname+o.search}if(i.startsWith(n)){const o=i.slice(n.length);if(o===""||o.startsWith("/")){const d=new URL(n+"/login",l);return d.searchParams.set(wn,Zt(o,r)),d.pathname+d.search}}return n+"/login"}function M9(n){const a=window.Config.basename,t=a==null||a===""||a==="/",i=a!=null&&a.startsWith("/")&&!a.endsWith("/");if(!(t||i))throw new Error(`Invalid basename: ${a}`);return t?n:a+n}const z9=({path:n,searchParams:a})=>{const i=new URL(window.location.href).searchParams.get(wn),l=new URLSearchParams(a||{});i&&l.set(wn,i);const r=l.toString();return`${n}${r?`?${r}`:""}`},hs=n=>!(typeof n!="string"||!n.startsWith("/")||n.replace(/\\/g,"/").startsWith("//")),fs=n=>hs(n)?n:"/",F9=()=>{const n=new URL(window.location.href);return fs(n.searchParams.get(wn))},bs=_n+"/auth/refresh";class Ut extends Error{constructor(){super("Unauthorized")}}async function ys(n,a){try{return await fetch(n,a).then(t=>{if(t.status===401)throw new Ut;return t})}catch(t){if(t instanceof Ut){const i=await vs();return et(i.ok,`Failed to authenticate. Please visit ${ol()} to login.`),fetch(n,a)}if(t instanceof Error&&t.name==="AbortError")throw t}throw new Error("An unexpected error occurred while fetching data")}let mn=null;async function vs(){return mn||(mn=fetch(bs,{method:"POST"}).then(n=>n.ok?(mn=null,Promise.resolve(n)):(window.location.href=ol(),new Promise(()=>{}))),mn)}const sl=_n+"/graphql",Cs=window.Config.authenticationEnabled,cl=Cs?ys:fetch;function Ls(n,a,t){return yn.Observable.create(i=>{const l=new AbortController;return cl(n,{...a,signal:l.signal}).then(r=>(et(r instanceof Response),r.json())).then(r=>{const o=t==null?void 0:t(r);if(o)throw o;i.next(r),i.complete()}).catch(r=>{r.name==="AbortError"?i.complete():i.error(r)}),()=>{l.abort()}})}const ks=(n,a,t)=>Ls(sl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:n.text,variables:a})},i=>{if(!(!re(i)||!("errors"in i))&&Array.isArray(i.errors))return new Error(`Error fetching GraphQL query '${n.name}' with variables '${JSON.stringify(a)}': ${JSON.stringify(i.errors)}`)}),ws=X1(sl,{fetch:cl}),Kn=new yn.Environment({network:yn.Network.create(ks,ws),store:new yn.Store(new yn.RecordSource,{gcReleaseBufferSize:20})});function dl(n){return n.includes("PRIMARY")?he.primary:n.includes("CORPUS")?he.corpus:he.reference}function mt(n){const a=[],t=[],i=[];return n.forEach(l=>{const r=dl(l);r==he.primary?a.push(l):r==he.corpus?i.push(l):t.push(l)}),{primaryEventIds:a,referenceEventIds:t,corpusEventIds:i}}const Un=10,Cn="unknown",ul=J1,gl=Y1,Ss=n=>gl[n],xs=n=>ul(n/Un);var rn=(n=>(n.move="move",n.select="select",n))(rn||{}),pt=(n=>(n.default="default",n.highlight="highlight",n))(pt||{});const en=()=>el()==="light"?ts:as;function E9(){const n=en();return{coloringStrategy:N.inferences,pointGroupVisibility:{[B.primary]:!0,[B.reference]:!0},pointGroupColors:{[B.primary]:n[0],[B.reference]:n[1],[B.corpus]:Fe},metric:{type:"drift",metric:"euclideanDistance"}}}function D9(){const n=en();return{coloringStrategy:N.inferences,pointGroupVisibility:{[B.primary]:!0,[B.corpus]:!0},pointGroupColors:{[B.primary]:n[0],[B.corpus]:Fe},metric:{type:"retrieval",metric:"queryDistance"},clusterSort:{dir:"desc",column:"primaryMetricValue"}}}function _9(){return{coloringStrategy:N.correctness,pointGroupVisibility:{[ee.correct]:!0,[ee.incorrect]:!0,[ee.unknown]:!0},pointGroupColors:{[ee.correct]:Zn.Discrete2.LightBlueOrange[0],[ee.incorrect]:Zn.Discrete2.LightBlueOrange[1],[ee.unknown]:Je},metric:{type:"performance",metric:"accuracyScore"},clusterSort:{dir:"asc",column:"primaryMetricValue"}}}const Ts=n=>{const a={loading:!1,errorMessage:null,points:[],eventIdToDataMap:new Map,clusters:[],clusterSort:{dir:"desc",column:"driftRatio"},pointData:null,selectedEventIds:new Set,hoveredEventId:null,highlightedClusterId:null,selectedClusterId:null,canvasMode:"move",pointSizeScale:1,clusterColorMode:"default",coloringStrategy:N.inferences,inferencesVisibility:{primary:!0,reference:!0,corpus:!0},pointGroupVisibility:{[B.primary]:!0,[B.reference]:!0,[B.corpus]:!0},pointGroupColors:{[B.primary]:en()[0],[B.reference]:en()[1],[B.corpus]:Fe},eventIdToGroup:{},selectionDisplay:ln.gallery,selectionGridSize:nn.large,dimension:null,dimensionMetadata:null,umapParameters:{minDist:qo,nNeighbors:Qo,nSamples:Xo},hdbscanParameters:{minClusterSize:Yo,clusterMinSamples:es,clusterSelectionEpsilon:ns},clustersLoading:!1,metric:{type:"drift",metric:"euclideanDistance"},selectionSearchText:""},t=(i,l)=>({...a,...n,setInitialData:async({points:r,clusters:o,retrievals:c})=>{const d=l(),u=new Map,g=c.reduce((b,y)=>{const{queryId:k}=y;return b[k]?b[k].push(y):b[k]=[y],b},{});r.forEach(b=>{b={...b,retrievals:g[b.eventId]??[]},u.set(b.eventId,b)});const h=o.map(Wt).sort(Aa(d.clusterSort));i({loading:!1,points:r,eventIdToDataMap:u,clusters:h,clustersLoading:!1,selectedEventIds:new Set,selectedClusterId:null,pointData:null,eventIdToGroup:Re({points:r,coloringStrategy:d.coloringStrategy,pointsData:d.pointData??{},dimension:d.dimension||null,dimensionMetadata:d.dimensionMetadata})});const f=await Ms(r.map(b=>b.eventId)).catch(()=>i({errorMessage:"Failed to load the point events"}));f&&i({pointData:f,clusters:h,clustersLoading:!1,eventIdToGroup:Re({points:r,coloringStrategy:d.coloringStrategy,pointsData:f??{},dimension:d.dimension||null,dimensionMetadata:d.dimensionMetadata})})},setClusters:r=>{const o=l(),c=r.map(Wt).sort(Aa(o.clusterSort));i({clusters:c,clustersLoading:!1,selectedClusterId:null,highlightedClusterId:null})},setClusterSort:r=>{const c=[...l().clusters].sort(Aa(r));i({clusterSort:r,clusters:c})},setSelectedEventIds:r=>i({selectedEventIds:r,selectionSearchText:""}),setHoveredEventId:r=>i({hoveredEventId:r}),setHighlightedClusterId:r=>i({highlightedClusterId:r}),setSelectedClusterId:r=>i({selectedClusterId:r,highlightedClusterId:null}),setPointSizeScale:r=>i({pointSizeScale:r}),setCanvasMode:r=>i({canvasMode:r}),setClusterColorMode:r=>i({clusterColorMode:r}),setColoringStrategy:r=>{const o=l();switch(i({coloringStrategy:r}),r){case N.correctness:i({pointGroupVisibility:{[ee.correct]:!0,[ee.incorrect]:!0,[ee.unknown]:!0},pointGroupColors:{[ee.correct]:Zn.Discrete2.LightBlueOrange[0],[ee.incorrect]:Zn.Discrete2.LightBlueOrange[1],[ee.unknown]:Je},dimension:null,dimensionMetadata:null,eventIdToGroup:Re({points:o.points,coloringStrategy:r,pointsData:o.pointData??{},dimension:o.dimension||null,dimensionMetadata:o.dimensionMetadata})});break;case N.inferences:{i({pointGroupVisibility:{[B.primary]:!0,[B.reference]:!0,[B.corpus]:!0},pointGroupColors:{[B.primary]:en()[0],[B.reference]:en()[1],[B.corpus]:Fe},dimension:null,dimensionMetadata:null,eventIdToGroup:Re({points:o.points,coloringStrategy:r,pointsData:o.pointData??{},dimension:o.dimension||null,dimensionMetadata:o.dimensionMetadata})});break}case N.dimension:{i({pointGroupVisibility:{unknown:!0},pointGroupColors:{unknown:Je},dimension:null,dimensionMetadata:null,eventIdToGroup:Re({points:o.points,coloringStrategy:r,pointsData:o.pointData??{},dimension:o.dimension||null,dimensionMetadata:o.dimensionMetadata})});break}default:K()}},inferencesVisibility:{primary:!0,reference:!0,corpus:!0},setInferencesVisibility:r=>i({inferencesVisibility:r}),setPointGroupVisibility:r=>i({pointGroupVisibility:r}),selectionDisplay:ln.gallery,setSelectionDisplay:r=>i({selectionDisplay:r}),setSelectionGridSize:r=>i({selectionGridSize:r}),reset:()=>{i({points:[],clusters:[],selectedEventIds:new Set,selectedClusterId:null,eventIdToGroup:{}})},setDimension:async r=>{const o=l();i({dimension:r,dimensionMetadata:null});const c=await Is(r).catch(()=>i({errorMessage:"Failed to load the dimension metadata"}));if(c){if(i({dimensionMetadata:c}),c.categories&&c.categories.length){const d=c.categories.length,g=d<=gl.length?Ss:h=>ul(h/d);i({pointGroupVisibility:{...c.categories.reduce((h,f)=>({...h,[f]:!0}),{}),unknown:!0},pointGroupColors:{...c.categories.reduce((h,f,b)=>({...h,[f]:g(b)}),{}),unknown:Je},eventIdToGroup:Re({points:o.points,coloringStrategy:o.coloringStrategy,pointsData:o.pointData??{},dimension:r,dimensionMetadata:c})})}else if(c.interval!==null){const d=ml(c.interval);i({pointGroupVisibility:{...d.reduce((u,g)=>({...u,[g.name]:!0}),{}),unknown:!0},pointGroupColors:{...d.reduce((u,g,h)=>({...u,[g.name]:xs(h)}),{}),unknown:Je},eventIdToGroup:Re({points:o.points,coloringStrategy:o.coloringStrategy,pointsData:o.pointData??{},dimension:r,dimensionMetadata:c})})}}},setDimensionMetadata:r=>i({dimensionMetadata:r}),setUMAPParameters:r=>i({umapParameters:r}),setHDBSCANParameters:async r=>{const o=l();i({hdbscanParameters:r,clustersLoading:!0});const c=await zs({metric:o.metric,points:o.points,hdbscanParameters:r});o.setClusters(c)},getHDSCANParameters:()=>l().hdbscanParameters,getMetric:()=>l().metric,setErrorMessage:r=>i({errorMessage:r}),setLoading:r=>i({loading:r}),setMetric:async r=>{const o=l();i({metric:r,clustersLoading:!0});const c=await Fs({metric:r,clusters:o.clusters,hdbscanParameters:o.hdbscanParameters});o.setClusters(c)},setSelectionSearchText:r=>i({selectionSearchText:r})});return on()(In(t))},Gt=new Intl.NumberFormat([],{maximumFractionDigits:2});function As({min:n,max:a}){return`${Gt.format(n)} - ${Gt.format(a)}`}function ml({min:n,max:a}){const i=(a-n)/Un,l=[];for(let r=0;r<Un;r++){const o=n+r*i,c=n+(r+1)*i;l.push({min:o,max:c,name:As({min:o,max:c})})}return l}function Ta({numericGroupIntervals:n,numericValue:a}){let t=Cn,i=n.findIndex(l=>a>=l.min&&a<l.max);return i=i===-1?Un-1:i,t=n[i].name,t}function Re(n){const{points:a,coloringStrategy:t,pointsData:i,dimension:l,dimensionMetadata:r}=n,o={},c=a.map(d=>d.eventId);switch(t){case N.inferences:{const{primaryEventIds:d,referenceEventIds:u,corpusEventIds:g}=mt(c);d.forEach(h=>{o[h]=B.primary}),u.forEach(h=>{o[h]=B.reference}),g.forEach(h=>{o[h]=B.corpus});break}case N.correctness:{a.forEach(d=>{let u=ee.unknown;const{predictionLabel:g,actualLabel:h}=d.eventMetadata;g!==null&&h!==null&&(u=g===h?ee.correct:ee.incorrect),o[d.eventId]=u});break}case N.dimension:{let d;r&&(r==null?void 0:r.interval)!==null&&(d=ml(r.interval));const u=(l==null?void 0:l.type)==="prediction"&&(l==null?void 0:l.dataType)==="categorical",g=(l==null?void 0:l.type)==="prediction"&&(l==null?void 0:l.dataType)==="numeric",h=(l==null?void 0:l.type)==="actual"&&(l==null?void 0:l.dataType)==="categorical",f=(l==null?void 0:l.type)==="actual"&&(l==null?void 0:l.dataType)==="numeric";a.forEach(b=>{let y=Cn;const k=i[b.eventId];if(l!=null&&k!=null)if(u)y=k.eventMetadata.predictionLabel??Cn;else if(g){if(d==null)throw new Error("Cannot color by prediction score without numeric group intervals");const w=k.eventMetadata.predictionScore;typeof w=="number"&&(y=Ta({numericGroupIntervals:d,numericValue:w}))}else if(f){if(d==null)throw new Error("Cannot color by actual score without numeric group intervals");const w=k.eventMetadata.actualScore;typeof w=="number"&&(y=Ta({numericGroupIntervals:d,numericValue:w}))}else if(h)y=k.eventMetadata.actualLabel??Cn;else{const w=k.dimensions.find(E=>E.dimension.name===l.name);if(w!=null&&l.dataType==="categorical")y=w.value??Cn;else if(w!=null&&l.dataType==="numeric"&&d!=null){const E=typeof(w==null?void 0:w.value)=="string"?parseFloat(w.value):null;typeof E=="number"&&(y=Ta({numericGroupIntervals:d,numericValue:E}))}}o[b.eventId]=y});break}default:K()}return o}async function Is(n){const a=await F.fetchQuery(Kn,Wi,{id:n.id,getDimensionMinMax:n.dataType==="numeric",getDimensionCategories:n.dataType==="categorical"}).toPromise(),t=a==null?void 0:a.dimension;if(!n)throw new Error("Dimension not found");let i=null;return typeof(t==null?void 0:t.min)=="number"&&typeof(t==null?void 0:t.max)=="number"&&(i={min:t.min,max:t.max}),{interval:i,categories:(t==null?void 0:t.categories)??null}}async function Ms(n){var u,g,h,f,b,y;const{primaryEventIds:a,referenceEventIds:t,corpusEventIds:i}=mt([...n]),l=await F.fetchQuery(Kn,Gi,{primaryEventIds:a,referenceEventIds:t,corpusEventIds:i}).toPromise(),r=((g=(u=l==null?void 0:l.model)==null?void 0:u.primaryInferences)==null?void 0:g.events)??[],o=((f=(h=l==null?void 0:l.model)==null?void 0:h.referenceInferences)==null?void 0:f.events)??[],c=((y=(b=l==null?void 0:l.model)==null?void 0:b.corpusInferences)==null?void 0:y.events)??[];return[...r,...o,...c].reduce((k,L)=>(k[L.id]=L,k),{})}async function zs({metric:n,points:a,hdbscanParameters:t}){const i=await F.fetchQuery(Kn,Ui,{eventIds:a.map(l=>l.eventId),coordinates:a.map(l=>({x:l.position[0],y:l.position[1],z:l.position[2]})),fetchDataQualityMetric:n.type==="dataQuality",dataQualityMetricColumnName:n.type==="dataQuality"?n.dimension.name:null,fetchPerformanceMetric:n.type==="performance",performanceMetric:n.type==="performance"?n.metric:"accuracyScore",...t},{fetchPolicy:"network-only"}).toPromise();return(i==null?void 0:i.hdbscanClustering)??[]}async function Fs({metric:n,clusters:a,hdbscanParameters:t}){const i=await F.fetchQuery(Kn,Zi,{clusters:a.map(l=>({id:l.id,eventIds:l.eventIds})),fetchDataQualityMetric:n.type==="dataQuality",dataQualityMetricColumnName:n.type==="dataQuality"?n.dimension.name:null,fetchPerformanceMetric:n.type==="performance",performanceMetric:n.type==="performance"?n.metric:"accuracyScore",...t},{fetchPolicy:"network-only"}).toPromise();return(i==null?void 0:i.clusters)??[]}const Aa=n=>(a,t)=>{const{dir:i,column:l}=n,r=i==="asc",o=a[l],c=t[l];return o==null?1:c==null?-1:o>c?r?1:-1:o<c?r?-1:1:0};function Wt(n){let a=n.driftRatio,t=null;return n.dataQualityMetric?(a=n.dataQualityMetric.primaryValue,t=n.dataQualityMetric.referenceValue):n.performanceMetric?(a=n.performanceMetric.primaryValue,t=n.performanceMetric.referenceValue):n.primaryToCorpusRatio!=null&&(a=(n.primaryToCorpusRatio+1)/2*100),{...n,size:n.eventIds.length,primaryMetricValue:a,referenceMetricValue:t}}const Es=({projectId:n,tableId:a})=>`arize-phoenix-tracing-${n}-${a}`,K9=n=>{const a=t=>({...n,columnVisibility:{metadata:!1},columnSizing:{metadata:200},annotationColumnVisibility:{},setColumnVisibility:i=>{t({columnVisibility:i})},setAnnotationColumnVisibility:i=>{t({annotationColumnVisibility:i})},setColumnSizing:i=>{t(typeof i=="function"?l=>({columnSizing:i(l.columnSizing)}):{columnSizing:i})}});return on()(na(In(a),{name:Es(n)}))},Ee={NONE:"NONE",FString:"F_STRING",Mustache:"MUSTACHE"},P9={OPENAI:"OpenAI",AZURE_OPENAI:"Azure OpenAI",ANTHROPIC:"Anthropic",GOOGLE:"Google",DEEPSEEK:"DeepSeek",XAI:"xAI",OLLAMA:"Ollama",AWS:"AWS Bedrock"},pl="OPENAI",Ds="gpt-4o",_s="user",V9=["2024-10-01-preview","2024-09-01-preview","2024-08-01-preview","2024-07-01-preview","2024-06-01","2024-05-01-preview","2024-04-01-preview","2024-03-01-preview","2024-02-15-preview","2024-02-01","2023-10-01-preview","2023-09-01-preview","2023-08-01-preview","2023-07-01-preview","2023-06-01-preview","2023-05-15","2023-03-15-preview"],O9={user:["user","human"],ai:["assistant","bot","ai","model"],system:["system","developer"],tool:["tool"]},ja={OPENAI:[{envVarName:"OPENAI_API_KEY",isRequired:!0}],AZURE_OPENAI:[{envVarName:"AZURE_OPENAI_API_KEY",isRequired:!0}],ANTHROPIC:[{envVarName:"ANTHROPIC_API_KEY",isRequired:!0}],GOOGLE:[{envVarName:"GEMINI_API_KEY",isRequired:!0}],DEEPSEEK:[{envVarName:"DEEPSEEK_API_KEY",isRequired:!0}],XAI:[{envVarName:"XAI_API_KEY",isRequired:!0}],OLLAMA:[],AWS:[{envVarName:"AWS_ACCESS_KEY_ID",isRequired:!0},{envVarName:"AWS_SECRET_ACCESS_KEY",isRequired:!0},{envVarName:"AWS_SESSION_TOKEN",isRequired:!1}]},hl=({parser:n,text:a})=>{const t=n.parse(a),i=[],l=t.cursor();do if(l.name==="Variable"){const r=a.slice(l.node.from,l.node.to).trim();i.push(r)}while(l.next());return i},fl=({parser:n,text:a,variables:t,postFormat:i})=>{if(!a)return"";let l=a,r=n.parse(l),o=r.cursor();do if(o.name==="Variable"){const c=l.slice(o.node.from,o.node.to).trim(),d=o.node.parent;c in t&&(l=`${l.slice(0,d.from)}${t[c]}${l.slice(d.to)}`,r=n.parse(l),o=r.cursor())}while(o.next());return i&&(l=i(l)),l},Ks=ki.deserialize({version:14,states:"!WQQOPOOOcOQO'#C^OOOO'#Cb'#CbQQOPOOOOOO'#Cc'#CcOhOQO,58xOOOO-E6`-E6`OOOO-E6a-E6aOOOO1G.d1G.d",stateData:"v~ORPOXQOYQOZQO[QO~OSSO~OSSOTWO~OZRX[X~",goto:"iWPPXPPP]cTQORQRORURQTPRVT",nodeNames:"⚠ FStringTemplate Template LBrace Variable RBrace",maxTerm:12,skippedNodes:[0],repeatNodeCount:2,tokenData:"%[~RaXY!WYZ!W]^!Wpq!Wqr!Wrs!]sw!Wwx!bx#O!W#O#P!i#P#o!W#o#p$c#p#q!W#q#r$|#r;'S!W;'S;=`%U<%lO!W~!]OX~~!bO[~~!iOX~[~~!lYrs!W!P!Q!W#O#P!W#U#V!W#Y#Z!W#b#c!W#f#g!W#h#i!W#i#j#[#o#p$^~#_R!Q![#h!c!i#h#T#Z#h~#kR!Q![#t!c!i#t#T#Z#t~#wR!Q![$Q!c!i$Q#T#Z$Q~$TR!Q![!W!c!i!W#T#Z!W~$cOZ~~$jQR~X~#o#p$p#q#r$w~$wOZ~[~~$|OY~~%RPX~#q#r!]~%XP;=`<%l!W",tokenizers:[1,new wi("!p~RVO#Oh#O#P!P#P#qh#q#r!j#r;'Sh;'S;=`y<%lOh~mSS~O#qh#r;'Sh;'S;=`y<%lOh~|P;=`<%lh~!UTS~O#qh#q#r!e#r;'Sh;'S;=`y<%lOh~!jOS~~!oOT~~",77)],topRules:{FStringTemplate:[0,1]},tokenPrec:32}),ht=$i.define({parser:Ks.configure({props:[Si({"Template/LBrace":Me.quote,"Template/RBrace":Me.quote,"Template/Variable":Me.variableName,"⚠":Me.invalid})]}),languageData:{}}),Ps=({text:n,variables:a})=>fl({parser:ht.parser,text:n,variables:a,postFormat:t=>t.replaceAll("\\{","{").replaceAll("{{","{").replaceAll("}}","}")}),Vs=n=>hl({parser:ht.parser,text:n});function Os(){return new Bi(ht)}const Rs=ki.deserialize({version:14,states:"!WQQOPOOOcOQO'#C^OOOO'#Cb'#CbQQOPOOOOOO'#Cc'#CcOhOQO,58xOOOO-E6`-E6`OOOO-E6a-E6aOOOO1G.d1G.d",stateData:"v~ORPOXQOYQOZQO[QO~OSSO~OSSOTWO~OZRX[X~",goto:"iWPPXPPP]cTQORQRORURQTPRVT",nodeNames:"⚠ MustacheLikeTemplate Template LBrace Variable RBrace",maxTerm:12,skippedNodes:[0],repeatNodeCount:2,tokenData:"%W~RaXY!WYZ!W]^!Wpq!Wqr!Wrs!]sw!Wwx!bx#O!W#O#P!i#P#o!W#o#p$c#p#q!W#q#r!b#r;'S!W;'S;=`%Q<%lO!W~!]OX~~!bO[~~!iOX~[~~!lYrs!W!P!Q!W#O#P!W#U#V!W#Y#Z!W#b#c!W#f#g!W#h#i!W#i#j#[#o#p$^~#_R!Q![#h!c!i#h#T#Z#h~#kR!Q![#t!c!i#t#T#Z#t~#wR!Q![$Q!c!i$Q#T#Z$Q~$TR!Q![!W!c!i!W#T#Z!W~$cOZ~~$jPX~[~#o#p$m~$rPR~#q#r$u~$xP#q#r${~%QOY~~%TP;=`<%l!W",tokenizers:[1,new wi("#e~RVO#oh#o#p!P#p#qh#q#r#X#r;'Sh;'S;=`y<%lOh~mSS~O#qh#r;'Sh;'S;=`y<%lOh~|P;=`<%lh~!USS~O#q!b#r;'S!b;'S;=`#R<%lO!b~!gVS~O#O!b#O#P!b#P#q!b#q#r!|#r;'S!b;'S;=`#R<%lO!b~#ROS~~#UP;=`<%l!b~#[P#q#r#_~#dOT~~",112)],topRules:{MustacheLikeTemplate:[0,1]},tokenPrec:32}),ft=$i.define({parser:Rs.configure({props:[Si({"Template/LBrace":Me.quote,"Template/RBrace":Me.quote,"Template/Variable":Me.variableName,"Template/⚠":Me.invalid})]}),languageData:{}}),Ns=({text:n,variables:a})=>fl({parser:ft.parser,text:n,variables:a,postFormat:t=>t.replaceAll("\\{{","{{")}),$s=n=>hl({parser:ft.parser,text:n});function Bs(){return new Bi(ft)}const R9=n=>{switch(n){case Ee.FString:return{format:Ps,extractVariables:Vs};case Ee.Mustache:return{format:Ns,extractVariables:$s};case Ee.NONE:return{format:({text:a})=>a,extractVariables:()=>[]};default:K()}},Hs=C.union([C.string(),C.number(),C.boolean(),C.null()]),Gn=C.lazy(()=>C.union([Hs,C.array(Gn),C.record(Gn)])),Qt=C.object({type:C.enum(["string","number","boolean","object","array","null","integer"]).describe("The type of the parameter"),description:C.string().optional().describe("A description of the parameter"),enum:C.array(C.string()).optional().describe("The allowed values")}).passthrough().describe("A map of parameter names to their definitions"),bt=C.object({type:C.literal("object"),properties:C.record(C.union([Qt,C.object({anyOf:C.array(Qt)}).describe("A list of possible parameter names to their definitions")])).optional(),required:C.array(C.string()).optional().describe("The required parameters"),additionalProperties:C.boolean().optional().describe("Whether or not additional properties are allowed in the schema")}).passthrough(),Pn=C.object({type:C.literal("function").describe("The type of the tool"),function:C.object({name:C.string().describe("The name of the function"),description:C.string().optional().describe("A description of the function"),parameters:bt.extend({strict:C.boolean().optional().describe("Whether or not the arguments should exactly match the function definition, only supported for OpenAI models")}).describe("The parameters that the function accepts")}).passthrough().describe("The function definition")}).passthrough(),N9=sn(Pn,{removeAdditionalStrategy:"passthrough"}),la=C.object({name:C.string(),description:C.string(),input_schema:bt}),$9=sn(la,{removeAdditionalStrategy:"passthrough"}),ra=C.object({toolSpec:C.object({name:C.string(),description:C.string().min(1),inputSchema:C.object({json:bt})})}),B9=sn(ra,{removeAdditionalStrategy:"passthrough"}),js=ra.transform(n=>({type:"function",function:{name:n.toolSpec.name,description:n.toolSpec.description,parameters:n.toolSpec.inputSchema.json}})),Zs=Pn.transform(n=>({toolSpec:{name:n.function.name,description:n.function.description??n.function.name,inputSchema:{json:n.function.parameters}}})),Us=la.transform(n=>({type:"function",function:{name:n.name,description:n.description,parameters:n.input_schema}})),Gs=Pn.transform(n=>({name:n.function.name,description:n.function.description??n.function.name,input_schema:n.function.parameters})),bl=C.union([Pn,la,ra,Gn]),Ws=n=>{const{success:a,data:t}=Pn.safeParse(n);if(a)return{provider:"OPENAI",validatedToolDefinition:t};const{success:i,data:l}=la.safeParse(n);if(i)return{provider:"ANTHROPIC",validatedToolDefinition:l};const{success:r,data:o}=ra.safeParse(n);return r?{provider:"AWS",validatedToolDefinition:o}:{provider:"UNKNOWN",validatedToolDefinition:null}},Ia=n=>{const{provider:a,validatedToolDefinition:t}=Ws(n);switch(a){case"AZURE_OPENAI":case"OPENAI":return t;case"ANTHROPIC":return Us.parse(t);case"AWS":return js.parse(t);case"UNKNOWN":return null;default:K()}},qt=({toolDefinition:n,targetProvider:a})=>{switch(a){case"AZURE_OPENAI":case"OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":return n;case"ANTHROPIC":return Gs.parse(n);case"AWS":return Zs.parse(n);case"GOOGLE":return n;default:K()}};function H9(n){return{type:"function",function:{name:`new_function_${n}`,description:"a description",parameters:{type:"object",properties:{new_arg:{type:"string"}},required:[]}}}}function j9(n){return{name:`new_function_${n}`,description:"a description",input_schema:{type:"object",properties:{new_arg:{type:"string"}},required:[]}}}function Z9(n){return{toolSpec:{name:`new_function_${n}`,description:"a description",inputSchema:{json:{type:"object",properties:{new_arg:{type:"string"}},required:[]}}}}}const U9=n=>{const a=bl.safeParse(n);return!a.success||a.data===null||!re(a.data)?null:"function"in a.data&&re(a.data.function)&&"name"in a.data.function&&typeof a.data.function.name=="string"?a.data.function.name:"name"in a.data&&typeof a.data.name=="string"?a.data.name:null},G9=n=>{const a=bl.safeParse(n);return!a.success||a.data===null||!re(a.data)?null:"function"in a.data&&re(a.data.function)&&"description"in a.data.function&&typeof a.data.function.description=="string"?a.data.function.description:"description"in a.data&&typeof a.data.description=="string"?a.data.description:null};function Qs({str:n,excludePrimitives:a=!1,excludeArray:t=!1,excludeNull:i=!1}){try{const l=JSON.parse(n);if(a&&typeof l!="object"||t&&Array.isArray(l)||i&&l===null)return!1}catch{return!1}return!0}function qs(n){return Qs({str:n,excludeArray:!0,excludePrimitives:!0})}function oa(n){try{return{json:JSON.parse(n)}}catch(a){return{json:null,parseError:a}}}function W9(...n){try{return{json:JSON.stringify(...n)}}catch(a){return{json:null,stringifyError:a}}}function yl(n,a="",t="."){const i={};for(const[l,r]of Object.entries(n)){const o=a?`${a}${t}${l}`:l;r&&typeof r=="object"?Object.assign(i,yl(r,o,t)):i[o]=r}return i}function Q9(n,a="."){try{const t=JSON.parse(n);return typeof t!="object"?{}:yl(t,"",a)}catch{}return{}}const Vn=C.object({id:C.string().describe("The ID of the tool call"),type:C.literal("function").describe("The type of the tool call").default("function"),function:C.object({name:C.string().describe("The name of the function"),arguments:C.record(C.unknown()).describe("The arguments for the function")}).describe("The function that is being called").passthrough()}),Xs=C.array(Vn),q9=sn(Xs,{removeAdditionalStrategy:"passthrough"}),sa=C.object({toolUse:C.object({toolUseId:C.string().describe("The ID of the tool call"),name:C.string().describe("The name of the tool"),input:C.record(C.unknown()).describe("The input for the tool")})}),Ys=C.array(sa),X9=sn(Ys,{removeAdditionalStrategy:"passthrough"}),Js=Vn.transform(n=>({toolUse:{toolUseId:n.id,name:n.function.name,input:n.function.arguments}})),e0=sa.transform(n=>({id:n.toolUse.toolUseId,type:"function",function:{name:n.toolUse.name,arguments:n.toolUse.input}})),ca=C.object({id:C.string().describe("The ID of the tool call"),type:C.literal("tool_use"),name:C.string().describe("The name of the tool"),input:C.record(C.unknown()).describe("The input for the tool")}).passthrough(),n0=C.array(ca),Y9=sn(n0,{removeAdditionalStrategy:"passthrough"}),a0=ca.transform(n=>({id:n.id,type:"function",function:{name:n.name,arguments:n.input}})),t0=Vn.transform(n=>({id:n.id,type:"tool_use",name:n.function.name,input:typeof n.function.arguments=="string"?{[n.function.arguments]:n.function.arguments}:n.function.arguments??{}})),i0=C.union([Vn,ca,sa,Gn]);C.array(i0);const l0=n=>{const{success:a,data:t}=Vn.safeParse(n);if(a)return{provider:"OPENAI",validatedToolCall:t};const{success:i,data:l}=ca.safeParse(n);if(i)return{provider:"ANTHROPIC",validatedToolCall:l};const{success:r,data:o}=sa.safeParse(n);return r?{provider:"AWS",validatedToolCall:o}:{provider:"UNKNOWN",validatedToolCall:null}},He=n=>{const{provider:a,validatedToolCall:t}=l0(n);switch(a){case"AZURE_OPENAI":case"OPENAI":return t;case"ANTHROPIC":return a0.parse(t);case"AWS":return e0.parse(t);case"UNKNOWN":return null;default:K()}},Za=({toolCall:n,targetProvider:a})=>{switch(a){case"AZURE_OPENAI":case"OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":return n;case"AWS":return Js.parse(n);case"ANTHROPIC":return t0.parse(n);case"GOOGLE":return n;default:K()}},J9=(n,a)=>{const t=He({id:n.toolCall.toolCallId,function:{name:n.toolCall.toolCall.name,arguments:oa(n.toolCall.toolCall.arguments).json||""}});return t?Za({toolCall:t,targetProvider:a}):null};function e6(){return{id:"",type:"function",function:{name:"",arguments:{}}}}function n6(){return{id:"",type:"tool_use",name:"",input:{}}}const yt=C.object({id:C.string().optional(),name:C.string().optional(),arguments:C.record(C.unknown()).optional(),function:C.object({name:C.string().optional(),arguments:C.record(C.unknown()).optional()}).optional()});function a6(n){let a=n;typeof n=="string"&&(a=oa(n).json);const t=He(a);if(t)return t.id;const i=yt.safeParse(a);return i.success?i.data.id??i.data.name??null:null}function t6(n){var l;let a=n;typeof n=="string"&&(a=oa(n).json);const t=He(a);if(t)return t.function.name;const i=yt.safeParse(a);return i.success?((l=i.data.function)==null?void 0:l.name)??i.data.name??i.data.id??null:null}function i6(n){var l;let a=n;typeof n=="string"&&(a=oa(n).json);const t=He(a);if(t)return t.function.arguments;const i=yt.safeParse(a);return i.success?i.data.arguments??((l=i.data.function)==null?void 0:l.arguments)??null:null}const da=rs()(C.union([C.literal("auto"),C.literal("none"),C.literal("required"),C.object({type:C.literal("function"),function:C.object({name:C.string()})})]));C.discriminatedUnion("type",[C.object({type:C.literal("auto")}),C.object({type:C.literal("any")}),C.object({type:C.literal("tool"),name:C.string()}),C.object({type:C.literal("none")})]);const vt=C.discriminatedUnion("type",[C.object({type:C.literal("none")}),C.object({type:C.literal("auto"),disable_parallel_tool_use:C.boolean().optional()}),C.object({type:C.literal("any"),disable_parallel_tool_use:C.boolean().optional()}),C.object({type:C.literal("tool"),name:C.string(),disable_parallel_tool_use:C.boolean().optional()})]),r0=vt.transform(n=>{switch(n.type){case"any":return"required";case"auto":return"auto";case"tool":return n.name?{type:"function",function:{name:n.name}}:"auto";case"none":return"none";default:return"auto"}}),o0=da.transform(n=>{if(re(n))return{type:"tool",name:n.function.name};switch(n){case"none":return{type:"none"};case"auto":return{type:"auto"};case"required":return{type:"any"};default:K()}}),s0=da.transform(n=>{if(re(n))return{type:"tool",name:n.function.name};switch(n){case"none":return{type:"none"};case"auto":return{type:"auto"};case"required":return{type:"any"};default:K()}});C.union([da,vt]);const c0=n=>{const{success:a,data:t}=da.safeParse(n);if(a)return{provider:"OPENAI",toolChoice:t};const{success:i,data:l}=vt.safeParse(n);return i?{provider:"ANTHROPIC",toolChoice:l}:{provider:null,toolChoice:null}},d0=n=>{const{provider:a,toolChoice:t}=c0(n);if(a==null||t==null)throw new Error("Could not detect provider of tool choice");switch(a){case"AZURE_OPENAI":case"OPENAI":return t;case"ANTHROPIC":return r0.parse(t);default:K()}},u0=({toolChoice:n,targetProvider:a})=>{switch(a){case"AZURE_OPENAI":case"OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":return n;case"AWS":return o0.parse(n);case"ANTHROPIC":return s0.parse(n);case"GOOGLE":return n;default:K()}},g0=({toolChoice:n,targetProvider:a})=>{try{const t=d0(n);return u0({toolChoice:t,targetProvider:a})}catch{return null}},Xt=n=>n,Yt=n=>n,Jt=n=>n,m0=n=>re(n)?"function"in n&&re(n.function)&&"name"in n.function&&typeof n.function.name=="string"?n.function.name:"name"in n&&typeof n.name=="string"?n.name:null:null,p0=({instanceTools:n,provider:a})=>n.map(t=>{switch(a){case"OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":case"AZURE_OPENAI":{const i=Ia(t.definition);return{...t,definition:i??t.definition}}case"ANTHROPIC":{const i=Ia(t.definition),l=i?qt({toolDefinition:i,targetProvider:a}):t.definition;return{...t,definition:l}}case"AWS":{const i=Ia(t.definition),l=i?qt({toolDefinition:i,targetProvider:a}):t.definition;return{...t,definition:l}}case"GOOGLE":return t;default:K()}}),h0=({toolCalls:n,provider:a})=>{if(n!=null)return n.map(t=>{switch(a){case"OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":case"AZURE_OPENAI":return He(t)??t;case"ANTHROPIC":{const i=He(t);return i!=null?Za({toolCall:i,targetProvider:a}):t}case"AWS":{const i=He(t);return i!=null?Za({toolCall:i,targetProvider:a}):t}case"GOOGLE":return t;default:K()}})};let f0=0,b0=0,y0=1,v0=0;const vl=()=>f0++,Wn=()=>y0++,l6=()=>v0++,C0=()=>b0++,Cl=()=>({__type:"chat",messages:[{id:Wn(),role:"system",content:"You are a chatbot"},{id:Wn(),role:"user",content:"{{question}}"}]}),Ct=n=>({template:{__type:"chat",messageIds:n.messages.map(a=>a.id)},messages:n.messages.reduce((a,t)=>(a[t.id]=t,a),{})}),L0={__type:"text_completion",prompt:"{{question}}"},k0=()=>({model:{provider:pl,modelName:Ds,invocationParameters:[],supportedInvocationParameters:[]},tools:[],toolChoice:"auto",output:void 0,spanId:null,activeRunId:null});function w0(){const n=Cl(),a=Ct(n);return{instance:{id:vl(),template:a.template,...k0()},instanceMessages:a.messages}}function r6(){return{type:"json_schema",json_schema:{name:"response",schema:{type:"object",properties:{},required:[],additionalProperties:!1},strict:!0}}}function S0(n){if(n.instances!=null&&n.instances.length>0){let o={};return{instances:n.instances.map(d=>{if(d.template.__type==="chat"){const u=Ct(d.template);return o={...o,...u.messages},{...d,template:u.template}}return d}),instanceMessages:o}}const{instance:a,instanceMessages:t}=w0(),i=Object.values(n.modelConfigByProvider);if(!(i.length>0))return{instances:[a],instanceMessages:t};const r=i.find(o=>o.provider===pl)??i[0];return a.model={...a.model,...r},{instances:[a],instanceMessages:t}}const o6=n=>{const{instances:a,instanceMessages:t}=S0(n);return on(In((l,r)=>({streaming:!0,operationType:"chat",inputMode:"manual",dirtyInstances:{},input:{variablesValueCache:{}},templateFormat:Ee.Mustache,...n,instances:a,allInstanceMessages:t,setInput:o=>{l({input:o})},setOperationType:o=>{if(o==="chat"){const c=[];let d={};r().instances.forEach(u=>{const g=Cl(),h=Ct(g);d={...d,...h.messages},c.push({...u,template:h.template})}),l({instances:c,allInstanceMessages:d})}else l({instances:r().instances.map(c=>({...c,template:L0}))});l({operationType:o})},addInstance:()=>{const o=r().instances,c=r().allInstanceMessages,d=r().instances[0];if(!d)return;let u=[],g={};if(d.template.__type==="chat"){const f=d.template.messageIds.map(b=>c[b]).map(b=>({...b,id:Wn()}));u=f.map(b=>b.id),g=f.reduce((b,y)=>(b[y.id]=y,b),{})}l({allInstanceMessages:{...c,...g},instances:[...o,{...d,...d.template.__type==="chat"?{template:{...d.template,messageIds:u}}:{},id:vl(),activeRunId:null,experimentId:null,spanId:null}]})},updateModelSupportedInvocationParameters:({instanceId:o,supportedInvocationParameters:c,modelConfigByProvider:d})=>{const u=r().instances;l({instances:u.map(g=>{if(g.id===o){const{baseUrl:h,endpoint:f,apiVersion:b,region:y}=d[g.model.provider]??{},k=mo(g.model.invocationParameters,c),L=po(k,c);return{...g,model:{...g.model,baseUrl:g.model.baseUrl??h,endpoint:g.model.endpoint??f,apiVersion:g.model.apiVersion??b,region:g.model.region??y,supportedInvocationParameters:c,invocationParameters:L},tools:c.find(w=>w.canonicalName===ho)?g.tools:[]}}return g})})},updateProvider:({instanceId:o,provider:c,modelConfigByProvider:d})=>{const u=r().instances,g=u.find(L=>L.id===o);if(!g||g.model.provider===c)return;const h=d[c],f=g.model.invocationParameters.find(L=>L.canonicalName===uo||L.invocationName===go),b=L=>L==="OLLAMA"?"http://localhost:11434/v1":null,y={model:h?{...g.model,...h,invocationParameters:[...h.invocationParameters,...f?[f]:[]],provider:c}:{...g.model,modelName:null,baseUrl:b(c),apiVersion:null,endpoint:null,region:null,provider:c},toolChoice:g0({toolChoice:g.toolChoice,targetProvider:c})??void 0,tools:p0({instanceTools:g.tools,provider:c})},k={};g.template.__type==="chat"&&g.template.messageIds.forEach(L=>{const w=r().allInstanceMessages[L];w&&(k[L]={...w,toolCalls:h0({toolCalls:w.toolCalls,provider:c})})}),l({allInstanceMessages:{...r().allInstanceMessages,...k},dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:u.map(L=>L.id===o?{...L,...y}:L)})},updateModel:({instanceId:o,patch:c})=>{const d=r().instances;d.find(g=>g.id===o)&&l({dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:d.map(g=>g.id===o?{...g,model:{...g.model,...c}}:g)})},deleteInstance:o=>{const c=r().instances;l({instances:c.filter(d=>d.id!==o),dirtyInstances:{...r().dirtyInstances,[o]:!1}})},addMessage:({playgroundInstanceId:o,messages:c})=>{const d=r().instances;let u=[];Array.isArray(c)?u=c:c?u=[c]:u=[{id:Wn(),role:_s,content:""}],l({allInstanceMessages:{...r().allInstanceMessages,...u.reduce((g,h)=>(g[h.id]=h,g),{})},dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:d.map(g=>g.id===o&&(g!=null&&g.template)&&(g==null?void 0:g.template.__type)==="chat"?{...g,template:{...g.template,messageIds:[...g.template.messageIds,...u.map(h=>h.id)]}}:g)})},updateMessage:({messageId:o,patch:c,instanceId:d})=>{const u=r().allInstanceMessages;l({allInstanceMessages:{...u,[o]:{...u[o],...c}},dirtyInstances:{...r().dirtyInstances,[d]:!0}})},deleteMessage:({instanceId:o,messageId:c})=>{const d=r().instances,u=r().allInstanceMessages;l({allInstanceMessages:Object.fromEntries(Object.entries(u).filter(([,{id:g}])=>g!==c)),dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:d.map(g=>g.id===o&&(g!=null&&g.template)&&(g==null?void 0:g.template.__type)==="chat"?{...g,template:{...g.template,messageIds:g.template.messageIds.filter(h=>h!==c)}}:g)})},updateInstance:({instanceId:o,patch:c,dirty:d})=>{const u=r().instances;l({dirtyInstances:{...r().dirtyInstances,...d!=null?{[o]:d}:{}},instances:u.map(g=>g.id===o?{...g,...c}:g)})},runPlaygroundInstances:()=>{const o=r().instances;l({instances:o.map(c=>({...c,activeRunId:C0(),spanId:null}))})},cancelPlaygroundInstances:()=>{const o=r().instances;l({instances:o.map(c=>({...c,activeRunId:null,spanId:null}))})},markPlaygroundInstanceComplete:o=>{const c=r().instances;l({instances:c.map(d=>d.id===o?{...d,activeRunId:null}:d)})},setTemplateFormat:o=>{l({templateFormat:o})},setVariableValue:(o,c)=>{const d=r().input;l({input:{...d,variablesValueCache:{...d.variablesValueCache,[o]:c}}})},setStreaming:o=>{l({streaming:o})},updateInstanceModelInvocationParameters:({instanceId:o,invocationParameters:c})=>{r().instances.find(u=>u.id===o)&&l({dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:r().instances.map(u=>u.id===o?{...u,model:{...u.model,invocationParameters:c}}:u)})},upsertInvocationParameterInput:({instanceId:o,invocationParameterInput:c})=>{const d=r().instances.find(g=>g.id===o);if(!d)return;const u=d.model.invocationParameters.find(g=>$t(g,c));l(u?{dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:r().instances.map(g=>g.id===o?{...g,model:{...g.model,invocationParameters:g.model.invocationParameters.map(h=>$t(h,c)?c:h)}}:g)}:{dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:r().instances.map(g=>g.id===o?{...g,model:{...g.model,invocationParameters:[...g.model.invocationParameters,c]}}:g)})},deleteInvocationParameterInput:({instanceId:o,invocationParameterInputInvocationName:c})=>{r().instances.find(u=>u.id===o)&&l({dirtyInstances:{...r().dirtyInstances,[o]:!0},instances:r().instances.map(u=>u.id===o?{...u,model:{...u.model,invocationParameters:u.model.invocationParameters.filter(g=>g.invocationName!==c)}}:u)})},setDirty:(o,c)=>{l({dirtyInstances:{...r().dirtyInstances,[o]:c}})}})))};function x0(n){return n==="OPENAI"||n==="AZURE_OPENAI"||n==="ANTHROPIC"||n==="GOOGLE"||n==="DEEPSEEK"||n==="XAI"||n==="OLLAMA"||n==="AWS"}function s6(n){switch(n){case"OPENAI":return"OpenAI";case"AZURE_OPENAI":return"Azure OpenAI";case"ANTHROPIC":return"Anthropic";case"GOOGLE":return"Google";case"DEEPSEEK":return"DeepSeek";case"XAI":return"XAI";case"OLLAMA":return"Ollama";case"AWS":return"AWS";default:K()}}function c6(n){switch(n){case"OPENAI":return gn.OPENAI.toString();case"AZURE_OPENAI":return gn.AZURE.toString();case"ANTHROPIC":return gn.ANTHROPIC.toString();case"GOOGLE":return gn.GOOGLE.toString();case"AWS":return gn.AWS.toString();case"DEEPSEEK":return"deepseek";case"XAI":return"xai";case"OLLAMA":throw new Error("Ollama is not supported");default:K()}}function T0(n){return typeof n=="object"&&n!==null&&Object.keys(n).length>0&&Object.keys(n).every(a=>a in ja)&&Object.values(n).every(a=>typeof a=="string")}function A0(n){const a={};for(const t of Object.keys(n))x0(t)&&ja[t].length===1&&(a[t]={[ja[t][0].envVarName]:n[t]});return a}const d6=n=>{const a=t=>({setCredential:({provider:i,envVarName:l,value:r})=>{t(o=>({[i]:{...o[i],[l]:r}}))},...n});return on()(na(In(a),{version:1,name:"arize-phoenix-credentials",migrate:t=>{if(T0(t))return A0(t)}}))};function ua(n){return e("div",{onClick:a=>a.stopPropagation(),css:m`
|
|
178
179
|
display: inline-block;
|
|
179
180
|
`,children:e(nt,{css:m`
|
|
180
181
|
color: var(--ac-global-link-color);
|
|
@@ -204,10 +205,10 @@ fragment ViewerContext_viewer on Query {
|
|
|
204
205
|
justify-content: center;
|
|
205
206
|
align-items: center;
|
|
206
207
|
background-color: rgba(0, 0, 0, 0.2);
|
|
207
|
-
`,children:e(
|
|
208
|
+
`,children:e(Vi,{isIndeterminate:!0,"aria-label":"loading"})});function g6(n){const{width:a="size-1250"}=n;return e(x,{width:a,backgroundColor:"light",borderStartWidth:"thin",borderStartColor:"dark",padding:"size-200",flex:"none",children:e(S,{direction:"column",alignItems:"end",justifyContent:"center",height:"100%",children:n.children})})}const I0=2e3,M0=m`
|
|
208
209
|
flex: none;
|
|
209
210
|
box-sizing: content-box;
|
|
210
|
-
`;function Lt(n){const{text:a,size:t="S",...i}=n,[l,r]=p.useState(!1),o=p.useCallback(()=>{const c=typeof a=="string"?a:a.current||"";
|
|
211
|
+
`;function Lt(n){const{text:a,size:t="S",...i}=n,[l,r]=p.useState(!1),o=p.useCallback(()=>{const c=typeof a=="string"?a:a.current||"";xi(c),r(!0),setTimeout(()=>{r(!1)},I0)},[a]);return e("div",{className:"copy-to-clipboard-button",css:M0,children:s(ve,{delay:0,offset:5,children:[e(M,{size:t,leadingVisual:e(I,{svg:l?e(Sl,{}):e(Al,{})}),onPress:o,...i}),e(De,{children:"Copy"})]})})}const Ll={margin:["margin",O],marginStart:[le("marginLeft","marginRight"),O],marginEnd:[le("marginRight","marginLeft"),O],marginTop:["marginTop",O],marginBottom:["marginBottom",O],marginX:[["marginLeft","marginRight"],O],marginY:[["marginTop","marginBottom"],O],width:["width",O],height:["height",O],minWidth:["minWidth",O],minHeight:["minHeight",O],maxWidth:["maxWidth",O],maxHeight:["maxHeight",O],isHidden:["display",P0],alignSelf:["alignSelf",ie],justifySelf:["justifySelf",ie],position:["position",za],zIndex:["zIndex",za],top:["top",O],bottom:["bottom",O],start:[le("left","right"),O],end:[le("right","left"),O],left:["left",O],right:["right",O],order:["order",za],flex:["flex",V0],flexGrow:["flexGrow",ie],flexShrink:["flexShrink",ie],flexBasis:["flexBasis",ie],gridArea:["gridArea",ie],gridColumn:["gridColumn",ie],gridColumnEnd:["gridColumnEnd",ie],gridColumnStart:["gridColumnStart",ie],gridRow:["gridRow",ie],gridRowEnd:["gridRowEnd",ie],gridRowStart:["gridRowStart",ie]},z0={...Ll,backgroundColor:["backgroundColor",K0],borderWidth:["borderWidth",we],borderStartWidth:[le("borderLeftWidth","borderRightWidth"),we],borderEndWidth:[le("borderRightWidth","borderLeftWidth"),we],borderLeftWidth:["borderLeftWidth",we],borderRightWidth:["borderRightWidth",we],borderTopWidth:["borderTopWidth",we],borderBottomWidth:["borderBottomWidth",we],borderXWidth:[["borderLeftWidth","borderRightWidth"],we],borderYWidth:[["borderTopWidth","borderBottomWidth"],we],borderColor:["borderColor",ke],borderStartColor:[le("borderLeftColor","borderRightColor"),ke],borderEndColor:[le("borderRightColor","borderLeftColor"),ke],borderLeftColor:["borderLeftColor",ke],borderRightColor:["borderRightColor",ke],borderTopColor:["borderTopColor",ke],borderBottomColor:["borderBottomColor",ke],borderXColor:[["borderLeftColor","borderRightColor"],ke],borderYColor:[["borderTopColor","borderBottomColor"],ke],borderRadius:["borderRadius",Se],borderTopStartRadius:[le("borderTopLeftRadius","borderTopRightRadius"),Se],borderTopEndRadius:[le("borderTopRightRadius","borderTopLeftRadius"),Se],borderBottomStartRadius:[le("borderBottomLeftRadius","borderBottomRightRadius"),Se],borderBottomEndRadius:[le("borderBottomRightRadius","borderBottomLeftRadius"),Se],borderTopLeftRadius:["borderTopLeftRadius",Se],borderTopRightRadius:["borderTopRightRadius",Se],borderBottomLeftRadius:["borderBottomLeftRadius",Se],borderBottomRightRadius:["borderBottomRightRadius",Se],padding:["padding",O],paddingStart:[le("paddingLeft","paddingRight"),O],paddingEnd:[le("paddingRight","paddingLeft"),O],paddingLeft:["paddingLeft",O],paddingRight:["paddingRight",O],paddingTop:["paddingTop",O],paddingBottom:["paddingBottom",O],paddingX:[["paddingLeft","paddingRight"],O],paddingY:[["paddingTop","paddingBottom"],O],overflow:["overflow",ie]},ei={borderWidth:"borderStyle",borderLeftWidth:"borderLeftStyle",borderRightWidth:"borderRightStyle",borderTopWidth:"borderTopStyle",borderBottomWidth:"borderBottomStyle"},F0=/(%|px|em|rem|vw|vh|auto|cm|mm|in|pt|pc|ex|ch|rem|vmin|vmax|fr)$/,E0=/^\s*\w+\(/,D0=/(static-)?size-\d+|single-line-(height|width)/g;function O(n){return typeof n=="number"?n+"px":F0.test(n)?n:E0.test(n)?n.replace(D0,"var(--ac-global-dimension-$&)"):`var(--ac-global-dimension-${n})`}function Ma(n,a){return n=kt(n,a),O(n)}function _0(n,a,t,i){const l={};for(const r in n){const o=a[r];if(!o||n[r]==null)continue;let[c,d]=o;typeof c=="function"&&(c=c(t));const u=kt(n[r],i),g=d(u);if(Array.isArray(c))for(const h of c)l[h]=g;else l[c]=g}for(const r in ei)l[r]&&(l[ei[r]]="solid",l.boxSizing="border-box");return l}function le(n,a){return t=>t==="rtl"?a:n}function On(n,a="default"){return`var(--ac-global-color-${n}, var(--ac-semantic-${n}-color-${a}))`}function K0(n){return`var(--ac-global-background-color-${n}, ${On(n,"background")})`}function ke(n){return n==="default"?"var(--ac-global-border-color)":`var(--ac-global-border-color-${n}, ${On(n,"border")})`}function we(n){return`var(--ac-global-border-size-${n})`}function ie(n){return n}function Se(n){return`var(--ac-global-rounding-${n})`}function P0(n){return n?"none":void 0}function za(n){return n}function V0(n){return typeof n=="boolean"?n?"1":void 0:""+n}function kt(n,a){if(n&&typeof n=="object"&&!Array.isArray(n)){for(let t=0;t<a.length;t++){const i=a[t];if(n[i]!=null)return n[i]}return n.base}return n}function Qn(n,a=Ll,t={}){const{...i}=n,{direction:l}=er(),{matchedBreakpoints:r=["base"]}=t,c={..._0(n,a,l,r)};i.className&&console.warn("The className prop is unsafe and is unsupported in phoenix Components"),i.style&&console.warn("The style prop is unsafe and is unsupported in phoenix Components. ");const d={style:c};return kt(n.isHidden,r)&&(d.hidden=!0),{styleProps:d}}const kl=m`
|
|
211
212
|
margin: 0;
|
|
212
213
|
font-weight: 400;
|
|
213
214
|
&[data-size="XS"] {
|
|
@@ -261,10 +262,10 @@ fragment ViewerContext_viewer on Query {
|
|
|
261
262
|
}
|
|
262
263
|
`,R0=n=>{if(n==="inherit")return"inherit";if(n.startsWith("text-")){const[,a]=n.split("-");return`var(--ac-global-text-color-${a})`}return On(n)},N0=n=>m(m`
|
|
263
264
|
color: ${R0(n)};
|
|
264
|
-
`,kl);function $0(n,a){const{isDisabled:t=!1}=n,{children:i,color:l=t?"text-300":"text-900",size:r="S",weight:o="normal",fontStyle:c="normal",...d}=n,{styleProps:u}=Qn(d);return e(
|
|
265
|
+
`,kl);function $0(n,a){const{isDisabled:t=!1}=n,{children:i,color:l=t?"text-300":"text-900",size:r="S",weight:o="normal",fontStyle:c="normal",...d}=n,{styleProps:u}=Qn(d);return e(Ti,{className:"ac-text",...d,...u,css:m`
|
|
265
266
|
${N0(l)};
|
|
266
267
|
font-style: ${c};
|
|
267
|
-
`,"data-size":r,"data-weight":o,ref:a,children:i})}const v=p.forwardRef($0);function B0(n,a){const{children:t,level:i=3,weight:l="normal",...r}=n;return e(
|
|
268
|
+
`,"data-size":r,"data-weight":o,ref:a,children:i})}const v=p.forwardRef($0);function B0(n,a){const{children:t,level:i=3,weight:l="normal",...r}=n;return e(Ai,{...r,css:m(kl,O0),className:R("ac-Heading",n.className),ref:a,level:i,"data-level":i,"data-weight":l,children:t})}const Y=p.forwardRef(B0),H0=m`
|
|
268
269
|
font-family: -apple-system, "system-ui", "Segoe UI", "Noto Sans", Helvetica,
|
|
269
270
|
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
270
271
|
`,j0=p.forwardRef(function({children:a,className:t,...i},l){return e("kbd",{ref:l,css:H0,className:R("ac-keyboard",t),...i,children:a})}),Z0=m`
|
|
@@ -297,7 +298,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
297
298
|
display: flex;
|
|
298
299
|
flex-direction: column;
|
|
299
300
|
align-items: center;
|
|
300
|
-
`,children:[e(
|
|
301
|
+
`,children:[e(Oi,{...t}),a&&e(v,{children:a})]})})}function G0({error:n}){return e(x,{padding:"size-200",children:s(S,{direction:"column",children:[s(S,{direction:"column",width:"100%",alignItems:"center",children:[e(Oi,{graphicKey:"error"}),e("h1",{children:"Something went wrong"})]}),e("p",{children:"We strive to do our very best but 🐛 bugs happen. It would mean a lot to us if you could file a an issue. If you feel comfortable, please include the error details below in your issue. We will get back to you as soon as we can."}),e(S,{direction:"row",width:"100%",justifyContent:"end",children:e(ae,{href:"https://github.com/Arize-ai/phoenix/issues/new?assignees=&labels=bug&template=bug_report.md&title=%5BBUG%5D",children:"file an issue with us"})}),s("details",{open:!0,children:[e("summary",{children:"error details"}),e("pre",{css:m`
|
|
301
302
|
white-space: pre-wrap;
|
|
302
303
|
overflow-wrap: break-word;
|
|
303
304
|
overflow: hidden;
|
|
@@ -340,9 +341,9 @@ fragment ViewerContext_viewer on Query {
|
|
|
340
341
|
}
|
|
341
342
|
`,y6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"arrow-back",children:[e("rect",{width:"24",height:"24",transform:"rotate(90 12 12)",opacity:"0"}),e("path",{d:"M19 11H7.14l3.63-4.36a1 1 0 1 0-1.54-1.28l-5 6a1.19 1.19 0 0 0-.09.15c0 .05 0 .08-.07.13A1 1 0 0 0 4 12a1 1 0 0 0 .07.36c0 .05 0 .08.07.13a1.19 1.19 0 0 0 .09.15l5 6A1 1 0 0 0 10 19a1 1 0 0 0 .64-.23 1 1 0 0 0 .13-1.41L7.14 13H19a1 1 0 0 0 0-2z"})]})})}),v6=()=>s("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M7.18367 12.44H18.93C19.4765 12.44 19.92 12.8835 19.92 13.43C19.92 13.9765 19.4765 14.42 18.93 14.42H7.18367L10.7803 18.7364C11.1308 19.1562 11.0734 19.7809 10.6536 20.1303C10.4685 20.2848 10.2438 20.36 10.02 20.36C9.73688 20.36 9.45572 20.2382 9.2597 20.0036L4.3097 14.0636C4.27109 14.0171 4.25129 13.9626 4.22258 13.9111C4.19882 13.8696 4.17011 13.8339 4.15229 13.7884C4.10774 13.6745 4.08101 13.5547 4.08101 13.434C4.08101 13.433 4.08002 13.431 4.08002 13.43C4.08002 13.429 4.08101 13.427 4.08101 13.426C4.08101 13.3053 4.10774 13.1855 4.15229 13.0716C4.17011 13.0261 4.19882 12.9904 4.22258 12.9489C4.41566 12.6026 4.86258 12.476 5.25896 12.4699L7.18367 12.44Z"}),e("path",{d:"M16.8964 11.52H5.15003C4.60355 11.52 4.16003 11.0764 4.16003 10.53C4.16003 9.98348 4.60355 9.53996 5.15003 9.53996H16.8964L13.2997 5.22356C12.9493 4.8038 13.0067 4.17911 13.4264 3.82964C13.6116 3.6752 13.8363 3.59996 14.06 3.59996C14.3432 3.59996 14.6243 3.72173 14.8204 3.95636L19.7704 9.89636C19.809 9.94289 19.8288 9.99734 19.8575 10.0488C19.8812 10.0904 19.9099 10.126 19.9278 10.1716C19.9723 10.2854 19.999 10.4052 19.999 10.526C19.999 10.527 20 10.529 20 10.53C20 10.5309 19.999 10.5329 19.999 10.5339C19.999 10.6547 19.9723 10.7745 19.9278 10.8883C19.9099 10.9339 19.8812 10.9695 19.8575 11.0111C19.6644 11.3573 19.2175 11.4839 18.8211 11.4901L16.8964 11.52Z"})]}),q0=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"arrow-ios-back",children:[e("rect",{width:"24",height:"24",transform:"rotate(90 12 12)",opacity:"0"}),e("path",{d:"M13.83 19a1 1 0 0 1-.78-.37l-4.83-6a1 1 0 0 1 0-1.27l5-6a1 1 0 0 1 1.54 1.28L10.29 12l4.32 5.36a1 1 0 0 1-.78 1.64z"})]})})}),C6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"arrow-downward",children:[e("rect",{width:"24",height:"24",transform:"rotate(-90 12 12)",opacity:"0"}),e("path",{d:"M12 17a1.72 1.72 0 0 1-1.33-.64l-4.21-5.1a2.1 2.1 0 0 1-.26-2.21A1.76 1.76 0 0 1 7.79 8h8.42a1.76 1.76 0 0 1 1.59 1.05 2.1 2.1 0 0 1-.26 2.21l-4.21 5.1A1.72 1.72 0 0 1 12 17z"})]})})}),wl=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"arrow-ios-downward",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 16a1 1 0 0 1-.64-.23l-6-5a1 1 0 1 1 1.28-1.54L12 13.71l5.36-4.32a1 1 0 0 1 1.41.15 1 1 0 0 1-.14 1.46l-6 4.83A1 1 0 0 1 12 16z"})]})})}),L6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"arrow-upward",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M5.23 10.64a1 1 0 0 0 1.41.13L11 7.14V19a1 1 0 0 0 2 0V7.14l4.36 3.63a1 1 0 1 0 1.28-1.54l-6-5-.15-.09-.13-.07a1 1 0 0 0-.72 0l-.13.07-.15.09-6 5a1 1 0 0 0-.13 1.41z"})]})})}),k6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"arrow-downward",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M18.77 13.36a1 1 0 0 0-1.41-.13L13 16.86V5a1 1 0 0 0-2 0v11.86l-4.36-3.63a1 1 0 1 0-1.28 1.54l6 5 .15.09.13.07a1 1 0 0 0 .72 0l.13-.07.15-.09 6-5a1 1 0 0 0 .13-1.41z"})]})})}),w6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"arrow-up",children:[e("rect",{width:"24",height:"24",transform:"rotate(90 12 12)",opacity:"0"}),e("path",{d:"M16.21 16H7.79a1.76 1.76 0 0 1-1.59-1 2.1 2.1 0 0 1 .26-2.21l4.21-5.1a1.76 1.76 0 0 1 2.66 0l4.21 5.1A2.1 2.1 0 0 1 17.8 15a1.76 1.76 0 0 1-1.59 1z"})]})})}),wt=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"arrow-ios-forward",children:[e("rect",{width:"24",height:"24",transform:"rotate(-90 12 12)",opacity:"0"}),e("path",{d:"M10 19a1 1 0 0 1-.64-.23 1 1 0 0 1-.13-1.41L13.71 12 9.39 6.63a1 1 0 0 1 .15-1.41 1 1 0 0 1 1.46.15l4.83 6a1 1 0 0 1 0 1.27l-5 6A1 1 0 0 1 10 19z"})]})})}),X0=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"alert-triangle",children:[e("rect",{width:"24",height:"24",transform:"rotate(90 12 12)",opacity:"0"}),e("path",{d:"M22.56 16.3L14.89 3.58a3.43 3.43 0 0 0-5.78 0L1.44 16.3a3 3 0 0 0-.05 3A3.37 3.37 0 0 0 4.33 21h15.34a3.37 3.37 0 0 0 2.94-1.66 3 3 0 0 0-.05-3.04zm-1.7 2.05a1.31 1.31 0 0 1-1.19.65H4.33a1.31 1.31 0 0 1-1.19-.65 1 1 0 0 1 0-1l7.68-12.73a1.48 1.48 0 0 1 2.36 0l7.67 12.72a1 1 0 0 1 .01 1.01z"}),e("circle",{cx:"12",cy:"16",r:"1"}),e("path",{d:"M12 8a1 1 0 0 0-1 1v4a1 1 0 0 0 2 0V9a1 1 0 0 0-1-1z"})]})})}),Y0=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"alert-triangle",children:[e("rect",{width:"24",height:"24",transform:"rotate(90 12 12)",opacity:"0"}),e("path",{d:"M22.56 16.3L14.89 3.58a3.43 3.43 0 0 0-5.78 0L1.44 16.3a3 3 0 0 0-.05 3A3.37 3.37 0 0 0 4.33 21h15.34a3.37 3.37 0 0 0 2.94-1.66 3 3 0 0 0-.05-3.04zM12 17a1 1 0 1 1 1-1 1 1 0 0 1-1 1zm1-4a1 1 0 0 1-2 0V9a1 1 0 0 1 2 0z"})]})})}),St=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"alert-circle",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z"}),e("circle",{cx:"12",cy:"16",r:"1"}),e("path",{d:"M12 7a1 1 0 0 0-1 1v5a1 1 0 0 0 2 0V8a1 1 0 0 0-1-1z"})]})})}),J0=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"alert-circle",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 15a1 1 0 1 1 1-1 1 1 0 0 1-1 1zm1-4a1 1 0 0 1-2 0V8a1 1 0 0 1 2 0z"})]})})}),S6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"bar-chart",children:[e("rect",{width:"24",height:"24",transform:"rotate(90 12 12)",opacity:"0"}),e("path",{d:"M12 4a1 1 0 0 0-1 1v15a1 1 0 0 0 2 0V5a1 1 0 0 0-1-1z"}),e("path",{d:"M19 12a1 1 0 0 0-1 1v7a1 1 0 0 0 2 0v-7a1 1 0 0 0-1-1z"}),e("path",{d:"M5 8a1 1 0 0 0-1 1v11a1 1 0 0 0 2 0V9a1 1 0 0 0-1-1z"})]})})}),x6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"book",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M19 3H7a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM7 19a1 1 0 0 1 0-2h11v2z"})]})})}),ec=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"book",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M19 3H7a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM7 5h11v10H7a3 3 0 0 0-1 .18V6a1 1 0 0 1 1-1zm0 14a1 1 0 0 1 0-2h11v2z"})]})})}),T6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"bulb",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M12 7a5 5 0 0 0-3 9v4a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-4a5 5 0 0 0-3-9zm1.5 7.59a1 1 0 0 0-.5.87V20h-2v-4.54a1 1 0 0 0-.5-.87A3 3 0 0 1 9 12a3 3 0 0 1 6 0 3 3 0 0 1-1.5 2.59z"}),e("path",{d:"M12 6a1 1 0 0 0 1-1V3a1 1 0 0 0-2 0v2a1 1 0 0 0 1 1z"}),e("path",{d:"M21 11h-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2z"}),e("path",{d:"M5 11H3a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2z"}),e("path",{d:"M7.66 6.42L6.22 5a1 1 0 0 0-1.39 1.47l1.44 1.39a1 1 0 0 0 .73.28 1 1 0 0 0 .72-.31 1 1 0 0 0-.06-1.41z"}),e("path",{d:"M19.19 5.05a1 1 0 0 0-1.41 0l-1.44 1.37a1 1 0 0 0 0 1.41 1 1 0 0 0 .72.31 1 1 0 0 0 .69-.28l1.44-1.39a1 1 0 0 0 0-1.42z"})]})})}),nc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"calendar",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M18 4h-1V3a1 1 0 0 0-2 0v1H9V3a1 1 0 0 0-2 0v1H6a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3zM6 6h1v1a1 1 0 0 0 2 0V6h6v1a1 1 0 0 0 2 0V6h1a1 1 0 0 1 1 1v4H5V7a1 1 0 0 1 1-1zm12 14H6a1 1 0 0 1-1-1v-6h14v6a1 1 0 0 1-1 1z"}),e("circle",{cx:"8",cy:"16",r:"1"}),e("path",{d:"M16 15h-4a1 1 0 0 0 0 2h4a1 1 0 0 0 0-2z"})]})})}),ac=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 18 18",width:"24",children:[e("path",{className:"fill",d:"M14,5.99a1,1,0,0,1-1.7055.7055L9.006,3.409,5.717,6.695A1,1,0,0,1,4.28,5.3085l.0245-.0245L8.3,1.2925a1,1,0,0,1,1.4125,0L13.707,5.284A.99446.99446,0,0,1,14,5.99Z"}),e("path",{className:"fill",d:"M4,12.01a1,1,0,0,1,1.7055-.7055l3.289,3.286,3.289-3.286a1,1,0,0,1,1.437,1.3865l-.0245.0245L9.7,16.707a1,1,0,0,1-1.4125,0L4.293,12.7155A.99452.99452,0,0,1,4,12.01Z"})]}),A6=()=>e("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M2.2 12.4H9.8C10.0889 12.4 10.375 12.3431 10.6419 12.2325C10.9088 12.122 11.1513 11.9599 11.3556 11.7556C11.5599 11.5513 11.722 11.3088 11.8325 11.0419C11.9431 10.775 12 10.4889 12 10.2V2.2C12 1.91109 11.9431 1.62501 11.8325 1.3581C11.722 1.09118 11.5599 0.848654 11.3556 0.644365C11.1513 0.440076 10.9088 0.278026 10.6419 0.167465C10.375 0.0569049 10.0889 0 9.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V10.2C0 10.7835 0.231785 11.3431 0.644365 11.7556C1.05694 12.1682 1.61652 12.4 2.2 12.4ZM4.8 11.2V1.2H7.2V11.2H4.8ZM10.8 2.2V10.2C10.8 10.4652 10.6946 10.7196 10.5071 10.9071C10.3196 11.0946 10.0652 11.2 9.8 11.2H8.4V1.2H9.8C10.0652 1.2 10.3196 1.30536 10.5071 1.49289C10.6946 1.68043 10.8 1.93478 10.8 2.2ZM1.2 2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H3.6V11.2H2.2C1.93478 11.2 1.68043 11.0946 1.49289 10.9071C1.30536 10.7196 1.2 10.4652 1.2 10.2V2.2Z"})}),I6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"code",children:[e("rect",{width:"24",height:"24",transform:"rotate(90 12 12)",opacity:"0"}),e("path",{d:"M8.64 5.23a1 1 0 0 0-1.41.13l-5 6a1 1 0 0 0 0 1.27l4.83 6a1 1 0 0 0 .78.37 1 1 0 0 0 .78-1.63L4.29 12l4.48-5.36a1 1 0 0 0-.13-1.41z"}),e("path",{d:"M21.78 11.37l-4.78-6a1 1 0 0 0-1.41-.15 1 1 0 0 0-.15 1.41L19.71 12l-4.48 5.37a1 1 0 0 0 .13 1.41A1 1 0 0 0 16 19a1 1 0 0 0 .77-.36l5-6a1 1 0 0 0 .01-1.27z"})]})})}),tc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"chevron-right",children:[e("rect",{width:"24",height:"24",transform:"rotate(-90 12 12)",opacity:"0"}),e("path",{d:"M10.5 17a1 1 0 0 1-.71-.29 1 1 0 0 1 0-1.42L13.1 12 9.92 8.69a1 1 0 0 1 0-1.41 1 1 0 0 1 1.42 0l3.86 4a1 1 0 0 1 0 1.4l-4 4a1 1 0 0 1-.7.32z"})]})})}),ic=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"chevron-down",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 15.5a1 1 0 0 1-.71-.29l-4-4a1 1 0 1 1 1.42-1.42L12 13.1l3.3-3.18a1 1 0 1 1 1.38 1.44l-4 3.86a1 1 0 0 1-.68.28z"})]})})}),M6=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:s("g",{id:"cube",children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.654 7.24778C20.6545 7.25157 20.655 7.25534 20.6564 7.25891C20.8684 7.62191 20.9994 8.02891 21.0004 8.45691V15.5399C20.9994 16.4879 20.4224 17.3659 19.5304 17.7779L13.1334 20.7499C12.7724 20.9179 12.3844 21.0019 11.9964 21.0019C11.6074 21.0019 11.2194 20.9179 10.8574 20.7489L4.45839 17.7769C3.56439 17.3589 2.99239 16.4749 3.00039 15.5249V8.45791C3.00039 8.02991 3.13139 7.62291 3.34239 7.26091C3.34439 7.25641 3.34514 7.25191 3.34589 7.24741C3.34664 7.24291 3.34739 7.23841 3.34939 7.23391C3.35141 7.22986 3.35446 7.22633 3.35763 7.22266C3.36072 7.21907 3.36392 7.21536 3.36639 7.21091C3.40377 7.14975 3.44764 7.09363 3.49188 7.03705C3.49972 7.02703 3.50756 7.017 3.51539 7.00691C3.52685 6.99407 3.53758 6.98061 3.54827 6.96723C3.56835 6.94207 3.58824 6.91715 3.61239 6.89691C3.84739 6.62091 4.12539 6.37891 4.46939 6.21991L10.8664 3.24791C11.5874 2.91591 12.4124 2.91491 13.1314 3.24691C13.1314 3.24791 13.1324 3.24791 13.1334 3.24791L19.5334 6.22091C19.8774 6.37991 20.1544 6.62291 20.3894 6.89891C20.4111 6.91742 20.4291 6.93959 20.4474 6.96205C20.4577 6.97478 20.4682 6.98761 20.4794 6.99991C20.492 7.01663 20.5049 7.03318 20.5177 7.04972C20.5586 7.10243 20.5994 7.15507 20.6344 7.21291C20.6365 7.21633 20.6392 7.21919 20.6418 7.22198C20.6453 7.22572 20.6487 7.22933 20.6504 7.23391C20.6526 7.23834 20.6533 7.24308 20.654 7.24778ZM11.7074 5.06391C11.7984 5.02091 11.8994 4.99991 12.0004 4.99991C12.1004 4.99991 12.2014 5.02091 12.2924 5.06391L17.6214 7.53791L12.0004 10.1499L6.37839 7.53791L11.7074 5.06391ZM5.00039 15.5319C4.99839 15.7139 5.11439 15.8759 5.30339 15.9639L11.0004 18.6089V11.8909L5.00039 9.10391V15.5319ZM13.0004 18.6069L18.6904 15.9629C18.8824 15.8749 19.0004 15.7129 19.0004 15.5389V9.10391L13.0004 11.8909V18.6069Z"}),e("mask",{id:"mask0_0_196",mask:"alpha",maskUnits:"userSpaceOnUse",x:"3",y:"2",width:"19",height:"20",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.654 7.24778C20.6545 7.25157 20.655 7.25534 20.6564 7.25891C20.8684 7.62191 20.9994 8.02891 21.0004 8.45691V15.5399C20.9994 16.4879 20.4224 17.3659 19.5304 17.7779L13.1334 20.7499C12.7724 20.9179 12.3844 21.0019 11.9964 21.0019C11.6074 21.0019 11.2194 20.9179 10.8574 20.7489L4.45839 17.7769C3.56439 17.3589 2.99239 16.4749 3.00039 15.5249V8.45791C3.00039 8.02991 3.13139 7.62291 3.34239 7.26091C3.34439 7.25641 3.34514 7.25191 3.34589 7.24741C3.34664 7.24291 3.34739 7.23841 3.34939 7.23391C3.35141 7.22986 3.35446 7.22633 3.35763 7.22266C3.36072 7.21907 3.36392 7.21536 3.36639 7.21091C3.40377 7.14975 3.44764 7.09363 3.49188 7.03705C3.49972 7.02703 3.50756 7.017 3.51539 7.00691C3.52685 6.99407 3.53758 6.98061 3.54827 6.96723C3.56835 6.94207 3.58824 6.91715 3.61239 6.89691C3.84739 6.62091 4.12539 6.37891 4.46939 6.21991L10.8664 3.24791C11.5874 2.91591 12.4124 2.91491 13.1314 3.24691C13.1314 3.24791 13.1324 3.24791 13.1334 3.24791L19.5334 6.22091C19.8774 6.37991 20.1544 6.62291 20.3894 6.89891C20.4111 6.91742 20.4291 6.93959 20.4474 6.96205C20.4577 6.97478 20.4682 6.98761 20.4794 6.99991C20.492 7.01663 20.5049 7.03318 20.5177 7.04972C20.5586 7.10243 20.5994 7.15507 20.6344 7.21291C20.6365 7.21633 20.6392 7.21919 20.6418 7.22198C20.6453 7.22572 20.6487 7.22933 20.6504 7.23391C20.6526 7.23834 20.6533 7.24308 20.654 7.24778ZM11.7074 5.06391C11.7984 5.02091 11.8994 4.99991 12.0004 4.99991C12.1004 4.99991 12.2014 5.02091 12.2924 5.06391L17.6214 7.53791L12.0004 10.1499L6.37839 7.53791L11.7074 5.06391ZM5.00039 15.5319C4.99839 15.7139 5.11439 15.8759 5.30339 15.9639L11.0004 18.6089V11.8909L5.00039 9.10391V15.5319ZM13.0004 18.6069L18.6904 15.9629C18.8824 15.8749 19.0004 15.7129 19.0004 15.5389V9.10391L13.0004 11.8909V18.6069Z"})}),e("g",{mask:"url(#mask0_0_196)"})]})}),lc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"clock",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z"}),e("path",{d:"M16 11h-3V8a1 1 0 0 0-2 0v4a1 1 0 0 0 1 1h4a1 1 0 0 0 0-2z"})]})})}),Sl=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"checkmark",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M9.86 18a1 1 0 0 1-.73-.32l-4.86-5.17a1 1 0 1 1 1.46-1.37l4.12 4.39 8.41-9.2a1 1 0 1 1 1.48 1.34l-9.14 10a1 1 0 0 1-.73.33z"})]})})}),rc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"checkmark",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M9.86 18a1 1 0 0 1-.73-.32l-4.86-5.17a1 1 0 1 1 1.46-1.37l4.12 4.39 8.41-9.2a1 1 0 1 1 1.48 1.34l-9.14 10a1 1 0 0 1-.73.33z"})]})})}),xl=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("g",{children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.997 10.9741H21C21.551 10.9741 21.999 11.4201 22 11.9711C22.008 14.6421 20.975 17.1571 19.091 19.0511C17.208 20.9451 14.7 21.9921 12.029 22.0001H12C9.339 22.0001 6.836 20.9681 4.949 19.0911C3.055 17.2081 2.008 14.7001 2 12.0291C1.992 9.3571 3.025 6.8431 4.909 4.9491C6.792 3.0551 9.3 2.0081 11.971 2.0001C12.766 2.0121 13.576 2.0921 14.352 2.2781C14.888 2.4081 15.219 2.9481 15.089 3.4851C14.96 4.0211 14.417 4.3511 13.883 4.2231C13.262 4.0731 12.603 4.0101 11.977 4.0001C9.84 4.0061 7.833 4.8441 6.327 6.3591C4.82 7.8741 3.994 9.8861 4 12.0231C4.006 14.1601 4.844 16.1661 6.359 17.6731C7.869 19.1741 9.871 20.0001 12 20.0001H12.023C14.16 19.9941 16.167 19.1561 17.673 17.6411C19.18 16.1251 20.006 14.1141 20 11.9771C19.999 11.4251 20.445 10.9751 20.997 10.9741ZM8.293 11.293C8.684 10.902 9.316 10.902 9.707 11.293L11.951 13.537L18.248 6.341C18.612 5.928 19.243 5.884 19.659 6.248C20.074 6.611 20.116 7.243 19.752 7.659L12.752 15.659C12.57 15.867 12.31 15.99 12.033 16H12C11.735 16 11.481 15.895 11.293 15.707L8.293 12.707C7.902 12.316 7.902 11.684 8.293 11.293Z"}),e("mask",{mask:"alpha",maskUnits:"userSpaceOnUse",x:"2",y:"2",width:"20",height:"20",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.997 10.9741H21C21.551 10.9741 21.999 11.4201 22 11.9711C22.008 14.6421 20.975 17.1571 19.091 19.0511C17.208 20.9451 14.7 21.9921 12.029 22.0001H12C9.339 22.0001 6.836 20.9681 4.949 19.0911C3.055 17.2081 2.008 14.7001 2 12.0291C1.992 9.3571 3.025 6.8431 4.909 4.9491C6.792 3.0551 9.3 2.0081 11.971 2.0001C12.766 2.0121 13.576 2.0921 14.352 2.2781C14.888 2.4081 15.219 2.9481 15.089 3.4851C14.96 4.0211 14.417 4.3511 13.883 4.2231C13.262 4.0731 12.603 4.0101 11.977 4.0001C9.84 4.0061 7.833 4.8441 6.327 6.3591C4.82 7.8741 3.994 9.8861 4 12.0231C4.006 14.1601 4.844 16.1661 6.359 17.6731C7.869 19.1741 9.871 20.0001 12 20.0001H12.023C14.16 19.9941 16.167 19.1561 17.673 17.6411C19.18 16.1251 20.006 14.1141 20 11.9771C19.999 11.4251 20.445 10.9751 20.997 10.9741ZM8.293 11.293C8.684 10.902 9.316 10.902 9.707 11.293L11.951 13.537L18.248 6.341C18.612 5.928 19.243 5.884 19.659 6.248C20.074 6.611 20.116 7.243 19.752 7.659L12.752 15.659C12.57 15.867 12.31 15.99 12.033 16H12C11.735 16 11.481 15.895 11.293 15.707L8.293 12.707C7.902 12.316 7.902 11.684 8.293 11.293Z"})}),e("g",{mask:"url(#mask0)"})]})}),Tl=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"checkmark-circle-2",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.3 7.61l-4.57 6a1 1 0 0 1-.79.39 1 1 0 0 1-.79-.38l-2.44-3.11a1 1 0 0 1 1.58-1.23l1.63 2.08 3.78-5a1 1 0 1 1 1.6 1.22z"})]})})}),oc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"close-circle",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm2.71 11.29a1 1 0 0 1 0 1.42 1 1 0 0 1-1.42 0L12 13.41l-1.29 1.3a1 1 0 0 1-1.42 0 1 1 0 0 1 0-1.42l1.3-1.29-1.3-1.29a1 1 0 0 1 1.42-1.42l1.29 1.3 1.29-1.3a1 1 0 0 1 1.42 1.42L13.41 12z"})]})})}),xt=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"close",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M13.41 12l4.3-4.29a1 1 0 1 0-1.42-1.42L12 10.59l-4.29-4.3a1 1 0 0 0-1.42 1.42l4.3 4.29-4.3 4.29a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l4.29-4.3 4.29 4.3a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42z"})]})})}),z6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"close-circle",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z"}),e("path",{d:"M14.71 9.29a1 1 0 0 0-1.42 0L12 10.59l-1.29-1.3a1 1 0 0 0-1.42 1.42l1.3 1.29-1.3 1.29a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l1.29-1.3 1.29 1.3a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42L13.41 12l1.3-1.29a1 1 0 0 0 0-1.42z"})]})})}),Al=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"clipboard",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M18 5V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v1a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3zM8 4h8v4H8V4zm11 15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1v1a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7a1 1 0 0 1 1 1z"})]})})}),F6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"collapse",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M19 9h-2.58l3.29-3.29a1 1 0 1 0-1.42-1.42L15 7.57V5a1 1 0 0 0-1-1 1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 0-2z"}),e("path",{d:"M10 13H5a1 1 0 0 0 0 2h2.57l-3.28 3.29a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0L9 16.42V19a1 1 0 0 0 1 1 1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1z"})]})})}),E6=()=>s("svg",{width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M12 8.66669C16.1421 8.66669 19.5 7.5474 19.5 6.16669C19.5 4.78598 16.1421 3.66669 12 3.66669C7.85786 3.66669 4.5 4.78598 4.5 6.16669C4.5 7.5474 7.85786 8.66669 12 8.66669Z",strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M19.5 12C19.5 13.3833 16.1667 14.5 12 14.5C7.83333 14.5 4.5 13.3833 4.5 12",strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M4.5 6.16669V17.8334C4.5 19.2167 7.83333 20.3334 12 20.3334C16.1667 20.3334 19.5 19.2167 19.5 17.8334V6.16669",strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})]}),D6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"download",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("rect",{x:"4",y:"18",width:"16",height:"2",rx:"1",ry:"1"}),e("rect",{x:"3",y:"17",width:"4",height:"2",rx:"1",ry:"1",transform:"rotate(-90 5 18)"}),e("rect",{x:"17",y:"17",width:"4",height:"2",rx:"1",ry:"1",transform:"rotate(-90 19 18)"}),e("path",{d:"M12 15a1 1 0 0 1-.58-.18l-4-2.82a1 1 0 0 1-.24-1.39 1 1 0 0 1 1.4-.24L12 12.76l3.4-2.56a1 1 0 0 1 1.2 1.6l-4 3a1 1 0 0 1-.6.2z"}),e("path",{d:"M12 13a1 1 0 0 1-1-1V4a1 1 0 0 1 2 0v8a1 1 0 0 1-1 1z"})]})})}),_6=()=>s("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 13V12C9 10.346 10.346 9 12 9H13V5.667C13 5.299 12.701 5 12.333 5H5.667C5.299 5 5 5.299 5 5.667V12.333C5 12.701 5.299 13 5.667 13H9ZM9 15H5.667C4.196 15 3 13.804 3 12.333V5.667C3 4.196 4.196 3 5.667 3H12.333C13.804 3 15 4.196 15 5.667V9H18C19.654 9 21 10.346 21 12V18C21 19.654 19.654 21 18 21H12C10.346 21 9 19.654 9 18V15ZM12 11C11.449 11 11 11.449 11 12V18C11 18.551 11.449 19 12 19H18C18.552 19 19 18.551 19 18V12C19 11.449 18.552 11 18 11H12Z"}),e("mask",{id:"mask0_725_12898",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"3",y:"3",width:"18",height:"18",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 13V12C9 10.346 10.346 9 12 9H13V5.667C13 5.299 12.701 5 12.333 5H5.667C5.299 5 5 5.299 5 5.667V12.333C5 12.701 5.299 13 5.667 13H9ZM9 15H5.667C4.196 15 3 13.804 3 12.333V5.667C3 4.196 4.196 3 5.667 3H12.333C13.804 3 15 4.196 15 5.667V9H18C19.654 9 21 10.346 21 12V18C21 19.654 19.654 21 18 21H12C10.346 21 9 19.654 9 18V15ZM12 11C11.449 11 11 11.449 11 12V18C11 18.551 11.449 19 12 19H18C18.552 19 19 18.551 19 18V12C19 11.449 18.552 11 18 11H12Z"})}),e("g",{mask:"url(#mask0_725_12898)"})]}),K6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"edit",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M19.4 7.34L16.66 4.6A2 2 0 0 0 14 4.53l-9 9a2 2 0 0 0-.57 1.21L4 18.91a1 1 0 0 0 .29.8A1 1 0 0 0 5 20h.09l4.17-.38a2 2 0 0 0 1.21-.57l9-9a1.92 1.92 0 0 0-.07-2.71zM9.08 17.62l-3 .28.27-3L12 9.32l2.7 2.7zM16 10.68L13.32 8l1.95-2L18 8.73z"})]})})}),P6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"edit-2",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M19 20H5a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2z"}),e("path",{d:"M5 18h.09l4.17-.38a2 2 0 0 0 1.21-.57l9-9a1.92 1.92 0 0 0-.07-2.71L16.66 2.6A2 2 0 0 0 14 2.53l-9 9a2 2 0 0 0-.57 1.21L4 16.91a1 1 0 0 0 .29.8A1 1 0 0 0 5 18zM15.27 4L18 6.73l-2 1.95L13.32 6zm-8.9 8.91L12 7.32l2.7 2.7-5.6 5.6-3 .28z"})]})})}),sc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"external-link",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M20 11a1 1 0 0 0-1 1v6a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h6a1 1 0 0 0 0-2H6a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-6a1 1 0 0 0-1-1z"}),e("path",{d:"M16 5h1.58l-6.29 6.28a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0L19 6.42V8a1 1 0 0 0 1 1 1 1 0 0 0 1-1V4a1 1 0 0 0-1-1h-4a1 1 0 0 0 0 2z"})]})})}),V6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"expand",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M20 5a1 1 0 0 0-1-1h-5a1 1 0 0 0 0 2h2.57l-3.28 3.29a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0L18 7.42V10a1 1 0 0 0 1 1 1 1 0 0 0 1-1z"}),e("path",{d:"M10.71 13.29a1 1 0 0 0-1.42 0L6 16.57V14a1 1 0 0 0-1-1 1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 0-2H7.42l3.29-3.29a1 1 0 0 0 0-1.42z"})]})})}),O6=()=>s("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M11.7325 8.3969L12.9778 9.61741L5.58892 16.9977C4.90368 17.6822 3.79253 17.6823 3.10751 16.9981C2.42238 16.3137 2.42238 15.2042 3.10751 14.5198L10.4967 7.13917L11.7245 8.38888L11.7244 8.38895L11.7325 8.3969Z",stroke:"currentColor",strokeWidth:"1.2",fill:"none"}),e("circle",{cx:"12",cy:"5",r:"0.75",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),e("circle",{cx:"15",cy:"4",r:"0.75",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),e("circle",{cx:"14.5",cy:"7.5",r:"1.2",stroke:"currentColor",strokeWidth:"0.6",fill:"none"})]}),cc=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.77475 4.16985C14.7548 4.01401 17.6914 8.65901 18.2231 9.58568C18.3698 9.84235 18.3698 10.1582 18.2231 10.4148C17.5114 11.6557 14.8314 15.7132 10.2256 15.8307C10.1573 15.8323 10.0889 15.8332 10.0206 15.8332C5.13475 15.8332 2.30142 11.329 1.77725 10.4148C1.62975 10.1582 1.62975 9.84235 1.77725 9.58568C2.48892 8.34485 5.16808 4.28651 9.77475 4.16985ZM10.1831 14.1648C6.59475 14.2482 4.25392 11.179 3.47725 9.99651C4.33225 8.65901 6.48558 5.92068 9.81725 5.83568C13.3914 5.74485 15.7456 8.82151 16.5223 10.004C15.6681 11.3415 13.5139 14.0798 10.1831 14.1648ZM7.08333 10.0002C7.08333 8.39185 8.39167 7.08351 10 7.08351C11.6083 7.08351 12.9167 8.39185 12.9167 10.0002C12.9167 11.6085 11.6083 12.9168 10 12.9168C8.39167 12.9168 7.08333 11.6085 7.08333 10.0002ZM8.75 10.0002C8.75 10.6893 9.31083 11.2502 10 11.2502C10.6892 11.2502 11.25 10.6893 11.25 10.0002C11.25 9.31101 10.6892 8.75018 10 8.75018C9.31083 8.75018 8.75 9.31101 8.75 10.0002Z"}),e("mask",{id:"mask0_935_15127",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"18",height:"12",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.77475 4.16985C14.7548 4.01401 17.6914 8.65901 18.2231 9.58568C18.3698 9.84235 18.3698 10.1582 18.2231 10.4148C17.5114 11.6557 14.8314 15.7132 10.2256 15.8307C10.1573 15.8323 10.0889 15.8332 10.0206 15.8332C5.13475 15.8332 2.30142 11.329 1.77725 10.4148C1.62975 10.1582 1.62975 9.84235 1.77725 9.58568C2.48892 8.34485 5.16808 4.28651 9.77475 4.16985ZM10.1831 14.1648C6.59475 14.2482 4.25392 11.179 3.47725 9.99651C4.33225 8.65901 6.48558 5.92068 9.81725 5.83568C13.3914 5.74485 15.7456 8.82151 16.5223 10.004C15.6681 11.3415 13.5139 14.0798 10.1831 14.1648ZM7.08333 10.0002C7.08333 8.39185 8.39167 7.08351 10 7.08351C11.6083 7.08351 12.9167 8.39185 12.9167 10.0002C12.9167 11.6085 11.6083 12.9168 10 12.9168C8.39167 12.9168 7.08333 11.6085 7.08333 10.0002ZM8.75 10.0002C8.75 10.6893 9.31083 11.2502 10 11.2502C10.6892 11.2502 11.25 10.6893 11.25 10.0002C11.25 9.31101 10.6892 8.75018 10 8.75018C9.31083 8.75018 8.75 9.31101 8.75 10.0002Z"})}),e("g",{mask:"url(#mask0_935_15127)"})]}),dc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"eye-off",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M4.71 3.29a1 1 0 0 0-1.42 1.42l5.63 5.63a3.5 3.5 0 0 0 4.74 4.74l5.63 5.63a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42zM12 13.5a1.5 1.5 0 0 1-1.5-1.5v-.07l1.56 1.56z"}),e("path",{d:"M12.22 17c-4.3.1-7.12-3.59-8-5a13.7 13.7 0 0 1 2.24-2.72L5 7.87a15.89 15.89 0 0 0-2.87 3.63 1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25a9.48 9.48 0 0 0 3.23-.67l-1.58-1.58a7.74 7.74 0 0 1-1.7.25z"}),e("path",{d:"M21.87 11.5c-.64-1.11-4.17-6.68-10.14-6.5a9.48 9.48 0 0 0-3.23.67l1.58 1.58a7.74 7.74 0 0 1 1.7-.25c4.29-.11 7.11 3.59 8 5a13.7 13.7 0 0 1-2.29 2.72L19 16.13a15.89 15.89 0 0 0 2.91-3.63 1 1 0 0 0-.04-1z"})]})})}),R6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"file",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M19.74 8.33l-5.44-6a1 1 0 0 0-.74-.33h-7A2.53 2.53 0 0 0 4 4.5v15A2.53 2.53 0 0 0 6.56 22h10.88A2.53 2.53 0 0 0 20 19.5V9a1 1 0 0 0-.26-.67zM17.65 9h-3.94a.79.79 0 0 1-.71-.85V4h.11zm-.21 11H6.56a.53.53 0 0 1-.56-.5v-15a.53.53 0 0 1 .56-.5H11v4.15A2.79 2.79 0 0 0 13.71 11H18v8.5a.53.53 0 0 1-.56.5z"})]})})}),uc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:s("g",{"data-name":"Layer 2",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M12 1A10.89 10.89 0 0 0 1 11.77 10.79 10.79 0 0 0 8.52 22c.55.1.75-.23.75-.52v-1.83c-3.06.65-3.71-1.44-3.71-1.44a2.86 2.86 0 0 0-1.22-1.58c-1-.66.08-.65.08-.65a2.31 2.31 0 0 1 1.68 1.11 2.37 2.37 0 0 0 3.2.89 2.33 2.33 0 0 1 .7-1.44c-2.44-.27-5-1.19-5-5.32a4.15 4.15 0 0 1 1.11-2.91 3.78 3.78 0 0 1 .11-2.84s.93-.29 3 1.1a10.68 10.68 0 0 1 5.5 0c2.1-1.39 3-1.1 3-1.1a3.78 3.78 0 0 1 .11 2.84A4.15 4.15 0 0 1 19 11.2c0 4.14-2.58 5.05-5 5.32a2.5 2.5 0 0 1 .75 2v2.95c0 .35.2.63.75.52A10.8 10.8 0 0 0 23 11.77 10.89 10.89 0 0 0 12 1"})]})}),gc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"grid",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M9 3H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z"}),e("path",{d:"M19 3h-4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z"}),e("path",{d:"M9 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2z"}),e("path",{d:"M19 13h-4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2z"})]})})}),N6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"grid",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M9 3H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zM5 9V5h4v4z"}),e("path",{d:"M19 3h-4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-4 6V5h4v4z"}),e("path",{d:"M9 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2zm-4 6v-4h4v4z"}),e("path",{d:"M19 13h-4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2zm-4 6v-4h4v4z"})]})})}),mc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"info",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 14a1 1 0 0 1-2 0v-5a1 1 0 0 1 2 0zm-1-7a1 1 0 1 1 1-1 1 1 0 0 1-1 1z"})]})})}),Tt=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"info",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z"}),e("circle",{cx:"12",cy:"8",r:"1"}),e("path",{d:"M12 10a1 1 0 0 0-1 1v5a1 1 0 0 0 2 0v-5a1 1 0 0 0-1-1z"})]})})}),pc=()=>e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2257 11.8L11.7393 8.41153C11.7109 8.22144 11.7902 8.03189 11.9431 7.9217C12.0956 7.81142 12.2951 7.79984 12.4586 7.89091L16.2173 9.99324C17.4623 8.99204 18.1154 7.77352 18.1154 6.53971C18.1154 5.16011 17.2989 3.79965 15.7513 2.74073C14.2085 1.6851 12.0218 1 9.55769 1C7.09362 1 4.90688 1.6851 3.36408 2.74073C1.81649 3.79965 1 5.16011 1 6.53971C1 7.9193 1.81649 9.27976 3.36408 10.3387C3.42007 10.377 3.4769 10.4148 3.53457 10.4521C3.57721 10.4488 3.6203 10.447 3.66378 10.447C4.25644 10.447 4.7771 10.7654 5.0742 11.2456C6.36894 11.7696 7.9006 12.0794 9.55769 12.0794C10.4938 12.0794 11.3898 11.9805 12.2257 11.8ZM12.3681 12.7921C11.4796 12.9789 10.5358 13.0794 9.55769 13.0794C8.03657 13.0794 6.59844 12.8363 5.32179 12.4037C5.2538 12.9334 4.95341 13.3874 4.5299 13.6526C4.61517 13.7612 4.70537 13.8853 4.79522 14.0242C5.16436 14.5947 5.54041 15.4345 5.51764 16.4699C5.49439 17.5267 5.00709 18.3616 4.55343 18.915C4.32482 19.1938 4.0981 19.4095 3.92766 19.5564C3.84217 19.63 3.77007 19.687 3.71793 19.7265C3.69184 19.7463 3.67068 19.7618 3.65525 19.7728L3.6365 19.7861L3.63052 19.7902L3.62841 19.7917L3.62759 19.7922L3.62723 19.7925C3.62707 19.7926 3.62691 19.7927 3.34519 19.379L3.62691 19.7927C3.39879 19.9479 3.08774 19.8884 2.93215 19.66C2.7767 19.4317 2.83526 19.1211 3.06288 18.9658L3.06295 18.9658L3.06304 18.9657L3.06326 18.9655L3.07183 18.9595C3.08034 18.9534 3.0943 18.9432 3.11293 18.9291C3.15023 18.9008 3.20601 18.8569 3.27421 18.7981C3.41116 18.6801 3.59512 18.5051 3.77969 18.28C4.15237 17.8254 4.50136 17.1997 4.51794 16.4459C4.53499 15.6707 4.25394 15.0268 3.95603 14.5663C3.80773 14.3371 3.65843 14.1585 3.54764 14.0386C3.49243 13.9788 3.44732 13.9342 3.41742 13.9058C3.40487 13.8938 3.39504 13.8848 3.38831 13.8787C2.59563 13.743 1.99119 13.0317 1.99119 12.1745C1.99119 11.6923 2.18248 11.2563 2.49096 10.9429C0.943505 9.78084 0 8.23567 0 6.53971C0 2.92793 4.27912 0 9.55769 0C14.8363 0 19.1154 2.92793 19.1154 6.53971C19.1154 8.03471 18.3822 9.41255 17.1485 10.5141L19.7425 11.965C19.9297 12.0691 20.029 12.285 19.9925 12.4988C19.9907 12.5093 19.9885 12.5192 19.9863 12.5291C19.9347 12.7525 19.7439 12.912 19.5215 12.9178L15.7303 13.0197C15.5329 13.0249 15.3583 13.1512 15.286 13.341L13.8962 16.9857C13.8153 17.1997 13.6049 17.3304 13.384 17.304C13.1626 17.2776 12.9862 17.1018 12.9542 16.8745L12.3681 12.7921ZM3.36757 11.5227C3.15331 11.6367 2.99119 11.872 2.99119 12.1745C2.99119 12.607 3.3225 12.902 3.66378 12.902C4.00506 12.902 4.33638 12.607 4.33638 12.1745C4.33638 12.1174 4.3306 12.0627 4.31979 12.0108C3.98738 11.8615 3.66939 11.6984 3.36757 11.5227Z"})}),$6=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e("circle",{cx:"12",cy:"12",r:"10",fill:"none"}),e("circle",{cx:"12",cy:"12",r:"4",fill:"none"}),e("line",{x1:"4.93",y1:"4.93",x2:"9.17",y2:"9.17"}),e("line",{x1:"14.83",y1:"14.83",x2:"19.07",y2:"19.07"}),e("line",{x1:"14.83",y1:"9.17",x2:"19.07",y2:"4.93"}),e("line",{x1:"14.83",y1:"9.17",x2:"18.36",y2:"5.64"}),e("line",{x1:"4.93",y1:"19.07",x2:"9.17",y2:"14.83"})]}),hc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"list",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("circle",{cx:"4",cy:"7",r:"1"}),e("circle",{cx:"4",cy:"12",r:"1"}),e("circle",{cx:"4",cy:"17",r:"1"}),e("rect",{x:"7",y:"11",width:"14",height:"2",rx:".94",ry:".94"}),e("rect",{x:"7",y:"16",width:"14",height:"2",rx:".94",ry:".94"}),e("rect",{x:"7",y:"6",width:"14",height:"2",rx:".94",ry:".94"})]})})}),Il=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",css:m`
|
|
342
343
|
animation: ${Q0} 1s infinite linear;
|
|
343
|
-
`,children:s("g",{id:"loading",children:[e("mask",{id:"mask0_804_24",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"2",width:"20",height:"20",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.486 6.486 2 12 2C17.514 2 22 6.486 22 12C22 17.514 17.514 22 12 22C6.486 22 2 17.514 2 12ZM4 12C4 16.411 7.589 20 12 20C16.411 20 20 16.411 20 12C20 7.589 16.411 4 12 4C7.589 4 4 7.589 4 12Z",fill:"inherit"})}),e("g",{mask:"url(#mask0_804_24)",children:e("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M15.8268 2.7612C14.6136 2.25866 13.3132 2 12 2C11.4477 2 11 2.44772 11 3C11 3.55228 11.4477 4 12 4V12H20C20 12.5523 20.4477 13 21 13C21.5523 13 22 12.5523 22 12C22 10.6868 21.7413 9.38642 21.2388 8.17317C20.7362 6.95991 19.9997 5.85752 19.0711 4.92893C18.1425 4.00035 17.0401 3.26375 15.8268 2.7612Z",fill:"inherit"})})]})}),B6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"log-out",children:[e("rect",{width:"24",height:"24",transform:"rotate(90 12 12)",opacity:"0"}),e("path",{d:"M7 6a1 1 0 0 0 0-2H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h2a1 1 0 0 0 0-2H6V6z"}),e("path",{d:"M20.82 11.42l-2.82-4a1 1 0 0 0-1.39-.24 1 1 0 0 0-.24 1.4L18.09 11H10a1 1 0 0 0 0 2h8l-1.8 2.4a1 1 0 0 0 .2 1.4 1 1 0 0 0 .6.2 1 1 0 0 0 .8-.4l3-4a1 1 0 0 0 .02-1.18z"})]})})}),H6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"message-square",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("circle",{cx:"12",cy:"11",r:"1"}),e("circle",{cx:"16",cy:"11",r:"1"}),e("circle",{cx:"8",cy:"11",r:"1"}),e("path",{d:"M19 3H5a3 3 0 0 0-3 3v15a1 1 0 0 0 .51.87A1 1 0 0 0 3 22a1 1 0 0 0 .51-.14L8 19.14a1 1 0 0 1 .55-.14H19a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3zm1 13a1 1 0 0 1-1 1H8.55a3 3 0 0 0-1.55.43l-3 1.8V6a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1z"})]})})}),ei=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"minus-circle",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z"}),e("path",{d:"M15 11H9a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2z"})]})})}),fc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"moon",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12.3 22h-.1a10.31 10.31 0 0 1-7.34-3.15 10.46 10.46 0 0 1-.26-14 10.13 10.13 0 0 1 4-2.74 1 1 0 0 1 1.06.22 1 1 0 0 1 .24 1 8.4 8.4 0 0 0 1.94 8.81 8.47 8.47 0 0 0 8.83 1.94 1 1 0 0 1 1.27 1.29A10.16 10.16 0 0 1 19.6 19a10.28 10.28 0 0 1-7.3 3zM7.46 4.92a7.93 7.93 0 0 0-1.37 1.22 8.44 8.44 0 0 0 .2 11.32A8.29 8.29 0 0 0 12.22 20h.08a8.34 8.34 0 0 0 6.78-3.49A10.37 10.37 0 0 1 7.46 4.92z"})]})})}),bc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"more-horizotnal",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("circle",{cx:"12",cy:"12",r:"2"}),e("circle",{cx:"19",cy:"12",r:"2"}),e("circle",{cx:"5",cy:"12",r:"2"})]})})}),yc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"move",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M21.71 11.31l-3-3a1 1 0 0 0-1.42 1.42L18.58 11H13V5.41l1.29 1.3A1 1 0 0 0 15 7a1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.42l-3-3A1 1 0 0 0 12 2a1 1 0 0 0-.7.29l-3 3a1 1 0 0 0 1.41 1.42L11 5.42V11H5.41l1.3-1.29a1 1 0 0 0-1.42-1.42l-3 3A1 1 0 0 0 2 12a1 1 0 0 0 .29.71l3 3A1 1 0 0 0 6 16a1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.42L5.42 13H11v5.59l-1.29-1.3a1 1 0 0 0-1.42 1.42l3 3A1 1 0 0 0 12 22a1 1 0 0 0 .7-.29l3-3a1 1 0 0 0-1.42-1.42L13 18.58V13h5.59l-1.3 1.29a1 1 0 0 0 0 1.42A1 1 0 0 0 18 16a1 1 0 0 0 .71-.29l3-3A1 1 0 0 0 22 12a1 1 0 0 0-.29-.69z"})]})})}),j6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"options",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M7 14.18V3a1 1 0 0 0-2 0v11.18a3 3 0 0 0 0 5.64V21a1 1 0 0 0 2 0v-1.18a3 3 0 0 0 0-5.64zM6 18a1 1 0 1 1 1-1 1 1 0 0 1-1 1z"}),e("path",{d:"M21 13a3 3 0 0 0-2-2.82V3a1 1 0 0 0-2 0v7.18a3 3 0 0 0 0 5.64V21a1 1 0 0 0 2 0v-5.18A3 3 0 0 0 21 13zm-3 1a1 1 0 1 1 1-1 1 1 0 0 1-1 1z"}),e("path",{d:"M15 5a3 3 0 1 0-4 2.82V21a1 1 0 0 0 2 0V7.82A3 3 0 0 0 15 5zm-3 1a1 1 0 1 1 1-1 1 1 0 0 1-1 1z"})]})})}),vc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"paper-plane",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M21 4a1.31 1.31 0 0 0-.06-.27v-.09a1 1 0 0 0-.2-.3 1 1 0 0 0-.29-.19h-.09a.86.86 0 0 0-.31-.15H20a1 1 0 0 0-.3 0l-18 6a1 1 0 0 0 0 1.9l8.53 2.84 2.84 8.53a1 1 0 0 0 1.9 0l6-18A1 1 0 0 0 21 4zm-4.7 2.29l-5.57 5.57L5.16 10zM14 18.84l-1.86-5.57 5.57-5.57z"})]})})}),Z6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"person",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0-6a2 2 0 1 1-2 2 2 2 0 0 1 2-2z"}),e("path",{d:"M12 13a7 7 0 0 0-7 7 1 1 0 0 0 2 0 5 5 0 0 1 10 0 1 1 0 0 0 2 0 7 7 0 0 0-7-7z"})]})})}),U6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"play-circle",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z"}),e("path",{d:"M12.34 7.45a1.7 1.7 0 0 0-1.85-.3 1.6 1.6 0 0 0-1 1.48v6.74a1.6 1.6 0 0 0 1 1.48 1.68 1.68 0 0 0 .69.15 1.74 1.74 0 0 0 1.16-.45L16 13.18a1.6 1.6 0 0 0 0-2.36zm-.84 7.15V9.4l2.81 2.6z"})]})})}),G6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"plus",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M19 11h-6V5a1 1 0 0 0-2 0v6H5a1 1 0 0 0 0 2h6v6a1 1 0 0 0 2 0v-6h6a1 1 0 0 0 0-2z"})]})})}),At=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"plus-circle",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z"}),e("path",{d:"M15 11h-2V9a1 1 0 0 0-2 0v2H9a1 1 0 0 0 0 2h2v2a1 1 0 0 0 2 0v-2h2a1 1 0 0 0 0-2z"})]})})}),Cc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"pricetags",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12.87 22a1.84 1.84 0 0 1-1.29-.53l-6.41-6.42a1 1 0 0 1-.29-.61L4 5.09a1 1 0 0 1 .29-.8 1 1 0 0 1 .8-.29l9.35.88a1 1 0 0 1 .61.29l6.42 6.41a1.82 1.82 0 0 1 0 2.57l-7.32 7.32a1.82 1.82 0 0 1-1.28.53zm-6-8.11l6 6 7.05-7.05-6-6-7.81-.73z"}),e("circle",{cx:"10.5",cy:"10.5",r:"1.5"})]})})}),ni=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"refresh",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M20.3 13.43a1 1 0 0 0-1.25.65A7.14 7.14 0 0 1 12.18 19 7.1 7.1 0 0 1 5 12a7.1 7.1 0 0 1 7.18-7 7.26 7.26 0 0 1 4.65 1.67l-2.17-.36a1 1 0 0 0-1.15.83 1 1 0 0 0 .83 1.15l4.24.7h.17a1 1 0 0 0 .34-.06.33.33 0 0 0 .1-.06.78.78 0 0 0 .2-.11l.09-.11c0-.05.09-.09.13-.15s0-.1.05-.14a1.34 1.34 0 0 0 .07-.18l.75-4a1 1 0 0 0-2-.38l-.27 1.45A9.21 9.21 0 0 0 12.18 3 9.1 9.1 0 0 0 3 12a9.1 9.1 0 0 0 9.18 9A9.12 9.12 0 0 0 21 14.68a1 1 0 0 0-.7-1.25z"})]})})}),W6=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e("path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",fill:"none"}),e("path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",fill:"none"}),e("path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",fill:"none"}),e("path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",fill:"none"})]}),Lc=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 11.25C2.58579 11.25 2.25 11.5858 2.25 12C2.25 12.4142 2.58579 12.75 3 12.75H3.9C4.31421 12.75 4.65 12.4142 4.65 12C4.65 11.5858 4.31421 11.25 3.9 11.25H3ZM5.7 11.25C5.28579 11.25 4.95 11.5858 4.95 12C4.95 12.4142 5.28579 12.75 5.7 12.75H7.5C7.91421 12.75 8.25 12.4142 8.25 12C8.25 11.5858 7.91421 11.25 7.5 11.25H5.7ZM9.3 11.25C8.88579 11.25 8.55 11.5858 8.55 12C8.55 12.4142 8.88579 12.75 9.3 12.75H11.1C11.5142 12.75 11.85 12.4142 11.85 12C11.85 11.5858 11.5142 11.25 11.1 11.25H9.3ZM12.9 11.25C12.4858 11.25 12.15 11.5858 12.15 12C12.15 12.4142 12.4858 12.75 12.9 12.75H14.7C15.1142 12.75 15.45 12.4142 15.45 12C15.45 11.5858 15.1142 11.25 14.7 11.25H12.9ZM16.5 11.25C16.0858 11.25 15.75 11.5858 15.75 12C15.75 12.4142 16.0858 12.75 16.5 12.75L18.3 12.75C18.7142 12.75 19.05 12.4142 19.05 12C19.05 11.5858 18.7142 11.25 18.3 11.25L16.5 11.25ZM20.1 11.25C19.6858 11.25 19.35 11.5858 19.35 12C19.35 12.4142 19.6858 12.75 20.1 12.75H21C21.4142 12.75 21.75 12.4142 21.75 12C21.75 11.5858 21.4142 11.25 21 11.25H20.1ZM12.5746 15.1596L15.5744 16.7468C16.0263 17.025 16.1363 17.571 15.8174 17.9656C15.4994 18.3611 14.8754 18.4564 14.4245 18.1782L12.9816 17.55C12.9829 17.5618 12.9867 17.5728 12.9904 17.5838C12.995 17.5974 12.9996 17.6108 12.9996 17.6252V21.1251C12.9996 21.608 12.5526 22 11.9997 22C11.4467 22 10.9998 21.608 10.9998 21.1251V17.6252V17.6243L9.59887 18.3252C9.15791 18.6148 8.53096 18.5369 8.19998 18.1502C8.06499 17.9927 8 17.8081 8 17.6261C8 17.3601 8.13799 17.0967 8.39997 16.9253L11.3997 15.1753C11.7457 14.9478 12.2207 14.9408 12.5746 15.1596ZM12.5746 8.84043L15.5744 7.25325C16.0263 6.97502 16.1363 6.42904 15.8174 6.03444C15.4994 5.63895 14.8754 5.54358 14.4245 5.82182L12.9816 6.45004C12.9829 6.43826 12.9867 6.42718 12.9904 6.41617C12.995 6.40266 12.9996 6.38926 12.9996 6.3748V2.87496C12.9996 2.39198 12.5526 2 11.9997 2C11.4467 2 10.9998 2.39198 10.9998 2.87496V6.3748V6.37567L9.59887 5.67483C9.15791 5.38522 8.53096 5.46309 8.19998 5.84982C8.06499 6.00731 8 6.19193 8 6.37392C8 6.63991 8.13799 6.90327 8.39997 7.07476L11.3997 8.82468C11.7457 9.05217 12.2207 9.05917 12.5746 8.84043Z",fill:"currentColor"})}),kc=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 11.25C2.58579 11.25 2.25 11.5858 2.25 12C2.25 12.4142 2.58579 12.75 3 12.75H3.9C4.31421 12.75 4.65 12.4142 4.65 12C4.65 11.5858 4.31421 11.25 3.9 11.25H3ZM5.7 11.25C5.28579 11.25 4.95 11.5858 4.95 12C4.95 12.4142 5.28579 12.75 5.7 12.75H7.5C7.91421 12.75 8.25 12.4142 8.25 12C8.25 11.5858 7.91421 11.25 7.5 11.25H5.7ZM9.3 11.25C8.88579 11.25 8.55 11.5858 8.55 12C8.55 12.4142 8.88579 12.75 9.3 12.75H11.1C11.5142 12.75 11.85 12.4142 11.85 12C11.85 11.5858 11.5142 11.25 11.1 11.25H9.3ZM12.9 11.25C12.4858 11.25 12.15 11.5858 12.15 12C12.15 12.4142 12.4858 12.75 12.9 12.75H14.7C15.1142 12.75 15.45 12.4142 15.45 12C15.45 11.5858 15.1142 11.25 14.7 11.25H12.9ZM16.5 11.25C16.0858 11.25 15.75 11.5858 15.75 12C15.75 12.4142 16.0858 12.75 16.5 12.75L18.3 12.75C18.7142 12.75 19.05 12.4142 19.05 12C19.05 11.5858 18.7142 11.25 18.3 11.25L16.5 11.25ZM20.1 11.25C19.6858 11.25 19.35 11.5858 19.35 12C19.35 12.4142 19.6858 12.75 20.1 12.75H21C21.4142 12.75 21.75 12.4142 21.75 12C21.75 11.5858 21.4142 11.25 21 11.25H20.1ZM11.4254 21.8405L8.42561 20.2533C7.97365 19.975 7.86366 19.4291 8.18263 19.0345C8.50061 18.639 9.12456 18.5436 9.57552 18.8219L11.0184 19.4501C11.0171 19.4383 11.0133 19.4272 11.0096 19.4162C11.005 19.4027 11.0004 19.3893 11.0004 19.3748V15.875C11.0004 15.392 11.4474 15 12.0003 15C12.5533 15 13.0002 15.392 13.0002 15.875V19.3748V19.3757L14.4011 18.6749C14.8421 18.3852 15.469 18.4631 15.8 18.8499C15.935 19.0073 16 19.192 16 19.374C16 19.6399 15.862 19.9033 15.6 20.0748L12.6003 21.8247C12.2543 22.0522 11.7793 22.0592 11.4254 21.8405ZM11.4254 2.1596L8.42561 3.74678C7.97365 4.02501 7.86366 4.57099 8.18263 4.96559C8.50061 5.36108 9.12456 5.45645 9.57552 5.17821L11.0184 4.54999C11.0171 4.56177 11.0133 4.57285 11.0096 4.58386C11.005 4.59737 11.0004 4.61077 11.0004 4.62523L11.0004 8.12507C11.0004 8.60805 11.4474 9.00003 12.0003 9.00003C12.5533 9.00003 13.0002 8.60805 13.0002 8.12507L13.0002 4.62523V4.62436L14.4011 5.3252C14.8421 5.61481 15.469 5.53694 15.8 5.15021C15.935 4.99272 16 4.8081 16 4.62611C16 4.36012 15.862 4.09676 15.6 3.92527L12.6003 2.17535C12.2543 1.94786 11.7793 1.94086 11.4254 2.1596Z",fill:"currentColor"})}),Q6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"save",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M20.12 8.71l-4.83-4.83A3 3 0 0 0 13.17 3H6a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-7.17a3 3 0 0 0-.88-2.12zM10 19v-2h4v2zm9-1a1 1 0 0 1-1 1h-2v-3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h2v5a1 1 0 0 0 1 1h4a1 1 0 0 0 0-2h-3V5h3.17a1.05 1.05 0 0 1 .71.29l4.83 4.83a1 1 0 0 1 .29.71z"})]})})}),q6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"search",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M20.71 19.29l-3.4-3.39A7.92 7.92 0 0 0 19 11a8 8 0 1 0-8 8 7.92 7.92 0 0 0 4.9-1.69l3.39 3.4a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42zM5 11a6 6 0 1 1 6 6 6 6 0 0 1-6-6z"})]})})}),X6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"settings",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M8.61 22a2.25 2.25 0 0 1-1.35-.46L5.19 20a2.37 2.37 0 0 1-.49-3.22 2.06 2.06 0 0 0 .23-1.86l-.06-.16a1.83 1.83 0 0 0-1.12-1.22h-.16a2.34 2.34 0 0 1-1.48-2.94L2.93 8a2.18 2.18 0 0 1 1.12-1.41 2.14 2.14 0 0 1 1.68-.12 1.93 1.93 0 0 0 1.78-.29l.13-.1a1.94 1.94 0 0 0 .73-1.51v-.24A2.32 2.32 0 0 1 10.66 2h2.55a2.26 2.26 0 0 1 1.6.67 2.37 2.37 0 0 1 .68 1.68v.28a1.76 1.76 0 0 0 .69 1.43l.11.08a1.74 1.74 0 0 0 1.59.26l.34-.11A2.26 2.26 0 0 1 21.1 7.8l.79 2.52a2.36 2.36 0 0 1-1.46 2.93l-.2.07A1.89 1.89 0 0 0 19 14.6a2 2 0 0 0 .25 1.65l.26.38a2.38 2.38 0 0 1-.5 3.23L17 21.41a2.24 2.24 0 0 1-3.22-.53l-.12-.17a1.75 1.75 0 0 0-1.5-.78 1.8 1.8 0 0 0-1.43.77l-.23.33A2.25 2.25 0 0 1 9 22a2 2 0 0 1-.39 0zM4.4 11.62a3.83 3.83 0 0 1 2.38 2.5v.12a4 4 0 0 1-.46 3.62.38.38 0 0 0 0 .51L8.47 20a.25.25 0 0 0 .37-.07l.23-.33a3.77 3.77 0 0 1 6.2 0l.12.18a.3.3 0 0 0 .18.12.25.25 0 0 0 .19-.05l2.06-1.56a.36.36 0 0 0 .07-.49l-.26-.38A4 4 0 0 1 17.1 14a3.92 3.92 0 0 1 2.49-2.61l.2-.07a.34.34 0 0 0 .19-.44l-.78-2.49a.35.35 0 0 0-.2-.19.21.21 0 0 0-.19 0l-.34.11a3.74 3.74 0 0 1-3.43-.57L15 7.65a3.76 3.76 0 0 1-1.49-3v-.31a.37.37 0 0 0-.1-.26.31.31 0 0 0-.21-.08h-2.54a.31.31 0 0 0-.29.33v.25a3.9 3.9 0 0 1-1.52 3.09l-.13.1a3.91 3.91 0 0 1-3.63.59.22.22 0 0 0-.14 0 .28.28 0 0 0-.12.15L4 11.12a.36.36 0 0 0 .22.45z","data-name":"<Group>"}),e("path",{d:"M12 15.5a3.5 3.5 0 1 1 3.5-3.5 3.5 3.5 0 0 1-3.5 3.5zm0-5a1.5 1.5 0 1 0 1.5 1.5 1.5 1.5 0 0 0-1.5-1.5z"})]})})}),wc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"share",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M18 15a3 3 0 0 0-2.1.86L8 12.34V12v-.33l7.9-3.53A3 3 0 1 0 15 6v.34L7.1 9.86a3 3 0 1 0 0 4.28l7.9 3.53V18a3 3 0 1 0 3-3zm0-10a1 1 0 1 1-1 1 1 1 0 0 1 1-1zM5 13a1 1 0 1 1 1-1 1 1 0 0 1-1 1zm13 6a1 1 0 1 1 1-1 1 1 0 0 1-1 1z"})]})})}),Y6=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-slack",children:[e("path",{d:"M14.5 10c-.83 0-1.5-.67-1.5-1.5v-5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5z"}),e("path",{d:"M20.5 10H19V8.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"}),e("path",{d:"M9.5 14c.83 0 1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5S8 21.33 8 20.5v-5c0-.83.67-1.5 1.5-1.5z"}),e("path",{d:"M3.5 14H5v1.5c0 .83-.67 1.5-1.5 1.5S2 16.33 2 15.5 2.67 14 3.5 14z"}),e("path",{d:"M14 14.5c0-.83.67-1.5 1.5-1.5h5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5z"}),e("path",{d:"M15.5 19H14v1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"}),e("path",{d:"M10 9.5C10 8.67 9.33 8 8.5 8h-5C2.67 8 2 8.67 2 9.5S2.67 11 3.5 11h5c.83 0 1.5-.67 1.5-1.5z"}),e("path",{d:"M8.5 5H10V3.5C10 2.67 9.33 2 8.5 2S7 2.67 7 3.5 7.67 5 8.5 5z"})]}),Sc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"sun",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M12 6a1 1 0 0 0 1-1V3a1 1 0 0 0-2 0v2a1 1 0 0 0 1 1z"}),e("path",{d:"M21 11h-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2z"}),e("path",{d:"M6 12a1 1 0 0 0-1-1H3a1 1 0 0 0 0 2h2a1 1 0 0 0 1-1z"}),e("path",{d:"M6.22 5a1 1 0 0 0-1.39 1.47l1.44 1.39a1 1 0 0 0 .73.28 1 1 0 0 0 .72-.31 1 1 0 0 0 0-1.41z"}),e("path",{d:"M17 8.14a1 1 0 0 0 .69-.28l1.44-1.39A1 1 0 0 0 17.78 5l-1.44 1.42a1 1 0 0 0 0 1.41 1 1 0 0 0 .66.31z"}),e("path",{d:"M12 18a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0v-2a1 1 0 0 0-1-1z"}),e("path",{d:"M17.73 16.14a1 1 0 0 0-1.39 1.44L17.78 19a1 1 0 0 0 .69.28 1 1 0 0 0 .72-.3 1 1 0 0 0 0-1.42z"}),e("path",{d:"M6.27 16.14l-1.44 1.39a1 1 0 0 0 0 1.42 1 1 0 0 0 .72.3 1 1 0 0 0 .67-.25l1.44-1.39a1 1 0 0 0-1.39-1.44z"}),e("path",{d:"M12 8a4 4 0 1 0 4 4 4 4 0 0 0-4-4zm0 6a2 2 0 1 1 2-2 2 2 0 0 1-2 2z"})]})})}),xc=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("g",{id:"timer",children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.994 4.03164C12.9914 4.04002 12.9889 4.0485 12.988 4.058C17.487 4.552 21 8.372 21 13C21 17.963 16.962 22 12 22C7.038 22 3 17.963 3 13C3 8.372 6.513 4.552 11.012 4.058C11.0111 4.0485 11.0086 4.04002 11.006 4.03164C11.003 4.0215 11 4.0115 11 4V3H10C9.448 3 9 2.553 9 2C9 1.447 9.448 1 10 1H14C14.552 1 15 1.447 15 2C15 2.553 14.552 3 14 3H13V4C13 4.0115 12.997 4.0215 12.994 4.03164ZM12 19.75C8.278 19.75 5.25 16.722 5.25 13C5.25 9.278 8.278 6.25 12 6.25C15.722 6.25 18.75 9.278 18.75 13C18.75 16.722 15.722 19.75 12 19.75ZM16 13C16 12.447 15.552 12 15 12H13V10C13 9.447 12.552 9 12 9C11.448 9 11 9.447 11 10V13C11 13.553 11.448 14 12 14H15C15.552 14 16 13.553 16 13Z",fill:"currentColor"}),e("mask",{id:"mask0_0_1974",maskUnits:"userSpaceOnUse",x:"3",y:"1",width:"18",height:"21",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.994 4.03164C12.9914 4.04002 12.9889 4.0485 12.988 4.058C17.487 4.552 21 8.372 21 13C21 17.963 16.962 22 12 22C7.038 22 3 17.963 3 13C3 8.372 6.513 4.552 11.012 4.058C11.0111 4.0485 11.0086 4.04002 11.006 4.03164C11.003 4.0215 11 4.0115 11 4V3H10C9.448 3 9 2.553 9 2C9 1.447 9.448 1 10 1H14C14.552 1 15 1.447 15 2C15 2.553 14.552 3 14 3H13V4C13 4.0115 12.997 4.0215 12.994 4.03164ZM12 19.75C8.278 19.75 5.25 16.722 5.25 13C5.25 9.278 8.278 6.25 12 6.25C15.722 6.25 18.75 9.278 18.75 13C18.75 16.722 15.722 19.75 12 19.75ZM16 13C16 12.447 15.552 12 15 12H13V10C13 9.447 12.552 9 12 9C11.448 9 11 9.447 11 10V13C11 13.553 11.448 14 12 14H15C15.552 14 16 13.553 16 13Z",fill:"currentColor"})})]})}),Tc=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.988 4.058C12.9889 4.0485 12.9914 4.04002 12.994 4.03164C12.997 4.0215 13 4.0115 13 4V3H14C14.552 3 15 2.553 15 2C15 1.447 14.552 1 14 1H10C9.448 1 9 1.447 9 2C9 2.553 9.448 3 10 3H11V4C11 4.0115 11.003 4.0215 11.006 4.03164C11.0086 4.04002 11.0111 4.0485 11.012 4.058C10.1864 4.14865 9.394 4.35131 8.65042 4.65041L10.4335 6.43348C10.9364 6.31352 11.4609 6.25 12 6.25C15.722 6.25 18.75 9.278 18.75 13C18.75 13.5391 18.6865 14.0636 18.5665 14.5665L20.3525 16.3525C20.7701 15.3159 21 14.1843 21 13C21 8.372 17.487 4.552 12.988 4.058ZM12 19.75C12.82 19.75 13.6063 19.603 14.334 19.334L16.0408 21.0408C14.825 21.6543 13.4521 22 12 22C7.038 22 3 17.963 3 13C3 11.8156 3.23007 10.6842 3.64786 9.64786L5.43348 11.4335C5.31353 11.9364 5.25 12.4609 5.25 13C5.25 16.722 8.278 19.75 12 19.75ZM3.85828 3.09123C3.35638 2.61722 2.56525 2.63982 2.09124 3.14172C1.61722 3.64362 1.63983 4.43475 2.14172 4.90877L20.1417 21.9088C20.6436 22.3828 21.4348 22.3602 21.9088 21.8583C22.3828 21.3564 22.3602 20.5652 21.8583 20.0912L3.85828 3.09123Z",fill:"currentColor"})}),Ac=()=>e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("g",{children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.32264 7.73275L6.26721 6.67733C5.93552 6.34564 5.39776 6.34564 5.06607 6.67733L4.01064 7.73275C3.67895 8.06445 3.67895 8.60221 4.01064 8.9339L5.06607 9.98933C5.39776 10.321 5.93552 10.321 6.26721 9.98933L7.32264 8.9339C7.65433 8.60221 7.65433 8.06445 7.32264 7.73275ZM4.75695 8.33333L5.66664 7.42364L6.57633 8.33333L5.66664 9.24302L4.75695 8.33333Z"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.66672 13.3333C6.43362 13.3333 7.16019 13.1607 7.80972 12.8521C8.4596 13.1608 9.18643 13.3333 9.95243 13.3333C12.7139 13.3333 14.9524 11.0948 14.9524 8.33334C14.9524 5.57192 12.7139 3.33334 9.95243 3.33334C9.18643 3.33334 8.4596 3.50591 7.80969 3.81458C7.16019 3.50601 6.43362 3.33334 5.66672 3.33334C2.90529 3.33334 0.666718 5.57192 0.666718 8.33334C0.666718 11.0948 2.90529 13.3333 5.66672 13.3333ZM5.66672 4.28572C3.43129 4.28572 1.6191 6.09791 1.6191 8.33334C1.6191 10.5688 3.43129 12.381 5.66672 12.381C7.72319 12.381 9.42146 10.8473 9.68019 8.86141C9.70272 8.68858 9.71434 8.51232 9.71434 8.33334C9.71434 8.19363 9.70727 8.05556 9.69343 7.91949C9.48617 5.87846 7.76243 4.28572 5.66672 4.28572ZM9.95243 12.381C9.55679 12.381 9.17481 12.3243 8.81393 12.2188C9.81991 11.4029 10.5028 10.2043 10.6409 8.84456C10.658 8.67649 10.6667 8.50594 10.6667 8.33334C10.6667 8.10822 10.6518 7.88658 10.623 7.66934C10.451 6.37275 9.78208 5.23306 8.81393 4.44791C9.17481 4.34237 9.55679 4.28572 9.95243 4.28572C12.1879 4.28572 14.0001 6.09791 14.0001 8.33334C14.0001 10.5688 12.1879 12.381 9.95243 12.381Z"})]})}),Ic=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 5C7 4.44772 6.55228 4 6 4C5.44772 4 5 4.44772 5 5V9V15C5 16.6569 6.34315 18 8 18H13.4375C13.8375 19.0243 14.834 19.75 16 19.75C17.5188 19.75 18.75 18.5188 18.75 17C18.75 15.4812 17.5188 14.25 16 14.25C14.834 14.25 13.8375 14.9757 13.4375 16H8C7.44772 16 7 15.5523 7 15V11H13.4375C13.8375 12.0243 14.834 12.75 16 12.75C17.5188 12.75 18.75 11.5188 18.75 10C18.75 8.48122 17.5188 7.25 16 7.25C14.834 7.25 13.8375 7.97566 13.4375 9H7V5ZM16 8.75C15.3096 8.75 14.75 9.30964 14.75 10C14.75 10.6904 15.3096 11.25 16 11.25C16.6904 11.25 17.25 10.6904 17.25 10C17.25 9.30964 16.6904 8.75 16 8.75ZM14.75 17C14.75 16.3096 15.3096 15.75 16 15.75C16.6904 15.75 17.25 16.3096 17.25 17C17.25 17.6904 16.6904 18.25 16 18.25C15.3096 18.25 14.75 17.6904 14.75 17Z"})}),It=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"trash",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M21 6h-5V4.33A2.42 2.42 0 0 0 13.5 2h-3A2.42 2.42 0 0 0 8 4.33V6H3a1 1 0 0 0 0 2h1v11a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V8h1a1 1 0 0 0 0-2zM10 4.33c0-.16.21-.33.5-.33h3c.29 0 .5.17.5.33V6h-4zM18 19a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V8h12z"})]})})}),ye=()=>e(I,{svg:e(ac,{}),css:m`
|
|
344
|
+
`,children:s("g",{id:"loading",children:[e("mask",{id:"mask0_804_24",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"2",width:"20",height:"20",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.486 6.486 2 12 2C17.514 2 22 6.486 22 12C22 17.514 17.514 22 12 22C6.486 22 2 17.514 2 12ZM4 12C4 16.411 7.589 20 12 20C16.411 20 20 16.411 20 12C20 7.589 16.411 4 12 4C7.589 4 4 7.589 4 12Z",fill:"inherit"})}),e("g",{mask:"url(#mask0_804_24)",children:e("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M15.8268 2.7612C14.6136 2.25866 13.3132 2 12 2C11.4477 2 11 2.44772 11 3C11 3.55228 11.4477 4 12 4V12H20C20 12.5523 20.4477 13 21 13C21.5523 13 22 12.5523 22 12C22 10.6868 21.7413 9.38642 21.2388 8.17317C20.7362 6.95991 19.9997 5.85752 19.0711 4.92893C18.1425 4.00035 17.0401 3.26375 15.8268 2.7612Z",fill:"inherit"})})]})}),B6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"log-out",children:[e("rect",{width:"24",height:"24",transform:"rotate(90 12 12)",opacity:"0"}),e("path",{d:"M7 6a1 1 0 0 0 0-2H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h2a1 1 0 0 0 0-2H6V6z"}),e("path",{d:"M20.82 11.42l-2.82-4a1 1 0 0 0-1.39-.24 1 1 0 0 0-.24 1.4L18.09 11H10a1 1 0 0 0 0 2h8l-1.8 2.4a1 1 0 0 0 .2 1.4 1 1 0 0 0 .6.2 1 1 0 0 0 .8-.4l3-4a1 1 0 0 0 .02-1.18z"})]})})}),H6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"message-square",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("circle",{cx:"12",cy:"11",r:"1"}),e("circle",{cx:"16",cy:"11",r:"1"}),e("circle",{cx:"8",cy:"11",r:"1"}),e("path",{d:"M19 3H5a3 3 0 0 0-3 3v15a1 1 0 0 0 .51.87A1 1 0 0 0 3 22a1 1 0 0 0 .51-.14L8 19.14a1 1 0 0 1 .55-.14H19a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3zm1 13a1 1 0 0 1-1 1H8.55a3 3 0 0 0-1.55.43l-3 1.8V6a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1z"})]})})}),ni=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"minus-circle",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z"}),e("path",{d:"M15 11H9a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2z"})]})})}),fc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"moon",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12.3 22h-.1a10.31 10.31 0 0 1-7.34-3.15 10.46 10.46 0 0 1-.26-14 10.13 10.13 0 0 1 4-2.74 1 1 0 0 1 1.06.22 1 1 0 0 1 .24 1 8.4 8.4 0 0 0 1.94 8.81 8.47 8.47 0 0 0 8.83 1.94 1 1 0 0 1 1.27 1.29A10.16 10.16 0 0 1 19.6 19a10.28 10.28 0 0 1-7.3 3zM7.46 4.92a7.93 7.93 0 0 0-1.37 1.22 8.44 8.44 0 0 0 .2 11.32A8.29 8.29 0 0 0 12.22 20h.08a8.34 8.34 0 0 0 6.78-3.49A10.37 10.37 0 0 1 7.46 4.92z"})]})})}),bc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"more-horizotnal",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("circle",{cx:"12",cy:"12",r:"2"}),e("circle",{cx:"19",cy:"12",r:"2"}),e("circle",{cx:"5",cy:"12",r:"2"})]})})}),yc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"move",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M21.71 11.31l-3-3a1 1 0 0 0-1.42 1.42L18.58 11H13V5.41l1.29 1.3A1 1 0 0 0 15 7a1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.42l-3-3A1 1 0 0 0 12 2a1 1 0 0 0-.7.29l-3 3a1 1 0 0 0 1.41 1.42L11 5.42V11H5.41l1.3-1.29a1 1 0 0 0-1.42-1.42l-3 3A1 1 0 0 0 2 12a1 1 0 0 0 .29.71l3 3A1 1 0 0 0 6 16a1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.42L5.42 13H11v5.59l-1.29-1.3a1 1 0 0 0-1.42 1.42l3 3A1 1 0 0 0 12 22a1 1 0 0 0 .7-.29l3-3a1 1 0 0 0-1.42-1.42L13 18.58V13h5.59l-1.3 1.29a1 1 0 0 0 0 1.42A1 1 0 0 0 18 16a1 1 0 0 0 .71-.29l3-3A1 1 0 0 0 22 12a1 1 0 0 0-.29-.69z"})]})})}),j6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"options",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M7 14.18V3a1 1 0 0 0-2 0v11.18a3 3 0 0 0 0 5.64V21a1 1 0 0 0 2 0v-1.18a3 3 0 0 0 0-5.64zM6 18a1 1 0 1 1 1-1 1 1 0 0 1-1 1z"}),e("path",{d:"M21 13a3 3 0 0 0-2-2.82V3a1 1 0 0 0-2 0v7.18a3 3 0 0 0 0 5.64V21a1 1 0 0 0 2 0v-5.18A3 3 0 0 0 21 13zm-3 1a1 1 0 1 1 1-1 1 1 0 0 1-1 1z"}),e("path",{d:"M15 5a3 3 0 1 0-4 2.82V21a1 1 0 0 0 2 0V7.82A3 3 0 0 0 15 5zm-3 1a1 1 0 1 1 1-1 1 1 0 0 1-1 1z"})]})})}),vc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"paper-plane",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M21 4a1.31 1.31 0 0 0-.06-.27v-.09a1 1 0 0 0-.2-.3 1 1 0 0 0-.29-.19h-.09a.86.86 0 0 0-.31-.15H20a1 1 0 0 0-.3 0l-18 6a1 1 0 0 0 0 1.9l8.53 2.84 2.84 8.53a1 1 0 0 0 1.9 0l6-18A1 1 0 0 0 21 4zm-4.7 2.29l-5.57 5.57L5.16 10zM14 18.84l-1.86-5.57 5.57-5.57z"})]})})}),Z6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"person",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0-6a2 2 0 1 1-2 2 2 2 0 0 1 2-2z"}),e("path",{d:"M12 13a7 7 0 0 0-7 7 1 1 0 0 0 2 0 5 5 0 0 1 10 0 1 1 0 0 0 2 0 7 7 0 0 0-7-7z"})]})})}),U6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"play-circle",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z"}),e("path",{d:"M12.34 7.45a1.7 1.7 0 0 0-1.85-.3 1.6 1.6 0 0 0-1 1.48v6.74a1.6 1.6 0 0 0 1 1.48 1.68 1.68 0 0 0 .69.15 1.74 1.74 0 0 0 1.16-.45L16 13.18a1.6 1.6 0 0 0 0-2.36zm-.84 7.15V9.4l2.81 2.6z"})]})})}),G6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"plus",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M19 11h-6V5a1 1 0 0 0-2 0v6H5a1 1 0 0 0 0 2h6v6a1 1 0 0 0 2 0v-6h6a1 1 0 0 0 0-2z"})]})})}),At=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"plus-circle",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z"}),e("path",{d:"M15 11h-2V9a1 1 0 0 0-2 0v2H9a1 1 0 0 0 0 2h2v2a1 1 0 0 0 2 0v-2h2a1 1 0 0 0 0-2z"})]})})}),Cc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"pricetags",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M12.87 22a1.84 1.84 0 0 1-1.29-.53l-6.41-6.42a1 1 0 0 1-.29-.61L4 5.09a1 1 0 0 1 .29-.8 1 1 0 0 1 .8-.29l9.35.88a1 1 0 0 1 .61.29l6.42 6.41a1.82 1.82 0 0 1 0 2.57l-7.32 7.32a1.82 1.82 0 0 1-1.28.53zm-6-8.11l6 6 7.05-7.05-6-6-7.81-.73z"}),e("circle",{cx:"10.5",cy:"10.5",r:"1.5"})]})})}),ai=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"refresh",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M20.3 13.43a1 1 0 0 0-1.25.65A7.14 7.14 0 0 1 12.18 19 7.1 7.1 0 0 1 5 12a7.1 7.1 0 0 1 7.18-7 7.26 7.26 0 0 1 4.65 1.67l-2.17-.36a1 1 0 0 0-1.15.83 1 1 0 0 0 .83 1.15l4.24.7h.17a1 1 0 0 0 .34-.06.33.33 0 0 0 .1-.06.78.78 0 0 0 .2-.11l.09-.11c0-.05.09-.09.13-.15s0-.1.05-.14a1.34 1.34 0 0 0 .07-.18l.75-4a1 1 0 0 0-2-.38l-.27 1.45A9.21 9.21 0 0 0 12.18 3 9.1 9.1 0 0 0 3 12a9.1 9.1 0 0 0 9.18 9A9.12 9.12 0 0 0 21 14.68a1 1 0 0 0-.7-1.25z"})]})})}),W6=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e("path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",fill:"none"}),e("path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",fill:"none"}),e("path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",fill:"none"}),e("path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",fill:"none"})]}),Lc=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 11.25C2.58579 11.25 2.25 11.5858 2.25 12C2.25 12.4142 2.58579 12.75 3 12.75H3.9C4.31421 12.75 4.65 12.4142 4.65 12C4.65 11.5858 4.31421 11.25 3.9 11.25H3ZM5.7 11.25C5.28579 11.25 4.95 11.5858 4.95 12C4.95 12.4142 5.28579 12.75 5.7 12.75H7.5C7.91421 12.75 8.25 12.4142 8.25 12C8.25 11.5858 7.91421 11.25 7.5 11.25H5.7ZM9.3 11.25C8.88579 11.25 8.55 11.5858 8.55 12C8.55 12.4142 8.88579 12.75 9.3 12.75H11.1C11.5142 12.75 11.85 12.4142 11.85 12C11.85 11.5858 11.5142 11.25 11.1 11.25H9.3ZM12.9 11.25C12.4858 11.25 12.15 11.5858 12.15 12C12.15 12.4142 12.4858 12.75 12.9 12.75H14.7C15.1142 12.75 15.45 12.4142 15.45 12C15.45 11.5858 15.1142 11.25 14.7 11.25H12.9ZM16.5 11.25C16.0858 11.25 15.75 11.5858 15.75 12C15.75 12.4142 16.0858 12.75 16.5 12.75L18.3 12.75C18.7142 12.75 19.05 12.4142 19.05 12C19.05 11.5858 18.7142 11.25 18.3 11.25L16.5 11.25ZM20.1 11.25C19.6858 11.25 19.35 11.5858 19.35 12C19.35 12.4142 19.6858 12.75 20.1 12.75H21C21.4142 12.75 21.75 12.4142 21.75 12C21.75 11.5858 21.4142 11.25 21 11.25H20.1ZM12.5746 15.1596L15.5744 16.7468C16.0263 17.025 16.1363 17.571 15.8174 17.9656C15.4994 18.3611 14.8754 18.4564 14.4245 18.1782L12.9816 17.55C12.9829 17.5618 12.9867 17.5728 12.9904 17.5838C12.995 17.5974 12.9996 17.6108 12.9996 17.6252V21.1251C12.9996 21.608 12.5526 22 11.9997 22C11.4467 22 10.9998 21.608 10.9998 21.1251V17.6252V17.6243L9.59887 18.3252C9.15791 18.6148 8.53096 18.5369 8.19998 18.1502C8.06499 17.9927 8 17.8081 8 17.6261C8 17.3601 8.13799 17.0967 8.39997 16.9253L11.3997 15.1753C11.7457 14.9478 12.2207 14.9408 12.5746 15.1596ZM12.5746 8.84043L15.5744 7.25325C16.0263 6.97502 16.1363 6.42904 15.8174 6.03444C15.4994 5.63895 14.8754 5.54358 14.4245 5.82182L12.9816 6.45004C12.9829 6.43826 12.9867 6.42718 12.9904 6.41617C12.995 6.40266 12.9996 6.38926 12.9996 6.3748V2.87496C12.9996 2.39198 12.5526 2 11.9997 2C11.4467 2 10.9998 2.39198 10.9998 2.87496V6.3748V6.37567L9.59887 5.67483C9.15791 5.38522 8.53096 5.46309 8.19998 5.84982C8.06499 6.00731 8 6.19193 8 6.37392C8 6.63991 8.13799 6.90327 8.39997 7.07476L11.3997 8.82468C11.7457 9.05217 12.2207 9.05917 12.5746 8.84043Z",fill:"currentColor"})}),kc=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 11.25C2.58579 11.25 2.25 11.5858 2.25 12C2.25 12.4142 2.58579 12.75 3 12.75H3.9C4.31421 12.75 4.65 12.4142 4.65 12C4.65 11.5858 4.31421 11.25 3.9 11.25H3ZM5.7 11.25C5.28579 11.25 4.95 11.5858 4.95 12C4.95 12.4142 5.28579 12.75 5.7 12.75H7.5C7.91421 12.75 8.25 12.4142 8.25 12C8.25 11.5858 7.91421 11.25 7.5 11.25H5.7ZM9.3 11.25C8.88579 11.25 8.55 11.5858 8.55 12C8.55 12.4142 8.88579 12.75 9.3 12.75H11.1C11.5142 12.75 11.85 12.4142 11.85 12C11.85 11.5858 11.5142 11.25 11.1 11.25H9.3ZM12.9 11.25C12.4858 11.25 12.15 11.5858 12.15 12C12.15 12.4142 12.4858 12.75 12.9 12.75H14.7C15.1142 12.75 15.45 12.4142 15.45 12C15.45 11.5858 15.1142 11.25 14.7 11.25H12.9ZM16.5 11.25C16.0858 11.25 15.75 11.5858 15.75 12C15.75 12.4142 16.0858 12.75 16.5 12.75L18.3 12.75C18.7142 12.75 19.05 12.4142 19.05 12C19.05 11.5858 18.7142 11.25 18.3 11.25L16.5 11.25ZM20.1 11.25C19.6858 11.25 19.35 11.5858 19.35 12C19.35 12.4142 19.6858 12.75 20.1 12.75H21C21.4142 12.75 21.75 12.4142 21.75 12C21.75 11.5858 21.4142 11.25 21 11.25H20.1ZM11.4254 21.8405L8.42561 20.2533C7.97365 19.975 7.86366 19.4291 8.18263 19.0345C8.50061 18.639 9.12456 18.5436 9.57552 18.8219L11.0184 19.4501C11.0171 19.4383 11.0133 19.4272 11.0096 19.4162C11.005 19.4027 11.0004 19.3893 11.0004 19.3748V15.875C11.0004 15.392 11.4474 15 12.0003 15C12.5533 15 13.0002 15.392 13.0002 15.875V19.3748V19.3757L14.4011 18.6749C14.8421 18.3852 15.469 18.4631 15.8 18.8499C15.935 19.0073 16 19.192 16 19.374C16 19.6399 15.862 19.9033 15.6 20.0748L12.6003 21.8247C12.2543 22.0522 11.7793 22.0592 11.4254 21.8405ZM11.4254 2.1596L8.42561 3.74678C7.97365 4.02501 7.86366 4.57099 8.18263 4.96559C8.50061 5.36108 9.12456 5.45645 9.57552 5.17821L11.0184 4.54999C11.0171 4.56177 11.0133 4.57285 11.0096 4.58386C11.005 4.59737 11.0004 4.61077 11.0004 4.62523L11.0004 8.12507C11.0004 8.60805 11.4474 9.00003 12.0003 9.00003C12.5533 9.00003 13.0002 8.60805 13.0002 8.12507L13.0002 4.62523V4.62436L14.4011 5.3252C14.8421 5.61481 15.469 5.53694 15.8 5.15021C15.935 4.99272 16 4.8081 16 4.62611C16 4.36012 15.862 4.09676 15.6 3.92527L12.6003 2.17535C12.2543 1.94786 11.7793 1.94086 11.4254 2.1596Z",fill:"currentColor"})}),Q6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"save",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M20.12 8.71l-4.83-4.83A3 3 0 0 0 13.17 3H6a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-7.17a3 3 0 0 0-.88-2.12zM10 19v-2h4v2zm9-1a1 1 0 0 1-1 1h-2v-3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h2v5a1 1 0 0 0 1 1h4a1 1 0 0 0 0-2h-3V5h3.17a1.05 1.05 0 0 1 .71.29l4.83 4.83a1 1 0 0 1 .29.71z"})]})})}),q6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"search",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M20.71 19.29l-3.4-3.39A7.92 7.92 0 0 0 19 11a8 8 0 1 0-8 8 7.92 7.92 0 0 0 4.9-1.69l3.39 3.4a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42zM5 11a6 6 0 1 1 6 6 6 6 0 0 1-6-6z"})]})})}),wc=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",style:{fill:"none"},stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e("rect",{x:"2",y:"2",width:"20",height:"8",rx:"2",ry:"2"}),e("rect",{x:"2",y:"14",width:"20",height:"8",rx:"2",ry:"2"}),e("line",{x1:"6",y1:"6",x2:"6.01",y2:"6"}),e("line",{x1:"6",y1:"18",x2:"6.01",y2:"18"})]}),X6=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"settings",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M8.61 22a2.25 2.25 0 0 1-1.35-.46L5.19 20a2.37 2.37 0 0 1-.49-3.22 2.06 2.06 0 0 0 .23-1.86l-.06-.16a1.83 1.83 0 0 0-1.12-1.22h-.16a2.34 2.34 0 0 1-1.48-2.94L2.93 8a2.18 2.18 0 0 1 1.12-1.41 2.14 2.14 0 0 1 1.68-.12 1.93 1.93 0 0 0 1.78-.29l.13-.1a1.94 1.94 0 0 0 .73-1.51v-.24A2.32 2.32 0 0 1 10.66 2h2.55a2.26 2.26 0 0 1 1.6.67 2.37 2.37 0 0 1 .68 1.68v.28a1.76 1.76 0 0 0 .69 1.43l.11.08a1.74 1.74 0 0 0 1.59.26l.34-.11A2.26 2.26 0 0 1 21.1 7.8l.79 2.52a2.36 2.36 0 0 1-1.46 2.93l-.2.07A1.89 1.89 0 0 0 19 14.6a2 2 0 0 0 .25 1.65l.26.38a2.38 2.38 0 0 1-.5 3.23L17 21.41a2.24 2.24 0 0 1-3.22-.53l-.12-.17a1.75 1.75 0 0 0-1.5-.78 1.8 1.8 0 0 0-1.43.77l-.23.33A2.25 2.25 0 0 1 9 22a2 2 0 0 1-.39 0zM4.4 11.62a3.83 3.83 0 0 1 2.38 2.5v.12a4 4 0 0 1-.46 3.62.38.38 0 0 0 0 .51L8.47 20a.25.25 0 0 0 .37-.07l.23-.33a3.77 3.77 0 0 1 6.2 0l.12.18a.3.3 0 0 0 .18.12.25.25 0 0 0 .19-.05l2.06-1.56a.36.36 0 0 0 .07-.49l-.26-.38A4 4 0 0 1 17.1 14a3.92 3.92 0 0 1 2.49-2.61l.2-.07a.34.34 0 0 0 .19-.44l-.78-2.49a.35.35 0 0 0-.2-.19.21.21 0 0 0-.19 0l-.34.11a3.74 3.74 0 0 1-3.43-.57L15 7.65a3.76 3.76 0 0 1-1.49-3v-.31a.37.37 0 0 0-.1-.26.31.31 0 0 0-.21-.08h-2.54a.31.31 0 0 0-.29.33v.25a3.9 3.9 0 0 1-1.52 3.09l-.13.1a3.91 3.91 0 0 1-3.63.59.22.22 0 0 0-.14 0 .28.28 0 0 0-.12.15L4 11.12a.36.36 0 0 0 .22.45z","data-name":"<Group>"}),e("path",{d:"M12 15.5a3.5 3.5 0 1 1 3.5-3.5 3.5 3.5 0 0 1-3.5 3.5zm0-5a1.5 1.5 0 1 0 1.5 1.5 1.5 1.5 0 0 0-1.5-1.5z"})]})})}),Sc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"share",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M18 15a3 3 0 0 0-2.1.86L8 12.34V12v-.33l7.9-3.53A3 3 0 1 0 15 6v.34L7.1 9.86a3 3 0 1 0 0 4.28l7.9 3.53V18a3 3 0 1 0 3-3zm0-10a1 1 0 1 1-1 1 1 1 0 0 1 1-1zM5 13a1 1 0 1 1 1-1 1 1 0 0 1-1 1zm13 6a1 1 0 1 1 1-1 1 1 0 0 1-1 1z"})]})})}),Y6=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-slack",children:[e("path",{d:"M14.5 10c-.83 0-1.5-.67-1.5-1.5v-5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5z"}),e("path",{d:"M20.5 10H19V8.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"}),e("path",{d:"M9.5 14c.83 0 1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5S8 21.33 8 20.5v-5c0-.83.67-1.5 1.5-1.5z"}),e("path",{d:"M3.5 14H5v1.5c0 .83-.67 1.5-1.5 1.5S2 16.33 2 15.5 2.67 14 3.5 14z"}),e("path",{d:"M14 14.5c0-.83.67-1.5 1.5-1.5h5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5z"}),e("path",{d:"M15.5 19H14v1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"}),e("path",{d:"M10 9.5C10 8.67 9.33 8 8.5 8h-5C2.67 8 2 8.67 2 9.5S2.67 11 3.5 11h5c.83 0 1.5-.67 1.5-1.5z"}),e("path",{d:"M8.5 5H10V3.5C10 2.67 9.33 2 8.5 2S7 2.67 7 3.5 7.67 5 8.5 5z"})]}),xc=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"sun",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M12 6a1 1 0 0 0 1-1V3a1 1 0 0 0-2 0v2a1 1 0 0 0 1 1z"}),e("path",{d:"M21 11h-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2z"}),e("path",{d:"M6 12a1 1 0 0 0-1-1H3a1 1 0 0 0 0 2h2a1 1 0 0 0 1-1z"}),e("path",{d:"M6.22 5a1 1 0 0 0-1.39 1.47l1.44 1.39a1 1 0 0 0 .73.28 1 1 0 0 0 .72-.31 1 1 0 0 0 0-1.41z"}),e("path",{d:"M17 8.14a1 1 0 0 0 .69-.28l1.44-1.39A1 1 0 0 0 17.78 5l-1.44 1.42a1 1 0 0 0 0 1.41 1 1 0 0 0 .66.31z"}),e("path",{d:"M12 18a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0v-2a1 1 0 0 0-1-1z"}),e("path",{d:"M17.73 16.14a1 1 0 0 0-1.39 1.44L17.78 19a1 1 0 0 0 .69.28 1 1 0 0 0 .72-.3 1 1 0 0 0 0-1.42z"}),e("path",{d:"M6.27 16.14l-1.44 1.39a1 1 0 0 0 0 1.42 1 1 0 0 0 .72.3 1 1 0 0 0 .67-.25l1.44-1.39a1 1 0 0 0-1.39-1.44z"}),e("path",{d:"M12 8a4 4 0 1 0 4 4 4 4 0 0 0-4-4zm0 6a2 2 0 1 1 2-2 2 2 0 0 1-2 2z"})]})})}),Tc=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("g",{id:"timer",children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.994 4.03164C12.9914 4.04002 12.9889 4.0485 12.988 4.058C17.487 4.552 21 8.372 21 13C21 17.963 16.962 22 12 22C7.038 22 3 17.963 3 13C3 8.372 6.513 4.552 11.012 4.058C11.0111 4.0485 11.0086 4.04002 11.006 4.03164C11.003 4.0215 11 4.0115 11 4V3H10C9.448 3 9 2.553 9 2C9 1.447 9.448 1 10 1H14C14.552 1 15 1.447 15 2C15 2.553 14.552 3 14 3H13V4C13 4.0115 12.997 4.0215 12.994 4.03164ZM12 19.75C8.278 19.75 5.25 16.722 5.25 13C5.25 9.278 8.278 6.25 12 6.25C15.722 6.25 18.75 9.278 18.75 13C18.75 16.722 15.722 19.75 12 19.75ZM16 13C16 12.447 15.552 12 15 12H13V10C13 9.447 12.552 9 12 9C11.448 9 11 9.447 11 10V13C11 13.553 11.448 14 12 14H15C15.552 14 16 13.553 16 13Z",fill:"currentColor"}),e("mask",{id:"mask0_0_1974",maskUnits:"userSpaceOnUse",x:"3",y:"1",width:"18",height:"21",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.994 4.03164C12.9914 4.04002 12.9889 4.0485 12.988 4.058C17.487 4.552 21 8.372 21 13C21 17.963 16.962 22 12 22C7.038 22 3 17.963 3 13C3 8.372 6.513 4.552 11.012 4.058C11.0111 4.0485 11.0086 4.04002 11.006 4.03164C11.003 4.0215 11 4.0115 11 4V3H10C9.448 3 9 2.553 9 2C9 1.447 9.448 1 10 1H14C14.552 1 15 1.447 15 2C15 2.553 14.552 3 14 3H13V4C13 4.0115 12.997 4.0215 12.994 4.03164ZM12 19.75C8.278 19.75 5.25 16.722 5.25 13C5.25 9.278 8.278 6.25 12 6.25C15.722 6.25 18.75 9.278 18.75 13C18.75 16.722 15.722 19.75 12 19.75ZM16 13C16 12.447 15.552 12 15 12H13V10C13 9.447 12.552 9 12 9C11.448 9 11 9.447 11 10V13C11 13.553 11.448 14 12 14H15C15.552 14 16 13.553 16 13Z",fill:"currentColor"})})]})}),Ac=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.988 4.058C12.9889 4.0485 12.9914 4.04002 12.994 4.03164C12.997 4.0215 13 4.0115 13 4V3H14C14.552 3 15 2.553 15 2C15 1.447 14.552 1 14 1H10C9.448 1 9 1.447 9 2C9 2.553 9.448 3 10 3H11V4C11 4.0115 11.003 4.0215 11.006 4.03164C11.0086 4.04002 11.0111 4.0485 11.012 4.058C10.1864 4.14865 9.394 4.35131 8.65042 4.65041L10.4335 6.43348C10.9364 6.31352 11.4609 6.25 12 6.25C15.722 6.25 18.75 9.278 18.75 13C18.75 13.5391 18.6865 14.0636 18.5665 14.5665L20.3525 16.3525C20.7701 15.3159 21 14.1843 21 13C21 8.372 17.487 4.552 12.988 4.058ZM12 19.75C12.82 19.75 13.6063 19.603 14.334 19.334L16.0408 21.0408C14.825 21.6543 13.4521 22 12 22C7.038 22 3 17.963 3 13C3 11.8156 3.23007 10.6842 3.64786 9.64786L5.43348 11.4335C5.31353 11.9364 5.25 12.4609 5.25 13C5.25 16.722 8.278 19.75 12 19.75ZM3.85828 3.09123C3.35638 2.61722 2.56525 2.63982 2.09124 3.14172C1.61722 3.64362 1.63983 4.43475 2.14172 4.90877L20.1417 21.9088C20.6436 22.3828 21.4348 22.3602 21.9088 21.8583C22.3828 21.3564 22.3602 20.5652 21.8583 20.0912L3.85828 3.09123Z",fill:"currentColor"})}),Ic=()=>e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("g",{children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.32264 7.73275L6.26721 6.67733C5.93552 6.34564 5.39776 6.34564 5.06607 6.67733L4.01064 7.73275C3.67895 8.06445 3.67895 8.60221 4.01064 8.9339L5.06607 9.98933C5.39776 10.321 5.93552 10.321 6.26721 9.98933L7.32264 8.9339C7.65433 8.60221 7.65433 8.06445 7.32264 7.73275ZM4.75695 8.33333L5.66664 7.42364L6.57633 8.33333L5.66664 9.24302L4.75695 8.33333Z"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.66672 13.3333C6.43362 13.3333 7.16019 13.1607 7.80972 12.8521C8.4596 13.1608 9.18643 13.3333 9.95243 13.3333C12.7139 13.3333 14.9524 11.0948 14.9524 8.33334C14.9524 5.57192 12.7139 3.33334 9.95243 3.33334C9.18643 3.33334 8.4596 3.50591 7.80969 3.81458C7.16019 3.50601 6.43362 3.33334 5.66672 3.33334C2.90529 3.33334 0.666718 5.57192 0.666718 8.33334C0.666718 11.0948 2.90529 13.3333 5.66672 13.3333ZM5.66672 4.28572C3.43129 4.28572 1.6191 6.09791 1.6191 8.33334C1.6191 10.5688 3.43129 12.381 5.66672 12.381C7.72319 12.381 9.42146 10.8473 9.68019 8.86141C9.70272 8.68858 9.71434 8.51232 9.71434 8.33334C9.71434 8.19363 9.70727 8.05556 9.69343 7.91949C9.48617 5.87846 7.76243 4.28572 5.66672 4.28572ZM9.95243 12.381C9.55679 12.381 9.17481 12.3243 8.81393 12.2188C9.81991 11.4029 10.5028 10.2043 10.6409 8.84456C10.658 8.67649 10.6667 8.50594 10.6667 8.33334C10.6667 8.10822 10.6518 7.88658 10.623 7.66934C10.451 6.37275 9.78208 5.23306 8.81393 4.44791C9.17481 4.34237 9.55679 4.28572 9.95243 4.28572C12.1879 4.28572 14.0001 6.09791 14.0001 8.33334C14.0001 10.5688 12.1879 12.381 9.95243 12.381Z"})]})}),Mc=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 5C7 4.44772 6.55228 4 6 4C5.44772 4 5 4.44772 5 5V9V15C5 16.6569 6.34315 18 8 18H13.4375C13.8375 19.0243 14.834 19.75 16 19.75C17.5188 19.75 18.75 18.5188 18.75 17C18.75 15.4812 17.5188 14.25 16 14.25C14.834 14.25 13.8375 14.9757 13.4375 16H8C7.44772 16 7 15.5523 7 15V11H13.4375C13.8375 12.0243 14.834 12.75 16 12.75C17.5188 12.75 18.75 11.5188 18.75 10C18.75 8.48122 17.5188 7.25 16 7.25C14.834 7.25 13.8375 7.97566 13.4375 9H7V5ZM16 8.75C15.3096 8.75 14.75 9.30964 14.75 10C14.75 10.6904 15.3096 11.25 16 11.25C16.6904 11.25 17.25 10.6904 17.25 10C17.25 9.30964 16.6904 8.75 16 8.75ZM14.75 17C14.75 16.3096 15.3096 15.75 16 15.75C16.6904 15.75 17.25 16.3096 17.25 17C17.25 17.6904 16.6904 18.25 16 18.25C15.3096 18.25 14.75 17.6904 14.75 17Z"})}),It=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e("g",{"data-name":"Layer 2",children:s("g",{"data-name":"trash",children:[e("rect",{width:"24",height:"24",opacity:"0"}),e("path",{d:"M21 6h-5V4.33A2.42 2.42 0 0 0 13.5 2h-3A2.42 2.42 0 0 0 8 4.33V6H3a1 1 0 0 0 0 2h1v11a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V8h1a1 1 0 0 0 0-2zM10 4.33c0-.16.21-.33.5-.33h3c.29 0 .5.17.5.33V6h-4zM18 19a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V8h12z"})]})})}),be=()=>e(I,{svg:e(ac,{}),css:m`
|
|
344
345
|
font-size: 0.8rem;
|
|
345
|
-
`});function
|
|
346
|
+
`});function zc(n,{filled:a}={filled:!0}){let t;switch(n){case"warning":t=a?e(Y0,{}):e(X0,{});break;case"info":t=a?e(mc,{}):e(Tt,{});break;case"danger":t=a?e(J0,{}):e(St,{});break;case"success":t=a?e(Tl,{}):e(xl,{});break}return e(I,{svg:t})}const Fc=m`
|
|
346
347
|
--alert-base-color: var(--ac-global-color-info);
|
|
347
348
|
--alert-bg-color: lch(from var(--alert-base-color) l c h / 0.1);
|
|
348
349
|
--alert-border-color: lch(from var(--alert-base-color) l c h / 0.3);
|
|
@@ -407,12 +408,12 @@ fragment ViewerContext_viewer on Query {
|
|
|
407
408
|
font-size: var(--ac-global-font-size-l);
|
|
408
409
|
}
|
|
409
410
|
}
|
|
410
|
-
`,
|
|
411
|
+
`,Ec=m`
|
|
411
412
|
display: flex;
|
|
412
413
|
flex-direction: row;
|
|
413
414
|
align-items: flex-start;
|
|
414
415
|
flex: 1 1 auto;
|
|
415
|
-
`,
|
|
416
|
+
`,Dc=m`
|
|
416
417
|
background-color: transparent;
|
|
417
418
|
color: inherit;
|
|
418
419
|
padding: 0;
|
|
@@ -421,7 +422,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
421
422
|
width: 20px;
|
|
422
423
|
height: 20px;
|
|
423
424
|
margin-left: var(--ac-global-dimension-static-size-200);
|
|
424
|
-
`,Mt=({variant:n,title:a,icon:t,children:i,showIcon:l=!0,dismissable:r=!1,onDismissClick:o,banner:c=!1,extra:d,...u})=>{const{theme:g}=te();return!t&&l&&(t=
|
|
425
|
+
`,Mt=({variant:n,title:a,icon:t,children:i,showIcon:l=!0,dismissable:r=!1,onDismissClick:o,banner:c=!1,extra:d,...u})=>{const{theme:g}=te();return!t&&l&&(t=zc(n)),s("div",{...u,css:Fc,"data-variant":n,"data-banner":c,"data-has-title":!!a,"data-theme":g,children:[s("div",{css:Ec,className:"ac-alert__icon-title-wrap",children:[t,s("div",{children:[a?e(v,{elementType:"h5",size:"L",weight:"heavy",color:"inherit",children:a}):null,e(v,{color:"inherit",size:"M",children:i})]})]}),d,r?e("button",{css:Dc,onClick:o,children:e(I,{svg:e(xt,{})})}):null]})},_c=m`
|
|
425
426
|
& > * {
|
|
426
427
|
width: 100%;
|
|
427
428
|
.react-aria-Heading {
|
|
@@ -446,7 +447,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
446
447
|
}
|
|
447
448
|
}
|
|
448
449
|
}
|
|
449
|
-
`,
|
|
450
|
+
`,Kc=m`
|
|
450
451
|
.react-aria-Heading {
|
|
451
452
|
margin: 0;
|
|
452
453
|
}
|
|
@@ -522,7 +523,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
522
523
|
}
|
|
523
524
|
}
|
|
524
525
|
}
|
|
525
|
-
`,J6=({className:n,css:a,size:t,...i})=>e(
|
|
526
|
+
`,J6=({className:n,css:a,size:t,...i})=>e(nr,{allowsMultipleExpanded:!0,className:R("ac-disclosure-group",n),css:m(_c,a),"data-size":t,...i}),e7=({size:n,className:a,...t})=>e(ar,{className:R("ac-disclosure",a),css:Kc,"data-size":n,defaultExpanded:!0,...t}),n7=({className:n,...a})=>e(tr,{className:R("ac-disclosure-panel",n),...a}),a7=({children:n,arrowPosition:a,justifyContent:t,width:i})=>e(Ai,{className:"react-aria-Heading ac-disclosure-trigger",children:s(Mn,{slot:"trigger","data-arrow-position":a,style:{width:i},children:[e(S,{justifyContent:t,alignItems:"center",width:"100%",gap:"size-100",children:n}),e(I,{svg:e(wt,{})})]})}),Ce=m`
|
|
526
527
|
&[data-required] {
|
|
527
528
|
.react-aria-Label {
|
|
528
529
|
&::after {
|
|
@@ -588,7 +589,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
588
589
|
.react-aria-FieldError {
|
|
589
590
|
color: var(--ac-global-color-danger);
|
|
590
591
|
}
|
|
591
|
-
`,
|
|
592
|
+
`,Pc=m`
|
|
592
593
|
width: var(--trigger-width);
|
|
593
594
|
background-color: var(--ac-global-menu-background-color);
|
|
594
595
|
border-radius: var(--ac-global-rounding-small);
|
|
@@ -672,7 +673,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
672
673
|
transform: translateY(calc(var(--icon-alignment-offset) * -1));
|
|
673
674
|
color: var(--ac-global-color-info);
|
|
674
675
|
}
|
|
675
|
-
`,
|
|
676
|
+
`,Vc=m`
|
|
676
677
|
&[data-size="M"] {
|
|
677
678
|
--combobox-vertical-padding: 6px;
|
|
678
679
|
--combobox-start-padding: var(--ac-global-dimension-static-size-100);
|
|
@@ -723,7 +724,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
723
724
|
}
|
|
724
725
|
}
|
|
725
726
|
}
|
|
726
|
-
`,
|
|
727
|
+
`,Oc=m(Pc,m`
|
|
727
728
|
.react-aria-ListBox {
|
|
728
729
|
display: block;
|
|
729
730
|
width: unset;
|
|
@@ -732,7 +733,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
732
733
|
border: none;
|
|
733
734
|
overflow: auto;
|
|
734
735
|
}
|
|
735
|
-
`),
|
|
736
|
+
`),Rc=m`
|
|
736
737
|
outline: none;
|
|
737
738
|
display: flex;
|
|
738
739
|
align-items: center;
|
|
@@ -768,7 +769,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
768
769
|
&[data-focus-visible] {
|
|
769
770
|
outline: none;
|
|
770
771
|
}
|
|
771
|
-
`,Fa=n=>{n.preventDefault(),n.stopPropagation()};function t7({label:n,placeholder:a,description:t,errorMessage:i,children:l,container:r,size:o="M",width:c,stopPropagation:d,renderEmptyState:u,isInvalid:g,...h}){return s(
|
|
772
|
+
`,Fa=n=>{n.preventDefault(),n.stopPropagation()};function t7({label:n,placeholder:a,description:t,errorMessage:i,children:l,container:r,size:o="M",width:c,stopPropagation:d,renderEmptyState:u,isInvalid:g,...h}){return s(ir,{...h,css:m(Ce,Vc),"data-size":o,isInvalid:g||!!i,style:{width:c},children:[n&&e(P,{children:n}),s("div",{className:"px-combobox-container",onClick:d?Fa:void 0,onKeyDown:d?Fa:void 0,onKeyUp:d?Fa:void 0,children:[e(Z,{placeholder:a}),e(Mn,{children:e(be,{})})]}),t&&!i?e(Ti,{slot:"description",children:t}):null,e(X,{children:i}),e(Mi,{css:Oc,UNSTABLE_portalContainer:r,children:e(Ii,{renderEmptyState:u,children:l})})]})}function i7(n){const{children:a,...t}=n;return e(tn,{...t,css:Rc,children:({isSelected:i})=>s(j,{children:[a,i&&e(I,{svg:e(rc,{}),className:"px-menu-item__selected-checkmark"})]})})}const ma=m`
|
|
772
773
|
--button-border-color: var(--ac-global-input-field-border-color);
|
|
773
774
|
border: 1px solid var(--button-border-color);
|
|
774
775
|
font-size: var(--ac-global-dimension-static-font-size-100);
|
|
@@ -873,7 +874,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
873
874
|
background-color: var(--ac-global-color-grey-700);
|
|
874
875
|
}
|
|
875
876
|
}
|
|
876
|
-
`;function
|
|
877
|
+
`;function Nc(n,a){const{size:t,variant:i="default",leadingVisual:l,trailingVisual:r,children:o,css:c,...d}=n,u=gt(),g=t||u||"M",h=p.useCallback(f=>s(j,{children:[l,typeof o=="function"?o(f):o,r]}),[l,r,o]);return e(Mn,{...d,ref:a,"data-size":g,"data-variant":i,"data-childless":!o,css:m(ma,c),children:h})}const M=p.forwardRef(Nc),$c=m`
|
|
877
878
|
text-decoration: none;
|
|
878
879
|
user-select: none;
|
|
879
880
|
&[data-disabled="true"] {
|
|
@@ -881,7 +882,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
881
882
|
cursor: default;
|
|
882
883
|
opacity: var(--ac-opacity-disabled);
|
|
883
884
|
}
|
|
884
|
-
`;function
|
|
885
|
+
`;function Bc(n,a){const{size:t="M",variant:i="default",leadingVisual:l,trailingVisual:r,children:o,css:c,isDisabled:d,to:u}=n;return s(nt,{ref:a,"data-size":t,"data-variant":i,"data-childless":!o,"data-disabled":d,css:m(ma,$c,c),to:u,children:[l,o,r]})}const l7=p.forwardRef(Bc),Hc=m`
|
|
885
886
|
text-decoration: none;
|
|
886
887
|
user-select: none;
|
|
887
888
|
&[data-disabled="true"] {
|
|
@@ -889,7 +890,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
889
890
|
cursor: default;
|
|
890
891
|
opacity: var(--ac-opacity-disabled);
|
|
891
892
|
}
|
|
892
|
-
`;function
|
|
893
|
+
`;function jc(n,a){const{size:t="M",variant:i="default",leadingVisual:l,trailingVisual:r,children:o,css:c,isDisabled:d,target:u="_blank",...g}=n;return s("a",{ref:a,target:u,rel:"noopener noreferrer","data-size":t,"data-variant":i,"data-childless":!o,"data-disabled":d,css:m(ma,Hc,c),tabIndex:d?-1:void 0,"aria-disabled":d,...g,children:[l,o,r]})}const r7=qe.forwardRef(jc),Zc=n=>{if(n==="inherit")return"inherit";if(n.startsWith("text-")){const[,a]=n.split("-");return`var(--ac-global-text-color-${a})`}return On(n)},Uc=n=>m`
|
|
893
894
|
--icon-button-font-size-s: var(--ac-global-font-size-l);
|
|
894
895
|
--icon-button-font-size-m: var(--ac-global-font-size-xl);
|
|
895
896
|
--icon-button-font-size-l: var(--ac-global-font-size-2xl);
|
|
@@ -899,7 +900,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
899
900
|
justify-content: center;
|
|
900
901
|
border: var(--ac-global-border-size-thin) solid transparent;
|
|
901
902
|
border-radius: var(--ac-global-rounding-small);
|
|
902
|
-
color: ${
|
|
903
|
+
color: ${Zc(n)};
|
|
903
904
|
background-color: transparent;
|
|
904
905
|
cursor: pointer;
|
|
905
906
|
transition: all 0.2s ease;
|
|
@@ -947,12 +948,12 @@ fragment ViewerContext_viewer on Query {
|
|
|
947
948
|
opacity: var(--ac-global-opacity-disabled);
|
|
948
949
|
cursor: not-allowed;
|
|
949
950
|
}
|
|
950
|
-
`;function o7({size:n="M",color:a="text-700",children:t,...i}){return e(
|
|
951
|
+
`;function o7({size:n="M",color:a="text-700",children:t,...i}){return e(Mn,{css:Uc(a),"data-size":n,...i,children:t})}function Gc(n,a){const{children:t,elementType:i="div",...l}=n,{styleProps:r}=Qn(n,z0);return e(i,{...zi(l),...r,ref:a,css:m`
|
|
951
952
|
overflow: hidden;
|
|
952
953
|
box-sizing: border-box;
|
|
953
|
-
`,className:"ac-view",children:t})}const x=p.forwardRef(
|
|
954
|
+
`,className:"ac-view",children:t})}const x=p.forwardRef(Gc),Wc=m`
|
|
954
955
|
display: flex;
|
|
955
|
-
`,
|
|
956
|
+
`,Qc={direction:["flexDirection",ie],wrap:["flexWrap",Xc],justifyContent:["justifyContent",Ea],alignItems:["alignItems",Ea],alignContent:["alignContent",Ea]};function qc(n,a){const{children:t,className:i,...l}=n,r=["base"],{styleProps:o}=Qn(l),{styleProps:c}=Qn(l,Qc),d={...o.style,...c.style};return n.gap!=null&&(d.gap=Ma(n.gap,r)),n.columnGap!=null&&(d.columnGap=Ma(n.columnGap,r)),n.rowGap!=null&&(d.rowGap=Ma(n.rowGap,r)),e("div",{css:Wc,...zi(l),className:R("flex",i),style:d,ref:a,children:t})}function Ea(n){return n==="start"?"flex-start":n==="end"?"flex-end":n}function Xc(n){return typeof n=="boolean"?n?"wrap":"nowrap":n}const S=p.forwardRef(qc),Yc=m`
|
|
956
957
|
display: flex;
|
|
957
958
|
align-items: center;
|
|
958
959
|
gap: 0;
|
|
@@ -970,7 +971,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
970
971
|
border-top-left-radius: 0;
|
|
971
972
|
border-bottom-left-radius: 0;
|
|
972
973
|
}
|
|
973
|
-
`,
|
|
974
|
+
`,Jc=p.forwardRef(({size:n,...a},t)=>e(ia,{size:n,children:e(lr,{...a,ref:t,css:Yc})}));Jc.displayName="Group";function e2(n,a){const{size:t="M",...i}=n;return e(Fi,{"data-size":t,className:"ac-textfield",ref:a,...i,css:m(Ce,ga)})}const U=p.forwardRef(e2);function n2(n,a){const{size:t="M",...i}=n;return e(rr,{"data-size":t,className:"ac-searchfield",ref:a,...i,css:m(Ce,ga)})}const s7=p.forwardRef(n2),Ml=p.createContext(null);function a2(){const n=p.useContext(Ml);if(!n)throw new Error("useCredentialContext must be used within a CredentialContext.Provider");return n}function t2(n,a){const{size:t="M",children:i,...l}=n,[r,o]=p.useState(!1);return e(Ml.Provider,{value:{isVisible:r,setIsVisible:o},children:e(ia,{size:t,children:e(Fi,{"data-size":t,className:"ac-credentialfield",autoComplete:"off",ref:a,...l,css:m(Ce,ga),children:i})})})}const c7=p.forwardRef(t2);function i2(n,a){const{isVisible:t,setIsVisible:i}=a2(),l=gt(),{disabled:r,readOnly:o,...c}=n;return s("div",{"data-size":l,"data-testid":"credential-input",css:m`
|
|
974
975
|
position: relative;
|
|
975
976
|
display: flex;
|
|
976
977
|
align-items: center;
|
|
@@ -1021,11 +1022,11 @@ fragment ViewerContext_viewer on Query {
|
|
|
1021
1022
|
opacity: 0.5;
|
|
1022
1023
|
}
|
|
1023
1024
|
}
|
|
1024
|
-
`,children:[e(Z,{...c,ref:a,type:t?"text":"password",disabled:r,readOnly:o}),e(
|
|
1025
|
+
`,children:[e(Z,{...c,ref:a,type:t?"text":"password",disabled:r,readOnly:o}),e(Mn,{className:"ac-credential-input__toggle",onPress:()=>i(!t),isDisabled:r||o,"aria-label":t?"Hide credential":"Show credential",children:e(I,{svg:t?e(cc,{}):e(dc,{})})})]})}const d7=p.forwardRef(i2),l2=m`
|
|
1025
1026
|
.react-aria-Input {
|
|
1026
1027
|
text-align: right;
|
|
1027
1028
|
}
|
|
1028
|
-
`,zl=p.forwardRef(function(a,t){const{size:i="M",...l}=a;return e(
|
|
1029
|
+
`,zl=p.forwardRef(function(a,t){const{size:i="M",...l}=a;return e(or,{"data-size":i,...l,className:R("ac-textfield react-aria-NumberField",a.className),ref:t,css:m(Ce,ga,l2)})}),r2=m`
|
|
1029
1030
|
border: 1px solid var(--ac-global-border-color-light);
|
|
1030
1031
|
forced-color-adjust: none;
|
|
1031
1032
|
border-radius: var(--ac-global-rounding-small);
|
|
@@ -1052,13 +1053,13 @@ fragment ViewerContext_viewer on Query {
|
|
|
1052
1053
|
border-color: var(--ac-global-color-primary);
|
|
1053
1054
|
background: var(--ac-global-color-primary-700);
|
|
1054
1055
|
}
|
|
1055
|
-
`;function
|
|
1056
|
+
`;function o2(n,a){return e(sr,{...n,ref:a,css:r2})}p.forwardRef(o2);function s2(n,a){return e(cr,{...n,ref:a,css:Ce})}p.forwardRef(s2);const c2=m`
|
|
1056
1057
|
display: flex;
|
|
1057
1058
|
align-items: center;
|
|
1058
1059
|
flex-wrap: wrap;
|
|
1059
1060
|
gap: var(--ac-global-dimension-size-50);
|
|
1060
1061
|
height: 28px;
|
|
1061
|
-
`;function
|
|
1062
|
+
`;function d2(n,a){return e(dr,{...n,ref:a,css:c2})}p.forwardRef(d2);function u2(n,a){return e(Ei,{...n,ref:a,children:e("svg",{width:12,height:12,viewBox:"0 0 12 12",children:e("path",{d:"M0 0 L6 6 L12 0"})})})}const qn=p.forwardRef(u2),ti=Xe`
|
|
1062
1063
|
100% {
|
|
1063
1064
|
from {
|
|
1064
1065
|
transform: var(--origin);
|
|
@@ -1070,7 +1071,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1070
1071
|
opacity: 1;
|
|
1071
1072
|
}
|
|
1072
1073
|
}
|
|
1073
|
-
`,
|
|
1074
|
+
`,g2=m`
|
|
1074
1075
|
box-sizing: border-box;
|
|
1075
1076
|
--background-color: var(--ac-global-background-color-light);
|
|
1076
1077
|
transition:
|
|
@@ -1145,11 +1146,11 @@ fragment ViewerContext_viewer on Query {
|
|
|
1145
1146
|
}
|
|
1146
1147
|
|
|
1147
1148
|
&[data-entering] {
|
|
1148
|
-
animation: ${
|
|
1149
|
+
animation: ${ti} 200ms;
|
|
1149
1150
|
}
|
|
1150
1151
|
|
|
1151
1152
|
&[data-exiting] {
|
|
1152
|
-
animation: ${
|
|
1153
|
+
animation: ${ti} 200ms reverse ease-in;
|
|
1153
1154
|
}
|
|
1154
1155
|
|
|
1155
1156
|
.react-aria-Dialog {
|
|
@@ -1159,7 +1160,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1159
1160
|
& div[role="listbox"] {
|
|
1160
1161
|
padding: var(--ac-global-dimension-size-25);
|
|
1161
1162
|
}
|
|
1162
|
-
`;function
|
|
1163
|
+
`;function m2(n,a){return e(Mi,{...n,ref:a,className:R("ac-popover react-aria-Popover",n.className),css:g2})}const ne=p.forwardRef(m2),ii=Xe`
|
|
1163
1164
|
from {
|
|
1164
1165
|
transform: translateX(100%);
|
|
1165
1166
|
}
|
|
@@ -1173,14 +1174,14 @@ fragment ViewerContext_viewer on Query {
|
|
|
1173
1174
|
to {
|
|
1174
1175
|
opacity: 1;
|
|
1175
1176
|
}
|
|
1176
|
-
`,
|
|
1177
|
+
`,p2=Xe`
|
|
1177
1178
|
from {
|
|
1178
1179
|
transform: scale(0.8);
|
|
1179
1180
|
}
|
|
1180
1181
|
to {
|
|
1181
1182
|
transform: scale(1);
|
|
1182
1183
|
}
|
|
1183
|
-
`,
|
|
1184
|
+
`,h2=m`
|
|
1184
1185
|
--modal-width: var(--ac-global-modal-width-M);
|
|
1185
1186
|
|
|
1186
1187
|
&[data-size="S"] {
|
|
@@ -1215,11 +1216,11 @@ fragment ViewerContext_viewer on Query {
|
|
|
1215
1216
|
justify-content: flex-end;
|
|
1216
1217
|
|
|
1217
1218
|
&[data-entering] {
|
|
1218
|
-
animation: ${
|
|
1219
|
+
animation: ${ii} 300ms;
|
|
1219
1220
|
}
|
|
1220
1221
|
|
|
1221
1222
|
&[data-exiting] {
|
|
1222
|
-
animation: ${
|
|
1223
|
+
animation: ${ii} 300ms reverse ease-in;
|
|
1223
1224
|
}
|
|
1224
1225
|
|
|
1225
1226
|
.react-aria-Dialog {
|
|
@@ -1255,7 +1256,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1255
1256
|
overscroll-behavior: contain;
|
|
1256
1257
|
|
|
1257
1258
|
&[data-entering] {
|
|
1258
|
-
animation: ${
|
|
1259
|
+
animation: ${p2} 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
1259
1260
|
}
|
|
1260
1261
|
}
|
|
1261
1262
|
}
|
|
@@ -1282,7 +1283,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1282
1283
|
z-index: 1;
|
|
1283
1284
|
}
|
|
1284
1285
|
}
|
|
1285
|
-
`;function
|
|
1286
|
+
`;function f2(n,a){const{size:t="M",variant:i="default",...l}=n;return e(ur,{...l,"data-size":t,"data-variant":i,ref:a,css:h2})}const Sn=p.forwardRef(f2),b2=m`
|
|
1286
1287
|
position: fixed;
|
|
1287
1288
|
inset: 0;
|
|
1288
1289
|
background: rgba(0 0 0 / 0.5);
|
|
@@ -1297,11 +1298,11 @@ fragment ViewerContext_viewer on Query {
|
|
|
1297
1298
|
// ensure overlay animation is longer than child animations
|
|
1298
1299
|
animation: ${Xn} 300ms reverse ease-in;
|
|
1299
1300
|
}
|
|
1300
|
-
`;function
|
|
1301
|
+
`;function y2(n,a){return e(gr,{...n,"data-testid":"modal-overlay",css:b2,className:R(n.className,"react-aria-ModalOverlay"),isDismissable:n.isDismissable??!0,ref:a})}const xn=p.forwardRef(y2),pa=[{key:"15m",label:"Last 15 Min"},{key:"1h",label:"Last Hour"},{key:"12h",label:"Last 12 Hours"},{key:"1d",label:"Last Day"},{key:"7d",label:"Last 7 Days"},{key:"30d",label:"Last Month"}];pa.reduce((n,a)=>({...n,[a.key]:a}),{});function Ua(n){const a=Date.now();switch(n){case"15m":return{start:Oa(mr(a))};case"1h":return{start:Oa(Ra(a,1))};case"12h":return{start:bn(Ra(a,12))};case"1d":return{start:bn(Ne(a,1))};case"7d":return{start:bn(Ne(a,7))};case"30d":return{start:bn(Ne(a,30))};default:K()}}function Ga(n){return pa.some(a=>a.key===n)}function v2(n){return Ga(n)||n==="custom"}const Fl=p.createContext(null);function El(){return qe.useContext(Fl)}function C2(){const n=El();if(n===null)throw new Error("useTimeRange must be used within a TimeRangeContextProvider");return n}function u7({children:n}){const a=Ue(o=>o.lastNTimeRangeKey),t=Ue(o=>o.setLastNTimeRangeKey),[i,l]=p.useState(()=>Ga(a)?{timeRangeKey:a,...Ua(a)}:{timeRangeKey:"7d",...Ua("7d")}),r=p.useCallback(o=>{l(o),Ga(o.timeRangeKey)&&t(o.timeRangeKey)},[t]);return e(Fl.Provider,{value:{timeRange:i,setTimeRange:r},children:n})}const $e=zn("%x %H:%M:%S %p");zn("%H:%M %p");const L2=zn("%x %H:%M %p"),k2=n=>n.start&&n.end?`${$e(n.start)} - ${$e(n.end)}`:n.start?`From ${$e(n.start)}`:n.end?`Until ${$e(n.end)}`:"All Time";function g7(n){return new Intl.DateTimeFormat(n,{day:"2-digit",month:"2-digit",year:"numeric"}).formatToParts(new Date).map(i=>{switch(i.type){case"day":return"dd";case"month":return"mm";case"year":return"yyyy";case"literal":return i.value;default:return""}}).join("")}const w2=m`
|
|
1301
1302
|
width: 130px;
|
|
1302
|
-
`;function
|
|
1303
|
+
`;function S2({timeRangeKey:n,start:a,end:t}){if(n==="custom")return k2({start:a,end:t});const i=pa.find(l=>l.key===n);return i?i.label:"invalid"}function x2(n){const{value:a,isDisabled:t,onChange:i}=n,{timeRangeKey:l,start:r,end:o}=a;return s(fe,{children:[s(M,{size:"S",leadingVisual:e(I,{svg:e(nc,{})}),isDisabled:t,children:[S2(a),e(be,{})]}),e(ne,{placement:"bottom end",children:e(Di,{children:({close:c})=>s(j,{children:[e(qn,{}),s(S,{direction:"row",children:[e(T2,{visible:l==="custom",children:l==="custom"&&s(S,{direction:"column",gap:"size-100",height:"100%",children:[e(Y,{level:2,weight:"heavy",children:"Time Range"}),e(_2,{initialValue:{start:r,end:o},onSubmit:d=>{i&&i({timeRangeKey:"custom",...d}),c()}})]})}),s(ue,{"aria-label":"time range preset selection",selectionMode:"single",autoFocus:!0,selectedKeys:[l],css:w2,onSelectionChange:d=>{if(d==="all"){c();return}const u=d.keys().next().value;if(v2(u))if(u!=="custom"){i({timeRangeKey:u,...Ua(u)}),c();return}else i({timeRangeKey:u,start:r,end:o})},children:[pa.map(({key:d,label:u})=>e(tn,{id:d,children:u},d)),e(tn,{id:"custom",children:"Custom"},"custom")]})]})]})})})]})}function T2({children:n,visible:a}){return e("div",{css:m`
|
|
1303
1304
|
display: ${a?"block":"none"};
|
|
1304
|
-
`,children:e(x,{borderEndWidth:"thin",borderColor:"light",padding:"size-200",height:"100%",children:n})})}function m7(){const{timeRange:n,setTimeRange:a}=
|
|
1305
|
+
`,children:e(x,{borderEndWidth:"thin",borderColor:"light",padding:"size-200",height:"100%",children:n})})}function m7(){const{timeRange:n,setTimeRange:a}=C2(),t=p.useCallback(i=>{p.startTransition(()=>{a(i)})},[a]);return e(x2,{value:n,onChange:t})}const A2=m`
|
|
1305
1306
|
--date-field-vertical-padding: 6px;
|
|
1306
1307
|
--date-field-horizontal-padding: 8px;
|
|
1307
1308
|
color: var(--ac-global-text-color-900);
|
|
@@ -1353,7 +1354,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1353
1354
|
caret-color: transparent;
|
|
1354
1355
|
}
|
|
1355
1356
|
}
|
|
1356
|
-
`;function
|
|
1357
|
+
`;function I2(n,a){const{css:t,...i}=n;return e(pr,{css:m(Ce,A2,t),...i,ref:a})}const Wa=p.forwardRef(I2),M2=m`
|
|
1357
1358
|
--date-field-vertical-padding: 6px;
|
|
1358
1359
|
--date-field-horizontal-padding: 8px;
|
|
1359
1360
|
color: var(--ac-global-text-color-900);
|
|
@@ -1400,11 +1401,11 @@ fragment ViewerContext_viewer on Query {
|
|
|
1400
1401
|
caret-color: transparent;
|
|
1401
1402
|
}
|
|
1402
1403
|
}
|
|
1403
|
-
`;function
|
|
1404
|
+
`;function z2(n,a){return e(hr,{css:m(Ce,M2),...n,ref:a})}p.forwardRef(z2);const F2=m`
|
|
1404
1405
|
display: flex;
|
|
1405
1406
|
flex-direction: column;
|
|
1406
1407
|
gap: var(--ac-global-dimension-size-200);
|
|
1407
|
-
`,
|
|
1408
|
+
`,li=m`
|
|
1408
1409
|
display: flex;
|
|
1409
1410
|
gap: var(--ac-global-dimension-size-100);
|
|
1410
1411
|
align-items: start;
|
|
@@ -1413,19 +1414,19 @@ fragment ViewerContext_viewer on Query {
|
|
|
1413
1414
|
button {
|
|
1414
1415
|
margin-top: 23.5px;
|
|
1415
1416
|
}
|
|
1416
|
-
`,
|
|
1417
|
+
`,E2=m`
|
|
1417
1418
|
width: 100%;
|
|
1418
1419
|
display: flex;
|
|
1419
1420
|
justify-content: flex-end;
|
|
1420
1421
|
gap: var(--ac-global-dimension-size-100);
|
|
1421
|
-
`,
|
|
1422
|
+
`,ri=m`
|
|
1422
1423
|
width: 100%;
|
|
1423
1424
|
.react-aria-DateInput {
|
|
1424
1425
|
width: 100%;
|
|
1425
1426
|
// Eliminate the re-sizing of the DateField as you type
|
|
1426
1427
|
min-width: 200px;
|
|
1427
1428
|
}
|
|
1428
|
-
`;function
|
|
1429
|
+
`;function D2(n){return{startDate:n.start?Ot(n.start.toISOString()):null,endDate:n.end?Ot(n.end.toISOString()):null}}function _2(n){const{initialValue:a,onSubmit:t}=n,{control:i,handleSubmit:l,formState:{isValid:r},resetField:o,setError:c,clearErrors:d}=Oe({defaultValues:D2(a||{})}),u=p.useCallback(()=>{o("startDate",{defaultValue:null})},[o]),g=p.useCallback(()=>{o("endDate",{defaultValue:null})},[o]),h=p.useCallback(f=>{d();const{startDate:b,endDate:y}=f,k=b?b.toDate(Na()):null,L=y?y.toDate(Na()):null;if(k&&L&&k>L){c("endDate",{message:"End must be after the start date"});return}t({start:k,end:L})},[t,c,d]);return s(cn,{css:F2,"data-testid":"time-range-form",onSubmit:l(h),children:[s("div",{"data-testid":"start-time",css:li,children:[e(H,{name:"startDate",control:i,render:({field:{onChange:f,onBlur:b,value:y},fieldState:{invalid:k}})=>s(Wa,{isInvalid:k,onChange:f,onBlur:b,value:y,granularity:"second",hideTimeZone:!0,css:ri,children:[e(P,{children:"Start Date"}),e($a,{children:L=>e(Ba,{segment:L})})]})}),e(M,{size:"S",excludeFromTabOrder:!0,onPress:u,"aria-label":"Clear start date and time",leadingVisual:e(I,{svg:e(ai,{})})})]}),s("div",{"data-testid":"end-time",css:li,children:[e(H,{name:"endDate",control:i,render:({field:{onChange:f,onBlur:b,value:y},fieldState:{invalid:k,error:L}})=>s(Wa,{isInvalid:k,onChange:f,onBlur:b,value:y,granularity:"second",hideTimeZone:!0,css:ri,children:[e(P,{children:"End Date"}),e($a,{children:w=>e(Ba,{segment:w})}),L?e(X,{children:L.message}):null]})}),e(M,{size:"S",excludeFromTabOrder:!0,onPress:g,"aria-label":"Clear end date and time",leadingVisual:e(I,{svg:e(ai,{})})})]}),e("div",{"data-testid":"controls",css:E2,children:e(M,{isDisabled:!r,size:"S",type:"submit",variant:"primary",children:"Apply"})})]})}const K2=m(`
|
|
1429
1430
|
// fixes esoteric overflow bug with VisuallyHidden, which is used by Radio
|
|
1430
1431
|
// If position is not set to relative, the radio group will explode the parent layout
|
|
1431
1432
|
// This will impact any other react aria component that uses VisuallyHidden
|
|
@@ -1496,7 +1497,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1496
1497
|
// display an outline offset around the radio group, accounting for the outline offset of the inner radios
|
|
1497
1498
|
outline-offset: var(--ac-global-dimension-size-100);
|
|
1498
1499
|
}
|
|
1499
|
-
`),p7=({size:n,css:a,className:t,direction:i="row",...l})=>e(
|
|
1500
|
+
`),p7=({size:n,css:a,className:t,direction:i="row",...l})=>e(fr,{"data-size":n,"data-direction":i,className:R("ac-radio-group",t),css:m(Ce,K2,a),...l}),P2=m(`
|
|
1500
1501
|
display: flex;
|
|
1501
1502
|
align-items: center;
|
|
1502
1503
|
gap: var(--ac-global-dimension-size-50);
|
|
@@ -1539,7 +1540,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1539
1540
|
&[data-disabled] {
|
|
1540
1541
|
opacity: var(--ac-global-opacity-disabled);
|
|
1541
1542
|
}
|
|
1542
|
-
`),h7=({className:n,css:a,...t})=>e(
|
|
1543
|
+
`),h7=({className:n,css:a,...t})=>e(br,{className:R("ac-radio",n),css:m(P2,a),...t}),V2=m(ma,`
|
|
1543
1544
|
text-wrap: nowrap;
|
|
1544
1545
|
&[data-selected="true"] {
|
|
1545
1546
|
background-color: var(--ac-global-button-primary-background-color);
|
|
@@ -1556,7 +1557,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1556
1557
|
outline: 1px solid var(--ac-global-input-field-border-color-active);
|
|
1557
1558
|
outline-offset: -2px;
|
|
1558
1559
|
}
|
|
1559
|
-
`),xe=({className:n,css:a,...t})=>{const{leadingVisual:i,trailingVisual:l,size:r,children:o,...c}=t,d=gt(),u=r??d,g=p.useCallback(h=>s(j,{children:[i,typeof o=="function"?o(h):o,l]}),[i,l,o]);return e(
|
|
1560
|
+
`),xe=({className:n,css:a,...t})=>{const{leadingVisual:i,trailingVisual:l,size:r,children:o,...c}=t,d=gt(),u=r??d,g=p.useCallback(h=>s(j,{children:[i,typeof o=="function"?o(h):o,l]}),[i,l,o]);return e(yr,{css:m(V2,a),"data-size":u,"data-childless":!o,className:R("ac-toggle-button",n),...c,children:g})},O2=m(`
|
|
1560
1561
|
position: relative;
|
|
1561
1562
|
display: flex;
|
|
1562
1563
|
flex-direction: row;
|
|
@@ -1597,7 +1598,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1597
1598
|
outline: 1px solid var(--ac-global-input-field-border-color-active);
|
|
1598
1599
|
outline-offset: 1px;
|
|
1599
1600
|
}
|
|
1600
|
-
`),ha=({size:n="M",css:a,className:t,selectionMode:i="single",...l})=>e(ia,{size:n,children:e(
|
|
1601
|
+
`),ha=({size:n="M",css:a,className:t,selectionMode:i="single",...l})=>e(ia,{size:n,children:e(vr,{"data-size":n,className:R("ac-toggle-button-group",t),css:m(O2,a),selectionMode:i,...l})}),R2=m`
|
|
1601
1602
|
display: flex;
|
|
1602
1603
|
flex-direction: column;
|
|
1603
1604
|
max-height: inherit;
|
|
@@ -1644,7 +1645,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1644
1645
|
background: var(--ac-global-background-color-light-hover);
|
|
1645
1646
|
}
|
|
1646
1647
|
}
|
|
1647
|
-
`;function
|
|
1648
|
+
`;function N2(n,a){const{css:t,...i}=n,l=m(R2,t);return e(Ii,{css:l,ref:a,...i})}const ue=p.forwardRef(N2),$2=m`
|
|
1648
1649
|
display: inline-flex;
|
|
1649
1650
|
align-items: center;
|
|
1650
1651
|
gap: var(--ac-global-dimension-static-size-100);
|
|
@@ -1714,7 +1715,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1714
1715
|
cursor: not-allowed;
|
|
1715
1716
|
}
|
|
1716
1717
|
}
|
|
1717
|
-
`;function
|
|
1718
|
+
`;function B2({children:n,size:a="M"}){return e("span",{"data-size":a,css:m`
|
|
1718
1719
|
display: flex;
|
|
1719
1720
|
align-items: center;
|
|
1720
1721
|
justify-content: center;
|
|
@@ -1728,7 +1729,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1728
1729
|
&[data-size="L"] {
|
|
1729
1730
|
margin-right: var(--ac-global-dimension-static-size-100);
|
|
1730
1731
|
}
|
|
1731
|
-
`,children:n})}function
|
|
1732
|
+
`,children:n})}function H2({children:n,isDisabled:a,css:t,color:i="var(--ac-global-color-grey-300)",onPress:l,onRemove:r,size:o="M",style:c,leadingVisual:d,...u},g){const{theme:h}=te(),f=d&&o!=="S"?e(B2,{size:o,children:d}):null,b=r?e("button",{onClick:()=>{r()},disabled:a,"aria-label":"Remove",children:e(I,{svg:e(xt,{})})}):null,y=()=>l&&r?s(j,{children:[s("button",{onClick:()=>{l()},disabled:a,children:[f,n]}),b]}):l?s("button",{onClick:()=>{l()},disabled:a,children:[f,n]}):r?s(j,{children:[s("span",{children:[f,n]}),b]}):s(j,{children:[f,n]});return e("div",{ref:g,css:m($2,t),style:{"--ac-internal-token-color":i,...c},"data-theme":h,"data-size":o,...l&&{"data-interactive":!0},...r&&{"data-removable":!0},...a&&{"data-disabled":!0},...u,children:y()})}const je=p.forwardRef(H2),j2=m`
|
|
1732
1733
|
--ac-slider-track-height: var(--ac-global-dimension-size-30);
|
|
1733
1734
|
--ac-slider-handle-width: var(--ac-global-dimension-size-250);
|
|
1734
1735
|
--ac-slider-handle-height: var(--ac-global-dimension-size-250);
|
|
@@ -1880,7 +1881,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1880
1881
|
z-index: 2;
|
|
1881
1882
|
}
|
|
1882
1883
|
}
|
|
1883
|
-
`;function
|
|
1884
|
+
`;function Z2({label:n,thumbLabels:a,children:t,css:i,...l},r){return s(wr,{css:m(j2,i),...l,ref:r,children:[n&&e(P,{className:"ac-slider-label",children:n}),e(Cr,{className:"ac-slider-output",children:typeof t>"u"?e(U2,{}):t}),e(kr,{className:"ac-slider-track",style:({state:o})=>o.values.length===1?{"--slider-start":"0%","--slider-end":`${o.getThumbPercent(0)*100}%`}:{"--slider-start":`${o.getThumbPercent(0)*100}%`,"--slider-end":`${o.getThumbPercent(1)*100}%`},children:({state:o})=>e(j,{children:o.values.map((c,d)=>e(Lr,{index:d,"aria-label":a==null?void 0:a[d],className:"ac-slider-thumb"},d))})})]})}const f7=p.forwardRef(Z2);function b7({value:n,onChange:a,...t}){const{step:i,getThumbMinValue:l,getThumbMaxValue:r,values:o,setThumbValue:c}=p.useContext(_i),d=n??o[0].toString()??"",u=Sr(xr);return e(zl,{className:"ac-slider-number-field","aria-labelledby":u.id,value:Number(d),onChange:g=>{a?a(g):typeof g=="number"&&c(0,g)},step:i,maxValue:r(0),minValue:l(0),...t,children:e(Z,{})})}function U2(){const n=p.useContext(_i);return e(v,{children:n.values.map(a=>a.toString()).join(" – ")})}const G2=m`
|
|
1884
1885
|
display: inline-block;
|
|
1885
1886
|
padding: 0 var(--ac-global-dimension-size-50);
|
|
1886
1887
|
border-radius: var(--ac-global-rounding-large);
|
|
@@ -1894,7 +1895,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1894
1895
|
&[data-variant="danger"] {
|
|
1895
1896
|
background-color: var(--ac-global-background-color-danger);
|
|
1896
1897
|
}
|
|
1897
|
-
`;function
|
|
1898
|
+
`;function W2(n){const{children:a,variant:t="default"}=n;return e("span",{css:G2,"data-variant":t,className:"ac-counter",children:a})}const Q2=m`
|
|
1898
1899
|
display: flex;
|
|
1899
1900
|
color: var(--ac-global-text-color-900);
|
|
1900
1901
|
--ac-tab-border-color: var(--ac-global-border-color-default);
|
|
@@ -1917,7 +1918,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1917
1918
|
padding-left: var(--ac-global-dimension-static-size-200);
|
|
1918
1919
|
}
|
|
1919
1920
|
}
|
|
1920
|
-
`;function
|
|
1921
|
+
`;function q2({children:n,css:a,className:t,orientation:i="horizontal",...l}){return e(Tr,{css:m(Q2,a),className:R("react-aria-Tabs",t),orientation:i,...l,children:n})}const X2=m`
|
|
1921
1922
|
display: flex;
|
|
1922
1923
|
|
|
1923
1924
|
&[data-orientation="vertical"] {
|
|
@@ -1936,7 +1937,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1936
1937
|
border-bottom: 3px solid var(--ac-tab-border-color);
|
|
1937
1938
|
}
|
|
1938
1939
|
}
|
|
1939
|
-
`;function
|
|
1940
|
+
`;function Y2({children:n,css:a,className:t,...i}){return e(Ar,{css:m(X2,a),className:R("react-aria-TabList",t),...i,children:n})}const J2=m`
|
|
1940
1941
|
margin-top: 0;
|
|
1941
1942
|
padding: 0;
|
|
1942
1943
|
border-radius: 0;
|
|
@@ -1951,7 +1952,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1951
1952
|
&[data-focus-visible] {
|
|
1952
1953
|
outline: unset;
|
|
1953
1954
|
}
|
|
1954
|
-
`;function Qa({css:n,className:a,padded:t,...i}){return e(
|
|
1955
|
+
`;function Qa({css:n,className:a,padded:t,...i}){return e(Mr,{css:m(J2,n),className:R("react-aria-TabPanel",a),"data-padded":t,...i})}function y7({children:n,id:a,...t}){return e(Qa,{id:a,...t,children:({state:{selectedKey:i}})=>i===a?n:null})}const ed=m`
|
|
1955
1956
|
padding: var(--ac-global-dimension-static-size-100)
|
|
1956
1957
|
var(--ac-global-dimension-static-size-200);
|
|
1957
1958
|
cursor: default;
|
|
@@ -1989,7 +1990,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1989
1990
|
border-radius: var(--ac-global-rounding-small);
|
|
1990
1991
|
border: 2px solid var(--ac-focus-ring-color);
|
|
1991
1992
|
}
|
|
1992
|
-
`;function
|
|
1993
|
+
`;function oi({children:n,css:a,className:t,...i}){return e(Ir,{css:m(ed,a),className:R("react-aria-Tab",t),...i,children:n})}const ge=({message:n,size:a,className:t})=>s("div",{className:t,css:m`
|
|
1993
1994
|
display: flex;
|
|
1994
1995
|
flex-direction: column;
|
|
1995
1996
|
justify-content: center;
|
|
@@ -1997,7 +1998,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
1997
1998
|
width: 100%;
|
|
1998
1999
|
height: 100%;
|
|
1999
2000
|
gap: var(--ac-global-dimension-static-size-100);
|
|
2000
|
-
`,children:[e(
|
|
2001
|
+
`,children:[e(Vi,{isIndeterminate:!0,"aria-label":"loading",size:a}),n!=null?e(v,{children:n}):null]}),nd=Xe`
|
|
2001
2002
|
0% {
|
|
2002
2003
|
opacity: 1;
|
|
2003
2004
|
}
|
|
@@ -2007,7 +2008,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2007
2008
|
100% {
|
|
2008
2009
|
opacity: 1;
|
|
2009
2010
|
}
|
|
2010
|
-
`,
|
|
2011
|
+
`,ad=Xe`
|
|
2011
2012
|
0% {
|
|
2012
2013
|
transform: translateX(-100%);
|
|
2013
2014
|
}
|
|
@@ -2017,19 +2018,19 @@ fragment ViewerContext_viewer on Query {
|
|
|
2017
2018
|
100% {
|
|
2018
2019
|
transform: translateX(100%);
|
|
2019
2020
|
}
|
|
2020
|
-
`,
|
|
2021
|
+
`,td=m`
|
|
2021
2022
|
display: block;
|
|
2022
2023
|
background-color: var(--ac-global-color-grey-200);
|
|
2023
|
-
`,td=m`
|
|
2024
|
-
animation: ${ed} 2s ease-in-out 0.5s infinite;
|
|
2025
2024
|
`,id=m`
|
|
2025
|
+
animation: ${nd} 2s ease-in-out 0.5s infinite;
|
|
2026
|
+
`,ld=m`
|
|
2026
2027
|
position: relative;
|
|
2027
2028
|
overflow: hidden;
|
|
2028
2029
|
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
|
|
2029
2030
|
-webkit-mask-image: -webkit-radial-gradient(white, black);
|
|
2030
2031
|
|
|
2031
2032
|
&::after {
|
|
2032
|
-
animation: ${
|
|
2033
|
+
animation: ${ad} 2s linear 0.5s infinite;
|
|
2033
2034
|
background: linear-gradient(
|
|
2034
2035
|
90deg,
|
|
2035
2036
|
transparent,
|
|
@@ -2044,11 +2045,11 @@ fragment ViewerContext_viewer on Query {
|
|
|
2044
2045
|
right: 0;
|
|
2045
2046
|
top: 0;
|
|
2046
2047
|
}
|
|
2047
|
-
`,
|
|
2048
|
+
`,rd=n=>{if(typeof n=="number")return`${n}px`;if(typeof n=="string")switch(n){case"none":return"0";case"XS":return"var(--ac-global-rounding-xsmall)";case"S":return"var(--ac-global-rounding-small)";case"M":return"var(--ac-global-rounding-medium)";case"L":return"var(--ac-global-rounding-large)";case"circle":return"50%";default:return n}return"var(--ac-global-rounding-medium)"},an=p.forwardRef(({width:n="100%",height:a="1.2em",borderRadius:t="S",animation:i="pulse",className:l,...r},o)=>{const c=typeof n=="number"?`${n}px`:n,d=typeof a=="number"?`${a}px`:a,u=rd(t);return e("span",{ref:o,className:R(l,"ac-skeleton"),css:[td,i==="pulse"&&id,i==="wave"&&ld,m`
|
|
2048
2049
|
width: ${c};
|
|
2049
2050
|
height: ${d};
|
|
2050
2051
|
border-radius: ${u};
|
|
2051
|
-
`],...r})});an.displayName="Skeleton";const v7=n=>s(S,{direction:"column",gap:"size-100",width:"100%",...n,children:[e(an,{height:100,borderRadius:8,animation:"wave"}),e(an,{height:24,width:"80%",animation:"wave"}),e(an,{height:16,width:"60%",animation:"wave"})]}),
|
|
2052
|
+
`],...r})});an.displayName="Skeleton";const v7=n=>s(S,{direction:"column",gap:"size-100",width:"100%",...n,children:[e(an,{height:100,borderRadius:8,animation:"wave"}),e(an,{height:24,width:"80%",animation:"wave"}),e(an,{height:16,width:"60%",animation:"wave"})]}),od=m`
|
|
2052
2053
|
button {
|
|
2053
2054
|
display: flex;
|
|
2054
2055
|
align-items: center;
|
|
@@ -2076,16 +2077,16 @@ fragment ViewerContext_viewer on Query {
|
|
|
2076
2077
|
color: var(--ac-text-color-placeholder);
|
|
2077
2078
|
}
|
|
2078
2079
|
}
|
|
2079
|
-
`;function
|
|
2080
|
+
`;function sd(n,a){const{size:t="M",...i}=n;return e(ia,{size:t,children:e(zr,{"data-size":t,className:"ac-select",ref:a,...i,css:m(Ce,od)})})}const Ae=p.forwardRef(sd),q=p.forwardRef((n,a)=>{const{children:t,...i}=n;return e(tn,{...i,ref:a,children:({isSelected:l})=>s(S,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[e("span",{children:t}),l&&e(I,{svg:e(Sl,{})})]})})});q.displayName="SelectItem";const cd=m`
|
|
2080
2081
|
max-width: 100%;
|
|
2081
2082
|
height: auto;
|
|
2082
|
-
`,C7=({src:n,width:a,height:t,controls:i=!0,autoPlay:l=!1,loop:r=!1,muted:o=!1,poster:c,preload:d="none",className:u})=>e("video",{css:
|
|
2083
|
+
`,C7=({src:n,width:a,height:t,controls:i=!0,autoPlay:l=!1,loop:r=!1,muted:o=!1,poster:c,preload:d="none",className:u})=>e("video",{css:cd,src:n,width:a,height:t,controls:i,autoPlay:l,loop:r,muted:o,poster:c,className:u,preload:d,children:"Your browser does not support the video tag."}),oe=p.forwardRef(({children:n,...a},t)=>e(Di,{"data-testid":"dialog",...a,className:R(a.className,"react-aria-Dialog"),ref:t,children:n}));oe.displayName="Dialog";const _e=({children:n,...a})=>e(S,{direction:"column",height:"100%","data-testid":"dialog-content",...a,className:R(a.className,"react-aria-DialogContent"),children:n}),dd=m`
|
|
2083
2084
|
padding: var(--ac-global-dimension-size-100)
|
|
2084
2085
|
var(--ac-global-dimension-size-200);
|
|
2085
2086
|
border-bottom: var(--ac-global-border-size-thin) solid
|
|
2086
2087
|
var(--ac-global-border-color-dark);
|
|
2087
2088
|
flex-shrink: 0;
|
|
2088
|
-
`,
|
|
2089
|
+
`,Ke=({children:n,...a})=>e("div",{...a,css:dd,className:R(a.className,"ac-DialogHeader"),children:e(S,{width:"100%",justifyContent:"space-between",alignItems:"center",children:n})}),Pe=({children:n,...a})=>e(Y,{level:2,"data-testid":"dialog-title",...a,className:R(a.className,"ac-DialogTitle"),children:n}),Ge=({children:n,...a})=>e(S,{gap:"size-100",alignItems:"center","data-testid":"dialog-title-extra",...a,className:R(a.className,"ac-DialogTitleExtra"),children:n}),We=({children:n,close:a,onPress:t,...i})=>e(M,{size:"S","data-testid":"dialog-close-button",leadingVisual:e(I,{svg:e(xt,{})}),onPress:l=>{a==null||a(),t==null||t(l)},type:"button",slot:"close",...i,className:R(i.className,"ac-DialogCloseButton"),children:n}),ud=m`
|
|
2089
2090
|
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
|
|
2090
2091
|
border-radius: var(--ac-global-rounding-small);
|
|
2091
2092
|
background: var(--ac-global-tooltip-background-color);
|
|
@@ -2148,7 +2149,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2148
2149
|
stroke: var(--ac-global-tooltip-border-color);
|
|
2149
2150
|
stroke-width: 1px;
|
|
2150
2151
|
}
|
|
2151
|
-
`,
|
|
2152
|
+
`,gd=m`
|
|
2152
2153
|
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
2153
2154
|
border-radius: var(--ac-global-rounding-medium);
|
|
2154
2155
|
background: var(--ac-global-tooltip-background-color);
|
|
@@ -2211,7 +2212,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2211
2212
|
stroke: var(--ac-global-tooltip-border-color);
|
|
2212
2213
|
stroke-width: 1px;
|
|
2213
2214
|
}
|
|
2214
|
-
`;function gd(n,a){const{css:t,...i}=n;return e(at,{...i,ref:a,css:m(dd,t)})}const L7=p.forwardRef(gd);function md(n,a){const{css:t}=n;return e(Fi,{ref:a,css:t,className:R("react-aria-OverlayArrow"),children:e("svg",{width:8,height:8,viewBox:"0 0 8 8",children:e("path",{d:"M0 0 L4 4 L8 0"})})})}const Ce=p.forwardRef(md);function pd(n,a){const{children:t,css:i,...l}=n;return e(at,{...l,ref:a,css:m(ud,i),children:t})}const Le=p.forwardRef(pd),Yn={OPENAI:["required","auto","none"],AZURE_OPENAI:["required","auto","none"],DEEPSEEK:["required","auto","none"],XAI:["required","auto","none"],OLLAMA:["required","auto","none"],ANTHROPIC:["any","auto","none"],AWS:["any","auto","none"]},hd=(n,a)=>{switch(n){case"AZURE_OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":case"OPENAI":return re(a)&&"type"in a&&typeof a.type=="string"?a.type:a;case"AWS":return re(a)&&"type"in a&&typeof a.type=="string"?a.type:a;case"ANTHROPIC":return re(a)&&"type"in a&&typeof a.type=="string"?a.type:a;case"GOOGLE":return"auto";default:K()}},k7=n=>n in Yn,oi=(n,a)=>{var t;return((t=Yn[n])==null?void 0:t.includes(a))??!1},Jn="tool_",Da=n=>`${Jn}${n}`,_a=n=>n.startsWith(Jn)?n.slice(Jn.length):n,fd=({choiceType:n})=>{switch(n){case"any":case"required":return s(S,{gap:"size-100",alignItems:"center",justifyContent:"space-between",width:"100%",children:[e("span",{children:"Use at least one tool"}),e(Ze,{color:"var(--ac-global-color-grey-900)",size:"S",children:n})]});case"none":return s(S,{gap:"size-100",alignItems:"center",justifyContent:"space-between",width:"100%",children:[e("span",{children:"Don't use any tools"}),e(Ze,{color:"var(--ac-global-color-grey-900)",size:"S",children:n})]});case"auto":default:return s(S,{gap:"size-100",alignItems:"center",justifyContent:"space-between",width:"100%",children:[e("span",{children:"Tools auto-selected by LLM"}),e(Ze,{color:"var(--ac-global-color-grey-900)",size:"S",children:n})]})}};function w7({choice:n,onChange:a,toolNames:t,provider:i}){const l=hd(i,n),o=oi(i,l)?l:Da(m0(n)??"");return s(Ae,{selectedKey:o,"aria-label":"Tool Choice for an LLM",onSelectionChange:c=>{if(typeof c=="string"){if(c.startsWith(Jn))switch(i){case"AZURE_OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":case"OPENAI":a(qt({type:"function",function:{name:_a(c)}}));break;case"AWS":a(Yt({type:"tool",name:_a(c)}));break;case"ANTHROPIC":a(Xt({type:"tool",name:_a(c)}));break;default:K()}else if(oi(i,c))switch(i){case"AZURE_OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":case"OPENAI":a(qt(c));break;case"AWS":a(Yt({type:c}));break;case"ANTHROPIC":a(Xt({type:c}));break;default:K()}}},children:[e(P,{children:"Tool Choice"}),s(M,{children:[e(Te,{}),e(ye,{})]}),e(ne,{children:e(ce,{children:[...Yn[i]?Yn[i].map(c=>e(q,{id:c,textValue:c,children:e(fd,{choiceType:c})},c)):[],...t.map(c=>e(q,{id:Da(c),textValue:c,children:c},Da(c)))]})})]})}const bd=({height:n})=>s("svg",{viewBox:"0 0 24 24",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Azure"}),e("path",{d:"M11.49 2H2v9.492h9.492V2h-.002z",fill:"#F25022"}),e("path",{d:"M22 2h-9.492v9.492H22V2z",fill:"#7FBA00"}),e("path",{d:"M11.49 12.508H2V22h9.492v-9.492h-.002z",fill:"#00A4EF"}),e("path",{d:"M22 12.508h-9.492V22H22v-9.492z",fill:"#FFB900"})]}),yd=({height:n})=>s("svg",{viewBox:"0 0 24 24",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Google"}),e("defs",{children:s("linearGradient",{id:"lobe-icons-google-fill",x1:"0%",x2:"68.73%",y1:"100%",y2:"30.395%",children:[e("stop",{offset:"0%",stopColor:"#1C7DFF"}),e("stop",{offset:"52.021%",stopColor:"#1C69FF"}),e("stop",{offset:"100%",stopColor:"#F0DCD6"})]})}),e("path",{d:"M12 24A14.304 14.304 0 000 12 14.304 14.304 0 0012 0a14.305 14.305 0 0012 12 14.305 14.305 0 00-12 12",fill:"url(#lobe-icons-google-fill)",fillRule:"nonzero"})]}),vd=({height:n})=>s("svg",{fill:"var(--ac-global-text-color-900)",fillRule:"evenodd",viewBox:"0 0 24 24",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"OpenAI"}),e("path",{d:"M21.55 10.004a5.416 5.416 0 00-.478-4.501c-1.217-2.09-3.662-3.166-6.05-2.66A5.59 5.59 0 0010.831 1C8.39.995 6.224 2.546 5.473 4.838A5.553 5.553 0 001.76 7.496a5.487 5.487 0 00.691 6.5 5.416 5.416 0 00.477 4.502c1.217 2.09 3.662 3.165 6.05 2.66A5.586 5.586 0 0013.168 23c2.443.006 4.61-1.546 5.361-3.84a5.553 5.553 0 003.715-2.66 5.488 5.488 0 00-.693-6.497v.001zm-8.381 11.558a4.199 4.199 0 01-2.675-.954c.034-.018.093-.05.132-.074l4.44-2.53a.71.71 0 00.364-.623v-6.176l1.877 1.069c.02.01.033.029.036.05v5.115c-.003 2.274-1.87 4.118-4.174 4.123zM4.192 17.78a4.059 4.059 0 01-.498-2.763c.032.02.09.055.131.078l4.44 2.53c.225.13.504.13.73 0l5.42-3.088v2.138a.068.068 0 01-.027.057L9.9 19.288c-1.999 1.136-4.552.46-5.707-1.51h-.001zM3.023 8.216A4.15 4.15 0 015.198 6.41l-.002.151v5.06a.711.711 0 00.364.624l5.42 3.087-1.876 1.07a.067.067 0 01-.063.005l-4.489-2.559c-1.995-1.14-2.679-3.658-1.53-5.63h.001zm15.417 3.54l-5.42-3.088L14.896 7.6a.067.067 0 01.063-.006l4.489 2.557c1.998 1.14 2.683 3.662 1.529 5.633a4.163 4.163 0 01-2.174 1.807V12.38a.71.71 0 00-.363-.623zm1.867-2.773a6.04 6.04 0 00-.132-.078l-4.44-2.53a.731.731 0 00-.729 0l-5.42 3.088V7.325a.068.068 0 01.027-.057L14.1 4.713c2-1.137 4.555-.46 5.707 1.513.487.833.664 1.809.499 2.757h.001zm-11.741 3.81l-1.877-1.068a.065.065 0 01-.036-.051V6.559c.001-2.277 1.873-4.122 4.181-4.12.976 0 1.92.338 2.671.954-.034.018-.092.05-.131.073l-4.44 2.53a.71.71 0 00-.365.623l-.003 6.173v.002zm1.02-2.168L12 9.25l2.414 1.375v2.75L12 14.75l-2.415-1.375v-2.75z"})]}),Cd=({height:n})=>s("svg",{fill:"var(--ac-global-text-color-900)",fillRule:"evenodd",viewBox:"0 0 24 24",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Anthropic"}),e("path",{d:"M13.827 3.52h3.603L24 20h-3.603l-6.57-16.48zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z"})]}),Ld=({height:n})=>s("svg",{viewBox:"0 0 24 24",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"DeepSeek"}),e("path",{d:"M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z",fill:"#4D6BFE"})]}),kd=({height:n})=>s("svg",{fill:"var(--ac-global-text-color-900)",fillRule:"evenodd",viewBox:"0 0 24 24",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"xAI"}),e("path",{d:"M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z"})]}),wd=({height:n})=>s("svg",{fill:"currentColor",fillRule:"evenodd",height:n,style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Ollama"}),e("path",{d:"M7.905 1.09c.216.085.411.225.588.41.295.306.544.744.734 1.263.191.522.315 1.1.362 1.68a5.054 5.054 0 012.049-.636l.051-.004c.87-.07 1.73.087 2.48.474.101.053.2.11.297.17.05-.569.172-1.134.36-1.644.19-.52.439-.957.733-1.264a1.67 1.67 0 01.589-.41c.257-.1.53-.118.796-.042.401.114.745.368 1.016.737.248.337.434.769.561 1.287.23.934.27 2.163.115 3.645l.053.04.026.019c.757.576 1.284 1.397 1.563 2.35.435 1.487.216 3.155-.534 4.088l-.018.021.002.003c.417.762.67 1.567.724 2.4l.002.03c.064 1.065-.2 2.137-.814 3.19l-.007.01.01.024c.472 1.157.62 2.322.438 3.486l-.006.039a.651.651 0 01-.747.536.648.648 0 01-.54-.742c.167-1.033.01-2.069-.48-3.123a.643.643 0 01.04-.617l.004-.006c.604-.924.854-1.83.8-2.72-.046-.779-.325-1.544-.8-2.273a.644.644 0 01.18-.886l.009-.006c.243-.159.467-.565.58-1.12a4.229 4.229 0 00-.095-1.974c-.205-.7-.58-1.284-1.105-1.683-.595-.454-1.383-.673-2.38-.61a.653.653 0 01-.632-.371c-.314-.665-.772-1.141-1.343-1.436a3.288 3.288 0 00-1.772-.332c-1.245.099-2.343.801-2.67 1.686a.652.652 0 01-.61.425c-1.067.002-1.893.252-2.497.703-.522.39-.878.935-1.066 1.588a4.07 4.07 0 00-.068 1.886c.112.558.331 1.02.582 1.269l.008.007c.212.207.257.53.109.785-.36.622-.629 1.549-.673 2.44-.05 1.018.186 1.902.719 2.536l.016.019a.643.643 0 01.095.69c-.576 1.236-.753 2.252-.562 3.052a.652.652 0 01-1.269.298c-.243-1.018-.078-2.184.473-3.498l.014-.035-.008-.012a4.339 4.339 0 01-.598-1.309l-.005-.019a5.764 5.764 0 01-.177-1.785c.044-.91.278-1.842.622-2.59l.012-.026-.002-.002c-.293-.418-.51-.953-.63-1.545l-.005-.024a5.352 5.352 0 01.093-2.49c.262-.915.777-1.701 1.536-2.269.06-.045.123-.09.186-.132-.159-1.493-.119-2.73.112-3.67.127-.518.314-.95.562-1.287.27-.368.614-.622 1.015-.737.266-.076.54-.059.797.042zm4.116 9.09c.936 0 1.8.313 2.446.855.63.527 1.005 1.235 1.005 1.94 0 .888-.406 1.58-1.133 2.022-.62.375-1.451.557-2.403.557-1.009 0-1.871-.259-2.493-.734-.617-.47-.963-1.13-.963-1.845 0-.707.398-1.417 1.056-1.946.668-.537 1.55-.849 2.485-.849zm0 .896a3.07 3.07 0 00-1.916.65c-.461.37-.722.835-.722 1.25 0 .428.21.829.61 1.134.455.347 1.124.548 1.943.548.799 0 1.473-.147 1.932-.426.463-.28.7-.686.7-1.257 0-.423-.246-.89-.683-1.256-.484-.405-1.14-.643-1.864-.643zm.662 1.21l.004.004c.12.151.095.37-.056.49l-.292.23v.446a.375.375 0 01-.376.373.375.375 0 01-.376-.373v-.46l-.271-.218a.347.347 0 01-.052-.49.353.353 0 01.494-.051l.215.172.22-.174a.353.353 0 01.49.051zm-5.04-1.919c.478 0 .867.39.867.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zm8.706 0c.48 0 .868.39.868.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zM7.44 2.3l-.003.002a.659.659 0 00-.285.238l-.005.006c-.138.189-.258.467-.348.832-.17.692-.216 1.631-.124 2.782.43-.128.899-.208 1.404-.237l.01-.001.019-.034c.046-.082.095-.161.148-.239.123-.771.022-1.692-.253-2.444-.134-.364-.297-.65-.453-.813a.628.628 0 00-.107-.09L7.44 2.3zm9.174.04l-.002.001a.628.628 0 00-.107.09c-.156.163-.32.45-.453.814-.29.794-.387 1.776-.23 2.572l.058.097.008.014h.03a5.184 5.184 0 011.466.212c.086-1.124.038-2.043-.128-2.722-.09-.365-.21-.643-.349-.832l-.004-.006a.659.659 0 00-.285-.239h-.004z"})]}),Sd=({height:n})=>s("svg",{height:n,style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Bedrock"}),e("defs",{children:s("linearGradient",{id:"lobe-icons-bedrock-fill",x1:"80%",x2:"20%",y1:"20%",y2:"80%",children:[e("stop",{offset:"0%",stopColor:"#6350FB"}),e("stop",{offset:"50%",stopColor:"#3D8FFF"}),e("stop",{offset:"100%",stopColor:"#9AD8F8"})]})}),e("path",{d:"M13.05 15.513h3.08c.214 0 .389.177.389.394v1.82a1.704 1.704 0 011.296 1.661c0 .943-.755 1.708-1.685 1.708-.931 0-1.686-.765-1.686-1.708 0-.807.554-1.484 1.297-1.662v-1.425h-2.69v4.663a.395.395 0 01-.188.338l-2.69 1.641a.385.385 0 01-.405-.002l-4.926-3.086a.395.395 0 01-.185-.336V16.3L2.196 14.87A.395.395 0 012 14.555L2 14.528V9.406c0-.14.073-.27.192-.34l2.465-1.462V4.448c0-.129.062-.249.165-.322l.021-.014L9.77 1.058a.385.385 0 01.407 0l2.69 1.675a.395.395 0 01.185.336V7.6h3.856V5.683a1.704 1.704 0 01-1.296-1.662c0-.943.755-1.708 1.685-1.708.931 0 1.685.765 1.685 1.708 0 .807-.553 1.484-1.296 1.662v2.311a.391.391 0 01-.389.394h-4.245v1.806h6.624a1.69 1.69 0 011.64-1.313c.93 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708a1.69 1.69 0 01-1.64-1.314H13.05v1.937h4.953l.915 1.18a1.66 1.66 0 01.84-.227c.931 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708-.93 0-1.685-.765-1.685-1.708 0-.346.102-.668.276-.937l-.724-.935H13.05v1.806zM9.973 1.856L7.93 3.122V6.09h-.778V3.604L5.435 4.669v2.945l2.11 1.36L9.712 7.61V5.334h.778V7.83c0 .136-.07.263-.184.335L7.963 9.638v2.081l1.422 1.009-.446.646-1.406-.998-1.53 1.005-.423-.66 1.605-1.055v-1.99L5.038 8.29l-2.26 1.34v1.676l1.972-1.189.398.677-2.37 1.429V14.3l2.166 1.258 2.27-1.368.397.677-2.176 1.311V19.3l1.876 1.175 2.365-1.426.398.678-2.017 1.216 1.918 1.201 2.298-1.403v-5.78l-4.758 2.893-.4-.675 5.158-3.136V3.289L9.972 1.856zM16.13 18.47a.913.913 0 00-.908.92c0 .507.406.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zm3.63-3.81a.913.913 0 00-.908.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92zm1.555-4.99a.913.913 0 00-.908.92c0 .507.407.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zM17.296 3.1a.913.913 0 00-.907.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92z",fill:"url(#lobe-icons-bedrock-fill)",fillRule:"nonzero"})]}),xd={AZURE_OPENAI:bd,GOOGLE:yd,OPENAI:vd,ANTHROPIC:Cd,DEEPSEEK:Ld,XAI:kd,OLLAMA:wd,AWS:Sd};function S7({provider:n,height:a=18}){return xd[n]({height:a})}const zt=m`
|
|
2215
|
+
`;function md(n,a){const{css:t,...i}=n;return e(at,{...i,ref:a,css:m(ud,t)})}const L7=p.forwardRef(md);function pd(n,a){const{css:t}=n;return e(Ei,{ref:a,css:t,className:R("react-aria-OverlayArrow"),children:e("svg",{width:8,height:8,viewBox:"0 0 8 8",children:e("path",{d:"M0 0 L4 4 L8 0"})})})}const Le=p.forwardRef(pd);function hd(n,a){const{children:t,css:i,...l}=n;return e(at,{...l,ref:a,css:m(gd,i),children:t})}const ye=p.forwardRef(hd),Yn={OPENAI:["required","auto","none"],AZURE_OPENAI:["required","auto","none"],DEEPSEEK:["required","auto","none"],XAI:["required","auto","none"],OLLAMA:["required","auto","none"],ANTHROPIC:["any","auto","none"],AWS:["any","auto","none"]},fd=(n,a)=>{switch(n){case"AZURE_OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":case"OPENAI":return re(a)&&"type"in a&&typeof a.type=="string"?a.type:a;case"AWS":return re(a)&&"type"in a&&typeof a.type=="string"?a.type:a;case"ANTHROPIC":return re(a)&&"type"in a&&typeof a.type=="string"?a.type:a;case"GOOGLE":return"auto";default:K()}},k7=n=>n in Yn,si=(n,a)=>{var t;return((t=Yn[n])==null?void 0:t.includes(a))??!1},Jn="tool_",Da=n=>`${Jn}${n}`,_a=n=>n.startsWith(Jn)?n.slice(Jn.length):n,bd=({choiceType:n})=>{switch(n){case"any":case"required":return s(S,{gap:"size-100",alignItems:"center",justifyContent:"space-between",width:"100%",children:[e("span",{children:"Use at least one tool"}),e(je,{color:"var(--ac-global-color-grey-900)",size:"S",children:n})]});case"none":return s(S,{gap:"size-100",alignItems:"center",justifyContent:"space-between",width:"100%",children:[e("span",{children:"Don't use any tools"}),e(je,{color:"var(--ac-global-color-grey-900)",size:"S",children:n})]});case"auto":default:return s(S,{gap:"size-100",alignItems:"center",justifyContent:"space-between",width:"100%",children:[e("span",{children:"Tools auto-selected by LLM"}),e(je,{color:"var(--ac-global-color-grey-900)",size:"S",children:n})]})}};function w7({choice:n,onChange:a,toolNames:t,provider:i}){const l=fd(i,n),o=si(i,l)?l:Da(m0(n)??"");return s(Ae,{selectedKey:o,"aria-label":"Tool Choice for an LLM",onSelectionChange:c=>{if(typeof c=="string"){if(c.startsWith(Jn))switch(i){case"AZURE_OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":case"OPENAI":a(Xt({type:"function",function:{name:_a(c)}}));break;case"AWS":a(Jt({type:"tool",name:_a(c)}));break;case"ANTHROPIC":a(Yt({type:"tool",name:_a(c)}));break;default:K()}else if(si(i,c))switch(i){case"AZURE_OPENAI":case"DEEPSEEK":case"XAI":case"OLLAMA":case"OPENAI":a(Xt(c));break;case"AWS":a(Jt({type:c}));break;case"ANTHROPIC":a(Yt({type:c}));break;default:K()}}},children:[e(P,{children:"Tool Choice"}),s(M,{children:[e(Te,{}),e(be,{})]}),e(ne,{children:e(ue,{children:[...Yn[i]?Yn[i].map(c=>e(q,{id:c,textValue:c,children:e(bd,{choiceType:c})},c)):[],...t.map(c=>e(q,{id:Da(c),textValue:c,children:c},Da(c)))]})})]})}const yd=({height:n})=>s("svg",{viewBox:"0 0 24 24",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Azure"}),e("path",{d:"M11.49 2H2v9.492h9.492V2h-.002z",fill:"#F25022"}),e("path",{d:"M22 2h-9.492v9.492H22V2z",fill:"#7FBA00"}),e("path",{d:"M11.49 12.508H2V22h9.492v-9.492h-.002z",fill:"#00A4EF"}),e("path",{d:"M22 12.508h-9.492V22H22v-9.492z",fill:"#FFB900"})]}),vd=({height:n})=>s("svg",{viewBox:"0 0 24 24",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Google"}),e("defs",{children:s("linearGradient",{id:"lobe-icons-google-fill",x1:"0%",x2:"68.73%",y1:"100%",y2:"30.395%",children:[e("stop",{offset:"0%",stopColor:"#1C7DFF"}),e("stop",{offset:"52.021%",stopColor:"#1C69FF"}),e("stop",{offset:"100%",stopColor:"#F0DCD6"})]})}),e("path",{d:"M12 24A14.304 14.304 0 000 12 14.304 14.304 0 0012 0a14.305 14.305 0 0012 12 14.305 14.305 0 00-12 12",fill:"url(#lobe-icons-google-fill)",fillRule:"nonzero"})]}),Cd=({height:n})=>s("svg",{fill:"var(--ac-global-text-color-900)",fillRule:"evenodd",viewBox:"0 0 24 24",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"OpenAI"}),e("path",{d:"M21.55 10.004a5.416 5.416 0 00-.478-4.501c-1.217-2.09-3.662-3.166-6.05-2.66A5.59 5.59 0 0010.831 1C8.39.995 6.224 2.546 5.473 4.838A5.553 5.553 0 001.76 7.496a5.487 5.487 0 00.691 6.5 5.416 5.416 0 00.477 4.502c1.217 2.09 3.662 3.165 6.05 2.66A5.586 5.586 0 0013.168 23c2.443.006 4.61-1.546 5.361-3.84a5.553 5.553 0 003.715-2.66 5.488 5.488 0 00-.693-6.497v.001zm-8.381 11.558a4.199 4.199 0 01-2.675-.954c.034-.018.093-.05.132-.074l4.44-2.53a.71.71 0 00.364-.623v-6.176l1.877 1.069c.02.01.033.029.036.05v5.115c-.003 2.274-1.87 4.118-4.174 4.123zM4.192 17.78a4.059 4.059 0 01-.498-2.763c.032.02.09.055.131.078l4.44 2.53c.225.13.504.13.73 0l5.42-3.088v2.138a.068.068 0 01-.027.057L9.9 19.288c-1.999 1.136-4.552.46-5.707-1.51h-.001zM3.023 8.216A4.15 4.15 0 015.198 6.41l-.002.151v5.06a.711.711 0 00.364.624l5.42 3.087-1.876 1.07a.067.067 0 01-.063.005l-4.489-2.559c-1.995-1.14-2.679-3.658-1.53-5.63h.001zm15.417 3.54l-5.42-3.088L14.896 7.6a.067.067 0 01.063-.006l4.489 2.557c1.998 1.14 2.683 3.662 1.529 5.633a4.163 4.163 0 01-2.174 1.807V12.38a.71.71 0 00-.363-.623zm1.867-2.773a6.04 6.04 0 00-.132-.078l-4.44-2.53a.731.731 0 00-.729 0l-5.42 3.088V7.325a.068.068 0 01.027-.057L14.1 4.713c2-1.137 4.555-.46 5.707 1.513.487.833.664 1.809.499 2.757h.001zm-11.741 3.81l-1.877-1.068a.065.065 0 01-.036-.051V6.559c.001-2.277 1.873-4.122 4.181-4.12.976 0 1.92.338 2.671.954-.034.018-.092.05-.131.073l-4.44 2.53a.71.71 0 00-.365.623l-.003 6.173v.002zm1.02-2.168L12 9.25l2.414 1.375v2.75L12 14.75l-2.415-1.375v-2.75z"})]}),Ld=({height:n})=>s("svg",{fill:"var(--ac-global-text-color-900)",fillRule:"evenodd",viewBox:"0 0 24 24",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Anthropic"}),e("path",{d:"M13.827 3.52h3.603L24 20h-3.603l-6.57-16.48zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z"})]}),kd=({height:n})=>s("svg",{viewBox:"0 0 24 24",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"DeepSeek"}),e("path",{d:"M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z",fill:"#4D6BFE"})]}),wd=({height:n})=>s("svg",{fill:"var(--ac-global-text-color-900)",fillRule:"evenodd",viewBox:"0 0 24 24",width:n,height:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"xAI"}),e("path",{d:"M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z"})]}),Sd=({height:n})=>s("svg",{fill:"currentColor",fillRule:"evenodd",height:n,style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Ollama"}),e("path",{d:"M7.905 1.09c.216.085.411.225.588.41.295.306.544.744.734 1.263.191.522.315 1.1.362 1.68a5.054 5.054 0 012.049-.636l.051-.004c.87-.07 1.73.087 2.48.474.101.053.2.11.297.17.05-.569.172-1.134.36-1.644.19-.52.439-.957.733-1.264a1.67 1.67 0 01.589-.41c.257-.1.53-.118.796-.042.401.114.745.368 1.016.737.248.337.434.769.561 1.287.23.934.27 2.163.115 3.645l.053.04.026.019c.757.576 1.284 1.397 1.563 2.35.435 1.487.216 3.155-.534 4.088l-.018.021.002.003c.417.762.67 1.567.724 2.4l.002.03c.064 1.065-.2 2.137-.814 3.19l-.007.01.01.024c.472 1.157.62 2.322.438 3.486l-.006.039a.651.651 0 01-.747.536.648.648 0 01-.54-.742c.167-1.033.01-2.069-.48-3.123a.643.643 0 01.04-.617l.004-.006c.604-.924.854-1.83.8-2.72-.046-.779-.325-1.544-.8-2.273a.644.644 0 01.18-.886l.009-.006c.243-.159.467-.565.58-1.12a4.229 4.229 0 00-.095-1.974c-.205-.7-.58-1.284-1.105-1.683-.595-.454-1.383-.673-2.38-.61a.653.653 0 01-.632-.371c-.314-.665-.772-1.141-1.343-1.436a3.288 3.288 0 00-1.772-.332c-1.245.099-2.343.801-2.67 1.686a.652.652 0 01-.61.425c-1.067.002-1.893.252-2.497.703-.522.39-.878.935-1.066 1.588a4.07 4.07 0 00-.068 1.886c.112.558.331 1.02.582 1.269l.008.007c.212.207.257.53.109.785-.36.622-.629 1.549-.673 2.44-.05 1.018.186 1.902.719 2.536l.016.019a.643.643 0 01.095.69c-.576 1.236-.753 2.252-.562 3.052a.652.652 0 01-1.269.298c-.243-1.018-.078-2.184.473-3.498l.014-.035-.008-.012a4.339 4.339 0 01-.598-1.309l-.005-.019a5.764 5.764 0 01-.177-1.785c.044-.91.278-1.842.622-2.59l.012-.026-.002-.002c-.293-.418-.51-.953-.63-1.545l-.005-.024a5.352 5.352 0 01.093-2.49c.262-.915.777-1.701 1.536-2.269.06-.045.123-.09.186-.132-.159-1.493-.119-2.73.112-3.67.127-.518.314-.95.562-1.287.27-.368.614-.622 1.015-.737.266-.076.54-.059.797.042zm4.116 9.09c.936 0 1.8.313 2.446.855.63.527 1.005 1.235 1.005 1.94 0 .888-.406 1.58-1.133 2.022-.62.375-1.451.557-2.403.557-1.009 0-1.871-.259-2.493-.734-.617-.47-.963-1.13-.963-1.845 0-.707.398-1.417 1.056-1.946.668-.537 1.55-.849 2.485-.849zm0 .896a3.07 3.07 0 00-1.916.65c-.461.37-.722.835-.722 1.25 0 .428.21.829.61 1.134.455.347 1.124.548 1.943.548.799 0 1.473-.147 1.932-.426.463-.28.7-.686.7-1.257 0-.423-.246-.89-.683-1.256-.484-.405-1.14-.643-1.864-.643zm.662 1.21l.004.004c.12.151.095.37-.056.49l-.292.23v.446a.375.375 0 01-.376.373.375.375 0 01-.376-.373v-.46l-.271-.218a.347.347 0 01-.052-.49.353.353 0 01.494-.051l.215.172.22-.174a.353.353 0 01.49.051zm-5.04-1.919c.478 0 .867.39.867.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zm8.706 0c.48 0 .868.39.868.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zM7.44 2.3l-.003.002a.659.659 0 00-.285.238l-.005.006c-.138.189-.258.467-.348.832-.17.692-.216 1.631-.124 2.782.43-.128.899-.208 1.404-.237l.01-.001.019-.034c.046-.082.095-.161.148-.239.123-.771.022-1.692-.253-2.444-.134-.364-.297-.65-.453-.813a.628.628 0 00-.107-.09L7.44 2.3zm9.174.04l-.002.001a.628.628 0 00-.107.09c-.156.163-.32.45-.453.814-.29.794-.387 1.776-.23 2.572l.058.097.008.014h.03a5.184 5.184 0 011.466.212c.086-1.124.038-2.043-.128-2.722-.09-.365-.21-.643-.349-.832l-.004-.006a.659.659 0 00-.285-.239h-.004z"})]}),xd=({height:n})=>s("svg",{height:n,style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Bedrock"}),e("defs",{children:s("linearGradient",{id:"lobe-icons-bedrock-fill",x1:"80%",x2:"20%",y1:"20%",y2:"80%",children:[e("stop",{offset:"0%",stopColor:"#6350FB"}),e("stop",{offset:"50%",stopColor:"#3D8FFF"}),e("stop",{offset:"100%",stopColor:"#9AD8F8"})]})}),e("path",{d:"M13.05 15.513h3.08c.214 0 .389.177.389.394v1.82a1.704 1.704 0 011.296 1.661c0 .943-.755 1.708-1.685 1.708-.931 0-1.686-.765-1.686-1.708 0-.807.554-1.484 1.297-1.662v-1.425h-2.69v4.663a.395.395 0 01-.188.338l-2.69 1.641a.385.385 0 01-.405-.002l-4.926-3.086a.395.395 0 01-.185-.336V16.3L2.196 14.87A.395.395 0 012 14.555L2 14.528V9.406c0-.14.073-.27.192-.34l2.465-1.462V4.448c0-.129.062-.249.165-.322l.021-.014L9.77 1.058a.385.385 0 01.407 0l2.69 1.675a.395.395 0 01.185.336V7.6h3.856V5.683a1.704 1.704 0 01-1.296-1.662c0-.943.755-1.708 1.685-1.708.931 0 1.685.765 1.685 1.708 0 .807-.553 1.484-1.296 1.662v2.311a.391.391 0 01-.389.394h-4.245v1.806h6.624a1.69 1.69 0 011.64-1.313c.93 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708a1.69 1.69 0 01-1.64-1.314H13.05v1.937h4.953l.915 1.18a1.66 1.66 0 01.84-.227c.931 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708-.93 0-1.685-.765-1.685-1.708 0-.346.102-.668.276-.937l-.724-.935H13.05v1.806zM9.973 1.856L7.93 3.122V6.09h-.778V3.604L5.435 4.669v2.945l2.11 1.36L9.712 7.61V5.334h.778V7.83c0 .136-.07.263-.184.335L7.963 9.638v2.081l1.422 1.009-.446.646-1.406-.998-1.53 1.005-.423-.66 1.605-1.055v-1.99L5.038 8.29l-2.26 1.34v1.676l1.972-1.189.398.677-2.37 1.429V14.3l2.166 1.258 2.27-1.368.397.677-2.176 1.311V19.3l1.876 1.175 2.365-1.426.398.678-2.017 1.216 1.918 1.201 2.298-1.403v-5.78l-4.758 2.893-.4-.675 5.158-3.136V3.289L9.972 1.856zM16.13 18.47a.913.913 0 00-.908.92c0 .507.406.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zm3.63-3.81a.913.913 0 00-.908.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92zm1.555-4.99a.913.913 0 00-.908.92c0 .507.407.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zM17.296 3.1a.913.913 0 00-.907.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92z",fill:"url(#lobe-icons-bedrock-fill)",fillRule:"nonzero"})]}),Td={AZURE_OPENAI:yd,GOOGLE:vd,OPENAI:Cd,ANTHROPIC:Ld,DEEPSEEK:kd,XAI:wd,OLLAMA:Sd,AWS:xd};function S7({provider:n,height:a=18}){return Td[n]({height:a})}const zt=m`
|
|
2215
2216
|
// fixes table row sizing issues with full height cell children
|
|
2216
2217
|
// this enables features like hovering anywhere on a cell to display controls
|
|
2217
2218
|
height: fit-content;
|
|
@@ -2307,7 +2308,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2307
2308
|
}
|
|
2308
2309
|
}
|
|
2309
2310
|
}
|
|
2310
|
-
`,
|
|
2311
|
+
`,Ad=m`
|
|
2311
2312
|
tbody:not(.is-empty) {
|
|
2312
2313
|
tr {
|
|
2313
2314
|
&:hover {
|
|
@@ -2315,20 +2316,20 @@ fragment ViewerContext_viewer on Query {
|
|
|
2315
2316
|
}
|
|
2316
2317
|
}
|
|
2317
2318
|
}
|
|
2318
|
-
`,T7=m(zt,
|
|
2319
|
+
`,T7=m(zt,Ad,m`
|
|
2319
2320
|
tbody:not(.is-empty) {
|
|
2320
2321
|
tr {
|
|
2321
2322
|
cursor: pointer;
|
|
2322
2323
|
}
|
|
2323
2324
|
}
|
|
2324
|
-
`),
|
|
2325
|
+
`),Id=m`
|
|
2325
2326
|
display: flex;
|
|
2326
2327
|
justify-content: flex-end;
|
|
2327
2328
|
align-items: center;
|
|
2328
2329
|
padding: var(--ac-global-dimension-size-100);
|
|
2329
2330
|
gap: var(--ac-global-dimension-size-50);
|
|
2330
2331
|
border-top: 1px solid var(--ac-global-color-grey-300);
|
|
2331
|
-
`;function A7(n){const a=n.getIsPinned(),t=a==="left"&&n.getIsLastColumn("left"),i=a==="right"&&n.getIsFirstColumn("right");return{boxShadow:t?"-8px 0 8px -8px var(--ac-global-color-grey-200) inset":i?"8px 0 8px -8px var(--ac-global-color-grey-200) inset":void 0,left:a==="left"?`${n.getStart("left")}px`:void 0,right:a==="right"?`${n.getAfter("right")}px`:void 0,opacity:a?.95:1,position:a?"sticky":"relative",width:n.getSize(),zIndex:a?1:0,backgroundColor:a?"var(--ac-global-color-grey-100)":void 0}}function
|
|
2332
|
+
`;function A7(n){const a=n.getIsPinned(),t=a==="left"&&n.getIsLastColumn("left"),i=a==="right"&&n.getIsFirstColumn("right");return{boxShadow:t?"-8px 0 8px -8px var(--ac-global-color-grey-200) inset":i?"8px 0 8px -8px var(--ac-global-color-grey-200) inset":void 0,left:a==="left"?`${n.getStart("left")}px`:void 0,right:a==="right"?`${n.getAfter("right")}px`:void 0,opacity:a?.95:1,position:a?"sticky":"relative",width:n.getSize(),zIndex:a?1:0,backgroundColor:a?"var(--ac-global-color-grey-100)":void 0}}function Md({color:n,size:a="M"}){return e("span",{"data-size":a,css:m`
|
|
2332
2333
|
background-color: ${n};
|
|
2333
2334
|
display: inline-block;
|
|
2334
2335
|
border-radius: 2px;
|
|
@@ -2347,7 +2348,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2347
2348
|
width: 1rem;
|
|
2348
2349
|
height: 1rem;
|
|
2349
2350
|
}
|
|
2350
|
-
`})}const
|
|
2351
|
+
`})}const zd=n=>{const a=n.charCodeAt(0);return Ki(a%26/26)},Dl=n=>p.useMemo(()=>zd(n),[n]);function _l({annotationName:n,...a}){const t=Dl(n);return e(Md,{color:t,...a})}function Kl(n){return Math.abs(n)<1e6?ze(",")(n):ze("0.2s")(n).replace("G","B").replace("k","K")}function Ve(n){const a=Math.abs(n);return a===0?"0.00":a<.01?ze(".2e")(n):a<1e3?ze("0.2f")(n):ze("0.2s")(n)}function Fd(n){return ze(".2f")(n)+"%"}function qa(n){return Number.isInteger(n)?Kl(n):Ve(n)}function Ed(n){return n===0?"$0":n<.01?"<$0.01":`$${ze(".2f")(n)}`}function Rn(n){return a=>typeof a!="number"?"--":n(a)}const Dd=Rn(Kl),Pl=Rn(Ve),ci=Rn(qa),_d=Rn(Fd),Vl=Rn(Ed),Kd=m`
|
|
2351
2352
|
border-radius: var(--ac-global-dimension-size-50);
|
|
2352
2353
|
border: 1px solid var(--ac-global-color-grey-400);
|
|
2353
2354
|
padding: var(--ac-global-dimension-size-50)
|
|
@@ -2363,7 +2364,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2363
2364
|
.ac-icon-wrap {
|
|
2364
2365
|
font-size: 12px;
|
|
2365
2366
|
}
|
|
2366
|
-
`,
|
|
2367
|
+
`,di=m`
|
|
2367
2368
|
display: flex;
|
|
2368
2369
|
align-items: center;
|
|
2369
2370
|
.ac-text {
|
|
@@ -2373,24 +2374,24 @@ fragment ViewerContext_viewer on Query {
|
|
|
2373
2374
|
overflow: hidden;
|
|
2374
2375
|
text-overflow: ellipsis;
|
|
2375
2376
|
}
|
|
2376
|
-
`,
|
|
2377
|
+
`,Pd=(n,a)=>{switch(a){case"label":return n.label||typeof n.score=="number"&&Ve(n.score)||"n/a";case"score":return typeof n.score=="number"&&Ve(n.score)||n.label||"n/a";case"none":return"";default:K()}};function Ol({annotation:n,onClick:a,annotationDisplayPreference:t="score",className:i,children:l,clickable:r,showClickableIcon:o=!0}){const c=r??typeof a=="function",d=Pd(n,t);return e("div",{role:c?"button":void 0,"data-clickable":c,className:i,css:m(Kd),"aria-label":c?"Click to view the annotation trace":`Annotation: ${n.name}`,onClick:u=>{a&&(u.stopPropagation(),u.preventDefault(),a())},children:s(S,{direction:"row",gap:"size-100",alignItems:"center",children:[e(_l,{annotationName:n.name}),e("div",{css:di,children:e(v,{weight:"heavy",size:"XS",color:"inherit",children:n.name})}),d&&e("div",{css:m(di,m`
|
|
2377
2378
|
margin-left: var(--ac-global-dimension-100);
|
|
2378
|
-
`),children:e(v,{size:"XS",children:d})}),l,c&&o?e(I,{svg:e(wt,{})}):null]})})}const
|
|
2379
|
+
`),children:e(v,{size:"XS",children:d})}),l,c&&o?e(I,{svg:e(wt,{})}):null]})})}const Vd=m`
|
|
2379
2380
|
text-overflow: ellipsis;
|
|
2380
2381
|
overflow: hidden;
|
|
2381
2382
|
white-space: nowrap;
|
|
2382
|
-
`,ea=({children:n,maxWidth:a,title:t})=>e("div",{css:
|
|
2383
|
-
`)})]}):null]})]}),t]})})]})}function
|
|
2383
|
+
`,ea=({children:n,maxWidth:a,title:t})=>e("div",{css:Vd,style:{maxWidth:a},title:t,children:n});function I7({annotation:n,children:a,extra:t,layout:i="vertical",leadingExtra:l}){return s(de,{delay:500,children:[e(ce,{children:e("div",{children:a})}),e(ye,{offset:3,children:s(S,{direction:i==="horizontal"?"row":"column",alignItems:"start",children:[s(S,{direction:"column",gap:"size-100",height:"100%",justifyContent:"space-between",children:[l,s(x,{children:[e(v,{weight:"heavy",color:"inherit",size:"L",elementType:"h3",children:n.name}),s(x,{paddingTop:"size-100",minWidth:"150px",children:[s(S,{direction:"row",justifyContent:"space-between",children:[e(v,{weight:"heavy",color:"inherit",children:"label"}),e(v,{color:"inherit",title:n.label??void 0,children:e(ea,{maxWidth:"200px",children:n.label||"--"})})]}),s(S,{direction:"row",justifyContent:"space-between",children:[e(v,{weight:"heavy",color:"inherit",children:"score"}),e(v,{color:"inherit",children:Pl(n.score)})]}),n.annotatorKind?s(S,{direction:"row",justifyContent:"space-between",children:[e(v,{weight:"heavy",color:"inherit",children:"annotator kind"}),e(v,{color:"inherit",children:n.annotatorKind})]}):null]}),n.explanation?e(x,{paddingTop:"size-50",children:s(S,{direction:"column",children:[e(v,{weight:"heavy",color:"inherit",children:"explanation"}),e(x,{maxHeight:"300px",overflow:"auto",children:e(v,{color:"inherit",children:n.explanation})})]})}):null,n.createdAt?s(S,{direction:"row",justifyContent:"space-between",wrap:"wrap",gap:"size-100",children:[e(v,{weight:"heavy",color:"inherit",children:"created at"}),e(v,{color:"inherit",children:new Date(n.createdAt).toLocaleString().split(",").join(`,
|
|
2384
|
+
`)})]}):null]})]}),t]})})]})}function M7({indeterminate:n,...a}){const t=p.useRef(null);return p.useEffect(()=>{typeof n=="boolean"&&(t.current.indeterminate=!a.checked&&n)},[t,n,a.checked]),e("div",{onClick:i=>{i.stopPropagation()},children:e("input",{type:"checkbox",ref:t,css:m`
|
|
2384
2385
|
cursor: pointer;
|
|
2385
2386
|
`,...a})})}function Od(n){const{children:a}=n;return e("tbody",{className:"is-empty",children:e("tr",{children:e("td",{colSpan:100,css:m`
|
|
2386
2387
|
text-align: center;
|
|
2387
2388
|
padding: var(--ac-global-dimension-size-300)
|
|
2388
2389
|
var(--ac-global-dimension-size-300) !important;
|
|
2389
|
-
`,children:a})})})}function Rd(n){const{message:a="No Data"}=n;return e(Od,{children:e(v,{children:a})})}const Nd=n=>typeof n=="object"&&n!==null&&typeof n.message=="string",$d=/["]message["]:\s*["]([^""]+)["]/g,Rl=n=>{if(!Nd(n))return null;const a=n.message;if(typeof a!="string")return null;const t=[...a.matchAll($d)].map(i=>i[1]);return t.length>0?t:null},Bd=n=>{const a=n;return typeof a=="object"&&a!==null&&typeof a.source=="object"&&a.source!==null&&Array.isArray(a.source.errors)&&a.source.errors.every(t=>typeof t=="object"&&t!==null&&typeof t.message=="string")},Hd=n=>Array.isArray(n)&&n.every(a=>typeof a=="object"&&a!==null&&typeof a.message=="string"),
|
|
2390
|
+
`,children:a})})})}function Rd(n){const{message:a="No Data"}=n;return e(Od,{children:e(v,{children:a})})}const Nd=n=>typeof n=="object"&&n!==null&&typeof n.message=="string",$d=/["]message["]:\s*["]([^""]+)["]/g,Rl=n=>{if(!Nd(n))return null;const a=n.message;if(typeof a!="string")return null;const t=[...a.matchAll($d)].map(i=>i[1]);return t.length>0?t:null},Bd=n=>{const a=n;return typeof a=="object"&&a!==null&&typeof a.source=="object"&&a.source!==null&&Array.isArray(a.source.errors)&&a.source.errors.every(t=>typeof t=="object"&&t!==null&&typeof t.message=="string")},Hd=n=>Array.isArray(n)&&n.every(a=>typeof a=="object"&&a!==null&&typeof a.message=="string"),z7=n=>Bd(n)?n.source.errors.map(a=>a.message):Hd(n)?n.map(a=>a.message):null;function F7(n){const{isCommitting:a,onSubmit:t,defaultName:i}=n,{control:l,handleSubmit:r,formState:{isDirty:o,isValid:c}}=Oe({defaultValues:{name:i??"New Key",description:"",expiresAt:null}});return e(oe,{children:({close:d})=>s(_e,{children:[s(Ke,{children:[e(Pe,{children:"Create an API Key"}),e(Ge,{children:e(We,{slot:"close"})})]}),s(Fr,{onSubmit:r(u=>t(u,d)),children:[s(x,{padding:"size-200",children:[e(H,{name:"name",control:l,rules:{required:"System key name is required"},render:({field:{onChange:u,onBlur:g,value:h},fieldState:{invalid:f,error:b}})=>s(U,{isInvalid:f,onChange:u,onBlur:g,value:h.toString(),size:"S",children:[e(P,{children:"Name"}),e(Z,{}),b!=null&&b.message?e(X,{children:b.message}):e(v,{slot:"description",children:"A name to identify the key"})]})}),e(H,{name:"description",control:l,render:({field:{onChange:u,onBlur:g,value:h},fieldState:{invalid:f,error:b}})=>s(U,{isInvalid:f,onChange:u,onBlur:g,value:h==null?void 0:h.toString(),size:"S",children:[e(P,{children:"Description"}),e(tt,{}),b!=null&&b.message?e(X,{children:b.message}):e(v,{slot:"description",children:"A description of the system key"})]})}),e(H,{name:"expiresAt",control:l,rules:{validate:u=>u&&u.toDate(Na())<new Date?"Date must be in the future":!0},render:({field:{name:u,onChange:g,onBlur:h,value:f},fieldState:{invalid:b,error:y}})=>s(Wa,{isInvalid:b,onChange:g,onBlur:h,value:f,name:u,granularity:"minute",css:m`
|
|
2390
2391
|
.react-aria-DateInput {
|
|
2391
2392
|
width: 100%;
|
|
2392
2393
|
}
|
|
2393
|
-
`,children:[e(P,{children:"Expires At"}),e($a,{children:k=>e(Ba,{segment:k})}),y!=null&&y.message?e(X,{children:y.message}):e(v,{slot:"description",children:"The date at which the key will expire. Optional"})]})})]}),e(x,{paddingStart:"size-200",paddingEnd:"size-200",paddingTop:"size-100",paddingBottom:"size-100",borderColor:"dark",borderTopWidth:"thin",children:e(S,{direction:"row",gap:"size-100",justifyContent:"end",children:e(M,{variant:o?"primary":"default",type:"submit",size:"S",isDisabled:!c||a,children:a?"Creating...":"Create Key"})})})]})]})})}function jd(n){var g;const{theme:a}=te(),{jsonSchema:t,optionalLint:i,basicSetup:l,...r}=n,o=a==="light"?
|
|
2394
|
+
`,children:[e(P,{children:"Expires At"}),e($a,{children:k=>e(Ba,{segment:k})}),y!=null&&y.message?e(X,{children:y.message}):e(v,{slot:"description",children:"The date at which the key will expire. Optional"})]})})]}),e(x,{paddingStart:"size-200",paddingEnd:"size-200",paddingTop:"size-100",paddingBottom:"size-100",borderColor:"dark",borderTopWidth:"thin",children:e(S,{direction:"row",gap:"size-100",justifyContent:"end",children:e(M,{variant:o?"primary":"default",type:"submit",size:"S",isDisabled:!c||a,children:a?"Creating...":"Create Key"})})})]})]})})}function jd(n){var g;const{theme:a}=te(),{jsonSchema:t,optionalLint:i,basicSetup:l,...r}=n,o=a==="light"?Fn:En,c=(g=n.value)==null?void 0:g.length,d=!i||c&&c>0,u=p.useMemo(()=>{const h=[kn.json(),rt.lineWrapping,Hi.of([...ji.filter(f=>f.key!=="Mod-Enter")])];return d&&h.push(Ha(kn.jsonParseLinter())),t&&h.push(Ha($o(),{needsRefresh:No}),kn.jsonLanguage.data.of({autocomplete:Bo()}),Ho(jo()),Zo(t)),h},[t,d]);return e(Dn,{value:n.value,extensions:u,editable:!0,theme:o,basicSetup:{...l,defaultKeymap:!1},...r})}function Nl(n){const{basicSetup:a,...t}=n,{theme:i}=te(),l=i==="light"?Fn:En,r=p.useMemo(()=>{const o={lineNumbers:!0,foldGutter:!0,bracketMatching:!0,syntaxHighlighting:!0,highlightActiveLine:!1,highlightActiveLineGutter:!1};return a?{...o,...a}:o},[a]);return e(Dn,{value:n.value,extensions:[kn.json(),rt.lineWrapping,Ha(kn.jsonParseLinter())],editable:!1,theme:l,...t,basicSetup:r})}function Zd(n){const{theme:a}=te(),t=a==="light"?Fn:En,{basicSetup:i={}}=n,l=p.useMemo(()=>({lineNumbers:!1,foldGutter:!0,bracketMatching:!0,syntaxHighlighting:!0,highlightActiveLine:!1,highlightActiveLineGutter:!1,...i}),[i]);return e(Dn,{value:n.value,extensions:[Uo()],editable:!1,theme:t,...n,basicSetup:l})}const $l=m`
|
|
2394
2395
|
position: relative;
|
|
2395
2396
|
--code-block-min-height: 40px;
|
|
2396
2397
|
min-height: var(--code-block-min-height);
|
|
@@ -2418,7 +2419,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2418
2419
|
right: var(--ac-global-dimension-size-100);
|
|
2419
2420
|
z-index: 1;
|
|
2420
2421
|
}
|
|
2421
|
-
`;function
|
|
2422
|
+
`;function pe(n){const{value:a}=n;return s("div",{className:"python-code-block",css:$l,children:[e(Lt,{text:a}),e(Zd,{value:a})]})}function se({children:n,...a}){return e(x,{borderColor:"light",borderWidth:"thin",borderRadius:"small",...a,children:n})}function Ud(n){const{theme:a}=te(),t=a==="light"?Fn:En,{basicSetup:i}=n,l=p.useMemo(()=>({lineNumbers:!1,foldGutter:!0,bracketMatching:!0,syntaxHighlighting:!0,highlightActiveLine:!1,highlightActiveLineGutter:!1,...i}),[i]);return e(Dn,{value:n.value,extensions:[Go({typescript:!0})],editable:!1,theme:t,...n,basicSetup:l})}const Gd=m`
|
|
2422
2423
|
&.is-hovered {
|
|
2423
2424
|
border: 1px solid var(--ac-global-input-field-border-color-active);
|
|
2424
2425
|
}
|
|
@@ -2440,17 +2441,17 @@ fragment ViewerContext_viewer on Query {
|
|
|
2440
2441
|
outline: none;
|
|
2441
2442
|
}
|
|
2442
2443
|
transition: all 0.2s ease-in-out;
|
|
2443
|
-
`;function Wd({children:n,validationState:a,...t}){const[i,l]=p.useState(!1),[r,o]=p.useState(!1),c=a==="invalid";return e(
|
|
2444
|
+
`;function Wd({children:n,validationState:a,...t}){const[i,l]=p.useState(!1),[r,o]=p.useState(!1),c=a==="invalid";return e(wo,{...t,validationState:c?"invalid":"valid",children:e("div",{className:R("json-editor-wrap",{"is-hovered":r,"is-focused":i,"is-invalid":c}),onFocus:()=>l(!0),onBlur:()=>l(!1),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),css:Gd,children:n})})}const Qd=["Python","TypeScript"];function qd(n){return typeof n=="string"&&Qd.includes(n)}function E7({language:n,onChange:a,size:t}){return s(ha,{size:t,selectedKeys:[n],"aria-label":"Code Language",onSelectionChange:i=>{if(i.size===0)return;const l=i.keys().next().value;if(qd(l))a(l);else throw new Error(`Unknown language: ${l}`)},children:[e(xe,{"aria-label":"Python",id:"Python",children:"Python"}),e(xe,{"aria-label":"TypeScript",id:"TypeScript",children:"TypeScript"})]})}function D7(n){const{jwt:a}=n;return e(oe,{children:s(_e,{children:[s(Ke,{children:[e(Pe,{children:"New API Key Created"}),e(Ge,{children:e(We,{slot:"close"})})]}),e(Mt,{variant:"success",banner:!0,children:"You have successfully created a new API key. The API key will only be displayed once below. Please copy and save it in a secure location."}),s("div",{css:m`
|
|
2444
2445
|
.ac-field {
|
|
2445
2446
|
width: 100%;
|
|
2446
2447
|
}
|
|
2447
|
-
`,children:[e(x,{padding:"size-200",children:s(S,{direction:"row",gap:"size-100",alignItems:"end",children:[s(U,{isReadOnly:!0,value:a,children:[e(P,{children:"API Key"}),e(Z,{})]}),e(Lt,{text:a,size:"M"})]})}),s(x,{padding:"size-200",borderTopColor:"light",borderTopWidth:"thin",children:[e(Y,{level:2,weight:"heavy",children:"How to Use the API Key"}),e(x,{paddingBottom:"size-100",paddingTop:"size-100",children:e(v,{children:"When interacting with Phoenix clients and OTEL SDKs, set the environment variable"})}),e(se,{children:e(
|
|
2448
|
+
`,children:[e(x,{padding:"size-200",children:s(S,{direction:"row",gap:"size-100",alignItems:"end",children:[s(U,{isReadOnly:!0,value:a,children:[e(P,{children:"API Key"}),e(Z,{})]}),e(Lt,{text:a,size:"M"})]})}),s(x,{padding:"size-200",borderTopColor:"light",borderTopWidth:"thin",children:[e(Y,{level:2,weight:"heavy",children:"How to Use the API Key"}),e(x,{paddingBottom:"size-100",paddingTop:"size-100",children:e(v,{children:"When interacting with Phoenix clients and OTEL SDKs, set the environment variable"})}),e(se,{children:e(pe,{value:`PHOENIX_API_KEY=${a}`})}),e(x,{paddingBottom:"size-100",paddingTop:"size-100",children:e(v,{children:"When using OpenTelemetry SDKs pass the API key in the headers"})}),e(se,{children:e(pe,{value:`OTEL_EXPORTER_OTLP_HEADERS='Authorization=Bearer ${a}'`})}),e(x,{paddingBottom:"size-100",paddingTop:"size-100",children:s(v,{children:["When using the Phoenix REST and GraphQL APIs, pass the API key as a"," ",e(ae,{href:"https://swagger.io/docs/specification/authentication/bearer-authentication/",children:"bearer token"}),"."]})}),e(se,{children:e(pe,{value:`Authorization: Bearer ${a}`})})]}),e(x,{padding:"size-200",borderTopColor:"light",borderTopWidth:"thin",children:e(S,{direction:"row",justifyContent:"end",children:e(M,{variant:"primary","aria-label":"dismiss",slot:"close",children:"Close"})})})]})]})})}function _7({handleDelete:n}){return s(fe,{children:[e(M,{variant:"danger",size:"S",leadingVisual:e(I,{svg:e(It,{})}),"aria-label":"Delete System Key"}),e(xn,{isDismissable:!0,children:e(Sn,{children:e(oe,{children:({close:a})=>s(_e,{children:[s(Ke,{children:[e(Pe,{children:"Delete API Key"}),e(Ge,{children:e(We,{slot:"close"})})]}),e(x,{padding:"size-200",children:e(v,{color:"danger",children:"Are you sure you want to delete this key? This cannot be undone and will disable all uses of this key."})}),e(x,{paddingEnd:"size-200",paddingTop:"size-100",paddingBottom:"size-100",borderTopColor:"light",borderTopWidth:"thin",children:s(S,{direction:"row",justifyContent:"end",gap:"size-100",children:[e(M,{slot:"close",size:"S",children:"Cancel"}),e(M,{variant:"danger",onPress:()=>{a(),n()},size:"S",children:"Delete Key"})]})})]})})})})]})}function Xd(n){const{fallback:a=null,children:t}=n,{viewer:i}=dn();return i?t:e(j,{children:a})}function Bl(n){const{fallback:a=null,children:t}=n,{viewer:i}=dn();return!i||i.role.name!=="ADMIN"?e(j,{children:a}):t}function K7(n){const{fallback:a=null,children:t}=n;return gs()?t:e(j,{children:a})}function Hl({children:n}){return e("div",{style:{display:"contents"},onClick:a=>a.stopPropagation(),onKeyDown:a=>a.stopPropagation(),onMouseDown:a=>a.stopPropagation(),onPointerDown:a=>a.stopPropagation(),children:n})}function jl({columns:n,data:a}){const t=Er({columns:n,data:a,getCoreRowModel:Kr(),getPaginationRowModel:_r(),getSortedRowModel:Dr()}),i=t.getRowModel().rows,r=i.length>0?e("tbody",{children:i.map(o=>e("tr",{children:o.getVisibleCells().map(c=>e("td",{children:Rt(c.column.columnDef.cell,c.getContext())},c.id))},o.id))}):e(Rd,{});return s(j,{children:[s("table",{css:zt,children:[e("thead",{children:t.getHeaderGroups().map(o=>e("tr",{children:o.headers.map(c=>e("th",{colSpan:c.colSpan,children:c.isPlaceholder?null:e("div",{children:Rt(c.column.columnDef.header,c.getContext())})},c.id))},o.id))}),r]}),s("div",{css:Id,children:[e(M,{variant:"default",size:"S",onPress:t.previousPage,isDisabled:!t.getCanPreviousPage(),"aria-label":"Previous Page",leadingVisual:e(I,{svg:e(q0,{})})}),e(M,{size:"S",onPress:t.nextPage,isDisabled:!t.getCanNextPage(),"aria-label":"Next Page",leadingVisual:e(I,{svg:e(wt,{})})})]})]})}function Ln({getValue:n}){const a=n();if(!ot(a))throw new Error("IntCell only supports number or null values.");return e("span",{title:a!=null?String(a):"",children:Pl(a)})}const Yd=m`
|
|
2448
2449
|
float: right;
|
|
2449
|
-
`;function Jd({getValue:n}){const a=n();if(!ot(a))throw new Error("IntCell only supports number or null values.");return e("span",{title:a!=null?String(a):"",css:Yd,children:
|
|
2450
|
+
`;function Jd({getValue:n}){const a=n();if(!ot(a))throw new Error("IntCell only supports number or null values.");return e("span",{title:a!=null?String(a):"",css:Yd,children:Dd(a)})}function e3({getValue:n}){const a=n();if(!ot(a))throw new Error("IntCell only supports number or null values.");return e("span",{title:a!=null?String(a):"",children:_d(a)})}const ui=100;function n3(n){return n.length>ui?`${n.slice(0,ui)}...`:n}function P7({getValue:n}){const a=n(),t=a!=null&&typeof a=="string"?n3(a):"--";return e("span",{children:t})}function V7({getValue:n}){const a=n(),t=a!=null&&typeof a=="string"?a:"--";return e("pre",{style:{whiteSpace:"pre-wrap"},children:t})}const a3=m`
|
|
2450
2451
|
margin: 0;
|
|
2451
2452
|
white-space: pre-wrap;
|
|
2452
2453
|
word-wrap: break-word;
|
|
2453
|
-
`;function
|
|
2454
|
+
`;function gi(n,a){return n.length>a?`${n.slice(0,a)}...`:n}function t3({json:n,maxLength:a,space:t=0,disableTitle:i=!1,collapseSingleKey:l=!0}){const r=typeof a=="number",o=p.useMemo(()=>JSON.stringify(n,null,t),[n,t]),c=p.useMemo(()=>JSON.stringify(n,null,2),[n]),d=i?void 0:c;if(!re(n))return console.warn("JSONText component received a non-object value",n),e("span",{title:d,children:String(n)});const u=n;if(Object.keys(u).length===0)return e("span",{title:d,children:"--"});if(Object.keys(u).length===1&&l){const b=Object.keys(u)[0],y=u[b];if(typeof y=="string"){const k=r?gi(y,a):y;return e("span",{title:d,children:k})}}const g=r?gi(o,a):o;return e(r?"span":"pre",{title:d,css:r?void 0:a3,children:g})}const i3=100;function O7({getValue:n}){const a=n();return e(t3,{json:a,maxLength:i3})}m`
|
|
2454
2455
|
position: relative;
|
|
2455
2456
|
height: 100%;
|
|
2456
2457
|
min-height: 100%;
|
|
@@ -2489,7 +2490,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2489
2490
|
display: flex;
|
|
2490
2491
|
justify-content: center;
|
|
2491
2492
|
align-items: center;
|
|
2492
|
-
`;function
|
|
2493
|
+
`;function R7({onLoadMore:n,isLoadingNext:a}){return e("tr",{css:o3,children:e("td",{colSpan:100,css:s3,children:e(r3,{onLoadMore:n,isLoadingNext:a})})})}function N7({children:n,extra:a}){return s("div",{css:c3,children:[e("div",{css:d3,children:n}),e("div",{css:u3,children:a})]})}const c3=m`
|
|
2493
2494
|
padding: 0 var(--ac-global-dimension-static-size-100) 0
|
|
2494
2495
|
var(--ac-global-dimension-static-size-200);
|
|
2495
2496
|
border-bottom: var(--ac-global-border-size-thin) solid
|
|
@@ -2518,7 +2519,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2518
2519
|
gap: var(--ac-global-dimension-static-size-50);
|
|
2519
2520
|
align-items: center;
|
|
2520
2521
|
flex: none;
|
|
2521
|
-
`,g3={year:"numeric",month:"numeric",day:"numeric",hour:"2-digit",minute:"2-digit"};function
|
|
2522
|
+
`,g3={year:"numeric",month:"numeric",day:"numeric",hour:"2-digit",minute:"2-digit"};function $7({getValue:n,format:a=g3}){const t=n();if(!ls(t))throw new Error("TimestampCell only supports string, null, or undefined values.");const i=t!=null?new Date(t).toLocaleString([],a):"--";return e("time",{title:t!=null?String(t):"",children:i})}function B7(n){return e("div",{css:m`
|
|
2522
2523
|
background-color: var(--ac-global-color-grey-200);
|
|
2523
2524
|
border: 1px solid var(--ac-global-color-grey-300);
|
|
2524
2525
|
padding: var(--ac-global-dimension-static-size-100);
|
|
@@ -2527,7 +2528,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2527
2528
|
flex-direction: column;
|
|
2528
2529
|
gap: var(--ac-global-dimension-static-size-50);
|
|
2529
2530
|
min-width: 200px;
|
|
2530
|
-
`,children:n.children})}function
|
|
2531
|
+
`,children:n.children})}function H7(n){return s("div",{css:m`
|
|
2531
2532
|
display: flex;
|
|
2532
2533
|
flex-direction: row;
|
|
2533
2534
|
justify-content: space-between;
|
|
@@ -2536,7 +2537,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2536
2537
|
flex-direction: row;
|
|
2537
2538
|
gap: var(--ac-global-dimension-static-size-100);
|
|
2538
2539
|
align-items: center;
|
|
2539
|
-
`,children:[e(p3,{color:n.color,shape:n.shape??"line"}),e(v,{title:n.name,children:e(ea,{maxWidth:"120px",children:n.name})})]}),e(v,{children:n.value})]})}function
|
|
2540
|
+
`,children:[e(p3,{color:n.color,shape:n.shape??"line"}),e(v,{title:n.name,children:e(ea,{maxWidth:"120px",children:n.name})})]}),e(v,{children:n.value})]})}function j7(){return e("div",{css:m`
|
|
2540
2541
|
height: 1px;
|
|
2541
2542
|
background-color: var(--ac-global-color-grey-300);
|
|
2542
2543
|
width: 100%;
|
|
@@ -2553,11 +2554,11 @@ fragment ViewerContext_viewer on Query {
|
|
|
2553
2554
|
`};function p3({color:n,shape:a="line"}){return e("div",{css:m(m3(a),m`
|
|
2554
2555
|
background-color: ${n};
|
|
2555
2556
|
flex: none;
|
|
2556
|
-
`)})}const
|
|
2557
|
+
`)})}const Z7={dataKey:"timestamp",stroke:"var(--ac-global-colo-grey-400)",style:{fill:"var(--ac-global-text-color-700)"},scale:"time",type:"number",domain:["auto","auto"],padding:"gap"},U7={stroke:"var(--ac-global-color-grey-900)",label:{value:"▼",position:"top",style:{fill:"#fabe32",fontSize:"var(--ac-global-font-size-xs)"}}},G7={cursor:{fill:"var(--ac-global-color-grey-300)"}},Tn=60,An=Tn*24,Ka=2*An;function W7(n){const{start:a,end:t}=n,i=Math.floor((t.valueOf()-a.valueOf())/1e3/60/60);return i<=1?{evaluationWindowMinutes:1,samplingIntervalMinutes:1}:i<=24?{evaluationWindowMinutes:Tn,samplingIntervalMinutes:Tn}:{evaluationWindowMinutes:An,samplingIntervalMinutes:An}}function Q7(n){const{start:a,end:t}=n,i=Math.floor((t.valueOf()-a.valueOf())/1e3/60/60);return i<=1?{evaluationWindowMinutes:Ka,samplingIntervalMinutes:1}:i<=24?{evaluationWindowMinutes:Ka,samplingIntervalMinutes:Tn}:{evaluationWindowMinutes:Ka,samplingIntervalMinutes:An}}function h3(n){let a;return n<Tn?a="%H:%M %p":n<An?a="%x %H:%M %p":a="%-m/%-d",a}function q7(n){const a=n.samplingIntervalMinutes;return p.useMemo(()=>zn(h3(a)),[a])}const f3=Object.freeze({blue100:"#A4C7E0",blue200:"#7EB0D2",blue300:"#5899C5",blue400:"#3C80AE",blue500:"#2F6488",orange100:"#FECC95",orange200:"#FDB462",orange300:"#FC9C31",orange400:"#F78403",orange500:"#C46903",purple100:"#BEBADA",purple200:"#9E98C8",purple300:"#7F77B6",purple400:"#6157A3",purple500:"#4D4581",pink100:"#FCCDE5",pink200:"#F99FCD",pink300:"#F66FB4",pink400:"#F33F9B",pink500:"#F10E82",gray100:"#f0f0f0",gray200:"#d9d9d9",gray300:"#bdbdbd",gray400:"#969696",gray500:"#737373",gray600:"#525252",gray700:"#252525",default:"#ffffff",primary:"#9efcfd",reference:"#baa1f9"}),b3=Object.freeze({default:"#000000",blue100:"#2F6488",blue200:"#3C80AE",blue300:"#5899C5",blue400:"#7EB0D2",blue500:"#A4C7E0",orange100:"#C46903",orange200:"#F78403",orange300:"#FC9C31",orange400:"#FDB462",orange500:"#FECC95",purple100:"#4D4581",purple200:"#6157A3",purple300:"#7F77B6",purple400:"#9E98C8",purple500:"#BEBADA",pink100:"#F10E82",pink200:"#F33F9B",pink300:"#F66FB4",pink400:"#F99FCD",pink500:"#FCCDE5",gray100:"#252525",gray200:"#525252",gray300:"#737373",gray400:"#969696",gray500:"#bdbdbd",gray600:"#d9d9d9",gray700:"#f0f0f0",primary:"#00add0",reference:"#4500d9"}),Zl=()=>{const{theme:n}=te();return p.useMemo(()=>n==="dark"?f3:b3,[n])},Ul=(n,a)=>{const t=[["blue",5],["orange",5],["purple",5],["pink",5],["gray",5]],i=t.length,l=n%i,r=Math.floor(n/i),[o,c]=t[l],d=500-100*(r%c),u=`${o}${d}`;return a[u]||a.default};function X7(n){switch(n.__typename){case"NominalBin":return n.name;case"IntervalBin":return`${qa(n.range.start)} - ${qa(n.range.end)}`;case"MissingValueBin":return"(empty)";case"%other":throw new Error("Unexpected bin type %other");default:K()}}var Nn=(n=>(n.ADMIN="ADMIN",n.MEMBER="MEMBER",n))(Nn||{});function y3(n){return n.toLocaleLowerCase()}function v3(n){return typeof n=="string"&&n in Nn}const C3=24*60*60*1e3,Y7=30*C3,Pa=2147483647,J7=[{name:"production",description:"The version deployed to production"},{name:"staging",description:"The version deployed to staging"},{name:"development",description:"The version deployed for development"}],L3=Object.values(Nn),k3=m`
|
|
2557
2558
|
.ac-field-label {
|
|
2558
2559
|
display: none;
|
|
2559
2560
|
}
|
|
2560
|
-
`;function Gl({onChange:n,role:a,includeLabel:t=!0,errorMessage:i,isInvalid:l=!1,size:r="M",...o}){return s(Ae,{css:t?void 0:k3,className:"role-select",size:r,selectedKey:a??void 0,"aria-label":"User Role",isInvalid:l,onSelectionChange:c=>{v3(c)&&n(c)},...o,children:[t&&e(P,{children:"Role"}),s(M,{children:[e(Te,{}),e(
|
|
2561
|
+
`;function Gl({onChange:n,role:a,includeLabel:t=!0,errorMessage:i,isInvalid:l=!1,size:r="M",...o}){return s(Ae,{css:t?void 0:k3,className:"role-select",size:r,selectedKey:a??void 0,"aria-label":"User Role",isInvalid:l,onSelectionChange:c=>{v3(c)&&n(c)},...o,children:[t&&e(P,{children:"Role"}),s(M,{children:[e(Te,{}),e(be,{})]}),e(ne,{children:e(ue,{children:L3.map(c=>e(q,{id:c,children:y3(c)},c))})}),e(X,{children:i})]})}function e8({onSubmit:n,email:a,username:t,role:i,isSubmitting:l}){const{control:r,handleSubmit:o,formState:{isDirty:c}}=Oe({defaultValues:{email:a??"",username:t??"",role:i??Nn.MEMBER}});return e("div",{css:m`
|
|
2561
2562
|
.role-select {
|
|
2562
2563
|
width: 100%;
|
|
2563
2564
|
.ac-dropdown--picker,
|
|
@@ -2565,7 +2566,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2565
2566
|
width: 100%;
|
|
2566
2567
|
}
|
|
2567
2568
|
}
|
|
2568
|
-
`,children:s(cn,{onSubmit:o(n),children:[e(x,{padding:"size-200",children:s(S,{direction:"column",gap:"size-100",children:[e(H,{name:"email",control:r,rules:{required:"Email is required",pattern:{value:/^[^@\s]+@[^@\s]+[.][^@\s]+$/,message:"Invalid email format"}},render:({field:{name:d,onChange:u,onBlur:g,value:h},fieldState:{error:f,invalid:b}})=>s(U,{type:"email",name:d,isRequired:!0,onChange:u,isInvalid:b,onBlur:g,value:h,children:[e(P,{children:"Email"}),e(Z,{}),f?e(X,{children:f==null?void 0:f.message}):e(v,{slot:"description",children:"The user's email address. Must be unique."})]})}),e(H,{name:"username",control:r,rules:{required:"Username is required"},render:({field:{name:d,onChange:u,onBlur:g,value:h},fieldState:{error:f,invalid:b}})=>s(U,{name:d,isRequired:!0,onChange:u,isInvalid:b,onBlur:g,value:h,children:[e(P,{children:"Username"}),e(Z,{}),f?e(X,{children:f==null?void 0:f.message}):e(v,{slot:"description",children:"A unique username."})]})}),e(H,{name:"role",control:r,render:({field:{onChange:d,value:u},fieldState:{error:g}})=>e(Gl,{onChange:d,role:u,errorMessage:g==null?void 0:g.message})})]})}),e(x,{paddingStart:"size-200",paddingEnd:"size-200",paddingTop:"size-100",paddingBottom:"size-100",borderColor:"dark",borderTopWidth:"thin",children:e(S,{direction:"row",gap:"size-100",justifyContent:"end",children:e(M,{variant:c?"primary":"default",type:"submit",size:"S",isDisabled:l,children:l?"Adding...":"Add User"})})})]})})}const Bn=4;function
|
|
2569
|
+
`,children:s(cn,{onSubmit:o(n),children:[e(x,{padding:"size-200",children:s(S,{direction:"column",gap:"size-100",children:[e(H,{name:"email",control:r,rules:{required:"Email is required",pattern:{value:/^[^@\s]+@[^@\s]+[.][^@\s]+$/,message:"Invalid email format"}},render:({field:{name:d,onChange:u,onBlur:g,value:h},fieldState:{error:f,invalid:b}})=>s(U,{type:"email",name:d,isRequired:!0,onChange:u,isInvalid:b,onBlur:g,value:h,children:[e(P,{children:"Email"}),e(Z,{}),f?e(X,{children:f==null?void 0:f.message}):e(v,{slot:"description",children:"The user's email address. Must be unique."})]})}),e(H,{name:"username",control:r,rules:{required:"Username is required"},render:({field:{name:d,onChange:u,onBlur:g,value:h},fieldState:{error:f,invalid:b}})=>s(U,{name:d,isRequired:!0,onChange:u,isInvalid:b,onBlur:g,value:h,children:[e(P,{children:"Username"}),e(Z,{}),f?e(X,{children:f==null?void 0:f.message}):e(v,{slot:"description",children:"A unique username."})]})}),e(H,{name:"role",control:r,render:({field:{onChange:d,value:u},fieldState:{error:g}})=>e(Gl,{onChange:d,role:u,errorMessage:g==null?void 0:g.message})})]})}),e(x,{paddingStart:"size-200",paddingEnd:"size-200",paddingTop:"size-100",paddingBottom:"size-100",borderColor:"dark",borderTopWidth:"thin",children:e(S,{direction:"row",gap:"size-100",justifyContent:"end",children:e(M,{variant:c?"primary":"default",type:"submit",size:"S",isDisabled:l,children:l?"Adding...":"Add User"})})})]})})}const Bn=4;function n8({onSubmit:n,email:a,username:t,password:i,role:l,isSubmitting:r}){const{control:o,handleSubmit:c,formState:{isDirty:d}}=Oe({defaultValues:{email:a??"",username:t??"",password:i??void 0,confirmPassword:void 0,role:l??Nn.MEMBER}});return e("div",{css:m`
|
|
2569
2570
|
.role-select {
|
|
2570
2571
|
width: 100%;
|
|
2571
2572
|
.ac-dropdown--picker,
|
|
@@ -2622,7 +2623,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2622
2623
|
errorMessage
|
|
2623
2624
|
}
|
|
2624
2625
|
}
|
|
2625
|
-
`}}}();Ql.hash="588f0ae4347a5d65fd17babc2d6be11f";const
|
|
2626
|
+
`}}}();Ql.hash="588f0ae4347a5d65fd17babc2d6be11f";const a8=({value:n,onChange:a,error:t,isInvalid:i,description:l,label:r,ariaLabel:o,placeholder:c,...d})=>s(U,{isInvalid:i,"aria-label":o||r,value:n,onChange:a,...d,children:[r&&e(P,{children:r}),e(Z,{placeholder:c}),!t&&l&&e(v,{slot:"description",children:l}),t&&e(X,{children:t}),i&&n&&e(I,{style:{color:"var(--ac-global-color-danger)"},svg:e(oc,{})}),!i&&n&&e(I,{style:{color:"var(--ac-global-color-success)"},svg:e(Tl,{})})]}),w3=Ql,t8=({initialValue:n}={initialValue:""})=>{const[a,t]=p.useState(n),[i,l]=p.useState(a),[r,o]=p.useState(void 0),c=F.useRelayEnvironment(),d=p.useMemo(()=>Pi.debounce(u=>{l(u)},500),[]);return p.useEffect(()=>{d(a)},[a,d]),p.useEffect(()=>{if(!i){o(void 0);return}const g=F.fetchQuery(c,w3,{input:i}).subscribe({next:h=>{h.validateRegularExpression.isValid?o(void 0):o(h.validateRegularExpression.errorMessage??"Regular expression is invalid")}});return()=>{g.unsubscribe()}},[i,c]),{value:a,onChange:t,isInvalid:r!=null,error:r}};function S3(){const[n,a]=p.useState("--");return p.useEffect(()=>{fetch("https://api.github.com/repos/Arize-ai/phoenix").then(t=>t.json()).then(t=>{a(ze(".2s")(t.stargazers_count))})},[]),e(W2,{children:n})}function x3(n){const{size:a=28}=n;return s("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 305.92 350.13",width:a,height:a,css:m`
|
|
2626
2627
|
.cls-1 {
|
|
2627
2628
|
fill: url(#linear-gradient);
|
|
2628
2629
|
}
|
|
@@ -2762,7 +2763,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2762
2763
|
font-size: var(--ac-global-font-size-xl);
|
|
2763
2764
|
text-decoration: none;
|
|
2764
2765
|
margin: 0 0 var(--ac-global-dimension-static-size-200) 0;
|
|
2765
|
-
`;function
|
|
2766
|
+
`;function Ft(n){return s("a",{href:n.href,target:n.replaceTab?void 0:"_blank",css:fa,rel:"noreferrer",children:[n.leadingVisual,e(v,{children:n.text}),n.trailingVisual]})}function i8(){return e(Ft,{href:"https://arize.com/docs/phoenix",leadingVisual:e(I,{svg:e(ec,{})}),text:"Documentation"})}function l8(){return e(Ft,{href:"https://github.com/Arize-ai/phoenix",leadingVisual:e(I,{svg:e(uc,{})}),trailingVisual:e(S3,{}),text:"Star on GitHub"})}function r8(){const{theme:n,setTheme:a}=te(),t=n==="dark";return s("button",{css:fa,onClick:()=>a(t?"light":"dark"),className:"button--reset",children:[e(I,{svg:t?e(fc,{}):e(xc,{})}),e(v,{children:t?"Dark":"Light"})]})}function o8(){return e(nt,{to:"/",css:I3,title:`version: ${window.Config.platformVersion}`,children:e(x3,{})})}function s8({children:n}){return e("nav",{css:T3,children:n})}function c8({children:n}){const[a,t]=p.useState(!1);return e("nav",{"data-expanded":a,css:A3,onMouseOver:()=>{t(!0)},onMouseOut:()=>{t(!1)},children:n})}function d8(n){return s(Pr,{to:n.to,css:fa,children:[n.leadingVisual,e(v,{children:n.text})]})}function u8(n){return s("button",{className:"button--reset",css:fa,onClick:n.onClick,children:[n.leadingVisual,e(v,{children:n.text})]})}const g8=()=>{const{viewer:n}=dn();return n!=null&&n.isManagementUser&&window.Config.managementUrl?e("li",{children:e(Ft,{href:window.Config.managementUrl,leadingVisual:e(I,{svg:e(wc,{})}),text:"Management Console",replaceTab:!0})},"management"):null};function M3(n){var a;return typeof n.handle=="object"&&typeof((a=n.handle)==null?void 0:a.crumb)=="function"}function m8(){const n=it(),t=Vr().filter(M3);return e(So,{onAction:i=>{n(t[Number(i)].pathname)},children:t.map((i,l)=>e(vn,{children:i.handle.crumb(i.data)},l))})}const ql=function(){var n={alias:null,args:null,kind:"ScalarField",name:"maxCount",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"maxDays",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"ProjectTraceRetentionPolicySelectFragment",selections:[{alias:null,args:null,concreteType:"ProjectTraceRetentionPolicyConnection",kind:"LinkedField",name:"projectTraceRetentionPolicies",plural:!1,selections:[{alias:null,args:null,concreteType:"ProjectTraceRetentionPolicyEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ProjectTraceRetentionPolicy",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cronExpression",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"rule",plural:!1,selections:[{kind:"InlineFragment",selections:[n],type:"TraceRetentionRuleMaxCount",abstractKey:null},{kind:"InlineFragment",selections:[a],type:"TraceRetentionRuleMaxDays",abstractKey:null},{kind:"InlineFragment",selections:[a,n],type:"TraceRetentionRuleMaxDaysOrCount",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null}}();ql.hash="319a452afbbe089cfba02eaf9722b595";function p8({defaultValue:n,onChange:a,query:t,isDisabled:i}){const r=F.useFragment(ql,t).projectTraceRetentionPolicies.edges.map(o=>o.node);return s(Ae,{size:"S",defaultSelectedKey:n,onSelectionChange:o=>{o&&(a==null||a(o.toString()))},isDisabled:i,children:[e(P,{children:"Retention Policy"}),s(M,{children:[e(Te,{}),e(be,{})]}),e(ne,{children:e(ue,{children:r.map(o=>e(q,{id:o.id,children:o.name},o.id))})})]})}const z3={lineNumbers:!0,highlightActiveLine:!1,foldGutter:!1,highlightActiveLineGutter:!1,bracketMatching:!1,defaultKeymap:!1},F3=[rt.lineWrapping,Hi.of([...ji.filter(n=>n.key!=="Mod-Enter")])],h8=({templateFormat:n,defaultValue:a,readOnly:t,...i})=>{const[l,r]=p.useState(()=>a),{theme:o}=te(),c=o==="light"?Fn:En,d=p.useMemo(()=>{const u=[...F3];switch(n){case Ee.FString:u.push(Os());break;case Ee.Mustache:u.push(Bs());break;case Ee.NONE:break;default:K()}return u},[n]);return p.useEffect(()=>{t&&r(a)},[t,a]),e(Dn,{theme:c,extensions:d,basicSetup:z3,readOnly:t,...i,value:l})},f8=({readOnly:n,children:a})=>e("div",{css:m`
|
|
2766
2767
|
& .cm-editor,
|
|
2767
2768
|
& .cm-gutters {
|
|
2768
2769
|
background-color: ${n?"transparent !important":"auto"};
|
|
@@ -2785,7 +2786,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2785
2786
|
& .cm-cursor {
|
|
2786
2787
|
display: ${n?"none !important":"auto"};
|
|
2787
2788
|
}
|
|
2788
|
-
`,children:a});function E3({blocker:n}){return e(x,{padding:"size-100",borderTopColor:"dark",borderTopWidth:"thin",children:s(S,{justifyContent:"end",gap:"size-100",children:[e(M,{onPress:()=>n.reset&&n.reset(),size:"S",children:"Cancel"}),e(M,{variant:"primary",onPress:()=>n.proceed&&n.proceed(),size:"S",children:"Confirm"})]})})}function
|
|
2789
|
+
`,children:a});function E3({blocker:n}){return e(x,{padding:"size-100",borderTopColor:"dark",borderTopWidth:"thin",children:s(S,{justifyContent:"end",gap:"size-100",children:[e(M,{onPress:()=>n.reset&&n.reset(),size:"S",children:"Cancel"}),e(M,{variant:"primary",onPress:()=>n.proceed&&n.proceed(),size:"S",children:"Confirm"})]})})}function b8({blocker:n,message:a="Are you sure you want to leave the page? Some changes may not be saved."}){return e(fe,{isOpen:n.state==="blocked",children:e(xn,{isDismissable:!1,children:e(Sn,{children:e(oe,{children:s(_e,{children:[s(Ke,{children:[e(Pe,{children:"Confirm Navigation"}),e(Ge,{children:e(We,{close:()=>{var t;return(t=n.reset)==null?void 0:t.call(n)}})})]}),e(x,{padding:"size-200",children:e(v,{children:a})}),e(E3,{blocker:n})]})})})})})}const y8=m`
|
|
2789
2790
|
transition: 250ms linear all;
|
|
2790
2791
|
background-color: var(--ac-global-color-grey-200);
|
|
2791
2792
|
display: flex;
|
|
@@ -2848,9 +2849,9 @@ fragment ViewerContext_viewer on Query {
|
|
|
2848
2849
|
&:hover {
|
|
2849
2850
|
background-color: var(--ac-global-color-primary);
|
|
2850
2851
|
}
|
|
2851
|
-
`;function _3({latencyMs:n,size:a="M",showIcon:t=!0}){const i=p.useMemo(()=>n<3e3?"success":n<8e3?"warning":"danger",[n]),l=p.useMemo(()=>n<10?
|
|
2852
|
+
`;function _3({latencyMs:n,size:a="M",showIcon:t=!0}){const i=p.useMemo(()=>n<3e3?"success":n<8e3?"warning":"danger",[n]),l=p.useMemo(()=>n<10?Ve(n)+"ms":Ve(n/1e3)+"s",[n]);return s(S,{direction:"row",alignItems:"center",justifyContent:"start",gap:"size-50",className:"latency-text",children:[t?e(v,{color:i,size:a,children:e(I,{svg:e(lc,{}),css:m`
|
|
2852
2853
|
font-size: 1.1em;
|
|
2853
|
-
`})}):null,e(v,{color:i,size:a,children:l})]})}function K3(n){const a=65+n;return String.fromCharCode(a)}function
|
|
2854
|
+
`})}):null,e(v,{color:i,size:a,children:l})]})}function K3(n){const a=65+n;return String.fromCharCode(a)}function v8({index:n}){const a=p.useMemo(()=>K3(n),[n]),t=p.useMemo(()=>Or[n%8],[n]),i=p.useMemo(()=>lt(.8,t),[t]);return e("div",{css:m`
|
|
2854
2855
|
color: ${t};
|
|
2855
2856
|
background-color: ${i};
|
|
2856
2857
|
width: 24px;
|
|
@@ -2864,7 +2865,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2864
2865
|
color: var(${o});
|
|
2865
2866
|
width: 20px;
|
|
2866
2867
|
height: 20px;
|
|
2867
|
-
`,title:n,children:r})}const
|
|
2868
|
+
`,title:n,children:r})}const Xl=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],a=[{kind:"Variable",name:"id",variableName:"nodeId"}],t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"TokenUsage",kind:"LinkedField",name:"tokenUsage",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"prompt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"completion",storageKey:null}],storageKey:null}],type:"ProjectSession",abstractKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"SessionTokenCountDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,i],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"SessionTokenCountDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,i,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{cacheID:"5df073c3f0f20378aed5118f6f0d2f4b",id:null,metadata:{},name:"SessionTokenCountDetailsQuery",operationKind:"query",text:`query SessionTokenCountDetailsQuery(
|
|
2868
2869
|
$nodeId: ID!
|
|
2869
2870
|
) {
|
|
2870
2871
|
node(id: $nodeId) {
|
|
@@ -2878,7 +2879,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2878
2879
|
id
|
|
2879
2880
|
}
|
|
2880
2881
|
}
|
|
2881
|
-
`}}}();
|
|
2882
|
+
`}}}();Xl.hash="da1b954f5615c67f552ece1b8b3478b5";const tu=m`
|
|
2882
2883
|
display: flex;
|
|
2883
2884
|
flex-direction: column;
|
|
2884
2885
|
gap: var(--ac-global-dimension-static-size-50);
|
|
@@ -2896,7 +2897,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2896
2897
|
`,ru=m`
|
|
2897
2898
|
margin-top: var(--ac-global-dimension-static-size-100);
|
|
2898
2899
|
margin-bottom: var(--ac-global-dimension-static-size-25);
|
|
2899
|
-
`;function
|
|
2900
|
+
`;function pn({label:n,count:a,isTotal:t=!1,isSubItem:i=!1}){return s("div",{css:iu,children:[e(v,{size:i?"XS":"S",color:i?"text-500":t?"text-900":"text-700",weight:t?"heavy":"normal",children:n}),e("div",{css:lu,children:s(v,{size:i?"XS":"S",color:"text-700",children:[typeof a=="number"?a:"--","t"]})})]})}function mi({children:n}){return e(v,{size:"XS",color:"text-700",weight:"heavy",css:ru,children:n})}function un({total:n,prompt:a,completion:t,promptDetails:i,completionDetails:l}){const r=i&&Object.entries(i).some(([,c])=>c!=null&&c>0),o=l&&Object.entries(l).some(([,c])=>c!=null&&c>0);return s("div",{css:tu,children:[n!=null&&e(pn,{label:"Total",count:n,isTotal:!0}),a!=null&&e(pn,{label:"Prompt",count:a}),t!=null&&e(pn,{label:"Completion",count:t}),r&&s(j,{children:[e(mi,{children:"Prompt Details"}),i&&Object.entries(i).map(([c,d])=>d!=null&&d>0?e(pn,{label:c.charAt(0).toUpperCase()+c.slice(1),count:d,isSubItem:!0},`prompt-${c}`):null)]}),o&&s(j,{children:[e(mi,{children:"Completion Details"}),l&&Object.entries(l).map(([c,d])=>d!=null&&d>0?e(pn,{label:c.charAt(0).toUpperCase()+c.slice(1),count:d,isSubItem:!0},`completion-${c}`):null)]})]})}function ou(n){const a=F.useLazyLoadQuery(Xl,{nodeId:n.sessionNodeId}),t=p.useMemo(()=>{if(a.node.__typename==="ProjectSession"){const i=a.node.tokenUsage.prompt,l=a.node.tokenUsage.completion;return{total:i+l,prompt:i,completion:l}}return{total:null,prompt:null,completion:null}},[a.node]);return e(un,{...t})}const su=m`
|
|
2900
2901
|
display: flex;
|
|
2901
2902
|
flex-direction: row;
|
|
2902
2903
|
gap: var(--ac-global-dimension-static-size-50);
|
|
@@ -2908,9 +2909,9 @@ fragment ViewerContext_viewer on Query {
|
|
|
2908
2909
|
&[data-size="M"] {
|
|
2909
2910
|
font-size: var(--ac-global-font-size-m);
|
|
2910
2911
|
}
|
|
2911
|
-
`;function cu(n,a){const{children:t,size:i="M",...l}=n,r=typeof t=="number"?t:"--";return s("div",{className:"token-count-item","data-size":i,css:su,ref:a,...l,children:[e(I,{svg:e(
|
|
2912
|
+
`;function cu(n,a){const{children:t,size:i="M",...l}=n,r=typeof t=="number"?t:"--";return s("div",{className:"token-count-item","data-size":i,css:su,ref:a,...l,children:[e(I,{svg:e(Ic,{}),css:m`
|
|
2912
2913
|
color: var(--ac-global-text-color-900);
|
|
2913
|
-
`}),e(v,{size:n.size,children:r})]})}const Qe=p.forwardRef(cu);function
|
|
2914
|
+
`}),e(v,{size:n.size,children:r})]})}const Qe=p.forwardRef(cu);function C8(n){return s(de,{children:[e(ce,{children:e(Qe,{size:n.size,role:"button",children:n.tokenCountTotal})}),s(ye,{children:[e(Le,{}),e(p.Suspense,{fallback:e(ge,{}),children:e(ou,{sessionNodeId:n.nodeId})})]})]})}const Yl=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],a=[{kind:"Variable",name:"id",variableName:"nodeId"}],t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"cumulativeTokenCountPrompt",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"cumulativeTokenCountCompletion",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"TraceTokenCountDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Span",kind:"LinkedField",name:"rootSpan",plural:!1,selections:[i,l],storageKey:null}],type:"Trace",abstractKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"TraceTokenCountDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Span",kind:"LinkedField",name:"rootSpan",plural:!1,selections:[i,l,r],storageKey:null}],type:"Trace",abstractKey:null},r],storageKey:null}]},params:{cacheID:"e9131ab8a67b6b79dc9995bb3ce0cb55",id:null,metadata:{},name:"TraceTokenCountDetailsQuery",operationKind:"query",text:`query TraceTokenCountDetailsQuery(
|
|
2914
2915
|
$nodeId: ID!
|
|
2915
2916
|
) {
|
|
2916
2917
|
node(id: $nodeId) {
|
|
@@ -2925,7 +2926,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2925
2926
|
id
|
|
2926
2927
|
}
|
|
2927
2928
|
}
|
|
2928
|
-
`}}}();
|
|
2929
|
+
`}}}();Yl.hash="c0178c78b8c3bb146caa2579d6bc75c4";function du(n){const a=F.useLazyLoadQuery(Yl,{nodeId:n.traceNodeId}),t=p.useMemo(()=>{var i,l;if(a.node.__typename==="Trace"){const r=((i=a.node.rootSpan)==null?void 0:i.cumulativeTokenCountPrompt)??0,o=((l=a.node.rootSpan)==null?void 0:l.cumulativeTokenCountCompletion)??0;return{total:r+o,prompt:r,completion:o}}return{total:null,prompt:null,completion:null}},[a.node]);return e(un,{...t})}function L8(n){return s(de,{children:[e(ce,{children:e(Qe,{size:n.size,role:"button",children:n.tokenCountTotal})}),s(ye,{children:[e(Le,{}),e(p.Suspense,{fallback:e(ge,{}),children:e(du,{traceNodeId:n.nodeId})})]})]})}const Jl=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],a=[{kind:"Variable",name:"id",variableName:"nodeId"}],t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"tokenCountTotal",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"tokenCountPrompt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"tokenCountCompletion",storageKey:null},{alias:null,args:null,concreteType:"TokenCountPromptDetails",kind:"LinkedField",name:"tokenPromptDetails",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"audio",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cacheRead",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cacheWrite",storageKey:null}],storageKey:null}],type:"Span",abstractKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"SpanTokenCountDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,i],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"SpanTokenCountDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,i,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{cacheID:"fc6d8104f9bf9481330b8b879b7c8e8e",id:null,metadata:{},name:"SpanTokenCountDetailsQuery",operationKind:"query",text:`query SpanTokenCountDetailsQuery(
|
|
2929
2930
|
$nodeId: ID!
|
|
2930
2931
|
) {
|
|
2931
2932
|
node(id: $nodeId) {
|
|
@@ -2943,7 +2944,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2943
2944
|
id
|
|
2944
2945
|
}
|
|
2945
2946
|
}
|
|
2946
|
-
`}}}();
|
|
2947
|
+
`}}}();Jl.hash="2f53943dbe7d189d4126be701a017818";function uu(n){const a=F.useLazyLoadQuery(Jl,{nodeId:n.spanNodeId}),t=p.useMemo(()=>{var i,l,r;if(a.node.__typename==="Span"){const o=a.node.tokenCountPrompt??0,c=a.node.tokenCountCompletion??0,d=a.node.tokenCountTotal??0,u={};return(i=a.node.tokenPromptDetails)!=null&&i.audio&&(u.audio=a.node.tokenPromptDetails.audio),(l=a.node.tokenPromptDetails)!=null&&l.cacheRead&&(u["cache read"]=a.node.tokenPromptDetails.cacheRead),(r=a.node.tokenPromptDetails)!=null&&r.cacheWrite&&(u["cache write"]=a.node.tokenPromptDetails.cacheWrite),{total:d,prompt:o,completion:c,promptDetails:Object.keys(u).length>0?u:void 0}}return{total:0,prompt:0,completion:0}},[a.node]);return e(un,{...t})}function gu(n){return s(de,{children:[e(ce,{children:e(Qe,{size:n.size,role:"button",children:n.tokenCountTotal})}),s(ye,{children:[e(Le,{}),e(p.Suspense,{fallback:e(ge,{}),children:e(uu,{spanNodeId:n.nodeId})})]})]})}const e1=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],a=[{kind:"Variable",name:"id",variableName:"nodeId"}],t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"cumulativeTokenCountTotal",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cumulativeTokenCountPrompt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cumulativeTokenCountCompletion",storageKey:null}],type:"Span",abstractKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"SpanCumulativeTokenCountDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,i],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"SpanCumulativeTokenCountDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,i,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{cacheID:"c1da825bac7aac7aafa07638290f6f1d",id:null,metadata:{},name:"SpanCumulativeTokenCountDetailsQuery",operationKind:"query",text:`query SpanCumulativeTokenCountDetailsQuery(
|
|
2947
2948
|
$nodeId: ID!
|
|
2948
2949
|
) {
|
|
2949
2950
|
node(id: $nodeId) {
|
|
@@ -2956,7 +2957,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2956
2957
|
id
|
|
2957
2958
|
}
|
|
2958
2959
|
}
|
|
2959
|
-
`}}}();
|
|
2960
|
+
`}}}();e1.hash="f7a968d87890a07d6e1dd6f06bad6b51";function mu(n){const a=F.useLazyLoadQuery(e1,{nodeId:n.spanNodeId}),t=p.useMemo(()=>{if(a.node.__typename==="Span"){const i=a.node.cumulativeTokenCountPrompt??0,l=a.node.cumulativeTokenCountCompletion??0;return{total:a.node.cumulativeTokenCountTotal??0,prompt:i,completion:l}}return{total:null,prompt:null,completion:null}},[a.node]);return e(un,{...t})}function k8(n){return s(de,{children:[e(ce,{children:e(Qe,{size:n.size,role:"button",children:n.tokenCountTotal})}),s(ye,{children:[e(Le,{}),e(p.Suspense,{fallback:e(ge,{}),children:e(mu,{spanNodeId:n.nodeId})})]})]})}const pu=m`
|
|
2960
2961
|
display: flex;
|
|
2961
2962
|
flex-direction: row;
|
|
2962
2963
|
gap: var(--ac-global-dimension-static-size-50);
|
|
@@ -2996,7 +2997,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
2996
2997
|
font-size: var(--ac-global-font-size-xs);
|
|
2997
2998
|
color: var(--ac-global-text-color-700);
|
|
2998
2999
|
margin-top: var(--ac-global-dimension-static-size-100);
|
|
2999
|
-
`;function
|
|
3000
|
+
`;function hn({label:n,cost:a,isTotal:t,isSubItem:i}){return s("div",{css:bu,"data-is-total":t,"data-is-sub-item":i,children:[e(v,{size:i?"XS":"S",weight:t?"heavy":"normal",color:i?"text-500":t?"text-900":"text-700",children:n}),e(v,{size:i?"XS":"S",color:i?"text-500":"text-700",children:Vl(a)})]})}function pi({children:n}){return e("div",{css:yu,children:e(v,{size:"XS",weight:"heavy",color:"text-700",children:n})})}function ya({total:n,prompt:a,completion:t,promptDetails:i,completionDetails:l}){const r=i&&Object.entries(i).some(([,c])=>c!=null&&c>0),o=l&&Object.entries(l).some(([,c])=>c!=null&&c>0);return s("div",{css:fu,children:[n!=null&&e(hn,{label:"Total",cost:n,isTotal:!0}),a!=null&&e(hn,{label:"Prompt",cost:a}),t!=null&&e(hn,{label:"Completion",cost:t}),r&&s(j,{children:[e(pi,{children:"Prompt Details"}),i&&Object.entries(i).map(([c,d])=>d!=null&&d>0?e(hn,{label:c.charAt(0).toUpperCase()+c.slice(1),cost:d,isSubItem:!0},`prompt-${c}`):null)]}),o&&s(j,{children:[e(pi,{children:"Completion Details"}),l&&Object.entries(l).map(([c,d])=>d!=null&&d>0?e(hn,{label:c.charAt(0).toUpperCase()+c.slice(1),cost:d,isSubItem:!0},`completion-${c}`):null)]})]})}const n1=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],a=[{kind:"Variable",name:"id",variableName:"nodeId"}],t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"cost",storageKey:null},l=[i],r={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SpanCostSummary",kind:"LinkedField",name:"costSummary",plural:!1,selections:[{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"total",plural:!1,selections:l,storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"prompt",plural:!1,selections:l,storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"completion",plural:!1,selections:l,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"SpanCostDetailSummaryEntry",kind:"LinkedField",name:"costDetailSummaryEntries",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"tokenType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isPrompt",storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"value",plural:!1,selections:[i,{alias:null,args:null,kind:"ScalarField",name:"tokens",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"costPerToken",storageKey:null}],storageKey:null}],storageKey:null}],type:"Span",abstractKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"SpanTokenCostsDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,r],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"SpanTokenCostsDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,r,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{cacheID:"3606008da79f928102b0c41aa786f983",id:null,metadata:{},name:"SpanTokenCostsDetailsQuery",operationKind:"query",text:`query SpanTokenCostsDetailsQuery(
|
|
3000
3001
|
$nodeId: ID!
|
|
3001
3002
|
) {
|
|
3002
3003
|
node(id: $nodeId) {
|
|
@@ -3026,7 +3027,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
3026
3027
|
id
|
|
3027
3028
|
}
|
|
3028
3029
|
}
|
|
3029
|
-
`}}}();
|
|
3030
|
+
`}}}();n1.hash="81b75a15348659ad11157406f324ac85";function vu(n){const a=F.useLazyLoadQuery(n1,{nodeId:n.spanNodeId}),t=p.useMemo(()=>{var i,l,r,o,c,d;if(a.node.__typename==="Span"){const u=a.node.costDetailSummaryEntries;if(!u)return{total:null,prompt:null,completion:null,promptDetails:null,completionDetails:null};const g=u.filter(w=>w.isPrompt),h=u.filter(w=>!w.isPrompt),f=((l=(i=a.node.costSummary)==null?void 0:i.total)==null?void 0:l.cost)??0,b=((o=(r=a.node.costSummary)==null?void 0:r.prompt)==null?void 0:o.cost)??0,y=((d=(c=a.node.costSummary)==null?void 0:c.completion)==null?void 0:d.cost)??0,k={};g.forEach(w=>{w.value.cost!=null&&(k[w.tokenType]=w.value.cost)});const L={};return h.forEach(w=>{w.value.cost!=null&&(L[w.tokenType]=w.value.cost)}),{total:f,prompt:b,completion:y,promptDetails:Object.keys(k).length>0?k:null,completionDetails:Object.keys(L).length>0?L:null}}return{total:null,prompt:null,completion:null,promptDetails:null,completionDetails:null}},[a.node]);return e(ya,{...t})}function w8(n){return s(de,{children:[e(ce,{children:e(ba,{size:n.size,role:"button",children:n.totalCost})}),s(ye,{children:[e(Le,{}),e(p.Suspense,{fallback:e(ge,{}),children:e(vu,{spanNodeId:n.spanNodeId})})]})]})}const a1=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],a=[{kind:"Variable",name:"id",variableName:"nodeId"}],t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SpanCostDetailSummaryEntry",kind:"LinkedField",name:"costDetailSummaryEntries",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"tokenType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isPrompt",storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"value",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"cost",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"tokens",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"costPerToken",storageKey:null}],storageKey:null}],storageKey:null}],type:"ProjectSession",abstractKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"SessionTokenCostsDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,i],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"SessionTokenCostsDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,i,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{cacheID:"17461d3f024b145cb749667629153482",id:null,metadata:{},name:"SessionTokenCostsDetailsQuery",operationKind:"query",text:`query SessionTokenCostsDetailsQuery(
|
|
3030
3031
|
$nodeId: ID!
|
|
3031
3032
|
) {
|
|
3032
3033
|
node(id: $nodeId) {
|
|
@@ -3045,7 +3046,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
3045
3046
|
id
|
|
3046
3047
|
}
|
|
3047
3048
|
}
|
|
3048
|
-
`}}}();
|
|
3049
|
+
`}}}();a1.hash="40ef5f19f7cb10d3f7ccf197adae074e";function Cu(n){const a=F.useLazyLoadQuery(a1,{nodeId:n.sessionNodeId}),t=p.useMemo(()=>{if(a.node.__typename==="ProjectSession"){const i=a.node.costDetailSummaryEntries;if(!i)return{total:null,prompt:null,completion:null,promptDetails:null,completionDetails:null};const l=i.filter(g=>g.isPrompt),r=i.filter(g=>!g.isPrompt),o=l.reduce((g,h)=>g+(h.value.cost||0),0),c=r.reduce((g,h)=>g+(h.value.cost||0),0),d={};l.forEach(g=>{g.value.cost!=null&&(d[g.tokenType]=g.value.cost)});const u={};return r.forEach(g=>{g.value.cost!=null&&(u[g.tokenType]=g.value.cost)}),{total:o+c,prompt:o>0?o:null,completion:c>0?c:null,promptDetails:Object.keys(d).length>0?d:null,completionDetails:Object.keys(u).length>0?u:null}}return{total:null,prompt:null,completion:null,promptDetails:null,completionDetails:null}},[a.node]);return e(ya,{...t})}function S8(n){return s(de,{children:[e(ce,{children:e(ba,{size:n.size,role:"button",children:n.totalCost})}),s(ye,{children:[e(Le,{}),e(p.Suspense,{fallback:e(ge,{}),children:e(Cu,{sessionNodeId:n.nodeId})})]})]})}function Lu(n){switch(n){case"OK":return"success";case"ERROR":return"danger";case"UNSET":return"grey-500";default:K()}}function ku({statusCode:n,...a}){let t=e(ni,{});const i=Lu(n);switch(n){case"OK":t=e(xl,{});break;case"ERROR":t=e(St,{});break;case"UNSET":t=e(ni,{});break;default:K()}return e(I,{svg:t,color:i,"aria-label":n,...a})}const t1=p.createContext(null);function i1(){const n=p.useContext(t1);if(n===null)throw new Error("useTraceTree must be used within a TraceTreeProvider");return n}function wu(n){const[a,t]=p.useState(!1),i=p.useCallback(l=>{p.startTransition(()=>{t(l)})},[]);return e(t1.Provider,{value:{isCollapsed:a,setIsCollapsed:i},children:n.children})}function Su(n){const a=n.reduce((i,l)=>(i.set(l.spanId,{span:l,children:[]}),i),new Map),t=[];for(const i of n){const l=a.get(i.spanId);if(i.parentId===null||!a.has(i.parentId))t.push(l);else{const r=a.get(i.parentId);r&&r.children.push(l)}}for(const i of a.values())i.children.sort((l,r)=>new Date(l.span.startTime).valueOf()-new Date(r.span.startTime).valueOf());return t.sort((i,l)=>new Date(i.span.startTime).valueOf()-new Date(l.span.startTime).valueOf()),t}const Et=30,l1="200px";function x8(n){const{spans:a,onSpanClick:t,selectedSpanNodeId:i}=n,l=Su(a);return e(wu,{children:s("div",{css:m`
|
|
3049
3050
|
display: flex;
|
|
3050
3051
|
flex-direction: column;
|
|
3051
3052
|
overflow: hidden;
|
|
@@ -3058,8 +3059,8 @@ fragment ViewerContext_viewer on Query {
|
|
|
3058
3059
|
flex-direction: column;
|
|
3059
3060
|
width: 100%;
|
|
3060
3061
|
overflow: auto;
|
|
3061
|
-
--trace-tree-nesting-indent: ${
|
|
3062
|
-
@container (width < ${
|
|
3062
|
+
--trace-tree-nesting-indent: ${Et}px;
|
|
3063
|
+
@container (width < ${l1}) {
|
|
3063
3064
|
--trace-tree-nesting-indent: 0;
|
|
3064
3065
|
// Hide the collapse button
|
|
3065
3066
|
.span-controls,
|
|
@@ -3075,7 +3076,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
3075
3076
|
padding-left: var(--ac-global-dimension-static-size-200);
|
|
3076
3077
|
}
|
|
3077
3078
|
}
|
|
3078
|
-
`,"data-testid":"trace-tree",children:l.map(r=>e(
|
|
3079
|
+
`,"data-testid":"trace-tree",children:l.map(r=>e(r1,{node:r,onSpanClick:t,selectedSpanNodeId:i},r.span.id))})]})})}function xu(){const n=Ue(l=>l.showMetricsInTraceTree),a=Ue(l=>l.setShowMetricsInTraceTree),{isCollapsed:t,setIsCollapsed:i}=i1();return e("div",{className:"trace-tree-toolbar",css:m`
|
|
3079
3080
|
display: flex;
|
|
3080
3081
|
flex-direction: row;
|
|
3081
3082
|
justify-content: space-between;
|
|
@@ -3085,19 +3086,19 @@ fragment ViewerContext_viewer on Query {
|
|
|
3085
3086
|
padding: var(--ac-global-dimension-size-100);
|
|
3086
3087
|
border-bottom: 1px solid var(--ac-global-color-grey-300);
|
|
3087
3088
|
height: var(--ac-global-dimension-size-600);
|
|
3088
|
-
@container (width < ${
|
|
3089
|
+
@container (width < ${l1}) {
|
|
3089
3090
|
button {
|
|
3090
3091
|
display: none;
|
|
3091
3092
|
}
|
|
3092
3093
|
}
|
|
3093
|
-
`,children:s(S,{direction:"row",justifyContent:"space-between",alignItems:"center",flex:"none",gap:"size-100",width:"100%",children:[e(Y,{level:3,children:"Trace"}),s(S,{direction:"row",gap:"size-100",className:"trace-tree-controls",children:[s(
|
|
3094
|
+
`,children:s(S,{direction:"row",justifyContent:"space-between",alignItems:"center",flex:"none",gap:"size-100",width:"100%",children:[e(Y,{level:3,children:"Trace"}),s(S,{direction:"row",gap:"size-100",className:"trace-tree-controls",children:[s(ve,{offset:5,children:[e(Ze,{children:e(M,{variant:"default",size:"S","aria-label":t?"Expand all":"Collapse all",onPress:()=>{i(!t)},leadingVisual:e(I,{svg:t?e(Lc,{}):e(kc,{})})})}),e(De,{children:t?"Expand all nested spans":"Collapse all nested spans"})]}),s(ve,{offset:5,children:[e(Ze,{children:e(M,{size:"S","aria-label":n?"Hide metrics in trace tree":"Show metrics in trace tree",onPress:()=>{a(!n)},leadingVisual:e(I,{svg:n?e(Tc,{}):e(Ac,{})})})}),e(De,{children:n?"Hide metrics in trace tree":"Show metrics in trace tree"})]})]})]})})}const Tu=m`
|
|
3094
3095
|
font-weight: 500;
|
|
3095
3096
|
color: var(--ac-global-text-color-900);
|
|
3096
3097
|
display: inline-block;
|
|
3097
3098
|
white-space: nowrap;
|
|
3098
3099
|
overflow: hidden;
|
|
3099
3100
|
text-overflow: ellipsis;
|
|
3100
|
-
`;function
|
|
3101
|
+
`;function r1(n){const{node:a,selectedSpanNodeId:t,onSpanClick:i,nestingLevel:l=0}=n,r=a.children,[o,c]=p.useState(!1),{isCollapsed:d}=i1(),u=r.length>0,g=Ue(w=>w.showMetricsInTraceTree),h=t===a.span.id,f=p.useRef(null);p.useEffect(()=>{h&&f.current&&f.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[h]),p.useEffect(()=>{c(d)},[d]);const{name:b,latencyMs:y,statusCode:k,tokenCountTotal:L}=a.span;return s("div",{ref:f,children:[e("button",{className:"button--reset",css:m`
|
|
3101
3102
|
width: 100%;
|
|
3102
3103
|
overflow: hidden;
|
|
3103
3104
|
cursor: pointer;
|
|
@@ -3108,7 +3109,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
3108
3109
|
flex-direction: column;
|
|
3109
3110
|
`,children:r.map((w,E)=>{const V=r[E+1];return s("li",{css:m`
|
|
3110
3111
|
position: relative;
|
|
3111
|
-
`,children:[V?e(Iu,{...V.span,nestingLevel:l}):null,e(Mu,{...w.span,nestingLevel:l}),e(
|
|
3112
|
+
`,children:[V?e(Iu,{...V.span,nestingLevel:l}):null,e(Mu,{...w.span,nestingLevel:l}),e(r1,{node:w,onSpanClick:i,selectedSpanNodeId:t,nestingLevel:l+1})]},w.span.spanId)})}):null]})}function Au(n){return e("div",{className:R("span-node-wrap",{"is-selected":n.isSelected}),css:m`
|
|
3112
3113
|
width: 100%;
|
|
3113
3114
|
display: flex;
|
|
3114
3115
|
flex-direction: row;
|
|
@@ -3137,7 +3138,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
3137
3138
|
${t?"var(--ac-global-color-danger)":"var(--ac-global-color-grey-700)"};
|
|
3138
3139
|
z-index: ${t?1:0};
|
|
3139
3140
|
top: 0;
|
|
3140
|
-
left: ${a*
|
|
3141
|
+
left: ${a*Et+29}px;
|
|
3141
3142
|
width: 42px;
|
|
3142
3143
|
bottom: 0;
|
|
3143
3144
|
z-index: 1;
|
|
@@ -3148,7 +3149,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
3148
3149
|
z-index: ${t?1:0};
|
|
3149
3150
|
border-radius: 0 0 0 11px;
|
|
3150
3151
|
top: -5px;
|
|
3151
|
-
left: ${n*
|
|
3152
|
+
left: ${n*Et+29}px;
|
|
3152
3153
|
width: 15px;
|
|
3153
3154
|
height: 24px;
|
|
3154
3155
|
`})}const zu=m`
|
|
@@ -3175,14 +3176,25 @@ fragment ViewerContext_viewer on Query {
|
|
|
3175
3176
|
&.is-collapsed {
|
|
3176
3177
|
transform: rotate(-90deg);
|
|
3177
3178
|
}
|
|
3178
|
-
`;function Eu({isCollapsed:n,onClick:a}){return e("button",{onClick:t=>{t.stopPropagation(),t.preventDefault(),a()},className:R("button--reset collapse-toggle-button",{"is-collapsed":n}),css:Fu,children:e(I,{svg:e(wl,{})})})}
|
|
3179
|
+
`;function Eu({isCollapsed:n,onClick:a}){return e("button",{onClick:t=>{t.stopPropagation(),t.preventDefault(),a()},className:R("button--reset collapse-toggle-button",{"is-collapsed":n}),css:Fu,children:e(I,{svg:e(wl,{})})})}const Du=m`
|
|
3180
|
+
width: 100%;
|
|
3181
|
+
display: flex;
|
|
3182
|
+
flex-direction: row;
|
|
3183
|
+
overflow: hidden;
|
|
3184
|
+
border-radius: 8px;
|
|
3185
|
+
gap: 2px;
|
|
3186
|
+
`,_u=m`
|
|
3187
|
+
height: 100%;
|
|
3188
|
+
flex-shrink: 0;
|
|
3189
|
+
flex-grow: 0;
|
|
3190
|
+
`,Ku=({height:n=6,segments:a,totalValue:t})=>{const i=Zl(),l=t??a.reduce((r,o)=>r+o.value,0);return e("div",{style:{height:`${n}px`},css:Du,children:a.map((r,o)=>{const c=l>0?r.value/l*100:0,d=r.color||Ul(o,i);return e("div",{css:_u,style:{width:`${c}%`,backgroundColor:d}},r.name)})})};function T8({valueLabel:n,totalValue:a,formatter:t,segments:i}){const l=Zl(),r=i.map((o,c)=>({...o,color:o.color||Ul(c,l)}));return s(S,{direction:"column",gap:"size-150",children:[s(S,{direction:"row",gap:"size-200",justifyContent:"space-between",children:[s(v,{weight:"heavy",children:["Total ",n]}),e(S,{direction:"row",gap:"size-400",children:e(v,{weight:"heavy",children:t(a)})})]}),e(Ku,{height:6,totalValue:a,segments:r}),e(S,{direction:"column",gap:"size-100",children:r.map(o=>s(S,{direction:"row",gap:"size-200",justifyContent:"space-between",children:[s(S,{direction:"row",gap:"size-100",alignItems:"center",children:[e("div",{style:{backgroundColor:o.color,width:8,height:8,borderRadius:"100%"}}),e(v,{weight:"heavy",children:o.name})]}),e(S,{direction:"row",gap:"size-400",children:e(v,{weight:"heavy",children:t(o.value)})})]},o.name))})]})}function Pu(n){return p.useMemo(()=>{try{const a=JSON.parse(n);return{text:JSON.stringify(a,null,2),textType:"json"}}catch{return{text:n,textType:"string"}}},[n])}function Vu({children:n,preCSS:a}){const{text:t,textType:i}=Pu(n);if(i==="string")return e("pre",{css:m`
|
|
3179
3191
|
white-space: pre-wrap;
|
|
3180
3192
|
text-wrap: wrap;
|
|
3181
3193
|
overflow-wrap: anywhere;
|
|
3182
3194
|
font-size: var(--ac-global-font-size-s);
|
|
3183
3195
|
margin: 0;
|
|
3184
3196
|
${a}
|
|
3185
|
-
`,children:t});if(i==="json")return e(Nl,{value:t});K()}const
|
|
3197
|
+
`,children:t});if(i==="json")return e(Nl,{value:t});K()}const o1=p.createContext(null);function s1(){let n=p.useContext(o1);return n===null&&(console.warn("useMarkdownMode must be used within a MarkdownDisplayProvider"),n={mode:"text",setMode:()=>{}}),n}function A8(n){const a=Ue(l=>l.markdownDisplayMode),t=Ue(l=>l.setMarkdownDisplayMode),i=p.useCallback(l=>{p.startTransition(()=>{t(l)})},[t]);return e(o1.Provider,{value:{mode:a,setMode:i},children:n.children})}const Ou=m`
|
|
3186
3198
|
a {
|
|
3187
3199
|
color: var(--ac-global-link-color);
|
|
3188
3200
|
&:visited {
|
|
@@ -3199,29 +3211,29 @@ fragment ViewerContext_viewer on Query {
|
|
|
3199
3211
|
code {
|
|
3200
3212
|
text-wrap: wrap;
|
|
3201
3213
|
}
|
|
3202
|
-
`;function
|
|
3214
|
+
`;function Ru({children:n,mode:a}){return a==="markdown"?e("div",{css:Ou,children:e(Rr,{remarkPlugins:[Nr],css:m`
|
|
3203
3215
|
margin: var(--ac-global-dimension-static-size-200);
|
|
3204
|
-
`,children:n})}):e(
|
|
3216
|
+
`,children:n})}):e(Vu,{preCSS:m`
|
|
3205
3217
|
margin: var(--ac-global-dimension-static-size-200);
|
|
3206
|
-
`,children:n})}function
|
|
3218
|
+
`,children:n})}function I8({children:n}){const{mode:a}=s1();return e(Ru,{mode:a,children:n})}const Nu=["text","markdown"];function $u(n){return typeof n=="string"&&Nu.includes(n)}function Bu({mode:n,onModeChange:a}){return s(Ae,{"aria-label":"Markdown Mode",selectedKey:n,css:m`
|
|
3207
3219
|
button {
|
|
3208
3220
|
width: 140px;
|
|
3209
3221
|
min-width: 140px;
|
|
3210
3222
|
}
|
|
3211
|
-
`,size:"S",onSelectionChange:t=>{if(
|
|
3223
|
+
`,size:"S",onSelectionChange:t=>{if($u(t))a(t);else throw new Error(`Unknown markdown mode: ${t}`)},children:[s(M,{children:[e(Te,{}),e(be,{})]}),e(ne,{children:s(ue,{children:[e(q,{id:"text",children:"Text"},"text"),e(q,{id:"markdown",children:"Markdown"},"markdown")]})})]})}function M8(){const{mode:n,setMode:a}=s1();return e(Bu,{mode:n,onModeChange:a})}function z8(n){const{spanKind:a,size:t="M"}=n,i=p.useMemo(()=>{let l="var(--ac-global-color-grey-300)";switch(a){case"llm":l="var(--ac-global-color-orange-500)";break;case"chain":l="var(--ac-global-color-blue-500)";break;case"retriever":l="var(--ac-global-color-seafoam-500)";break;case"reranker":l="var(--ac-global-color-celery-500)";break;case"embedding":l="var(--ac-global-color-indigo-500)";break;case"agent":l="var(--ac-global-color-grey-500)";break;case"tool":l="var(--ac-global-color-yellow-500)";break;case"evaluator":l="var(--ac-global-color-indigo-500)";break;case"guardrail":l="var(--ac-global-color-fuchsia-500)";break}return l},[a]);return e(je,{color:i,size:t,children:a})}const c1=function(){var n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"AnnotationSummaryGroup",selections:[{alias:null,args:null,concreteType:"Project",kind:"LinkedField",name:"project",plural:!1,selections:[n,{alias:null,args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:null,args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"annotationType",storageKey:null}],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"},{kind:"InlineFragment",selections:[n,a,{alias:null,args:null,kind:"ScalarField",name:"optimizationDirection",storageKey:null},{alias:null,args:null,concreteType:"CategoricalAnnotationValue",kind:"LinkedField",name:"values",plural:!0,selections:[t,i],storageKey:null}],type:"CategoricalAnnotationConfig",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[n,a,t,i,{alias:null,args:null,kind:"ScalarField",name:"annotatorKind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profilePictureUrl",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"AnnotationSummary",kind:"LinkedField",name:"spanAnnotationSummaries",plural:!0,selections:[{alias:null,args:null,concreteType:"LabelFraction",kind:"LinkedField",name:"labelFractions",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"fraction",storageKey:null},t],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"meanScore",storageKey:null},a],storageKey:null}],type:"Span",abstractKey:null}}();c1.hash="1bfa3a69e85bd44da68677f8f467150a";const Hu=({value:n,fallback:a="--",...t})=>n==null||typeof n!="number"||isNaN(n)?e(v,{...t,children:a}):s(v,{...t,children:[e("span",{"aria-label":"mean score",children:"μ "}),`${Ve(n)}`]}),ju=m`
|
|
3212
3224
|
& thead tr th {
|
|
3213
3225
|
background-color: transparent;
|
|
3214
3226
|
}
|
|
3215
|
-
`;function
|
|
3227
|
+
`;function Zu({annotations:n,children:a,width:t,meanScore:i,showFilterActions:l}){const r=p.useMemo(()=>n.filter(c=>c.label!=null||c.score!=null),[n]),o=r[0];return o?s(fe,{children:[e(ce,{children:e("span",{role:"button",children:a})}),e(Hl,{children:s(ne,{shouldCloseOnInteractOutside:()=>!0,isKeyboardDismissDisabled:!1,style:{minWidth:t},children:[e(qn,{}),e(oe,{css:m`
|
|
3216
3228
|
border-radius: var(--ac-global-radius-200);
|
|
3217
|
-
`,children:e(aa,{autoFocus:!0,contain:!0,restoreFocus:!0,children:e(x,{children:s(S,{direction:"column",children:[e(x,{borderBottomWidth:"thin",borderColor:"dark",paddingX:"size-200",paddingY:"size-100",children:s(S,{width:"100%",justifyContent:"space-between",children:[s(S,{direction:"row",gap:"size-100",alignItems:"center",children:[e(_l,{size:"M",annotationName:o.name}),e(v,{weight:"heavy",title:o.name,size:"M",children:e(ea,{maxWidth:"300px",children:o.name})})]}),s(
|
|
3229
|
+
`,children:e(aa,{autoFocus:!0,contain:!0,restoreFocus:!0,children:e(x,{children:s(S,{direction:"column",children:[e(x,{borderBottomWidth:"thin",borderColor:"dark",paddingX:"size-200",paddingY:"size-100",children:s(S,{width:"100%",justifyContent:"space-between",children:[s(S,{direction:"row",gap:"size-100",alignItems:"center",children:[e(_l,{size:"M",annotationName:o.name}),e(v,{weight:"heavy",title:o.name,size:"M",children:e(ea,{maxWidth:"300px",children:o.name})})]}),s(ve,{delay:0,placement:"top",children:[e(Ze,{children:e(Hu,{size:"L",value:i,fallback:null})}),s(De,{children:[e(qn,{}),e(v,{children:"Mean Score"})]})]})]})}),e(x,{overflow:"auto",maxHeight:"300px",position:"relative",children:s("table",{css:m(zt,ju),children:[e("thead",{children:s("tr",{children:[e("th",{children:"author"}),e("th",{children:"label"}),e("th",{children:"score"}),l?e("th",{children:"filters"}):null]})}),e("tbody",{children:r.map(c=>{var d,u,g;return s("tr",{css:m`
|
|
3218
3230
|
padding-left: var(ac-global-dimensions-size-200);
|
|
3219
|
-
`,children:[e("td",{children:s(S,{wrap:"nowrap",gap:"size-100",alignItems:"center",children:[e(Wl,{name:(d=c==null?void 0:c.user)==null?void 0:d.username,profilePictureUrl:(u=c==null?void 0:c.user)==null?void 0:u.profilePictureUrl,size:16}),e(v,{children:((g=c==null?void 0:c.user)==null?void 0:g.username)??"system"})]})}),e("td",{children:c.label?e(v,{title:c.label,children:e(ea,{maxWidth:l?"150px":"200px",children:c.label})}):"--"}),e("td",{children:c.score!=null?
|
|
3231
|
+
`,children:[e("td",{children:s(S,{wrap:"nowrap",gap:"size-100",alignItems:"center",children:[e(Wl,{name:(d=c==null?void 0:c.user)==null?void 0:d.username,profilePictureUrl:(u=c==null?void 0:c.user)==null?void 0:u.profilePictureUrl,size:16}),e(v,{children:((g=c==null?void 0:c.user)==null?void 0:g.username)??"system"})]})}),e("td",{children:c.label?e(v,{title:c.label,children:e(ea,{maxWidth:l?"150px":"200px",children:c.label})}):"--"}),e("td",{children:c.score!=null?Ve(c.score):"--"}),l?e("td",{children:e(S,{justifyContent:"end",flexGrow:1,children:e(fo,{annotation:c})})}):null]},c.id)})})]})})]})})})})]})})]}):null}const d1=n=>{const a=F.useFragment(c1,n),{spanAnnotations:t,spanAnnotationSummaries:i}=a,l=p.useMemo(()=>i.filter(c=>c.name!=="note").sort((c,d)=>c.name.localeCompare(d.name)),[i]),r=p.useMemo(()=>t.reduce((c,d)=>(d.label==null&&d.score==null||(c[d.name]?c[d.name]=[d,...c[d.name]].sort((u,g)=>new Date(g.createdAt).getTime()-new Date(u.createdAt).getTime()):c[d.name]=[d]),c),{}),[t]),o=p.useMemo(()=>a.project.annotationConfigs.edges.reduce((c,d)=>{const u=d.node.name;return u&&d.node.annotationType==="CATEGORICAL"&&(c[u]=d.node),c},{}),[a.project.annotationConfigs]);return{sortedSummariesByName:l,annotationsByName:r,categoricalAnnotationConfigsByName:o}},Uu=m`
|
|
3220
3232
|
min-height: 20px;
|
|
3221
3233
|
align-items: center;
|
|
3222
3234
|
justify-content: center;
|
|
3223
3235
|
display: flex;
|
|
3224
|
-
`,
|
|
3236
|
+
`,F8=({span:n,showFilterActions:a=!1,renderEmptyState:t})=>{const{sortedSummariesByName:i,annotationsByName:l,categoricalAnnotationConfigsByName:r}=d1(n);return i.length===0&&t?t():e(S,{direction:"row",gap:"size-50",wrap:"wrap",children:i.map(o=>{var u;const c=(u=l[o.name])==null?void 0:u[0],d=o==null?void 0:o.meanScore;return c?e(Zu,{annotations:l[o.name],width:"500px",meanScore:d,showFilterActions:a,children:e(Ol,{annotation:c,annotationDisplayPreference:"none",css:Uu,clickable:!0,showClickableIcon:!1,children:d!=null?e(vo,{name:c.name,meanScore:d,size:"S",disableAnimation:!0,annotationConfig:r[c.name]}):null})},c.id):null})})},E8=({span:n,renderEmptyState:a})=>{const{sortedSummariesByName:t,annotationsByName:i,categoricalAnnotationConfigsByName:l}=d1(n);return t.length===0&&a?a():e(S,{direction:"row",gap:"size-400",children:t.map(r=>{var c;const o=(c=i[r.name])==null?void 0:c[0];return o?e(bo,{name:o.name,children:e(yo,{name:o.name,meanScore:r.meanScore,labelFractions:r.labelFractions,annotationConfig:l[o.name]})},o.id):null})})},Gu=({hotkey:n,accept:a})=>{const t=$r();return Br(n,()=>{t==null||t.focusFirst({accept:a})},{preventDefault:!0}),null},Wu=p.forwardRef(({children:n,title:a,panelProps:t,panelResizeHandleProps:i,resizable:l=!1,bordered:r=!0,disabled:o},c)=>{const d=p.useRef(null);p.useImperativeHandle(c,()=>d.current);const[u,g]=p.useState(!1),h=()=>{const f=d.current;f!=null&&f.isCollapsed()?f==null||f.expand():f==null||f.collapse()};return s(j,{children:[l&&e(Hr,{...i,"data-bordered":r,css:m(D3,m`
|
|
3225
3237
|
border-radius: var(--ac-global-rounding-small);
|
|
3226
3238
|
opacity: 1;
|
|
3227
3239
|
background-color: unset;
|
|
@@ -3241,7 +3253,7 @@ fragment ViewerContext_viewer on Query {
|
|
|
3241
3253
|
&:not([data-resize-handle-state="drag"]) ~ [data-panel] {
|
|
3242
3254
|
// transition: flex 0.2s ease-in-out;
|
|
3243
3255
|
}
|
|
3244
|
-
`)}),e(
|
|
3256
|
+
`)}),e(qu,{onClick:h,collapsed:u,bordered:r,disabled:o,children:a}),e(jr,{maxSize:100,...t,ref:d,collapsible:!0,onCollapse:()=>{var f;g(!0),(f=t==null?void 0:t.onCollapse)==null||f.call(t)},onExpand:()=>{var f;g(!1),(f=t==null?void 0:t.onExpand)==null||f.call(t)},children:n})]})});Wu.displayName="TitledPanel";const Qu=m`
|
|
3245
3257
|
all: unset;
|
|
3246
3258
|
width: 100%;
|
|
3247
3259
|
&:hover {
|
|
@@ -3268,12 +3280,12 @@ fragment ViewerContext_viewer on Query {
|
|
|
3268
3280
|
&[data-collapsed="true"] {
|
|
3269
3281
|
border-bottom: none;
|
|
3270
3282
|
}
|
|
3271
|
-
`,
|
|
3283
|
+
`,qu=({children:n,collapsed:a,bordered:t,disabled:i,...l})=>s("button",{...l,type:"button","data-collapsed":a,"data-bordered":t,css:Qu,disabled:a===void 0||i,children:[a!==void 0&&e(I,{"data-collapsed":a,svg:e(wl,{}),css:m`
|
|
3272
3284
|
transition: transform 0.2s ease-in-out;
|
|
3273
3285
|
&[data-collapsed="true"] {
|
|
3274
3286
|
transform: rotate(-90deg);
|
|
3275
3287
|
}
|
|
3276
|
-
`}),n]}),
|
|
3288
|
+
`}),n]}),u1=function(){var n={defaultValue:null,kind:"LocalArgument",name:"filterUserIds"},a={defaultValue:null,kind:"LocalArgument",name:"input"},t={defaultValue:null,kind:"LocalArgument",name:"name"},i={defaultValue:null,kind:"LocalArgument",name:"projectId"},l={defaultValue:null,kind:"LocalArgument",name:"spanId"},r={defaultValue:null,kind:"LocalArgument",name:"timeRange"},o=[{items:[{kind:"Variable",name:"input.0",variableName:"input"}],kind:"ListValue",name:"input"}],c=[{kind:"Variable",name:"id",variableName:"projectId"}],d=[{kind:"Variable",name:"annotationName",variableName:"name"},{kind:"Variable",name:"timeRange",variableName:"timeRange"}],u=[{kind:"Variable",name:"id",variableName:"spanId"}],g={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"annotationType",storageKey:null},b={kind:"InlineFragment",selections:[f],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"},y={alias:null,args:null,kind:"ScalarField",name:"optimizationDirection",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},L={alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},w={alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null},E={alias:null,args:null,concreteType:"CategoricalAnnotationValue",kind:"LinkedField",name:"values",plural:!0,selections:[L,w],storageKey:null},V={kind:"InlineFragment",selections:[h],type:"Node",abstractKey:"__isNode"},z={alias:null,args:null,kind:"ScalarField",name:"fraction",storageKey:null},D={alias:null,args:null,kind:"ScalarField",name:"meanScore",storageKey:null},G={alias:null,args:null,kind:"ScalarField",name:"annotatorKind",storageKey:null},W={alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},_={alias:null,args:null,kind:"ScalarField",name:"explanation",storageKey:null};return{fragment:{argumentDefinitions:[n,a,t,i,l,r],kind:"Fragment",metadata:null,name:"SpanAnnotationsEditorCreateAnnotationMutation",selections:[{alias:null,args:o,concreteType:"SpanAnnotationMutationPayload",kind:"LinkedField",name:"createSpanAnnotations",plural:!1,selections:[{alias:null,args:null,concreteType:"Query",kind:"LinkedField",name:"query",plural:!1,selections:[{alias:"project",args:c,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:d,kind:"FragmentSpread",name:"AnnotationSummaryValueFragment"}],type:"Project",abstractKey:null}],storageKey:null},{alias:null,args:u,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"AnnotationSummaryGroup"},{args:null,kind:"FragmentSpread",name:"TraceHeaderRootSpanAnnotationsFragment"},{args:[{kind:"Variable",name:"filterUserIds",variableName:"filterUserIds"}],kind:"FragmentSpread",name:"SpanAnnotationsEditor_spanAnnotations"},{args:null,kind:"FragmentSpread",name:"SpanAsideAnnotationList_span"},{args:null,kind:"FragmentSpread",name:"SpanFeedback_annotations"}],type:"Span",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[t,a,l,n,r,i],kind:"Operation",name:"SpanAnnotationsEditorCreateAnnotationMutation",selections:[{alias:null,args:o,concreteType:"SpanAnnotationMutationPayload",kind:"LinkedField",name:"createSpanAnnotations",plural:!1,selections:[{alias:null,args:null,concreteType:"Query",kind:"LinkedField",name:"query",plural:!1,selections:[{alias:"project",args:c,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[g,h,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:null,args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[g,b,{kind:"InlineFragment",selections:[f,h,y,k,E],type:"CategoricalAnnotationConfig",abstractKey:null},V],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:d,concreteType:"AnnotationSummary",kind:"LinkedField",name:"spanAnnotationSummary",plural:!1,selections:[k,{alias:null,args:null,concreteType:"LabelFraction",kind:"LinkedField",name:"labelFractions",plural:!0,selections:[L,z],storageKey:null},D],storageKey:null}],type:"Project",abstractKey:null}],storageKey:null},{alias:null,args:u,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[g,h,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Project",kind:"LinkedField",name:"project",plural:!1,selections:[h,{alias:null,args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:null,args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[g,b,{kind:"InlineFragment",selections:[h,k,y,E],type:"CategoricalAnnotationConfig",abstractKey:null},V],storageKey:null}],storageKey:null},{alias:"configs",args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:"config",args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[g,V,{kind:"InlineFragment",selections:[k],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[h,k,L,w,G,W,{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profilePictureUrl",storageKey:null},h],storageKey:null},_,{alias:null,args:null,kind:"ScalarField",name:"metadata",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"identifier",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"source",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"updatedAt",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"AnnotationSummary",kind:"LinkedField",name:"spanAnnotationSummaries",plural:!0,selections:[{alias:null,args:null,concreteType:"LabelFraction",kind:"LinkedField",name:"labelFractions",plural:!0,selections:[z,L],storageKey:null},D,k],storageKey:null},{alias:"filteredSpanAnnotations",args:[{fields:[{kind:"Literal",name:"exclude",value:{names:["note"]}},{fields:[{kind:"Variable",name:"userIds",variableName:"filterUserIds"}],kind:"ObjectValue",name:"include"}],kind:"ObjectValue",name:"filter"}],concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[h,k,G,w,L,_,W],storageKey:null}],type:"Span",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{cacheID:"fe4bd60106516a1dd9a0d9b6b9d705cb",id:null,metadata:{},name:"SpanAnnotationsEditorCreateAnnotationMutation",operationKind:"mutation",text:`mutation SpanAnnotationsEditorCreateAnnotationMutation(
|
|
3277
3289
|
$name: String!
|
|
3278
3290
|
$input: CreateSpanAnnotationInput!
|
|
3279
3291
|
$spanId: ID!
|
|
@@ -3456,7 +3468,7 @@ fragment SpanFeedback_annotations on Span {
|
|
|
3456
3468
|
fragment TraceHeaderRootSpanAnnotationsFragment on Span {
|
|
3457
3469
|
...AnnotationSummaryGroup
|
|
3458
3470
|
}
|
|
3459
|
-
`}}}();
|
|
3471
|
+
`}}}();u1.hash="470188a966012ed4819c3644e1463a4f";const g1=function(){var n={defaultValue:null,kind:"LocalArgument",name:"annotationId"},a={defaultValue:null,kind:"LocalArgument",name:"explanation"},t={defaultValue:null,kind:"LocalArgument",name:"filterUserIds"},i={defaultValue:null,kind:"LocalArgument",name:"label"},l={defaultValue:null,kind:"LocalArgument",name:"name"},r={defaultValue:null,kind:"LocalArgument",name:"projectId"},o={defaultValue:null,kind:"LocalArgument",name:"score"},c={defaultValue:null,kind:"LocalArgument",name:"spanId"},d={defaultValue:null,kind:"LocalArgument",name:"timeRange"},u=[{items:[{fields:[{kind:"Variable",name:"annotationId",variableName:"annotationId"},{kind:"Literal",name:"annotatorKind",value:"HUMAN"},{kind:"Variable",name:"explanation",variableName:"explanation"},{kind:"Variable",name:"label",variableName:"label"},{kind:"Variable",name:"name",variableName:"name"},{kind:"Variable",name:"score",variableName:"score"},{kind:"Literal",name:"source",value:"APP"}],kind:"ObjectValue",name:"input.0"}],kind:"ListValue",name:"input"}],g=[{kind:"Variable",name:"id",variableName:"projectId"}],h=[{kind:"Variable",name:"annotationName",variableName:"name"},{kind:"Variable",name:"timeRange",variableName:"timeRange"}],f=[{kind:"Variable",name:"id",variableName:"spanId"}],b={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"annotationType",storageKey:null},L={kind:"InlineFragment",selections:[k],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"},w={alias:null,args:null,kind:"ScalarField",name:"optimizationDirection",storageKey:null},E={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},V={alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},z={alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null},D={alias:null,args:null,concreteType:"CategoricalAnnotationValue",kind:"LinkedField",name:"values",plural:!0,selections:[V,z],storageKey:null},G={kind:"InlineFragment",selections:[y],type:"Node",abstractKey:"__isNode"},W={alias:null,args:null,kind:"ScalarField",name:"fraction",storageKey:null},_={alias:null,args:null,kind:"ScalarField",name:"meanScore",storageKey:null},T={alias:null,args:null,kind:"ScalarField",name:"annotatorKind",storageKey:null},$={alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},J={alias:null,args:null,kind:"ScalarField",name:"explanation",storageKey:null};return{fragment:{argumentDefinitions:[n,a,t,i,l,r,o,c,d],kind:"Fragment",metadata:null,name:"SpanAnnotationsEditorEditAnnotationMutation",selections:[{alias:null,args:u,concreteType:"SpanAnnotationMutationPayload",kind:"LinkedField",name:"patchSpanAnnotations",plural:!1,selections:[{alias:null,args:null,concreteType:"Query",kind:"LinkedField",name:"query",plural:!1,selections:[{alias:"project",args:g,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:h,kind:"FragmentSpread",name:"AnnotationSummaryValueFragment"}],type:"Project",abstractKey:null}],storageKey:null},{alias:null,args:f,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"AnnotationSummaryGroup"},{args:null,kind:"FragmentSpread",name:"TraceHeaderRootSpanAnnotationsFragment"},{args:[{kind:"Variable",name:"filterUserIds",variableName:"filterUserIds"}],kind:"FragmentSpread",name:"SpanAnnotationsEditor_spanAnnotations"},{args:null,kind:"FragmentSpread",name:"SpanAsideAnnotationList_span"},{args:null,kind:"FragmentSpread",name:"SpanFeedback_annotations"}],type:"Span",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[c,n,l,i,o,a,t,d,r],kind:"Operation",name:"SpanAnnotationsEditorEditAnnotationMutation",selections:[{alias:null,args:u,concreteType:"SpanAnnotationMutationPayload",kind:"LinkedField",name:"patchSpanAnnotations",plural:!1,selections:[{alias:null,args:null,concreteType:"Query",kind:"LinkedField",name:"query",plural:!1,selections:[{alias:"project",args:g,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[b,y,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:null,args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[b,L,{kind:"InlineFragment",selections:[k,y,w,E,D],type:"CategoricalAnnotationConfig",abstractKey:null},G],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:h,concreteType:"AnnotationSummary",kind:"LinkedField",name:"spanAnnotationSummary",plural:!1,selections:[E,{alias:null,args:null,concreteType:"LabelFraction",kind:"LinkedField",name:"labelFractions",plural:!0,selections:[V,W],storageKey:null},_],storageKey:null}],type:"Project",abstractKey:null}],storageKey:null},{alias:null,args:f,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[b,y,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Project",kind:"LinkedField",name:"project",plural:!1,selections:[y,{alias:null,args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:null,args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[b,L,{kind:"InlineFragment",selections:[y,E,w,D],type:"CategoricalAnnotationConfig",abstractKey:null},G],storageKey:null}],storageKey:null},{alias:"configs",args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:"config",args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[b,G,{kind:"InlineFragment",selections:[E],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[y,E,V,z,T,$,{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profilePictureUrl",storageKey:null},y],storageKey:null},J,{alias:null,args:null,kind:"ScalarField",name:"metadata",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"identifier",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"source",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"updatedAt",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"AnnotationSummary",kind:"LinkedField",name:"spanAnnotationSummaries",plural:!0,selections:[{alias:null,args:null,concreteType:"LabelFraction",kind:"LinkedField",name:"labelFractions",plural:!0,selections:[W,V],storageKey:null},_,E],storageKey:null},{alias:"filteredSpanAnnotations",args:[{fields:[{kind:"Literal",name:"exclude",value:{names:["note"]}},{fields:[{kind:"Variable",name:"userIds",variableName:"filterUserIds"}],kind:"ObjectValue",name:"include"}],kind:"ObjectValue",name:"filter"}],concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[y,E,T,z,V,J,$],storageKey:null}],type:"Span",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{cacheID:"21f32f0823e2e9f883d1c332004c1559",id:null,metadata:{},name:"SpanAnnotationsEditorEditAnnotationMutation",operationKind:"mutation",text:`mutation SpanAnnotationsEditorEditAnnotationMutation(
|
|
3460
3472
|
$spanId: ID!
|
|
3461
3473
|
$annotationId: ID!
|
|
3462
3474
|
$name: String!
|
|
@@ -3642,7 +3654,7 @@ fragment SpanFeedback_annotations on Span {
|
|
|
3642
3654
|
fragment TraceHeaderRootSpanAnnotationsFragment on Span {
|
|
3643
3655
|
...AnnotationSummaryGroup
|
|
3644
3656
|
}
|
|
3645
|
-
`}}}();
|
|
3657
|
+
`}}}();g1.hash="2e32eb892ace0745b83b66da87e6e76e";const m1=function(){var n={defaultValue:null,kind:"LocalArgument",name:"annotationIds"},a={defaultValue:null,kind:"LocalArgument",name:"filterUserIds"},t={defaultValue:null,kind:"LocalArgument",name:"projectId"},i={defaultValue:null,kind:"LocalArgument",name:"spanId"},l={defaultValue:null,kind:"LocalArgument",name:"timeRange"},r=[{fields:[{kind:"Variable",name:"annotationIds",variableName:"annotationIds"}],kind:"ObjectValue",name:"input"}],o=[{kind:"Variable",name:"id",variableName:"projectId"}],c=[{kind:"Variable",name:"id",variableName:"spanId"}],d={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},g={kind:"Variable",name:"timeRange",variableName:"timeRange"},h=[g],f=[{alias:null,args:null,kind:"ScalarField",name:"cost",storageKey:null}],b={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null},L={kind:"InlineFragment",selections:[u],type:"Node",abstractKey:"__isNode"},w={alias:null,args:null,kind:"ScalarField",name:"annotatorKind",storageKey:null},E={alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},V={alias:null,args:null,kind:"ScalarField",name:"explanation",storageKey:null};return{fragment:{argumentDefinitions:[n,a,t,i,l],kind:"Fragment",metadata:null,name:"SpanAnnotationsEditorDeleteAnnotationMutation",selections:[{alias:null,args:r,concreteType:"SpanAnnotationMutationPayload",kind:"LinkedField",name:"deleteSpanAnnotations",plural:!1,selections:[{alias:null,args:null,concreteType:"Query",kind:"LinkedField",name:"query",plural:!1,selections:[{alias:"project",args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"ProjectPageHeader_stats"}],type:"Project",abstractKey:null}],storageKey:null},{alias:null,args:c,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"AnnotationSummaryGroup"},{args:null,kind:"FragmentSpread",name:"TraceHeaderRootSpanAnnotationsFragment"},{args:[{kind:"Variable",name:"filterUserIds",variableName:"filterUserIds"}],kind:"FragmentSpread",name:"SpanAnnotationsEditor_spanAnnotations"},{args:null,kind:"FragmentSpread",name:"SpanAsideAnnotationList_span"},{args:null,kind:"FragmentSpread",name:"SpanFeedback_annotations"}],type:"Span",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[i,n,l,t,a],kind:"Operation",name:"SpanAnnotationsEditorDeleteAnnotationMutation",selections:[{alias:null,args:r,concreteType:"SpanAnnotationMutationPayload",kind:"LinkedField",name:"deleteSpanAnnotations",plural:!1,selections:[{alias:null,args:null,concreteType:"Query",kind:"LinkedField",name:"query",plural:!1,selections:[{alias:"project",args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[d,u,{kind:"InlineFragment",selections:[{alias:null,args:h,kind:"ScalarField",name:"traceCount",storageKey:null},{alias:null,args:h,concreteType:"SpanCostSummary",kind:"LinkedField",name:"costSummary",plural:!1,selections:[{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"total",plural:!1,selections:f,storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"prompt",plural:!1,selections:f,storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"completion",plural:!1,selections:f,storageKey:null}],storageKey:null},{alias:"latencyMsP50",args:[{kind:"Literal",name:"probability",value:.5},g],kind:"ScalarField",name:"latencyMsQuantile",storageKey:null},{alias:"latencyMsP99",args:[{kind:"Literal",name:"probability",value:.99},g],kind:"ScalarField",name:"latencyMsQuantile",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"spanAnnotationNames",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"documentEvaluationNames",storageKey:null}],type:"Project",abstractKey:null}],storageKey:null},{alias:null,args:c,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[d,u,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Project",kind:"LinkedField",name:"project",plural:!1,selections:[u,{alias:null,args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:null,args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[d,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"annotationType",storageKey:null}],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"},{kind:"InlineFragment",selections:[u,b,{alias:null,args:null,kind:"ScalarField",name:"optimizationDirection",storageKey:null},{alias:null,args:null,concreteType:"CategoricalAnnotationValue",kind:"LinkedField",name:"values",plural:!0,selections:[y,k],storageKey:null}],type:"CategoricalAnnotationConfig",abstractKey:null},L],storageKey:null}],storageKey:null},{alias:"configs",args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:"config",args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[d,L,{kind:"InlineFragment",selections:[b],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[u,b,y,k,w,E,{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profilePictureUrl",storageKey:null},u],storageKey:null},V,{alias:null,args:null,kind:"ScalarField",name:"metadata",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"identifier",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"source",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"updatedAt",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"AnnotationSummary",kind:"LinkedField",name:"spanAnnotationSummaries",plural:!0,selections:[{alias:null,args:null,concreteType:"LabelFraction",kind:"LinkedField",name:"labelFractions",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"fraction",storageKey:null},y],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"meanScore",storageKey:null},b],storageKey:null},{alias:"filteredSpanAnnotations",args:[{fields:[{kind:"Literal",name:"exclude",value:{names:["note"]}},{fields:[{kind:"Variable",name:"userIds",variableName:"filterUserIds"}],kind:"ObjectValue",name:"include"}],kind:"ObjectValue",name:"filter"}],concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[u,b,w,k,y,V,E],storageKey:null}],type:"Span",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{cacheID:"dee76f16722e918832123373a1155240",id:null,metadata:{},name:"SpanAnnotationsEditorDeleteAnnotationMutation",operationKind:"mutation",text:`mutation SpanAnnotationsEditorDeleteAnnotationMutation(
|
|
3646
3658
|
$spanId: ID!
|
|
3647
3659
|
$annotationIds: [ID!]!
|
|
3648
3660
|
$timeRange: TimeRange!
|
|
@@ -3807,7 +3819,7 @@ fragment SpanFeedback_annotations on Span {
|
|
|
3807
3819
|
fragment TraceHeaderRootSpanAnnotationsFragment on Span {
|
|
3808
3820
|
...AnnotationSummaryGroup
|
|
3809
3821
|
}
|
|
3810
|
-
`}}}();
|
|
3822
|
+
`}}}();m1.hash="91b4801afce840fdac7250d2c84eff21";const p1=function(){var n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"filterUserIds"}],kind:"Fragment",metadata:null,name:"SpanAnnotationsEditor_spanAnnotations",selections:[n,{alias:"filteredSpanAnnotations",args:[{fields:[{kind:"Literal",name:"exclude",value:{names:["note"]}},{fields:[{kind:"Variable",name:"userIds",variableName:"filterUserIds"}],kind:"ObjectValue",name:"include"}],kind:"ObjectValue",name:"filter"}],concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"annotatorKind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"explanation",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null}],storageKey:null}],type:"Span",abstractKey:null}}();p1.hash="e1133bf8aec8eadedaa01c3c4170bfe9";const h1=function(){var n={defaultValue:null,kind:"LocalArgument",name:"filterUserIds"},a={defaultValue:null,kind:"LocalArgument",name:"projectId"},t={defaultValue:null,kind:"LocalArgument",name:"spanId"},i=[{kind:"Variable",name:"id",variableName:"projectId"}],l={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"optimizationDirection",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null},g={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:"configs",args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:"config",args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[r,{kind:"InlineFragment",selections:[l],type:"Node",abstractKey:"__isNode"},{kind:"InlineFragment",selections:[o,{alias:null,args:null,kind:"ScalarField",name:"annotationType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null}],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"},{kind:"InlineFragment",selections:[c,{alias:null,args:null,concreteType:"CategoricalAnnotationValue",kind:"LinkedField",name:"values",plural:!0,selections:[d,u],storageKey:null}],type:"CategoricalAnnotationConfig",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"lowerBound",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"upperBound",storageKey:null},c],type:"ContinuousAnnotationConfig",abstractKey:null},{kind:"InlineFragment",selections:[o],type:"FreeformAnnotationConfig",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Project",abstractKey:null},h=[{kind:"Variable",name:"id",variableName:"spanId"}];return{fragment:{argumentDefinitions:[n,a,t],kind:"Fragment",metadata:null,name:"SpanAnnotationsEditorSpanAnnotationsListQuery",selections:[{alias:"project",args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,g],storageKey:null},{alias:"span",args:h,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[l,{kind:"InlineFragment",selections:[{args:[{kind:"Variable",name:"filterUserIds",variableName:"filterUserIds"}],kind:"FragmentSpread",name:"SpanAnnotationsEditor_spanAnnotations"}],type:"Span",abstractKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[a,t,n],kind:"Operation",name:"SpanAnnotationsEditorSpanAnnotationsListQuery",selections:[{alias:"project",args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[r,l,g],storageKey:null},{alias:"span",args:h,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[r,l,{kind:"InlineFragment",selections:[{alias:"filteredSpanAnnotations",args:[{fields:[{kind:"Literal",name:"exclude",value:{names:["note"]}},{fields:[{kind:"Variable",name:"userIds",variableName:"filterUserIds"}],kind:"ObjectValue",name:"include"}],kind:"ObjectValue",name:"filter"}],concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[l,o,{alias:null,args:null,kind:"ScalarField",name:"annotatorKind",storageKey:null},u,d,{alias:null,args:null,kind:"ScalarField",name:"explanation",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null}],storageKey:null}],type:"Span",abstractKey:null}],storageKey:null}]},params:{cacheID:"c19b9cff9a85b67ea4db4f43b28d1fd3",id:null,metadata:{},name:"SpanAnnotationsEditorSpanAnnotationsListQuery",operationKind:"query",text:`query SpanAnnotationsEditorSpanAnnotationsListQuery(
|
|
3811
3823
|
$projectId: ID!
|
|
3812
3824
|
$spanId: ID!
|
|
3813
3825
|
$filterUserIds: [ID]
|
|
@@ -3871,7 +3883,7 @@ fragment SpanAnnotationsEditor_spanAnnotations_3lpqY on Span {
|
|
|
3871
3883
|
createdAt
|
|
3872
3884
|
}
|
|
3873
3885
|
}
|
|
3874
|
-
`}}}();
|
|
3886
|
+
`}}}();h1.hash="ab94a265160b38df3c4310317a5ca86b";const f1=function(){var n={defaultValue:null,kind:"LocalArgument",name:"annotationConfigId"},a={defaultValue:null,kind:"LocalArgument",name:"filterUserIds"},t={defaultValue:null,kind:"LocalArgument",name:"projectId"},i={defaultValue:null,kind:"LocalArgument",name:"spanId"},l=[{fields:[{kind:"Variable",name:"annotationConfigId",variableName:"annotationConfigId"},{kind:"Variable",name:"projectId",variableName:"projectId"}],kind:"ObjectValue",name:"input"}],r=[{kind:"Variable",name:"id",variableName:"projectId"}],o={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},c=[{kind:"Variable",name:"id",variableName:"spanId"}],d={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null};return{fragment:{argumentDefinitions:[n,a,t,i],kind:"Fragment",metadata:null,name:"AnnotationConfigListRemoveAnnotationConfigFromProjectMutation",selections:[{alias:null,args:l,concreteType:"RemoveAnnotationConfigFromProjectPayload",kind:"LinkedField",name:"removeAnnotationConfigFromProject",plural:!1,selections:[{alias:null,args:null,concreteType:"Query",kind:"LinkedField",name:"query",plural:!1,selections:[{alias:"projectNode",args:r,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[o,{args:null,kind:"FragmentSpread",name:"AnnotationConfigListProjectAnnotationConfigFragment"}],type:"Project",abstractKey:null}],storageKey:null},{alias:null,args:c,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[o,{args:[{kind:"Variable",name:"filterUserIds",variableName:"filterUserIds"}],kind:"FragmentSpread",name:"SpanAnnotationsEditor_spanAnnotations"}],type:"Span",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[t,n,i,a],kind:"Operation",name:"AnnotationConfigListRemoveAnnotationConfigFromProjectMutation",selections:[{alias:null,args:l,concreteType:"RemoveAnnotationConfigFromProjectPayload",kind:"LinkedField",name:"removeAnnotationConfigFromProject",plural:!1,selections:[{alias:null,args:null,concreteType:"Query",kind:"LinkedField",name:"query",plural:!1,selections:[{alias:"projectNode",args:r,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[d,o,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:null,args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[d,{kind:"InlineFragment",selections:[o],type:"Node",abstractKey:"__isNode"},{kind:"InlineFragment",selections:[u,{alias:null,args:null,kind:"ScalarField",name:"annotationType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null}],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CategoricalAnnotationValue",kind:"LinkedField",name:"values",plural:!0,selections:[g,h],storageKey:null}],type:"CategoricalAnnotationConfig",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"lowerBound",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"upperBound",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"optimizationDirection",storageKey:null}],type:"ContinuousAnnotationConfig",abstractKey:null},{kind:"InlineFragment",selections:[u],type:"FreeformAnnotationConfig",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Project",abstractKey:null}],storageKey:null},{alias:null,args:c,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[d,o,{kind:"InlineFragment",selections:[{alias:"filteredSpanAnnotations",args:[{fields:[{kind:"Literal",name:"exclude",value:{names:["note"]}},{fields:[{kind:"Variable",name:"userIds",variableName:"filterUserIds"}],kind:"ObjectValue",name:"include"}],kind:"ObjectValue",name:"filter"}],concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[o,u,{alias:null,args:null,kind:"ScalarField",name:"annotatorKind",storageKey:null},h,g,{alias:null,args:null,kind:"ScalarField",name:"explanation",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null}],storageKey:null}],type:"Span",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{cacheID:"ac0ee63febc8956acc1d1b43505591c3",id:null,metadata:{},name:"AnnotationConfigListRemoveAnnotationConfigFromProjectMutation",operationKind:"mutation",text:`mutation AnnotationConfigListRemoveAnnotationConfigFromProjectMutation(
|
|
3875
3887
|
$projectId: ID!
|
|
3876
3888
|
$annotationConfigId: ID!
|
|
3877
3889
|
$spanId: ID!
|
|
@@ -3945,7 +3957,7 @@ fragment SpanAnnotationsEditor_spanAnnotations_3lpqY on Span {
|
|
|
3945
3957
|
createdAt
|
|
3946
3958
|
}
|
|
3947
3959
|
}
|
|
3948
|
-
`}}}();
|
|
3960
|
+
`}}}();f1.hash="95e97ce45fd2d56bb67fbdb8fd683092";const b1=function(){var n={defaultValue:null,kind:"LocalArgument",name:"annotationConfigId"},a={defaultValue:null,kind:"LocalArgument",name:"filterUserIds"},t={defaultValue:null,kind:"LocalArgument",name:"projectId"},i={defaultValue:null,kind:"LocalArgument",name:"spanId"},l=[{fields:[{kind:"Variable",name:"annotationConfigId",variableName:"annotationConfigId"},{kind:"Variable",name:"projectId",variableName:"projectId"}],kind:"ObjectValue",name:"input"}],r=[{kind:"Variable",name:"id",variableName:"projectId"}],o={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},c=[{kind:"Variable",name:"id",variableName:"spanId"}],d={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null};return{fragment:{argumentDefinitions:[n,a,t,i],kind:"Fragment",metadata:null,name:"AnnotationConfigListAssociateAnnotationConfigWithProjectMutation",selections:[{alias:null,args:l,concreteType:"AddAnnotationConfigToProjectPayload",kind:"LinkedField",name:"addAnnotationConfigToProject",plural:!1,selections:[{alias:null,args:null,concreteType:"Query",kind:"LinkedField",name:"query",plural:!1,selections:[{alias:"projectNode",args:r,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[o,{args:null,kind:"FragmentSpread",name:"AnnotationConfigListProjectAnnotationConfigFragment"}],type:"Project",abstractKey:null}],storageKey:null},{alias:null,args:c,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[o,{args:[{kind:"Variable",name:"filterUserIds",variableName:"filterUserIds"}],kind:"FragmentSpread",name:"SpanAnnotationsEditor_spanAnnotations"}],type:"Span",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[t,n,i,a],kind:"Operation",name:"AnnotationConfigListAssociateAnnotationConfigWithProjectMutation",selections:[{alias:null,args:l,concreteType:"AddAnnotationConfigToProjectPayload",kind:"LinkedField",name:"addAnnotationConfigToProject",plural:!1,selections:[{alias:null,args:null,concreteType:"Query",kind:"LinkedField",name:"query",plural:!1,selections:[{alias:"projectNode",args:r,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[d,o,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:null,args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[d,{kind:"InlineFragment",selections:[o],type:"Node",abstractKey:"__isNode"},{kind:"InlineFragment",selections:[u,{alias:null,args:null,kind:"ScalarField",name:"annotationType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null}],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CategoricalAnnotationValue",kind:"LinkedField",name:"values",plural:!0,selections:[g,h],storageKey:null}],type:"CategoricalAnnotationConfig",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"lowerBound",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"upperBound",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"optimizationDirection",storageKey:null}],type:"ContinuousAnnotationConfig",abstractKey:null},{kind:"InlineFragment",selections:[u],type:"FreeformAnnotationConfig",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Project",abstractKey:null}],storageKey:null},{alias:null,args:c,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[d,o,{kind:"InlineFragment",selections:[{alias:"filteredSpanAnnotations",args:[{fields:[{kind:"Literal",name:"exclude",value:{names:["note"]}},{fields:[{kind:"Variable",name:"userIds",variableName:"filterUserIds"}],kind:"ObjectValue",name:"include"}],kind:"ObjectValue",name:"filter"}],concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[o,u,{alias:null,args:null,kind:"ScalarField",name:"annotatorKind",storageKey:null},h,g,{alias:null,args:null,kind:"ScalarField",name:"explanation",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null}],storageKey:null}],type:"Span",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{cacheID:"d50c07c47d622752dd477d5d58dcab08",id:null,metadata:{},name:"AnnotationConfigListAssociateAnnotationConfigWithProjectMutation",operationKind:"mutation",text:`mutation AnnotationConfigListAssociateAnnotationConfigWithProjectMutation(
|
|
3949
3961
|
$projectId: ID!
|
|
3950
3962
|
$annotationConfigId: ID!
|
|
3951
3963
|
$spanId: ID!
|
|
@@ -4019,7 +4031,7 @@ fragment SpanAnnotationsEditor_spanAnnotations_3lpqY on Span {
|
|
|
4019
4031
|
createdAt
|
|
4020
4032
|
}
|
|
4021
4033
|
}
|
|
4022
|
-
`}}}();
|
|
4034
|
+
`}}}();b1.hash="c0bef9fb6b65e0bb572ed9c7d42a0905";const y1=function(){var n={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"AnnotationConfigListProjectAnnotationConfigFragment",selections:[{alias:null,args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:null,args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Node",abstractKey:"__isNode"},{kind:"InlineFragment",selections:[n,{alias:null,args:null,kind:"ScalarField",name:"annotationType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null}],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CategoricalAnnotationValue",kind:"LinkedField",name:"values",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null}],storageKey:null}],type:"CategoricalAnnotationConfig",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"lowerBound",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"upperBound",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"optimizationDirection",storageKey:null}],type:"ContinuousAnnotationConfig",abstractKey:null},{kind:"InlineFragment",selections:[n],type:"FreeformAnnotationConfig",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Project",abstractKey:null}}();y1.hash="7bed597e9a0dc874ed67506a8a4f870c";const v1=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"projectId"}],a=[{kind:"Variable",name:"id",variableName:"projectId"}],t={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},i={kind:"InlineFragment",selections:[t],type:"Node",abstractKey:"__isNode"},l={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"annotationType",storageKey:null},c={kind:"InlineFragment",selections:[l,r,o],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"},d={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CategoricalAnnotationValue",kind:"LinkedField",name:"values",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null}],storageKey:null}],type:"CategoricalAnnotationConfig",abstractKey:null},u={alias:null,args:null,kind:"ScalarField",name:"lowerBound",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"upperBound",storageKey:null},h={kind:"InlineFragment",selections:[u,g],type:"ContinuousAnnotationConfig",abstractKey:null},f={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"AnnotationConfigListQuery",selections:[{alias:"project",args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"AnnotationConfigListProjectAnnotationConfigFragment"}],type:"Project",abstractKey:null}],storageKey:null},{alias:"allAnnotationConfigs",args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:null,args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[i,c,d,h],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"AnnotationConfigListQuery",selections:[{alias:"project",args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[f,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:null,args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[f,i,{kind:"InlineFragment",selections:[l,o,r],type:"AnnotationConfigBase",abstractKey:"__isAnnotationConfigBase"},d,{kind:"InlineFragment",selections:[u,g,{alias:null,args:null,kind:"ScalarField",name:"optimizationDirection",storageKey:null}],type:"ContinuousAnnotationConfig",abstractKey:null},{kind:"InlineFragment",selections:[l],type:"FreeformAnnotationConfig",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Project",abstractKey:null},t],storageKey:null},{alias:"allAnnotationConfigs",args:null,concreteType:"AnnotationConfigConnection",kind:"LinkedField",name:"annotationConfigs",plural:!1,selections:[{alias:null,args:null,concreteType:"AnnotationConfigEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[f,i,c,d,h],storageKey:null}],storageKey:null}],storageKey:null}]},params:{cacheID:"1a712d6939eff6b3fc74c42fdf542bda",id:null,metadata:{},name:"AnnotationConfigListQuery",operationKind:"query",text:`query AnnotationConfigListQuery(
|
|
4023
4035
|
$projectId: ID!
|
|
4024
4036
|
) {
|
|
4025
4037
|
project: node(id: $projectId) {
|
|
@@ -4091,7 +4103,7 @@ fragment AnnotationConfigListProjectAnnotationConfigFragment on Project {
|
|
|
4091
4103
|
}
|
|
4092
4104
|
}
|
|
4093
4105
|
}
|
|
4094
|
-
`}}}();
|
|
4106
|
+
`}}}();v1.hash="17e291625e2df97c80e95916c0df269d";const Xu=m`
|
|
4095
4107
|
padding: 0 var(--ac-global-dimension-size-100);
|
|
4096
4108
|
max-height: 300px;
|
|
4097
4109
|
min-width: 320px;
|
|
@@ -4110,19 +4122,19 @@ fragment AnnotationConfigListProjectAnnotationConfigFragment on Project {
|
|
|
4110
4122
|
}
|
|
4111
4123
|
}
|
|
4112
4124
|
}
|
|
4113
|
-
`,
|
|
4125
|
+
`,Yu=m`
|
|
4114
4126
|
display: flex;
|
|
4115
4127
|
flex-direction: row;
|
|
4116
4128
|
align-items: center;
|
|
4117
4129
|
justify-content: space-between;
|
|
4118
4130
|
gap: var(--ac-global-dimension-size-100);
|
|
4119
|
-
`,
|
|
4131
|
+
`,Ju={CATEGORICAL:"Categorical",CONTINUOUS:"Continuous",FREEFORM:"Freeform"};function e5(n){var V;const a=it(),{projectId:t,spanId:i}=n,[l,r]=p.useState(""),{viewer:o}=dn(),c=o==null?void 0:o.id,d=F.useLazyLoadQuery(v1,{projectId:t}),u=F.useFragment(y1,d.project),[g]=F.useMutation(b1),[h]=F.useMutation(f1),f=p.useCallback(z=>{p.startTransition(()=>{g({variables:{projectId:t,annotationConfigId:z,spanId:i,filterUserIds:c?[c]:null}})})},[t,g,i,c]),b=p.useCallback(z=>{h({variables:{projectId:t,annotationConfigId:z,spanId:i,filterUserIds:c?[c]:null}})},[t,h,i,c]),y=d.allAnnotationConfigs.edges,k=(V=u.annotationConfigs)==null?void 0:V.edges,L=p.useMemo(()=>new Set(k==null?void 0:k.map(z=>z.node.id)),[k]),w=p.useMemo(()=>y.filter(z=>{var D;return(D=z.node.name)==null?void 0:D.toLowerCase().includes(l.toLowerCase())}),[y,l]),E=p.useCallback(z=>{L.has(z)?b(z):f(z)},[L,f,b]);return e(j,{children:e(x,{paddingTop:"size-100",maxWidth:320,children:e(aa,{autoFocus:!0,contain:!0,children:s(S,{direction:"column",gap:"size-100",children:[e(x,{paddingX:"size-100",paddingY:"size-100",children:s(S,{direction:"row",alignItems:"center",justifyContent:"space-between",gap:"size-100",children:[e(U,{"aria-label":"Search annotation configs",value:l,onChange:z=>{r(z)},children:e(Z,{placeholder:"Search annotation configs"})}),s(ve,{children:[e(Ze,{children:e(M,{"aria-label":"Create annotation config",onPress:()=>{a("/settings/annotations")},leadingVisual:e(I,{svg:e(At,{})})})}),e(De,{children:"Create new annotation config"})]})]})}),e(ue,{css:Xu,selectionMode:"single",selectionBehavior:"toggle","aria-label":"Annotation Configs",renderEmptyState:()=>e(x,{width:"100%",height:"100%",paddingBottom:"size-100",children:e(S,{direction:"column",alignItems:"center",justifyContent:"center",children:l?s(v,{style:{whiteSpace:"pre-wrap",textAlign:"center",padding:0},children:['No annotation configs found for "',l,'"']}):e(ua,{to:"/settings/annotations",children:"Configure Annotation Configs"})})}),onSelectionChange:z=>{if(z==="all"||z.size===0)return;const D=z.values().next().value;E(D)},children:w.map(z=>e(tn,{id:z.node.id,textValue:z.node.name,children:e(S,{direction:"row",alignItems:"center",children:s("label",{css:Yu,children:[s(S,{direction:"row",alignItems:"center",gap:"size-100",children:[e("input",{type:"checkbox",checked:L.has(z.node.id),readOnly:!0}),e(Ol,{annotation:{name:z.node.name||""},annotationDisplayPreference:"none",css:m`
|
|
4120
4132
|
width: fit-content;
|
|
4121
|
-
`},z.node.name)]}),e("span",{children:
|
|
4133
|
+
`},z.node.name)]}),e("span",{children:Ju[z.node.annotationType]||z.node.annotationType})]})})},z.node.id))})]})})})})}const n5=({annotation:n,annotationConfig:a,currentAnnotationIDs:t,onCreate:i,onUpdate:l,onDelete:r,children:o,onSuccess:c,onError:d})=>{const u=a.name;et(u);const g=a.annotationType,h=p.useMemo(()=>n||{name:u,label:null,score:null,explanation:null},[n,u]),f=Oe({defaultValues:{[u]:h}}),b=f.setError,y=p.useCallback(async z=>{const D={...z[u],id:n==null?void 0:n.id};if(!D)return;let G;D.id&&g!=="FREEFORM"&&D.score==null&&!D.label||D.id&&g!=="FREEFORM"&&isNaN(D.score)&&!D.label||D.id&&g==="FREEFORM"&&!D.explanation?G="delete":D.id&&t.has(D.id)?G="update":G="create";let W;switch(G){case"create":{W=await i(D);break}case"update":{W=await l(D);break}case"delete":{W=await r(D);break}}W.success?c==null||c(D):(b("root",{message:W.error}),d==null||d(D,W.error))},[n,u,g,t,b,i,r,d,c,l]),k=f.handleSubmit,L=p.useMemo(()=>Pi.debounce(k(y),500),[k,y]),w=p.useRef(L);p.useEffect(()=>{w.current=L},[L]);const E=p.useRef(null),V=Zr({control:f.control,name:u,exact:!0});return p.useEffect(()=>{if(!E.current){E.current=V;return}V!==E.current&&(E.current=V,w.current())},[V]),e(Ur,{...f,children:o})},C1="44px",a5=`calc(100% - ${C1})`,L1=({annotation:n,onSubmit:a})=>{const t=n!=null&&n.name?`${n.name}.explanation`:"explanation";return s(fe,{children:[e(M,{excludeFromTabOrder:!0,type:"button",isDisabled:!(n!=null&&n.id),className:"annotation-input-explanation",css:m`
|
|
4122
4134
|
position: absolute;
|
|
4123
4135
|
top: 6px;
|
|
4124
4136
|
right: 4px;
|
|
4125
|
-
width: ${
|
|
4137
|
+
width: ${C1};
|
|
4126
4138
|
font-size: var(--ac-global-dimension-static-font-size-75);
|
|
4127
4139
|
background: none;
|
|
4128
4140
|
border: none;
|
|
@@ -4139,14 +4151,14 @@ fragment AnnotationConfigListProjectAnnotationConfigFragment on Project {
|
|
|
4139
4151
|
cursor: pointer;
|
|
4140
4152
|
background: none;
|
|
4141
4153
|
}
|
|
4142
|
-
`,children:"explain"}),s(ne,{placement:"bottom end",children:[e(qn,{}),e(oe,{children:({close:i})=>e(aa,{autoFocus:!0,contain:!0,restoreFocus:!0,children:e(x,{padding:"size-100",children:e("form",{onSubmit:l=>{l.preventDefault();const o=new FormData(l.target).get(t);typeof o=="string"&&(a==null||a(o)),i()},children:s(S,{direction:"column",gap:"size-100",children:[s(U,{name:t,defaultValue:(n==null?void 0:n.explanation)??"",css:{minWidth:"300px"},children:[e(P,{children:"Explanation"}),e(Z,{}),e(v,{slot:"description",children:"Why did you give this score?"})]}),e(M,{type:"submit",variant:"primary",children:"Save"})]})})})})})]})]})},
|
|
4143
|
-
max-width: ${
|
|
4154
|
+
`,children:"explain"}),s(ne,{placement:"bottom end",children:[e(qn,{}),e(oe,{children:({close:i})=>e(aa,{autoFocus:!0,contain:!0,restoreFocus:!0,children:e(x,{padding:"size-100",children:e("form",{onSubmit:l=>{l.preventDefault();const o=new FormData(l.target).get(t);typeof o=="string"&&(a==null||a(o)),i()},children:s(S,{direction:"column",gap:"size-100",children:[s(U,{name:t,defaultValue:(n==null?void 0:n.explanation)??"",css:{minWidth:"300px"},children:[e(P,{children:"Explanation"}),e(Z,{}),e(v,{slot:"description",children:"Why did you give this score?"})]}),e(M,{type:"submit",variant:"primary",children:"Save"})]})})})})})]})]})},Dt=n=>e(P,{className:R("react-aria-Label",n.className),css:m`
|
|
4155
|
+
max-width: ${a5};
|
|
4144
4156
|
white-space: nowrap;
|
|
4145
4157
|
overflow: hidden;
|
|
4146
4158
|
text-overflow: ellipsis;
|
|
4147
|
-
`,...n}),
|
|
4159
|
+
`,...n}),k1=p.forwardRef(({annotationConfig:n,annotation:a,onSubmitExplanation:t,...i},l)=>{var r;return s(S,{gap:"size-50",alignItems:"center",position:"relative",children:[e(L1,{annotation:a,onSubmit:t}),s(Ae,{id:n.id,name:n.name,defaultSelectedKey:(a==null?void 0:a.label)??void 0,size:"S",...i,css:m`
|
|
4148
4160
|
width: 100%;
|
|
4149
|
-
`,children:[e(
|
|
4161
|
+
`,children:[e(Dt,{children:n.name}),s(M,{ref:l,children:[e(Te,{}),e(be,{})]}),e(v,{slot:"description",children:n.description}),e(ne,{children:e(ue,{style:{minHeight:"auto"},children:(r=n.values)==null?void 0:r.map(o=>e(q,{id:o.label,children:o.label},o.label))})})]})]})});k1.displayName="CategoricalAnnotationInput";const w1=p.forwardRef(({annotationConfig:n,annotation:a,onSubmitExplanation:t,...i},l)=>s(S,{gap:"size-50",alignItems:"center",position:"relative",children:[e(L1,{annotation:a,onSubmit:t}),s(zl,{defaultValue:(a==null?void 0:a.score)??void 0,...i,ref:l,minValue:(n==null?void 0:n.lowerBound)??0,maxValue:(n==null?void 0:n.upperBound)??1,css:{width:"100%"},children:[e(Dt,{children:n.name}),e(Z,{placeholder:(n==null?void 0:n.optimizationDirection)==="MAXIMIZE"?`e.g. ${n.upperBound}`:`e.g. ${n.lowerBound}`}),s(v,{slot:"description",children:["from ",n.lowerBound," to ",n.upperBound]})]})]}));w1.displayName="ContinuousAnnotationInput";const S1=p.forwardRef(({annotationConfig:n,annotation:a,...t},i)=>e(S,{gap:"size-50",alignItems:"center",position:"relative",children:s(U,{id:n.id,name:n.name,defaultValue:(a==null?void 0:a.explanation)??void 0,...t,ref:i,css:{width:"100%"},children:[e(Dt,{children:n.name}),e(tt,{}),e(v,{slot:"description",children:n.description})]})}));S1.displayName="FreeformAnnotationInput";function t5(n){const{annotationConfig:a,annotation:t}=n,{control:i}=Gr();return s("div",{children:[a.annotationType==="CATEGORICAL"&&e(H,{control:i,name:a.name,render:({field:{value:l,...r}})=>e(k1,{annotationConfig:a,annotation:t,...r,selectedKey:l==null?void 0:l.label,onSubmitExplanation:o=>{t!=null&&t.id&&r.onChange({...t,name:a.name,explanation:o})},onSelectionChange:o=>{var d,u;let c=o;if(c===(l==null?void 0:l.label)&&(c=null),typeof c=="string"&&c!=null){const g={...t,id:t==null?void 0:t.id,name:a.name,label:c,score:((u=(d=a.values)==null?void 0:d.find(h=>h.label===c))==null?void 0:u.score)??null};r.onChange(g)}else r.onChange({...t,id:t==null?void 0:t.id,name:a.name,label:null,score:null})}})}),a.annotationType==="CONTINUOUS"&&e(H,{control:i,name:a.name,render:({field:{value:l,...r}})=>e(w1,{annotationConfig:a,annotation:t,...r,onSubmitExplanation:o=>{t!=null&&t.id&&r.onChange({...t,name:a.name,explanation:o})},value:(l==null?void 0:l.score)??void 0,onChange:o=>{r.onChange({...t,id:t==null?void 0:t.id,name:a.name,score:o})}})}),a.annotationType==="FREEFORM"&&e(H,{control:i,name:a.name,render:({field:{value:l,...r}})=>e(S1,{annotationConfig:a,annotation:t,...r,value:(l==null?void 0:l.explanation)??"",onChange:o=>{r.onChange({...t,id:t==null?void 0:t.id,name:a.name,explanation:o})}})})]})}const i5="e";function l5(n){const{projectId:a,spanNodeId:t}=n,[i,l]=p.useState(null);return e(x,{height:"100%",maxHeight:"100%",overflow:"auto",children:s(S,{direction:"column",height:"100%",children:[e(x,{paddingY:"size-100",paddingX:"size-100",borderBottomWidth:"thin",borderColor:"dark",width:"100%",flex:"none",children:e(S,{direction:"row",alignItems:"center",justifyContent:"end",width:"100%",children:e(r5,{projectId:a,spanNodeId:t,disabled:i!==null,onAnnotationNameSelect:l})})}),e(p.Suspense,{children:e(c5,{spanId:t,projectId:a})})]})})}function r5(n){const{projectId:a,disabled:t=!1,spanNodeId:i,onAnnotationNameSelect:l}=n;return e(j,{children:s(fe,{children:[e(M,{variant:t?"default":"primary",isDisabled:t,size:"S",leadingVisual:e(I,{svg:e(At,{})}),children:"Add Annotation"}),e(ne,{style:{border:"none"},placement:"bottom end",children:e(oe,{children:({close:r})=>e(o5,{projectId:a,spanNodeId:i,onAnnotationNameSelect:o=>{l(o)},onClose:r})})})]})})}function o5(n){const{projectId:a,spanNodeId:t,onClose:i}=n;return e(Ri,{title:"Add Annotation from Config",backgroundColor:"light",borderColor:"light",variant:"compact",bodyStyle:{padding:0},children:e(p.Suspense,{children:e(d5,{projectId:a,spanId:t,onClose:i})})})}const s5=n=>!n.matches("button.annotation-input-explanation");function c5(n){var W,_;const{spanId:a,projectId:t,extraAnnotationCards:i}=n,{viewer:l}=dn(),r=Yi(),o=p.useMemo(()=>l?[l.id]:[null],[l]),c=F.useLazyLoadQuery(h1,{projectId:t,spanId:a,filterUserIds:o}),d=F.useFragment(p1,c.span),u=c.span.id,g=d.filteredSpanAnnotations,h=p.useMemo(()=>Co(g),[g]),f=p.useMemo(()=>new Set(h.map(T=>T.id)),[h]),b=(_=(W=c.project)==null?void 0:W.annotationConfigs)==null?void 0:_.configs,y=(b==null?void 0:b.length)??0,k=El(),L=k==null?void 0:k.timeRange,[w]=F.useMutation(m1),E=p.useCallback(T=>new Promise($=>{var J,me;T.id?w({variables:{spanId:u,annotationIds:[T.id],timeRange:{start:(J=L==null?void 0:L.start)==null?void 0:J.toISOString(),end:(me=L==null?void 0:L.end)==null?void 0:me.toISOString()},projectId:t,filterUserIds:o},onCompleted:()=>{$({success:!0})},onError:Ie=>{$({success:!1,error:Ie.message}),r({title:"Error deleting annotation",message:Ie.message})}}):$({success:!0})}),[w,u,L,t,r,o]),[V]=F.useMutation(g1),z=p.useCallback(T=>new Promise($=>{const J=T.id;J&&p.startTransition(()=>{var me,Ie;V({variables:{annotationId:J,spanId:u,name:T.name,label:T.label,score:T.score,explanation:T.explanation||null,filterUserIds:o,timeRange:{start:(me=L==null?void 0:L.start)==null?void 0:me.toISOString(),end:(Ie=L==null?void 0:L.end)==null?void 0:Ie.toISOString()},projectId:t},onCompleted:()=>{$({success:!0})},onError:Vt=>{$({success:!1,error:Vt.message}),r({title:"Error editing annotation",message:Vt.message})}})})}),[V,u,o,L,t,r]),[D]=F.useMutation(u1),G=p.useCallback(T=>new Promise($=>{var J,me;D({variables:{input:{...T,spanId:u,annotatorKind:"HUMAN",explanation:T.explanation||null,source:"APP"},name:T.name,spanId:u,filterUserIds:o,timeRange:{start:(J=L==null?void 0:L.start)==null?void 0:J.toISOString(),end:(me=L==null?void 0:L.end)==null?void 0:me.toISOString()},projectId:t},onCompleted:()=>{$({success:!0})},onError:Ie=>{$({success:!1,error:Ie.message}),r({title:"Error creating annotation",message:Ie.message})}})}),[D,u,L,t,r,o]);return s(x,{height:"100%",maxHeight:"100%",overflow:"auto",width:"100%",padding:"size-200",children:[!y&&!i&&s(S,{direction:"column",alignItems:"center",justifyContent:"center",height:"100%",children:[e(U0,{graphicKey:"documents",message:"No annotation configurations for this project"}),e(ua,{to:"/settings/annotations",children:"Configure Annotation Configs"})]}),!!y&&s(aa,{children:[e(Gu,{hotkey:i5,accept:s5}),b==null?void 0:b.map((T,$)=>{const J=h.find(me=>me.name===T.config.name);return e(n5,{annotationConfig:T.config,currentAnnotationIDs:f,annotation:J,onCreate:G,onUpdate:z,onDelete:E,children:e(t5,{annotation:J,annotationConfig:T.config})},`${$}_${T.config.name}_form`)})]})]})}function d5(n){const{projectId:a,spanId:t}=n;return e(x,{minWidth:320,children:e(p.Suspense,{fallback:e(ge,{}),children:e(S,{direction:"column",gap:"size-100",children:e(e5,{projectId:a,spanId:t})})})})}const x1=m`
|
|
4150
4162
|
display: flex;
|
|
4151
4163
|
flex-direction: column;
|
|
4152
4164
|
gap: var(--ac-global-dimension-size-50);
|
|
@@ -4157,7 +4169,7 @@ fragment AnnotationConfigListProjectAnnotationConfigFragment on Project {
|
|
|
4157
4169
|
&[data-outgoing="false"] {
|
|
4158
4170
|
align-self: flex-start;
|
|
4159
4171
|
}
|
|
4160
|
-
`,
|
|
4172
|
+
`,T1=m`
|
|
4161
4173
|
display: flex;
|
|
4162
4174
|
gap: var(--ac-global-dimension-size-100);
|
|
4163
4175
|
width: 80%;
|
|
@@ -4166,7 +4178,7 @@ fragment AnnotationConfigListProjectAnnotationConfigFragment on Project {
|
|
|
4166
4178
|
flex-direction: row-reverse;
|
|
4167
4179
|
align-self: flex-end;
|
|
4168
4180
|
}
|
|
4169
|
-
`,Xa=24,
|
|
4181
|
+
`,Xa=24,u5=m`
|
|
4170
4182
|
padding: var(--ac-global-dimension-size-100)
|
|
4171
4183
|
var(--ac-global-dimension-size-150);
|
|
4172
4184
|
font-size: var(--ac-global-font-size-s);
|
|
@@ -4184,7 +4196,7 @@ fragment AnnotationConfigListProjectAnnotationConfigFragment on Project {
|
|
|
4184
4196
|
border-radius: var(--ac-global-rounding-large)
|
|
4185
4197
|
var(--ac-global-rounding-large) var(--ac-global-rounding-large) 0;
|
|
4186
4198
|
}
|
|
4187
|
-
`,
|
|
4199
|
+
`,g5=m`
|
|
4188
4200
|
font-size: var(--ac-global-font-size-xs);
|
|
4189
4201
|
color: var(--ac-global-text-color-500);
|
|
4190
4202
|
padding-left: calc(
|
|
@@ -4197,13 +4209,13 @@ fragment AnnotationConfigListProjectAnnotationConfigFragment on Project {
|
|
|
4197
4209
|
${Xa}px + var(--ac-global-dimension-size-100)
|
|
4198
4210
|
);
|
|
4199
4211
|
}
|
|
4200
|
-
`;function
|
|
4212
|
+
`;function D8({text:n,timestamp:a,isOutgoing:t=!1,userName:i,userPicture:l=null}){return s("div",{css:x1,"data-outgoing":t,children:[s("div",{css:T1,"data-outgoing":t,children:[e(Wl,{name:i,profilePictureUrl:l,size:Xa}),e("div",{css:u5,"data-outgoing":t,children:n})]}),e("div",{css:g5,"data-outgoing":t,children:e("time",{dateTime:a.toISOString(),children:L2(a)})})]})}function _8({onSendMessage:n,isSending:a=!1,placeholder:t="Type a message"}){const[i,l]=p.useState(""),r=()=>{i.trim()&&(n&&n(i.trim()),l(""))};return e(x,{padding:"size-100",width:"100%",flex:"none",children:s(S,{direction:"row",gap:"size-100",children:[e(U,{size:"M",value:i,onChange:l,onKeyDown:c=>{c.key==="Enter"&&!c.shiftKey&&(c.preventDefault(),r())},"aria-label":"Message input",isDisabled:a,children:e(Z,{placeholder:t})}),e(M,{size:"M",variant:"primary",isDisabled:!i.trim()||a,onPress:r,"aria-label":a?"Sending message...":"Send",leadingVisual:a?e(I,{svg:e(Il,{})}):e(I,{svg:e(vc,{})})})]})})}const hi=24,m5=m`
|
|
4201
4213
|
flex: none;
|
|
4202
|
-
`,
|
|
4214
|
+
`,p5=m`
|
|
4203
4215
|
width: 100%;
|
|
4204
|
-
`,
|
|
4216
|
+
`,h5=m`
|
|
4205
4217
|
width: 100%;
|
|
4206
|
-
`,
|
|
4218
|
+
`,f5=m`
|
|
4207
4219
|
&[data-outgoing="true"] {
|
|
4208
4220
|
border-radius: var(--ac-global-rounding-large)
|
|
4209
4221
|
var(--ac-global-rounding-large) 0 var(--ac-global-rounding-large);
|
|
@@ -4212,7 +4224,7 @@ fragment AnnotationConfigListProjectAnnotationConfigFragment on Project {
|
|
|
4212
4224
|
border-radius: var(--ac-global-rounding-large)
|
|
4213
4225
|
var(--ac-global-rounding-large) var(--ac-global-rounding-large) 0;
|
|
4214
4226
|
}
|
|
4215
|
-
`;function
|
|
4227
|
+
`;function K8({isOutgoing:n=!1,height:a=80}){return e("div",{css:m(x1,h5),"data-outgoing":n,"data-testid":"message-container",children:s("div",{css:m(T1,p5),"data-outgoing":n,children:[e(an,{width:hi,height:hi,borderRadius:"circle",animation:"pulse",css:m5}),e(an,{"data-outgoing":n,height:a,animation:"wave","data-testid":"message-bubble-skeleton",css:f5})]})})}function P8(n){const{kind:a}=n;return e(je,{size:"S",color:a==="HUMAN"?"var(--ac-global-color-blue-500)":"var(--ac-global-color-orange-500)",children:a})}const A1=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"annotationId"},{defaultValue:null,kind:"LocalArgument",name:"spanId"}],a=[{fields:[{items:[{kind:"Variable",name:"annotationIds.0",variableName:"annotationId"}],kind:"ListValue",name:"annotationIds"}],kind:"ObjectValue",name:"input"}],t=[{kind:"Variable",name:"id",variableName:"spanId"}],i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"annotatorKind",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"explanation",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"SpanAnnotationActionMenuDeleteMutation",selections:[{alias:null,args:a,concreteType:"SpanAnnotationMutationPayload",kind:"LinkedField",name:"deleteSpanAnnotations",plural:!1,selections:[{alias:null,args:null,concreteType:"Query",kind:"LinkedField",name:"query",plural:!1,selections:[{alias:null,args:t,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"SpanAnnotationsEditor_spanAnnotations"},{args:null,kind:"FragmentSpread",name:"SpanFeedback_annotations"}],type:"Span",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"SpanAnnotationActionMenuDeleteMutation",selections:[{alias:null,args:a,concreteType:"SpanAnnotationMutationPayload",kind:"LinkedField",name:"deleteSpanAnnotations",plural:!1,selections:[{alias:null,args:null,concreteType:"Query",kind:"LinkedField",name:"query",plural:!1,selections:[{alias:null,args:t,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i,{kind:"InlineFragment",selections:[{alias:"filteredSpanAnnotations",args:[{fields:[{kind:"Literal",name:"exclude",value:{names:["note"]}},{fields:[{kind:"Literal",name:"userIds",value:null}],kind:"ObjectValue",name:"include"}],kind:"ObjectValue",name:"filter"}],concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[i,l,r,o,c,d,u],storageKey:'spanAnnotations(filter:{"exclude":{"names":["note"]},"include":{"userIds":null}})'},{alias:null,args:null,concreteType:"SpanAnnotation",kind:"LinkedField",name:"spanAnnotations",plural:!0,selections:[i,l,c,o,d,{alias:null,args:null,kind:"ScalarField",name:"metadata",storageKey:null},r,{alias:null,args:null,kind:"ScalarField",name:"identifier",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"source",storageKey:null},u,{alias:null,args:null,kind:"ScalarField",name:"updatedAt",storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[i,{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profilePictureUrl",storageKey:null}],storageKey:null}],storageKey:null}],type:"Span",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{cacheID:"bcdc8dccf3bfa49b8aa7960710a4deed",id:null,metadata:{},name:"SpanAnnotationActionMenuDeleteMutation",operationKind:"mutation",text:`mutation SpanAnnotationActionMenuDeleteMutation(
|
|
4216
4228
|
$annotationId: ID!
|
|
4217
4229
|
$spanId: ID!
|
|
4218
4230
|
) {
|
|
@@ -4264,7 +4276,7 @@ fragment SpanFeedback_annotations on Span {
|
|
|
4264
4276
|
}
|
|
4265
4277
|
}
|
|
4266
4278
|
}
|
|
4267
|
-
`}}}();
|
|
4279
|
+
`}}}();A1.hash="436457e2120f7750037b024a1b96e214";function V8(n){const{annotationId:a,spanNodeId:t,annotationName:i,onSpanAnnotationActionSuccess:l,onSpanAnnotationActionError:r,buttonVariant:o,buttonSize:c}=n,[d]=F.useMutation(A1),u=p.useCallback(()=>{p.startTransition(()=>{d({variables:{annotationId:a,spanId:t},onCompleted:()=>{l({title:"Annotation Deleted",message:`Annotation ${i} has been deleted.`})},onError:b=>{r(b)}})})},[d,a,t,l,i,r]),g=p.useRef(null),[h,f]=p.useState(!1);return s(j,{children:[s(fe,{children:[e(M,{ref:g,size:c,variant:o,leadingVisual:e(I,{svg:e(bc,{})})}),e(ne,{children:e(oe,{children:({close:b})=>e(ue,{style:{minHeight:"auto"},children:e(tn,{id:"deleteAnnotation",onAction:()=>{f(!0),b()},children:s(S,{direction:"row",gap:"size-75",justifyContent:"start",alignItems:"center",children:[e(I,{svg:e(It,{})}),e(v,{children:"Delete"})]})})})})})]}),e(fe,{isOpen:h,onOpenChange:f,children:e(ne,{children:e(xn,{children:e(Sn,{children:e(oe,{children:({close:b})=>s(_e,{children:[e(Ke,{children:e(Pe,{children:"Delete Annotation"})}),e(x,{padding:"size-200",children:e(v,{color:"danger",children:`Are you sure you want to delete annotation ${i}? This cannot be undone.`})}),e(x,{paddingEnd:"size-200",paddingTop:"size-100",paddingBottom:"size-100",borderTopColor:"light",borderTopWidth:"thin",children:s(S,{direction:"row",justifyContent:"end",gap:"size-200",children:[e(Hl,{children:e(M,{onPress:b,children:"Cancel"})}),e(M,{variant:"danger",onPress:()=>{u()},children:"Delete Annotation"})]})})]})})})})})})]})}const I1=function(){var n={defaultValue:null,kind:"LocalArgument",name:"description"},a={defaultValue:null,kind:"LocalArgument",name:"metadata"},t={defaultValue:null,kind:"LocalArgument",name:"name"},i=[{alias:null,args:[{fields:[{kind:"Variable",name:"description",variableName:"description"},{kind:"Variable",name:"metadata",variableName:"metadata"},{kind:"Variable",name:"name",variableName:"name"}],kind:"ObjectValue",name:"input"}],concreteType:"DatasetMutationPayload",kind:"LinkedField",name:"createDataset",plural:!1,selections:[{alias:null,args:null,concreteType:"Dataset",kind:"LinkedField",name:"dataset",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"metadata",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"exampleCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"experimentCount",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[n,a,t],kind:"Fragment",metadata:null,name:"CreateDatasetFormMutation",selections:i,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[t,n,a],kind:"Operation",name:"CreateDatasetFormMutation",selections:i},params:{cacheID:"6aa615e27e1ccaa5431ba481842b43d0",id:null,metadata:{},name:"CreateDatasetFormMutation",operationKind:"mutation",text:`mutation CreateDatasetFormMutation(
|
|
4268
4280
|
$name: String!
|
|
4269
4281
|
$description: String = null
|
|
4270
4282
|
$metadata: JSON = null
|
|
@@ -4281,7 +4293,7 @@ fragment SpanFeedback_annotations on Span {
|
|
|
4281
4293
|
}
|
|
4282
4294
|
}
|
|
4283
4295
|
}
|
|
4284
|
-
`}}}();
|
|
4296
|
+
`}}}();I1.hash="5921369d33cc0fb1dffb5d943469a378";function M1({datasetName:n,datasetDescription:a,datasetMetadata:t,onSubmit:i,isSubmitting:l,submitButtonText:r,formMode:o}){const{control:c,handleSubmit:d,formState:{isDirty:u}}=Oe({defaultValues:{name:n??"Dataset "+new Date().toISOString(),description:a??"",metadata:JSON.stringify(t,null,2)??"{}"}});return s(cn,{children:[s(x,{padding:"size-200",children:[e(H,{name:"name",control:c,rules:{required:"Dataset name is required"},render:({field:{onChange:g,onBlur:h,value:f},fieldState:{invalid:b,error:y}})=>s(U,{isInvalid:b,onChange:g,onBlur:h,value:f.toString(),children:[e(P,{children:"Dataset Name"}),e(Z,{placeholder:"e.x. Golden Dataset"}),y!=null&&y.message?e(X,{children:y.message}):e(v,{slot:"description",children:"The name of the dataset"})]})}),e(H,{name:"description",control:c,render:({field:{onChange:g,onBlur:h,value:f},fieldState:{invalid:b,error:y}})=>s(U,{isInvalid:b,onChange:g,onBlur:h,value:f.toString(),children:[e(P,{children:"Description"}),e(tt,{placeholder:"e.x. A golden dataset for structured data extraction"}),y!=null&&y.message?e(X,{children:y.message}):e(v,{slot:"description",children:"The description of the dataset"})]})}),e(H,{name:"metadata",control:c,rules:{validate:g=>qs(g)?!0:"metadata must be a valid JSON object"},render:({field:{onChange:g,onBlur:h,value:f},fieldState:{invalid:b,error:y}})=>e(Wd,{validationState:b?"invalid":"valid",label:"metadata",errorMessage:y==null?void 0:y.message,description:"A JSON object containing metadata for the dataset",children:e(jd,{value:f,onChange:g,onBlur:h})})})]}),e(x,{paddingEnd:"size-200",paddingTop:"size-100",paddingBottom:"size-100",borderTopColor:"light",borderTopWidth:"thin",children:e(S,{direction:"row",justifyContent:"end",children:e(M,{isDisabled:(o==="edit"?!u:!1)||l,variant:u?"primary":"default",size:"S",onPress:()=>{d(i)()},children:r})})})]})}function b5(n){const{onDatasetCreated:a,onDatasetCreateError:t}=n,[i,l]=F.useMutation(I1),r=p.useCallback(o=>{i({variables:{...o,metadata:JSON.parse(o.metadata)},onCompleted:c=>{a(c.createDataset.dataset)},updater:c=>{const d=F.ConnectionHandler.getConnectionID("client:root","DatasetPicker__datasets"),g=c.getRootField("createDataset").getLinkedRecord("dataset"),h=c.get(d);if(h&&g){const f=F.ConnectionHandler.createEdge(c,h,g,"DatasetEdge");F.ConnectionHandler.insertEdgeAfter(h,f)}},onError:c=>{t(c)}})},[i,a,t]);return e(M1,{isSubmitting:l,onSubmit:r,submitButtonText:l?"Creating...":"Create Dataset",formMode:"create"})}const z1=function(){var n={defaultValue:null,kind:"LocalArgument",name:"datasetId"},a={defaultValue:null,kind:"LocalArgument",name:"description"},t={defaultValue:null,kind:"LocalArgument",name:"metadata"},i={defaultValue:null,kind:"LocalArgument",name:"name"},l=[{fields:[{kind:"Variable",name:"datasetId",variableName:"datasetId"},{kind:"Variable",name:"description",variableName:"description"},{kind:"Variable",name:"metadata",variableName:"metadata"},{kind:"Variable",name:"name",variableName:"name"}],kind:"ObjectValue",name:"input"}],r={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"metadata",storageKey:null};return{fragment:{argumentDefinitions:[n,a,t,i],kind:"Fragment",metadata:null,name:"EditDatasetFormMutation",selections:[{alias:null,args:l,concreteType:"DatasetMutationPayload",kind:"LinkedField",name:"patchDataset",plural:!1,selections:[{alias:null,args:null,concreteType:"Dataset",kind:"LinkedField",name:"dataset",plural:!1,selections:[r,o,c],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,i,a,t],kind:"Operation",name:"EditDatasetFormMutation",selections:[{alias:null,args:l,concreteType:"DatasetMutationPayload",kind:"LinkedField",name:"patchDataset",plural:!1,selections:[{alias:null,args:null,concreteType:"Dataset",kind:"LinkedField",name:"dataset",plural:!1,selections:[r,o,c,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}]},params:{cacheID:"24675cd487da4f57f6aa04d850e65ad3",id:null,metadata:{},name:"EditDatasetFormMutation",operationKind:"mutation",text:`mutation EditDatasetFormMutation(
|
|
4285
4297
|
$datasetId: ID!
|
|
4286
4298
|
$name: String!
|
|
4287
4299
|
$description: String = null
|
|
@@ -4296,7 +4308,7 @@ fragment SpanFeedback_annotations on Span {
|
|
|
4296
4308
|
}
|
|
4297
4309
|
}
|
|
4298
4310
|
}
|
|
4299
|
-
`}}}();
|
|
4311
|
+
`}}}();z1.hash="e952d9cbc840dd6cd447b3024178aab4";function O8({datasetName:n,datasetId:a,datasetDescription:t,onDatasetEdited:i,onDatasetEditError:l,datasetMetadata:r}){const[o,c]=F.useMutation(z1);return e(M1,{datasetName:n,datasetDescription:t,datasetMetadata:r,onSubmit:u=>{o({variables:{datasetId:a,...u,metadata:JSON.parse(u.metadata)},onCompleted:()=>{i()},onError:g=>{l(g)}})},isSubmitting:c,submitButtonText:c?"Saving...":"Save",formMode:"edit"})}const F1=function(){var n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},a={alias:"dataset",args:null,concreteType:"Dataset",kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"exampleCount",storageKey:null}],storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},l={alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null},r=[{kind:"Literal",name:"first",value:100}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"DatasetSelectQuery",selections:[{alias:"datasets",args:null,concreteType:"DatasetConnection",kind:"LinkedField",name:"__DatasetPicker__datasets_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"DatasetEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[a,t,{alias:null,args:null,concreteType:"Dataset",kind:"LinkedField",name:"node",plural:!1,selections:[i],storageKey:null}],storageKey:null},l],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"DatasetSelectQuery",selections:[{alias:null,args:r,concreteType:"DatasetConnection",kind:"LinkedField",name:"datasets",plural:!1,selections:[{alias:null,args:null,concreteType:"DatasetEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[a,t,{alias:null,args:null,concreteType:"Dataset",kind:"LinkedField",name:"node",plural:!1,selections:[i,n],storageKey:null}],storageKey:null},l],storageKey:"datasets(first:100)"},{alias:null,args:r,filters:null,handle:"connection",key:"DatasetPicker__datasets",kind:"LinkedHandle",name:"datasets"}]},params:{cacheID:"e6bd6ad78e045a4cc2a4dad99aeb6fe3",id:null,metadata:{connection:[{count:null,cursor:null,direction:"forward",path:["datasets"]}]},name:"DatasetSelectQuery",operationKind:"query",text:`query DatasetSelectQuery {
|
|
4300
4312
|
datasets(first: 100) {
|
|
4301
4313
|
edges {
|
|
4302
4314
|
dataset: node {
|
|
@@ -4316,11 +4328,11 @@ fragment SpanFeedback_annotations on Span {
|
|
|
4316
4328
|
}
|
|
4317
4329
|
}
|
|
4318
4330
|
}
|
|
4319
|
-
`}}}();
|
|
4331
|
+
`}}}();F1.hash="8125ffe6752f16b2629b9773330a0a70";function R8(n){const a=F.useLazyLoadQuery(F1,{},{fetchPolicy:"store-and-network"});return s(Ae,{"data-testid":"dataset-picker",size:n.size,className:"dataset-picker","aria-label":"select a dataset",onSelectionChange:t=>{var i;t&&((i=n.onSelectionChange)==null||i.call(n,t.toString()))},placeholder:n.placeholder??"Select a dataset",onBlur:n.onBlur,isRequired:n.isRequired,selectedKey:n.selectedKey,children:[n.label&&e(P,{children:n.label}),s(M,{className:"dataset-picker-button",children:[e(Te,{}),e(be,{})]}),n.errorMessage&&e(v,{slot:"errorMessage",children:n.errorMessage}),e(ne,{children:e(ue,{css:m`
|
|
4320
4332
|
min-height: auto;
|
|
4321
|
-
`,children:a.datasets.edges.map(({dataset:t})=>e(q,{id:t.id,children:s(S,{direction:"row",alignItems:"center",gap:"size-200",justifyContent:"space-between",width:"100%",children:[e(v,{children:t.name}),s(v,{color:"text-700",size:"XS",children:[t.exampleCount," examples"]})]})},t.id))})})]})}function
|
|
4333
|
+
`,children:a.datasets.edges.map(({dataset:t})=>e(q,{id:t.id,children:s(S,{direction:"row",alignItems:"center",gap:"size-200",justifyContent:"space-between",width:"100%",children:[e(v,{children:t.name}),s(v,{color:"text-700",size:"XS",children:[t.exampleCount," examples"]})]})},t.id))})})]})}function N8({onDatasetCreated:n}){const[a,t]=p.useState(null),[i,l]=p.useState(!1),r=dt();return s(fe,{isOpen:i,onOpenChange:o=>{t(null),l(o)},children:[e(M,{variant:"default",leadingVisual:e(I,{svg:e(At,{})}),"aria-label":"Create a new dataset",onPress:()=>{t(null),l(!0)}}),e(ne,{placement:"bottom right",css:m`
|
|
4322
4334
|
border: none;
|
|
4323
|
-
`,children:e(Ri,{title:"Create New Dataset",bodyStyle:{padding:0},variant:"compact",borderColor:"light",backgroundColor:"light",children:s(x,{width:"500px",children:[a?e(Mt,{variant:"danger",children:a}):null,e(
|
|
4335
|
+
`,children:e(Ri,{title:"Create New Dataset",bodyStyle:{padding:0},variant:"compact",borderColor:"light",backgroundColor:"light",children:s(x,{width:"500px",children:[a?e(Mt,{variant:"danger",children:a}):null,e(b5,{onDatasetCreateError:o=>{const c=Rl(o);t((c==null?void 0:c[0])??o.message)},onDatasetCreated:({id:o,name:c})=>{t(null),l(!1),n&&n(o),r({title:"Dataset Created",message:`Dataset "${c}" created successfully`})}})]})})})]})}const $8=({buttonText:n,successText:a,tooltipText:t="Copy link to clipboard",preserveSearchParams:i=!1})=>{const l=Wr(),r=dt();return s(de,{delay:200,children:[e(M,{size:"S",leadingVisual:e(I,{svg:e(Sc,{})}),onPress:()=>{const o=new URL(l.pathname,window.location.origin);i&&(o.search=l.search),navigator.clipboard.writeText(o.toString()),r({title:a??"Link copied to clipboard",expireMs:1e3})},children:n}),e(at,{offset:10,children:e(x,{padding:"size-100",backgroundColor:"light",borderColor:"dark",borderWidth:"thin",borderRadius:"small",children:e(v,{children:t})})})]})};function B8(n){return s(oe,{children:[s(Ke,{children:[e(Pe,{children:"Annotate"}),e(Ge,{children:e(We,{slot:"close"})})]}),e(_e,{children:e(l5,{...n})})]})}function y5({listeners:n,attributes:a},t){return e("button",{ref:t,...n,...a,"aria-roledescription":"draggable","aria-pressed":"false","aria-disabled":"false",className:"button--reset",css:m`
|
|
4324
4336
|
cursor: grab;
|
|
4325
4337
|
background-color: var(--ac-global-color-grey-200);
|
|
4326
4338
|
border: 1px solid var(--ac-global-color-grey-400);
|
|
@@ -4332,9 +4344,9 @@ fragment SpanFeedback_annotations on Span {
|
|
|
4332
4344
|
var(--ac-global-dimension-size-50);
|
|
4333
4345
|
border-radius: var(--ac-global-rounding-small);
|
|
4334
4346
|
overflow: hidden;
|
|
4335
|
-
`,children:e("svg",{viewBox:"0 0 20 20",width:"12",fill:"currentColor",children:e("path",{d:"M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z"})})})}const
|
|
4347
|
+
`,children:e("svg",{viewBox:"0 0 20 20",width:"12",fill:"currentColor",children:e("path",{d:"M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z"})})})}const H8=qe.forwardRef(y5);function j8({preInitializationMinHeight:n,children:a}){const[t,i]=p.useState(!1),[l,r]=p.useState(!1),o=p.useRef(null);return p.useEffect(()=>{const c=new IntersectionObserver(([u])=>{i(u.isIntersecting)});o.current&&c.observe(o.current);const d=o.current;return()=>{d&&c.unobserve(d)}},[]),p.useLayoutEffect(()=>{t&&!l&&r(!0)},[l,t]),e("div",{ref:o,css:m`
|
|
4336
4348
|
min-height: ${l?"auto":`${n}px`};
|
|
4337
|
-
`,children:a})}function
|
|
4349
|
+
`,children:a})}function Z8(n){return Object.values(Ee).includes(n)}const E1=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],a=[{kind:"Variable",name:"id",variableName:"nodeId"}],t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"cost",storageKey:null},l=[i],r={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SpanCostSummary",kind:"LinkedField",name:"cumulativeCostSummary",plural:!1,selections:[{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"total",plural:!1,selections:l,storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"prompt",plural:!1,selections:l,storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"completion",plural:!1,selections:l,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"SpanCostDetailSummaryEntry",kind:"LinkedField",name:"cumulativeCostDetailSummaryEntries",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"tokenType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isPrompt",storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"value",plural:!1,selections:[i,{alias:null,args:null,kind:"ScalarField",name:"tokens",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"costPerToken",storageKey:null}],storageKey:null}],storageKey:null}],type:"Span",abstractKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"SpanCumulativeTokenCostsDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,r],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"SpanCumulativeTokenCostsDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,r,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{cacheID:"9887c7151c5fa580f04d289f60f6d207",id:null,metadata:{},name:"SpanCumulativeTokenCostsDetailsQuery",operationKind:"query",text:`query SpanCumulativeTokenCostsDetailsQuery(
|
|
4338
4350
|
$nodeId: ID!
|
|
4339
4351
|
) {
|
|
4340
4352
|
node(id: $nodeId) {
|
|
@@ -4364,7 +4376,7 @@ fragment SpanFeedback_annotations on Span {
|
|
|
4364
4376
|
id
|
|
4365
4377
|
}
|
|
4366
4378
|
}
|
|
4367
|
-
`}}}();
|
|
4379
|
+
`}}}();E1.hash="4076bfd245f0ea021783c5b919c597dd";function v5(n){const a=F.useLazyLoadQuery(E1,{nodeId:n.spanNodeId}),t=p.useMemo(()=>{var i,l,r,o,c,d;if(a.node.__typename==="Span"){const u=a.node.cumulativeCostDetailSummaryEntries;if(!u)return{total:null,prompt:null,completion:null,promptDetails:null,completionDetails:null};const g=u.filter(w=>w.isPrompt),h=u.filter(w=>!w.isPrompt),f=((l=(i=a.node.cumulativeCostSummary)==null?void 0:i.total)==null?void 0:l.cost)??0,b=((o=(r=a.node.cumulativeCostSummary)==null?void 0:r.prompt)==null?void 0:o.cost)??0,y=((d=(c=a.node.cumulativeCostSummary)==null?void 0:c.completion)==null?void 0:d.cost)??0,k={};g.forEach(w=>{w.value.cost!=null&&(k[w.tokenType]=w.value.cost)});const L={};return h.forEach(w=>{w.value.cost!=null&&(L[w.tokenType]=w.value.cost)}),{total:f,prompt:b,completion:y,promptDetails:Object.keys(k).length>0?k:null,completionDetails:Object.keys(L).length>0?L:null}}return{total:null,prompt:null,completion:null,promptDetails:null,completionDetails:null}},[a.node]);return e(ya,{...t})}function U8(n){return s(de,{children:[e(ce,{children:e(ba,{size:n.size,role:"button",children:n.totalCost})}),s(ye,{children:[e(Le,{}),e(p.Suspense,{fallback:e(ge,{}),children:e(v5,{spanNodeId:n.spanNodeId})})]})]})}function G8(n){return s("div",{role:"toolbar",css:m`
|
|
4368
4380
|
padding: var(--ac-global-dimension-static-size-50)
|
|
4369
4381
|
var(--ac-global-dimension-static-size-200);
|
|
4370
4382
|
display: flex;
|
|
@@ -4380,7 +4392,7 @@ fragment SpanFeedback_annotations on Span {
|
|
|
4380
4392
|
flex-direction: row;
|
|
4381
4393
|
gap: var(--ac-global-dimension-static-size-100);
|
|
4382
4394
|
}
|
|
4383
|
-
`,children:[e("div",{"data-testid":"toolbar-main",className:"toolbar__main",children:n.children}),n.extra?e("div",{"data-testid":"toolbar-extra",children:n.extra}):null]})}const
|
|
4395
|
+
`,children:[e("div",{"data-testid":"toolbar-main",className:"toolbar__main",children:n.children}),n.extra?e("div",{"data-testid":"toolbar-extra",children:n.extra}):null]})}const C5=m`
|
|
4384
4396
|
/* Align with other toolbar components */
|
|
4385
4397
|
.react-aria-Button {
|
|
4386
4398
|
height: 30px;
|
|
@@ -4393,7 +4405,7 @@ fragment SpanFeedback_annotations on Span {
|
|
|
4393
4405
|
font-size: var(--ac-global-dimension-static-font-size-75);
|
|
4394
4406
|
font-weight: var(--px-font-weight-heavy);
|
|
4395
4407
|
}
|
|
4396
|
-
`,
|
|
4408
|
+
`,L5=m`
|
|
4397
4409
|
/* Target the button element specifically */
|
|
4398
4410
|
button[aria-haspopup="listbox"] {
|
|
4399
4411
|
border: 1.1px solid var(--ac-global-color-designation-turquoise) !important;
|
|
@@ -4403,15 +4415,15 @@ fragment SpanFeedback_annotations on Span {
|
|
|
4403
4415
|
border-color: white !important;
|
|
4404
4416
|
}
|
|
4405
4417
|
}
|
|
4406
|
-
`;function
|
|
4418
|
+
`;function W8(n){const{timeRange:a,timePreset:t,setTimePreset:i}=os(),{primaryInferences:{name:l}}=ta(),r=l.slice(0,10);return e("div",{css:L5,children:e(Ni,{color:"designationTurquoise",children:s(ve,{children:[e(Ze,{children:s(Ae,{selectedKey:t,"data-testid":"inferences-time-range","aria-label":"Time range for the primary inferences",onSelectionChange:o=>{o!==t&&i(o)},css:C5,children:[s(P,{children:[r," inferences"]}),s(M,{children:[e(Te,{}),e(be,{})]}),e(v,{slot:"description",children:""}),e(ne,{children:s(ue,{children:[e(q,{id:Q.all,children:"All"},Q.all),e(q,{id:Q.last_hour,children:"Last Hour"},Q.last_hour),e(q,{id:Q.last_day,children:"Last Day"},Q.last_day),e(q,{id:Q.last_week,children:"Last Week"},Q.last_week),e(q,{id:Q.last_month,children:"Last Month"},Q.last_month),e(q,{id:Q.last_3_months,children:"Last 3 Months"},Q.last_3_months),e(q,{id:Q.first_hour,children:"First Hour"},Q.first_hour),e(q,{id:Q.first_day,children:"First Day"},Q.first_day),e(q,{id:Q.first_week,children:"First Week"},Q.first_week),e(q,{id:Q.first_month,children:"First Month"},Q.first_month)]})})]})}),e(xo,{children:s("section",{css:m`
|
|
4407
4419
|
h4 {
|
|
4408
4420
|
margin-bottom: 0.5rem;
|
|
4409
4421
|
}
|
|
4410
|
-
`,children:[e(Y,{level:4,children:"primary inferences time range"}),s("div",{children:["start: "
|
|
4422
|
+
`,children:[e(Y,{level:4,children:"primary inferences time range"}),s("div",{children:["start: ",$e(a.start)]}),s("div",{children:["end: ",$e(a.end)]})]})})]})})})}const fi=zn("%x %X");function Q8({timeRange:n}){const{referenceInferences:a}=ta(),i=((a==null?void 0:a.name)??"reference").slice(0,10);return e("div",{css:m`
|
|
4411
4423
|
.ac-textfield {
|
|
4412
4424
|
min-width: 331px;
|
|
4413
4425
|
}
|
|
4414
|
-
`,children:e(Ni,{color:"designationPurple",children:s(
|
|
4426
|
+
`,children:e(Ni,{color:"designationPurple",children:s(ve,{children:[e(Ze,{children:s(U,{isReadOnly:!0,"aria-label":"reference inferences time range",value:`${fi(n.start)} - ${fi(n.end)}`,children:[e(P,{children:`${i} inferences`}),e(Z,{})]})}),e(De,{children:"The static time range of the reference inferences"})]})})})}const D1=function(){var n=[{defaultValue:50,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"endTime"},{defaultValue:null,kind:"LocalArgument",name:"startTime"}],a=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"}],t={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},i={fields:[{kind:"Variable",name:"end",variableName:"endTime"},{kind:"Variable",name:"start",variableName:"startTime"}],kind:"ObjectValue",name:"timeRange"};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"ModelSchemaTableDimensionsQuery",selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},{kind:"Variable",name:"endTime",variableName:"endTime"},{kind:"Variable",name:"startTime",variableName:"startTime"}],kind:"FragmentSpread",name:"ModelSchemaTable_dimensions"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"ModelSchemaTableDimensionsQuery",selections:[{alias:null,args:null,concreteType:"InferenceModel",kind:"LinkedField",name:"model",plural:!1,selections:[{alias:null,args:a,concreteType:"DimensionConnection",kind:"LinkedField",name:"dimensions",plural:!1,selections:[{alias:null,args:null,concreteType:"DimensionEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:"dimension",args:null,concreteType:"Dimension",kind:"LinkedField",name:"node",plural:!1,selections:[t,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dataType",storageKey:null},{alias:"cardinality",args:[{kind:"Literal",name:"metric",value:"cardinality"},i],kind:"ScalarField",name:"dataQualityMetric",storageKey:null},{alias:"percentEmpty",args:[{kind:"Literal",name:"metric",value:"percentEmpty"},i],kind:"ScalarField",name:"dataQualityMetric",storageKey:null},{alias:"min",args:[{kind:"Literal",name:"metric",value:"min"},i],kind:"ScalarField",name:"dataQualityMetric",storageKey:null},{alias:"mean",args:[{kind:"Literal",name:"metric",value:"mean"},i],kind:"ScalarField",name:"dataQualityMetric",storageKey:null},{alias:"max",args:[{kind:"Literal",name:"metric",value:"max"},i],kind:"ScalarField",name:"dataQualityMetric",storageKey:null},{alias:"psi",args:[{kind:"Literal",name:"metric",value:"psi"},i],kind:"ScalarField",name:"driftMetric",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"Dimension",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},t],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:a,filters:null,handle:"connection",key:"ModelSchemaTable_dimensions",kind:"LinkedHandle",name:"dimensions"}],storageKey:null}]},params:{cacheID:"c622a7e3a3aa7a2463ab98779e6499a9",id:null,metadata:{},name:"ModelSchemaTableDimensionsQuery",operationKind:"query",text:`query ModelSchemaTableDimensionsQuery(
|
|
4415
4427
|
$count: Int = 50
|
|
4416
4428
|
$cursor: String = null
|
|
4417
4429
|
$endTime: DateTime!
|
|
@@ -4449,7 +4461,7 @@ fragment ModelSchemaTable_dimensions_4sIU9C on Query {
|
|
|
4449
4461
|
}
|
|
4450
4462
|
}
|
|
4451
4463
|
}
|
|
4452
|
-
`}}}();
|
|
4464
|
+
`}}}();D1.hash="fb4c57e0ea77548c4e96ceb418e06614";const _1=function(){var n=["model","dimensions"],a={fields:[{kind:"Variable",name:"end",variableName:"endTime"},{kind:"Variable",name:"start",variableName:"startTime"}],kind:"ObjectValue",name:"timeRange"};return{argumentDefinitions:[{defaultValue:50,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"endTime"},{defaultValue:null,kind:"LocalArgument",name:"startTime"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:n}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:n},fragmentPathInResult:[],operation:D1}},name:"ModelSchemaTable_dimensions",selections:[{alias:null,args:null,concreteType:"InferenceModel",kind:"LinkedField",name:"model",plural:!1,selections:[{alias:"dimensions",args:null,concreteType:"DimensionConnection",kind:"LinkedField",name:"__ModelSchemaTable_dimensions_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"DimensionEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:"dimension",args:null,concreteType:"Dimension",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dataType",storageKey:null},{alias:"cardinality",args:[{kind:"Literal",name:"metric",value:"cardinality"},a],kind:"ScalarField",name:"dataQualityMetric",storageKey:null},{alias:"percentEmpty",args:[{kind:"Literal",name:"metric",value:"percentEmpty"},a],kind:"ScalarField",name:"dataQualityMetric",storageKey:null},{alias:"min",args:[{kind:"Literal",name:"metric",value:"min"},a],kind:"ScalarField",name:"dataQualityMetric",storageKey:null},{alias:"mean",args:[{kind:"Literal",name:"metric",value:"mean"},a],kind:"ScalarField",name:"dataQualityMetric",storageKey:null},{alias:"max",args:[{kind:"Literal",name:"metric",value:"max"},a],kind:"ScalarField",name:"dataQualityMetric",storageKey:null},{alias:"psi",args:[{kind:"Literal",name:"metric",value:"psi"},a],kind:"ScalarField",name:"driftMetric",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"Dimension",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null}}();_1.hash="fb4c57e0ea77548c4e96ceb418e06614";function q8(n){const{data:a}=F.usePaginationFragment(_1,n.model),t=p.useMemo(()=>a.model.dimensions.edges.map(({dimension:l})=>({...l})),[a]),i=qe.useMemo(()=>[{header:"name",accessorKey:"name",cell:r=>e(ua,{to:`dimensions/${r.row.original.id}`,children:r.renderValue()})},{header:"type",accessorKey:"type"},{header:"data type",accessorKey:"dataType"},{header:"cardinality",accessorKey:"cardinality",cell:Jd},{header:"% empty",accessorKey:"percentEmpty",cell:e3},{header:"min",accessorKey:"min",cell:Ln},{header:"mean",accessorKey:"mean",cell:Ln},{header:"max",accessorKey:"max",cell:Ln},{header:"PSI",accessorKey:"psi",cell:Ln}],[]);return e(jl,{columns:i,data:t})}const K1=function(){var n=[{defaultValue:50,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"endTime"},{defaultValue:null,kind:"LocalArgument",name:"startTime"}],a=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"}],t={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"ModelEmbeddingsTableEmbeddingDimensionsQuery",selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},{kind:"Variable",name:"endTime",variableName:"endTime"},{kind:"Variable",name:"startTime",variableName:"startTime"}],kind:"FragmentSpread",name:"ModelEmbeddingsTable_embeddingDimensions"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"ModelEmbeddingsTableEmbeddingDimensionsQuery",selections:[{alias:null,args:null,concreteType:"InferenceModel",kind:"LinkedField",name:"model",plural:!1,selections:[{alias:null,args:a,concreteType:"EmbeddingDimensionConnection",kind:"LinkedField",name:"embeddingDimensions",plural:!1,selections:[{alias:null,args:null,concreteType:"EmbeddingDimensionEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:"embedding",args:null,concreteType:"EmbeddingDimension",kind:"LinkedField",name:"node",plural:!1,selections:[t,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:"euclideanDistance",args:[{kind:"Literal",name:"metric",value:"euclideanDistance"},{fields:[{kind:"Variable",name:"end",variableName:"endTime"},{kind:"Variable",name:"start",variableName:"startTime"}],kind:"ObjectValue",name:"timeRange"}],kind:"ScalarField",name:"driftMetric",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"EmbeddingDimension",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},t],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:a,filters:null,handle:"connection",key:"ModelEmbeddingsTable_embeddingDimensions",kind:"LinkedHandle",name:"embeddingDimensions"}],storageKey:null}]},params:{cacheID:"fd1226f3c603a0c90b1c1657a894e691",id:null,metadata:{},name:"ModelEmbeddingsTableEmbeddingDimensionsQuery",operationKind:"query",text:`query ModelEmbeddingsTableEmbeddingDimensionsQuery(
|
|
4453
4465
|
$count: Int = 50
|
|
4454
4466
|
$cursor: String = null
|
|
4455
4467
|
$endTime: DateTime!
|
|
@@ -4480,16 +4492,16 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4480
4492
|
}
|
|
4481
4493
|
}
|
|
4482
4494
|
}
|
|
4483
|
-
`}}}();
|
|
4495
|
+
`}}}();K1.hash="fb7f125f75d1d33a555c16e198dbcbf8";const P1=function(){var n=["model","embeddingDimensions"];return{argumentDefinitions:[{defaultValue:50,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"endTime"},{defaultValue:null,kind:"LocalArgument",name:"startTime"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:n}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:n},fragmentPathInResult:[],operation:K1}},name:"ModelEmbeddingsTable_embeddingDimensions",selections:[{alias:null,args:null,concreteType:"InferenceModel",kind:"LinkedField",name:"model",plural:!1,selections:[{alias:"embeddingDimensions",args:null,concreteType:"EmbeddingDimensionConnection",kind:"LinkedField",name:"__ModelEmbeddingsTable_embeddingDimensions_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"EmbeddingDimensionEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:"embedding",args:null,concreteType:"EmbeddingDimension",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:"euclideanDistance",args:[{kind:"Literal",name:"metric",value:"euclideanDistance"},{fields:[{kind:"Variable",name:"end",variableName:"endTime"},{kind:"Variable",name:"start",variableName:"startTime"}],kind:"ObjectValue",name:"timeRange"}],kind:"ScalarField",name:"driftMetric",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"EmbeddingDimension",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null}}();P1.hash="fb7f125f75d1d33a555c16e198dbcbf8";function X8(n){const{data:a}=F.usePaginationFragment(P1,n.model),t=p.useMemo(()=>a.model.embeddingDimensions.edges.map(({embedding:l})=>({...l})),[a]),i=qe.useMemo(()=>[{header:"name",accessorKey:"name",cell:({row:r,renderValue:o})=>e(ua,{to:`embeddings/${r.original.id}`,children:o()})},{header:"euclidean distance",accessorKey:"euclideanDistance",cell:Ln}],[]);return e(jl,{columns:i,data:t})}const V1=p.createContext(null),k5=()=>{const n=p.useContext(V1);if(n===null)throw new Error("useTimeSlice must be used within a TimeSliceProvider");return n},Y8=({initialTimestamp:n,children:a})=>{const[t,i]=p.useState(n),l=r=>{p.startTransition(()=>{i(r)})};return e(V1.Provider,{value:{selectedTimestamp:t,setSelectedTimestamp:l},children:a})};function w5(){const n=A(t=>t.setPointSizeScale),a=A(t=>t.pointSizeScale);return s(Do,{placement:"bottom left",children:[e(Io,{variant:"default",size:"compact",icon:e(To,{svg:e(Ao.OptionsOutline,{})}),"aria-label":"Display Settings"}),e(Eo,{children:e(Mo,{padding:"size-100",children:e(zo,{direction:"column",gap:"size-100",children:e(Fo,{label:"Point Scale",minValue:0,maxValue:3,step:.1,value:a,onChange:n})})})})]})}const bi=m`
|
|
4484
4496
|
display: flex;
|
|
4485
4497
|
flex-direction: row;
|
|
4486
4498
|
gap: var(--ac-global-dimension-static-size-50);
|
|
4487
4499
|
align-items: center;
|
|
4488
|
-
`;function
|
|
4500
|
+
`;function S5(n){return typeof n=="string"&&n in rn}function x5(n){return s(ha,{selectedKeys:[n.mode],"aria-label":"Canvas Mode",size:"S",onSelectionChange:a=>{if(a.size===0)return;const t=a.keys().next().value;if(S5(t))n.onChange(t);else throw new Error(`Unknown canvas mode: ${a}`)},children:[s(ve,{placement:"top",delay:0,offset:10,children:[e(xe,{"aria-label":"Move",id:rn.move,children:s("div",{css:bi,children:[e(I,{svg:e(yc,{})})," Move"]})}),e(De,{children:"Move around the canvas using orbital controls"})]}),s(ve,{placement:"top",delay:0,offset:10,children:[e(xe,{"aria-label":"Select",id:rn.select,children:s("div",{css:bi,children:[e(I,{svg:e(pc,{})})," Select"]})}),e(De,{children:"Select points using the lasso tool"})]})]})}function T5({radius:n}){const a=A(d=>d.eventIdToDataMap),t=A(d=>d.highlightedClusterId),i=A(d=>d.selectedClusterId),l=A(d=>d.clusters),{theme:r}=te(),o=A(d=>d.clusterColorMode),c=p.useMemo(()=>l.map(d=>{const{eventIds:u}=d,g=u.map(h=>{var b;return{position:(b=a.get(h))==null?void 0:b.position}}).filter(h=>h.position!==null);return{...d,data:g}}).filter(d=>d.data.length>0),[l,a]);return e(j,{children:c.map((d,u)=>{const g=I5({selected:d.id===i,highlighted:d.id===t,clusterColorMode:o});return e(Qr,{data:d.data,opacity:g,wireframe:!0,pointRadius:n,color:A5({theme:r,clusterColorMode:o,index:u,clusterCount:c.length})},`${d.id}__opacity_${String(g)}`)})})}function A5({theme:n,clusterColorMode:a,index:t,clusterCount:i}){return a===pt.default?n==="dark"?"#999999":"#bbbbbb":Ki(t/i)}function I5({selected:n,highlighted:a,clusterColorMode:t}){return t===pt.highlight?1:n?.7:a?.5:0}const M5=2;function z5({pointRadius:n}){const a=A(u=>u.hoveredEventId),t=A(u=>u.pointSizeScale),i=A(u=>u.eventIdToDataMap),l=A(u=>u.pointGroupColors),r=A(u=>u.eventIdToGroup);if(a==null||i==null)return null;const o=i.get(a),c=r[a],d=l[c];return o==null?null:e(qr,{position:o.position,args:[n*M5],scale:[t,t,t],children:e("meshMatcapMaterial",{color:d,opacity:.7,transparent:!0})})}const yi=1;function F5(){const n=A(l=>l.hoveredEventId),a=A(l=>l.eventIdToDataMap),t=p.useRef(null);Xr((l,r)=>{t.current&&t.current.children.forEach(o=>o.children[0].material.uniforms.dashOffset.value-=r*5)});const i=p.useMemo(()=>{if(n==null)return[];const l=a.get(n);if(l==null)return[];const r=l.retrievals??[];return(r==null?void 0:r.length)===0?[]:r.map(c=>{const d=a.get(c.documentId);return d==null?null:[l.position,d.position]}).filter(c=>c!=null)},[a,n]);return e("group",{ref:t,children:i.map((l,r)=>s("group",{children:[e(Nt,{start:l[0],end:l[1],color:16777215,opacity:1,transparent:!0,dashed:!0,dashScale:50,gapSize:20,linewidth:yi}),e(Nt,{start:l[0],end:l[1],color:16777215,linewidth:yi/2,transparent:!0,opacity:.8})]},r))})}const E5=.5,D5=.5,_5=100,vi=1.7;function Ci(n,a){return typeof a=="function"?a(n):a}function K5({primaryData:n,referenceData:a,corpusData:t,color:i,radius:l}){const r=A(_=>_.inferencesVisibility),o=A(_=>_.coloringStrategy),{theme:c}=te(),d=A(_=>_.setSelectedEventIds),u=A(_=>_.selectedEventIds),g=A(_=>_.setSelectedClusterId),h=A(_=>_.setHoveredEventId),f=A(_=>_.pointSizeScale),b=p.useMemo(()=>Yr(h,_5),[h]),y=p.useMemo(()=>o!==N.inferences?"cube":"sphere",[o]),k=p.useMemo(()=>o!==N.inferences?"octahedron":"sphere",[o]),L=p.useMemo(()=>c==="dark"?Jr(E5):eo(D5),[c]),w=p.useMemo(()=>typeof i=="function"?_=>L(i(_)):L(i),[i,L]),E=p.useCallback(_=>!u.has(_.metaData.id)&&u.size>0?Ci(_,w):Ci(_,i),[u,i,w]),V=r.reference&&a,z=r.corpus&&t,D=p.useCallback(_=>{p.startTransition(()=>{d(new Set([_.metaData.id])),g(null)})},[g,d]),G=p.useCallback(_=>{_==null||_.metaData==null||b(_.metaData.id)},[b]),W=p.useCallback(()=>{b(null)},[b]);return s(j,{children:[r.primary?e(La,{data:n,pointProps:{color:E,radius:l,scale:f},onPointClicked:D,onPointHovered:G,onPointerLeave:W}):null,V?e(La,{data:a,pointProps:{color:E,radius:l,size:l?l*vi:void 0,scale:f},onPointHovered:G,onPointerLeave:W,pointShape:y,onPointClicked:D}):null,z?e(La,{data:t,pointProps:{color:E,radius:l,size:l?l*vi:void 0,scale:f},onPointHovered:G,onPointerLeave:W,pointShape:k,onPointClicked:D}):null]})}const P5=/\.(mp4|mov|webm|ogg)(\?|$)/i,V5=/\.(mp3|wav)(\?|$)/i;function O5(n){return P5.test(n)}function R5(n){return V5.test(n)}var Be=(n=>(n.square="square",n.circle="circle",n.diamond="diamond",n))(Be||{});const N5=()=>e("svg",{width:"12px",height:"12px",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("rect",{width:"12",height:"12",rx:"1",fill:"currentColor"})}),$5=()=>e("svg",{width:"12px",height:"12px",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("circle",{cx:"6",cy:"6",r:"6",fill:"currentColor"})}),B5=()=>e("svg",{width:"12px",height:"12px",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M6 0L12 6L6 12L0 6L6 0Z",fill:"currentColor"})});function O1(n){const{shape:a,color:t}=n,i=p.useMemo(()=>{switch(a){case"square":return e(N5,{});case"circle":return e($5,{});case"diamond":return e(B5,{});default:K()}},[a]);return e("i",{className:"shape-icon",style:{color:t},css:m`
|
|
4489
4501
|
display: flex;
|
|
4490
4502
|
flex-direction: row;
|
|
4491
4503
|
align-items: center;
|
|
4492
|
-
`,"aria-hidden":!0,children:i})}function
|
|
4504
|
+
`,"aria-hidden":!0,children:i})}function H5(n){const{rawData:a,linkToData:t,promptAndResponse:i,documentText:l}=n;return l!=null?"document":i!=null?"prompt_response":t!=null?O5(t)?"video":R5(t)?"audio":"image":a!=null?"raw":"event_metadata"}function j5(n,a){const{rawData:t}=a;switch(n){case"document":return null;case"prompt_response":return null;case"image":return t!=null?"raw":null;case"video":return t!=null?"raw":null;case"audio":return t!=null?"raw":null;case"raw":return"event_metadata";case"event_metadata":return null;default:K()}}function Z5(n){const{onClick:a,onMouseOver:t,onMouseOut:i,color:l,size:r,inferencesName:o,group:c}=n,d=H5(n),u=r==="large"?j5(d,n):null;return s("div",{"data-testid":"event-item",role:"button","data-size":r,css:m`
|
|
4493
4505
|
width: 100%;
|
|
4494
4506
|
height: 100%;
|
|
4495
4507
|
box-sizing: border-box;
|
|
@@ -4532,19 +4544,19 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4532
4544
|
border-radius: 8px;
|
|
4533
4545
|
}
|
|
4534
4546
|
}
|
|
4535
|
-
`,children:[e(
|
|
4547
|
+
`,children:[e(Li,{previewType:d,...n}),u!=null&&e(Li,{previewType:u,...n})]}),r!=="small"&&e(J5,{color:l,group:c,inferencesName:o,showInferences:r==="large"})]})}function Li(n){const{previewType:a}=n;let t=null;switch(a){case"document":{t=e(q5,{...n});break}case"prompt_response":{t=e(Q5,{...n});break}case"image":{t=e(U5,{...n});break}case"video":{t=e(G5,{...n});break}case"audio":{t=e(W5,{...n});break}case"raw":{t=e(X5,{...n});break}case"event_metadata":{t=e(Y5,{...n});break}default:K()}return t}function U5(n){return e("img",{src:n.linkToData||"[error] unexpected missing url",css:m`
|
|
4536
4548
|
min-height: 0;
|
|
4537
4549
|
// Maintain aspect ratio while having normalized height
|
|
4538
4550
|
object-fit: contain;
|
|
4539
4551
|
transition: background-color 0.2s ease-in-out;
|
|
4540
4552
|
background-color: ${lt(.85,n.color)};
|
|
4541
|
-
`})}function
|
|
4553
|
+
`})}function G5(n){return e("video",{src:n.linkToData||"[error] unexpected missing url",css:m`
|
|
4542
4554
|
min-height: 0;
|
|
4543
4555
|
// Maintain aspect ratio while having normalized height
|
|
4544
4556
|
object-fit: contain;
|
|
4545
4557
|
transition: background-color 0.2s ease-in-out;
|
|
4546
4558
|
background-color: ${lt(.85,n.color)};
|
|
4547
|
-
`})}function
|
|
4559
|
+
`})}function W5(n){return e("audio",{src:n.linkToData||"[error] unexpected missing url",autoPlay:n.autoPlay,controls:!0})}function Q5(n){var a,t;return s("div",{"data-size":n.size,css:m`
|
|
4548
4560
|
--prompt-response-preview-background-color: var(
|
|
4549
4561
|
--ac-global-color-grey-200
|
|
4550
4562
|
);
|
|
@@ -4600,7 +4612,7 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4600
4612
|
);
|
|
4601
4613
|
}
|
|
4602
4614
|
}
|
|
4603
|
-
`,children:[s("section",{children:[e("header",{children:"prompt"}),(a=n.promptAndResponse)==null?void 0:a.prompt]}),s("section",{children:[e("header",{children:"response"}),(t=n.promptAndResponse)==null?void 0:t.response]})]})}function
|
|
4615
|
+
`,children:[s("section",{children:[e("header",{children:"prompt"}),(a=n.promptAndResponse)==null?void 0:a.prompt]}),s("section",{children:[e("header",{children:"response"}),(t=n.promptAndResponse)==null?void 0:t.response]})]})}function q5(n){return e("p",{"data-size":n.size,css:m`
|
|
4604
4616
|
flex: 1 1 auto;
|
|
4605
4617
|
padding: var(--ac-global-dimension-static-size-100);
|
|
4606
4618
|
margin-block-start: 0;
|
|
@@ -4626,7 +4638,7 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4626
4638
|
var(--text-preview-background-color) 100%
|
|
4627
4639
|
);
|
|
4628
4640
|
}
|
|
4629
|
-
`,children:n.documentText})}function
|
|
4641
|
+
`,children:n.documentText})}function X5(n){return e("p",{"data-size":n.size,css:m`
|
|
4630
4642
|
flex: 1 1 auto;
|
|
4631
4643
|
padding: var(--ac-global-dimension-static-size-100);
|
|
4632
4644
|
margin-block-start: 0;
|
|
@@ -4653,7 +4665,7 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4653
4665
|
var(--text-preview-background-color) 100%
|
|
4654
4666
|
);
|
|
4655
4667
|
}
|
|
4656
|
-
`,children:n.rawData})}function
|
|
4668
|
+
`,children:n.rawData})}function Y5(n){return s("dl",{css:m`
|
|
4657
4669
|
margin: 0;
|
|
4658
4670
|
padding: var(--ac-global-dimension-static-size-200);
|
|
4659
4671
|
display: flex;
|
|
@@ -4667,7 +4679,7 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4667
4679
|
dd {
|
|
4668
4680
|
margin-inline-start: var(--ac-global-dimension-static-size-100);
|
|
4669
4681
|
}
|
|
4670
|
-
`,children:[s("div",{children:[e("dt",{children:"prediction label"}),e("dd",{children:n.predictionLabel||"--"})]}),s("div",{children:[e("dt",{children:"actual label"}),e("dd",{children:n.actualLabel||"--"})]})]})}function
|
|
4682
|
+
`,children:[s("div",{children:[e("dt",{children:"prediction label"}),e("dd",{children:n.predictionLabel||"--"})]}),s("div",{children:[e("dt",{children:"actual label"}),e("dd",{children:n.actualLabel||"--"})]})]})}function J5({color:n,group:a,showInferences:t,inferencesName:i}){return s("footer",{css:m`
|
|
4671
4683
|
display: flex;
|
|
4672
4684
|
flex-direction: row;
|
|
4673
4685
|
justify-content: space-between;
|
|
@@ -4680,16 +4692,16 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4680
4692
|
flex-direction: row;
|
|
4681
4693
|
align-items: center;
|
|
4682
4694
|
gap: var(--ac-global-dimension-static-size-50);
|
|
4683
|
-
`,children:[e(
|
|
4684
|
-
--grid-item-min-width: ${
|
|
4685
|
-
width: ${
|
|
4686
|
-
height: ${
|
|
4695
|
+
`,children:[e(O1,{shape:Be.circle,color:n}),a]}),t?e("div",{title:"the inferences the point belongs to",children:i}):null]})}const fn=200,Hn=10,e4=new Wo,n4=()=>{const{getInferencesNameByRole:n}=ta(),a=A(f=>f.hoveredEventId),t=A(f=>f.eventIdToDataMap),i=A(f=>f.pointData),l=A(f=>f.pointGroupColors),r=A(f=>f.eventIdToGroup);if(a==null||i==null||i==null)return null;const o=t.get(a),c=i[a];if(o==null||c==null)return null;const d=r[a],u=l[r[a]],g=dl(a),h=n(g);return e(no,{position:o.position,pointerEvents:"none",zIndexRange:[0,1],calculatePosition:(f,b,y)=>{const k=e4.setFromMatrixPosition(f.matrixWorld);k.project(b);const L=y.width/2,w=y.height/2;return[Math.min(y.width-fn-Hn,Math.max(0,k.x*L+L+Hn)),Math.min(y.height-fn-Hn,Math.max(0,-(k.y*w)+w+Hn))]},children:e("div",{css:m`
|
|
4696
|
+
--grid-item-min-width: ${fn}px;
|
|
4697
|
+
width: ${fn}px;
|
|
4698
|
+
height: ${fn}px;
|
|
4687
4699
|
background-color: var(--ac-global-background-color-dark);
|
|
4688
4700
|
border-radius: var(--ac-global-rounding-medium);
|
|
4689
|
-
`,children:e(
|
|
4701
|
+
`,children:e(Z5,{rawData:o.embeddingMetadata.rawData,linkToData:o.embeddingMetadata.linkToData,predictionLabel:o.eventMetadata.predictionLabel,actualLabel:o.eventMetadata.actualLabel,promptAndResponse:c.promptAndResponse,documentText:c.documentText,inferencesName:h,group:d,color:u,size:"medium",autoPlay:!0})})})},a4=300,t4=3,i4=.2,l4=function(){const{selectedTimestamp:a}=k5(),t=A(d=>d.points),i=A(d=>d.hdbscanParameters),l=A(d=>d.umapParameters),[r,o,c]=p.useMemo(()=>{const{primaryEventIds:d,referenceEventIds:u,corpusEventIds:g}=mt(t.map(h=>h.eventId));return[d.length,u.length,g.length]},[t]);return a?s("section",{css:m`
|
|
4690
4702
|
width: 300px;
|
|
4691
4703
|
padding: var(--ac-global-dimension-static-size-100);
|
|
4692
|
-
`,children:[s("dl",{css:Va,children:[s("div",{children:[e("dt",{children:"Timestamp"}),e("dd",{children
|
|
4704
|
+
`,children:[s("dl",{css:Va,children:[s("div",{children:[e("dt",{children:"Timestamp"}),e("dd",{children:$e(a)})]}),s("div",{children:[e("dt",{children:"primary points"}),e("dd",{children:r})]}),o>0?s("div",{children:[e("dt",{children:"reference points"}),e("dd",{children:o})]}):null,c>0?s("div",{children:[e("dt",{children:"corpus points"}),e("dd",{children:c})]}):null]}),e("br",{}),e(Y,{level:4,weight:"heavy",children:"Clustering Parameters"}),s("dl",{css:Va,children:[s("div",{children:[e("dt",{children:"min cluster size"}),e("dd",{children:i.minClusterSize})]}),s("div",{children:[e("dt",{children:"cluster min samples"}),e("dd",{children:i.clusterMinSamples})]}),s("div",{children:[e("dt",{children:"cluster selection epsilon"}),e("dd",{children:i.clusterSelectionEpsilon})]})]}),e("br",{}),e(Y,{level:4,weight:"heavy",children:"UMAP Parameters"}),s("dl",{css:Va,children:[s("div",{children:[e("dt",{children:"min distance"}),e("dd",{children:l.minDist})]}),s("div",{children:[e("dt",{children:"n neighbors"}),e("dd",{children:l.nNeighbors})]}),s("div",{children:[e("dt",{children:"n samples per inferences"}),e("dd",{children:l.nSamples})]})]})]}):null},Va=m`
|
|
4693
4705
|
margin: 0;
|
|
4694
4706
|
padding: 0;
|
|
4695
4707
|
div {
|
|
@@ -4699,7 +4711,7 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4699
4711
|
justify-content: space-between;
|
|
4700
4712
|
gap: var(--ac-global-dimension-static-size-50);
|
|
4701
4713
|
}
|
|
4702
|
-
`;function
|
|
4714
|
+
`;function r4(){const n=A(t=>t.canvasMode),a=A(t=>t.setCanvasMode);return s("div",{css:m`
|
|
4703
4715
|
position: absolute;
|
|
4704
4716
|
left: var(--ac-global-dimension-static-size-100);
|
|
4705
4717
|
top: var(--ac-global-dimension-static-size-100);
|
|
@@ -4708,7 +4720,7 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4708
4720
|
flex-direction: row;
|
|
4709
4721
|
align-items: center;
|
|
4710
4722
|
gap: var(--ac-global-dimension-static-size-100);
|
|
4711
|
-
`,children:[e(
|
|
4723
|
+
`,children:[e(x5,{mode:n,onChange:a}),e(w5,{}),e(o4,{})]})}function o4(){return s(ve,{placement:"bottom left",delay:0,children:[e(Ze,{children:e(M,{size:"S",leadingVisual:e(I,{svg:e(Tt,{})}),"aria-label":"Information bout the point-cloud display"})}),e(_o,{title:"Point Cloud Summary",children:e(l4,{})})]})}function s4({children:n}){const{theme:a}=te();return e("div",{css:m`
|
|
4712
4724
|
flex: 1 1 auto;
|
|
4713
4725
|
height: 100%;
|
|
4714
4726
|
position: relative;
|
|
@@ -4721,7 +4733,7 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4721
4733
|
&[data-theme="light"] {
|
|
4722
4734
|
background: linear-gradient(#f2f6fd 0%, #dbe6fc 74%);
|
|
4723
4735
|
}
|
|
4724
|
-
`,"data-theme":a,children:n})}function
|
|
4736
|
+
`,"data-theme":a,children:n})}function J8(){return s(s4,{children:[e(r4,{},"canvas-tools"),e(c4,{},"projection")]})}const c4=p.memo(function(){const a=A(T=>T.points),t=A(T=>T.canvasMode),i=A(T=>T.setSelectedEventIds),l=A(T=>T.setSelectedClusterId),r=A(T=>T.pointGroupColors),o=A(T=>T.pointGroupVisibility),{theme:c}=te(),d=A(T=>T.inferencesVisibility),[u,g]=p.useState(!0),h=p.useMemo(()=>ao(a.map(T=>T.position)),[a]),f=(h.maxX-h.minX+(h.maxY-h.minY))/2/a4,b=f*t4,y=t===rn.move,k=A(T=>T.eventIdToGroup),L=p.useCallback(T=>{const $=k[T.metaData.id]||"unknown";return r[$]||Je},[r,k]),w=p.useMemo(()=>a.filter(T=>T.eventId.includes("PRIMARY")),[a]),E=p.useMemo(()=>a.filter(T=>T.eventId.includes("REFERENCE")),[a]),V=p.useMemo(()=>a.filter(T=>T.eventId.includes("CORPUS")),[a]),z=p.useMemo(()=>w.filter(T=>{const $=k[T.eventId];return o[$]}),[w,k,o]),D=p.useMemo(()=>!E||E.length===0?null:E.filter(T=>{const $=k[T.eventId];return o[$]}),[E,k,o]),G=p.useMemo(()=>V.filter(T=>{const $=k[T.eventId];return o[$]}),[V,k,o]),W=p.useMemo(()=>{const T=d.primary?z:[],$=d.reference?D:[],J=d.corpus?G:[];return[...T,...$||[],...J||[]]},[z,D,G,d]),_=to(ct,st,co,ut);return e(so,{camera:{position:[3,3,3]},children:s(_,{children:[e(io,{autoRotate:u,autoRotateSpeed:2,enableRotate:y,enablePan:y,onEnd:()=>{g(!1)}}),s(lo,{bounds:h,boundsZoomPaddingFactor:i4,children:[e(ro,{points:W,onChange:T=>{i(new Set(T.map($=>$.metaData.id))),l(null)},enabled:t===rn.select}),e(oo,{size:(h.maxX-h.minX)/4,color:c=="dark"?"#fff":"#505050"}),e(K5,{primaryData:z,referenceData:D,corpusData:G,color:L,radius:f}),e(T5,{radius:b}),e(n4,{}),e(z5,{pointRadius:f}),e(F5,{})]})]})})}),R1=function(){var n=[{alias:null,args:null,concreteType:"InferenceModel",kind:"LinkedField",name:"model",plural:!1,selections:[{alias:null,args:null,concreteType:"DimensionConnection",kind:"LinkedField",name:"dimensions",plural:!1,selections:[{alias:null,args:null,concreteType:"DimensionEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Dimension",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dataType",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"DimensionPickerQuery",selections:n,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"DimensionPickerQuery",selections:n},params:{cacheID:"56e356d226d322dabfd9db8010884e4f",id:null,metadata:{},name:"DimensionPickerQuery",operationKind:"query",text:`query DimensionPickerQuery {
|
|
4725
4737
|
model {
|
|
4726
4738
|
dimensions {
|
|
4727
4739
|
edges {
|
|
@@ -4735,28 +4747,28 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4735
4747
|
}
|
|
4736
4748
|
}
|
|
4737
4749
|
}
|
|
4738
|
-
`}}}();
|
|
4750
|
+
`}}}();R1.hash="747256fac1de97803ae6f96e3cb58d98";function d4(n){const{type:a}=n;let t="gray",i="";switch(a){case"feature":t="blue",i="FEA";break;case"tag":t="purple",i="TAG";break;case"prediction":t="white",i="PRE";break;case"actual":t="orange",i="ACT";break;default:K()}return e(je,{color:t,"aria-Token":a,title:"type",children:i})}const u4=s(Po,{children:[e(Y,{weight:"heavy",level:4,children:"Model Dimension"}),e(Ko,{children:e(v,{children:"A dimension is a feature, tag, prediction, or actual value that is associated with a model inference. Features represent inputs, tags represent metadata, predictions represent outputs, and actuals represent ground truth."})})]});function g4(n){const{selectedDimension:a,dimensions:t,onChange:i,isLoading:l}=n;return s("div",{children:[s(S,{direction:"row",alignItems:"center",gap:"size-25",children:[e(P,{children:"Dimension"}),u4]}),s(Ae,{defaultSelectedKey:a?a.name:void 0,"aria-label":"Select a dimension",onSelectionChange:r=>{const o=t.find(c=>c.name===r);o&&p.startTransition(()=>i(o))},isDisabled:l,"data-testid":"dimension-picker",children:[s(M,{children:[e(Te,{}),e(be,{})]}),e(ne,{children:e(ue,{children:t.map(r=>e(q,{id:r.name,children:s(S,{direction:"row",alignItems:"center",gap:"size-100",children:[e(d4,{type:r.type}),r.name]})},r.name))})})]})]})}function m4(n){const[a,t]=p.useState([]),[i,l]=p.useState(!0),{selectedDimension:r,onChange:o}=n;return p.useEffect(()=>{F.fetchQuery(Kn,R1,{},{fetchPolicy:"store-or-network"}).toPromise().then(c=>{const d=(c==null?void 0:c.model.dimensions.edges.map(u=>u.node))??[];t(d),l(!1)})},[]),e(g4,{onChange:o,dimensions:a,selectedDimension:r,isLoading:i})}function p4(n){return typeof n=="string"&&n in N}const h4=Object.values(N);function f4(n){const{strategy:a,onChange:t}=n;return s(Ae,{defaultSelectedKey:a,"aria-label":"Coloring strategy",onSelectionChange:i=>{p4(i)&&t(i)},children:[e(P,{children:"Color By"}),s(M,{children:[e(Te,{}),e(be,{})]}),e(v,{slot:"description",children:""}),e(ne,{children:e(ue,{children:h4.map(i=>e(q,{id:i,children:i},i))})})]})}const b4=m`
|
|
4739
4751
|
display: flex;
|
|
4740
4752
|
flex-direction: row;
|
|
4741
4753
|
gap: var(--ac-global-dimension-size-50);
|
|
4742
4754
|
align-items: center;
|
|
4743
|
-
`;function jn(n){const{name:a,checked:t,onChange:i,color:l,iconShape:r=
|
|
4755
|
+
`;function jn(n){const{name:a,checked:t,onChange:i,color:l,iconShape:r=Be.circle}=n;return s("label",{css:b4,children:[e("input",{type:"checkbox",checked:t,name:a,onChange:i}),e(O1,{shape:r,color:l}),a]},a)}function y4({hasReference:n,hasCorpus:a}){const t=A(f=>f.inferencesVisibility),i=A(f=>f.setInferencesVisibility),l=A(f=>f.coloringStrategy),r=p.useCallback(f=>{const{name:b,checked:y}=f.target;i({...t,[b]:y})},[t,i]),o=Lo(),c=p.useMemo(()=>{switch(l){case N.inferences:return o[0];case N.correctness:case N.dimension:return Fe;default:K()}},[l,o]),d=p.useMemo(()=>{switch(l){case N.inferences:return o[1];case N.correctness:case N.dimension:return Fe;default:K()}},[l,o]),u=Fe,g=l===N.inferences?Be.circle:Be.square,h=l===N.inferences?Be.circle:Be.diamond;return s("form",{css:m`
|
|
4744
4756
|
display: flex;
|
|
4745
4757
|
flex-direction: column;
|
|
4746
4758
|
padding: var(--ac-global-dimension-static-size-100);
|
|
4747
|
-
`,children:[e(jn,{checked:t.primary,name:"primary",color:c,onChange:r}),n?e(jn,{checked:t.reference,name:"reference",onChange:r,color:d,iconShape:g}):null,a?e(jn,{checked:t.corpus,name:"corpus",onChange:r,color:u,iconShape:h}):null]})}function
|
|
4759
|
+
`,children:[e(jn,{checked:t.primary,name:"primary",color:c,onChange:r}),n?e(jn,{checked:t.reference,name:"reference",onChange:r,color:d,iconShape:g}):null,a?e(jn,{checked:t.corpus,name:"corpus",onChange:r,color:u,iconShape:h}):null]})}function v4(){const n=A(r=>r.pointGroupVisibility),a=A(r=>r.setPointGroupVisibility),t=A(r=>r.pointGroupColors),i=p.useMemo(()=>Object.keys(n),[n]),l=p.useCallback(r=>{const{name:o,checked:c}=r.target;a({...n,[o]:c})},[n,a]);return s("form",{css:m`
|
|
4748
4760
|
display: flex;
|
|
4749
4761
|
flex-direction: column;
|
|
4750
|
-
`,children:[e(
|
|
4762
|
+
`,children:[e(C4,{}),e("div",{css:m`
|
|
4751
4763
|
padding: var(--ac-global-dimension-static-size-100);
|
|
4752
|
-
`,children:i.map(r=>{const o=n[r],c=t[r];return e(jn,{name:r,checked:o,color:c,onChange:l},r)})})]})}function
|
|
4764
|
+
`,children:i.map(r=>{const o=n[r],c=t[r];return e(jn,{name:r,checked:o,color:c,onChange:l},r)})})]})}function C4(){const n=A(r=>r.pointGroupVisibility),a=A(r=>r.setPointGroupVisibility),t=A(r=>r.coloringStrategy),i=p.useMemo(()=>Object.values(n).every(r=>!r),[n]),l=p.useCallback(r=>{const{checked:o}=r.target,c=Object.keys(n).reduce((d,u)=>(d[u]=o,d),{});a(c)},[n,a]);return s("label",{css:()=>m`
|
|
4753
4765
|
display: flex;
|
|
4754
4766
|
flex-direction: row;
|
|
4755
4767
|
gap: var(--ac-global-dimension-size-50);
|
|
4756
4768
|
padding: var(--ac-global-dimension-static-size-50)
|
|
4757
4769
|
var(--ac-global-dimension-static-size-100);
|
|
4758
4770
|
background-color: var(--ac-global-background-color-light);
|
|
4759
|
-
`,children:[e("input",{type:"checkbox",checked:!i,onChange:l}),`${t}`]})}function
|
|
4771
|
+
`,children:[e("input",{type:"checkbox",checked:!i,onChange:l}),`${t}`]})}function eg(){const{referenceInferences:n,corpusInferences:a}=ta(),t=A(h=>h.coloringStrategy),i=A(h=>h.setColoringStrategy),l=A(h=>h.dimension),r=A(h=>h.dimensionMetadata),o=A(h=>h.setDimension),c=n!=null||a!=null,d=t===N.dimension&&l==null,u=t===N.dimension&&l!=null&&r==null,g=t!==N.inferences&&!d&&!u;return s("section",{css:m`
|
|
4760
4772
|
& > .ac-form {
|
|
4761
4773
|
padding: var(--ac-global-dimension-static-size-100)
|
|
4762
4774
|
var(--ac-global-dimension-static-size-100) 0
|
|
@@ -4765,14 +4777,14 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4765
4777
|
& > .ac-alert {
|
|
4766
4778
|
margin: var(--ac-global-dimension-static-size-100);
|
|
4767
4779
|
}
|
|
4768
|
-
`,children:[e(Vo,{children:s(j,{children:[e(
|
|
4780
|
+
`,children:[e(Vo,{children:s(j,{children:[e(f4,{strategy:t,onChange:i}),t===N.dimension?e(m4,{selectedDimension:null,onChange:h=>{o(h)}}):null]})}),c?e(y4,{hasReference:n!=null,hasCorpus:a!=null}):null,g?e(v4,{}):null,d?e(Mt,{variant:"info",showIcon:!1,children:"Please select a dimension to color the point cloud by"}):null,u?e("div",{css:m`
|
|
4769
4781
|
padding: var(--ac-global-dimension-static-size-100);
|
|
4770
4782
|
min-height: 100px;
|
|
4771
4783
|
display: flex;
|
|
4772
4784
|
flex-direction: column;
|
|
4773
4785
|
justify-content: center;
|
|
4774
4786
|
align-items: center;
|
|
4775
|
-
`,children:e(
|
|
4787
|
+
`,children:e(ge,{message:"Calculating point colors"})}):null]})}function L4(n){return typeof n=="string"&&n in ln}function ng(n){return s(ha,{selectedKeys:[n.mode],size:"S",onSelectionChange:a=>{if(a.size===0)return;const t=a.keys().next().value;if(L4(t))n.onChange(t);else throw new Error(`Unknown view mode: ${t}`)},children:[e(xe,{"aria-label":"List",id:ln.list,children:e(I,{svg:e(hc,{})})}),e(xe,{"aria-label":"Grid",id:ln.gallery,children:e(I,{svg:e(gc,{})})})]})}function ag(n){const{driftRatio:a,primaryToCorpusRatio:t,clusterId:i,isSelected:l,onClick:r,onMouseEnter:o,onMouseLeave:c,metricName:d,primaryMetricValue:u,referenceMetricValue:g,hideReference:h}=n,{percentage:f,comparisonInferencesRole:b}=p.useMemo(()=>typeof t=="number"?{percentage:(t+1)/2*100,comparisonInferencesRole:he.corpus}:typeof a=="number"?{percentage:(a+1)/2*100,comparisonInferencesRole:he.reference}:{percentage:100,comparisonInferencesRole:null},[a,t]);return s("div",{css:m`
|
|
4776
4788
|
border: 1px solid var(--ac-global-border-color-light);
|
|
4777
4789
|
border-radius: var(--ac-global-rounding-medium);
|
|
4778
4790
|
overflow: hidden;
|
|
@@ -4796,7 +4808,7 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4796
4808
|
display: flex;
|
|
4797
4809
|
flex-direction: column;
|
|
4798
4810
|
align-items: end;
|
|
4799
|
-
`,children:[e(v,{color:"text-700",size:"XS",children:d}),e(v,{color:"text-900",size:"S",children:
|
|
4811
|
+
`,children:[e(v,{color:"text-700",size:"XS",children:d}),e(v,{color:"text-900",size:"S",children:ci(u)}),h?null:e(v,{color:"purple-800",size:"XS",children:ci(g)})]})]}),e(k4,{primaryPercentage:f,comparisonInferencesRole:b})]})}function k4({primaryPercentage:n,comparisonInferencesRole:a}){return s("div",{"data-testid":"inferences-distribution",css:m`
|
|
4800
4812
|
display: flex;
|
|
4801
4813
|
flex-direction: row;
|
|
4802
4814
|
`,children:[e("div",{"data-testid":"primary-distribution",css:m`
|
|
@@ -4825,36 +4837,25 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
|
|
|
4825
4837
|
|
|
4826
4838
|
height: var(--px-gradient-bar-height);
|
|
4827
4839
|
width: ${100-n}%;
|
|
4828
|
-
`})]})}function
|
|
4840
|
+
`})]})}function tg(){const n=A(d=>d.umapParameters),a=A(d=>d.setUMAPParameters),{handleSubmit:t,control:i,setError:l,formState:{isDirty:r,isValid:o}}=Oe({reValidateMode:"onChange",defaultValues:n}),c=p.useCallback(d=>{const u=parseFloat(d.minDist);if(u<Sa||u>xa){l("minDist",{message:`must be between ${Sa} and ${xa}`});return}a({minDist:u,nNeighbors:parseInt(d.nNeighbors,10),nSamples:parseInt(d.nSamples,10)})},[a,l]);return e("section",{css:m`
|
|
4829
4841
|
& > .ac-form {
|
|
4830
4842
|
padding: var(--ac-global-dimension-static-size-100)
|
|
4831
4843
|
var(--ac-global-dimension-static-size-100) 0
|
|
4832
4844
|
var(--ac-global-dimension-static-size-100);
|
|
4833
4845
|
}
|
|
4834
|
-
`,children:e(cn,{onSubmit:t(c),children:s(x,{padding:"size-100",children:[e(H,{name:"minDist",control:i,rules:{required:"field is required"},render:({field:{onChange:d,onBlur:u,value:g},fieldState:{invalid:h,error:f}})=>s(U,{type:"number",isInvalid:h,onChange:b=>d(parseFloat(b)),onBlur:u,value:g.toString(),size:"S",children:[e(P,{children:"min distance"}),e(Z,{step:.01,min:Sa,max:xa}),f?e(X,{children:f.message}):e(v,{slot:"description",children:"how tightly to pack points"})]})}),e(H,{name:"nNeighbors",control:i,rules:{required:"n neighbors is required",min:{value:ka,message:`greater than or equal to ${ka}`},max:{value:wa,message:`less than or equal to ${wa}`}},render:({field:d,fieldState:{invalid:u,error:g}})=>s(U,{type:"number",isInvalid:u,...d,value:d.value,size:"S",children:[e(P,{children:"n neighbors"}),e(Z,{step:.01,min:ka,max:wa}),g?e(X,{children:g.message}):e(v,{slot:"description",children:"Balances local versus global structure"})]})}),e(H,{name:"nSamples",control:i,rules:{required:"n samples is required",max:{value:
|
|
4846
|
+
`,children:e(cn,{onSubmit:t(c),children:s(x,{padding:"size-100",children:[e(H,{name:"minDist",control:i,rules:{required:"field is required"},render:({field:{onChange:d,onBlur:u,value:g},fieldState:{invalid:h,error:f}})=>s(U,{type:"number",isInvalid:h,onChange:b=>d(parseFloat(b)),onBlur:u,value:g.toString(),size:"S",children:[e(P,{children:"min distance"}),e(Z,{step:.01,min:Sa,max:xa}),f?e(X,{children:f.message}):e(v,{slot:"description",children:"how tightly to pack points"})]})}),e(H,{name:"nNeighbors",control:i,rules:{required:"n neighbors is required",min:{value:ka,message:`greater than or equal to ${ka}`},max:{value:wa,message:`less than or equal to ${wa}`}},render:({field:d,fieldState:{invalid:u,error:g}})=>s(U,{type:"number",isInvalid:u,...d,value:d.value,size:"S",children:[e(P,{children:"n neighbors"}),e(Z,{step:.01,min:ka,max:wa}),g?e(X,{children:g.message}):e(v,{slot:"description",children:"Balances local versus global structure"})]})}),e(H,{name:"nSamples",control:i,rules:{required:"n samples is required",max:{value:Ht,message:`must be below ${Ht}`},min:{value:Bt,message:`must be above ${Bt}`}},render:({field:{onChange:d,onBlur:u,value:g},fieldState:{invalid:h,error:f}})=>s(U,{type:"number",isInvalid:h,onChange:b=>d(parseInt(b,10)),onBlur:u,value:g.toString(),size:"S",children:[e(P,{children:"n samples"}),e(Z,{}),f?e(X,{children:f.message}):e(v,{slot:"description",children:"number of points to use per inferences"})]})}),e(M,{variant:r?"primary":"default",type:"submit",isDisabled:!o,css:m`
|
|
4835
4847
|
width: 100%;
|
|
4836
4848
|
margin-top: var(--ac-global-dimension-static-size-100);
|
|
4837
|
-
`,children:"Apply UMAP Parameters"})]})})})}function
|
|
4849
|
+
`,children:"Apply UMAP Parameters"})]})})})}function ig(){const n=A(u=>u.hdbscanParameters),a=A(u=>u.setHDBSCANParameters),t=A(u=>u.clustersLoading),{control:i,handleSubmit:l,formState:{isDirty:r,isValid:o},reset:c}=Oe({defaultValues:n}),d=p.useCallback(u=>{const g={minClusterSize:parseInt(u.minClusterSize,10),clusterMinSamples:parseInt(u.clusterMinSamples,10),clusterSelectionEpsilon:parseFloat(u.clusterSelectionEpsilon)};a(g),c(g)},[a,c]);return e("section",{css:m`
|
|
4838
4850
|
& > .ac-form {
|
|
4839
4851
|
padding: var(--ac-global-dimension-static-size-100)
|
|
4840
4852
|
var(--ac-global-dimension-static-size-100) 0
|
|
4841
4853
|
var(--ac-global-dimension-static-size-100);
|
|
4842
4854
|
}
|
|
4843
|
-
`,children:e(cn,{onSubmit:l(d),children:s(x,{padding:"size-100",children:[e(H,{name:"minClusterSize",control:i,rules:{required:"field is required",min:{value:Jo,message:"must be greater than 1"},max:{value:Pa,message:"must be less than 2,147,483,647"}},render:({field:{onChange:u,onBlur:g,value:h},fieldState:{invalid:f,error:b}})=>s(U,{type:"number",isInvalid:f,onChange:y=>u(parseInt(y,10)),onBlur:g,value:h.toString(),size:"S",children:[e(P,{children:"Min Cluster Size"}),e(Z,{}),b?e(X,{children:b.message}):e(v,{slot:"description",children:"The smallest size for a cluster."})]})}),e(H,{name:"clusterMinSamples",control:i,rules:{required:"field is required",min:{value:
|
|
4855
|
+
`,children:e(cn,{onSubmit:l(d),children:s(x,{padding:"size-100",children:[e(H,{name:"minClusterSize",control:i,rules:{required:"field is required",min:{value:Jo,message:"must be greater than 1"},max:{value:Pa,message:"must be less than 2,147,483,647"}},render:({field:{onChange:u,onBlur:g,value:h},fieldState:{invalid:f,error:b}})=>s(U,{type:"number",isInvalid:f,onChange:y=>u(parseInt(y,10)),onBlur:g,value:h.toString(),size:"S",children:[e(P,{children:"Min Cluster Size"}),e(Z,{}),b?e(X,{children:b.message}):e(v,{slot:"description",children:"The smallest size for a cluster."})]})}),e(H,{name:"clusterMinSamples",control:i,rules:{required:"field is required",min:{value:jt,message:`must be greater than ${jt}`},max:{value:Pa,message:"must be less than 2,147,483,647"}},render:({field:{onBlur:u,onChange:g,value:h},fieldState:{invalid:f,error:b}})=>s(U,{type:"number",isInvalid:f,onChange:y=>g(parseInt(y,10)),onBlur:u,value:h.toString(),size:"S",children:[e(P,{children:"Cluster Minimum Samples"}),e(Z,{}),b?e(X,{children:b.message}):e(v,{slot:"description",children:"Determines if a point is a core point"})]})}),e(H,{name:"clusterSelectionEpsilon",control:i,rules:{required:"field is required",min:{value:0,message:"must be a non-negative number"},max:{value:Pa,message:"must be less than 2,147,483,647"}},render:({field:{onBlur:u,onChange:g,value:h},fieldState:{invalid:f,error:b}})=>s(U,{type:"number",isInvalid:f,onChange:y=>g(parseInt(y,10)),onBlur:u,value:h.toString(),size:"S",children:[e(P,{children:"Cluster Selection Epsilon"}),e(Z,{}),b?e(X,{children:b.message}):e(v,{slot:"description",children:"A distance threshold"})]})}),e(M,{variant:r?"primary":"default",type:"submit",isDisabled:!o||t,css:m`
|
|
4844
4856
|
width: 100%;
|
|
4845
4857
|
margin-top: var(--ac-global-dimension-static-size-100);
|
|
4846
|
-
`,children:t?"Applying...":"Apply Clustering Config"})]})})})}function C4(n){return typeof n=="string"&&n in nn}function ag(n){return s(ha,{selectedKeys:[n.size],size:"S","aria-label":"Selection Grid Size",onSelectionChange:a=>{if(a.size===0)return;const t=a.keys().next().value;if(C4(t))n.onChange(t);else throw new Error(`Unknown grid size: ${t}`)},children:[e(xe,{"aria-label":"Small",id:nn.small,children:"S"}),e(xe,{"aria-label":"Medium",id:nn.medium,children:"M"}),e(xe,{"aria-label":"Large",id:nn.large,children:"L"})]})}const L4=m`
|
|
4847
|
-
width: 100%;
|
|
4848
|
-
display: flex;
|
|
4849
|
-
flex-direction: row;
|
|
4850
|
-
overflow: hidden;
|
|
4851
|
-
border-radius: 8px;
|
|
4852
|
-
gap: 2px;
|
|
4853
|
-
`,k4=m`
|
|
4854
|
-
height: 100%;
|
|
4855
|
-
flex-shrink: 0;
|
|
4856
|
-
flex-grow: 0;
|
|
4857
|
-
`,w4=({height:n=6,segments:a,totalValue:t})=>{const i=Zl(),l=t??a.reduce((r,o)=>r+o.value,0);return e("div",{style:{height:`${n}px`},css:L4,children:a.map((r,o)=>{const c=l>0?r.value/l*100:0,d=r.color||Ul(o,i);return e("div",{css:k4,style:{width:`${c}%`,backgroundColor:d}},r.name)})})};function tg({valueLabel:n,totalValue:a,formatter:t,segments:i}){const l=Zl(),r=i.map((o,c)=>({...o,color:o.color||Ul(c,l)}));return s(S,{direction:"column",gap:"size-150",children:[s(S,{direction:"row",gap:"size-200",justifyContent:"space-between",children:[s(v,{weight:"heavy",children:["Total ",n]}),e(S,{direction:"row",gap:"size-400",children:e(v,{weight:"heavy",children:t(a)})})]}),e(w4,{height:6,totalValue:a,segments:r}),e(S,{direction:"column",gap:"size-100",children:r.map(o=>s(S,{direction:"row",gap:"size-200",justifyContent:"space-between",children:[s(S,{direction:"row",gap:"size-100",alignItems:"center",children:[e("div",{style:{backgroundColor:o.color,width:8,height:8,borderRadius:"100%"}}),e(v,{weight:"heavy",children:o.name})]}),e(S,{direction:"row",gap:"size-400",children:e(v,{weight:"heavy",children:t(o.value)})})]},o.name))})]})}function S4(n){const{value:a}=n;return s("div",{className:"typescript-code-block",css:$l,children:[e(Lt,{text:a}),e(Ud,{value:a})]})}const Dt="https://app.phoenix.arize.com",x4="https://llamatrace.com",T4=[Dt,x4],$1=T4.includes(_n),Ya=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("rect",{x:"0.25",y:"0.25",width:"31.5",height:"31.5"}),e("g",{mask:"url(#mask0_1112_37116)",children:e("path",{d:"M26.2795 13.8229C26.824 12.1886 26.6365 10.3984 25.7657 8.91186C24.4562 6.63186 21.8237 5.45886 19.2527 6.01086C18.109 4.72236 16.4657 3.98961 14.743 4.00011C12.115 3.99411 9.78324 5.68611 8.97474 8.18661C7.28649 8.53236 5.82924 9.58911 4.97649 11.0869C3.65724 13.3609 3.95799 16.2274 5.72049 18.1774C5.17599 19.8116 5.36349 21.6019 6.23424 23.0884C7.54374 25.3684 10.1762 26.5414 12.7472 25.9894C13.8902 27.2779 15.5342 28.0106 17.257 27.9994C19.8865 28.0061 22.219 26.3126 23.0275 23.8099C24.7157 23.4641 26.173 22.4074 27.0257 20.9096C28.3435 18.6356 28.042 15.7714 26.2802 13.8214L26.2795 13.8229ZM17.2585 26.4311C16.2062 26.4326 15.187 26.0644 14.3792 25.3901C14.416 25.3706 14.4797 25.3354 14.521 25.3099L19.3 22.5499C19.5445 22.4111 19.6945 22.1509 19.693 21.8696V15.1324L21.7127 16.2986C21.7345 16.3091 21.7487 16.3301 21.7517 16.3541V21.9334C21.7487 24.4144 19.7395 26.4259 17.2585 26.4311ZM7.59549 22.3039C7.06824 21.3934 6.87849 20.3261 7.05924 19.2904C7.09449 19.3114 7.15674 19.3496 7.20099 19.3751L11.98 22.1351C12.2222 22.2769 12.5222 22.2769 12.7652 22.1351L18.5995 18.7661V21.0986C18.601 21.1226 18.5897 21.1459 18.571 21.1609L13.7402 23.9501C11.5885 25.1891 8.84049 24.4526 7.59624 22.3039H7.59549ZM6.33774 11.8721C6.86274 10.9601 7.69149 10.2626 8.67849 9.90036C8.67849 9.94161 8.67624 10.0144 8.67624 10.0654V15.5861C8.67474 15.8666 8.82474 16.1269 9.06849 16.2656L14.9027 19.6339L12.883 20.8001C12.8627 20.8136 12.8372 20.8159 12.8147 20.8061L7.98324 18.0146C5.83599 16.7711 5.09949 14.0239 6.33699 11.8729L6.33774 11.8721ZM22.9322 15.7339L17.098 12.3649L19.1177 11.1994C19.138 11.1859 19.1635 11.1836 19.186 11.1934L24.0175 13.9826C26.1685 15.2254 26.9057 17.9771 25.663 20.1281C25.1372 21.0386 24.3092 21.7361 23.323 22.0991V16.4134C23.3252 16.1329 23.176 15.8734 22.933 15.7339H22.9322ZM24.9422 12.7084C24.907 12.6866 24.8447 12.6491 24.8005 12.6236L20.0215 9.86361C19.7792 9.72186 19.4792 9.72186 19.2362 9.86361L13.402 13.2326V10.9001C13.4005 10.8761 13.4117 10.8529 13.4305 10.8379L18.2612 8.05086C20.413 6.80961 23.164 7.54836 24.4045 9.70086C24.9287 10.6099 25.1185 11.6741 24.9407 12.7084H24.9422ZM12.304 16.8656L10.2835 15.6994C10.2617 15.6889 10.2475 15.6679 10.2445 15.6439V10.0646C10.246 7.58061 12.2612 5.56761 14.7452 5.56911C15.796 5.56911 16.813 5.93811 17.6207 6.61011C17.584 6.62961 17.521 6.66486 17.479 6.69036L12.7 9.45036C12.4555 9.58911 12.3055 9.84861 12.307 10.1299L12.304 16.8641V16.8656ZM13.4012 14.5001L16 12.9994L18.5987 14.4994V17.5001L16 19.0001L13.4012 17.5001V14.5001Z",fill:"var(--ac-global-text-color-900)"})})]}),A4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M24.3968 1.6001H7.60314C4.28768 1.6001 1.59998 4.28781 1.59998 7.60326V24.3969C1.59998 27.7124 4.28768 30.4001 7.60314 30.4001H24.3968C27.7123 30.4001 30.4 27.7124 30.4 24.3969V7.60326C30.4 4.28781 27.7123 1.6001 24.3968 1.6001Z",fill:"black"}),e("path",{d:"M20.4595 22.9326C20.3942 22.8597 20.3287 22.7869 20.2634 22.7142C19.8027 22.2107 19.5742 21.6292 19.7557 20.8584C18.0112 21.4241 16.3359 21.5521 14.6059 21.1564C14.5605 21.6739 14.5424 22.1469 14.4722 22.6121C14.3864 23.1814 14.2552 23.7437 14.1477 24.3097C14.1102 24.5069 14.069 24.7054 14.0567 24.9049C14.02 25.4989 14.0332 26.0987 13.9532 26.6862C13.912 26.9884 13.7144 27.2694 13.5982 27.535H12.303L12.31 27.5189C12.3792 27.3307 12.4482 27.1426 12.5174 26.9544L12.5139 26.9589C12.5839 26.8887 12.6537 26.8184 12.7237 26.7482L12.7192 26.7527C12.7545 26.7172 12.7899 26.6819 12.8252 26.6464L13.0159 26.6244C13.0344 26.3096 13.0315 26.4252 13.0344 26.3096C13.0482 25.7476 13.04 25.184 13.0099 24.6227C12.9987 24.4167 12.9055 24.215 12.8499 24.0114C12.8112 24.0124 12.7725 24.0134 12.7339 24.0144C12.5274 24.7594 12.3209 25.5046 12.1144 26.2496L12.1235 26.2456C11.9757 26.5136 11.7677 27.0334 11.6199 27.3014C11.436 27.318 10.9177 27.2861 10.4885 27.2886C10.5235 26.9346 10.6549 26.7491 10.878 26.5487C11.3579 26.118 11.487 25.4862 11.4852 24.8812C11.4827 24.0362 11.3699 23.1917 11.3042 22.3469C11.3974 22.1771 11.4514 21.9604 11.5899 21.8451C12.5272 21.0642 13.2919 20.1312 14.0057 19.1537C14.6967 18.2074 15.3922 17.2629 16.0434 16.2891C16.7605 15.2164 17.5035 14.1457 17.668 12.8106C18.8827 12.9386 20.0424 13.2344 21.131 13.8176C21.4637 13.9957 21.8812 14.0157 22.2597 14.1082C22.4 14.2166 22.608 14.2959 22.6692 14.4382C22.9775 15.1554 23.2792 15.8786 23.523 16.6194C23.8229 17.5306 23.903 18.4651 23.748 19.4289C23.5624 20.5829 23.0542 21.576 22.3997 22.5182C22.2909 22.675 22.2555 22.8829 22.1862 23.0672L22.1887 23.0642C22.075 23.1445 21.9549 23.2172 21.849 23.3065C21.5627 23.548 21.4935 24.0167 21.0379 24.0824C21.0317 24.0576 21.0287 24.0326 21.0292 24.0069C21.0052 23.9615 20.9814 23.9164 20.9574 23.8711C20.7914 23.5582 20.6252 23.2456 20.4592 22.9327L20.4595 22.9326ZM8.62136 9.51022C8.44703 9.50288 8.26653 9.63839 8.08886 9.70789C8.08886 9.70789 7.92619 11.0549 7.92619 11.7327C7.92619 12.4106 8.15803 12.9852 8.19736 13.6229C8.22536 14.0771 8.24753 14.5626 8.42353 14.9684C8.63486 15.4552 8.7267 15.9257 8.70036 16.4434C8.62736 17.8817 9.37319 18.8549 10.5164 19.5961C11.0305 19.0374 11.5887 18.5127 12.0495 17.9131C12.9719 16.7127 13.7595 15.4267 14.1932 13.9569C14.2835 13.6507 14.343 13.3357 14.4312 12.9639C14.4792 12.9149 14.5777 12.8141 14.6762 12.7132L12.3105 12.7066C12.2757 12.6751 12.2514 12.6529 12.2165 12.6214L11.9172 9.70205C10.8187 9.63455 9.72053 9.55639 8.62103 9.51005L8.62136 9.51022ZM11.0974 6.03072C10.7014 5.23139 10.1199 4.61372 9.23886 4.26172C9.22486 4.50289 9.21353 4.69605 9.2012 4.90972C8.90686 4.69755 8.64653 4.51005 8.31036 4.26772C8.35336 4.70072 8.39503 5.00289 8.41103 5.30655C8.44253 5.90689 8.18469 6.20839 7.58003 6.29239C7.46219 6.30872 7.33986 6.29239 7.22136 6.30622C6.86669 6.34722 6.67719 6.54672 6.62953 6.90005C6.56719 7.36139 6.80303 7.66355 7.18053 7.84722C7.57336 8.03839 7.99219 8.17639 8.47136 8.36605C8.40119 8.60255 8.32986 8.83639 8.26286 9.07139C8.20253 9.28289 8.14703 9.49572 8.08936 9.70805C8.26703 9.63855 8.44736 9.50305 8.62186 9.51039C9.72136 9.55672 10.8195 9.63472 11.918 9.70238C11.856 8.43122 11.6695 7.18522 11.0977 6.03105L11.0974 6.03072ZM22.7327 23.7432C22.7654 23.7774 22.7979 23.8114 22.8305 23.8456C22.8647 23.8799 22.8989 23.9142 22.933 23.9484C22.967 23.9811 23.0009 24.0137 23.0349 24.0464C23.1599 24.1296 23.2849 24.2129 23.4097 24.2961C23.4704 23.9702 23.8405 23.5016 24.1502 23.2742C24.278 23.1804 24.3344 22.9924 24.4334 22.8546C24.4887 22.7776 24.5649 22.7156 24.6317 22.6469C24.6047 22.4296 24.5622 22.2131 24.5539 21.9951C24.53 21.3696 24.5692 20.7522 24.3732 20.1277C24.1377 19.3777 24.2292 18.5857 24.2729 17.7916C24.9915 17.6471 25.2974 17.1784 25.3377 16.5476C25.3864 15.7856 25.2435 15.0506 24.7662 14.4271C24.424 13.9802 23.9605 13.7294 23.3855 13.8199C23.0047 13.8797 22.6349 14.0094 22.26 14.1079C22.4004 14.2162 22.6084 14.2956 22.6695 14.4379C22.9779 15.1551 23.2795 15.8782 23.5234 16.6191C23.8232 17.5302 23.9034 18.4647 23.7484 19.4286C23.5627 20.5826 23.0545 21.5757 22.4 22.5179C22.2912 22.6747 22.2559 22.8826 22.1865 23.0669C22.3687 23.2924 22.5507 23.5177 22.7329 23.7432H22.7327ZM16.429 12.7566C16.3242 14.1091 15.68 15.2467 14.965 16.3461C14.3355 17.3139 13.7025 18.2844 12.9959 19.1956C12.4884 19.8499 11.857 20.4084 11.2809 21.0096C11.2887 21.4552 11.2965 21.9011 11.3044 22.3467C11.3975 22.1769 11.4515 21.9602 11.59 21.8449C12.5274 21.0641 13.292 20.1311 14.0059 19.1536C14.6969 18.2072 15.3924 17.2627 16.0435 16.2889C16.7607 15.2162 17.5037 14.1456 17.6682 12.8104C17.2552 12.7924 16.8422 12.7746 16.4292 12.7566H16.429ZM11.0757 19.9797C11.6089 19.3922 12.2085 18.8511 12.6599 18.2062C13.3574 17.2101 13.9809 16.1586 14.582 15.1002C14.923 14.5001 15.171 13.8462 15.203 13.1314C15.2087 13.0027 15.3402 12.8799 15.4135 12.7542C15.3532 12.7559 15.293 12.7576 15.2327 12.7592C15.1554 12.7434 15.078 12.7274 15.0009 12.7116C14.8927 12.7122 14.7847 12.7127 14.6765 12.7134C14.578 12.8142 14.4794 12.9151 14.4315 12.9641C14.3434 13.3357 14.2837 13.6509 14.1935 13.9571C13.7599 15.4269 12.9722 16.7129 12.0499 17.9132C11.589 18.5129 11.0309 19.0376 10.5167 19.5962C10.703 19.7241 10.8894 19.8519 11.0757 19.9799V19.9797ZM15.712 12.7541C15.752 13.8777 15.2507 14.8322 14.7135 15.7546C14.1947 16.6451 13.6115 17.5002 13.0197 18.3452C12.6715 18.8424 12.2557 19.2926 11.8627 19.7576C11.6777 19.9764 11.4749 20.1802 11.28 20.3907C11.2804 20.5971 11.2805 20.8032 11.2809 21.0096C11.857 20.4084 12.4884 19.8499 12.9959 19.1956C13.7025 18.2846 14.3357 17.3141 14.965 16.3461C15.68 15.2467 16.3242 14.1091 16.429 12.7566C16.19 12.7557 15.951 12.7549 15.7119 12.7541H15.712ZM23.4289 24.3776C23.5199 24.5641 23.6867 24.7499 23.6879 24.9369C23.692 25.6002 23.6439 26.2644 23.6017 26.9272C23.598 26.9859 23.4942 27.0382 23.4369 27.0935C23.3985 27.1222 23.36 27.1509 23.3217 27.1796C23.2885 27.2149 23.2554 27.2502 23.2222 27.2854C23.186 27.3172 23.1497 27.3489 23.1135 27.3807C23.1704 27.4447 23.2244 27.5609 23.2844 27.564C23.6212 27.582 23.9594 27.5727 24.3122 27.5727C24.6089 26.8482 24.7105 26.1406 24.6009 25.4002C24.5792 25.2536 24.5384 25.0701 24.6017 24.9571C25.0337 24.1864 24.9189 23.4202 24.6317 22.6467C24.5649 22.7154 24.4887 22.7774 24.4334 22.8544C24.3344 22.9922 24.278 23.1802 24.1502 23.2741C23.8405 23.5014 23.4704 23.9701 23.4097 24.2959C23.4145 24.3234 23.4209 24.3505 23.4289 24.3774V24.3776ZM15.4137 12.7541C15.3404 12.8796 15.2089 13.0026 15.2032 13.1312C15.1712 13.8461 14.9232 14.4999 14.5822 15.1001C13.9809 16.1586 13.3575 17.2101 12.66 18.2061C12.2085 18.8509 11.609 19.3919 11.0759 19.9796C11.144 20.1166 11.212 20.2536 11.2802 20.3906C11.475 20.1799 11.6779 19.9762 11.8629 19.7574C12.2559 19.2926 12.6717 18.8422 13.0199 18.345C13.6115 17.5001 14.1949 16.6449 14.7137 15.7544C15.2509 14.8321 15.7522 13.8776 15.7122 12.7539C15.6127 12.7539 15.5134 12.7539 15.4139 12.7539L15.4137 12.7541ZM15.0009 12.7114C15.0782 12.7272 15.1555 12.7432 15.2327 12.7591C15.1554 12.7432 15.078 12.7272 15.0009 12.7114ZM12.2212 12.6641C12.251 12.6782 12.281 12.6924 12.3109 12.7066C12.2842 12.6857 12.2542 12.6716 12.2212 12.6641ZM20.2559 26.4779C20.1152 26.5756 19.9745 26.6732 19.8339 26.7709C19.8065 26.9284 19.7792 27.0859 19.7505 27.2509H20.9545C20.9545 27.0077 20.9384 26.7889 20.9602 26.5741C20.9747 26.4314 21.0054 26.2596 21.0949 26.1604C21.8912 25.2774 22.2055 24.2307 22.189 23.064C22.0754 23.1444 21.9552 23.2171 21.8494 23.3064C21.563 23.5479 21.4939 24.0166 21.0382 24.0822C21.0512 24.9702 20.7829 25.7662 20.256 26.4779H20.2559Z",fill:"url(#paint0_linear_1119_37286)"}),e("defs",{children:s("linearGradient",{id:"paint0_linear_1119_37286",x1:"3.72803",y1:"12.2264",x2:"26.5747",y2:"25.3626",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#F6DDD7"}),e("stop",{offset:"0.25",stopColor:"#FCABE6"}),e("stop",{offset:"0.3",stopColor:"#F3ADE6"}),e("stop",{offset:"0.38",stopColor:"#DDB3E8"}),e("stop",{offset:"0.48",stopColor:"#B8BCEC"}),e("stop",{offset:"0.59",stopColor:"#85CAF1"}),e("stop",{offset:"0.7",stopColor:"#50D8F6"}),e("stop",{offset:"0.76",stopColor:"#50D8F6"}),e("stop",{offset:"0.86",stopColor:"#B58FE8"})]})})]}),B1=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("rect",{x:"0.25",y:"0.25",width:"31.5",height:"31.5"}),e("path",{d:"M24.0371 13.2112C24.5781 13.7522 24.5781 14.6325 24.0371 15.1734L22.8253 16.3657L22.813 16.2974C22.7245 15.8074 22.4915 15.3627 22.1398 15.011C21.875 14.7467 21.5619 14.5513 21.2091 14.4303C20.9902 14.6504 20.8698 14.9388 20.8698 15.2423C20.8698 15.3039 20.8754 15.3678 20.8866 15.4316C21.0809 15.5016 21.2528 15.6097 21.3973 15.7542C21.9382 16.2951 21.9382 17.1754 21.3973 17.7164L20.3422 18.7714C20.0718 19.0419 19.7167 19.1769 19.3611 19.1769C19.0055 19.1769 18.6505 19.0419 18.38 18.7714C17.839 18.2305 17.839 17.3502 18.38 16.8092L19.5918 15.6175L19.6042 15.6858C19.6921 16.1747 19.925 16.6194 20.2778 16.9716C20.5433 17.237 20.8373 17.4134 21.1895 17.5338L21.2545 17.4689C21.4516 17.2718 21.5597 17.0097 21.5597 16.7302C21.5597 16.6681 21.5541 16.6059 21.5434 16.5449C21.3402 16.4777 21.1727 16.3819 21.0204 16.2296C20.8009 16.0101 20.6642 15.7295 20.6262 15.4187C20.6234 15.3963 20.6217 15.3745 20.6194 15.3521C20.5892 14.9472 20.7354 14.5518 21.0204 14.2674L22.0754 13.2123C22.337 12.9508 22.6853 12.8063 23.0566 12.8063C23.4278 12.8063 23.7762 12.9502 24.0377 13.2123L24.0371 13.2112ZM29.5464 16C29.5464 19.8601 26.4059 23 22.5464 23H9C5.14048 23 2 19.8601 2 16C2 12.1399 5.14048 9 9 9H22.5464C26.4065 9 29.5464 12.1405 29.5464 16ZM15.4904 19.5106C15.6007 19.3768 15.0911 18.9999 14.987 18.8616C14.7753 18.632 14.7742 18.3016 14.6314 18.0334C14.2819 17.2236 13.8804 16.42 13.3187 15.7346C12.7251 14.9847 11.9926 14.3642 11.3492 13.6603C10.8715 13.1692 10.7438 12.4698 10.3222 11.9417C9.74088 11.0832 7.90296 10.8491 7.6336 12.0615C7.63472 12.0996 7.62296 12.1237 7.58992 12.1478C7.44096 12.2558 7.30824 12.3796 7.1968 12.5291C6.92408 12.9088 6.88208 13.5528 7.22256 13.8938C7.23376 13.7141 7.23992 13.5444 7.38216 13.4156C7.64536 13.6413 8.04296 13.7214 8.34816 13.5528C9.0224 14.5154 8.8544 15.8471 9.38976 16.8842C9.5376 17.1295 9.68656 17.3798 9.8764 17.5949C10.0304 17.8346 10.5624 18.1174 10.5938 18.3391C10.5994 18.7199 10.5546 19.136 10.8043 19.4546C10.9219 19.6932 10.633 19.9329 10.4 19.9032C10.0976 19.9446 9.72856 19.6999 9.46368 19.8506C9.37016 19.9519 9.18704 19.8399 9.1064 19.9805C9.0784 20.0533 8.9272 20.1558 9.01736 20.2258C9.1176 20.1496 9.21056 20.0701 9.34552 20.1154C9.32536 20.2252 9.41216 20.2409 9.48104 20.2728C9.4788 20.3473 9.43512 20.4234 9.49224 20.4867C9.55888 20.4195 9.59864 20.3243 9.70448 20.2963C10.0562 20.765 10.414 19.822 11.175 20.2465C11.0205 20.2386 10.8833 20.2582 10.7791 20.3854C10.7534 20.4139 10.7315 20.4475 10.7769 20.4845C11.1874 20.2196 11.1851 20.5752 11.4517 20.466C11.6566 20.359 11.8605 20.2252 12.1041 20.2633C11.8672 20.3316 11.8577 20.522 11.7188 20.6827C11.6953 20.7074 11.6841 20.7354 11.7115 20.7762C12.2032 20.7348 12.2435 20.5713 12.6406 20.3708C12.9368 20.1899 13.2319 20.6284 13.4884 20.3786C13.545 20.3243 13.6222 20.3428 13.6922 20.3355C13.6026 19.8578 12.6176 20.4229 12.6333 19.7822C12.9502 19.5666 12.8774 19.1539 12.8987 18.8207C13.2633 19.0229 13.6687 19.1405 14.026 19.3337C14.2063 19.6249 14.4891 20.0096 14.866 19.9844C14.8761 19.9553 14.885 19.9295 14.8957 19.8998C15.0099 19.9194 15.1566 19.995 15.2194 19.8506C15.3902 20.0292 15.641 20.0202 15.8645 19.9743C16.0297 19.8399 15.5537 19.6484 15.4898 19.5101L15.4904 19.5106ZM25.4926 14.1923C25.4926 13.5405 25.2394 12.9284 24.7797 12.4686C24.3199 12.0089 23.7078 11.7558 23.0554 11.7558C22.403 11.7558 21.791 12.0089 21.3312 12.4686L20.2762 13.5237C20.0298 13.7701 19.8427 14.0596 19.7201 14.3838L19.7128 14.4023L19.6938 14.4079C19.3107 14.5261 18.973 14.7288 18.6902 15.0116L17.6352 16.0666C16.6849 17.0175 16.6849 18.5642 17.6352 19.5146C18.095 19.9743 18.707 20.2274 19.3589 20.2274C20.0107 20.2274 20.6234 19.9743 21.0831 19.5146L22.1382 18.4595C22.3834 18.2142 22.5694 17.9258 22.692 17.6022L22.6993 17.5837L22.7183 17.5775C23.0946 17.4622 23.4418 17.2527 23.7235 16.9716L24.7786 15.9166C25.2383 15.4568 25.4914 14.8447 25.4914 14.1923H25.4926ZM11.6533 18.7216C11.5626 19.0755 11.5329 19.6786 11.0726 19.696C11.0345 19.9004 11.2142 19.9771 11.3772 19.9116C11.539 19.8371 11.6158 19.9704 11.6701 20.1031C11.9198 20.1395 12.2894 20.0197 12.3034 19.724C11.9305 19.509 11.8151 19.1002 11.6527 18.7216H11.6533Z",fill:"var(--ac-global-text-color-900)"})]}),I4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M29.5341 0H2.46593C1.10403 0 0 1.10403 0 2.46593V29.5341C0 30.896 1.10403 32 2.46593 32H29.5341C30.896 32 32 30.896 32 29.5341V2.46593C32 1.10403 30.896 0 29.5341 0Z",fill:"#0EAF9C"}),e("path",{d:"M24.1471 21.3058C24.1471 21.4934 23.9942 21.6447 23.806 21.6447C22.1086 21.6447 20.7328 20.2777 20.7328 18.5913V13.1026C20.7328 10.6667 18.7453 8.69255 16.2944 8.69255C13.8435 8.69255 11.9651 10.6674 11.9651 13.1026V15.1358C11.9611 15.3197 12.1082 15.4716 12.2925 15.4749C12.2951 15.4749 12.2971 15.4749 12.2997 15.4749H14.2389C14.4271 15.4787 14.5833 15.33 14.5872 15.1424C14.5872 15.1398 14.5872 15.1378 14.5872 15.1352V13.0201C14.5872 12.083 15.3513 11.3239 16.2944 11.3239C17.2375 11.3239 18.0016 12.083 18.0016 13.0201V25.7697C17.9976 25.9606 17.8388 26.1126 17.6466 26.1086C15.9571 26.1086 14.5872 24.7475 14.5872 23.0689C14.5872 23.0643 14.5872 23.0597 14.5872 23.0552V18.9842C14.5833 18.7958 14.4284 18.6451 14.2389 18.6451H12.2997C12.1147 18.6451 11.9651 18.7939 11.9651 18.9776C11.9651 18.9802 11.9651 18.9822 11.9651 18.9848V20.342C11.9651 22.0285 10.4801 23.3955 8.78276 23.3955C8.59391 23.3955 8.44165 23.2436 8.44165 23.0565V13.1033C8.44165 8.79386 11.9572 5.30078 16.2944 5.30078C20.6315 5.30078 24.1471 8.79386 24.1471 13.1033V21.3058Z",fill:"white"})]}),M4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("g",{clipPath:"url(#clip0_1112_37203)",children:[e("path",{d:"M29.0909 0H23.2727V6.39251H29.0909V0Z",fill:"black"}),e("path",{d:"M32 0H26.1818V6.39251H32V0Z",fill:"#F7D046"}),e("path",{d:"M5.81818 0H0V6.39251H5.81818V0Z",fill:"black"}),e("path",{d:"M5.81818 6.39258H0V12.7851H5.81818V6.39258Z",fill:"black"}),e("path",{d:"M5.81818 12.7852H0V19.1777H5.81818V12.7852Z",fill:"black"}),e("path",{d:"M5.81818 19.1777H0V25.5702H5.81818V19.1777Z",fill:"black"}),e("path",{d:"M5.81818 25.5698H0V31.9623H5.81818V25.5698Z",fill:"black"}),e("path",{d:"M8.7273 0H2.90912V6.39251H8.7273V0Z",fill:"#F7D046"}),e("path",{d:"M32 6.39258H26.1818V12.7851H32V6.39258Z",fill:"#F2A73B"}),e("path",{d:"M8.7273 6.39258H2.90912V12.7851H8.7273V6.39258Z",fill:"#F2A73B"}),e("path",{d:"M23.2727 6.39258H17.4545V12.7851H23.2727V6.39258Z",fill:"black"}),e("path",{d:"M26.1818 6.39258H20.3636V12.7851H26.1818V6.39258Z",fill:"#F2A73B"}),e("path",{d:"M14.5455 6.39258H8.72729V12.7851H14.5455V6.39258Z",fill:"#F2A73B"}),e("path",{d:"M20.3637 12.7852H14.5455V19.1777H20.3637V12.7852Z",fill:"#EE792F"}),e("path",{d:"M26.1818 12.7852H20.3636V19.1777H26.1818V12.7852Z",fill:"#EE792F"}),e("path",{d:"M14.5455 12.7852H8.72729V19.1777H14.5455V12.7852Z",fill:"#EE792F"}),e("path",{d:"M17.4545 19.1777H11.6364V25.5702H17.4545V19.1777Z",fill:"black"}),e("path",{d:"M20.3637 19.1777H14.5455V25.5702H20.3637V19.1777Z",fill:"#EB5829"}),e("path",{d:"M32 12.7852H26.1818V19.1777H32V12.7852Z",fill:"#EE792F"}),e("path",{d:"M8.7273 12.7852H2.90912V19.1777H8.7273V12.7852Z",fill:"#EE792F"}),e("path",{d:"M29.0909 19.1777H23.2727V25.5702H29.0909V19.1777Z",fill:"black"}),e("path",{d:"M32 19.1777H26.1818V25.5702H32V19.1777Z",fill:"#EB5829"}),e("path",{d:"M29.0909 25.5698H23.2727V31.9623H29.0909V25.5698Z",fill:"black"}),e("path",{d:"M8.7273 19.1777H2.90912V25.5702H8.7273V19.1777Z",fill:"#EB5829"}),e("path",{d:"M32 25.5698H26.1818V31.9623H32V25.5698Z",fill:"#EA3326"}),e("path",{d:"M8.7273 25.5698H2.90912V31.9623H8.7273V25.5698Z",fill:"#EA3326"})]}),e("defs",{children:e("clipPath",{id:"clip0_1112_37203",children:e("rect",{width:"32",height:"32",fill:"white"})})})]}),z4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M26.6667 18.52C26.5078 18.3292 26.2852 18.2025 26.04 18.1633C25.7949 18.1241 25.5438 18.175 25.3333 18.3067L16 25.16V25.4533C16.1347 25.4374 16.2712 25.4501 16.4005 25.4908C16.5299 25.5314 16.6492 25.5989 16.7506 25.689C16.852 25.7791 16.9331 25.8896 16.9887 26.0133C17.0442 26.137 17.0729 26.2711 17.0729 26.4067C17.0729 26.5423 17.0442 26.6763 16.9887 26.8C16.9331 26.9237 16.852 27.0342 16.7506 27.1243C16.6492 27.2144 16.5299 27.2819 16.4005 27.3226C16.2712 27.3632 16.1347 27.3759 16 27.36C16.2165 27.361 16.4274 27.2907 16.6 27.16L26.48 19.8667C26.6725 19.7053 26.7982 19.4781 26.8327 19.2293C26.8672 18.9804 26.808 18.7277 26.6667 18.52Z",fill:"#669DF6"}),e("path",{d:"M16 27.3598C15.7666 27.3322 15.5514 27.2198 15.3953 27.0441C15.2392 26.8684 15.153 26.6415 15.153 26.4065C15.153 26.1714 15.2392 25.9446 15.3953 25.7689C15.5514 25.5931 15.7666 25.4808 16 25.4532V25.1598L6.66669 18.3065C6.45707 18.172 6.20525 18.1194 5.95931 18.1587C5.71337 18.1981 5.49054 18.3266 5.33335 18.5198C5.19277 18.7276 5.13659 18.981 5.17621 19.2287C5.21584 19.4764 5.34831 19.6997 5.54669 19.8532L15.4267 27.1465C15.5952 27.2753 15.8012 27.3455 16.0134 27.3465L16 27.3598Z",fill:"#AECBFA"}),e("path",{d:"M16 24.4531C15.6123 24.4531 15.2334 24.5681 14.9111 24.7834C14.5887 24.9988 14.3375 25.3049 14.1892 25.6631C14.0408 26.0212 14.002 26.4153 14.0776 26.7955C14.1533 27.1757 14.3399 27.5249 14.614 27.7991C14.8882 28.0732 15.2374 28.2598 15.6176 28.3355C15.9978 28.4111 16.3919 28.3723 16.75 28.2239C17.1082 28.0756 17.4143 27.8244 17.6297 27.502C17.845 27.1797 17.96 26.8008 17.96 26.4131C17.96 25.8933 17.7535 25.3948 17.3859 25.0272C17.0183 24.6596 16.5198 24.4531 16 24.4531ZM16 27.3598C15.8095 27.3598 15.6234 27.3031 15.4653 27.197C15.3071 27.0909 15.1841 26.9402 15.1119 26.764C15.0396 26.5878 15.0214 26.3941 15.0595 26.2075C15.0977 26.021 15.1904 25.85 15.326 25.7162C15.4616 25.5825 15.6339 25.4922 15.821 25.4566C16.0081 25.4211 16.2015 25.442 16.3767 25.5168C16.5519 25.5915 16.7008 25.7166 16.8047 25.8762C16.9086 26.0358 16.9626 26.2227 16.96 26.4131C16.96 26.5386 16.9351 26.6628 16.8867 26.7785C16.8383 26.8942 16.7673 26.9992 16.678 27.0873C16.5887 27.1754 16.4827 27.2448 16.3663 27.2916C16.25 27.3384 16.1254 27.3616 16 27.3598Z",fill:"#4285F4"}),e("path",{d:"M8.00001 8.14679C7.73587 8.14333 7.48352 8.03687 7.29673 7.85008C7.10993 7.66328 7.00347 7.41093 7.00001 7.14679V4.64012C6.98365 4.4982 6.99749 4.35441 7.04061 4.21821C7.08373 4.08201 7.15517 3.95647 7.25023 3.84982C7.34529 3.74317 7.46183 3.65782 7.5922 3.59939C7.72256 3.54095 7.86382 3.51074 8.00668 3.51074C8.14955 3.51074 8.2908 3.54095 8.42117 3.59939C8.55153 3.65782 8.66807 3.74317 8.76313 3.84982C8.85819 3.95647 8.92963 4.08201 8.97275 4.21821C9.01587 4.35441 9.02971 4.4982 9.01335 4.64012V7.14679C9.00984 7.41322 8.90153 7.66756 8.71188 7.85472C8.52222 8.04188 8.26647 8.14681 8.00001 8.14679Z",fill:"#AECBFA"}),e("path",{d:"M7.97336 17.0135C8.533 17.0135 8.98669 16.5598 8.98669 16.0002C8.98669 15.4405 8.533 14.9868 7.97336 14.9868C7.41371 14.9868 6.96002 15.4405 6.96002 16.0002C6.96002 16.5598 7.41371 17.0135 7.97336 17.0135Z",fill:"#AECBFA"}),e("path",{d:"M7.97336 14.0667C8.533 14.0667 8.98669 13.613 8.98669 13.0534C8.98669 12.4937 8.533 12.04 7.97336 12.04C7.41371 12.04 6.96002 12.4937 6.96002 13.0534C6.96002 13.613 7.41371 14.0667 7.97336 14.0667Z",fill:"#AECBFA"}),e("path",{d:"M7.97336 11.1067C8.533 11.1067 8.98669 10.6531 8.98669 10.0934C8.98669 9.53376 8.533 9.08008 7.97336 9.08008C7.41371 9.08008 6.96002 9.53376 6.96002 10.0934C6.96002 10.6531 7.41371 11.1067 7.97336 11.1067Z",fill:"#AECBFA"}),e("path",{d:"M24 11.0801C23.7336 11.0766 23.4792 10.9682 23.2921 10.7786C23.1049 10.5889 23 10.3332 23 10.0667V7.56006C23 7.29484 23.1054 7.04049 23.2929 6.85295C23.4804 6.66542 23.7348 6.56006 24 6.56006C24.2652 6.56006 24.5196 6.66542 24.7071 6.85295C24.8946 7.04049 25 7.29484 25 7.56006V10.0667C25.0018 10.1992 24.9772 10.3306 24.9277 10.4535C24.8783 10.5764 24.8049 10.6882 24.7119 10.7825C24.6188 10.8767 24.508 10.9516 24.3858 11.0027C24.2636 11.0538 24.1325 11.0801 24 11.0801Z",fill:"#4285F4"}),e("path",{d:"M24.0266 17.0267C24.5863 17.0267 25.04 16.573 25.04 16.0133C25.04 15.4537 24.5863 15 24.0266 15C23.467 15 23.0133 15.4537 23.0133 16.0133C23.0133 16.573 23.467 17.0267 24.0266 17.0267Z",fill:"#4285F4"}),e("path",{d:"M24.0266 14.0267C24.5863 14.0267 25.04 13.573 25.04 13.0133C25.04 12.4537 24.5863 12 24.0266 12C23.467 12 23.0133 12.4537 23.0133 13.0133C23.0133 13.573 23.467 14.0267 24.0266 14.0267Z",fill:"#4285F4"}),e("path",{d:"M24.0266 5.65313C24.5863 5.65313 25.04 5.19945 25.04 4.6398C25.04 4.08015 24.5863 3.62646 24.0266 3.62646C23.467 3.62646 23.0133 4.08015 23.0133 4.6398C23.0133 5.19945 23.467 5.65313 24.0266 5.65313Z",fill:"#4285F4"}),e("path",{d:"M16 20.0001C15.7359 19.9967 15.4835 19.8902 15.2967 19.7034C15.1099 19.5166 15.0035 19.2642 15 19.0001V16.4534C15.0285 16.2064 15.1468 15.9785 15.3324 15.813C15.518 15.6476 15.758 15.5562 16.0067 15.5562C16.2553 15.5562 16.4953 15.6476 16.6809 15.813C16.8665 15.9785 16.9849 16.2064 17.0133 16.4534V18.9734C17.0151 19.1076 16.9902 19.2408 16.9401 19.3653C16.8899 19.4898 16.8156 19.6031 16.7213 19.6986C16.627 19.7941 16.5147 19.87 16.3909 19.9217C16.2671 19.9735 16.1342 20.0001 16 20.0001Z",fill:"#669DF6"}),e("path",{d:"M16 22.9466C16.5597 22.9466 17.0134 22.4929 17.0134 21.9333C17.0134 21.3736 16.5597 20.9199 16 20.9199C15.4404 20.9199 14.9867 21.3736 14.9867 21.9333C14.9867 22.4929 15.4404 22.9466 16 22.9466Z",fill:"#669DF6"}),e("path",{d:"M16 14.5335C16.5597 14.5335 17.0134 14.0798 17.0134 13.5202C17.0134 12.9605 16.5597 12.5068 16 12.5068C15.4404 12.5068 14.9867 12.9605 14.9867 13.5202C14.9867 14.0798 15.4404 14.5335 16 14.5335Z",fill:"#669DF6"}),e("path",{d:"M16 11.5735C16.5597 11.5735 17.0134 11.1199 17.0134 10.5602C17.0134 10.0006 16.5597 9.54688 16 9.54688C15.4404 9.54688 14.9867 10.0006 14.9867 10.5602C14.9867 11.1199 15.4404 11.5735 16 11.5735Z",fill:"#669DF6"}),e("path",{d:"M20 14.0535C19.7359 14.0501 19.4835 13.9436 19.2967 13.7568C19.1099 13.57 19.0035 13.3177 19 13.0535V10.5469C18.9837 10.4049 18.9975 10.2612 19.0406 10.125C19.0837 9.98875 19.1552 9.8632 19.2502 9.75655C19.3453 9.64991 19.4618 9.56456 19.5922 9.50613C19.7226 9.44769 19.8638 9.41748 20.0067 9.41748C20.1495 9.41748 20.2908 9.44769 20.4212 9.50613C20.5515 9.56456 20.6681 9.64991 20.7631 9.75655C20.8582 9.8632 20.9296 9.98875 20.9728 10.125C21.0159 10.2612 21.0297 10.4049 21.0133 10.5469V13.0535C21.0098 13.32 20.9015 13.5743 20.7119 13.7615C20.5222 13.9486 20.2665 14.0535 20 14.0535Z",fill:"#4285F4"}),e("path",{d:"M20.0133 8.59991C20.573 8.59991 21.0267 8.14622 21.0267 7.58658C21.0267 7.02693 20.573 6.57324 20.0133 6.57324C19.4537 6.57324 19 7.02693 19 7.58658C19 8.14622 19.4537 8.59991 20.0133 8.59991Z",fill:"#4285F4"}),e("path",{d:"M20.0133 19.9334C20.573 19.9334 21.0267 19.4797 21.0267 18.9201C21.0267 18.3604 20.573 17.9067 20.0133 17.9067C19.4537 17.9067 19 18.3604 19 18.9201C19 19.4797 19.4537 19.9334 20.0133 19.9334Z",fill:"#4285F4"}),e("path",{d:"M20.0133 16.9734C20.573 16.9734 21.0267 16.5198 21.0267 15.9601C21.0267 15.4005 20.573 14.9468 20.0133 14.9468C19.4537 14.9468 19 15.4005 19 15.9601C19 16.5198 19.4537 16.9734 20.0133 16.9734Z",fill:"#4285F4"}),e("path",{d:"M11.9867 19.9334C12.5463 19.9334 13 19.4797 13 18.9201C13 18.3604 12.5463 17.9067 11.9867 17.9067C11.427 17.9067 10.9733 18.3604 10.9733 18.9201C10.9733 19.4797 11.427 19.9334 11.9867 19.9334Z",fill:"#AECBFA"}),e("path",{d:"M11.9867 11.5735C12.5463 11.5735 13 11.1199 13 10.5602C13 10.0006 12.5463 9.54688 11.9867 9.54688C11.427 9.54688 10.9733 10.0006 10.9733 10.5602C10.9733 11.1199 11.427 11.5735 11.9867 11.5735Z",fill:"#AECBFA"}),e("path",{d:"M11.9867 8.59991C12.5463 8.59991 13 8.14622 13 7.58658C13 7.02693 12.5463 6.57324 11.9867 6.57324C11.427 6.57324 10.9733 7.02693 10.9733 7.58658C10.9733 8.14622 11.427 8.59991 11.9867 8.59991Z",fill:"#AECBFA"}),e("path",{d:"M12 16.9735C11.7381 16.9737 11.4862 16.8724 11.2973 16.6909C11.1083 16.5095 10.997 16.2619 10.9867 16.0001V13.4668C10.9867 13.2016 11.0921 12.9472 11.2796 12.7597C11.4671 12.5722 11.7215 12.4668 11.9867 12.4668C12.2519 12.4668 12.5063 12.5722 12.6938 12.7597C12.8813 12.9472 12.9867 13.2016 12.9867 13.4668V16.0001C12.9798 16.2584 12.8733 16.504 12.6893 16.6854C12.5054 16.8669 12.2584 16.9701 12 16.9735Z",fill:"#AECBFA"})]}),F4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("g",{clipPath:"url(#clip0_1148_5989)",children:e("path",{d:"M1.96742 0.421623C1.1852 0.496042 0.711124 0.64488 0.616309 0.868135C0.379272 1.5379 0.189642 30.6108 0.42668 30.9829C0.592605 31.2309 1.75409 31.3798 4.64594 31.5286C9.88446 31.8511 30.9571 31.7022 31.2652 31.3798C31.4074 31.2309 31.5259 25.7239 31.5733 16.1736C31.6445 2.15806 31.6208 1.19061 31.2415 0.892941C31.0045 0.719297 29.9852 0.496042 28.9896 0.421623C27.1171 0.24798 4.21927 0.272786 1.96742 0.421623ZM15.7867 2.10844C15.8815 2.3317 15.8578 3.10069 15.763 3.84488C15.6208 5.18441 15.5971 5.20922 14.8385 5.20922C11.6148 5.20922 11.5674 11.386 14.7911 11.4852C15.2652 11.51 15.6445 11.6092 15.6445 11.7332C15.6445 11.8325 15.5259 12.7255 15.36 13.6929L15.0993 15.4294L14.0089 15.2805C10.8326 14.8092 10.2874 14.8092 9.86075 15.2557C9.60001 15.5286 9.5052 15.9007 9.57631 16.2232C10.1452 18.2573 9.83705 18.8526 8.29631 18.8526C6.58964 18.8526 6.3052 18.4061 6.92149 16.6201C7.15853 15.8759 7.13483 15.7519 6.63705 15.3301C6.21038 14.9581 5.6889 14.8836 3.84001 14.8836H1.58816L1.73038 12.8247C1.8252 11.7084 1.89631 8.80612 1.89631 6.39992V2.00922L2.56001 1.91C2.91557 1.86038 5.99705 1.78596 9.43409 1.76116C14.7911 1.73635 15.6682 1.78596 15.7867 2.10844ZM30.0326 2.05883C30.1985 2.23248 30.1985 15.3798 30.0326 15.5286C30.0089 15.5534 29.1556 15.6278 28.1363 15.6774L26.2874 15.8015L26.4296 15.2061C26.643 14.2387 26.1215 12.9488 25.363 12.527C24.4859 12.0557 22.5185 12.0557 21.4519 12.5022C20.4326 12.9488 20.0771 13.6681 20.1956 15.0325L20.2667 16.0991L19.2 15.9751C16.6163 15.6774 16.5452 15.6526 16.6874 15.0325C16.7585 14.71 16.9482 13.5937 17.0904 12.5519C17.3274 10.865 17.3274 10.5922 16.9719 10.1953C16.6637 9.82317 16.3556 9.74875 15.6208 9.84798C14.4593 10.0216 13.9852 9.62472 13.9852 8.50844C13.9852 7.04488 14.3171 6.67279 15.5971 6.7472C16.5452 6.82162 16.7111 6.7472 16.9956 6.20147C17.1615 5.85418 17.3037 4.7379 17.3037 3.64643V1.68674L23.5615 1.78596C26.9985 1.81077 29.9141 1.95961 30.0326 2.05883ZM24.4385 13.9162C24.8415 14.1395 24.8889 14.3875 24.8415 15.7022L24.7704 17.2402L27.4963 17.1906L30.2222 17.1658L30.1985 18.679C30.1748 19.5224 30.1511 22.4743 30.1274 25.2278L30.1037 30.2635H23.2296H16.3556V28.527V26.8154L17.5408 26.9643C18.6548 27.0883 18.7496 27.0635 19.5793 26.1953C20.4326 25.3022 20.4326 25.2774 20.3378 23.541C20.2667 21.9534 20.1719 21.7053 19.5556 21.1596C18.963 20.6139 18.7022 20.5395 17.4696 20.6387L16.0711 20.7379L16.2133 20.0185C16.2845 19.6216 16.3556 18.8278 16.3556 18.2325V17.1906L17.4933 17.3891C18.1096 17.4883 19.2711 17.5875 20.0533 17.5875C21.9259 17.6123 22.2104 17.3146 21.8311 15.7519C21.6889 15.1069 21.6178 14.4867 21.7126 14.3627C22.0919 13.7177 23.6563 13.4697 24.4385 13.9162ZM5.09631 17.6371C5.12001 19.1751 5.6889 19.9937 6.92149 20.341C8.34372 20.7627 9.88446 20.4402 10.7141 19.5968C11.2593 19.0263 11.3778 18.679 11.3778 17.7115V16.5457L12.4682 16.7193C13.0845 16.7937 13.8193 16.8681 14.1274 16.8681C14.6963 16.8681 14.6963 16.9177 14.6963 19.3488C14.6963 21.4573 14.7674 21.9038 15.1467 22.3007C15.5971 22.772 15.6682 22.772 16.7822 22.3999C17.4222 22.1767 18.1096 22.0774 18.323 22.1519C18.7971 22.3255 19.0341 23.8387 18.7259 24.6821C18.4889 25.3022 18.3941 25.3519 17.4696 25.2278C16.9245 25.1782 16.3082 25.0294 16.1185 24.955C15.9052 24.8557 15.5496 24.955 15.2889 25.1534C14.8859 25.4511 14.7911 25.8728 14.7437 27.8821L14.6489 30.2635H11.7571C10.1452 30.2635 7.22964 30.1891 5.26224 30.0898L1.65927 29.941V23.1441V16.3472L3.38964 16.4216L5.09631 16.496V17.6371Z",fill:"#EF4036"})}),e("defs",{children:e("clipPath",{id:"clip0_1148_5989",children:e("rect",{width:"32",height:"32",fill:"transparent"})})})]}),E4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M18.2835 6L26.4963 26.5994H31L22.7873 6H18.2835Z",fill:"var(--ac-global-text-color-900)"}),e("path",{d:"M8.75587 18.4479L11.566 11.2087L14.3762 18.4479H8.75587ZM9.21147 6L1 26.5994H5.59136L7.27074 22.2735H15.8616L17.5407 26.5994H22.132L13.9206 6H9.21147Z",fill:"var(--ac-global-text-color-900)"})]}),D4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M18.9623 11.0195C16.8877 11.0195 15.208 12.6992 15.208 14.7739C15.208 16.8485 16.8877 18.5282 18.9623 18.5282C21.037 18.5282 22.7167 16.8485 22.7167 14.7739C22.7167 12.6992 21.0332 11.0195 18.9623 11.0195ZM18.9623 17.1208C17.6662 17.1208 16.6154 16.07 16.6154 14.7739C16.6154 13.4777 17.6662 12.4269 18.9623 12.4269C20.2585 12.4269 21.3093 13.4777 21.3093 14.7739C21.3093 16.07 20.2585 17.1208 18.9623 17.1208Z",fill:"var(--ac-global-text-color-900)"}),e("path",{d:"M13.7781 11.0308C13.6515 11.0155 13.5212 11.0078 13.3908 11.0078C13.3256 11.0078 13.2642 11.0078 13.2029 11.0078C13.1415 11.0078 13.0763 11.0155 13.015 11.0193C12.7619 11.0385 12.5126 11.0807 12.2672 11.1459C11.7648 11.2801 11.2969 11.514 10.8904 11.84C10.4763 12.1736 10.1426 12.5954 9.91639 13.0786C9.80518 13.3202 9.72081 13.5733 9.67096 13.8341C9.64411 13.9607 9.62494 14.091 9.61343 14.2214C9.6096 14.2866 9.60193 14.348 9.60193 14.417V14.5129V14.6011V15.8589L9.6096 17.1167L9.61727 18.3746H11.0247L11.0323 17.1167V15.8589L11.04 14.6011V14.4707C11.04 14.4323 11.0477 14.3902 11.0515 14.3518C11.0592 14.2751 11.0707 14.1946 11.086 14.1179C11.1167 13.9683 11.1666 13.8188 11.2317 13.6807C11.3621 13.4008 11.5539 13.1553 11.7955 12.9598C12.0486 12.7603 12.3362 12.6108 12.6468 12.5264C12.8079 12.4842 12.9689 12.4536 13.1377 12.4382C13.1798 12.4382 13.222 12.4305 13.2642 12.4305C13.3064 12.4305 13.3486 12.4305 13.3908 12.4305C13.4713 12.4305 13.5518 12.4344 13.6324 12.442C13.9545 12.4727 14.2651 12.5724 14.5451 12.7297L15.2468 11.5102C14.7982 11.2494 14.2996 11.0845 13.7858 11.027L13.7781 11.0308Z",fill:"var(--ac-global-text-color-900)"}),e("path",{d:"M4.789 11.0002C2.71434 10.981 1.01934 12.6453 1.00016 14.72C0.98099 16.7946 2.64532 18.4896 4.71997 18.5088H6.02383V17.1014H4.789C3.49282 17.1168 2.43057 16.0775 2.41523 14.7813C2.39989 13.4852 3.43913 12.4229 4.73531 12.4076H4.789C6.08518 12.4076 7.13593 13.4583 7.13977 14.7545V18.2135C7.13977 19.4982 6.09285 20.5451 4.81201 20.5605C4.19843 20.5566 3.6117 20.3074 3.17836 19.874L2.1813 20.8711C2.87157 21.5652 3.80728 21.9602 4.78517 21.9717H4.83502C6.88283 21.941 8.52799 20.2805 8.53949 18.2327V14.6663C8.48964 12.6261 6.82531 11.0002 4.789 11.0002Z",fill:"var(--ac-global-text-color-900)"}),e("path",{d:"M27.2533 11.0195C25.1787 11.0195 23.499 12.6992 23.499 14.7739C23.499 16.8485 25.1787 18.5282 27.2533 18.5282H28.538V17.1208H27.2533C25.9572 17.1208 24.9064 16.07 24.9064 14.7739C24.9064 13.4777 25.9572 12.4269 27.2533 12.4269C28.469 12.4269 29.4852 13.3588 29.5926 14.5706V21.7801H31V14.7739C30.9962 12.703 29.3242 11.0195 27.2533 11.0195Z",fill:"var(--ac-global-text-color-900)"})]}),_4=()=>e("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"32",height:"32",viewBox:"0 0 400 400",enableBackground:"new 0 0 400 400",xmlSpace:"preserve",children:e("path",{fill:"var(--ac-global-text-color-900)",stroke:"none",d:`
|
|
4858
|
+
`,children:t?"Applying...":"Apply Clustering Config"})]})})})}function w4(n){return typeof n=="string"&&n in nn}function lg(n){return s(ha,{selectedKeys:[n.size],size:"S","aria-label":"Selection Grid Size",onSelectionChange:a=>{if(a.size===0)return;const t=a.keys().next().value;if(w4(t))n.onChange(t);else throw new Error(`Unknown grid size: ${t}`)},children:[e(xe,{"aria-label":"Small",id:nn.small,children:"S"}),e(xe,{"aria-label":"Medium",id:nn.medium,children:"M"}),e(xe,{"aria-label":"Large",id:nn.large,children:"L"})]})}function S4(n){const{value:a}=n;return s("div",{className:"typescript-code-block",css:$l,children:[e(Lt,{text:a}),e(Ud,{value:a})]})}const _t="https://app.phoenix.arize.com",x4="https://llamatrace.com",T4=[_t,x4],N1=T4.includes(_n),Ya=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("rect",{x:"0.25",y:"0.25",width:"31.5",height:"31.5"}),e("g",{mask:"url(#mask0_1112_37116)",children:e("path",{d:"M26.2795 13.8229C26.824 12.1886 26.6365 10.3984 25.7657 8.91186C24.4562 6.63186 21.8237 5.45886 19.2527 6.01086C18.109 4.72236 16.4657 3.98961 14.743 4.00011C12.115 3.99411 9.78324 5.68611 8.97474 8.18661C7.28649 8.53236 5.82924 9.58911 4.97649 11.0869C3.65724 13.3609 3.95799 16.2274 5.72049 18.1774C5.17599 19.8116 5.36349 21.6019 6.23424 23.0884C7.54374 25.3684 10.1762 26.5414 12.7472 25.9894C13.8902 27.2779 15.5342 28.0106 17.257 27.9994C19.8865 28.0061 22.219 26.3126 23.0275 23.8099C24.7157 23.4641 26.173 22.4074 27.0257 20.9096C28.3435 18.6356 28.042 15.7714 26.2802 13.8214L26.2795 13.8229ZM17.2585 26.4311C16.2062 26.4326 15.187 26.0644 14.3792 25.3901C14.416 25.3706 14.4797 25.3354 14.521 25.3099L19.3 22.5499C19.5445 22.4111 19.6945 22.1509 19.693 21.8696V15.1324L21.7127 16.2986C21.7345 16.3091 21.7487 16.3301 21.7517 16.3541V21.9334C21.7487 24.4144 19.7395 26.4259 17.2585 26.4311ZM7.59549 22.3039C7.06824 21.3934 6.87849 20.3261 7.05924 19.2904C7.09449 19.3114 7.15674 19.3496 7.20099 19.3751L11.98 22.1351C12.2222 22.2769 12.5222 22.2769 12.7652 22.1351L18.5995 18.7661V21.0986C18.601 21.1226 18.5897 21.1459 18.571 21.1609L13.7402 23.9501C11.5885 25.1891 8.84049 24.4526 7.59624 22.3039H7.59549ZM6.33774 11.8721C6.86274 10.9601 7.69149 10.2626 8.67849 9.90036C8.67849 9.94161 8.67624 10.0144 8.67624 10.0654V15.5861C8.67474 15.8666 8.82474 16.1269 9.06849 16.2656L14.9027 19.6339L12.883 20.8001C12.8627 20.8136 12.8372 20.8159 12.8147 20.8061L7.98324 18.0146C5.83599 16.7711 5.09949 14.0239 6.33699 11.8729L6.33774 11.8721ZM22.9322 15.7339L17.098 12.3649L19.1177 11.1994C19.138 11.1859 19.1635 11.1836 19.186 11.1934L24.0175 13.9826C26.1685 15.2254 26.9057 17.9771 25.663 20.1281C25.1372 21.0386 24.3092 21.7361 23.323 22.0991V16.4134C23.3252 16.1329 23.176 15.8734 22.933 15.7339H22.9322ZM24.9422 12.7084C24.907 12.6866 24.8447 12.6491 24.8005 12.6236L20.0215 9.86361C19.7792 9.72186 19.4792 9.72186 19.2362 9.86361L13.402 13.2326V10.9001C13.4005 10.8761 13.4117 10.8529 13.4305 10.8379L18.2612 8.05086C20.413 6.80961 23.164 7.54836 24.4045 9.70086C24.9287 10.6099 25.1185 11.6741 24.9407 12.7084H24.9422ZM12.304 16.8656L10.2835 15.6994C10.2617 15.6889 10.2475 15.6679 10.2445 15.6439V10.0646C10.246 7.58061 12.2612 5.56761 14.7452 5.56911C15.796 5.56911 16.813 5.93811 17.6207 6.61011C17.584 6.62961 17.521 6.66486 17.479 6.69036L12.7 9.45036C12.4555 9.58911 12.3055 9.84861 12.307 10.1299L12.304 16.8641V16.8656ZM13.4012 14.5001L16 12.9994L18.5987 14.4994V17.5001L16 19.0001L13.4012 17.5001V14.5001Z",fill:"var(--ac-global-text-color-900)"})})]}),A4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M24.3968 1.6001H7.60314C4.28768 1.6001 1.59998 4.28781 1.59998 7.60326V24.3969C1.59998 27.7124 4.28768 30.4001 7.60314 30.4001H24.3968C27.7123 30.4001 30.4 27.7124 30.4 24.3969V7.60326C30.4 4.28781 27.7123 1.6001 24.3968 1.6001Z",fill:"black"}),e("path",{d:"M20.4595 22.9326C20.3942 22.8597 20.3287 22.7869 20.2634 22.7142C19.8027 22.2107 19.5742 21.6292 19.7557 20.8584C18.0112 21.4241 16.3359 21.5521 14.6059 21.1564C14.5605 21.6739 14.5424 22.1469 14.4722 22.6121C14.3864 23.1814 14.2552 23.7437 14.1477 24.3097C14.1102 24.5069 14.069 24.7054 14.0567 24.9049C14.02 25.4989 14.0332 26.0987 13.9532 26.6862C13.912 26.9884 13.7144 27.2694 13.5982 27.535H12.303L12.31 27.5189C12.3792 27.3307 12.4482 27.1426 12.5174 26.9544L12.5139 26.9589C12.5839 26.8887 12.6537 26.8184 12.7237 26.7482L12.7192 26.7527C12.7545 26.7172 12.7899 26.6819 12.8252 26.6464L13.0159 26.6244C13.0344 26.3096 13.0315 26.4252 13.0344 26.3096C13.0482 25.7476 13.04 25.184 13.0099 24.6227C12.9987 24.4167 12.9055 24.215 12.8499 24.0114C12.8112 24.0124 12.7725 24.0134 12.7339 24.0144C12.5274 24.7594 12.3209 25.5046 12.1144 26.2496L12.1235 26.2456C11.9757 26.5136 11.7677 27.0334 11.6199 27.3014C11.436 27.318 10.9177 27.2861 10.4885 27.2886C10.5235 26.9346 10.6549 26.7491 10.878 26.5487C11.3579 26.118 11.487 25.4862 11.4852 24.8812C11.4827 24.0362 11.3699 23.1917 11.3042 22.3469C11.3974 22.1771 11.4514 21.9604 11.5899 21.8451C12.5272 21.0642 13.2919 20.1312 14.0057 19.1537C14.6967 18.2074 15.3922 17.2629 16.0434 16.2891C16.7605 15.2164 17.5035 14.1457 17.668 12.8106C18.8827 12.9386 20.0424 13.2344 21.131 13.8176C21.4637 13.9957 21.8812 14.0157 22.2597 14.1082C22.4 14.2166 22.608 14.2959 22.6692 14.4382C22.9775 15.1554 23.2792 15.8786 23.523 16.6194C23.8229 17.5306 23.903 18.4651 23.748 19.4289C23.5624 20.5829 23.0542 21.576 22.3997 22.5182C22.2909 22.675 22.2555 22.8829 22.1862 23.0672L22.1887 23.0642C22.075 23.1445 21.9549 23.2172 21.849 23.3065C21.5627 23.548 21.4935 24.0167 21.0379 24.0824C21.0317 24.0576 21.0287 24.0326 21.0292 24.0069C21.0052 23.9615 20.9814 23.9164 20.9574 23.8711C20.7914 23.5582 20.6252 23.2456 20.4592 22.9327L20.4595 22.9326ZM8.62136 9.51022C8.44703 9.50288 8.26653 9.63839 8.08886 9.70789C8.08886 9.70789 7.92619 11.0549 7.92619 11.7327C7.92619 12.4106 8.15803 12.9852 8.19736 13.6229C8.22536 14.0771 8.24753 14.5626 8.42353 14.9684C8.63486 15.4552 8.7267 15.9257 8.70036 16.4434C8.62736 17.8817 9.37319 18.8549 10.5164 19.5961C11.0305 19.0374 11.5887 18.5127 12.0495 17.9131C12.9719 16.7127 13.7595 15.4267 14.1932 13.9569C14.2835 13.6507 14.343 13.3357 14.4312 12.9639C14.4792 12.9149 14.5777 12.8141 14.6762 12.7132L12.3105 12.7066C12.2757 12.6751 12.2514 12.6529 12.2165 12.6214L11.9172 9.70205C10.8187 9.63455 9.72053 9.55639 8.62103 9.51005L8.62136 9.51022ZM11.0974 6.03072C10.7014 5.23139 10.1199 4.61372 9.23886 4.26172C9.22486 4.50289 9.21353 4.69605 9.2012 4.90972C8.90686 4.69755 8.64653 4.51005 8.31036 4.26772C8.35336 4.70072 8.39503 5.00289 8.41103 5.30655C8.44253 5.90689 8.18469 6.20839 7.58003 6.29239C7.46219 6.30872 7.33986 6.29239 7.22136 6.30622C6.86669 6.34722 6.67719 6.54672 6.62953 6.90005C6.56719 7.36139 6.80303 7.66355 7.18053 7.84722C7.57336 8.03839 7.99219 8.17639 8.47136 8.36605C8.40119 8.60255 8.32986 8.83639 8.26286 9.07139C8.20253 9.28289 8.14703 9.49572 8.08936 9.70805C8.26703 9.63855 8.44736 9.50305 8.62186 9.51039C9.72136 9.55672 10.8195 9.63472 11.918 9.70238C11.856 8.43122 11.6695 7.18522 11.0977 6.03105L11.0974 6.03072ZM22.7327 23.7432C22.7654 23.7774 22.7979 23.8114 22.8305 23.8456C22.8647 23.8799 22.8989 23.9142 22.933 23.9484C22.967 23.9811 23.0009 24.0137 23.0349 24.0464C23.1599 24.1296 23.2849 24.2129 23.4097 24.2961C23.4704 23.9702 23.8405 23.5016 24.1502 23.2742C24.278 23.1804 24.3344 22.9924 24.4334 22.8546C24.4887 22.7776 24.5649 22.7156 24.6317 22.6469C24.6047 22.4296 24.5622 22.2131 24.5539 21.9951C24.53 21.3696 24.5692 20.7522 24.3732 20.1277C24.1377 19.3777 24.2292 18.5857 24.2729 17.7916C24.9915 17.6471 25.2974 17.1784 25.3377 16.5476C25.3864 15.7856 25.2435 15.0506 24.7662 14.4271C24.424 13.9802 23.9605 13.7294 23.3855 13.8199C23.0047 13.8797 22.6349 14.0094 22.26 14.1079C22.4004 14.2162 22.6084 14.2956 22.6695 14.4379C22.9779 15.1551 23.2795 15.8782 23.5234 16.6191C23.8232 17.5302 23.9034 18.4647 23.7484 19.4286C23.5627 20.5826 23.0545 21.5757 22.4 22.5179C22.2912 22.6747 22.2559 22.8826 22.1865 23.0669C22.3687 23.2924 22.5507 23.5177 22.7329 23.7432H22.7327ZM16.429 12.7566C16.3242 14.1091 15.68 15.2467 14.965 16.3461C14.3355 17.3139 13.7025 18.2844 12.9959 19.1956C12.4884 19.8499 11.857 20.4084 11.2809 21.0096C11.2887 21.4552 11.2965 21.9011 11.3044 22.3467C11.3975 22.1769 11.4515 21.9602 11.59 21.8449C12.5274 21.0641 13.292 20.1311 14.0059 19.1536C14.6969 18.2072 15.3924 17.2627 16.0435 16.2889C16.7607 15.2162 17.5037 14.1456 17.6682 12.8104C17.2552 12.7924 16.8422 12.7746 16.4292 12.7566H16.429ZM11.0757 19.9797C11.6089 19.3922 12.2085 18.8511 12.6599 18.2062C13.3574 17.2101 13.9809 16.1586 14.582 15.1002C14.923 14.5001 15.171 13.8462 15.203 13.1314C15.2087 13.0027 15.3402 12.8799 15.4135 12.7542C15.3532 12.7559 15.293 12.7576 15.2327 12.7592C15.1554 12.7434 15.078 12.7274 15.0009 12.7116C14.8927 12.7122 14.7847 12.7127 14.6765 12.7134C14.578 12.8142 14.4794 12.9151 14.4315 12.9641C14.3434 13.3357 14.2837 13.6509 14.1935 13.9571C13.7599 15.4269 12.9722 16.7129 12.0499 17.9132C11.589 18.5129 11.0309 19.0376 10.5167 19.5962C10.703 19.7241 10.8894 19.8519 11.0757 19.9799V19.9797ZM15.712 12.7541C15.752 13.8777 15.2507 14.8322 14.7135 15.7546C14.1947 16.6451 13.6115 17.5002 13.0197 18.3452C12.6715 18.8424 12.2557 19.2926 11.8627 19.7576C11.6777 19.9764 11.4749 20.1802 11.28 20.3907C11.2804 20.5971 11.2805 20.8032 11.2809 21.0096C11.857 20.4084 12.4884 19.8499 12.9959 19.1956C13.7025 18.2846 14.3357 17.3141 14.965 16.3461C15.68 15.2467 16.3242 14.1091 16.429 12.7566C16.19 12.7557 15.951 12.7549 15.7119 12.7541H15.712ZM23.4289 24.3776C23.5199 24.5641 23.6867 24.7499 23.6879 24.9369C23.692 25.6002 23.6439 26.2644 23.6017 26.9272C23.598 26.9859 23.4942 27.0382 23.4369 27.0935C23.3985 27.1222 23.36 27.1509 23.3217 27.1796C23.2885 27.2149 23.2554 27.2502 23.2222 27.2854C23.186 27.3172 23.1497 27.3489 23.1135 27.3807C23.1704 27.4447 23.2244 27.5609 23.2844 27.564C23.6212 27.582 23.9594 27.5727 24.3122 27.5727C24.6089 26.8482 24.7105 26.1406 24.6009 25.4002C24.5792 25.2536 24.5384 25.0701 24.6017 24.9571C25.0337 24.1864 24.9189 23.4202 24.6317 22.6467C24.5649 22.7154 24.4887 22.7774 24.4334 22.8544C24.3344 22.9922 24.278 23.1802 24.1502 23.2741C23.8405 23.5014 23.4704 23.9701 23.4097 24.2959C23.4145 24.3234 23.4209 24.3505 23.4289 24.3774V24.3776ZM15.4137 12.7541C15.3404 12.8796 15.2089 13.0026 15.2032 13.1312C15.1712 13.8461 14.9232 14.4999 14.5822 15.1001C13.9809 16.1586 13.3575 17.2101 12.66 18.2061C12.2085 18.8509 11.609 19.3919 11.0759 19.9796C11.144 20.1166 11.212 20.2536 11.2802 20.3906C11.475 20.1799 11.6779 19.9762 11.8629 19.7574C12.2559 19.2926 12.6717 18.8422 13.0199 18.345C13.6115 17.5001 14.1949 16.6449 14.7137 15.7544C15.2509 14.8321 15.7522 13.8776 15.7122 12.7539C15.6127 12.7539 15.5134 12.7539 15.4139 12.7539L15.4137 12.7541ZM15.0009 12.7114C15.0782 12.7272 15.1555 12.7432 15.2327 12.7591C15.1554 12.7432 15.078 12.7272 15.0009 12.7114ZM12.2212 12.6641C12.251 12.6782 12.281 12.6924 12.3109 12.7066C12.2842 12.6857 12.2542 12.6716 12.2212 12.6641ZM20.2559 26.4779C20.1152 26.5756 19.9745 26.6732 19.8339 26.7709C19.8065 26.9284 19.7792 27.0859 19.7505 27.2509H20.9545C20.9545 27.0077 20.9384 26.7889 20.9602 26.5741C20.9747 26.4314 21.0054 26.2596 21.0949 26.1604C21.8912 25.2774 22.2055 24.2307 22.189 23.064C22.0754 23.1444 21.9552 23.2171 21.8494 23.3064C21.563 23.5479 21.4939 24.0166 21.0382 24.0822C21.0512 24.9702 20.7829 25.7662 20.256 26.4779H20.2559Z",fill:"url(#paint0_linear_1119_37286)"}),e("defs",{children:s("linearGradient",{id:"paint0_linear_1119_37286",x1:"3.72803",y1:"12.2264",x2:"26.5747",y2:"25.3626",gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#F6DDD7"}),e("stop",{offset:"0.25",stopColor:"#FCABE6"}),e("stop",{offset:"0.3",stopColor:"#F3ADE6"}),e("stop",{offset:"0.38",stopColor:"#DDB3E8"}),e("stop",{offset:"0.48",stopColor:"#B8BCEC"}),e("stop",{offset:"0.59",stopColor:"#85CAF1"}),e("stop",{offset:"0.7",stopColor:"#50D8F6"}),e("stop",{offset:"0.76",stopColor:"#50D8F6"}),e("stop",{offset:"0.86",stopColor:"#B58FE8"})]})})]}),$1=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("rect",{x:"0.25",y:"0.25",width:"31.5",height:"31.5"}),e("path",{d:"M24.0371 13.2112C24.5781 13.7522 24.5781 14.6325 24.0371 15.1734L22.8253 16.3657L22.813 16.2974C22.7245 15.8074 22.4915 15.3627 22.1398 15.011C21.875 14.7467 21.5619 14.5513 21.2091 14.4303C20.9902 14.6504 20.8698 14.9388 20.8698 15.2423C20.8698 15.3039 20.8754 15.3678 20.8866 15.4316C21.0809 15.5016 21.2528 15.6097 21.3973 15.7542C21.9382 16.2951 21.9382 17.1754 21.3973 17.7164L20.3422 18.7714C20.0718 19.0419 19.7167 19.1769 19.3611 19.1769C19.0055 19.1769 18.6505 19.0419 18.38 18.7714C17.839 18.2305 17.839 17.3502 18.38 16.8092L19.5918 15.6175L19.6042 15.6858C19.6921 16.1747 19.925 16.6194 20.2778 16.9716C20.5433 17.237 20.8373 17.4134 21.1895 17.5338L21.2545 17.4689C21.4516 17.2718 21.5597 17.0097 21.5597 16.7302C21.5597 16.6681 21.5541 16.6059 21.5434 16.5449C21.3402 16.4777 21.1727 16.3819 21.0204 16.2296C20.8009 16.0101 20.6642 15.7295 20.6262 15.4187C20.6234 15.3963 20.6217 15.3745 20.6194 15.3521C20.5892 14.9472 20.7354 14.5518 21.0204 14.2674L22.0754 13.2123C22.337 12.9508 22.6853 12.8063 23.0566 12.8063C23.4278 12.8063 23.7762 12.9502 24.0377 13.2123L24.0371 13.2112ZM29.5464 16C29.5464 19.8601 26.4059 23 22.5464 23H9C5.14048 23 2 19.8601 2 16C2 12.1399 5.14048 9 9 9H22.5464C26.4065 9 29.5464 12.1405 29.5464 16ZM15.4904 19.5106C15.6007 19.3768 15.0911 18.9999 14.987 18.8616C14.7753 18.632 14.7742 18.3016 14.6314 18.0334C14.2819 17.2236 13.8804 16.42 13.3187 15.7346C12.7251 14.9847 11.9926 14.3642 11.3492 13.6603C10.8715 13.1692 10.7438 12.4698 10.3222 11.9417C9.74088 11.0832 7.90296 10.8491 7.6336 12.0615C7.63472 12.0996 7.62296 12.1237 7.58992 12.1478C7.44096 12.2558 7.30824 12.3796 7.1968 12.5291C6.92408 12.9088 6.88208 13.5528 7.22256 13.8938C7.23376 13.7141 7.23992 13.5444 7.38216 13.4156C7.64536 13.6413 8.04296 13.7214 8.34816 13.5528C9.0224 14.5154 8.8544 15.8471 9.38976 16.8842C9.5376 17.1295 9.68656 17.3798 9.8764 17.5949C10.0304 17.8346 10.5624 18.1174 10.5938 18.3391C10.5994 18.7199 10.5546 19.136 10.8043 19.4546C10.9219 19.6932 10.633 19.9329 10.4 19.9032C10.0976 19.9446 9.72856 19.6999 9.46368 19.8506C9.37016 19.9519 9.18704 19.8399 9.1064 19.9805C9.0784 20.0533 8.9272 20.1558 9.01736 20.2258C9.1176 20.1496 9.21056 20.0701 9.34552 20.1154C9.32536 20.2252 9.41216 20.2409 9.48104 20.2728C9.4788 20.3473 9.43512 20.4234 9.49224 20.4867C9.55888 20.4195 9.59864 20.3243 9.70448 20.2963C10.0562 20.765 10.414 19.822 11.175 20.2465C11.0205 20.2386 10.8833 20.2582 10.7791 20.3854C10.7534 20.4139 10.7315 20.4475 10.7769 20.4845C11.1874 20.2196 11.1851 20.5752 11.4517 20.466C11.6566 20.359 11.8605 20.2252 12.1041 20.2633C11.8672 20.3316 11.8577 20.522 11.7188 20.6827C11.6953 20.7074 11.6841 20.7354 11.7115 20.7762C12.2032 20.7348 12.2435 20.5713 12.6406 20.3708C12.9368 20.1899 13.2319 20.6284 13.4884 20.3786C13.545 20.3243 13.6222 20.3428 13.6922 20.3355C13.6026 19.8578 12.6176 20.4229 12.6333 19.7822C12.9502 19.5666 12.8774 19.1539 12.8987 18.8207C13.2633 19.0229 13.6687 19.1405 14.026 19.3337C14.2063 19.6249 14.4891 20.0096 14.866 19.9844C14.8761 19.9553 14.885 19.9295 14.8957 19.8998C15.0099 19.9194 15.1566 19.995 15.2194 19.8506C15.3902 20.0292 15.641 20.0202 15.8645 19.9743C16.0297 19.8399 15.5537 19.6484 15.4898 19.5101L15.4904 19.5106ZM25.4926 14.1923C25.4926 13.5405 25.2394 12.9284 24.7797 12.4686C24.3199 12.0089 23.7078 11.7558 23.0554 11.7558C22.403 11.7558 21.791 12.0089 21.3312 12.4686L20.2762 13.5237C20.0298 13.7701 19.8427 14.0596 19.7201 14.3838L19.7128 14.4023L19.6938 14.4079C19.3107 14.5261 18.973 14.7288 18.6902 15.0116L17.6352 16.0666C16.6849 17.0175 16.6849 18.5642 17.6352 19.5146C18.095 19.9743 18.707 20.2274 19.3589 20.2274C20.0107 20.2274 20.6234 19.9743 21.0831 19.5146L22.1382 18.4595C22.3834 18.2142 22.5694 17.9258 22.692 17.6022L22.6993 17.5837L22.7183 17.5775C23.0946 17.4622 23.4418 17.2527 23.7235 16.9716L24.7786 15.9166C25.2383 15.4568 25.4914 14.8447 25.4914 14.1923H25.4926ZM11.6533 18.7216C11.5626 19.0755 11.5329 19.6786 11.0726 19.696C11.0345 19.9004 11.2142 19.9771 11.3772 19.9116C11.539 19.8371 11.6158 19.9704 11.6701 20.1031C11.9198 20.1395 12.2894 20.0197 12.3034 19.724C11.9305 19.509 11.8151 19.1002 11.6527 18.7216H11.6533Z",fill:"var(--ac-global-text-color-900)"})]}),I4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M29.5341 0H2.46593C1.10403 0 0 1.10403 0 2.46593V29.5341C0 30.896 1.10403 32 2.46593 32H29.5341C30.896 32 32 30.896 32 29.5341V2.46593C32 1.10403 30.896 0 29.5341 0Z",fill:"#0EAF9C"}),e("path",{d:"M24.1471 21.3058C24.1471 21.4934 23.9942 21.6447 23.806 21.6447C22.1086 21.6447 20.7328 20.2777 20.7328 18.5913V13.1026C20.7328 10.6667 18.7453 8.69255 16.2944 8.69255C13.8435 8.69255 11.9651 10.6674 11.9651 13.1026V15.1358C11.9611 15.3197 12.1082 15.4716 12.2925 15.4749C12.2951 15.4749 12.2971 15.4749 12.2997 15.4749H14.2389C14.4271 15.4787 14.5833 15.33 14.5872 15.1424C14.5872 15.1398 14.5872 15.1378 14.5872 15.1352V13.0201C14.5872 12.083 15.3513 11.3239 16.2944 11.3239C17.2375 11.3239 18.0016 12.083 18.0016 13.0201V25.7697C17.9976 25.9606 17.8388 26.1126 17.6466 26.1086C15.9571 26.1086 14.5872 24.7475 14.5872 23.0689C14.5872 23.0643 14.5872 23.0597 14.5872 23.0552V18.9842C14.5833 18.7958 14.4284 18.6451 14.2389 18.6451H12.2997C12.1147 18.6451 11.9651 18.7939 11.9651 18.9776C11.9651 18.9802 11.9651 18.9822 11.9651 18.9848V20.342C11.9651 22.0285 10.4801 23.3955 8.78276 23.3955C8.59391 23.3955 8.44165 23.2436 8.44165 23.0565V13.1033C8.44165 8.79386 11.9572 5.30078 16.2944 5.30078C20.6315 5.30078 24.1471 8.79386 24.1471 13.1033V21.3058Z",fill:"white"})]}),M4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("g",{clipPath:"url(#clip0_1112_37203)",children:[e("path",{d:"M29.0909 0H23.2727V6.39251H29.0909V0Z",fill:"black"}),e("path",{d:"M32 0H26.1818V6.39251H32V0Z",fill:"#F7D046"}),e("path",{d:"M5.81818 0H0V6.39251H5.81818V0Z",fill:"black"}),e("path",{d:"M5.81818 6.39258H0V12.7851H5.81818V6.39258Z",fill:"black"}),e("path",{d:"M5.81818 12.7852H0V19.1777H5.81818V12.7852Z",fill:"black"}),e("path",{d:"M5.81818 19.1777H0V25.5702H5.81818V19.1777Z",fill:"black"}),e("path",{d:"M5.81818 25.5698H0V31.9623H5.81818V25.5698Z",fill:"black"}),e("path",{d:"M8.7273 0H2.90912V6.39251H8.7273V0Z",fill:"#F7D046"}),e("path",{d:"M32 6.39258H26.1818V12.7851H32V6.39258Z",fill:"#F2A73B"}),e("path",{d:"M8.7273 6.39258H2.90912V12.7851H8.7273V6.39258Z",fill:"#F2A73B"}),e("path",{d:"M23.2727 6.39258H17.4545V12.7851H23.2727V6.39258Z",fill:"black"}),e("path",{d:"M26.1818 6.39258H20.3636V12.7851H26.1818V6.39258Z",fill:"#F2A73B"}),e("path",{d:"M14.5455 6.39258H8.72729V12.7851H14.5455V6.39258Z",fill:"#F2A73B"}),e("path",{d:"M20.3637 12.7852H14.5455V19.1777H20.3637V12.7852Z",fill:"#EE792F"}),e("path",{d:"M26.1818 12.7852H20.3636V19.1777H26.1818V12.7852Z",fill:"#EE792F"}),e("path",{d:"M14.5455 12.7852H8.72729V19.1777H14.5455V12.7852Z",fill:"#EE792F"}),e("path",{d:"M17.4545 19.1777H11.6364V25.5702H17.4545V19.1777Z",fill:"black"}),e("path",{d:"M20.3637 19.1777H14.5455V25.5702H20.3637V19.1777Z",fill:"#EB5829"}),e("path",{d:"M32 12.7852H26.1818V19.1777H32V12.7852Z",fill:"#EE792F"}),e("path",{d:"M8.7273 12.7852H2.90912V19.1777H8.7273V12.7852Z",fill:"#EE792F"}),e("path",{d:"M29.0909 19.1777H23.2727V25.5702H29.0909V19.1777Z",fill:"black"}),e("path",{d:"M32 19.1777H26.1818V25.5702H32V19.1777Z",fill:"#EB5829"}),e("path",{d:"M29.0909 25.5698H23.2727V31.9623H29.0909V25.5698Z",fill:"black"}),e("path",{d:"M8.7273 19.1777H2.90912V25.5702H8.7273V19.1777Z",fill:"#EB5829"}),e("path",{d:"M32 25.5698H26.1818V31.9623H32V25.5698Z",fill:"#EA3326"}),e("path",{d:"M8.7273 25.5698H2.90912V31.9623H8.7273V25.5698Z",fill:"#EA3326"})]}),e("defs",{children:e("clipPath",{id:"clip0_1112_37203",children:e("rect",{width:"32",height:"32",fill:"white"})})})]}),z4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M26.6667 18.52C26.5078 18.3292 26.2852 18.2025 26.04 18.1633C25.7949 18.1241 25.5438 18.175 25.3333 18.3067L16 25.16V25.4533C16.1347 25.4374 16.2712 25.4501 16.4005 25.4908C16.5299 25.5314 16.6492 25.5989 16.7506 25.689C16.852 25.7791 16.9331 25.8896 16.9887 26.0133C17.0442 26.137 17.0729 26.2711 17.0729 26.4067C17.0729 26.5423 17.0442 26.6763 16.9887 26.8C16.9331 26.9237 16.852 27.0342 16.7506 27.1243C16.6492 27.2144 16.5299 27.2819 16.4005 27.3226C16.2712 27.3632 16.1347 27.3759 16 27.36C16.2165 27.361 16.4274 27.2907 16.6 27.16L26.48 19.8667C26.6725 19.7053 26.7982 19.4781 26.8327 19.2293C26.8672 18.9804 26.808 18.7277 26.6667 18.52Z",fill:"#669DF6"}),e("path",{d:"M16 27.3598C15.7666 27.3322 15.5514 27.2198 15.3953 27.0441C15.2392 26.8684 15.153 26.6415 15.153 26.4065C15.153 26.1714 15.2392 25.9446 15.3953 25.7689C15.5514 25.5931 15.7666 25.4808 16 25.4532V25.1598L6.66669 18.3065C6.45707 18.172 6.20525 18.1194 5.95931 18.1587C5.71337 18.1981 5.49054 18.3266 5.33335 18.5198C5.19277 18.7276 5.13659 18.981 5.17621 19.2287C5.21584 19.4764 5.34831 19.6997 5.54669 19.8532L15.4267 27.1465C15.5952 27.2753 15.8012 27.3455 16.0134 27.3465L16 27.3598Z",fill:"#AECBFA"}),e("path",{d:"M16 24.4531C15.6123 24.4531 15.2334 24.5681 14.9111 24.7834C14.5887 24.9988 14.3375 25.3049 14.1892 25.6631C14.0408 26.0212 14.002 26.4153 14.0776 26.7955C14.1533 27.1757 14.3399 27.5249 14.614 27.7991C14.8882 28.0732 15.2374 28.2598 15.6176 28.3355C15.9978 28.4111 16.3919 28.3723 16.75 28.2239C17.1082 28.0756 17.4143 27.8244 17.6297 27.502C17.845 27.1797 17.96 26.8008 17.96 26.4131C17.96 25.8933 17.7535 25.3948 17.3859 25.0272C17.0183 24.6596 16.5198 24.4531 16 24.4531ZM16 27.3598C15.8095 27.3598 15.6234 27.3031 15.4653 27.197C15.3071 27.0909 15.1841 26.9402 15.1119 26.764C15.0396 26.5878 15.0214 26.3941 15.0595 26.2075C15.0977 26.021 15.1904 25.85 15.326 25.7162C15.4616 25.5825 15.6339 25.4922 15.821 25.4566C16.0081 25.4211 16.2015 25.442 16.3767 25.5168C16.5519 25.5915 16.7008 25.7166 16.8047 25.8762C16.9086 26.0358 16.9626 26.2227 16.96 26.4131C16.96 26.5386 16.9351 26.6628 16.8867 26.7785C16.8383 26.8942 16.7673 26.9992 16.678 27.0873C16.5887 27.1754 16.4827 27.2448 16.3663 27.2916C16.25 27.3384 16.1254 27.3616 16 27.3598Z",fill:"#4285F4"}),e("path",{d:"M8.00001 8.14679C7.73587 8.14333 7.48352 8.03687 7.29673 7.85008C7.10993 7.66328 7.00347 7.41093 7.00001 7.14679V4.64012C6.98365 4.4982 6.99749 4.35441 7.04061 4.21821C7.08373 4.08201 7.15517 3.95647 7.25023 3.84982C7.34529 3.74317 7.46183 3.65782 7.5922 3.59939C7.72256 3.54095 7.86382 3.51074 8.00668 3.51074C8.14955 3.51074 8.2908 3.54095 8.42117 3.59939C8.55153 3.65782 8.66807 3.74317 8.76313 3.84982C8.85819 3.95647 8.92963 4.08201 8.97275 4.21821C9.01587 4.35441 9.02971 4.4982 9.01335 4.64012V7.14679C9.00984 7.41322 8.90153 7.66756 8.71188 7.85472C8.52222 8.04188 8.26647 8.14681 8.00001 8.14679Z",fill:"#AECBFA"}),e("path",{d:"M7.97336 17.0135C8.533 17.0135 8.98669 16.5598 8.98669 16.0002C8.98669 15.4405 8.533 14.9868 7.97336 14.9868C7.41371 14.9868 6.96002 15.4405 6.96002 16.0002C6.96002 16.5598 7.41371 17.0135 7.97336 17.0135Z",fill:"#AECBFA"}),e("path",{d:"M7.97336 14.0667C8.533 14.0667 8.98669 13.613 8.98669 13.0534C8.98669 12.4937 8.533 12.04 7.97336 12.04C7.41371 12.04 6.96002 12.4937 6.96002 13.0534C6.96002 13.613 7.41371 14.0667 7.97336 14.0667Z",fill:"#AECBFA"}),e("path",{d:"M7.97336 11.1067C8.533 11.1067 8.98669 10.6531 8.98669 10.0934C8.98669 9.53376 8.533 9.08008 7.97336 9.08008C7.41371 9.08008 6.96002 9.53376 6.96002 10.0934C6.96002 10.6531 7.41371 11.1067 7.97336 11.1067Z",fill:"#AECBFA"}),e("path",{d:"M24 11.0801C23.7336 11.0766 23.4792 10.9682 23.2921 10.7786C23.1049 10.5889 23 10.3332 23 10.0667V7.56006C23 7.29484 23.1054 7.04049 23.2929 6.85295C23.4804 6.66542 23.7348 6.56006 24 6.56006C24.2652 6.56006 24.5196 6.66542 24.7071 6.85295C24.8946 7.04049 25 7.29484 25 7.56006V10.0667C25.0018 10.1992 24.9772 10.3306 24.9277 10.4535C24.8783 10.5764 24.8049 10.6882 24.7119 10.7825C24.6188 10.8767 24.508 10.9516 24.3858 11.0027C24.2636 11.0538 24.1325 11.0801 24 11.0801Z",fill:"#4285F4"}),e("path",{d:"M24.0266 17.0267C24.5863 17.0267 25.04 16.573 25.04 16.0133C25.04 15.4537 24.5863 15 24.0266 15C23.467 15 23.0133 15.4537 23.0133 16.0133C23.0133 16.573 23.467 17.0267 24.0266 17.0267Z",fill:"#4285F4"}),e("path",{d:"M24.0266 14.0267C24.5863 14.0267 25.04 13.573 25.04 13.0133C25.04 12.4537 24.5863 12 24.0266 12C23.467 12 23.0133 12.4537 23.0133 13.0133C23.0133 13.573 23.467 14.0267 24.0266 14.0267Z",fill:"#4285F4"}),e("path",{d:"M24.0266 5.65313C24.5863 5.65313 25.04 5.19945 25.04 4.6398C25.04 4.08015 24.5863 3.62646 24.0266 3.62646C23.467 3.62646 23.0133 4.08015 23.0133 4.6398C23.0133 5.19945 23.467 5.65313 24.0266 5.65313Z",fill:"#4285F4"}),e("path",{d:"M16 20.0001C15.7359 19.9967 15.4835 19.8902 15.2967 19.7034C15.1099 19.5166 15.0035 19.2642 15 19.0001V16.4534C15.0285 16.2064 15.1468 15.9785 15.3324 15.813C15.518 15.6476 15.758 15.5562 16.0067 15.5562C16.2553 15.5562 16.4953 15.6476 16.6809 15.813C16.8665 15.9785 16.9849 16.2064 17.0133 16.4534V18.9734C17.0151 19.1076 16.9902 19.2408 16.9401 19.3653C16.8899 19.4898 16.8156 19.6031 16.7213 19.6986C16.627 19.7941 16.5147 19.87 16.3909 19.9217C16.2671 19.9735 16.1342 20.0001 16 20.0001Z",fill:"#669DF6"}),e("path",{d:"M16 22.9466C16.5597 22.9466 17.0134 22.4929 17.0134 21.9333C17.0134 21.3736 16.5597 20.9199 16 20.9199C15.4404 20.9199 14.9867 21.3736 14.9867 21.9333C14.9867 22.4929 15.4404 22.9466 16 22.9466Z",fill:"#669DF6"}),e("path",{d:"M16 14.5335C16.5597 14.5335 17.0134 14.0798 17.0134 13.5202C17.0134 12.9605 16.5597 12.5068 16 12.5068C15.4404 12.5068 14.9867 12.9605 14.9867 13.5202C14.9867 14.0798 15.4404 14.5335 16 14.5335Z",fill:"#669DF6"}),e("path",{d:"M16 11.5735C16.5597 11.5735 17.0134 11.1199 17.0134 10.5602C17.0134 10.0006 16.5597 9.54688 16 9.54688C15.4404 9.54688 14.9867 10.0006 14.9867 10.5602C14.9867 11.1199 15.4404 11.5735 16 11.5735Z",fill:"#669DF6"}),e("path",{d:"M20 14.0535C19.7359 14.0501 19.4835 13.9436 19.2967 13.7568C19.1099 13.57 19.0035 13.3177 19 13.0535V10.5469C18.9837 10.4049 18.9975 10.2612 19.0406 10.125C19.0837 9.98875 19.1552 9.8632 19.2502 9.75655C19.3453 9.64991 19.4618 9.56456 19.5922 9.50613C19.7226 9.44769 19.8638 9.41748 20.0067 9.41748C20.1495 9.41748 20.2908 9.44769 20.4212 9.50613C20.5515 9.56456 20.6681 9.64991 20.7631 9.75655C20.8582 9.8632 20.9296 9.98875 20.9728 10.125C21.0159 10.2612 21.0297 10.4049 21.0133 10.5469V13.0535C21.0098 13.32 20.9015 13.5743 20.7119 13.7615C20.5222 13.9486 20.2665 14.0535 20 14.0535Z",fill:"#4285F4"}),e("path",{d:"M20.0133 8.59991C20.573 8.59991 21.0267 8.14622 21.0267 7.58658C21.0267 7.02693 20.573 6.57324 20.0133 6.57324C19.4537 6.57324 19 7.02693 19 7.58658C19 8.14622 19.4537 8.59991 20.0133 8.59991Z",fill:"#4285F4"}),e("path",{d:"M20.0133 19.9334C20.573 19.9334 21.0267 19.4797 21.0267 18.9201C21.0267 18.3604 20.573 17.9067 20.0133 17.9067C19.4537 17.9067 19 18.3604 19 18.9201C19 19.4797 19.4537 19.9334 20.0133 19.9334Z",fill:"#4285F4"}),e("path",{d:"M20.0133 16.9734C20.573 16.9734 21.0267 16.5198 21.0267 15.9601C21.0267 15.4005 20.573 14.9468 20.0133 14.9468C19.4537 14.9468 19 15.4005 19 15.9601C19 16.5198 19.4537 16.9734 20.0133 16.9734Z",fill:"#4285F4"}),e("path",{d:"M11.9867 19.9334C12.5463 19.9334 13 19.4797 13 18.9201C13 18.3604 12.5463 17.9067 11.9867 17.9067C11.427 17.9067 10.9733 18.3604 10.9733 18.9201C10.9733 19.4797 11.427 19.9334 11.9867 19.9334Z",fill:"#AECBFA"}),e("path",{d:"M11.9867 11.5735C12.5463 11.5735 13 11.1199 13 10.5602C13 10.0006 12.5463 9.54688 11.9867 9.54688C11.427 9.54688 10.9733 10.0006 10.9733 10.5602C10.9733 11.1199 11.427 11.5735 11.9867 11.5735Z",fill:"#AECBFA"}),e("path",{d:"M11.9867 8.59991C12.5463 8.59991 13 8.14622 13 7.58658C13 7.02693 12.5463 6.57324 11.9867 6.57324C11.427 6.57324 10.9733 7.02693 10.9733 7.58658C10.9733 8.14622 11.427 8.59991 11.9867 8.59991Z",fill:"#AECBFA"}),e("path",{d:"M12 16.9735C11.7381 16.9737 11.4862 16.8724 11.2973 16.6909C11.1083 16.5095 10.997 16.2619 10.9867 16.0001V13.4668C10.9867 13.2016 11.0921 12.9472 11.2796 12.7597C11.4671 12.5722 11.7215 12.4668 11.9867 12.4668C12.2519 12.4668 12.5063 12.5722 12.6938 12.7597C12.8813 12.9472 12.9867 13.2016 12.9867 13.4668V16.0001C12.9798 16.2584 12.8733 16.504 12.6893 16.6854C12.5054 16.8669 12.2584 16.9701 12 16.9735Z",fill:"#AECBFA"})]}),F4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("g",{clipPath:"url(#clip0_1148_5989)",children:e("path",{d:"M1.96742 0.421623C1.1852 0.496042 0.711124 0.64488 0.616309 0.868135C0.379272 1.5379 0.189642 30.6108 0.42668 30.9829C0.592605 31.2309 1.75409 31.3798 4.64594 31.5286C9.88446 31.8511 30.9571 31.7022 31.2652 31.3798C31.4074 31.2309 31.5259 25.7239 31.5733 16.1736C31.6445 2.15806 31.6208 1.19061 31.2415 0.892941C31.0045 0.719297 29.9852 0.496042 28.9896 0.421623C27.1171 0.24798 4.21927 0.272786 1.96742 0.421623ZM15.7867 2.10844C15.8815 2.3317 15.8578 3.10069 15.763 3.84488C15.6208 5.18441 15.5971 5.20922 14.8385 5.20922C11.6148 5.20922 11.5674 11.386 14.7911 11.4852C15.2652 11.51 15.6445 11.6092 15.6445 11.7332C15.6445 11.8325 15.5259 12.7255 15.36 13.6929L15.0993 15.4294L14.0089 15.2805C10.8326 14.8092 10.2874 14.8092 9.86075 15.2557C9.60001 15.5286 9.5052 15.9007 9.57631 16.2232C10.1452 18.2573 9.83705 18.8526 8.29631 18.8526C6.58964 18.8526 6.3052 18.4061 6.92149 16.6201C7.15853 15.8759 7.13483 15.7519 6.63705 15.3301C6.21038 14.9581 5.6889 14.8836 3.84001 14.8836H1.58816L1.73038 12.8247C1.8252 11.7084 1.89631 8.80612 1.89631 6.39992V2.00922L2.56001 1.91C2.91557 1.86038 5.99705 1.78596 9.43409 1.76116C14.7911 1.73635 15.6682 1.78596 15.7867 2.10844ZM30.0326 2.05883C30.1985 2.23248 30.1985 15.3798 30.0326 15.5286C30.0089 15.5534 29.1556 15.6278 28.1363 15.6774L26.2874 15.8015L26.4296 15.2061C26.643 14.2387 26.1215 12.9488 25.363 12.527C24.4859 12.0557 22.5185 12.0557 21.4519 12.5022C20.4326 12.9488 20.0771 13.6681 20.1956 15.0325L20.2667 16.0991L19.2 15.9751C16.6163 15.6774 16.5452 15.6526 16.6874 15.0325C16.7585 14.71 16.9482 13.5937 17.0904 12.5519C17.3274 10.865 17.3274 10.5922 16.9719 10.1953C16.6637 9.82317 16.3556 9.74875 15.6208 9.84798C14.4593 10.0216 13.9852 9.62472 13.9852 8.50844C13.9852 7.04488 14.3171 6.67279 15.5971 6.7472C16.5452 6.82162 16.7111 6.7472 16.9956 6.20147C17.1615 5.85418 17.3037 4.7379 17.3037 3.64643V1.68674L23.5615 1.78596C26.9985 1.81077 29.9141 1.95961 30.0326 2.05883ZM24.4385 13.9162C24.8415 14.1395 24.8889 14.3875 24.8415 15.7022L24.7704 17.2402L27.4963 17.1906L30.2222 17.1658L30.1985 18.679C30.1748 19.5224 30.1511 22.4743 30.1274 25.2278L30.1037 30.2635H23.2296H16.3556V28.527V26.8154L17.5408 26.9643C18.6548 27.0883 18.7496 27.0635 19.5793 26.1953C20.4326 25.3022 20.4326 25.2774 20.3378 23.541C20.2667 21.9534 20.1719 21.7053 19.5556 21.1596C18.963 20.6139 18.7022 20.5395 17.4696 20.6387L16.0711 20.7379L16.2133 20.0185C16.2845 19.6216 16.3556 18.8278 16.3556 18.2325V17.1906L17.4933 17.3891C18.1096 17.4883 19.2711 17.5875 20.0533 17.5875C21.9259 17.6123 22.2104 17.3146 21.8311 15.7519C21.6889 15.1069 21.6178 14.4867 21.7126 14.3627C22.0919 13.7177 23.6563 13.4697 24.4385 13.9162ZM5.09631 17.6371C5.12001 19.1751 5.6889 19.9937 6.92149 20.341C8.34372 20.7627 9.88446 20.4402 10.7141 19.5968C11.2593 19.0263 11.3778 18.679 11.3778 17.7115V16.5457L12.4682 16.7193C13.0845 16.7937 13.8193 16.8681 14.1274 16.8681C14.6963 16.8681 14.6963 16.9177 14.6963 19.3488C14.6963 21.4573 14.7674 21.9038 15.1467 22.3007C15.5971 22.772 15.6682 22.772 16.7822 22.3999C17.4222 22.1767 18.1096 22.0774 18.323 22.1519C18.7971 22.3255 19.0341 23.8387 18.7259 24.6821C18.4889 25.3022 18.3941 25.3519 17.4696 25.2278C16.9245 25.1782 16.3082 25.0294 16.1185 24.955C15.9052 24.8557 15.5496 24.955 15.2889 25.1534C14.8859 25.4511 14.7911 25.8728 14.7437 27.8821L14.6489 30.2635H11.7571C10.1452 30.2635 7.22964 30.1891 5.26224 30.0898L1.65927 29.941V23.1441V16.3472L3.38964 16.4216L5.09631 16.496V17.6371Z",fill:"#EF4036"})}),e("defs",{children:e("clipPath",{id:"clip0_1148_5989",children:e("rect",{width:"32",height:"32",fill:"transparent"})})})]}),E4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M18.2835 6L26.4963 26.5994H31L22.7873 6H18.2835Z",fill:"var(--ac-global-text-color-900)"}),e("path",{d:"M8.75587 18.4479L11.566 11.2087L14.3762 18.4479H8.75587ZM9.21147 6L1 26.5994H5.59136L7.27074 22.2735H15.8616L17.5407 26.5994H22.132L13.9206 6H9.21147Z",fill:"var(--ac-global-text-color-900)"})]}),D4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M18.9623 11.0195C16.8877 11.0195 15.208 12.6992 15.208 14.7739C15.208 16.8485 16.8877 18.5282 18.9623 18.5282C21.037 18.5282 22.7167 16.8485 22.7167 14.7739C22.7167 12.6992 21.0332 11.0195 18.9623 11.0195ZM18.9623 17.1208C17.6662 17.1208 16.6154 16.07 16.6154 14.7739C16.6154 13.4777 17.6662 12.4269 18.9623 12.4269C20.2585 12.4269 21.3093 13.4777 21.3093 14.7739C21.3093 16.07 20.2585 17.1208 18.9623 17.1208Z",fill:"var(--ac-global-text-color-900)"}),e("path",{d:"M13.7781 11.0308C13.6515 11.0155 13.5212 11.0078 13.3908 11.0078C13.3256 11.0078 13.2642 11.0078 13.2029 11.0078C13.1415 11.0078 13.0763 11.0155 13.015 11.0193C12.7619 11.0385 12.5126 11.0807 12.2672 11.1459C11.7648 11.2801 11.2969 11.514 10.8904 11.84C10.4763 12.1736 10.1426 12.5954 9.91639 13.0786C9.80518 13.3202 9.72081 13.5733 9.67096 13.8341C9.64411 13.9607 9.62494 14.091 9.61343 14.2214C9.6096 14.2866 9.60193 14.348 9.60193 14.417V14.5129V14.6011V15.8589L9.6096 17.1167L9.61727 18.3746H11.0247L11.0323 17.1167V15.8589L11.04 14.6011V14.4707C11.04 14.4323 11.0477 14.3902 11.0515 14.3518C11.0592 14.2751 11.0707 14.1946 11.086 14.1179C11.1167 13.9683 11.1666 13.8188 11.2317 13.6807C11.3621 13.4008 11.5539 13.1553 11.7955 12.9598C12.0486 12.7603 12.3362 12.6108 12.6468 12.5264C12.8079 12.4842 12.9689 12.4536 13.1377 12.4382C13.1798 12.4382 13.222 12.4305 13.2642 12.4305C13.3064 12.4305 13.3486 12.4305 13.3908 12.4305C13.4713 12.4305 13.5518 12.4344 13.6324 12.442C13.9545 12.4727 14.2651 12.5724 14.5451 12.7297L15.2468 11.5102C14.7982 11.2494 14.2996 11.0845 13.7858 11.027L13.7781 11.0308Z",fill:"var(--ac-global-text-color-900)"}),e("path",{d:"M4.789 11.0002C2.71434 10.981 1.01934 12.6453 1.00016 14.72C0.98099 16.7946 2.64532 18.4896 4.71997 18.5088H6.02383V17.1014H4.789C3.49282 17.1168 2.43057 16.0775 2.41523 14.7813C2.39989 13.4852 3.43913 12.4229 4.73531 12.4076H4.789C6.08518 12.4076 7.13593 13.4583 7.13977 14.7545V18.2135C7.13977 19.4982 6.09285 20.5451 4.81201 20.5605C4.19843 20.5566 3.6117 20.3074 3.17836 19.874L2.1813 20.8711C2.87157 21.5652 3.80728 21.9602 4.78517 21.9717H4.83502C6.88283 21.941 8.52799 20.2805 8.53949 18.2327V14.6663C8.48964 12.6261 6.82531 11.0002 4.789 11.0002Z",fill:"var(--ac-global-text-color-900)"}),e("path",{d:"M27.2533 11.0195C25.1787 11.0195 23.499 12.6992 23.499 14.7739C23.499 16.8485 25.1787 18.5282 27.2533 18.5282H28.538V17.1208H27.2533C25.9572 17.1208 24.9064 16.07 24.9064 14.7739C24.9064 13.4777 25.9572 12.4269 27.2533 12.4269C28.469 12.4269 29.4852 13.3588 29.5926 14.5706V21.7801H31V14.7739C30.9962 12.703 29.3242 11.0195 27.2533 11.0195Z",fill:"var(--ac-global-text-color-900)"})]}),_4=()=>e("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"32",height:"32",viewBox:"0 0 400 400",enableBackground:"new 0 0 400 400",xmlSpace:"preserve",children:e("path",{fill:"var(--ac-global-text-color-900)",stroke:"none",d:`
|
|
4858
4859
|
M108.357758,374.748016
|
|
4859
4860
|
C68.931068,356.066071 45.775341,325.019348 36.873970,283.154297
|
|
4860
4861
|
C30.389435,252.656082 33.336266,222.467133 42.685719,193.016541
|
|
@@ -4898,7 +4899,7 @@ M271.080261,209.564880
|
|
|
4898
4899
|
C231.912460,130.773315 225.552048,146.141083 222.041946,162.530533
|
|
4899
4900
|
C217.079269,185.702393 230.538971,209.662094 252.994049,217.609100
|
|
4900
4901
|
C261.908478,220.763977 266.484222,218.869110 271.080261,209.564880
|
|
4901
|
-
z`})}),K4=()=>e("svg",{fill:"var(--ac-global-text-color-900)",width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M 15.994141 3 C 15.629141 3 15.264219 3.0895313 14.949219 3.2695312 L 5.0390625 8.9902344 C 4.3990625 9.3602344 4 10.060781 4 10.800781 L 4 21.179688 C 4 21.929688 4.3990625 22.620234 5.0390625 22.990234 L 7.640625 24.490234 C 8.900625 25.110234 9.3499219 25.109375 9.9199219 25.109375 C 11.789922 25.109375 12.859375 23.979531 12.859375 22.019531 L 12.859375 11.310547 C 12.859375 11.150547 12.730312 11.019531 12.570312 11.019531 L 11.320312 11.019531 C 11.150313 11.019531 11.029297 11.150547 11.029297 11.310547 L 11.029297 22.009766 C 11.029297 22.889766 10.120391 23.749531 8.6503906 23.019531 L 5.9296875 21.449219 C 5.8296875 21.399219 5.7695313 21.289687 5.7695312 21.179688 L 5.7695312 10.810547 C 5.7695312 10.690547 5.8296875 10.589297 5.9296875 10.529297 L 15.839844 4.8105469 C 15.929844 4.7505469 16.050391 4.7505469 16.150391 4.8105469 L 26.060547 10.529297 C 26.160547 10.589297 26.220703 10.690781 26.220703 10.800781 L 26.220703 21.179688 C 26.220703 21.289687 26.160313 21.399219 26.070312 21.449219 L 16.150391 27.179688 C 16.060391 27.229688 15.929844 27.229688 15.839844 27.179688 L 13.289062 25.669922 C 13.219062 25.619922 13.120781 25.610391 13.050781 25.650391 C 12.340781 26.050391 12.210781 26.100078 11.550781 26.330078 C 11.390781 26.380078 11.140625 26.479766 11.640625 26.759766 L 14.949219 28.720703 C 15.269219 28.900703 15.630234 29 15.990234 29 C 16.360234 29 16.719062 28.900703 17.039062 28.720703 L 26.960938 22.990234 C 27.600938 22.620234 28 21.929688 28 21.179688 L 28 10.810547 C 28 10.060547 27.600938 9.37 26.960938 9 L 17.039062 3.2695312 C 16.724063 3.0895313 16.359141 3 15.994141 3 z M 18.660156 11.005859 C 15.830156 11.005859 14.140625 12.205078 14.140625 14.205078 C 14.140625 16.375078 15.819062 16.974141 18.539062 17.244141 C 21.789062 17.564141 22.039062 18.045547 22.039062 18.685547 C 22.039062 19.785547 21.150547 20.255859 19.060547 20.255859 C 16.430547 20.255859 15.850156 19.594922 15.660156 18.294922 C 15.640156 18.154922 15.520859 18.054688 15.380859 18.054688 L 14.089844 18.054688 C 13.929844 18.054688 13.810547 18.185938 13.810547 18.335938 C 13.810547 20.005937 14.720547 21.994141 19.060547 21.994141 C 22.200547 21.994141 24 20.755703 24 18.595703 C 24 16.455703 22.549766 15.884609 19.509766 15.474609 C 16.419766 15.074609 16.109375 14.864531 16.109375 14.144531 C 16.109375 13.544531 16.380156 12.755859 18.660156 12.755859 C 20.690156 12.755859 21.449766 13.194453 21.759766 14.564453 C 21.789766 14.694453 21.899062 14.794922 22.039062 14.794922 L 23.330078 14.794922 C 23.410078 14.794922 23.479063 14.755313 23.539062 14.695312 C 23.589062 14.645313 23.619375 14.564609 23.609375 14.474609 C 23.409375 12.114609 21.840156 11.005859 18.660156 11.005859 z"})}),H1=()=>e("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M15.357 4L26.714 27H4L15.357 4Z",fill:"var(--ac-global-text-color-900)"})}),P4=()=>e("svg",{width:"32",height:"32",viewBox:"0 0 40 40",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:s("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[e("g",{id:"Icon-Architecture-BG/32/Machine-Learning",fill:"#01A88D",children:e("rect",{id:"Rectangle",x:"0",y:"0",width:"40",height:"40"})}),e("g",{id:"Icon-Service/32/Amazon-Bedrock_32",transform:"translate(6.000000, 6.000000)",fill:"#FFFFFF",children:e("path",{d:"M10.516,26.9332116 L8.293,25.6632116 L11.724,23.9472116 L11.277,23.0532116 L7.277,25.0532116 L7.297,25.0942116 L4,23.2102116 L4,19.8092116 L7.724,17.9472116 L7.277,17.0532116 L3.536,18.9232116 L1,17.2322116 L1,14.8092116 L4.724,12.9472116 L4.277,12.0532116 L1,13.6912116 L1,10.7672116 L3.523,9.08621158 L7,11.0382116 L7,14.1912116 L5.277,15.0532116 L5.724,15.9472116 L7.5,15.0592116 L9.277,15.9472116 L9.724,15.0532116 L8,14.1912116 L8,10.7672116 L10.778,8.91621158 C10.916,8.82321158 11,8.66721158 11,8.50021158 L11,5.00021158 L10,5.00021158 L10,8.23221158 L7.278,10.0472116 L4,8.20721158 L4,4.03521158 L7,2.65721158 L7,7.00021158 L8,7.00021158 L8,2.19821158 L10.492,1.05421158 L14,2.80921158 L14,17.1912116 L6.277,21.0532116 L6.724,21.9472116 L14,18.3092116 L14,25.1912116 L10.516,26.9332116 Z M25.5,19.5002116 C25.5,20.0512116 25.052,20.5002116 24.5,20.5002116 C23.949,20.5002116 23.5,20.0512116 23.5,19.5002116 C23.5,18.9492116 23.949,18.5002116 24.5,18.5002116 C25.052,18.5002116 25.5,18.9492116 25.5,19.5002116 L25.5,19.5002116 Z M20.5,24.0002116 C20.5,24.5512116 20.052,25.0002116 19.5,25.0002116 C18.949,25.0002116 18.5,24.5512116 18.5,24.0002116 C18.5,23.4492116 18.949,23.0002116 19.5,23.0002116 C20.052,23.0002116 20.5,23.4492116 20.5,24.0002116 L20.5,24.0002116 Z M19.5,4.00021158 C19.5,3.44921158 19.949,3.00021158 20.5,3.00021158 C21.052,3.00021158 21.5,3.44921158 21.5,4.00021158 C21.5,4.55121158 21.052,5.00021158 20.5,5.00021158 C19.949,5.00021158 19.5,4.55121158 19.5,4.00021158 L19.5,4.00021158 Z M26,11.5002116 C26.552,11.5002116 27,11.9492116 27,12.5002116 C27,13.0512116 26.552,13.5002116 26,13.5002116 C25.449,13.5002116 25,13.0512116 25,12.5002116 C25,11.9492116 25.449,11.5002116 26,11.5002116 L26,11.5002116 Z M24.071,13.0002116 C24.295,13.8602116 25.071,14.5002116 26,14.5002116 C27.103,14.5002116 28,13.6032116 28,12.5002116 C28,11.3972116 27.103,10.5002116 26,10.5002116 C25.071,10.5002116 24.295,11.1402116 24.071,12.0002116 L15,12.0002116 L15,9.00021158 L20.5,9.00021158 C20.777,9.00021158 21,8.77621158 21,8.50021158 L21,5.92921158 C21.86,5.70521158 22.5,4.92921158 22.5,4.00021158 C22.5,2.89721158 21.603,2.00021158 20.5,2.00021158 C19.398,2.00021158 18.5,2.89721158 18.5,4.00021158 C18.5,4.92921158 19.14,5.70521158 20,5.92921158 L20,8.00021158 L15,8.00021158 L15,2.50021158 C15,2.31021158 14.893,2.13821158 14.724,2.05321158 L10.724,0.0532115843 C10.588,-0.0147884157 10.43,-0.0177884157 10.291,0.0452115843 L3.291,3.26021158 C3.115,3.34121158 3,3.51921158 3,3.71421158 L3,8.23221158 L0.223,10.0842116 C0.084,10.1772116 0,10.3332116 0,10.5002116 L0,17.5002116 C0,17.6672116 0.084,17.8232116 0.223,17.9162116 L3,19.7672116 L3,23.5002116 C3,23.6792116 3.096,23.8452116 3.252,23.9342116 L10.252,27.9342116 C10.329,27.9782116 10.414,28.0002116 10.5,28.0002116 C10.577,28.0002116 10.654,27.9822116 10.724,27.9472116 L14.724,25.9472116 C14.893,25.8622116 15,25.6892116 15,25.5002116 L15,21.0002116 L19,21.0002116 L19,22.0712116 C18.14,22.2952116 17.5,23.0712116 17.5,24.0002116 C17.5,25.1032116 18.398,26.0002116 19.5,26.0002116 C20.603,26.0002116 21.5,25.1032116 21.5,24.0002116 C21.5,23.0712116 20.86,22.2952116 20,22.0712116 L20,20.5002116 C20,20.2242116 19.777,20.0002116 19.5,20.0002116 L15,20.0002116 L15,17.0002116 L21.293,17.0002116 L22.784,18.4902116 C22.608,18.7882116 22.5,19.1302116 22.5,19.5002116 C22.5,20.6032116 23.398,21.5002116 24.5,21.5002116 C25.603,21.5002116 26.5,20.6032116 26.5,19.5002116 C26.5,18.3972116 25.603,17.5002116 24.5,17.5002116 C24.131,17.5002116 23.788,17.6082116 23.491,17.7832116 L21.854,16.1462116 C21.76,16.0532116 21.633,16.0002116 21.5,16.0002116 L15,16.0002116 L15,13.0002116 L24.071,13.0002116 Z",id:"Fill-5"})})]})}),V4=()=>s("svg",{width:"32",height:"32",style:{flex:"none",lineHeight:"1"},viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"HuggingFace"}),s("g",{fill:"none",fillRule:"nonzero",children:[e("path",{d:"M2.25 11.535c0-3.407 1.847-6.554 4.844-8.258a9.822 9.822 0 019.687 0c2.997 1.704 4.844 4.851 4.844 8.258 0 5.266-4.337 9.535-9.687 9.535S2.25 16.8 2.25 11.535z",fill:"#FF9D0B"}),e("path",{d:"M11.938 20.086c4.797 0 8.687-3.829 8.687-8.551 0-4.722-3.89-8.55-8.687-8.55-4.798 0-8.688 3.828-8.688 8.55 0 4.722 3.89 8.55 8.688 8.55z",fill:"#FFD21E"}),e("path",{d:"M11.875 15.113c2.457 0 3.25-2.156 3.25-3.263 0-.576-.393-.394-1.023-.089-.582.283-1.365.675-2.224.675-1.798 0-3.25-1.693-3.25-.586 0 1.107.79 3.263 3.25 3.263h-.003z",fill:"#FF323D"}),e("path",{d:"M14.76 9.21c.32.108.445.753.767.585.447-.233.707-.708.659-1.204a1.235 1.235 0 00-.879-1.059 1.262 1.262 0 00-1.33.394c-.322.384-.377.92-.14 1.36.153.283.638-.177.925-.079l-.002.003zm-5.887 0c-.32.108-.448.753-.768.585a1.226 1.226 0 01-.658-1.204c.048-.495.395-.913.878-1.059a1.262 1.262 0 011.33.394c.322.384.377.92.14 1.36-.152.283-.64-.177-.925-.079l.003.003zm1.12 5.34a2.166 2.166 0 011.325-1.106c.07-.02.144.06.219.171l.192.306c.069.1.139.175.209.175.074 0 .15-.074.223-.172l.205-.302c.08-.11.157-.188.234-.165.537.168.986.536 1.25 1.026.932-.724 1.275-1.905 1.275-2.633 0-.508-.306-.426-.81-.19l-.616.296c-.52.24-1.148.48-1.824.48-.676 0-1.302-.24-1.823-.48l-.589-.283c-.52-.248-.838-.342-.838.177 0 .703.32 1.831 1.187 2.56l.18.14z",fill:"#3A3B45"}),e("path",{d:"M17.812 10.366a.806.806 0 00.813-.8c0-.441-.364-.8-.813-.8a.806.806 0 00-.812.8c0 .442.364.8.812.8zm-11.624 0a.806.806 0 00.812-.8c0-.441-.364-.8-.812-.8a.806.806 0 00-.813.8c0 .442.364.8.813.8zM4.515 13.073c-.405 0-.765.162-1.017.46a1.455 1.455 0 00-.333.925 1.801 1.801 0 00-.485-.074c-.387 0-.737.146-.985.409a1.41 1.41 0 00-.2 1.722 1.302 1.302 0 00-.447.694c-.06.222-.12.69.2 1.166a1.267 1.267 0 00-.093 1.236c.238.533.81.958 1.89 1.405l.24.096c.768.3 1.473.492 1.478.494.89.243 1.808.375 2.732.394 1.465 0 2.513-.443 3.115-1.314.93-1.342.842-2.575-.274-3.763l-.151-.154c-.692-.684-1.155-1.69-1.25-1.912-.195-.655-.71-1.383-1.562-1.383-.46.007-.889.233-1.15.605-.25-.31-.495-.553-.715-.694a1.87 1.87 0 00-.993-.312zm14.97 0c.405 0 .767.162 1.017.46.216.262.333.588.333.925.158-.047.322-.071.487-.074.388 0 .738.146.985.409a1.41 1.41 0 01.2 1.722c.22.178.377.422.445.694.06.222.12.69-.2 1.166.244.37.279.836.093 1.236-.238.533-.81.958-1.889 1.405l-.239.096c-.77.3-1.475.492-1.48.494-.89.243-1.808.375-2.732.394-1.465 0-2.513-.443-3.115-1.314-.93-1.342-.842-2.575.274-3.763l.151-.154c.695-.684 1.157-1.69 1.252-1.912.195-.655.708-1.383 1.56-1.383.46.007.889.233 1.15.605.25-.31.495-.553.718-.694.244-.162.523-.265.814-.3l.176-.012z",fill:"#FF9D0B"}),e("path",{d:"M9.785 20.132c.688-.994.638-1.74-.305-2.667-.945-.928-1.495-2.288-1.495-2.288s-.205-.788-.672-.714c-.468.074-.81 1.25.17 1.971.977.721-.195 1.21-.573.534-.375-.677-1.405-2.416-1.94-2.751-.532-.332-.907-.148-.782.541.125.687 2.357 2.35 2.14 2.707-.218.362-.983-.42-.983-.42S2.953 14.9 2.43 15.46c-.52.558.398 1.026 1.7 1.803 1.308.778 1.41.985 1.225 1.28-.187.295-3.07-2.1-3.34-1.083-.27 1.011 2.943 1.304 2.745 2.006-.2.7-2.265-1.324-2.685-.537-.425.79 2.913 1.718 2.94 1.725 1.075.276 3.813.859 4.77-.522zm4.432 0c-.687-.994-.64-1.74.305-2.667.943-.928 1.493-2.288 1.493-2.288s.205-.788.675-.714c.465.074.807 1.25-.17 1.971-.98.721.195 1.21.57.534.377-.677 1.407-2.416 1.94-2.751.532-.332.91-.148.782.541-.125.687-2.355 2.35-2.137 2.707.215.362.98-.42.98-.42S21.05 14.9 21.57 15.46c.52.558-.395 1.026-1.7 1.803-1.308.778-1.408.985-1.225 1.28.187.295 3.07-2.1 3.34-1.083.27 1.011-2.94 1.304-2.743 2.006.2.7 2.263-1.324 2.685-.537.423.79-2.912 1.718-2.94 1.725-1.077.276-3.815.859-4.77-.522z",fill:"#FFD21E"})]})]}),O4=()=>e("svg",{width:"32",height:"32",viewBox:"0 0 27.82 27.83",fill:"var(--ac-global-text-color-900)",xmlns:"http://www.w3.org/2000/svg",children:e("g",{id:"icons",children:s("g",{children:[e("path",{d:"m16.02,27.83h0c-1.48,0-2.97-.57-4.1-1.7-2.26-2.26-2.26-5.94,0-8.2l9.9-9.9v14c0,1.6-.65,3.05-1.7,4.1h0c-.56.56-1.2.98-1.88,1.26-.68.28-1.43.44-2.22.44Z"}),e("path",{d:"m5.8,17.61c-1.48,0-2.97-.57-4.1-1.7C.57,14.78,0,13.3,0,11.82h0c0-.76.15-1.49.42-2.16.28-.71.71-1.37,1.28-1.94h0c1.05-1.05,2.5-1.7,4.1-1.7h14s-9.9,9.89-9.9,9.89c-1.13,1.13-2.61,1.7-4.1,1.7Z"}),e("path",{d:"m24.41,8.44c-.78-.78-.78-2.05,0-2.83s2.05-.78,2.83,0,.78,2.05,0,2.83-2.05.78-2.83,0Z"}),e("path",{d:"m19.39,3.42c-.78-.78-.78-2.05,0-2.83s2.05-.78,2.83,0,.78,2.05,0,2.83-2.05.78-2.83,0Z"})]})})}),R4=()=>e("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2593 6.61905C19.0126 7.16696 18.7815 8.04669 18.5292 9.00706C18.4235 9.40941 18.3141 9.82591 18.1982 10.2381H23.1482C23.7004 10.2381 24.1482 10.6858 24.1482 11.2381V17.0307C24.5195 16.902 24.8948 16.7804 25.2572 16.663C26.122 16.383 26.9141 16.1264 27.4074 15.8525C29.0175 14.9587 30.6667 17.4728 30.6667 19.4716C30.6667 21.4703 29.0371 23.9954 27.4074 23.0906C26.914 22.8166 26.1217 22.56 25.2569 22.2799L25.2568 22.2799C24.8945 22.1625 24.5194 22.041 24.1482 21.9124V27.3333C24.1482 27.8856 23.7004 28.3333 23.1482 28.3333H8.85186C8.29957 28.3333 7.85186 27.8856 7.85186 27.3333V21.9159C7.48052 22.0446 7.10529 22.1662 6.74283 22.2836C5.8781 22.5636 5.086 22.8202 4.59263 23.0941C2.98259 23.9879 1.33337 21.4738 1.33337 19.475C1.33337 17.4763 2.963 14.9511 4.59263 15.856C5.08608 16.13 5.87835 16.3866 6.74324 16.6667C7.10558 16.7841 7.48066 16.9056 7.85186 17.0342V11.2381C7.85186 10.6858 8.29957 10.2381 8.85186 10.2381H13.8018C13.686 9.82578 13.5765 9.40914 13.4708 9.00667L13.4708 9.00661L13.4708 9.00659L13.4707 9.00657L13.4707 9.00656C13.2185 8.04639 12.9875 7.16687 12.7408 6.61905C11.9359 4.83128 14.2 3 16.0001 3C17.8001 3 20.0742 4.80952 19.2593 6.61905ZM12.2564 21.0247C11.9603 21.3049 11.5203 21.259 11.2731 20.9233C11.0258 20.5877 11.0663 20.0881 11.3625 19.8087L15.5529 15.8503C15.5746 15.8294 15.5991 15.8157 15.6237 15.8019C15.6363 15.7949 15.6489 15.7879 15.6611 15.7799C15.6701 15.7739 15.6788 15.7676 15.6874 15.7614C15.7062 15.7477 15.7248 15.7342 15.7464 15.7245C15.8281 15.688 15.9133 15.6667 15.9999 15.6667C16.0865 15.6667 16.1717 15.688 16.2534 15.7245C16.275 15.7342 16.2936 15.7478 16.3124 15.7614C16.321 15.7676 16.3296 15.7739 16.3386 15.7799C16.3509 15.7879 16.3635 15.7949 16.376 15.8019C16.4006 15.8157 16.4251 15.8294 16.4469 15.8503L20.6373 19.8087C20.9341 20.0881 20.9739 20.5877 20.7267 20.9233C20.4801 21.259 20.0402 21.3049 19.7433 21.0247L16.6983 18.1485V28.3333H15.9999H15.1852L15.3015 18.1485L12.2564 21.0247Z",fill:"var(--ac-global-text-color-900)"})}),N4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("g",{clipPath:"url(#clip0_2815_4632)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.7469 1.84196C16.0957 2.52647 16.0957 3.42256 16.0957 5.21473V10.9752C16.0957 12.7674 16.0957 13.6634 15.7469 14.348C15.4401 14.9501 14.9506 15.4396 14.3485 15.7464C13.6639 16.0952 12.7679 16.0952 10.9757 16.0952H5.21522C3.42305 16.0952 2.52696 16.0952 1.84245 15.7464C1.24033 15.4396 0.750789 14.9501 0.443994 14.348C0.0952148 13.6634 0.0952148 12.7674 0.0952148 10.9752V5.21473C0.0952148 3.42256 0.0952148 2.52647 0.443994 1.84196C0.750789 1.23984 1.24033 0.7503 1.84245 0.443506C2.52696 0.0947266 3.42305 0.0947266 5.21521 0.0947266H10.9757C12.7678 0.0947266 13.6639 0.0947266 14.3485 0.443506C14.9506 0.7503 15.4401 1.23984 15.7469 1.84196ZM5.27398 3.77524H9.3046L12.594 12.0905H10.9168L8.32056 5.18973H5.27398V3.77524ZM2.99402 10.676H7.12113V12.0905H2.99402V10.676Z",fill:"#FF4017"})}),e("defs",{children:e("clipPath",{id:"clip0_2815_4632",children:e("rect",{width:"16",height:"16",fill:"white"})})})]}),j1=()=>s("svg",{width:"32",height:"32",fill:"currentColor",fillRule:"evenodd",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"ModelContextProtocol"}),e("path",{d:"M15.688 2.343a2.588 2.588 0 00-3.61 0l-9.626 9.44a.863.863 0 01-1.203 0 .823.823 0 010-1.18l9.626-9.44a4.313 4.313 0 016.016 0 4.116 4.116 0 011.204 3.54 4.3 4.3 0 013.609 1.18l.05.05a4.115 4.115 0 010 5.9l-8.706 8.537a.274.274 0 000 .393l1.788 1.754a.823.823 0 010 1.18.863.863 0 01-1.203 0l-1.788-1.753a1.92 1.92 0 010-2.754l8.706-8.538a2.47 2.47 0 000-3.54l-.05-.049a2.588 2.588 0 00-3.607-.003l-7.172 7.034-.002.002-.098.097a.863.863 0 01-1.204 0 .823.823 0 010-1.18l7.273-7.133a2.47 2.47 0 00-.003-3.537z"}),e("path",{d:"M14.485 4.703a.823.823 0 000-1.18.863.863 0 00-1.204 0l-7.119 6.982a4.115 4.115 0 000 5.9 4.314 4.314 0 006.016 0l7.12-6.982a.823.823 0 000-1.18.863.863 0 00-1.204 0l-7.119 6.982a2.588 2.588 0 01-3.61 0 2.47 2.47 0 010-3.54l7.12-6.982z"})]}),$4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Gemini"}),e("defs",{children:s("linearGradient",{id:"lobe-icons-gemini-fill",x1:"0%",x2:"68.73%",y1:"100%",y2:"30.395%",children:[e("stop",{offset:"0%",stopColor:"#1C7DFF"}),e("stop",{offset:"52.021%",stopColor:"#1C69FF"}),e("stop",{offset:"100%",stopColor:"#F0DCD6"})]})}),e("path",{d:"M12 24A14.304 14.304 0 000 12 14.304 14.304 0 0012 0a14.305 14.305 0 0012 12 14.305 14.305 0 00-12 12",fill:"url(#lobe-icons-gemini-fill)",fillRule:"nonzero"})]}),B4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 115 115",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:[e("path",{fill:"#FFBDDB",d:"M62.3737 105.707C59.5781 109.547 53.8509 109.547 51.0553 105.707L27.7796 73.7344C25.0105 69.9307 26.7073 64.5329 31.1546 62.9977L54.4303 54.9628C55.9102 54.4519 57.5187 54.4519 58.9987 54.9628L82.2744 62.9977C86.7217 64.533 88.4184 69.9307 85.6494 73.7344L62.3737 105.707ZM56.7145 99.8879L78.3862 70.1187L56.7145 62.6375L35.0428 70.1187L56.7145 99.8879Z"}),e("path",{fill:"#FFBDDB",d:"M110.86 62.2624C113.648 66.1079 111.878 71.5547 107.362 73.0268L69.7621 85.2833C65.2889 86.7414 60.6796 83.4597 60.5938 78.7556L60.1447 54.1362C60.1162 52.5708 60.6132 51.0411 61.5564 49.7914L76.3907 30.1379C79.2251 26.3826 84.883 26.4369 87.6448 30.2459L110.86 62.2624ZM103.577 65.8465L81.9617 36.0363L68.1497 54.3355L68.5678 77.2583L103.577 65.8465Z"}),e("path",{fill:"#FFBDDB",d:"M84.5326 2.75877C89.0515 1.29523 93.6849 4.66159 93.6894 9.41158L93.7269 48.9589C93.7314 53.6638 89.1859 57.0333 84.6856 55.6613L61.1323 48.4806C59.6347 48.024 58.3334 47.0786 57.4364 45.7954L43.3288 25.6139C40.6333 21.7577 42.4333 16.3935 46.9092 14.9439L84.5326 2.75877ZM85.6907 10.7928L50.6601 22.1382L63.7955 40.929L85.7256 47.6148L85.6907 10.7928Z"}),e("path",{fill:"#FFBDDB",d:"M28.9346 2.77586C24.4156 1.31232 19.7823 4.67868 19.7778 9.42867L19.7402 48.976C19.7358 53.6809 24.2812 57.0504 28.7816 55.6784L52.3348 48.4977C53.8324 48.0411 55.1337 47.0957 56.0307 45.8125L70.1383 25.6309C72.8339 21.7748 71.0339 16.4106 66.5579 14.961L28.9346 2.77586ZM27.7765 10.8099L62.8071 22.1553L49.6717 40.9461L27.7415 47.6319L27.7765 10.8099Z"}),e("path",{fill:"#FFBDDB",d:"M2.58066 62.2555C-0.20768 66.101 1.56213 71.5479 6.07825 73.02L43.6784 85.2765C48.1516 86.7346 52.7608 83.4529 52.8467 78.7488L53.2958 54.1294C53.3243 52.564 52.8273 51.0342 51.8841 49.7846L37.0498 30.131C34.2154 26.3758 28.5575 26.4301 25.7956 30.239L2.58066 62.2555ZM9.8636 65.8396L31.4788 36.0294L45.2908 54.3286L44.8726 77.2515L9.8636 65.8396Z"}),e("path",{fill:"white",d:"M79.5687 82.0867L85.6488 73.7348C86.1993 72.9787 86.5733 72.1596 86.7842 71.3204L74.626 75.2836L67.1038 85.6164C67.9705 85.6767 68.8689 85.5745 69.7619 85.2835L79.5687 82.0867Z"}),e("path",{fill:"white",d:"M60.167 55.3667L60.3224 63.8836L68.3744 66.6632L68.219 58.1463L60.167 55.3667Z"}),e("path",{fill:"white",d:"M93.7166 38.62L87.6446 30.2459C87.0975 29.4914 86.4368 28.8842 85.7069 28.4248L85.7191 41.2186L93.2279 51.5742C93.5492 50.7726 93.7273 49.8919 93.7264 48.9587L93.7166 38.62Z"}),e("path",{fill:"white",d:"M70.4293 51.3149L62.2812 48.8308L67.413 42.0318L75.5611 44.5159L70.4293 51.3149Z"}),e("path",{fill:"white",d:"M56.7395 44.7982L61.6199 37.8166L56.7395 30.8349L51.859 37.8166L56.7395 44.7982Z"}),e("path",{fill:"white",d:"M44.5547 16.2438C45.2222 15.6823 46.012 15.2344 46.9092 14.9438L56.7071 11.7705L66.5577 14.9608C67.4418 15.2472 68.2215 15.6862 68.8828 16.2363L56.7071 20.1796L44.5547 16.2438Z"}),e("path",{fill:"white",d:"M51.1787 48.8499L46.0469 42.0509L37.8988 44.535L43.0306 51.334L51.1787 48.8499Z"}),e("path",{fill:"white",d:"M20.2233 51.5523L27.7476 41.1752L27.7598 28.4014C27.0194 28.8627 26.3494 29.4754 25.7957 30.239L19.7501 38.5767L19.7402 48.9757C19.7394 49.8938 19.9118 50.7611 20.2233 51.5523Z"}),e("path",{fill:"white",d:"M53.2727 55.3623L45.2207 58.1419L45.0653 66.6588L53.1174 63.8792L53.2727 55.3623Z"}),e("path",{fill:"white",d:"M46.3199 85.6104L38.7916 75.2693L26.6406 71.3084C26.8511 72.1518 27.226 72.9749 27.779 73.7346L33.8488 82.0724L43.6778 85.2763C44.5653 85.5656 45.4581 85.6683 46.3199 85.6104Z"})]}),H4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("circle",{cx:"16.6532",cy:"16.9999",r:"14.0966",stroke:"currentColor",strokeWidth:"1.16026"}),e("ellipse",{cx:"16.6533",cy:"17",rx:"14.0966",ry:"9.45478",transform:"rotate(45 16.6533 17)",stroke:"currentColor",strokeWidth:"1.16026"}),e("path",{d:"M10.8984 17.0508H22.483",stroke:"currentColor",strokeWidth:"1.16026"}),e("path",{d:"M13.748 19.9932L19.6339 14.1074",stroke:"currentColor",strokeWidth:"1.16026"}),e("path",{d:"M19.6328 19.9932L13.747 14.1074",stroke:"currentColor",strokeWidth:"1.16026"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.00863 10.796C4.56184 12.4371 3.13683 14.6416 3.13683 16.9998C3.13683 19.3579 4.56184 21.5624 7.00863 23.2035C9.45169 24.8421 12.8599 25.8744 16.6533 25.8744C20.4467 25.8744 23.8548 24.8421 26.2979 23.2035C28.7447 21.5624 30.1697 19.3579 30.1697 16.9998C30.1697 14.6416 28.7447 12.4371 26.2979 10.796C23.8548 9.15742 20.4467 8.12511 16.6533 8.12511C12.8599 8.12511 9.45169 9.15742 7.00863 10.796ZM6.36234 9.83242C9.02124 8.04906 12.6613 6.96484 16.6533 6.96484C20.6452 6.96484 24.2853 8.04906 26.9442 9.83242C29.5994 11.6133 31.33 14.1362 31.33 16.9998C31.33 19.8633 29.5994 22.3862 26.9442 24.1671C24.2853 25.9505 20.6452 27.0347 16.6533 27.0347C12.6613 27.0347 9.02124 25.9505 6.36234 24.1671C3.70718 22.3862 1.97656 19.8633 1.97656 16.9998C1.97656 14.1362 3.70718 11.6133 6.36234 9.83242Z",fill:"currentColor"})]}),j4=m`
|
|
4902
|
+
z`})}),K4=()=>e("svg",{fill:"var(--ac-global-text-color-900)",width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M 15.994141 3 C 15.629141 3 15.264219 3.0895313 14.949219 3.2695312 L 5.0390625 8.9902344 C 4.3990625 9.3602344 4 10.060781 4 10.800781 L 4 21.179688 C 4 21.929688 4.3990625 22.620234 5.0390625 22.990234 L 7.640625 24.490234 C 8.900625 25.110234 9.3499219 25.109375 9.9199219 25.109375 C 11.789922 25.109375 12.859375 23.979531 12.859375 22.019531 L 12.859375 11.310547 C 12.859375 11.150547 12.730312 11.019531 12.570312 11.019531 L 11.320312 11.019531 C 11.150313 11.019531 11.029297 11.150547 11.029297 11.310547 L 11.029297 22.009766 C 11.029297 22.889766 10.120391 23.749531 8.6503906 23.019531 L 5.9296875 21.449219 C 5.8296875 21.399219 5.7695313 21.289687 5.7695312 21.179688 L 5.7695312 10.810547 C 5.7695312 10.690547 5.8296875 10.589297 5.9296875 10.529297 L 15.839844 4.8105469 C 15.929844 4.7505469 16.050391 4.7505469 16.150391 4.8105469 L 26.060547 10.529297 C 26.160547 10.589297 26.220703 10.690781 26.220703 10.800781 L 26.220703 21.179688 C 26.220703 21.289687 26.160313 21.399219 26.070312 21.449219 L 16.150391 27.179688 C 16.060391 27.229688 15.929844 27.229688 15.839844 27.179688 L 13.289062 25.669922 C 13.219062 25.619922 13.120781 25.610391 13.050781 25.650391 C 12.340781 26.050391 12.210781 26.100078 11.550781 26.330078 C 11.390781 26.380078 11.140625 26.479766 11.640625 26.759766 L 14.949219 28.720703 C 15.269219 28.900703 15.630234 29 15.990234 29 C 16.360234 29 16.719062 28.900703 17.039062 28.720703 L 26.960938 22.990234 C 27.600938 22.620234 28 21.929688 28 21.179688 L 28 10.810547 C 28 10.060547 27.600938 9.37 26.960938 9 L 17.039062 3.2695312 C 16.724063 3.0895313 16.359141 3 15.994141 3 z M 18.660156 11.005859 C 15.830156 11.005859 14.140625 12.205078 14.140625 14.205078 C 14.140625 16.375078 15.819062 16.974141 18.539062 17.244141 C 21.789062 17.564141 22.039062 18.045547 22.039062 18.685547 C 22.039062 19.785547 21.150547 20.255859 19.060547 20.255859 C 16.430547 20.255859 15.850156 19.594922 15.660156 18.294922 C 15.640156 18.154922 15.520859 18.054688 15.380859 18.054688 L 14.089844 18.054688 C 13.929844 18.054688 13.810547 18.185938 13.810547 18.335938 C 13.810547 20.005937 14.720547 21.994141 19.060547 21.994141 C 22.200547 21.994141 24 20.755703 24 18.595703 C 24 16.455703 22.549766 15.884609 19.509766 15.474609 C 16.419766 15.074609 16.109375 14.864531 16.109375 14.144531 C 16.109375 13.544531 16.380156 12.755859 18.660156 12.755859 C 20.690156 12.755859 21.449766 13.194453 21.759766 14.564453 C 21.789766 14.694453 21.899062 14.794922 22.039062 14.794922 L 23.330078 14.794922 C 23.410078 14.794922 23.479063 14.755313 23.539062 14.695312 C 23.589062 14.645313 23.619375 14.564609 23.609375 14.474609 C 23.409375 12.114609 21.840156 11.005859 18.660156 11.005859 z"})}),B1=()=>e("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M15.357 4L26.714 27H4L15.357 4Z",fill:"var(--ac-global-text-color-900)"})}),P4=()=>e("svg",{width:"32",height:"32",viewBox:"0 0 40 40",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:s("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[e("g",{id:"Icon-Architecture-BG/32/Machine-Learning",fill:"#01A88D",children:e("rect",{id:"Rectangle",x:"0",y:"0",width:"40",height:"40"})}),e("g",{id:"Icon-Service/32/Amazon-Bedrock_32",transform:"translate(6.000000, 6.000000)",fill:"#FFFFFF",children:e("path",{d:"M10.516,26.9332116 L8.293,25.6632116 L11.724,23.9472116 L11.277,23.0532116 L7.277,25.0532116 L7.297,25.0942116 L4,23.2102116 L4,19.8092116 L7.724,17.9472116 L7.277,17.0532116 L3.536,18.9232116 L1,17.2322116 L1,14.8092116 L4.724,12.9472116 L4.277,12.0532116 L1,13.6912116 L1,10.7672116 L3.523,9.08621158 L7,11.0382116 L7,14.1912116 L5.277,15.0532116 L5.724,15.9472116 L7.5,15.0592116 L9.277,15.9472116 L9.724,15.0532116 L8,14.1912116 L8,10.7672116 L10.778,8.91621158 C10.916,8.82321158 11,8.66721158 11,8.50021158 L11,5.00021158 L10,5.00021158 L10,8.23221158 L7.278,10.0472116 L4,8.20721158 L4,4.03521158 L7,2.65721158 L7,7.00021158 L8,7.00021158 L8,2.19821158 L10.492,1.05421158 L14,2.80921158 L14,17.1912116 L6.277,21.0532116 L6.724,21.9472116 L14,18.3092116 L14,25.1912116 L10.516,26.9332116 Z M25.5,19.5002116 C25.5,20.0512116 25.052,20.5002116 24.5,20.5002116 C23.949,20.5002116 23.5,20.0512116 23.5,19.5002116 C23.5,18.9492116 23.949,18.5002116 24.5,18.5002116 C25.052,18.5002116 25.5,18.9492116 25.5,19.5002116 L25.5,19.5002116 Z M20.5,24.0002116 C20.5,24.5512116 20.052,25.0002116 19.5,25.0002116 C18.949,25.0002116 18.5,24.5512116 18.5,24.0002116 C18.5,23.4492116 18.949,23.0002116 19.5,23.0002116 C20.052,23.0002116 20.5,23.4492116 20.5,24.0002116 L20.5,24.0002116 Z M19.5,4.00021158 C19.5,3.44921158 19.949,3.00021158 20.5,3.00021158 C21.052,3.00021158 21.5,3.44921158 21.5,4.00021158 C21.5,4.55121158 21.052,5.00021158 20.5,5.00021158 C19.949,5.00021158 19.5,4.55121158 19.5,4.00021158 L19.5,4.00021158 Z M26,11.5002116 C26.552,11.5002116 27,11.9492116 27,12.5002116 C27,13.0512116 26.552,13.5002116 26,13.5002116 C25.449,13.5002116 25,13.0512116 25,12.5002116 C25,11.9492116 25.449,11.5002116 26,11.5002116 L26,11.5002116 Z M24.071,13.0002116 C24.295,13.8602116 25.071,14.5002116 26,14.5002116 C27.103,14.5002116 28,13.6032116 28,12.5002116 C28,11.3972116 27.103,10.5002116 26,10.5002116 C25.071,10.5002116 24.295,11.1402116 24.071,12.0002116 L15,12.0002116 L15,9.00021158 L20.5,9.00021158 C20.777,9.00021158 21,8.77621158 21,8.50021158 L21,5.92921158 C21.86,5.70521158 22.5,4.92921158 22.5,4.00021158 C22.5,2.89721158 21.603,2.00021158 20.5,2.00021158 C19.398,2.00021158 18.5,2.89721158 18.5,4.00021158 C18.5,4.92921158 19.14,5.70521158 20,5.92921158 L20,8.00021158 L15,8.00021158 L15,2.50021158 C15,2.31021158 14.893,2.13821158 14.724,2.05321158 L10.724,0.0532115843 C10.588,-0.0147884157 10.43,-0.0177884157 10.291,0.0452115843 L3.291,3.26021158 C3.115,3.34121158 3,3.51921158 3,3.71421158 L3,8.23221158 L0.223,10.0842116 C0.084,10.1772116 0,10.3332116 0,10.5002116 L0,17.5002116 C0,17.6672116 0.084,17.8232116 0.223,17.9162116 L3,19.7672116 L3,23.5002116 C3,23.6792116 3.096,23.8452116 3.252,23.9342116 L10.252,27.9342116 C10.329,27.9782116 10.414,28.0002116 10.5,28.0002116 C10.577,28.0002116 10.654,27.9822116 10.724,27.9472116 L14.724,25.9472116 C14.893,25.8622116 15,25.6892116 15,25.5002116 L15,21.0002116 L19,21.0002116 L19,22.0712116 C18.14,22.2952116 17.5,23.0712116 17.5,24.0002116 C17.5,25.1032116 18.398,26.0002116 19.5,26.0002116 C20.603,26.0002116 21.5,25.1032116 21.5,24.0002116 C21.5,23.0712116 20.86,22.2952116 20,22.0712116 L20,20.5002116 C20,20.2242116 19.777,20.0002116 19.5,20.0002116 L15,20.0002116 L15,17.0002116 L21.293,17.0002116 L22.784,18.4902116 C22.608,18.7882116 22.5,19.1302116 22.5,19.5002116 C22.5,20.6032116 23.398,21.5002116 24.5,21.5002116 C25.603,21.5002116 26.5,20.6032116 26.5,19.5002116 C26.5,18.3972116 25.603,17.5002116 24.5,17.5002116 C24.131,17.5002116 23.788,17.6082116 23.491,17.7832116 L21.854,16.1462116 C21.76,16.0532116 21.633,16.0002116 21.5,16.0002116 L15,16.0002116 L15,13.0002116 L24.071,13.0002116 Z",id:"Fill-5"})})]})}),V4=()=>s("svg",{width:"32",height:"32",style:{flex:"none",lineHeight:"1"},viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"HuggingFace"}),s("g",{fill:"none",fillRule:"nonzero",children:[e("path",{d:"M2.25 11.535c0-3.407 1.847-6.554 4.844-8.258a9.822 9.822 0 019.687 0c2.997 1.704 4.844 4.851 4.844 8.258 0 5.266-4.337 9.535-9.687 9.535S2.25 16.8 2.25 11.535z",fill:"#FF9D0B"}),e("path",{d:"M11.938 20.086c4.797 0 8.687-3.829 8.687-8.551 0-4.722-3.89-8.55-8.687-8.55-4.798 0-8.688 3.828-8.688 8.55 0 4.722 3.89 8.55 8.688 8.55z",fill:"#FFD21E"}),e("path",{d:"M11.875 15.113c2.457 0 3.25-2.156 3.25-3.263 0-.576-.393-.394-1.023-.089-.582.283-1.365.675-2.224.675-1.798 0-3.25-1.693-3.25-.586 0 1.107.79 3.263 3.25 3.263h-.003z",fill:"#FF323D"}),e("path",{d:"M14.76 9.21c.32.108.445.753.767.585.447-.233.707-.708.659-1.204a1.235 1.235 0 00-.879-1.059 1.262 1.262 0 00-1.33.394c-.322.384-.377.92-.14 1.36.153.283.638-.177.925-.079l-.002.003zm-5.887 0c-.32.108-.448.753-.768.585a1.226 1.226 0 01-.658-1.204c.048-.495.395-.913.878-1.059a1.262 1.262 0 011.33.394c.322.384.377.92.14 1.36-.152.283-.64-.177-.925-.079l.003.003zm1.12 5.34a2.166 2.166 0 011.325-1.106c.07-.02.144.06.219.171l.192.306c.069.1.139.175.209.175.074 0 .15-.074.223-.172l.205-.302c.08-.11.157-.188.234-.165.537.168.986.536 1.25 1.026.932-.724 1.275-1.905 1.275-2.633 0-.508-.306-.426-.81-.19l-.616.296c-.52.24-1.148.48-1.824.48-.676 0-1.302-.24-1.823-.48l-.589-.283c-.52-.248-.838-.342-.838.177 0 .703.32 1.831 1.187 2.56l.18.14z",fill:"#3A3B45"}),e("path",{d:"M17.812 10.366a.806.806 0 00.813-.8c0-.441-.364-.8-.813-.8a.806.806 0 00-.812.8c0 .442.364.8.812.8zm-11.624 0a.806.806 0 00.812-.8c0-.441-.364-.8-.812-.8a.806.806 0 00-.813.8c0 .442.364.8.813.8zM4.515 13.073c-.405 0-.765.162-1.017.46a1.455 1.455 0 00-.333.925 1.801 1.801 0 00-.485-.074c-.387 0-.737.146-.985.409a1.41 1.41 0 00-.2 1.722 1.302 1.302 0 00-.447.694c-.06.222-.12.69.2 1.166a1.267 1.267 0 00-.093 1.236c.238.533.81.958 1.89 1.405l.24.096c.768.3 1.473.492 1.478.494.89.243 1.808.375 2.732.394 1.465 0 2.513-.443 3.115-1.314.93-1.342.842-2.575-.274-3.763l-.151-.154c-.692-.684-1.155-1.69-1.25-1.912-.195-.655-.71-1.383-1.562-1.383-.46.007-.889.233-1.15.605-.25-.31-.495-.553-.715-.694a1.87 1.87 0 00-.993-.312zm14.97 0c.405 0 .767.162 1.017.46.216.262.333.588.333.925.158-.047.322-.071.487-.074.388 0 .738.146.985.409a1.41 1.41 0 01.2 1.722c.22.178.377.422.445.694.06.222.12.69-.2 1.166.244.37.279.836.093 1.236-.238.533-.81.958-1.889 1.405l-.239.096c-.77.3-1.475.492-1.48.494-.89.243-1.808.375-2.732.394-1.465 0-2.513-.443-3.115-1.314-.93-1.342-.842-2.575.274-3.763l.151-.154c.695-.684 1.157-1.69 1.252-1.912.195-.655.708-1.383 1.56-1.383.46.007.889.233 1.15.605.25-.31.495-.553.718-.694.244-.162.523-.265.814-.3l.176-.012z",fill:"#FF9D0B"}),e("path",{d:"M9.785 20.132c.688-.994.638-1.74-.305-2.667-.945-.928-1.495-2.288-1.495-2.288s-.205-.788-.672-.714c-.468.074-.81 1.25.17 1.971.977.721-.195 1.21-.573.534-.375-.677-1.405-2.416-1.94-2.751-.532-.332-.907-.148-.782.541.125.687 2.357 2.35 2.14 2.707-.218.362-.983-.42-.983-.42S2.953 14.9 2.43 15.46c-.52.558.398 1.026 1.7 1.803 1.308.778 1.41.985 1.225 1.28-.187.295-3.07-2.1-3.34-1.083-.27 1.011 2.943 1.304 2.745 2.006-.2.7-2.265-1.324-2.685-.537-.425.79 2.913 1.718 2.94 1.725 1.075.276 3.813.859 4.77-.522zm4.432 0c-.687-.994-.64-1.74.305-2.667.943-.928 1.493-2.288 1.493-2.288s.205-.788.675-.714c.465.074.807 1.25-.17 1.971-.98.721.195 1.21.57.534.377-.677 1.407-2.416 1.94-2.751.532-.332.91-.148.782.541-.125.687-2.355 2.35-2.137 2.707.215.362.98-.42.98-.42S21.05 14.9 21.57 15.46c.52.558-.395 1.026-1.7 1.803-1.308.778-1.408.985-1.225 1.28.187.295 3.07-2.1 3.34-1.083.27 1.011-2.94 1.304-2.743 2.006.2.7 2.263-1.324 2.685-.537.423.79-2.912 1.718-2.94 1.725-1.077.276-3.815.859-4.77-.522z",fill:"#FFD21E"})]})]}),O4=()=>e("svg",{width:"32",height:"32",viewBox:"0 0 27.82 27.83",fill:"var(--ac-global-text-color-900)",xmlns:"http://www.w3.org/2000/svg",children:e("g",{id:"icons",children:s("g",{children:[e("path",{d:"m16.02,27.83h0c-1.48,0-2.97-.57-4.1-1.7-2.26-2.26-2.26-5.94,0-8.2l9.9-9.9v14c0,1.6-.65,3.05-1.7,4.1h0c-.56.56-1.2.98-1.88,1.26-.68.28-1.43.44-2.22.44Z"}),e("path",{d:"m5.8,17.61c-1.48,0-2.97-.57-4.1-1.7C.57,14.78,0,13.3,0,11.82h0c0-.76.15-1.49.42-2.16.28-.71.71-1.37,1.28-1.94h0c1.05-1.05,2.5-1.7,4.1-1.7h14s-9.9,9.89-9.9,9.89c-1.13,1.13-2.61,1.7-4.1,1.7Z"}),e("path",{d:"m24.41,8.44c-.78-.78-.78-2.05,0-2.83s2.05-.78,2.83,0,.78,2.05,0,2.83-2.05.78-2.83,0Z"}),e("path",{d:"m19.39,3.42c-.78-.78-.78-2.05,0-2.83s2.05-.78,2.83,0,.78,2.05,0,2.83-2.05.78-2.83,0Z"})]})})}),R4=()=>e("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2593 6.61905C19.0126 7.16696 18.7815 8.04669 18.5292 9.00706C18.4235 9.40941 18.3141 9.82591 18.1982 10.2381H23.1482C23.7004 10.2381 24.1482 10.6858 24.1482 11.2381V17.0307C24.5195 16.902 24.8948 16.7804 25.2572 16.663C26.122 16.383 26.9141 16.1264 27.4074 15.8525C29.0175 14.9587 30.6667 17.4728 30.6667 19.4716C30.6667 21.4703 29.0371 23.9954 27.4074 23.0906C26.914 22.8166 26.1217 22.56 25.2569 22.2799L25.2568 22.2799C24.8945 22.1625 24.5194 22.041 24.1482 21.9124V27.3333C24.1482 27.8856 23.7004 28.3333 23.1482 28.3333H8.85186C8.29957 28.3333 7.85186 27.8856 7.85186 27.3333V21.9159C7.48052 22.0446 7.10529 22.1662 6.74283 22.2836C5.8781 22.5636 5.086 22.8202 4.59263 23.0941C2.98259 23.9879 1.33337 21.4738 1.33337 19.475C1.33337 17.4763 2.963 14.9511 4.59263 15.856C5.08608 16.13 5.87835 16.3866 6.74324 16.6667C7.10558 16.7841 7.48066 16.9056 7.85186 17.0342V11.2381C7.85186 10.6858 8.29957 10.2381 8.85186 10.2381H13.8018C13.686 9.82578 13.5765 9.40914 13.4708 9.00667L13.4708 9.00661L13.4708 9.00659L13.4707 9.00657L13.4707 9.00656C13.2185 8.04639 12.9875 7.16687 12.7408 6.61905C11.9359 4.83128 14.2 3 16.0001 3C17.8001 3 20.0742 4.80952 19.2593 6.61905ZM12.2564 21.0247C11.9603 21.3049 11.5203 21.259 11.2731 20.9233C11.0258 20.5877 11.0663 20.0881 11.3625 19.8087L15.5529 15.8503C15.5746 15.8294 15.5991 15.8157 15.6237 15.8019C15.6363 15.7949 15.6489 15.7879 15.6611 15.7799C15.6701 15.7739 15.6788 15.7676 15.6874 15.7614C15.7062 15.7477 15.7248 15.7342 15.7464 15.7245C15.8281 15.688 15.9133 15.6667 15.9999 15.6667C16.0865 15.6667 16.1717 15.688 16.2534 15.7245C16.275 15.7342 16.2936 15.7478 16.3124 15.7614C16.321 15.7676 16.3296 15.7739 16.3386 15.7799C16.3509 15.7879 16.3635 15.7949 16.376 15.8019C16.4006 15.8157 16.4251 15.8294 16.4469 15.8503L20.6373 19.8087C20.9341 20.0881 20.9739 20.5877 20.7267 20.9233C20.4801 21.259 20.0402 21.3049 19.7433 21.0247L16.6983 18.1485V28.3333H15.9999H15.1852L15.3015 18.1485L12.2564 21.0247Z",fill:"var(--ac-global-text-color-900)"})}),N4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("g",{clipPath:"url(#clip0_2815_4632)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.7469 1.84196C16.0957 2.52647 16.0957 3.42256 16.0957 5.21473V10.9752C16.0957 12.7674 16.0957 13.6634 15.7469 14.348C15.4401 14.9501 14.9506 15.4396 14.3485 15.7464C13.6639 16.0952 12.7679 16.0952 10.9757 16.0952H5.21522C3.42305 16.0952 2.52696 16.0952 1.84245 15.7464C1.24033 15.4396 0.750789 14.9501 0.443994 14.348C0.0952148 13.6634 0.0952148 12.7674 0.0952148 10.9752V5.21473C0.0952148 3.42256 0.0952148 2.52647 0.443994 1.84196C0.750789 1.23984 1.24033 0.7503 1.84245 0.443506C2.52696 0.0947266 3.42305 0.0947266 5.21521 0.0947266H10.9757C12.7678 0.0947266 13.6639 0.0947266 14.3485 0.443506C14.9506 0.7503 15.4401 1.23984 15.7469 1.84196ZM5.27398 3.77524H9.3046L12.594 12.0905H10.9168L8.32056 5.18973H5.27398V3.77524ZM2.99402 10.676H7.12113V12.0905H2.99402V10.676Z",fill:"#FF4017"})}),e("defs",{children:e("clipPath",{id:"clip0_2815_4632",children:e("rect",{width:"16",height:"16",fill:"white"})})})]}),H1=()=>s("svg",{width:"32",height:"32",fill:"currentColor",fillRule:"evenodd",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"ModelContextProtocol"}),e("path",{d:"M15.688 2.343a2.588 2.588 0 00-3.61 0l-9.626 9.44a.863.863 0 01-1.203 0 .823.823 0 010-1.18l9.626-9.44a4.313 4.313 0 016.016 0 4.116 4.116 0 011.204 3.54 4.3 4.3 0 013.609 1.18l.05.05a4.115 4.115 0 010 5.9l-8.706 8.537a.274.274 0 000 .393l1.788 1.754a.823.823 0 010 1.18.863.863 0 01-1.203 0l-1.788-1.753a1.92 1.92 0 010-2.754l8.706-8.538a2.47 2.47 0 000-3.54l-.05-.049a2.588 2.588 0 00-3.607-.003l-7.172 7.034-.002.002-.098.097a.863.863 0 01-1.204 0 .823.823 0 010-1.18l7.273-7.133a2.47 2.47 0 00-.003-3.537z"}),e("path",{d:"M14.485 4.703a.823.823 0 000-1.18.863.863 0 00-1.204 0l-7.119 6.982a4.115 4.115 0 000 5.9 4.314 4.314 0 006.016 0l7.12-6.982a.823.823 0 000-1.18.863.863 0 00-1.204 0l-7.119 6.982a2.588 2.588 0 01-3.61 0 2.47 2.47 0 010-3.54l7.12-6.982z"})]}),$4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Gemini"}),e("defs",{children:s("linearGradient",{id:"lobe-icons-gemini-fill",x1:"0%",x2:"68.73%",y1:"100%",y2:"30.395%",children:[e("stop",{offset:"0%",stopColor:"#1C7DFF"}),e("stop",{offset:"52.021%",stopColor:"#1C69FF"}),e("stop",{offset:"100%",stopColor:"#F0DCD6"})]})}),e("path",{d:"M12 24A14.304 14.304 0 000 12 14.304 14.304 0 0012 0a14.305 14.305 0 0012 12 14.305 14.305 0 00-12 12",fill:"url(#lobe-icons-gemini-fill)",fillRule:"nonzero"})]}),B4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 115 115",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:[e("path",{fill:"#FFBDDB",d:"M62.3737 105.707C59.5781 109.547 53.8509 109.547 51.0553 105.707L27.7796 73.7344C25.0105 69.9307 26.7073 64.5329 31.1546 62.9977L54.4303 54.9628C55.9102 54.4519 57.5187 54.4519 58.9987 54.9628L82.2744 62.9977C86.7217 64.533 88.4184 69.9307 85.6494 73.7344L62.3737 105.707ZM56.7145 99.8879L78.3862 70.1187L56.7145 62.6375L35.0428 70.1187L56.7145 99.8879Z"}),e("path",{fill:"#FFBDDB",d:"M110.86 62.2624C113.648 66.1079 111.878 71.5547 107.362 73.0268L69.7621 85.2833C65.2889 86.7414 60.6796 83.4597 60.5938 78.7556L60.1447 54.1362C60.1162 52.5708 60.6132 51.0411 61.5564 49.7914L76.3907 30.1379C79.2251 26.3826 84.883 26.4369 87.6448 30.2459L110.86 62.2624ZM103.577 65.8465L81.9617 36.0363L68.1497 54.3355L68.5678 77.2583L103.577 65.8465Z"}),e("path",{fill:"#FFBDDB",d:"M84.5326 2.75877C89.0515 1.29523 93.6849 4.66159 93.6894 9.41158L93.7269 48.9589C93.7314 53.6638 89.1859 57.0333 84.6856 55.6613L61.1323 48.4806C59.6347 48.024 58.3334 47.0786 57.4364 45.7954L43.3288 25.6139C40.6333 21.7577 42.4333 16.3935 46.9092 14.9439L84.5326 2.75877ZM85.6907 10.7928L50.6601 22.1382L63.7955 40.929L85.7256 47.6148L85.6907 10.7928Z"}),e("path",{fill:"#FFBDDB",d:"M28.9346 2.77586C24.4156 1.31232 19.7823 4.67868 19.7778 9.42867L19.7402 48.976C19.7358 53.6809 24.2812 57.0504 28.7816 55.6784L52.3348 48.4977C53.8324 48.0411 55.1337 47.0957 56.0307 45.8125L70.1383 25.6309C72.8339 21.7748 71.0339 16.4106 66.5579 14.961L28.9346 2.77586ZM27.7765 10.8099L62.8071 22.1553L49.6717 40.9461L27.7415 47.6319L27.7765 10.8099Z"}),e("path",{fill:"#FFBDDB",d:"M2.58066 62.2555C-0.20768 66.101 1.56213 71.5479 6.07825 73.02L43.6784 85.2765C48.1516 86.7346 52.7608 83.4529 52.8467 78.7488L53.2958 54.1294C53.3243 52.564 52.8273 51.0342 51.8841 49.7846L37.0498 30.131C34.2154 26.3758 28.5575 26.4301 25.7956 30.239L2.58066 62.2555ZM9.8636 65.8396L31.4788 36.0294L45.2908 54.3286L44.8726 77.2515L9.8636 65.8396Z"}),e("path",{fill:"white",d:"M79.5687 82.0867L85.6488 73.7348C86.1993 72.9787 86.5733 72.1596 86.7842 71.3204L74.626 75.2836L67.1038 85.6164C67.9705 85.6767 68.8689 85.5745 69.7619 85.2835L79.5687 82.0867Z"}),e("path",{fill:"white",d:"M60.167 55.3667L60.3224 63.8836L68.3744 66.6632L68.219 58.1463L60.167 55.3667Z"}),e("path",{fill:"white",d:"M93.7166 38.62L87.6446 30.2459C87.0975 29.4914 86.4368 28.8842 85.7069 28.4248L85.7191 41.2186L93.2279 51.5742C93.5492 50.7726 93.7273 49.8919 93.7264 48.9587L93.7166 38.62Z"}),e("path",{fill:"white",d:"M70.4293 51.3149L62.2812 48.8308L67.413 42.0318L75.5611 44.5159L70.4293 51.3149Z"}),e("path",{fill:"white",d:"M56.7395 44.7982L61.6199 37.8166L56.7395 30.8349L51.859 37.8166L56.7395 44.7982Z"}),e("path",{fill:"white",d:"M44.5547 16.2438C45.2222 15.6823 46.012 15.2344 46.9092 14.9438L56.7071 11.7705L66.5577 14.9608C67.4418 15.2472 68.2215 15.6862 68.8828 16.2363L56.7071 20.1796L44.5547 16.2438Z"}),e("path",{fill:"white",d:"M51.1787 48.8499L46.0469 42.0509L37.8988 44.535L43.0306 51.334L51.1787 48.8499Z"}),e("path",{fill:"white",d:"M20.2233 51.5523L27.7476 41.1752L27.7598 28.4014C27.0194 28.8627 26.3494 29.4754 25.7957 30.239L19.7501 38.5767L19.7402 48.9757C19.7394 49.8938 19.9118 50.7611 20.2233 51.5523Z"}),e("path",{fill:"white",d:"M53.2727 55.3623L45.2207 58.1419L45.0653 66.6588L53.1174 63.8792L53.2727 55.3623Z"}),e("path",{fill:"white",d:"M46.3199 85.6104L38.7916 75.2693L26.6406 71.3084C26.8511 72.1518 27.226 72.9749 27.779 73.7346L33.8488 82.0724L43.6778 85.2763C44.5653 85.5656 45.4581 85.6683 46.3199 85.6104Z"})]}),H4=()=>s("svg",{width:"32",height:"32",viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("circle",{cx:"16.6532",cy:"16.9999",r:"14.0966",stroke:"currentColor",strokeWidth:"1.16026"}),e("ellipse",{cx:"16.6533",cy:"17",rx:"14.0966",ry:"9.45478",transform:"rotate(45 16.6533 17)",stroke:"currentColor",strokeWidth:"1.16026"}),e("path",{d:"M10.8984 17.0508H22.483",stroke:"currentColor",strokeWidth:"1.16026"}),e("path",{d:"M13.748 19.9932L19.6339 14.1074",stroke:"currentColor",strokeWidth:"1.16026"}),e("path",{d:"M19.6328 19.9932L13.747 14.1074",stroke:"currentColor",strokeWidth:"1.16026"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.00863 10.796C4.56184 12.4371 3.13683 14.6416 3.13683 16.9998C3.13683 19.3579 4.56184 21.5624 7.00863 23.2035C9.45169 24.8421 12.8599 25.8744 16.6533 25.8744C20.4467 25.8744 23.8548 24.8421 26.2979 23.2035C28.7447 21.5624 30.1697 19.3579 30.1697 16.9998C30.1697 14.6416 28.7447 12.4371 26.2979 10.796C23.8548 9.15742 20.4467 8.12511 16.6533 8.12511C12.8599 8.12511 9.45169 9.15742 7.00863 10.796ZM6.36234 9.83242C9.02124 8.04906 12.6613 6.96484 16.6533 6.96484C20.6452 6.96484 24.2853 8.04906 26.9442 9.83242C29.5994 11.6133 31.33 14.1362 31.33 16.9998C31.33 19.8633 29.5994 22.3862 26.9442 24.1671C24.2853 25.9505 20.6452 27.0347 16.6533 27.0347C12.6613 27.0347 9.02124 25.9505 6.36234 24.1671C3.70718 22.3862 1.97656 19.8633 1.97656 16.9998C1.97656 14.1362 3.70718 11.6133 6.36234 9.83242Z",fill:"currentColor"})]}),j4=m`
|
|
4902
4903
|
border-radius: var(--ac-global-rounding-medium);
|
|
4903
4904
|
border: 1px solid var(--ac-global-color-grey-400);
|
|
4904
4905
|
padding: var(--ac-global-dimension-size-100)
|
|
@@ -4934,14 +4935,14 @@ z`})}),K4=()=>e("svg",{fill:"var(--ac-global-text-color-900)",width:"32",height:
|
|
|
4934
4935
|
color: var(--ac-global-color-grey-700);
|
|
4935
4936
|
}
|
|
4936
4937
|
}
|
|
4937
|
-
`;function
|
|
4938
|
+
`;function Kt({docsHref:n,githubHref:a,icon:t,name:i}){return s("div",{css:j4,children:[s("a",{href:n,className:"integration__main-link",target:"_blank",rel:"noreferrer",children:[t,i]}),e("div",{children:e("a",{href:a,target:"_blank",rel:"noreferrer",className:"integration__github-link","aria-label":"GitHub link",children:e(X4,{})})})]})}const Z4=[{name:"OpenAI",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/openai",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-openai",icon:e(Ya,{})},{name:"LlamaIndex",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-llama-index",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/llamaindex",icon:e(A4,{})},{name:"LangChain",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/langchain",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-langchain",icon:e($1,{})},{name:"Haystack",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/haystack",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-haystack",icon:e(I4,{})},{name:"Vertex AI",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/vertex",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-vertexai",icon:e(z4,{})},{name:"Mistral AI",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/mistralai",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-mistralai",icon:e(M4,{})},{name:"DSPy",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/dspy",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-dspy",icon:e(F4,{})},{name:"Anthropic",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/anthropic",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-anthropic",icon:e(E4,{})},{name:"Smolagents",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/hfsmolagents",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-smolagents",icon:e(V4,{})},{name:"OpenAI Agents",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/openai-agents-sdk",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-openai-agents",icon:e(Ya,{})},{name:"Agno",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/agno",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-agno",icon:e(N4,{})},{name:"Bedrock",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/bedrock",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-bedrock",icon:e(P4,{})},{name:"Google GenAI",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/google-genai",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-google-genai",icon:e($4,{})},{name:"Groq",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/groq",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-groq",icon:e(D4,{})},{name:"CrewAI",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/crewai",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-crewai",icon:e(_4,{})},{name:"Pydantic AI",docsHref:"https://arize.com/docs/phoenix/integrations/pydantic/pydantic-tracing",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-pydantic-ai",icon:e(B4,{})},{name:"LiteLLM",docsHref:"https://arize.com/docs/phoenix/integrations/llm-providers/litellm",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-litellm",icon:e(R4,{})},{name:"Model Context Protocol",docsHref:"https://arize.com/docs/phoenix/integrations/model-context-protocol/mcp-tracing",githubHref:"https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-mcp",icon:e(H1,{})}],Pt=m`
|
|
4938
4939
|
width: 100%;
|
|
4939
4940
|
display: flex;
|
|
4940
4941
|
flex-direction: row;
|
|
4941
4942
|
gap: var(--ac-global-dimension-size-100);
|
|
4942
4943
|
flex-wrap: wrap;
|
|
4943
|
-
`;function U4(){return e("ul",{css:
|
|
4944
|
-
PHOENIX_COLLECTOR_ENDPOINT='${
|
|
4944
|
+
`;function U4(){return e("ul",{css:Pt,children:Z4.map(n=>e("li",{children:e(Kt,{...n},n.name)},n.name))})}const G4=[{name:"Node",docsHref:"https://opentelemetry.io/docs/languages/js/getting-started/nodejs/",githubHref:"https://github.com/open-telemetry/opentelemetry-js",icon:e(K4,{})},{name:"Vercel",docsHref:"https://vercel.com/docs/observability/otel-overview",githubHref:"https://github.com/vercel/otel",icon:e(B1,{})}];function W4(){return e("ul",{css:Pt,children:G4.map(n=>e("li",{children:e(Kt,{...n},n.name)},n.name))})}const Q4=[{name:"OpenAI NodeJS SDK",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/openai-node-sdk",githubHref:"https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-vercel",icon:e(Ya,{})},{name:"LangChain.js",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/langchain.js",githubHref:"https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-langchain",icon:e($1,{})},{name:"Vercel AI SDK",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/vercel-ai-sdk",githubHref:"https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-vercel",icon:e(B1,{})},{name:"Mastra",docsHref:"https://arize.com/docs/phoenix/integrations/mastra/mastra-tracing",githubHref:"https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-mastra",icon:e(H4,{})},{name:"BeeAI",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/beeai",githubHref:"https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-beeai",icon:e(O4,{})},{name:"Model Context Protocol",docsHref:"https://arize.com/docs/phoenix/tracing/integrations-tracing/model-context-protocol-mcp",githubHref:"https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-mcp",icon:e(H1,{})}];function q4(){return e("ul",{css:Pt,children:Q4.map(n=>e("li",{children:e(Kt,{...n},n.name)},n.name))})}const X4=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:s("g",{"data-name":"Layer 2",children:[e("rect",{width:"24",height:"24",transform:"rotate(180 12 12)",opacity:"0"}),e("path",{d:"M12 1A10.89 10.89 0 0 0 1 11.77 10.79 10.79 0 0 0 8.52 22c.55.1.75-.23.75-.52v-1.83c-3.06.65-3.71-1.44-3.71-1.44a2.86 2.86 0 0 0-1.22-1.58c-1-.66.08-.65.08-.65a2.31 2.31 0 0 1 1.68 1.11 2.37 2.37 0 0 0 3.2.89 2.33 2.33 0 0 1 .7-1.44c-2.44-.27-5-1.19-5-5.32a4.15 4.15 0 0 1 1.11-2.91 3.78 3.78 0 0 1 .11-2.84s.93-.29 3 1.1a10.68 10.68 0 0 1 5.5 0c2.1-1.39 3-1.1 3-1.1a3.78 3.78 0 0 1 .11 2.84A4.15 4.15 0 0 1 19 11.2c0 4.14-2.58 5.05-5 5.32a2.5 2.5 0 0 1 .75 2v2.95c0 .35.2.63.75.52A10.8 10.8 0 0 0 23 11.77 10.89 10.89 0 0 0 12 1","data-name":"github",fill:"currentColor"})]})}),Y4="https://arize.com/docs/phoenix/tracing/how-to-tracing/setup-tracing",J4="https://arize.com/docs/phoenix/tracing/how-to-tracing/setup-tracing/setup-tracing-python/using-otel-python-directly",e9="https://arize.com/docs/phoenix/setup/configuration",n9="pip install arize-phoenix-otel",a9="pip install openinference-instrumentation-openai openai";function t9({isAuthEnabled:n,isHosted:a}){return a?`PHOENIX_CLIENT_HEADERS='api_key=<your-api-key>'
|
|
4945
|
+
PHOENIX_COLLECTOR_ENDPOINT='${_t}'`:n?"PHOENIX_API_KEY='<your-api-key>'":`PHOENIX_COLLECTOR_ENDPOINT='${_n}'`}const i9=`from openinference.instrumentation.openai import OpenAIInstrumentor
|
|
4945
4946
|
|
|
4946
4947
|
OpenAIInstrumentor().instrument(tracer_provider=tracer_provider)`,l9=`import os
|
|
4947
4948
|
from openai import OpenAI
|
|
@@ -4963,14 +4964,14 @@ chat_completion = client.chat.completions.create(
|
|
|
4963
4964
|
|
|
4964
4965
|
tracer_provider = register(
|
|
4965
4966
|
project_name="${a}",
|
|
4966
|
-
endpoint="${(n?
|
|
4967
|
+
endpoint="${(n?_t:_n)+"/v1/traces"}",
|
|
4967
4968
|
auto_instrument=True
|
|
4968
|
-
)`;function
|
|
4969
|
+
)`;function rg(n){const a=N1,t=window.Config.authenticationEnabled,i=t9({isAuthEnabled:t,isHosted:a}),l=n.projectName||"your-next-llm-project";return s("div",{children:[e(x,{paddingTop:"size-200",paddingBottom:"size-100",children:e(Y,{level:2,weight:"heavy",children:"Install Dependencies"})}),e(x,{paddingBottom:"size-100",children:s(v,{children:["Use the Phoenix OTEL or"," ",e(ae,{href:J4,children:"OpenTelemetry"})," to configure your application to send traces to Phoenix."]})}),e(se,{children:e(pe,{value:n9})}),e(x,{paddingTop:"size-200",paddingBottom:"size-100",children:e(Y,{level:2,weight:"heavy",children:"Setup your Environment"})}),e(x,{paddingBottom:"size-100",children:s(v,{children:[e("b",{children:"arize-phoenix-otel"})," automatically picks up your configuration from"," ",e(ae,{href:e9,children:"environment variables"})]})}),e(se,{children:e(pe,{value:i})}),t?e(x,{paddingBottom:"size-100",paddingTop:"size-100",children:e(Bl,{fallback:s(v,{children:["Personal API keys can be created and managed on your"," ",e(ae,{href:"/profile",children:"Profile"})]}),children:s(v,{children:["System API keys can be created and managed in"," ",e(ae,{href:"/settings/general",children:"Settings"})]})})}):null,e(x,{paddingTop:"size-200",paddingBottom:"size-100",children:e(Y,{level:2,weight:"heavy",children:"Setup OpenTelemetry"})}),e(x,{paddingBottom:"size-100",children:s(v,{children:["Register your application to send traces to this project. The code below should be added ",e("b",{children:"BEFORE"})," any code execution."]})}),e(x,{paddingBottom:"size-100",children:e(se,{children:e(pe,{value:r9({projectName:l,isHosted:a})})})}),a?null:e(x,{paddingBottom:"size-100",children:s(v,{children:["To configure gRPC and batching, see our"," ",e(ae,{href:Y4,children:"setup guide"}),"."]})}),e(x,{paddingTop:"size-200",paddingBottom:"size-100",children:e(Y,{level:2,weight:"heavy",children:"Setup Instrumentation"})}),e(x,{paddingBottom:"size-100",children:e(v,{children:"Add instrumentation to your application so that your application code is traces."})}),e(Oo,{variant:"compact",children:s(q2,{children:[s(Y2,{children:[e(oi,{id:"instrumentation",children:"Instrumentation"}),e(oi,{id:"openai-example",children:"OpenAI Example"})]}),e(Qa,{id:"instrumentation",children:s(x,{padding:"size-200",children:[s(v,{children:["Trace your application using"," ",e(ae,{href:"https://github.com/Arize-ai/openinference",children:"OpenInference"})," ","instrumentation and OpenTelemetry"]}),e(x,{paddingTop:"size-200",paddingBottom:"size-200",children:e(U4,{})}),s(v,{children:["For more integrations, checkout our"," ",e(ae,{href:"https://arize.com/docs/phoenix/tracing/integrations-tracing",children:"comprehensive guide"})]})]})}),e(Qa,{id:"openai-example",children:s(x,{padding:"size-200",children:[s("p",{children:["Install"," ",e(ae,{href:"https://github.com/Arize-ai/openinference",children:"OpenInference"})," ","instrumentation as well as ",e("b",{children:"openai"})]}),e(se,{children:e(pe,{value:a9})}),s("p",{children:["Instrument ",e("b",{children:"openai"})," at the beginning of your code"]}),e(x,{paddingBottom:"size-50",children:e(se,{children:e(pe,{value:i9})})}),s("p",{children:["Use ",e("b",{children:"openai"})," as you normally and traces will be sent to Phoenix"]}),e(x,{paddingBottom:"size-50",children:e(se,{children:e(pe,{value:l9})})})]})})]})})]})}const o9="https://arize.com/docs/phoenix/tracing/how-to-tracing/setup-tracing",s9=n=>`import { Resource } from '@opentelemetry/resources';
|
|
4969
4970
|
import { SEMRESATTRS_PROJECT_NAME } from '@arizeai/openinference-semantic-conventions';
|
|
4970
4971
|
|
|
4971
4972
|
resource: new Resource({
|
|
4972
4973
|
[SEMRESATTRS_PROJECT_NAME]: "${n}",
|
|
4973
|
-
});`;function
|
|
4974
|
+
});`;function og(n){const a=N1,i=n.projectName||"your-next-llm-project";return s("div",{children:[e(x,{paddingTop:"size-200",paddingBottom:"size-100",children:e(Y,{level:2,weight:"heavy",children:"Setup OpenTelemetry"})}),e(x,{paddingBottom:"size-100",children:s(v,{children:["Configure"," ",e(ae,{href:o9,children:"OpenTelemetry"})," ","to send traces to Phoenix."]})}),e(x,{paddingTop:"size-200",paddingBottom:"size-100",children:e(W4,{})}),e(x,{paddingTop:"size-200",paddingBottom:"size-100",children:e(Y,{level:2,weight:"heavy",children:"Setup your Environment"})}),e(x,{paddingBottom:"size-100",children:s(v,{children:["Set the authentication headers in the environment variable"," ",e("b",{children:"OTEL_EXPORTER_OTLP_HEADERS"}),". See"," ",e(ae,{href:"https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/#otel_exporter_otlp_traces_headers",children:"environment variables"})]})}),e(se,{children:e(pe,{value:a?"OTEL_EXPORTER_OTLP_HEADERS='<auth-headers>'":"OTEL_EXPORTER_OTLP_HEADERS='Authorization=Bearer <your-api-key>'"})}),e(Xd,{children:e(x,{paddingBottom:"size-100",paddingTop:"size-100",children:e(Bl,{fallback:s(v,{children:["Your personal API keys can be created and managed on your"," ",e(ae,{href:"/profile",children:"Profile"})]}),children:s(v,{children:["System API keys can be created and managed in"," ",e(ae,{href:"/settings/general",children:"Settings"})]})})})}),e(x,{paddingTop:"size-200",paddingBottom:"size-100",children:e(Y,{level:2,weight:"heavy",children:"Set the Project Name"})}),e(x,{paddingBottom:"size-100",children:s(v,{children:["Set the project name for your app in the ",e("b",{children:"Resource Attributes"}),"."]})}),e(x,{paddingBottom:"size-100",children:e(se,{children:e(pe,{value:"npm install @arizeai/openinference-semantic-conventions --save"})})}),e(x,{paddingBottom:"size-100",children:e(se,{children:e(S4,{value:s9(i)})})}),e(x,{paddingBottom:"size-100",children:s(v,{children:["Add the resources to the NodeJS SDK or Vercel OTEL registration. See"," ",e(ae,{href:"https://opentelemetry.io/docs/languages/js/resources/",children:"resources"})," ","for details."]})}),e(x,{paddingTop:"size-200",paddingBottom:"size-100",children:e(Y,{level:2,weight:"heavy",children:"Setup Instrumentation"})}),e(x,{paddingBottom:"size-100",children:e(v,{children:"Add instrumentation to your application so that your application code is traces."})}),e(x,{paddingBottom:"size-100",children:e(q4,{})})]})}function sg(n){return e("button",{className:"button--reset",onClick:a=>{a.stopPropagation(),n.onClick(a)},"aria-label":n["aria-label"],css:m`
|
|
4974
4975
|
color: var(--ac-global-text-color-white-900);
|
|
4975
4976
|
.ac-icon-wrap {
|
|
4976
4977
|
font-size: 1.2rem;
|
|
@@ -4979,7 +4980,7 @@ resource: new Resource({
|
|
|
4979
4980
|
&:hover {
|
|
4980
4981
|
color: var(--ac-global-color-primary);
|
|
4981
4982
|
}
|
|
4982
|
-
`,children:e(I,{svg:n.isExpanded?e(ic,{}):e(tc,{})})})}function
|
|
4983
|
+
`,children:e(I,{svg:n.isExpanded?e(ic,{}):e(tc,{})})})}function cg({sequenceNumber:n}){return s(je,{color:"var(--ac-global-color-yellow-500)",size:"S",children:["#",n]})}const j1=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],a=[{kind:"Variable",name:"id",variableName:"nodeId"}],t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i=[{alias:null,args:null,kind:"ScalarField",name:"tokens",storageKey:null}],l={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SpanCostSummary",kind:"LinkedField",name:"costSummary",plural:!1,selections:[{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"total",plural:!1,selections:i,storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"prompt",plural:!1,selections:i,storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"completion",plural:!1,selections:i,storageKey:null}],storageKey:null}],type:"ExperimentRun",abstractKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"ExperimentRunTokenCountDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,l],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"ExperimentRunTokenCountDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,l,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{cacheID:"bb25f38a892f4b257794b8e43b04f835",id:null,metadata:{},name:"ExperimentRunTokenCountDetailsQuery",operationKind:"query",text:`query ExperimentRunTokenCountDetailsQuery(
|
|
4983
4984
|
$nodeId: ID!
|
|
4984
4985
|
) {
|
|
4985
4986
|
node(id: $nodeId) {
|
|
@@ -5000,7 +5001,7 @@ resource: new Resource({
|
|
|
5000
5001
|
id
|
|
5001
5002
|
}
|
|
5002
5003
|
}
|
|
5003
|
-
`}}}();
|
|
5004
|
+
`}}}();j1.hash="0de1caa674a484b1e5d1449743805823";function c9(n){const a=F.useLazyLoadQuery(j1,{nodeId:n.experimentRunId}),t=p.useMemo(()=>{var i,l,r,o,c,d;if(a.node.__typename==="ExperimentRun"){const u=((l=(i=a.node.costSummary)==null?void 0:i.prompt)==null?void 0:l.tokens)??0,g=((o=(r=a.node.costSummary)==null?void 0:r.completion)==null?void 0:o.tokens)??0;return{total:((d=(c=a.node.costSummary)==null?void 0:c.total)==null?void 0:d.tokens)??0,prompt:u,completion:g}}return{total:null,prompt:null,completion:null}},[a.node]);return e(un,{...t})}function dg(n){return s(de,{children:[e(ce,{children:e(Qe,{size:n.size,role:"button",children:n.tokenCountTotal})}),s(ye,{children:[e(Le,{}),e(p.Suspense,{fallback:e(ge,{}),children:e(c9,{experimentRunId:n.experimentRunId})})]})]})}const Z1=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],a=[{kind:"Variable",name:"id",variableName:"nodeId"}],t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i=[{alias:null,args:null,kind:"ScalarField",name:"cost",storageKey:null}],l={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SpanCostSummary",kind:"LinkedField",name:"costSummary",plural:!1,selections:[{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"total",plural:!1,selections:i,storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"prompt",plural:!1,selections:i,storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"completion",plural:!1,selections:i,storageKey:null}],storageKey:null}],type:"ExperimentRun",abstractKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"ExperimentRunTokenCostsDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,l],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"ExperimentRunTokenCostsDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,l,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{cacheID:"56ebff6ade8d9718931af681ea77b06a",id:null,metadata:{},name:"ExperimentRunTokenCostsDetailsQuery",operationKind:"query",text:`query ExperimentRunTokenCostsDetailsQuery(
|
|
5004
5005
|
$nodeId: ID!
|
|
5005
5006
|
) {
|
|
5006
5007
|
node(id: $nodeId) {
|
|
@@ -5021,7 +5022,7 @@ resource: new Resource({
|
|
|
5021
5022
|
id
|
|
5022
5023
|
}
|
|
5023
5024
|
}
|
|
5024
|
-
`}}}();
|
|
5025
|
+
`}}}();Z1.hash="f99884bcc09d854081aeba2247d70dde";function d9(n){const a=F.useLazyLoadQuery(Z1,{nodeId:n.experimentRunId}),t=p.useMemo(()=>{var i,l,r,o,c,d;if(a.node.__typename==="ExperimentRun"){const u=((l=(i=a.node.costSummary)==null?void 0:i.prompt)==null?void 0:l.cost)??0,g=((o=(r=a.node.costSummary)==null?void 0:r.completion)==null?void 0:o.cost)??0;return{total:((d=(c=a.node.costSummary)==null?void 0:c.total)==null?void 0:d.cost)??0,prompt:u,completion:g}}return{total:null,prompt:null,completion:null}},[a.node]);return e(ya,{...t})}function ug(n){return s(de,{children:[e(ce,{children:e(ba,{size:n.size,role:"button",children:n.totalCost})}),s(ye,{children:[e(Le,{}),e(p.Suspense,{fallback:e(ge,{}),children:e(d9,{experimentRunId:n.experimentRunId})})]})]})}const U1=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],a=[{kind:"Variable",name:"id",variableName:"nodeId"}],t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i=[{alias:null,args:null,kind:"ScalarField",name:"tokens",storageKey:null}],l={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SpanCostSummary",kind:"LinkedField",name:"costSummary",plural:!1,selections:[{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"total",plural:!1,selections:i,storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"prompt",plural:!1,selections:i,storageKey:null},{alias:null,args:null,concreteType:"CostBreakdown",kind:"LinkedField",name:"completion",plural:!1,selections:i,storageKey:null}],storageKey:null}],type:"Experiment",abstractKey:null};return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"ExperimentTokenCountDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,l],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"ExperimentTokenCountDetailsQuery",selections:[{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[t,l,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{cacheID:"3b40ee1d5d53511d1e5a6ff31b52cd01",id:null,metadata:{},name:"ExperimentTokenCountDetailsQuery",operationKind:"query",text:`query ExperimentTokenCountDetailsQuery(
|
|
5025
5026
|
$nodeId: ID!
|
|
5026
5027
|
) {
|
|
5027
5028
|
node(id: $nodeId) {
|
|
@@ -5042,11 +5043,11 @@ resource: new Resource({
|
|
|
5042
5043
|
id
|
|
5043
5044
|
}
|
|
5044
5045
|
}
|
|
5045
|
-
`}}}();
|
|
5046
|
+
`}}}();U1.hash="0946f26e471401c182db5b8107b9c3dd";function u9(n){const a=F.useLazyLoadQuery(U1,{nodeId:n.experimentId}),t=p.useMemo(()=>{var i,l,r,o,c,d;if(a.node.__typename==="Experiment"){const u=((l=(i=a.node.costSummary)==null?void 0:i.prompt)==null?void 0:l.tokens)??0,g=((o=(r=a.node.costSummary)==null?void 0:r.completion)==null?void 0:o.tokens)??0;return{total:((d=(c=a.node.costSummary)==null?void 0:c.total)==null?void 0:d.tokens)??0,prompt:u,completion:g}}return{total:null,prompt:null,completion:null}},[a.node]);return e(un,{...t})}function gg(n){return n.tokenCountTotal==null?e(Qe,{size:n.size,children:null}):s(de,{children:[e(ce,{children:e(Qe,{size:n.size,role:"button",children:n.tokenCountTotal})}),s(ye,{children:[e(Le,{}),e(p.Suspense,{fallback:e(ge,{}),children:e(u9,{experimentId:n.experimentId})})]})]})}const G1=function(){var n=[{defaultValue:null,kind:"LocalArgument",name:"input"}],a=[{alias:null,args:[{kind:"Variable",name:"input",variableName:"input"}],concreteType:"ExperimentMutationPayload",kind:"LinkedField",name:"deleteExperiments",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"ExperimentActionMenuDeleteExperimentMutation",selections:a,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"ExperimentActionMenuDeleteExperimentMutation",selections:a},params:{cacheID:"7fcd7830853f4b8f55b104d75dc5312b",id:null,metadata:{},name:"ExperimentActionMenuDeleteExperimentMutation",operationKind:"mutation",text:`mutation ExperimentActionMenuDeleteExperimentMutation(
|
|
5046
5047
|
$input: DeleteExperimentsInput!
|
|
5047
5048
|
) {
|
|
5048
5049
|
deleteExperiments(input: $input) {
|
|
5049
5050
|
__typename
|
|
5050
5051
|
}
|
|
5051
5052
|
}
|
|
5052
|
-
`}}}();
|
|
5053
|
+
`}}}();G1.hash="c7f4f68f0256356c77264cc16b83e638";function mg(n){const[a,t]=F.useMutation(G1),{projectId:i,isQuiet:l=!1}=n,r=it(),[o,c]=p.useState(!1),[d,u]=p.useState(!1),g=dt(),h=Yi(),f=n.onExperimentDeleted,b=p.useCallback(k=>{a({variables:{input:{experimentIds:[k]}},onCompleted:()=>{g({title:"Experiment deleted",message:"The experiment has been deleted."})},onError:L=>{const w=Rl(L);h({title:"An error occurred",message:`Failed to delete experiment: ${(w==null?void 0:w[0])??L.message}`})}}),f==null||f(),c(!1)},[a,g,h,f]),y=[e(vn,{children:s(S,{direction:"row",gap:"size-75",justifyContent:"start",alignItems:"center",children:[e(I,{svg:e(Mc,{})}),e(v,{children:"View run traces"})]})},"GO_TO_EXPERIMENT_RUN_TRACES"),e(vn,{children:s(S,{direction:"row",gap:"size-75",justifyContent:"start",alignItems:"center",children:[e(I,{svg:e(Tt,{})}),e(v,{children:"View metadata"})]})},"VIEW_METADATA"),e(vn,{children:s(S,{direction:"row",gap:"size-75",justifyContent:"start",alignItems:"center",children:[e(I,{svg:e(Al,{})}),e(v,{children:"Copy experiment ID"})]})},"COPY_EXPERIMENT_ID")];return n.canDeleteExperiment&&y.push(e(vn,{children:s(S,{direction:"row",gap:"size-75",justifyContent:"start",alignItems:"center",children:[e(I,{svg:e(It,{})}),e(v,{children:t?"Deleting...":"Delete"})]})},"DELETE_EXPERIMENT")),s(j,{children:[e("div",{onClick:k=>{k.preventDefault(),k.stopPropagation()},children:e(Ro,{buttonSize:"compact",align:"end",isQuiet:l,disabledKeys:i?[]:["GO_TO_EXPERIMENT_RUN_TRACES"],onAction:k=>{switch(k){case"GO_TO_EXPERIMENT_RUN_TRACES":return r(`/projects/${i}`);case"VIEW_METADATA":{u(!0);break}case"COPY_EXPERIMENT_ID":{xi(n.experimentId),g({title:"Copied",message:"The experiment ID has been copied to your clipboard"});break}case"DELETE_EXPERIMENT":{c(!0);break}default:K()}},children:y})}),e(fe,{isOpen:o,onOpenChange:c,children:e(xn,{isDismissable:!0,children:e(Sn,{children:e(oe,{children:s(_e,{children:[s(Ke,{children:[e(Pe,{children:"Delete Experiment"}),e(Ge,{children:e(We,{slot:"close"})})]}),e(x,{padding:"size-200",children:e(v,{color:"danger",children:"Are you sure you want to delete this experiment and its annotations and traces?"})}),e(x,{paddingEnd:"size-200",paddingTop:"size-100",paddingBottom:"size-100",borderTopColor:"light",borderTopWidth:"thin",children:s(S,{direction:"row",justifyContent:"end",gap:"size-100",children:[e(M,{size:"S",onPress:()=>c(!1),children:"Cancel"}),e(M,{variant:"danger",size:"S",onPress:()=>b(n.experimentId),children:"Delete Experiment"})]})})]})})})})}),e(fe,{isOpen:d,onOpenChange:u,children:e(xn,{isDismissable:!0,children:e(Sn,{children:e(oe,{children:s(_e,{children:[s(Ke,{children:[e(Pe,{children:"Metadata"}),e(Ge,{children:e(We,{slot:"close"})})]}),e(Nl,{value:JSON.stringify(n.metadata,null,2)})]})})})})})]})}export{It as $,Ke as A,Pe as B,O9 as C,pl as D,Ge as E,We as F,x as G,S7 as H,S as I,v as J,x0 as K,M as L,I as M,K6 as N,zt as O,ja as P,d7 as Q,c7 as R,Kn as S,Ee as T,Yi as U,dt as V,U as W,p7 as X,h7 as Y,zl as Z,xn as _,oa as a,xe as a$,G6 as a0,w6 as a1,C6 as a2,Rd as a3,M7 as a4,Ol as a5,ea as a6,je as a7,Rl as a8,Y as a9,Gl as aA,_n as aB,I9 as aC,Lt as aD,Bl as aE,i7 as aF,t7 as aG,s6 as aH,c6 as aI,t8 as aJ,a8 as aK,Wa as aL,Mt as aM,_6 as aN,A7 as aO,L7 as aP,Le as aQ,bc as aR,o7 as aS,ye as aT,Vl as aU,g3 as aV,Ae as aW,be as aX,ue as aY,q as aZ,ne as a_,ge as aa,Il as ab,Hl as ac,gs as ad,ua as ae,K7 as af,P7 as ag,$7 as ah,_7 as ai,At as aj,F7 as ak,D7 as al,Y2 as am,oi as an,y7 as ao,q2 as ap,_d as aq,H7 as ar,B7 as as,e8 as at,n8 as au,ai as av,y3 as aw,dn as ax,Wl as ay,v3 as az,bl as b,Tt as b$,m7 as b0,T7 as b1,l7 as b2,S6 as b3,u7 as b4,m8 as b5,s8 as b6,M9 as b7,o8 as b8,d8 as b9,U9 as bA,p6 as bB,J6 as bC,a6 as bD,t6 as bE,i6 as bF,f8 as bG,h8 as bH,J9 as bI,Vn as bJ,sa as bK,ca as bL,Js as bM,t0 as bN,E7 as bO,Ud as bP,Zd as bQ,P6 as bR,W2 as bS,k0 as bT,Ds as bU,o6 as bV,qs as bW,Q6 as bX,jd as bY,_3 as bZ,I7 as b_,M6 as ba,N6 as bb,E6 as bc,U6 as bd,H6 as be,I6 as bf,l8 as bg,X6 as bh,i8 as bi,$6 as bj,r8 as bk,Z6 as bl,g8 as bm,u8 as bn,B6 as bo,c8 as bp,v7 as bq,p8 as br,x9 as bs,S9 as bt,a7 as bu,P9 as bv,n7 as bw,e7 as bx,Nl as by,G9 as bz,bt as c,x7 as c$,Mc as c0,y8 as c1,U0 as c2,ae as c3,St as c4,g6 as c5,g7 as c6,Ve as c7,Kd as c8,Md as c9,V8 as cA,F6 as cB,V6 as cC,R8 as cD,N8 as cE,j0 as cF,h6 as cG,D3 as cH,te as cI,X0 as cJ,b9 as cK,A8 as cL,M8 as cM,I8 as cN,ci as cO,R6 as cP,au as cQ,E8 as cR,x8 as cS,Lu as cT,T8 as cU,k6 as cV,L6 as cW,$8 as cX,l0 as cY,N7 as cZ,v8 as c_,z8 as ca,ku as cb,$e as cc,gu as cd,w8 as ce,Al as cf,Ue as cg,Hu as ch,Fd as ci,j7 as cj,Zl as ck,Dl as cl,C2 as cm,D8 as cn,Gu as co,_8 as cp,K8 as cq,i5 as cr,l5 as cs,b6 as ct,Wu as cu,F8 as cv,r7 as cw,V7 as cx,P8 as cy,t3 as cz,y9 as d,pt as d$,z7 as d0,O6 as d1,xt as d2,se as d3,h0 as d4,B8 as d5,m6 as d6,b7 as d7,f7 as d8,V9 as d9,G8 as dA,W8 as dB,Q8 as dC,X8 as dD,q8 as dE,ts as dF,as as dG,A as dH,k5 as dI,W7 as dJ,Q7 as dK,q7 as dL,Z7 as dM,U7 as dN,O5 as dO,R5 as dP,D6 as dQ,dl as dR,Z5 as dS,Ln as dT,Be as dU,O1 as dV,Qa as dW,ln as dX,s7 as dY,lg as dZ,ng as d_,Qs as da,X9 as db,Y9 as dc,q9 as dd,ha as de,r6 as df,j8 as dg,B9 as dh,$9 as di,N9 as dj,m0 as dk,k7 as dl,w7 as dm,H8 as dn,Z8 as dp,b8 as dq,Cc as dr,qn as ds,J7 as dt,wt as du,k8 as dv,U8 as dw,C8 as dx,ta as dy,os as dz,W9 as e,od as e$,ag as e0,ig as e1,D9 as e2,E9 as e3,_9 as e4,C9 as e5,Y8 as e6,u6 as e7,Xi as e8,eg as e9,gc as eA,hc as eB,Y7 as eC,an as eD,r3 as eE,O8 as eF,C7 as eG,ec as eH,W6 as eI,O7 as eJ,Od as eK,lc as eL,Xd as eM,zd as eN,cg as eO,T6 as eP,v6 as eQ,_l as eR,gg as eS,mg as eT,ni as eU,dg as eV,Qe as eW,ug as eX,sc as eY,Sl as eZ,Ce as e_,tg as ea,J8 as eb,Dd as ec,G7 as ed,X7 as ee,Pl as ef,f6 as eg,K9 as eh,q6 as ei,z6 as ej,pe as ek,S4 as el,Jd as em,S8 as en,Q9 as eo,j6 as ep,rg as eq,og as er,A6 as es,b5 as et,R7 as eu,Su as ev,sg as ew,L8 as ex,L9 as ey,v9 as ez,w0 as f,mc as f0,F9 as f1,z9 as f2,y6 as f3,A9 as f4,x6 as f5,uc as f6,Y6 as f7,w9 as f8,T9 as f9,k9 as fa,Wn as g,l6 as h,re as i,Gn as j,_s as k,i0 as l,K as m,R9 as n,g0 as o,e6 as p,n6 as q,H9 as r,rs as s,Z9 as t,j9 as u,Ws as v,d6 as w,Sn as x,oe as y,_e as z};
|